/* =========================================================
   NORTH CRESCENT FACILITY SOLUTIONS
   PREMIUM FORMS SYSTEM + CONTACT PAGE
   File: /styles/forms.css

   1. Tokens & base
   2. Contact hero
   3. Page layout
   4. Form card
   5. Progress meter
   6. Groups & fields (floating labels, select, textarea)
   7. Days chips + smooth reveal
   8. Turnstile, button, status, trust
   9. Aside cards (contact, steps, booking CTA)
  10. Services links
  11. Success modal
  12. Google address suggestions
  13. Entrance animations
  14. Responsive
  15. Reduced motion

   Depends on /styles/design-system.css for header, footer,
   .btn / .btn-primary and .section-box. Uses its --nc-* tokens
   when they exist and falls back to brand values otherwise.
   Reusable on any page: wrap it in .nc-contact (or .nc-forms)
   and use .nc-form / .nc-field / .nc-input.
   ========================================================= */


/* =========================================================
   1. TOKENS & BASE
========================================================= */

.nc-contact,
.nc-forms {
    --nf-navy: var(--nc-navy, #0B2D48);
    --nf-navy-2: #174563;
    --nf-deep: #08263E;
    --nf-teal: var(--nc-teal, #009C90);
    --nf-teal-2: var(--nc-teal-light, #2DB6A9);
    --nf-teal-dark: #00786C;
    --nf-ink: #173B59;
    --nf-muted: #5B7083;
    --nf-faint: #5F778B;
    --nf-line: #DCE8EF;
    --nf-soft: #F4F9FB;
    --nf-danger: #C0392B;
    --nf-danger-soft: #FDECEA;
    --nf-ease: cubic-bezier(.2, .75, .25, 1);
    --nf-radius: 14px;

    font-family: var(--nc-font, "Poppins", "Poppins Fallback", system-ui, sans-serif);
    color: var(--nc-ink, #1E2A44);
}

.nc-contact {
    background: linear-gradient(180deg, #FFFFFF 0%, #F1F7F9 100%);
    padding-bottom: clamp(36px, 6vw, 72px);
}

.nc-contact *,
.nc-contact *::before,
.nc-contact *::after {
    box-sizing: border-box;
}

.nc-contact [hidden] {
    display: none !important;
}

.nc-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.nc-contact :is(a, button, input, select, textarea):focus-visible {
    outline: 3px solid rgb(0 156 144 / 45%);
    outline-offset: 3px;
}

body.nc-modal-open {
    overflow: hidden;
}


/* =========================================================
   2. CONTACT HERO
   Sits on top of the shared .hero shell
========================================================= */

.contact-hero {
    z-index: 0;
    margin-top: clamp(40px, 6vw, 72px);
}

.contact-hero .hero-content {
    position: relative;
    padding: clamp(36px, 5vw, 64px) 0;
    text-align: center;
}

.contact-hero .badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 16px;
    border: 1px solid rgb(255 255 255 / 28%);
    border-radius: 999px;
    background: rgb(255 255 255 / 12%);
    color: #FFFFFF;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.contact-hero .badge::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--nf-teal-2, #2DB6A9);
    box-shadow: 0 0 0 0 rgb(45 182 169 / 60%);
    content: "";
    animation: ncBadgePulse 2.4s ease-out infinite;
}

.contact-hero h1 {
    max-width: 22ch;
    margin: 18px auto 14px;
    color: #FFFFFF;
    font-size: clamp(1.85rem, 4.2vw, 3.1rem);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.contact-hero .hero-sub {
    max-width: 58ch;
    margin: 0 auto 22px;
    color: rgb(255 255 255 / 88%);
    font-size: clamp(0.98rem, 1.3vw, 1.1rem);
    line-height: 1.7;
}

.contact-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-points li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border: 1px solid rgb(255 255 255 / 20%);
    border-radius: 999px;
    background: linear-gradient(135deg, rgb(255 255 255 / 12%), rgb(0 156 144 / 12%));
    color: rgb(255 255 255 / 96%);
    font-size: 0.86rem;
    font-weight: 500;
    line-height: 1.3;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: transform 260ms var(--nf-ease), background 260ms ease;
}

.contact-points li::before {
    display: inline-grid;
    place-items: center;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--nf-teal);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    content: "\2713";
}

@media (hover: hover) and (pointer: fine) {
    .contact-points li:hover {
        transform: translateY(-2px);
        background: linear-gradient(135deg, rgb(255 255 255 / 18%), rgb(0 156 144 / 22%));
    }
}

@keyframes ncBadgePulse {
    0%   { box-shadow: 0 0 0 0 rgb(45 182 169 / 55%); }
    70%  { box-shadow: 0 0 0 10px rgb(45 182 169 / 0%); }
    100% { box-shadow: 0 0 0 0 rgb(45 182 169 / 0%); }
}


/* =========================================================
   3. PAGE LAYOUT
========================================================= */

.contact-section {
    position: relative;
    z-index: 2;
    padding-top: clamp(0px, 1vw, 8px);
}

.contact-section--form {
    margin-top: clamp(20px, 3vw, 36px);
}

.contact-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
    align-items: start;
    gap: clamp(20px, 2.6vw, 32px);
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

.contact-aside {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 18px;
    min-width: 0;
}

.contact-section--services {
    padding-top: clamp(36px, 5vw, 64px);
}

.contact-section--services .container {
    width: min(1200px, calc(100% - 40px));
    padding-inline: 0;
}


/* =========================================================
   4. FORM CARD
========================================================= */

.nc-form-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-width: 0;
    padding: clamp(22px, 3.6vw, 42px);
    border: 1px solid rgb(16 76 112 / 12%);
    border-radius: 24px;
    background: #FFFFFF;
    box-shadow:
        0 2px 6px rgb(11 45 72 / 4%),
        0 18px 40px rgb(11 45 72 / 9%),
        0 40px 80px rgb(11 45 72 / 6%);
    transition: box-shadow 400ms ease, border-color 400ms ease;
}

/* Soft light that follows the pointer */
.nc-form-card::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(
        460px circle at var(--mx, 50%) var(--my, 0%),
        rgb(0 156 144 / 9%),
        transparent 62%
    );
    content: "";
    opacity: 0;
    transition: opacity 400ms ease;
    pointer-events: none;
}

/* Signature top edge */
.nc-form-card::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0B2D48, #009C90, #2DB6A9, #009C90, #0B2D48);
    background-size: 220% 100%;
    content: "";
    animation: ncEdge 7s linear infinite;
}

.nc-form-card:hover::before,
.nc-form-card:focus-within::before {
    opacity: 1;
}

.nc-form-card:focus-within {
    border-color: rgb(0 156 144 / 38%);
    box-shadow:
        0 2px 6px rgb(11 45 72 / 4%),
        0 22px 48px rgb(11 45 72 / 11%),
        0 0 0 5px rgb(0 156 144 / 7%);
}

.nc-form-head {
    margin-bottom: 8px;
}

.nc-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--nf-teal-dark);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.nc-form-head h2 {
    margin: 0 0 10px;
    color: var(--nc-ink, #1E2A44);
    font-size: clamp(1.45rem, 2.6vw, 2.05rem);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.nc-form-head p {
    margin: 0;
    color: var(--nc-body, #5A6478);
    font-size: 0.97rem;
    line-height: 1.7;
}

@keyframes ncEdge {
    0%   { background-position: 0% 0; }
    100% { background-position: 220% 0; }
}


/* =========================================================
   5. PROGRESS METER
========================================================= */

.nc-progress {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 22px 0 6px;
}

.nc-progress-track {
    position: relative;
    flex: 1;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #E7F0F4;
}

.nc-progress-fill {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0B2D48, #009C90, #2DB6A9);
    box-shadow: 0 0 12px rgb(0 156 144 / 45%);
    transition: width 520ms var(--nf-ease);
}

.nc-progress-label {
    flex: 0 0 auto;
    min-width: 108px;
    color: var(--nc-body, #5A6478);
    font-size: 0.8rem;
    font-weight: 600;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.nc-form.is-complete .nc-progress-label {
    color: var(--nf-teal-dark);
}


/* =========================================================
   6. GROUPS & FIELDS
========================================================= */

.nc-group {
    margin-top: 30px;
}

.nc-group-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    color: var(--nc-ink, #1E2A44);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.3;
}

.nc-group-title::after {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--nf-line), transparent);
    content: "";
}

.nc-step {
    display: inline-grid;
    place-items: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(145deg, #174563, #0B2D48);
    box-shadow: 0 5px 12px rgb(11 45 72 / 22%);
    color: #FFFFFF;
    font-size: 0.86rem;
    font-weight: 700;
}

.nc-fields {
    display: grid;
    gap: 16px;
}

.nc-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

/* ---------- FIELD ---------- */

.nc-field {
    position: relative;
    min-width: 0;
}

.nc-input {
    display: block;
    width: 100%;
    min-height: 60px;
    margin: 0;
    padding: 25px 48px 8px 16px;
    border: 1.5px solid var(--nf-line);
    border-radius: var(--nf-radius);
    background: #FBFDFE;
    box-shadow: 0 1px 2px rgb(11 45 72 / 3%);
    color: var(--nc-ink, #1E2A44);
    font-family: inherit;
    font-size: 1rem;          /* 16px stops iOS zoom on focus */
    line-height: 1.4;
    -webkit-appearance: none;
    appearance: none;
    transition:
        border-color 220ms ease,
        box-shadow 260ms ease,
        background-color 220ms ease,
        transform 260ms var(--nf-ease);
}

.nc-input::placeholder {
    color: transparent;
}

@media (hover: hover) and (pointer: fine) {
    .nc-input:hover:not(:focus) {
        border-color: #B4D6D2;
        background: #FFFFFF;
    }
}

.nc-input:focus {
    outline: none;
    border-color: var(--nf-teal);
    background: #FFFFFF;
    box-shadow:
        0 0 0 4px rgb(0 156 144 / 14%),
        0 10px 24px rgb(0 156 144 / 10%);
    transform: translateY(-1px);
}

/* Floating label */
.nc-field > label {
    position: absolute;
    top: 20px;
    left: 17px;
    right: 48px;
    overflow: hidden;
    color: var(--nc-body, #5A6478);
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
    transform-origin: left top;
    transition:
        transform 240ms var(--nf-ease),
        color 200ms ease,
        font-weight 200ms ease;
    pointer-events: none;
}

.nc-req {
    color: var(--nf-teal-dark);
}

.nc-input:focus ~ label,
.nc-input:not(:placeholder-shown) ~ label,
.nc-field.is-filled > label {
    transform: translateY(-12px) scale(0.76);
    color: var(--nf-teal-dark);
    font-weight: 600;
}

/* Validation icon (injected by JS) */
.nc-state {
    position: absolute;
    top: 20px;
    right: 15px;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    pointer-events: none;
}

.nc-state svg {
    grid-area: 1 / 1;
    width: 22px;
    height: 22px;
    opacity: 0;
    transform: scale(0.4) rotate(-20deg);
    transition: opacity 220ms ease, transform 320ms var(--nf-ease);
}

.nc-field.is-valid .nc-state .is-ok,
.nc-field.is-invalid .nc-state .is-bad {
    opacity: 1;
    transform: scale(1) rotate(0);
}

.nc-field.is-valid .nc-input {
    border-color: #8CD3CB;
}

.nc-field.is-invalid .nc-input {
    border-color: var(--nf-danger);
    background: #FFFAF9;
    box-shadow: 0 0 0 4px rgb(192 57 43 / 10%);
}

.nc-field.is-invalid > label {
    color: var(--nf-danger);
}

.nc-field.is-shake {
    animation: ncShake 420ms cubic-bezier(.36, .07, .19, .97);
}

/* Error line */
.nc-error {
    max-height: 0;
    margin: 0;
    padding: 0 4px;
    overflow: hidden;
    color: var(--nf-danger);
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(-4px);
    transition:
        max-height 280ms ease,
        opacity 240ms ease,
        transform 280ms var(--nf-ease),
        margin 280ms ease;
}

.nc-field.is-invalid > .nc-error,
.nc-error.is-visible {
    max-height: 60px;
    margin-top: 7px;
    opacity: 1;
    transform: none;
}

/* ---------- SELECT ---------- */

.nc-select {
    padding-right: 48px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087F7B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-position: right 16px center;
    background-repeat: no-repeat;
    background-size: 18px;
    cursor: pointer;
}

.nc-select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308A99D' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

.nc-select option {
    color: var(--nc-ink, #1E2A44);
}

.nc-field--select .nc-state {
    right: 42px;
}

.nc-field--select > label {
    right: 66px;
}

/* ---------- NUMBER WITH SUFFIX ---------- */

.nc-input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.nc-input[type="number"]::-webkit-outer-spin-button,
.nc-input[type="number"]::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.nc-suffix {
    position: absolute;
    top: 25px;
    right: 16px;
    color: var(--nc-body, #5A6478);
    font-size: 0.82rem;
    font-weight: 600;
    pointer-events: none;
}

.nc-field--suffix .nc-input {
    padding-right: 62px;
}

.nc-field--suffix .nc-state {
    right: 58px;
}

/* ---------- ADDRESS PIN ---------- */

.nc-field--address .nc-input {
    padding-left: 48px;
}

.nc-field--address > label {
    left: 49px;
}

.nc-pin {
    position: absolute;
    top: 19px;
    left: 16px;
    width: 22px;
    height: 22px;
    color: var(--nc-body, #5A6478);
    transition: color 200ms ease, transform 300ms var(--nf-ease);
    pointer-events: none;
}

.nc-field--address:focus-within .nc-pin {
    color: var(--nf-teal);
    transform: translateY(-2px) scale(1.08);
}

/* ---------- TEXTAREA ---------- */

.nc-textarea {
    min-height: 150px;
    padding-top: 30px;
    padding-bottom: 14px;
    line-height: 1.6;
    resize: vertical;
}

.nc-field--textarea .nc-state {
    top: 22px;
}

.nc-hint-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin: 8px 4px 0;
    color: var(--nc-body, #5A6478);
    font-size: 0.8rem;
    line-height: 1.5;
}

.nc-counter {
    flex: 0 0 auto;
    font-variant-numeric: tabular-nums;
    transition: color 200ms ease;
}

.nc-counter.is-ok {
    color: var(--nf-teal-dark);
    font-weight: 600;
}

/* Honeypot: invisible to people, tempting to bots */
.nc-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

@keyframes ncShake {
    10%, 90% { transform: translateX(-1px); }
    20%, 80% { transform: translateX(2px); }
    30%, 50%, 70% { transform: translateX(-4px); }
    40%, 60% { transform: translateX(4px); }
}


/* =========================================================
   7. DAYS CHIPS + SMOOTH REVEAL
========================================================= */

.nc-reveal {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition:
        grid-template-rows 460ms var(--nf-ease),
        opacity 320ms ease;
}

.nc-reveal.is-open {
    grid-template-rows: 1fr;
    opacity: 1;
}

.nc-reveal-inner {
    min-height: 0;
    overflow: hidden;
}

.nc-days-box {
    padding: 18px;
    border: 1.5px dashed #B9DCD7;
    border-radius: var(--nf-radius);
    background: linear-gradient(145deg, #F4FBFA, #FFFFFF);
}

.nc-days-title {
    margin: 0 0 4px;
    color: var(--nc-ink, #1E2A44);
    font-size: 0.92rem;
    font-weight: 700;
}

.nc-days-help {
    margin: 0 0 14px;
    color: var(--nc-body, #5A6478);
    font-size: 0.82rem;
}

.nc-days {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nc-chip {
    position: relative;
    display: inline-block;
    margin: 0;
}

.nc-chip input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.nc-chip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-width: 62px;
    padding: 11px 16px;
    border: 1.5px solid var(--nf-line);
    border-radius: 999px;
    background: #FFFFFF;
    color: var(--nc-ink, #1E2A44);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
    transition:
        transform 260ms var(--nf-ease),
        background 220ms ease,
        border-color 220ms ease,
        color 220ms ease,
        box-shadow 260ms ease,
        gap 220ms ease;
}

.nc-chip span::before {
    width: 0;
    overflow: hidden;
    content: "\2713";
    font-size: 0.82rem;
    transition: width 220ms var(--nf-ease);
}

@media (hover: hover) and (pointer: fine) {
    .nc-chip:hover span {
        transform: translateY(-2px);
        border-color: #7FCDC4;
        box-shadow: 0 8px 16px rgb(0 156 144 / 12%);
    }
}

.nc-chip input:checked + span {
    gap: 7px;
    border-color: var(--nf-teal);
    background: linear-gradient(135deg, #12AE9F, #009C90 55%, #00786C);
    box-shadow: 0 8px 18px rgb(0 156 144 / 30%);
    color: #FFFFFF;
}

.nc-chip input:checked + span::before {
    width: 12px;
}

.nc-chip input:focus-visible + span {
    outline: 3px solid rgb(0 156 144 / 45%);
    outline-offset: 3px;
}

.nc-days-box.is-invalid {
    border-color: var(--nf-danger);
    background: #FFFAF9;
}

.nc-days-box .nc-error {
    padding: 0;
}

.nc-days-box.is-invalid .nc-error {
    max-height: 60px;
    margin-top: 12px;
    opacity: 1;
    transform: none;
}


/* =========================================================
   8. TURNSTILE, BUTTON, STATUS, TRUST
========================================================= */

.nc-turnstile {
    margin-top: 26px;
}

.nc-turnstile .cf-turnstile {
    min-height: 65px;
}

.nc-turnstile .nc-error {
    padding: 0;
}

.nc-turnstile .nc-error.is-visible {
    margin-top: 8px;
}

.nc-submit {
    width: 100%;
    min-height: 60px;
    margin-top: 22px;
    padding: 16px 24px;
    border-radius: var(--nf-radius);
    font-size: 1.06rem;
    letter-spacing: 0.01em;
}

.nc-submit .nc-submit-icon {
    width: 20px;
    height: 20px;
    transition: transform 320ms var(--nf-ease);
}

@media (hover: hover) and (pointer: fine) {
    .nc-submit:hover .nc-submit-icon {
        transform: translateX(5px);
    }
}

.nc-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgb(255 255 255 / 35%);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: ncSpin 700ms linear infinite;
}

.nc-submit.is-loading,
.nc-submit.is-loading:disabled {
    opacity: 1;
    cursor: progress;
}

.nc-submit.is-loading .nc-submit-icon {
    display: none;
}

.nc-submit.is-loading .nc-spinner {
    display: inline-block;
}

.nc-submit.is-done,
.nc-submit.is-done:disabled {
    opacity: 1;
    background: linear-gradient(135deg, #0B2D48, #174563);
    border-color: #174563;
}

/* Gentle pulse once every required field is complete */
.nc-form.is-complete .nc-submit:not(:disabled) {
    animation: ncReady 2.6s ease-in-out infinite;
}

.nc-status {
    max-height: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.55;
    opacity: 0;
    transition: max-height 300ms ease, opacity 240ms ease, margin 300ms ease, padding 300ms ease;
}

.nc-status.is-error,
.nc-status.is-info {
    max-height: 160px;
    margin-top: 16px;
    padding: 13px 16px;
    opacity: 1;
}

.nc-status.is-error {
    border: 1px solid #F3C4BF;
    background: var(--nf-danger-soft);
    color: #8C2A20;
}

.nc-status.is-info {
    border: 1px solid #BFE3DE;
    background: #EAFBF8;
    color: #0B5F5A;
}

.nc-status a {
    color: inherit;
    font-weight: 700;
}

.nc-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    margin: 18px 0 0;
    padding: 0;
    color: var(--nc-body, #5A6478);
    font-size: 0.84rem;
    font-weight: 500;
    list-style: none;
}

.nc-trust li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.nc-trust svg {
    width: 16px;
    height: 16px;
    color: var(--nf-teal);
}

.nc-legal {
    margin: 14px 0 0;
    color: var(--nc-body, #5A6478);
    font-size: 0.78rem;
    line-height: 1.6;
    text-align: center;
}

.nc-legal a {
    color: var(--nc-body, #5A6478);
    text-decoration-color: rgb(0 156 144 / 55%);
    text-underline-offset: 3px;
}

.nc-legal a:hover {
    color: var(--nf-teal-dark);
}

.nc-noscript {
    margin: 16px 0 0;
    padding: 14px 16px;
    border: 1px solid #F3C4BF;
    border-radius: 12px;
    background: var(--nf-danger-soft);
    color: #8C2A20;
    font-size: 0.9rem;
}

@keyframes ncSpin {
    to { transform: rotate(360deg); }
}

@keyframes ncReady {
    0%, 100% { box-shadow: 0 4px 8px rgb(0 156 144 / 18%), 0 10px 22px rgb(0 156 144 / 22%), 0 0 0 0 rgb(0 156 144 / 0%); }
    50%      { box-shadow: 0 4px 8px rgb(0 156 144 / 18%), 0 10px 22px rgb(0 156 144 / 22%), 0 0 0 9px rgb(0 156 144 / 12%); }
}


/* =========================================================
   9. ASIDE CARDS
========================================================= */

.aside-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border: 1px solid rgb(16 76 112 / 11%);
    border-radius: 20px;
    background: #FFFFFF;
    box-shadow: 0 2px 5px rgb(11 45 72 / 3%), 0 14px 32px rgb(11 45 72 / 6%);
    transition: transform 320ms var(--nf-ease), box-shadow 320ms ease, border-color 320ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .aside-card:hover {
        transform: translateY(-3px);
        border-color: rgb(0 156 144 / 32%);
        box-shadow: 0 8px 18px rgb(11 45 72 / 6%), 0 20px 40px rgb(11 45 72 / 9%);
    }
}

.aside-card h3 {
    margin: 0 0 16px;
    color: var(--nc-ink, #1E2A44);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

/* Contact rows */
.contact-rows {
    display: grid;
    gap: 6px;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px;
    border-radius: 14px;
    color: var(--nc-ink, #1E2A44);
    font-size: 0.93rem;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: background-color 220ms ease, transform 260ms var(--nf-ease);
}

.contact-row small {
    display: block;
    color: var(--nc-body, #5A6478);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-row-icon {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 1px solid rgb(0 156 144 / 16%);
    border-radius: 13px;
    background: linear-gradient(145deg, #E8FAF7, #DDF5F2);
    color: #008478;
    transition: transform 300ms var(--nf-ease), background 220ms ease, color 220ms ease;
}

.contact-row-icon svg {
    width: 20px;
    height: 20px;
}

a.contact-row:hover {
    background: var(--nf-soft);
    transform: translateX(3px);
}

a.contact-row:hover .contact-row-icon {
    background: linear-gradient(145deg, #12AE9F, #009C90);
    color: #FFFFFF;
    transform: scale(1.06) rotate(-4deg);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--nf-line);
}

.social-links a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #1E3A5F;
    transition: transform 300ms var(--nf-ease), background 220ms ease, box-shadow 260ms ease;
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: #FFFFFF;
}

.social-links a:hover {
    transform: translateY(-3px);
    background: var(--nf-teal);
    box-shadow: 0 10px 18px rgb(0 156 144 / 28%);
}

.social-note {
    margin: 0 0 0 4px;
    align-self: center;
    color: var(--nf-teal-dark);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
}

/* Next steps */
.next-steps {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: ncstep;
}

.next-steps li {
    position: relative;
    padding: 0 0 18px 48px;
    color: var(--nc-body, #5A6478);
    font-size: 0.9rem;
    line-height: 1.55;
    counter-increment: ncstep;
}

.next-steps li:last-child {
    padding-bottom: 0;
}

.next-steps li::before {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(145deg, #174563, #0B2D48);
    color: #FFFFFF;
    font-size: 0.84rem;
    font-weight: 700;
    content: counter(ncstep);
}

.next-steps li:last-child::before {
    background: linear-gradient(145deg, #12AE9F, #00786C);
}

.next-steps li::after {
    position: absolute;
    top: 36px;
    bottom: 4px;
    left: 15px;
    width: 2px;
    background: linear-gradient(180deg, #CFE5E2, transparent);
    content: "";
}

.next-steps li:last-child::after {
    display: none;
}

.next-steps strong {
    display: block;
    margin-bottom: 1px;
    color: var(--nc-ink, #1E2A44);
    font-size: 0.95rem;
}

/* Booking CTA */
.aside-card--cta {
    border: 0;
    background:
        radial-gradient(ellipse at 100% 0%, rgb(0 156 144 / 38%), transparent 55%),
        linear-gradient(145deg, #0B2D48, #08263E);
    color: #FFFFFF;
}

.aside-card--cta h3 {
    color: #FFFFFF;
}

.aside-card--cta p {
    margin: 0 0 18px;
    color: rgb(255 255 255 / 82%);
    font-size: 0.92rem;
    line-height: 1.65;
}

.aside-card--cta .btn {
    width: 100%;
}


/* =========================================================
  10. SERVICES LINKS (inside .section-box)
========================================================= */

.related-services-grid > a > .service-emoji {
    display: block;
    width: auto;
    margin: 0 0 4px;
    color: inherit;
    font-size: 1.7rem;
    line-height: 1.2;
}

.related-services-grid > a {
    text-decoration: none;
}


/* =========================================================
  11. SUCCESS MODAL
========================================================= */

.nc-modal {
    --nf-navy: var(--nc-navy, #0B2D48);
    --nf-teal: var(--nc-teal, #009C90);
    --nf-ease: cubic-bezier(.2, .75, .25, 1);

    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgb(8 38 62 / 62%);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-family: var(--nc-font, "Poppins", "Poppins Fallback", system-ui, sans-serif);
    opacity: 0;
    visibility: hidden;
    transition: opacity 320ms ease, visibility 320ms ease;
}

.nc-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.nc-modal-box {
    position: relative;
    width: min(520px, 100%);
    max-height: calc(100dvh - 40px);
    padding: 40px 32px 28px;
    overflow: auto;
    border-radius: 26px;
    background: #FFFFFF;
    box-shadow: 0 30px 80px rgb(0 0 0 / 38%);
    color: var(--nc-ink, #1E2A44);
    text-align: center;
    transform: translateY(24px) scale(0.95);
    transition: transform 480ms var(--nf-ease);
}

.nc-modal.is-open .nc-modal-box {
    transform: none;
}

.nc-modal-box::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #0B2D48, #009C90, #2DB6A9);
    content: "";
}

.nc-modal-check {
    display: block;
    width: 84px;
    height: 84px;
    margin: 0 auto 18px;
}

.nc-modal-check circle {
    fill: #EAFBF8;
    stroke: #009C90;
    stroke-width: 3;
    stroke-dasharray: 190;
    stroke-dashoffset: 190;
}

.nc-modal-check path {
    fill: none;
    stroke: #009C90;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
}

.nc-modal.is-open .nc-modal-check circle {
    animation: ncDraw 700ms 160ms var(--nf-ease) forwards;
}

.nc-modal.is-open .nc-modal-check path {
    animation: ncDraw 500ms 640ms var(--nf-ease) forwards;
}

.nc-modal-box h2 {
    margin: 0 0 12px;
    color: var(--nc-ink, #1E2A44);
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.nc-modal-box p {
    margin: 0 0 14px;
    color: var(--nc-body, #5A6478);
    font-size: 0.97rem;
    line-height: 1.7;
}

.nc-modal-highlight {
    padding: 14px 16px;
    border: 1px solid #BFE3DE;
    border-radius: 14px;
    background: #EAFBF8;
    color: #0B5F5A !important;
    font-weight: 600;
}

.nc-modal-box .btn {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin-top: 6px;
}

.nc-modal-close {
    margin: 14px auto 0;
    padding: 10px 16px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--nc-body, #5A6478);
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 200ms ease, background 200ms ease;
}

.nc-modal-close:hover {
    background: #F4F9FB;
    color: var(--nc-ink, #1E2A44);
}

.nc-modal :is(a, button):focus-visible {
    outline: 3px solid rgb(0 156 144 / 45%);
    outline-offset: 3px;
}

@keyframes ncDraw {
    to { stroke-dashoffset: 0; }
}


/* =========================================================
  12. GOOGLE ADDRESS SUGGESTIONS
  (the list is appended to <body> by Google)
========================================================= */

.pac-container {
    z-index: 5000;
    margin-top: 8px;
    overflow: hidden;
    border: 1px solid #DCE8EF;
    border-radius: 16px;
    box-shadow: 0 20px 44px rgb(11 45 72 / 18%);
    font-family: var(--nc-font, "Poppins", "Poppins Fallback", system-ui, sans-serif);
}

.pac-item {
    padding: 11px 16px;
    border-top: 1px solid #EEF4F7;
    color: var(--nc-body, #5A6478);
    font-size: 0.86rem;
    line-height: 1.5;
    cursor: pointer;
    transition: background-color 160ms ease;
}

.pac-item:first-child {
    border-top: 0;
}

.pac-item:hover,
.pac-item-selected {
    background: #EAFBF8;
}

.pac-item-query {
    color: var(--nc-ink, #1E2A44);
    font-size: 0.93rem;
    font-weight: 600;
}

.pac-matched {
    color: #00786C;
}


/* =========================================================
  13. ENTRANCE ANIMATIONS (CSS only, no flash without JS)
========================================================= */

.nc-form-card,
.aside-card {
    animation: ncRise 720ms var(--nf-ease) both;
}

.aside-card:nth-child(1) { animation-delay: 120ms; }
.aside-card:nth-child(2) { animation-delay: 220ms; }
.aside-card:nth-child(3) { animation-delay: 320ms; }

@keyframes ncRise {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}


/* =========================================================
  14. RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .contact-shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-aside {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aside-card--cta {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {

    .contact-shell,
    .contact-section--services .container {
        width: calc(100% - 28px);
    }

    .contact-aside {
        grid-template-columns: minmax(0, 1fr);
    }

    .nc-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .nc-form-card {
        padding: 22px 16px 24px;
        border-radius: 20px;
    }

    .nc-progress-label {
        min-width: 0;
        font-size: 0.74rem;
    }

    .nc-days-box {
        padding: 14px;
    }

    .nc-chip span {
        min-width: 56px;
        padding: 10px 13px;
    }

    .nc-modal-box {
        padding: 34px 20px 22px;
        border-radius: 22px;
    }

    .contact-points li {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 359px) {

    .nc-turnstile .cf-turnstile {
        transform: scale(0.86);
        transform-origin: left top;
    }
}


/* =========================================================
  15. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .nc-form-card,
    .aside-card,
    .nc-form-card::after,
    .contact-hero .badge::before,
    .nc-form.is-complete .nc-submit,
    .nc-field.is-shake,
    .nc-modal.is-open .nc-modal-check circle,
    .nc-modal.is-open .nc-modal-check path {
        animation: none !important;
    }

    .nc-modal.is-open .nc-modal-check circle,
    .nc-modal.is-open .nc-modal-check path {
        stroke-dashoffset: 0;
    }

    .nc-input,
    .nc-field > label,
    .nc-chip span,
    .nc-reveal,
    .nc-progress-fill,
    .nc-modal,
    .nc-modal-box,
    .nc-state svg,
    .contact-row,
    .aside-card,
    .social-links a {
        transition: none !important;
    }
}


/* =========================================================
  16. SERVICES GRID — 3 columns so the 9 cards stay balanced
========================================================= */

@media (min-width: 901px) {
    .contact-section--services .related-services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
