/* ==========================================
   index.css — Aspire Pharmaceuticals
   Page-specific styles for index.html (landing page).

   Sections:
     1. Body & Typography overrides
     2. Hero section
     3. Core Values molecular orbital
     4. Stats bar
     6. Products strip
     7. Leadership cards (founders + leaders)
     8. Contact form & map
     9. Scroll indicator & separators
    10. Footer overrides
    11. Responsive (@media 900px, 600px)

   Dependencies: styles/global.css
   Used by: index.html
   ========================================== */

body,
html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Proxima Nova', sans-serif;
    background-color: var(--white);
    color: var(--dark-navy);
}

h1,
h2,
h3,
.kinetic-text,
#header nav ul li a,
.number-stat,
.section-heading {
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

section {
    padding: 120px 5vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 10;
}

/* index.html has slightly different search-icon hover */
.search-icon:hover {
    transform: scale(1.05);
    background-color: var(--primary-blue);
}

/* ==========================================
   2. HERO SECTION (CORPORATE PROFILE)
   ========================================== */
#hero {
    position: relative;
    z-index: 10;
    padding-top: 150px;
    padding-bottom: 100px;
    min-height: auto;
    /* Fix for blown-up background image */
    background: transparent;
    justify-content: flex-start;
}

/* Foreground paints above the background layers. */
.hero-kinetic-text,
.hero-content-wrapper { position: relative; z-index: 2; }
.hero-scroll-indicator { z-index: 2; }

.hero-kinetic-text {
    font-size: clamp(2.4rem, 5vw, 5rem);
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.1;
    max-width: 800px;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.hero-kinetic-text::before {
    content: '\201C';
    position: absolute;
    top: -0.15em;
    left: calc(-0.45em - 19px);
    font-size: 1.8em;
    line-height: 1;
    color: var(--turquoise);
    opacity: 0.4;
    font-family: 'Space Grotesk', sans-serif;
    pointer-events: none;
    font-weight: 700;
}

/* Closing quote lives on the last-word span so it anchors to end of "TOMORROWS" */
.hero-last-word {
    position: relative;
}
.hero-last-word::after {
    content: '\201D';
    position: absolute;
    bottom: -0.1em;
    right: calc(-0.7em + 20px);
    font-size: 1.8em;
    line-height: 1;
    color: var(--turquoise);
    opacity: 0.4;
    font-family: 'Space Grotesk', sans-serif;
    pointer-events: none;
    font-weight: 700;
}

.hero-glass-card {
    /* Card opacity bumped +15 percentage points (actual base was 0.6, NOT the
       0.15 --glass-bg token the brief assumed) → 0.75. Scoped here only; the
       global --glass-bg token (0.15, used by other glass elements) is untouched. */
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-left: 4px solid var(--turquoise);
    padding: 2.5rem;
    max-width: 600px;
    box-shadow: 0 15px 35px var(--glass-shadow);
    border-radius: 2px;
}

.hero-glass-card p {
    font-size: calc(1.15rem + 2pt); /* company-description copy bumped +2pt */
    line-height: 1.8;
    color: var(--dark-navy);
    margin: 0;
}

.hero-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px; /* sufficient padding between the glass card and the CTA below it */
}

.hero-learn-more-btn {
    display: inline-block;
    padding: 12px 32px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid var(--primary-blue);
    border-radius: 50px;
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.4s ease;
    cursor: pointer;
    margin-bottom: 25px;
}

.hero-learn-more-btn:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(17, 62, 160, 0.25);
}

/* ==========================================
   3. CORE VALUES (MOLECULAR BOND LAYOUT)
   ========================================== */
/* (The standalone #values section was removed in Iteration 3 — the orbital now
   lives in #cine-stage .cine-values-overlay. The .molecular-container /
   .value-node / etc. rules below are still used there.) */

.section-heading {
    font-size: 3rem;
    color: var(--dark-navy);
    margin-bottom: 4rem;
    text-align: center;
}

.molecular-container {
    position: relative;
    width: 600px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(1.3);
    /* 30% larger */
    margin-top: 120px;
    margin-bottom: 80px;
}

/* Wrapper to spin the nodes */
#nodes-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 5;
}

/* Faint dashed connecting ring */
.molecular-ring {
    position: absolute;
    width: 440px;
    height: 440px;
    border: 1px dashed var(--sterile-grey);
    border-radius: 50%;
    z-index: 0;
}

.value-node {
    position: absolute;
    width: 140px;
    height: 140px;
    background: var(--white);
    border: 1px solid var(--turquoise);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 20, 58, 0.05);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, z-index 0.4s ease;
    text-align: center;
    z-index: 5;
    cursor: pointer;
    overflow: hidden;
}

.value-node::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(to top, rgba(53,203,204,0.25) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

/* Node ring positions (top/left) + sizes are set by JS from the tablet's
   on-screen geometry (index-cinematic.js layoutOrbital), so the ring tracks
   the engraved tablet's inner edge and recomputes on resize. */

.node-media {
    width: 50px;
    height: 50px;
    position: relative;
    margin-bottom: 8px;
}

.node-media img,
.node-media video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.4s ease;
}

.node-media video {
    opacity: 0;
    pointer-events: none;
}

.value-node h3 {
    font-size: 0.8rem;
    margin: 0;
    color: var(--dark-navy);
    letter-spacing: 0.1em;
    font-weight: 700;
}

/* Hover States */
.value-node:hover {
    border-color: var(--dark-navy);
    box-shadow: 0 0 25px rgba(0, 20, 58, 0.35), 0 0 60px rgba(0, 20, 58, 0.15);
    z-index: 10;
}

.value-node:hover::after {
    opacity: 1;
}

.value-node:hover .node-media img {
    opacity: 0;
}

.value-node:hover .node-media video {
    opacity: 1;
}

/* Old tooltip — hidden, replaced by side panel */
.value-node .tooltip {
    display: none;
}

/* Side Panel Info Card — contained within #values */
.values-info-panel {
    position: absolute;
    top: 50%;
    width: 338px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(222, 223, 224, 0.6);
    border-radius: 8px;
    padding: 32px 28px;
    box-shadow: 0 15px 40px rgba(0, 20, 58, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 100;
}

/* Right side positioning (default) */
.values-info-panel.panel-right {
    right: 5vw;
    left: auto;
    border-left: 4px solid var(--primary-blue);
    border-right: 1px solid rgba(222, 223, 224, 0.6);
    transform: translateY(-50%) translateX(20px);
}

/* Left side positioning */
.values-info-panel.panel-left {
    left: 5vw;
    right: auto;
    border-right: 4px solid var(--primary-blue);
    border-left: 1px solid rgba(222, 223, 224, 0.6);
    transform: translateY(-50%) translateX(-20px);
}

.values-info-panel.active {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    pointer-events: auto;
}

.values-info-panel .panel-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dark-navy);
    margin: 0 0 12px 0;
}

.values-info-panel .panel-desc {
    font-family: 'Proxima Nova', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--dark-navy);
    margin: 0;
}

.values-info-panel .panel-accent {
    width: 30px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
    margin-bottom: 14px;
}


/* ==========================================
   4. EXECUTIVE LEADERSHIP — DNA HELIX TIMELINE
   ========================================== */
#leadership {
    background-color: var(--white);
    padding: 120px 5vw;
    position: relative;
    overflow-x: clip;
    overflow-y: visible;
}


.helix-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 0;
}

#helix-spine-canvas {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.helix-nodes {
    position: relative;
    z-index: 2;
}

.helix-tier-label {
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--primary-blue);
    margin: 3rem 0 2.5rem;
    position: relative;
    z-index: 2;
}

.helix-tier-label::before,
.helix-tier-label::after {
    content: '';
    display: inline-block;
    width: 52px;
    height: 1px;
    background: var(--primary-blue);
    vertical-align: middle;
    margin: 0 1.2rem;
    opacity: 0.3;
}

.helix-node {
    display: flex;
    align-items: center;
    margin-bottom: 3.5rem;
    position: relative;
    width: 50%;
}

.helix-node.helix-left {
    margin-right: auto;
    padding-right: calc(2rem + 80px);
    justify-content: flex-end;
}

.helix-node.helix-right {
    margin-left: auto;
    padding-left: calc(2rem + 80px);
    justify-content: flex-start;
}

/* Wrapper for card + role label stacked vertically */
.helix-card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 56%;
}

.helix-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px) saturate(1.6);
    -webkit-backdrop-filter: blur(16px) saturate(1.6);
    border: 1px solid rgba(0, 20, 58, 0.10);
    box-shadow: 0 8px 24px rgba(0, 20, 58, 0.10), 0 2px 6px rgba(0, 20, 58, 0.06), inset 0 1px 0 rgba(255,255,255,0.9);
    border-radius: 16px;
    overflow: hidden;
    padding: 0;
    transform: perspective(800px) rotateX(0.5deg);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    width: 100%;
    height: 329px; /* Fixed total height: 275px photo + 54px nameplate */
}

.helix-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--turquoise), var(--primary-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    border-radius: 0 0 16px 16px;
    z-index: 2;
}

.helix-card:hover {
    background: rgba(17, 62, 160, 0.08);
    border-color: var(--primary-blue);
    transform: translateY(-6px) perspective(800px) rotateX(1deg);
    box-shadow: 0 16px 40px rgba(0, 20, 58, 0.15), 0 6px 12px rgba(0, 20, 58, 0.08);
}

.helix-card:hover::after {
    transform: scaleX(1);
}

/* Photo area — fixed 275px height, per-person crop position applied inline via JS */
.helix-card-photo {
    flex: none;
    height: 275px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    background: rgba(0, 20, 58, 0.02);
}

.helix-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; /* fallback — overridden per-person via inline style */
}

/* Nameplate — fixed 54px height at bottom of card */
.helix-nameplate {
    flex: none;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    border-top: 1px solid rgba(0, 20, 58, 0.06);
    background: rgba(255, 255, 255, 0.8);
}

.helix-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0;
    color: var(--dark-navy);
}

.helix-head-node .helix-name {
    font-size: 0.95rem;
}

/* Role/Designation — sits below the card */
.helix-role-label {
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    margin-top: 0.5rem;
    width: 100%;
}

.helix-role-label.role-founder {
    color: var(--primary-blue);
}

.helix-role-label.role-head {
    color: var(--turquoise);
}

/* Bio popup card — left cards show popup on left, right cards on right */
.helix-bio-popup {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.95);
    width: 398px; /* +60px wider */
    background: rgba(17, 62, 160, 0.08);
    backdrop-filter: blur(20px) saturate(1.6);
    -webkit-backdrop-filter: blur(20px) saturate(1.6);
    border: 1px solid var(--primary-blue);
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 12px 32px rgba(0, 20, 58, 0.12);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

/* Left cards: popup expands leftward (anchor to right edge of card) */
.helix-left .helix-bio-popup {
    right: calc(100% + 16px - 150px);
    left: auto;
}

/* Right cards: popup expands rightward (anchor to left edge of card area) */
.helix-right .helix-bio-popup {
    left: calc(100% + 16px - 150px);
    right: auto;
}

.helix-node:hover .helix-bio-popup {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    pointer-events: auto;
}

/* Bio popup inner layout */
.helix-bio-header {
    margin-bottom: 0;
}

.helix-bio-popup-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-navy);
    letter-spacing: 0.02em;
    margin: 0 0 0.18rem 0;
}

.helix-bio-popup-role {
    font-family: 'Proxima Nova', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-blue);
    margin: 0;
}

/* Thin ruled separator below header */
.helix-bio-rule {
    height: 1px;
    background: linear-gradient(90deg, var(--primary-blue), transparent);
    margin: 0.85rem 0;
    opacity: 0.3;
}

/* Hook — scannable 1-liner, heavier weight */
.helix-bio-hook {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--dark-navy);
    margin: 0 0 0.75rem 0;
    letter-spacing: 0.01em;
}

/* Body — comfortable reading prose */
.helix-bio-body {
    font-family: 'Proxima Nova', sans-serif;
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(0, 20, 58, 0.72);
    margin: 0 0 0.85rem 0;
}

/* Credentials strip */
.helix-bio-credentials {
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 20, 58, 0.1);
}

.helix-bio-cred-label {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(0, 20, 58, 0.35);
    margin-bottom: 0.5rem;
}

.helix-bio-cred-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.helix-bio-cred-item {
    font-family: 'Proxima Nova', sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--primary-blue);
    background: rgba(17, 62, 160, 0.07);
    border: 1px solid rgba(17, 62, 160, 0.18);
    border-radius: 4px;
    padding: 0.2rem 0.55rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* Dashed line from card edge — stops before spine */
.helix-connector-line {
    position: absolute;
    top: 50%;
    height: 1px;
    border-top: 1px dashed var(--dark-navy);
    z-index: 0;
}

.helix-left .helix-connector-line {
    left: auto;
    right: calc(2rem + 80px - (2rem + 80px - 15px) * 0.65);
    width: calc((2rem + 80px - 15px) * 0.65);
}

.helix-right .helix-connector-line {
    right: auto;
    left: calc(2rem + 80px - (2rem + 80px - 15px) * 0.65);
    width: calc((2rem + 80px - 15px) * 0.65);
}

/* Responsive */
@media (max-width: 900px) {
    .helix-connector-line { display: none; }
    .helix-bio-popup { display: none; }
    .helix-node {
        width: 100%;
        padding: 0 1rem;
        margin-left: 0;
        margin-right: 0;
    }
    .helix-node.helix-left,
    .helix-node.helix-right {
        justify-content: center;
        padding: 0 1rem;
    }
}


/* ==========================================
   5. UNIFIED CONTACT ACTION CENTER
   ========================================== */
#contact {
    background-color: var(--white);
    align-items: center;
    padding: 120px 0;
    /* NO horizontal padding so two-halves span full viewport */
    min-height: auto;
    position: relative;
    overflow: hidden;
}

/* Location grid watermark */
#contact::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.20;
    background-image: url('../assets/backgroundImages/location-grid-contact.webp');
    background-repeat: repeat;
    background-size: 500px 500px;
}

#contact .section-heading {
    color: var(--dark-navy);
    margin-bottom: 1rem;
    padding: 0 5vw;
    /* indent heading since section has no horizontal padding */
    position: relative;
    z-index: 1;
}

.brand-quote {
    text-align: center;
    color: var(--primary-blue);
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 4rem;
    font-size: 1.15rem;
    letter-spacing: 0.05em;
    font-weight: 500;
    padding: 0 5vw;
    /* indent quote since section has no horizontal padding */
    position: relative;
    z-index: 1;
}

.contact-disclaimer {
    text-align: center;
    color: #d63031;
    font-family: 'Proxima Nova', sans-serif;
    font-size: 0.9rem;
    margin: -1.5rem auto 2.5rem;
    max-width: 700px;
    padding: 0 5vw;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.contact-disclaimer a {
    color: #d63031;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-two-halves {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: stretch;
}

.contact-left-half {
    flex: 0 0 50%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding-left: 5vw;
    padding-right: 27px;
    box-sizing: border-box;
}

.contact-right-half {
    flex: 0 0 50%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding-left: 27px;
    padding-right: 5vw;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .contact-two-halves {
        flex-direction: column;
    }

    .contact-left-half,
    .contact-right-half {
        flex: 0 0 100%;
        padding: 0;
        justify-content: center;
    }
}

/* Contact card: 65% of left half, right edge stays at center */
.business-card-form {
    width: 65%;
    background-color: var(--white);
    background-image:
        linear-gradient(rgba(0, 20, 58, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 20, 58, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    padding: 3.5rem 3rem;
    border: 1px solid rgba(0, 20, 58, 0.1);
    position: relative;
    box-shadow: none;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Accent corner marks to look like a printed B.L.A.S.T card */
.business-card-form::before,
.business-card-form::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border: 2px solid var(--primary-blue);
    z-index: 2;
}

.business-card-form::before {
    top: 15px;
    left: 15px;
    border-right: none;
    border-bottom: none;
}

.business-card-form::after {
    bottom: 15px;
    right: 15px;
    border-left: none;
    border-top: none;
}

.form-heading {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--dark-navy);
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
    position: relative;
}

/* Map container: fills its right-half parent, height set by JS to match card */
.contact-map-container {
    width: 100%;
    position: relative;
    background-color: transparent;
    padding: 0;
}

.contact-map-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
    /* pin image to left edge, not centered */
}

.form-row {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
}

.form-row .half-width {
    flex: 1;
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.error-message {
    display: none;
    /* hidden by default */
    color: #d63031;
    font-family: 'Proxima Nova', sans-serif;
    font-size: 0.8rem;
    margin-top: 6px;
    position: absolute;
    bottom: -22px;
    left: 0;
    white-space: nowrap;
}

.form-group label {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    color: var(--primary-blue);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* Target fields and match requested style -> Border-bottom: 2px solid #000080 */
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid #000080;
    color: var(--dark-navy);
    font-family: 'Proxima Nova', sans-serif;
    font-size: 1.05rem;
    padding: 8px 0;
    outline: none;
    transition: border-color 0.3s ease;
    appearance: none;
    border-radius: 0;
    /* iOS fix */
}

/* Input with prefix (Phone Number + Country Code) */
.input-with-prefix {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #000080;
    transition: border-color 0.3s ease;
}

.country-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 15px;
}

#country-display {
    color: var(--primary-blue);
    font-weight: normal;
    font-family: 'Proxima Nova', sans-serif;
    font-size: 1.05rem;
    pointer-events: none;
    white-space: nowrap;
    margin-right: 4px;
}

.country-arrow {
    width: 16px;
    height: 16px;
    stroke: var(--turquoise);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
    flex-shrink: 0;
}

.input-with-prefix select.country-select {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    border: none;
    appearance: none;
}

.input-with-prefix input {
    border-bottom: none;
    flex: 1;
}

.input-with-prefix:focus-within {
    border-bottom-color: var(--turquoise);
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    right: 10px;
    bottom: 12px;
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000080' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.select-wrapper:focus-within::after {
    transform: rotate(180deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2335CBCC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

.form-group select {
    cursor: pointer;
    padding-right: 30px;
    /* Make room for custom arrow */
}

.form-group select option {
    background-color: var(--white);
    color: var(--dark-navy);
    padding: 10px;
    font-family: 'Proxima Nova', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-bottom-color: var(--turquoise);
}

.form-group.message-group {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    position: relative;
}

.form-group textarea {
    resize: none;
    min-height: 150px;
    flex-grow: 1;
}

.message-counters {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 4px;
}

.word-counter,
.char-counter {
    font-family: 'Proxima Nova', sans-serif;
    font-size: 0.75rem;
    color: #888;
}

.word-counter.exceeded,
.char-counter.exceeded {
    color: #d63031;
    font-weight: 600;
}

button.submit-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}



button.submit-btn {
    background-color: var(--dark-navy);
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: none;
    padding: 20px 40px;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: auto;
    position: relative;
    z-index: 2;
}

button.submit-btn:hover {
    background-color: var(--primary-blue);
}

.col-links {
    display: flex;
    flex-direction: row;
    gap: 15px;
    padding: 0 10px;
    align-items: flex-start;
}

.info-link {
    display: inline-flex;
    align-items: center;
    color: var(--dark-navy);
    font-family: 'Proxima Nova', sans-serif;
    font-size: 1rem;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px) saturate(1.6);
    -webkit-backdrop-filter: blur(16px) saturate(1.6);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 40px;
    padding: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 20, 58, 0.05), inset 0 1px 0 rgba(255,255,255,0.9);
}

.info-link:hover {
    color: var(--primary-blue);
    border-color: rgba(53, 203, 204, 0.5);
    box-shadow: 0 6px 20px rgba(0, 20, 58, 0.1);
}

.info-link span {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    vertical-align: middle;
}

.info-link:hover span {
    max-width: 600px;
    opacity: 1;
    margin-left: 10px;
    padding-right: 8px;
}

/* Map address: reveal on one line (no wrap) — widen the cap to fit the full string */
.info-link span.wrap-text {
    white-space: nowrap;
    line-height: 1.4;
}

.info-link:hover span.wrap-text {
    max-width: 760px;
}

/* Simulated icons using simple CSS shapes + pseudo elements for the clinical look, or we use SVG inline to ensure it loads perfectly */
.info-icon-svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-blue);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    transition: stroke 0.4s ease;
}

.info-link:hover .info-icon-svg {
    stroke: var(--turquoise);
}

/* ==========================================
   HERO SCROLL INDICATOR
   ========================================== */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 5vw;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    animation: scroll-bounce 2s infinite ease-in-out;
}
.scroll-chevron {
    display: block;
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--primary-blue);
    border-bottom: 2px solid var(--primary-blue);
    transform: rotate(45deg);
}
@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(8px); opacity: 1; }
}

/* ==========================================
   SECTION SEPARATOR RULE
   ========================================== */
.section-sep {
    width: 100%;
    height: 1px;
    background: var(--primary-blue);
    opacity: 0.15;
    margin: 0;
}

/* ==========================================
   STRIP SHARED STYLES
   ========================================== */
.strip-eyebrow {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--turquoise);
    margin: 0 0 0.75rem 0;
}
.strip-eyebrow i { font-size: 1.6rem; margin-right: 8px; }
.strip-subhead {
    font-family: 'Proxima Nova', sans-serif;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    line-height: 1.6;
    margin: 0.5rem 0 3rem 0;
}
.strip-cta-row {
    display: flex;
    justify-content: flex-start;
    margin-top: 2.5rem;
}

/* 6A. STATS BAR — relocated into the pinned cinematic as the "By The Numbers"
   beat; its styles now live in styles/cinematic.css (.cine-numbers-overlay).
   The old standalone #stats / .stats-grid / .stat-divider rules were removed
   here (dead after the relocation; .cine-numbers-overlay fully self-styles its
   stat-number/value/suffix/label). */

/* ==========================================
   INDEX.HTML FOOTER OVERRIDES
   (index.html has slightly different footer styling)
   ========================================== */
#site-footer {
    background: var(--white);
    border-top: 1px solid var(--sterile-grey);
    padding: 70px 5vw 0;
    position: relative;
    overflow: hidden;
}
.footer-monogram {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 900;
    color: rgba(17,62,160,0.04);
    letter-spacing: 0.15em;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    line-height: 1;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    padding-bottom: 60px;
}
@media (max-width: 900px) {
    .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
.footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 1.25rem;
    display: block;
}
.footer-tagline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin: 0 0 0.75rem 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.footer-desc {
    font-family: 'Proxima Nova', sans-serif;
    font-size: 0.9rem;
    color: rgba(0, 20, 58, 0.55);
    line-height: 1.7;
    margin: 0;
    max-width: 340px;
}
.footer-col-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary-blue);
    margin: 0 0 1.25rem 0;
}
.footer-nav-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.footer-nav-col ul li a {
    font-family: 'Proxima Nova', sans-serif;
    font-size: 0.9rem;
    color: rgba(0, 20, 58, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-nav-col ul li a:hover { color: var(--primary-blue); }
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    font-family: 'Proxima Nova', sans-serif;
    font-size: 0.9rem;
    color: rgba(0, 20, 58, 0.8);
    line-height: 1.5;
}
.footer-contact-item i {
    font-size: 1.1rem;
    color: var(--primary-blue);
    flex-shrink: 0;
}
.footer-contact-item a {
    color: rgba(0, 20, 58, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-contact-item a:hover { color: var(--primary-blue); }
.footer-bottom {
    border-top: 1px solid var(--sterile-grey);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-family: 'Proxima Nova', sans-serif;
    font-size: 0.8rem;
    color: rgba(0, 20, 58, 0.35);
}
.footer-sep { color: rgba(0, 20, 58, 0.2); }

/* ==========================================
   INDEX.HTML HAMBURGER COLOR OVERRIDE
   ========================================== */
.hamburger span {
    background: rgba(255,255,255,0.8);
}

/* ==========================================
   INDEX.HTML RESPONSIVE
   ========================================== */
@media (max-width: 900px) {
    .search-icon { display: none; }
    #header { width: calc(100% - 48px); top: 14px; }
}

@media (max-width: 480px) {
    #header { width: calc(100% - 32px); top: 12px; }
}
