/* Contact page (Nov 2026). Mobile first. */
.ct {
    --ct-green: #005a3c;
    --ct-green-dark: #013b2e;
    --ct-sage: #e9f2ea;
    --ct-gold: #e0a526;
    --ct-ink: #14312b;
    --ct-muted: #58675e;
    --ct-line: #e1e7e1;
    --ff-control: 48px;
    --ff-text: 16px;
    --ff-label: 14px;
    background: #f7f4ee;
    color: var(--ct-ink);
    padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
}
.ct *, .ct *::before, .ct *::after { box-sizing: border-box; }
.ct [hidden] { display: none !important; }
.ct-shell { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 16px; }
.ct h1, .ct h2, .ct h3 { margin: 0; color: var(--ct-green-dark); }
.ct h1, .ct-visit h2, .ct-form-card h2 { font-family: var(--fhf-font-display, Georgia, serif); }
.ct p { margin: 0; }
.ct a { color: var(--ct-green); }
.ct a:focus-visible, .ct button:focus-visible, .ct summary:focus-visible, .ct input:focus-visible, .ct select:focus-visible, .ct textarea:focus-visible, .ct [tabindex="-1"]:focus-visible { outline: 3px solid #f1ca62; outline-offset: 2px; }
.ct-muted { color: var(--ct-muted); line-height: 1.5; }

/* Hero */
.ct-hero { position: relative; overflow: hidden; background-color: var(--ct-green-dark); background-image: radial-gradient(circle at 12px 12px, rgba(255, 255, 255, 0.05) 2px, transparent 2.5px), linear-gradient(100deg, var(--ct-green-dark), var(--ct-green) 75%); background-size: 26px 26px, auto; color: #fff; }
.ct-hero-inner { position: relative; z-index: 1; display: grid; align-content: center; gap: 8px; min-height: 140px; padding-top: 18px; padding-bottom: 18px; }
.ct-hero h1 { color: #fff; font-size: clamp(2rem, 7.5vw, 3.2rem); line-height: 1.05; }
.ct-hero-inner > p { max-width: 580px; color: rgba(255, 255, 255, 0.92); font-size: clamp(0.95rem, 2.6vw, 1.12rem); line-height: 1.5; }
.ct-hero-art { display: none; }

/* Buttons */
.ct-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 16px; border: 1.5px solid transparent; border-radius: 10px; font: inherit; font-size: 0.97rem; font-weight: 800; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; }
.ct-btn[disabled] { cursor: progress; opacity: 0.7; }
.ct-btn-primary { background: var(--ct-green); border-color: var(--ct-green); color: #fff !important; }
.ct-btn-primary:hover:not([disabled]) { background: var(--ct-green-dark); }
.ct-btn-outline { background: #fff; border-color: #a9c6b2; color: var(--ct-green-dark) !important; }
.ct-btn-outline:hover { border-color: var(--ct-green); background: #f6faf6; }
.ct-btn-ghost { background: transparent; border-color: var(--ct-line); color: var(--ct-ink) !important; }

/* Contact options */
.ct-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.ct-option { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 8px; min-width: 0; padding: 12px; border: 1px solid var(--ct-line); border-bottom: 3px solid var(--ct-gold); border-radius: 14px; background: #fff; box-shadow: 0 6px 20px rgba(20, 49, 43, 0.06); }
.ct-option-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--ct-sage); color: var(--ct-green); }
.ct-option h2 { font-size: 1rem; line-height: 1.25; }
.ct-option p { display: none; margin-top: 4px; color: var(--ct-muted); font-size: 0.88rem; line-height: 1.45; }
.ct-option-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 800; text-decoration: none; cursor: pointer; list-style: none; }
.ct-option-link::-webkit-details-marker { display: none; }
.ct-option-link:hover { text-decoration: underline; }
.ct-menu { position: relative; }
.ct-menu-panel { position: absolute; z-index: 20; left: 0; top: calc(100% + 4px); display: grid; gap: 2px; width: min(260px, 80vw); margin: 0; padding: 6px; border: 1px solid var(--ct-line); border-radius: 12px; background: #fff; box-shadow: 0 12px 30px rgba(20, 49, 43, 0.18); list-style: none; }
.ct-option:nth-child(2) .ct-menu-panel { left: auto; right: -12px; }
.ct-menu-panel a { display: grid; gap: 2px; min-height: 44px; padding: 8px 10px; border-radius: 8px; color: var(--ct-ink) !important; text-decoration: none; }
.ct-menu-panel a:hover { background: var(--ct-sage); }
.ct-menu-panel span { color: var(--ct-muted); font-size: 0.88rem; }

/* Main */
.ct-main { display: grid; gap: 16px; margin-top: 18px; }
.ct-visit, .ct-form-card { display: grid; gap: 12px; align-content: start; min-width: 0; }
.ct-form-card { order: -1; padding: 18px; border: 1px solid var(--ct-line); border-radius: 18px; background: #fff; box-shadow: 0 8px 26px rgba(20, 49, 43, 0.08); scroll-margin-top: 96px; }
.ct-visit h2, .ct-form-card h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
.ct-visit-head { display: grid; gap: 10px; }
.ct-center-pick { display: grid; gap: 4px; }
.ct-center-pick label { font-size: 0.88rem; font-weight: 800; }
.ct-center-pick > div { display: flex; gap: 8px; }
.ct-center-pick select { flex: 1; min-width: 0; border: 1px solid #c9d4cc; border-radius: 10px; background: #fff; }
.ct-center { display: grid; gap: 12px; padding: 14px; border: 1px solid var(--ct-line); border-radius: 16px; background: #fff; box-shadow: 0 6px 20px rgba(20, 49, 43, 0.06); }
.ct-center h3 { font-size: 1.12rem; }
.ct-badge { display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: #fbf1db; color: #6b4705; font-size: 0.78rem; vertical-align: middle; }
.ct-center-body { display: grid; gap: 12px; }
.ct-center-photo { overflow: hidden; border-radius: 12px; background: var(--ct-sage); aspect-ratio: 16 / 9; }
.ct-center-photo picture, .ct-center-photo img.fhf-location-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.ct-center-photo .fhf-location-placeholder { display: grid; place-content: center; justify-items: center; gap: 6px; height: 100%; color: var(--ct-green-dark); font-weight: 700; }
.ct-facts { display: grid; gap: 10px; margin: 0; }
.ct-facts > div { display: grid; grid-template-columns: 24px 1fr; gap: 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--ct-line); }
.ct-facts > div:last-child { padding-bottom: 0; border-bottom: 0; }
.ct-facts .fhf-icon { grid-row: span 2; margin-top: 2px; color: var(--ct-green); }
.ct-facts dt { font-weight: 800; }
.ct-facts dd { margin: 0; color: var(--ct-muted); line-height: 1.45; overflow-wrap: anywhere; white-space: pre-line; }
.ct-center-actions { display: grid; gap: 8px; }
.ct-map { overflow: hidden; border-radius: 12px; background: var(--ct-sage); }
.ct-map iframe { display: block; width: 100%; height: 280px; border: 0; }
.ct-map p { padding: 14px; text-align: center; }
.ct-community { display: grid; grid-template-columns: auto 1fr; gap: 10px 12px; align-items: start; padding: 16px; border-radius: 16px; background: var(--ct-sage); }
.ct-community > .fhf-icon { color: var(--ct-green); }
.ct-community h3 { font-family: var(--fhf-font-display, Georgia, serif); font-size: 1.2rem; }
.ct-community p { margin-top: 4px; color: var(--ct-muted); font-size: 0.92rem; line-height: 1.45; }
.ct-community .ct-links { font-weight: 700; }
.ct-community .ct-btn { grid-column: 1 / -1; justify-self: start; }

/* Form */
.ct-form { display: grid; gap: 14px; }
.ct-grid { display: grid; gap: 14px; }
.ct-field { display: grid; gap: 6px; min-width: 0; }
.ct-field label { display: block !important; font-size: 0.92rem; font-weight: 800; }
.ct-req { color: #a3271c; }
.ct-optional { color: var(--ct-muted); font-weight: 500; }
.ct-field input, .ct-field select, .ct-field textarea { width: 100%; border: 1px solid #c3cfc7; border-radius: 10px; background: #fff; color: var(--ct-ink); font: inherit; font-size: 1rem; }
.ct-field textarea { min-height: 140px; padding: 10px 12px; resize: vertical; }
.ct-field [aria-invalid="true"] { border-color: #b4372b; box-shadow: 0 0 0 1px #b4372b; }
.ct-error { color: #9a2a1f; font-size: 0.88rem; font-weight: 700; }
.ct-hint { color: var(--ct-muted); font-size: 0.85rem; }
.ct-submit { width: 100%; min-height: 52px; font-size: 1.05rem; }
.ct-submit.is-sending .fhf-icon { animation: ct-pulse 1s ease-in-out infinite; }
@keyframes ct-pulse { 50% { opacity: 0.3; } }
.ct-success { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 14px; border: 1px solid #a9d3b4; border-radius: 12px; background: #edf7ef; line-height: 1.5; }
.ct-success .fhf-icon { color: var(--ct-green); }
.ct-success p + p { margin-top: 6px; }
.ct-error-box { padding: 12px 14px; border: 1px solid #e8b4ad; border-radius: 12px; background: #fdf0ee; color: #7d2219; }
.ct-error-box ul { margin: 6px 0 0; padding-left: 18px; }
.ct-error-box a { color: #7d2219; }

@media (prefers-reduced-motion: reduce) { .ct-submit.is-sending .fhf-icon { animation: none; } }

@media (min-width: 520px) {
    .ct-option p { display: block; }
    .ct-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ct-span-2 { grid-column: 1 / -1; }
    .ct-center-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ct-center-actions .ct-btn-ghost { grid-column: 1 / -1; }
    .ct-community { grid-template-columns: auto 1fr auto; align-items: center; }
    .ct-community .ct-btn { grid-column: auto; }
}
@media (min-width: 768px) {
    .ct-shell { padding: 0 24px; }
    .ct-hero-inner { min-height: 180px; padding-right: 46%; }
    .ct-hero-art { position: absolute; top: 0; right: 0; bottom: 0; display: block; width: 44%; clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); }
    .ct-hero-art::before { content: ""; position: absolute; inset: 0 auto 0 0; z-index: 1; width: 6px; background: var(--ct-gold); transform: skewX(-9deg); transform-origin: bottom; }
    .ct-hero-art img { width: 100%; height: 100%; object-fit: cover; }
    .ct-option { grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; padding: 16px; }
    .ct-option-icon { grid-row: span 2; width: 52px; height: 52px; }
    .ct-option h2 { font-size: 1.08rem; }
    .ct-visit-head { grid-template-columns: 1fr minmax(240px, 300px); align-items: end; }
    .ct-center-body { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; }
    .ct-center { padding: 18px; }
}
@media (min-width: 1024px) {
    .ct-options { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 20px; }
    .ct-main { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 24px; align-items: start; margin-top: 24px; }
    .ct-form-card { order: 0; padding: 24px; }
    .ct-center-actions { grid-template-columns: repeat(3, auto); justify-content: start; }
    .ct-center-actions .ct-btn-ghost { grid-column: auto; }
}
