/* ══════════════════════════════════════════════
   Shoothill 2026 — Design System
   ══════════════════════════════════════════════ */

:root {
    --navy: #333;
    --box-navy: #043D5D;
    --blue: #009FE3;
    --blue-hover: #007ab8;
    --grey: #AAAAAA;
    --white: #FFFFFF;
    --off-white: #F5F8FA;
    --light-blue: #E6F6FD;
    --green: #0D7A4A;
    --green-bg: #E8F5EE;
    --red: #DC2626;
    --red-bg: #FEE2E2;
    --rule: #DDE8EE;
    --sub-text: #3A6278;
    --glow: rgba(0,159,227,0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--navy);
    line-height: 1.7;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: var(--blue); text-decoration: none; transition: 0.2s all; }
a:hover { color: var(--blue-hover); }

img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }


/* ── Animations ── */

.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


/* ── Masthead ── */

.masthead {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--rule);
    padding: 14px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideDown 0.5s ease;
}

.masthead-logo img { height: 30px; display: block; }

.masthead-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.nav-link:hover { color: var(--blue); }

/* Dropdown navigation */
.nav-dropdown { position: relative; }

.dropdown-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 16px;
    z-index: 200;
}

.nav-dropdown:hover .dropdown-panel,
.dropdown-panel:hover { display: block; }

.dropdown-panel::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: var(--white);
}

.dropdown-panel .dropdown-item {
    display: block;
    padding: 14px 20px;
    background: var(--white);
    border: 1px solid var(--rule);
    border-top: none;
    min-width: 280px;
    text-decoration: none;
    transition: 0.15s all;
}

.dropdown-panel .dropdown-item:first-child {
    border-top: 1px solid var(--rule);
    border-radius: 8px 8px 0 0;
}

.dropdown-panel .dropdown-item:last-child {
    border-radius: 0 0 8px 8px;
}

.dropdown-panel .dropdown-item:hover { background: var(--off-white); }

.dropdown-item-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--box-navy);
}

.dropdown-item-desc {
    display: block;
    font-size: 12px;
    color: var(--sub-text);
    margin-top: 2px;
}

/* Mobile nav toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.mobile-nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: 0.3s all;
}


/* ── Buttons ── */

.btn {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 15px 32px;
    border: none;
    cursor: pointer;
    transition: 0.25s all;
    text-decoration: none;
    border-radius: 4px;
}

.btn-blue {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(0,159,227,0.3);
}
.btn-blue:hover {
    background: var(--box-navy);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(4,61,93,0.3);
}

.btn-ghost {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    padding: 15px 0;
    border-bottom: 1px solid var(--rule);
    text-transform: none;
    letter-spacing: 0;
    border-radius: 0;
}
.btn-ghost:hover {
    color: var(--blue);
    border-color: var(--blue);
}

.btn-white {
    background: var(--white);
    color: var(--box-navy);
}
.btn-white:hover {
    background: var(--off-white);
    transform: translateY(-2px);
}


/* ── Hero ── */

.hero {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 50%, var(--light-blue) 100%);
}

/* Decorative gradient orbs */
.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,159,227,0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(4,61,93,0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
    pointer-events: none;
}

.hero--compact { padding: 80px 0 48px; }

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-grid--centered {
    grid-template-columns: 1fr;
    max-width: 800px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue);
    margin-bottom: 24px;
}
.hero-eyebrow::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--blue);
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--box-navy);
}
.hero h1 em { color: var(--blue); font-style: normal; }

.hero-sub {
    font-size: 17px;
    color: var(--sub-text);
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-ctas { display: flex; align-items: center; gap: 24px; }


/* ── Hero Card / Carousel ── */

.hero-card {
    background: linear-gradient(145deg, var(--box-navy) 0%, #032d45 100%);
    color: var(--white);
    padding: 48px 36px 36px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 24px 80px rgba(4,61,93,0.25);
}

/* Decorative corner glow */
.hero-card::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(0,159,227,0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-card .quote-mark {
    font-family: Georgia, serif;
    font-size: 110px;
    opacity: 0.15;
    position: absolute;
    top: -10px;
    left: 24px;
    line-height: 1;
    color: var(--blue);
}

.carousel-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}
.carousel-slide.active { display: block; }

.carousel-slide blockquote {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}
.carousel-slide cite {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue);
    font-style: normal;
}

.carousel-dots {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}
.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    transition: 0.2s all;
    border: none;
}
.carousel-dot.active { background: var(--blue); }


/* ── Stats Strip ── */

.stats {
    background: linear-gradient(135deg, var(--box-navy) 0%, #032438 100%);
    padding: 48px 0;
    position: relative;
    overflow: hidden;
}

/* Grid pattern overlay */
.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.stat { text-align: center; color: var(--white); }
.stat-number {
    font-size: 38px;
    font-weight: 800;
    color: var(--blue);
    letter-spacing: -0.03em;
}
.stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.7;
    margin-top: 4px;
}


/* ── Sections ── */

.section { padding: 80px 0; position: relative; }
.section-alt { background: var(--off-white); }

/* Dark section variant */
.section-dark {
    background: linear-gradient(135deg, var(--box-navy) 0%, #032438 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.section-dark::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,159,227,0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.section-dark h2 { color: var(--white); }
.section-dark .section-desc { color: rgba(255,255,255,0.6); }

.section-header { text-align: center; margin-bottom: 56px; }

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue);
    margin-bottom: 16px;
}
.section-eyebrow::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--blue);
}

.section h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: var(--box-navy);
    margin-bottom: 16px;
}
.section h2 em { color: var(--blue); font-style: normal; }

.section-desc {
    font-size: 16px;
    color: var(--sub-text);
    max-width: 600px;
    margin: 0 auto;
}


/* ── Problem/Fear Cards ── */

.fears-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.fear-card {
    background: var(--white);
    padding: 36px;
    transition: 0.3s all;
    border: 1px solid var(--rule);
    position: relative;
    overflow: hidden;
}

.fear-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--blue);
    transition: 0.3s height;
}

.fear-card:hover {
    background: var(--light-blue);
    border-color: rgba(0,159,227,0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,159,227,0.08);
}

.fear-card:hover::before { height: 100%; }

.fear-num {
    font-size: 44px;
    font-weight: 800;
    color: var(--blue);
    opacity: 0.15;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
}

.fear-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--box-navy);
    margin-bottom: 8px;
}

.fear-card p { font-size: 14px; color: var(--sub-text); }


/* ── Timeline ── */

.timeline { max-width: 800px; margin: 0 auto; }

.timeline-item {
    display: flex;
    gap: 32px;
    padding-bottom: 40px;
    position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-period {
    width: 140px;
    flex-shrink: 0;
    text-align: right;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--box-navy);
    padding-top: 2px;
}

.timeline-marker {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--blue);
    margin-top: 6px;
    flex-shrink: 0;
    z-index: 1;
    box-shadow: 0 0 0 4px var(--light-blue);
}

.timeline-line {
    width: 1px;
    flex: 1;
    background: var(--rule);
    margin-top: 8px;
}
.timeline-item:last-child .timeline-line { display: none; }

.timeline-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--box-navy);
    margin-bottom: 8px;
}

.timeline-content ul { list-style: none; padding: 0; }

.timeline-content li {
    font-size: 14px;
    color: var(--sub-text);
    padding: 3px 0 3px 18px;
    position: relative;
}
.timeline-content li::before {
    content: '\2192';
    position: absolute;
    left: 0;
    color: var(--blue);
}

.timeline-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--green-bg);
    color: var(--green);
    padding: 4px 10px;
    margin-bottom: 8px;
    border-radius: 3px;
}


/* ── Service Cards ── */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--off-white);
    border: 1px solid var(--rule);
    padding: 36px;
    transition: 0.3s all;
    border-radius: 8px;
}
.service-card:hover {
    border-color: var(--blue);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,159,227,0.12);
}

.service-num {
    font-size: 56px;
    font-weight: 800;
    color: var(--light-blue);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--box-navy);
    margin-bottom: 8px;
}

.service-tagline {
    font-size: 13px;
    font-style: italic;
    color: var(--blue);
    background: var(--light-blue);
    border-left: 3px solid var(--blue);
    padding: 8px 12px;
    margin-bottom: 16px;
    border-radius: 0 4px 4px 0;
}

.service-card p { font-size: 14px; color: var(--sub-text); line-height: 1.6; }


/* ── Pillar Cards (homepage) ── */

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pillar-card {
    border: 1px solid var(--rule);
    padding: 36px 28px;
    text-align: center;
    transition: 0.3s all;
    text-decoration: none;
    color: inherit;
    display: block;
    border-radius: 12px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

/* Top gradient border effect */
.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), #00c6ff);
    opacity: 0;
    transition: 0.3s opacity;
}

.pillar-card:hover {
    border-color: rgba(0,159,227,0.2);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,159,227,0.12);
    color: inherit;
}

.pillar-card:hover::before { opacity: 1; }

.pillar-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--light-blue) 0%, rgba(0,159,227,0.12) 100%);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: 0.3s all;
}

.pillar-card:hover .pillar-icon {
    background: var(--blue);
    color: var(--white);
    transform: scale(1.05);
}

.pillar-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--box-navy);
    margin-bottom: 10px;
}

.pillar-card p { font-size: 14px; color: var(--sub-text); line-height: 1.6; }


/* ── Case Study Cards ── */

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    border: 1px solid var(--rule);
    padding: 36px;
    background: var(--white);
    transition: 0.3s all;
    text-decoration: none;
    color: inherit;
    display: block;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.case-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--green));
    opacity: 0;
    transition: 0.3s opacity;
}

.case-card:hover {
    box-shadow: 0 12px 40px rgba(4,61,93,0.1);
    transform: translateY(-4px);
    color: inherit;
}

.case-card:hover::after { opacity: 1; }

.case-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--light-blue) 0%, rgba(0,159,227,0.12) 100%);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 16px;
}

.case-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--box-navy);
    margin-bottom: 4px;
}

.case-sector {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--blue);
    margin-bottom: 16px;
}

.case-card ul { list-style: none; padding: 0; }

.case-card li {
    font-size: 14px;
    color: var(--sub-text);
    padding: 4px 0 4px 20px;
    position: relative;
}
.case-card li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

.case-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.case-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--light-blue);
    color: var(--blue);
    padding: 4px 12px;
    border-radius: 3px;
}


/* ── Team/Why Cards ── */

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.team-card {
    border: 1px solid var(--rule);
    padding: 36px;
    transition: 0.3s all;
    border-radius: 12px;
    background: var(--white);
}
.team-card:hover {
    box-shadow: 0 12px 40px rgba(4,61,93,0.08);
    transform: translateY(-2px);
}

.team-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.team-avatar {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--light-blue) 0%, rgba(0,159,227,0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: var(--blue);
    flex-shrink: 0;
}

.team-name { font-size: 16px; font-weight: 700; color: var(--box-navy); }
.team-role {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--grey);
}

.team-card blockquote {
    font-size: 15px;
    font-style: italic;
    color: var(--sub-text);
    border-left: 3px solid var(--blue);
    padding-left: 16px;
    line-height: 1.6;
}


/* ── Sectors Strip ── */

.sectors {
    background: var(--off-white);
    padding: 56px 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}

.sectors-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--grey);
    text-align: center;
    margin-bottom: 28px;
}

.sectors-row {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.sector-item { text-align: center; max-width: 200px; }

.sector-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--light-blue) 0%, rgba(0,159,227,0.12) 100%);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    transition: 0.3s all;
}

.sector-item:hover .sector-icon {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
}

.sector-item h4 { font-size: 14px; font-weight: 700; color: var(--box-navy); margin-bottom: 4px; }
.sector-item p { font-size: 12px; color: var(--sub-text); line-height: 1.5; }


/* ── CTA / Contact ── */

.cta-section {
    background: linear-gradient(135deg, var(--box-navy) 0%, #021c2b 100%);
    padding: 100px 48px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Decorative glow */
.cta-section::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,159,227,0.1) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
    color: var(--white);
    position: relative;
    z-index: 1;
}
.cta-section h2 em { color: var(--blue); font-style: normal; }

.cta-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    max-width: 540px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
}

.form-box {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px;
    max-width: 640px;
    margin: 0 auto;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-box input,
.form-box textarea,
.form-box select {
    width: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--white);
    padding: 12px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: 0.2s all;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 6px;
}

.form-box select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='rgba(255,255,255,0.5)' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    color-scheme: dark;
}
.form-box select option { background: var(--box-navy); color: var(--white); }
.form-box select.select-placeholder { color: rgba(255,255,255,0.25); }

.form-box input::placeholder,
.form-box textarea::placeholder { color: rgba(255,255,255,0.25); }

.form-box input:focus,
.form-box textarea:focus,
.form-box select:focus {
    border-color: var(--blue);
    background-color: rgba(255,255,255,0.1);
    box-shadow: 0 0 0 3px rgba(0,159,227,0.15);
}

.form-box textarea { min-height: 100px; resize: vertical; margin-bottom: 16px; }
.form-box .btn { width: 100%; font-size: 14px; padding: 15px 36px; border-radius: 6px; }
.form-full { margin-bottom: 16px; }

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    color: var(--white);
}


/* ── Footer ── */

.footer {
    background: var(--white);
    border-top: 1px solid var(--rule);
    padding: 28px 48px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img { height: 24px; display: block; }

.footer-links { display: flex; gap: 24px; }
.footer-links a {
    font-size: 12px;
    color: var(--grey);
    letter-spacing: 0.05em;
}
.footer-links a:hover { color: var(--blue); }

.footer-legal-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--rule);
}
.footer-legal-links a {
    font-size: 11px;
    color: var(--grey);
    letter-spacing: 0.03em;
}
.footer-legal-links a:hover { color: var(--blue); }

.footer-legal {
    font-size: 12px;
    color: var(--grey);
    letter-spacing: 0.03em;
}


/* ── Article Body (blog posts, case studies, legal) ── */

.article-body {
    max-width: 760px;
    margin: 0 auto;
}

.article-body h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--box-navy);
    margin: 40px 0 16px;
    letter-spacing: -0.02em;
}

.article-body h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--box-navy);
    margin: 32px 0 12px;
}

.article-body p {
    margin-bottom: 20px;
    color: var(--navy);
    line-height: 1.8;
}

.article-body ul, .article-body ol {
    margin: 0 0 20px 24px;
    color: var(--navy);
}

.article-body li { margin-bottom: 8px; line-height: 1.7; }

.article-body blockquote {
    border-left: 3px solid var(--blue);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--off-white);
    font-style: italic;
    color: var(--sub-text);
    border-radius: 0 8px 8px 0;
}

.article-body img {
    max-width: 100%;
    height: auto;
    margin: 24px 0;
    border-radius: 8px;
}

.article-body a { color: var(--blue); text-decoration: underline; }
.article-body a:hover { color: var(--blue-hover); }


/* ── Blog Listing ── */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    border: 1px solid var(--rule);
    padding: 32px;
    transition: 0.3s all;
    text-decoration: none;
    color: inherit;
    display: block;
    border-radius: 8px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), #00c6ff);
    opacity: 0;
    transition: 0.3s opacity;
}

.blog-card:hover {
    box-shadow: 0 12px 40px rgba(4,61,93,0.08);
    transform: translateY(-4px);
    color: inherit;
}

.blog-card:hover::before { opacity: 1; }

.blog-card-date {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--blue);
    margin-bottom: 12px;
}

.blog-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--box-navy);
    margin-bottom: 10px;
    line-height: 1.3;
}

.blog-card p { font-size: 14px; color: var(--sub-text); line-height: 1.5; }


/* ── Pagination ── */

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--rule);
    color: var(--navy);
    text-decoration: none;
    transition: 0.2s all;
    border-radius: 6px;
}

.pagination a:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.pagination .current {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}


/* ══════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════ */

@media (max-width: 900px) {
    .container { padding: 0 24px; }
    .masthead { padding: 14px 24px; }
    .hero { padding: 60px 0 48px; }
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero h1 { font-size: 36px; }
    .hero-card { display: none; }
    .hero::before, .hero::after { display: none; }
    .stats-row { gap: 32px; }
    .section { padding: 56px 0; }
    .section h2 { font-size: 28px; }
    .services-grid { grid-template-columns: 1fr; }
    .pillar-grid { grid-template-columns: 1fr 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .cta-section { padding: 56px 24px; }
    .footer { padding: 24px; }
    .footer-top { flex-direction: column; gap: 16px; text-align: center; }
    .footer-links { justify-content: center; flex-wrap: wrap; }
    .footer-legal-links { justify-content: center; }
    .fears-grid { grid-template-columns: 1fr; }
    .sectors-row { gap: 32px; }

    /* Mobile nav */
    .mobile-nav-toggle { display: flex; }
    .masthead-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--rule);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
    }
    .masthead-nav.open { display: flex; }
    .nav-dropdown { width: 100%; }
    .dropdown-panel {
        position: static;
        transform: none;
        padding-top: 8px;
        display: none;
    }
    .nav-dropdown.open .dropdown-panel { display: block; }
    .dropdown-panel::before { display: none; }
    .dropdown-panel .dropdown-item { min-width: auto; }
}

@media (max-width: 700px) {
    .pillar-grid { grid-template-columns: 1fr; }
    .fears-grid { grid-template-columns: 1fr; }
    .timeline-item { flex-direction: column; gap: 8px; }
    .timeline-period { text-align: left; width: auto; }
    .timeline-marker { display: none; }
}

@media (max-width: 500px) {
    .hero h1 { font-size: 30px; }
    .hero-ctas { flex-direction: column; align-items: flex-start; }
    .stats-row { flex-direction: column; gap: 24px; }
}
