/* Public contact experience; native dialog preserves modal semantics and focus. */
.fc { --fc-green: #12372d; --fc-paper: #f8f6f1; --fc-gold: #b5915c; --fc-ease: cubic-bezier(.19, 1, .22, 1); }
.fc [hidden] { display: none !important; }
.fc button, .fc input { font: inherit; }
.fc svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.fc-trigger { position: fixed; z-index: 80; right: 0; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; justify-content: center; -webkit-appearance: none; appearance: none; gap: 14px; width: clamp(48px, 3.7vw, 56px); padding: 16px 0; color: var(--fc-paper); background: var(--fc-green); border: 1px solid rgba(248,246,241,.12); border-right: 0; border-radius: 12px 0 0 12px; box-shadow: -3px 4px 14px rgba(16,35,31,.08); cursor: pointer; transition: background .3s, box-shadow .3s, opacity .3s, visibility .3s; }
.fc-trigger-copy { text-align: left; }
.fc-trigger-copy strong { display: block; white-space: nowrap; font-size: 14px; line-height: 1.4; font-weight: 600; letter-spacing: .09em; }
.fc-trigger-copy small { display: none; }
.fc-mark { display: grid; place-items: center; order: 1; color: var(--fc-paper); flex-shrink: 0; }
.fc-mark svg { display: block; width: 22px; height: 22px; }
@media (min-width: 992px) {
    .fc-trigger-copy { position: relative; flex: 0 0 auto; width: 100%; height: clamp(132px, 20vh, 156px); }
    .fc-trigger-copy strong { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-90deg); font-size: clamp(12px, .95vw, 14px); line-height: 1; text-align: center; }
    .fc-trigger .fc-mark svg { width: 20px; height: 20px; transform: rotate(-90deg); }
}
.menu-open .fc-trigger, .fc-modal-open .fc-trigger, .with-fancybox .fc-trigger, .fc-trigger.is-obscured, .fc-trigger.is-scroll-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.fc-dialog { position: fixed; inset: 32px 0 32px auto; width: min(440px, 100%); max-width: 100%; height: fit-content; max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); min-height: 0; margin: auto 0; padding: 0; border: 1px solid rgba(181,145,92,.3); border-right: 0; border-radius: 20px 0 0 20px; color: var(--fc-green); background: var(--fc-paper); box-shadow: -12px 12px 40px rgba(0,0,0,.1); overflow: hidden; opacity: 0; transform: translateX(100%); filter: blur(3px); transition: transform .4s var(--fc-ease), opacity .3s ease, filter .35s ease; }
.fc-dialog[open] { display: flex; flex-direction: column; }
.fc-dialog.is-open { transform: translateX(0); opacity: 1; filter: none; }
.fc-dialog::backdrop { background: rgba(4,25,20,0); backdrop-filter: blur(0); transition: background .35s ease, backdrop-filter .35s ease; }
.fc-dialog.is-open::backdrop { background: rgba(4,25,20,.42); backdrop-filter: blur(3px); }
.fc-scroll { flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 28px 30px 24px; scroll-padding-block: 20px; }
.fc-close { position: absolute; z-index: 1; top: 18px; right: 16px; width: 40px; height: 40px; display: grid; place-items: center; flex-shrink: 0; border: 1px solid transparent; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; transition: background .3s, border-color .3s; }
.fc-close svg { width: 21px; height: 21px; }
.fc-intro { padding: 0 0 18px; }
.fc-success h3 { font: 400 clamp(28px, 3vw, 32px)/1.15 Georgia, 'Times New Roman', serif; letter-spacing: -.035em; margin: 0 0 12px; }
.fc-intro h2 { font: 600 30px/1.15 Arial, Helvetica, sans-serif; letter-spacing: .015em; margin: 0 34px 9px 0; }
.fc-intro p, .fc-success p { font-size: 13px; line-height: 1.6; color: #5a6861; margin: 0; }
.fc-intro, .fc-form { opacity: 0; transform: translateY(12px); transition: opacity .3s ease, transform .4s var(--fc-ease); }
.fc-dialog.is-open .fc-intro, .fc-dialog.is-open .fc-form { opacity: 1; transform: none; transition-delay: .08s; }
.fc-dialog.is-open .fc-form { transition-delay: .12s; }
.fc-fields { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; }
.fc-field label { display: block; font-size: 12px; line-height: 1.4; font-weight: 500; margin-bottom: 6px; }
.fc-field label span { color: #826a42; }
.fc-field input { width: 100%; min-height: 44px; border: 1px solid rgba(18,55,45,.2); border-radius: 5px; padding: 10px 13px; background: rgba(255,255,255,.65); color: var(--fc-green); font-size: 16px; line-height: 1.4; transition: border-color .25s, box-shadow .25s; }
.fc-field input:focus { outline: none; border-color: var(--fc-gold); box-shadow: 0 0 0 3px rgba(181,145,92,.1); }
.fc-consent { display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 0 10px; margin-top: 12px; }
.fc-consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--fc-green); cursor: pointer; }
.fc-consent label { color: #5a6861; font-size: 12px; line-height: 1.5; cursor: pointer; }
.fc-consent a { color: var(--fc-green); text-decoration: underline; text-decoration-color: var(--fc-gold); text-underline-offset: 3px; }
.fc-consent .fc-error { grid-column: 2; }
.fc-error { display: block; color: #913e32; font-size: 12px; line-height: 1.5; margin-top: 5px; }
.fc-error:empty { display: none; }
.fc [aria-invalid="true"] { border-color: #913e32; }
.fc-feedback { padding: 12px 14px; background: #eee5dc; color: #793d32; font-size: 13px; line-height: 1.6; border-left: 2px solid #913e32; margin: 0 0 18px; }
.fc-submit { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 16px; min-height: 50px; padding: 13px 18px; border: 1px solid var(--fc-green); border-radius: 5px; background: var(--fc-green); color: var(--fc-paper); font-size: 13px; letter-spacing: .035em; cursor: pointer; margin-top: 20px; transition: background .3s; }
.fc-submit svg { width: 22px; height: 22px; transition: transform .3s var(--fc-ease); color: #c8a464; }
.fc-submit:disabled { opacity: .65; cursor: wait; }
.fc button:focus-visible, .fc a:focus-visible, .fc input[type="checkbox"]:focus-visible { outline: 2px solid var(--fc-gold); outline-offset: 4px; }
.fc-success { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 0 12px; }
.fc-success p { max-width: 30ch; }
.fc-success-mark { display: block; width: 72px; height: 72px; margin-bottom: 24px; flex-shrink: 0; }
.fc-success-mark svg { display: block; width: 100%; height: 100%; }
.fc-success-ring { stroke: rgba(18,55,45,.35); stroke-width: 1; transform: rotate(-90deg); transform-origin: 36px 36px; }
.fc-success-check { stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fc-success-ring, .fc-success-check { stroke-dasharray: 1; stroke-dashoffset: 0; }
.fc-success-close { display: inline-flex; justify-content: center; align-items: center; max-width: 100%; min-height: 44px; margin-top: 26px; padding: 11px 30px; border: 1px solid var(--fc-green); border-radius: 5px; background: var(--fc-green); color: var(--fc-paper); font-size: 13px; line-height: 1.4; cursor: pointer; transition: background .3s ease, box-shadow .3s ease; }
.fc-success-close:focus-visible { box-shadow: 0 0 0 4px rgba(18,55,45,.1); }
.fc-success.is-confirming .fc-success-mark { animation: fcSuccessEmphasis .64s var(--fc-ease) both; }
.fc-success.is-confirming .fc-success-ring { animation: fcSuccessDraw .42s var(--fc-ease) both; }
.fc-success.is-confirming .fc-success-check { animation: fcSuccessDraw .3s .25s var(--fc-ease) both; }
.fc-success.is-confirming h3 { animation: fcSuccessReveal .28s .48s var(--fc-ease) both; }
.fc-success.is-confirming p { animation: fcSuccessReveal .28s .55s var(--fc-ease) both; }
.fc-success.is-confirming .fc-success-close { animation: fcSuccessReveal .24s .61s var(--fc-ease) both; }
@keyframes fcSuccessDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fcSuccessReveal { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fcSuccessEmphasis { 0% { opacity: 0; transform: scale(.97); } 40% { opacity: 1; transform: scale(1); } 78% { transform: scale(1.025); } 100% { opacity: 1; transform: scale(1); } }
@media (hover: hover) {
    .fc-trigger:hover { background: #194438; }
    .fc-success-close:hover { background: #194438; }

    .fc-submit:hover:not(:disabled) { background: #194438; }
    .fc-submit:hover:not(:disabled) svg { transform: translateX(4px); }
    .fc-close:hover { background: #eae7de; border-color: rgba(18,55,45,.1); }
}
@media (max-width: 991px) {
    body.fc-enabled .site-footer { padding-bottom: calc(40px + 88px + env(safe-area-inset-bottom, 0px)); }
    .fc-trigger { top: auto; transform: none; flex-direction: row; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); left: 16px; right: 16px; width: min(352px, calc(100% - 32px)); margin-inline: auto; min-height: 64px; gap: 12px; padding: 10px 15px; background: var(--fc-green); color: var(--fc-paper); border: 1px solid rgba(248,246,241,.24); border-radius: 16px; box-shadow: 0 8px 24px rgba(16,35,31,.2), 0 2px 6px rgba(16,35,31,.12); }

    .fc-trigger-copy { flex: 1; min-width: 0; overflow-wrap: break-word; }
    .fc-trigger-copy strong { writing-mode: horizontal-tb; transform: none; white-space: normal; font-size: 14px; letter-spacing: .04em; }
    .fc-trigger-copy small { display: block; font-size: 12px; line-height: 1.4; margin-top: 3px; color: rgba(248,246,241,.82); }
    .fc-mark { order: 0; width: 40px; height: 40px; background: var(--fc-paper); color: var(--fc-green); border-radius: 11px; }

    .fc-dialog { inset: auto 0 0; width: min(520px, 100%); height: fit-content; max-height: calc(100vh - 12px); max-height: calc(100dvh - 12px); max-height: calc(var(--fc-viewport-height, 100dvh) - 12px); bottom: var(--fc-viewport-bottom, 0px); margin: 0 auto; border: 1px solid rgba(181,145,92,.3); border-bottom: 0; border-radius: 22px 22px 0 0; transform: translateY(100%); }
    .fc-dialog::before { content: ''; position: absolute; z-index: 1; top: 8px; left: calc(50% - 16px); width: 32px; height: 3px; background: #bcc3b8; border-radius: 3px; pointer-events: none; }
    .fc-dialog.is-open { transform: translateY(0); }
    .fc-scroll { padding: 20px 26px max(20px, env(safe-area-inset-bottom, 0px)); }
    .fc-close { top: 14px; right: 12px; }
    .fc-intro { padding: 4px 0 15px; }
    .fc-intro h2 { font-size: 27px; }
    .fc-fields { gap: 12px; }
    .fc-consent { margin-top: 12px; }
    .fc-submit { margin-top: 12px; }
}
@media (max-width: 575px) {
    body.fc-enabled .site-footer { padding-bottom: calc(32px + 88px + env(safe-area-inset-bottom, 0px)); }
    .fc-scroll { padding-inline: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .fc *, .fc *::before, .fc-dialog::backdrop { transition: none !important; scroll-behavior: auto !important; }
    .fc-success.is-confirming * { animation: none !important; }
}
