/* ═══════════════════════════════════════════════════════════
   GALEOS CONSEIL — Design System & Styles
   Mobile-First | CSS Variables | Flexbox & Grid
   ═══════════════════════════════════════════════════════════ */

/* ─── Design Tokens ─── */
:root {
    /* Colors */
    --navy: #0A192F;
    --navy-light: #112240;
    --navy-surface: #1A2D47;
    --beige: #DDCBB6;
    --gold: #CCA35F;
    --gold-hover: #D4AF6A;
    --off-white: #F8F6F2;
    --white: #FFFFFF;
    --text-dark: #1A1A2E;
    --text-muted: #5A6378;
    --text-light: rgba(255, 255, 255, 0.70);
    --text-lighter: rgba(255, 255, 255, 0.45);
    --border-light: rgba(10, 25, 47, 0.08);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* Spacing */
    --section-py: 3.5rem;
    --container-px: 1.25rem;
    --max-width: 1140px;

    /* Effects */
    --radius: 12px;
    --radius-sm: 8px;
    --shadow-card: 0 2px 16px rgba(10, 25, 47, 0.06);
    --shadow-hover: 0 12px 32px rgba(10, 25, 47, 0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset & Base ─── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--off-white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION — Sticky + Backdrop Blur
   ═══════════════════════════════════════════════════════════ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.75rem 0;
    transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

/* Scrolled state — applied via JS */
#navbar.scrolled {
    background: rgba(10, 25, 47, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.6rem 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    z-index: 1001;
    /* stays above overlay */
}

.logo-icon {
    width: 28px;
    height: 28px;
    color: var(--gold);
}

.logo-text {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.08em;
    color: var(--white);
}

/* Nav Links — hidden on mobile by default */
.nav-links {
    display: none;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.92rem;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 0.02em;
    position: relative;
    padding-bottom: 4px;
    min-height: 44px;
    /* Touch target */
    display: inline-flex;
    align-items: center;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1.5px;
    background: var(--gold);
    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 100%;
}
/* Dropdown Container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--primary-navy); /* Matches your Navbar */
  min-width: 220px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-top: 2px solid var(--accent-gold); /* A touch of luxury */
}

/* Links inside the dropdown */
.dropdown-content a {
  color: var(--text-light);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Hover Effects */
.dropdown-content a:hover {
  background-color: rgba(255,255,255,0.1);
  color: var(--accent-gold);
}

/* Show the dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* Optional: Highlight the "New" badge */
.badge {
  background-color: var(--accent-gold);
  color: var(--primary-navy);
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: bold;
}

/* Simple Fade In Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile-only CTA in overlay — hidden on desktop */
.mobile-cta-item {
    display: list-item;
    /* visible in overlay */
    margin-top: 1rem;
}

.mobile-overlay-cta {
    min-height: 48px;
    padding: 0.9rem 2.5rem !important;
    font-size: 1rem !important;
    border-radius: 50px;
}

/* Desktop CTA Button (in navbar bar) */
.nav-cta {
    display: none;
    padding: 0.55rem 1.5rem;
    border: 1.5px solid var(--text-light);
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.02em;
    transition: all var(--transition);
    min-height: 44px;
    display: none;
    align-items: center;
}

.nav-cta:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

/* Hamburger — visible on mobile */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    /* Touch-target */
    height: 44px;
    /* Touch-target */
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
    transform-origin: center;
}

/* Hamburger → X animation */
.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─── Mobile Menu Overlay (Full Screen) ─── */
.nav-links.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: var(--navy);
    gap: 0;
    z-index: 999;
    padding: 5rem 2rem 3rem;
}

.nav-links.active li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-links.active li:last-child {
    border-bottom: none;
}

.nav-links.active a {
    font-size: 1.5rem;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 400;
    padding: 1.25rem 0;
    min-height: 56px;
    display: flex;
    justify-content: center;
}

.nav-links.active a::after {
    display: none;
    /* remove underline in overlay */
}

/* Mobile overlay CTA special styling */
.nav-links.active .mobile-cta-item {
    border-bottom: none;
    margin-top: 1.5rem;
    padding-top: 0.5rem;
}

.nav-links.active .mobile-overlay-cta {
    font-family: var(--font-body);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════ */
#hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1.5rem 3rem;
    background: linear-gradient(170deg,
            #0D1F38 0%,
            var(--navy) 40%,
            #081426 100%);
    overflow: hidden;
}

/* Subtle Dot Pattern Overlay */
.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: radial-gradient(circle, var(--beige) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

/* Decorative accent bar above heading */
.hero-accent-bar {
    display: block;
    width: 40px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto 2rem;
    border-radius: 2px;
}

#hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 6vw, 3.6rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    color: var(--text-light);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

/* Gold CTA */
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    background: var(--gold);
    color: var(--navy);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(204, 163, 95, 0.25);
    min-height: 48px;
    /* Touch target */
}

.btn-gold:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(204, 163, 95, 0.35);
}

.btn-arrow {
    font-size: 1.15rem;
    transition: transform var(--transition);
}

.btn-gold:hover .btn-arrow {
    transform: translateX(4px);
}

/* Scroll Prompt */
.scroll-prompt {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-lighter);
    animation: floatPrompt 2.5s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    font-weight: 500;
}

.scroll-chevron svg {
    display: block;
}

@keyframes floatPrompt {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* ═══════════════════════════════════════════════════════════
   SERVICES SECTION — 2×2 Bento Grid
   ═══════════════════════════════════════════════════════════ */
#services {
    padding: var(--section-py) 0;
    background: var(--off-white);
}

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 5vw, 2.8rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.8rem;
}

.section-desc {
    max-width: 560px;
    margin: 0 auto;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Grid — 1 column by default (mobile) */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

/* Service Card */
.service-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem 1.5rem;
    cursor: default;
    position: relative;
    /* Permanent shadow on mobile so cards feel tappable */
    box-shadow: var(--shadow-card);
}

.card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
    color: var(--gold);
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 3vw, 1.35rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.6rem;
}

.service-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

/* Bottom accent bar inside card */
.card-accent {
    display: block;
    width: 36px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    transition: width var(--transition);
}

/* Section link */
.section-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--navy);
    border-bottom: 1.5px solid var(--navy);
    padding-bottom: 4px;
    width: fit-content;
    margin: 0 auto;
    transition: all var(--transition);
    min-height: 44px;
}

.section-link:hover {
    color: var(--gold);
    border-color: var(--gold);
}

.link-arrow {
    transition: transform var(--transition);
}

.section-link:hover .link-arrow {
    transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════
   METHODOLOGY — 3-Step Timeline
   ═══════════════════════════════════════════════════════════ */
#methodology {
    padding: var(--section-py) 0;
    background: var(--white);
}

.header-accent-bar {
    display: block;
    width: 48px;
    height: 3px;
    background: var(--gold);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Timeline Grid — vertical on mobile */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-top: 1rem;
    padding-left: 2.5rem;
    /* room for vertical line */
}

/* Mobile vertical dotted connector */
.timeline::before {
    content: '';
    position: absolute;
    top: 3rem;
    bottom: 2rem;
    left: 30px;
    /* center of 64px/2 margin adjustment */
    width: 2px;
    background: repeating-linear-gradient(to bottom,
            var(--beige) 0px,
            var(--beige) 6px,
            transparent 6px,
            transparent 12px);
    z-index: 1;
}

.timeline-step {
    text-align: left;
    position: relative;
    padding-left: 2rem;
    padding-bottom: 2.5rem;
}

.timeline-step:last-child {
    padding-bottom: 0;
}

.step-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--beige);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    background: var(--white);
    position: absolute;
    left: -28px;
    /* pull left to sit on the dotted line */
    top: 0;
    z-index: 2;
}

.step-icon svg {
    width: 24px;
    height: 24px;
}

.timeline-step h3 {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 0.5rem;
    padding-top: 0.25rem;
}

.timeline-step p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 400px;
}

/* ═══════════════════════════════════════════════════════════
   TEAM / MANIFESTO — Split Screen
   ═══════════════════════════════════════════════════════════ */
#team {
    overflow: hidden;
}

.team-split {
    display: grid;
    grid-template-columns: 1fr;
}

/* Mobile: photo stacked on top */
.team-photo {
    height: 45vh;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
}

.team-text {
    background: var(--off-white);
    padding: 2rem var(--container-px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Quote */
blockquote {
    position: relative;
    margin-bottom: 1.5rem;
}

.quote-mark {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 4.5vw, 2.4rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--navy);
}

.quote-icon {
    position: absolute;
    top: -0.3rem;
    right: 0;
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--gold);
    opacity: 0.25;
    line-height: 1;
    pointer-events: none;
}

/* Manifesto body */
.manifesto-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 0.85rem;
}

/* Signature */
.manifesto-signature {
    margin-top: 1.25rem;
}

.sig-line {
    display: block;
    width: 48px;
    height: 2px;
    background: var(--beige);
    margin-bottom: 0.75rem;
}

.sig-title {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.sig-names {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--gold);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER — Contact + Form
   ═══════════════════════════════════════════════════════════ */
#contact {
    background: var(--navy);
    color: var(--white);
}

.footer-main {
    padding: var(--section-py) 0;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

/* Footer Brand */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.footer-logo-icon {
    width: 28px;
    height: 28px;
    color: var(--gold);
}

.footer-brand-text {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 6vw, 3rem);
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

/* Contact Details */
.contact-details {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-height: 44px;
    /* Touch target */
}

.contact-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--gold);
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Map link */
.map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--white);
    transition: color var(--transition);
    min-height: 44px;
}

.map-link:hover {
    color: var(--gold);
}

.map-link:hover .link-arrow {
    transform: translateX(4px);
}

/* Contact Form */
.footer-form-wrapper {
    background: var(--navy-light);
    border-radius: var(--radius);
    padding: 1.75rem 1.25rem;
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.4rem;
}

.form-subtitle {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 1.1rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.35rem;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-lighter);
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.75rem;
    background: var(--navy-surface);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    /* 16px — prevents iOS zoom */
    min-height: 48px;
    /* Touch target */
    transition: border-color var(--transition), box-shadow var(--transition);
}

.input-wrapper input::placeholder {
    color: var(--text-lighter);
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(204, 163, 95, 0.15);
}

/* Submit Button */
.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem;
    margin-top: 0.5rem;
    background: var(--gold);
    color: var(--navy);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.12em;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    min-height: 48px;
    /* Touch target */
}

.btn-submit:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 163, 95, 0.3);
}

.submit-arrow {
    width: 18px;
    height: 18px;
    transition: transform var(--transition);
}

.btn-submit:hover .submit-arrow {
    transform: translateX(4px);
}

/* Footer Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem var(--container-px);
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-lighter);
}

.footer-legal {
    display: flex;
    gap: 1.25rem;
}

.footer-legal a {
    font-size: 0.75rem;
    color: var(--text-lighter);
    transition: color var(--transition);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.footer-legal a:hover {
    color: var(--white);
}

/* ═══════════════════════════════════════════════════════════
   TABLET BREAKPOINT (≥768px)
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
    :root {
        --section-py: 5rem;
    }

    /* ── Nav ── */
    #navbar {
        padding: 1rem 0;
    }

    .nav-links {
        display: flex;
    }

    .nav-cta {
        display: inline-flex;
    }

    .hamburger {
        display: none;
    }

    /* Hide the mobile-only CTA inside nav-links on desktop */
    .mobile-cta-item {
        display: none !important;
    }

    .logo-icon {
        width: 34px;
        height: 34px;
    }

    .logo-text {
        font-size: 1.15rem;
    }

    /* ── Hero ── */
    #hero {
        padding: 6rem var(--container-px) 3rem;
    }

    .hero-accent-bar {
        width: 48px;
        margin-bottom: 2.5rem;
    }

    /* ── Services Grid → 2 columns ── */
    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem;
    }

    .section-header {
        margin-bottom: 3.5rem;
    }

    .service-card {
        padding: 2rem 1.75rem 1.75rem;
        box-shadow: none;
        /* remove permanent shadow */
        transition: all var(--transition);
    }

    /* Re-enable hover effects for pointer devices */
    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-hover);
        border-color: transparent;
    }

    .service-card:hover .card-accent {
        width: 56px;
    }

    .card-icon {
        width: 48px;
        height: 48px;
    }

    .card-icon svg {
        width: 26px;
        height: 26px;
    }

    /* ── Timeline → horizontal 3 columns ── */
    .timeline {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        flex-direction: unset;
        padding-left: 0;
    }

    /* Switch from vertical dotted to horizontal solid connector */
    .timeline::before {
        top: 42px;
        bottom: auto;
        left: 16.66%;
        right: 16.66%;
        width: auto;
        height: 2px;
        background: var(--beige);
        /* solid horizontal */
    }

    .timeline-step {
        text-align: center;
        padding-left: 0;
        padding-bottom: 0;
    }

    .step-icon {
        position: relative;
        left: auto;
        top: auto;
        width: 64px;
        height: 64px;
        margin: 0 auto 1.25rem;
    }

    .step-icon svg {
        width: 28px;
        height: 28px;
    }

    .timeline-step p {
        max-width: 320px;
        margin: 0 auto;
    }

    /* ── Team Split → side by side ── */
    .team-split {
        grid-template-columns: 1fr 1fr;
    }

    .team-photo {
        height: auto;
        min-height: 600px;
    }

    .team-text {
        padding: 3.5rem 3rem;
    }

    .quote-icon {
        font-size: 5rem;
    }

    /* ── Footer → 2 columns ── */
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: start;
    }

    .footer-form-wrapper {
        padding: 2.5rem;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .footer-bottom p,
    .footer-legal a {
        font-size: 0.8rem;
    }
}

/* ═══════════════════════════════════════════════════════════
   LARGE DESKTOP (≥1024px)
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
    :root {
        --section-py: 6.5rem;
        --container-px: 2rem;
    }

    .nav-links {
        gap: 3rem;
    }

    .service-card {
        padding: 2.5rem 2rem 2rem;
    }

    .team-text {
        padding: 5rem 4.5rem;
    }

    .footer-container {
        gap: 5rem;
    }
}

/* ═══════════════════════════════════════════════════════════
   TOUCH DEVICE OVERRIDES
   Disables hover transforms on primary touch (phones/tablets)
   ═══════════════════════════════════════════════════════════ */
@media (hover: none) {
    .service-card {
        box-shadow: var(--shadow-card);
        /* Always show subtle shadow */
    }

    .service-card:hover {
        transform: none;
        box-shadow: var(--shadow-card);
    }

    .btn-gold:hover {
        transform: none;
    }

    .btn-submit:hover {
        transform: none;
    }
}
