/* ===== CSS VARIABLES ===== */
:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #e0f2fe;
    --navy: #0f172a;
    --navy-light: #1e293b;
    --text: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: 0.3s ease;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn--primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.35);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

.btn--lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn--full {
    width: 100%;
}

/* ===== SECTION COMMON ===== */
.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

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

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--navy);
    color: var(--gray-300);
    font-size: 0.85rem;
    padding: 10px 0;
}

.top-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar__left {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.top-bar__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-300);
}

.top-bar__item:hover {
    color: var(--primary);
}

.top-bar__item svg {
    flex-shrink: 0;
}

.top-bar__right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar__social {
    color: var(--gray-300);
    transition: color var(--transition);
}

.top-bar__social:hover {
    color: var(--primary);
}

/* ===== HEADER / NAV ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    transition: box-shadow var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    gap: 32px;
}

.header__logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.header__logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--navy);
}

.header__logo-sub {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary);
    letter-spacing: 1px;
}

.nav__list {
    display: flex;
    gap: 8px;
}

.nav__link {
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav__link:hover,
.nav__link.active {
    color: var(--primary);
    background: var(--primary-light);
}

.header__cta {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger__line {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--navy);
    border-radius: 3px;
    transition: all var(--transition);
}

.hamburger.active .hamburger__line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

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

/* ===== HERO SLIDER ===== */
.hero {
    position: relative;
    min-height: 92vh;
    overflow: hidden;
    background: var(--navy);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 92vh;
}

/* Individual Slide */
.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

/* Slide Backgrounds */
.hero-slide__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-slide__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.6) 100%);
}

/* Drone Survey Slide */
.hero-slide__bg--drone {
    background:
        radial-gradient(ellipse at 30% 40%, rgba(14, 165, 233, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(56, 189, 248, 0.1) 0%, transparent 50%),
        linear-gradient(160deg, #0c1222 0%, #162032 40%, #0f172a 100%);
}

.hero-slide__bg--drone::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(14, 165, 233, 0.08) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(14, 165, 233, 0.05) 2px, transparent 2px);
    background-size: 80px 80px;
}

.hero-slide__bg--drone::after {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(8, 47, 73, 0.65) 100%);
}

/* Geotech Investigation Slide */
.hero-slide__bg--geotech {
    background:
        radial-gradient(ellipse at 60% 30%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 70%, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
        linear-gradient(145deg, #1a1207 0%, #1e293b 50%, #0f172a 100%);
}

.hero-slide__bg--geotech::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(245, 158, 11, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 158, 11, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
}

.hero-slide__bg--geotech::after {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.65) 100%);
}

/* Consultancy Slide */
.hero-slide__bg--consult {
    background:
        radial-gradient(ellipse at 50% 50%, rgba(16, 185, 129, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.hero-slide__bg--consult::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(14, 165, 233, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-slide__bg--consult::after {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.6) 100%);
}

/* Slide Content */
.hero-slide__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* Slide text animations */
.hero-slide .hero__badge,
.hero-slide .hero__title,
.hero-slide .hero__subtitle,
.hero-slide .hero__actions {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-slide.active .hero__badge {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.hero-slide.active .hero__title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.hero-slide.active .hero__subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.hero-slide.active .hero__actions {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

.hero__badge {
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 50px;
    margin-bottom: 28px;
    background: rgba(14, 165, 233, 0.08);
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero__subtitle {
    font-size: 1.15rem;
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Slider Arrows */
.hero-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: all var(--transition);
}

.hero-slider__arrow:hover {
    background: rgba(14, 165, 233, 0.6);
    border-color: var(--primary);
}

.hero-slider__arrow--prev {
    left: 24px;
}

.hero-slider__arrow--next {
    right: 24px;
}

/* Slider Dots */
.hero-slider__dots {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.hero-slider__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
}

.hero-slider__dot.active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.2);
}

.hero-slider__dot:hover {
    border-color: var(--white);
}

/* Progress bar for auto-slide */
.hero-slider__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--primary);
    z-index: 10;
    transition: width linear;
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray-300);
    font-size: 0.8rem;
    letter-spacing: 1px;
    opacity: 0.6;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

/* ===== ABOUT ===== */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 80px;
}

.about__content .section-title {
    font-size: 2rem;
}

.about__text {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about__highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.about__highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--navy);
}

.about__highlight svg {
    color: var(--primary);
    flex-shrink: 0;
}

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

.stat-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.stat-card__number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-card__suffix {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-card__label {
    display: block;
    margin-top: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
}

/* Markets */
.markets {
    text-align: center;
}

.markets__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 32px;
}

.markets__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.market-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 28px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    transition: all var(--transition);
    min-width: 140px;
}

.market-badge svg {
    color: var(--primary);
}

.market-badge:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* ===== SERVICES ===== */
.services {
    padding: 100px 0;
    background: var(--gray-50);
}

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

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card__icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    color: var(--primary);
    transition: all var(--transition);
}

.service-card:hover .service-card__icon {
    background: var(--primary);
    color: var(--white);
}

.service-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.service-card__desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-card__link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    transition: gap var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.service-card__link:hover {
    gap: 8px;
}

/* ===== CONTACT ===== */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact__detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact__detail-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    color: var(--primary);
    flex-shrink: 0;
}

.contact__detail h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.contact__detail p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.contact__detail a {
    color: var(--primary);
}

.contact__detail a:hover {
    color: var(--primary-dark);
}

.contact__map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.contact__form-wrapper {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-300);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form success message */
.form-success {
    text-align: center;
    padding: 40px;
}

.form-success svg {
    color: #22c55e;
    margin-bottom: 16px;
}

.form-success h3 {
    color: var(--navy);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-light);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--navy);
    color: var(--gray-300);
    padding: 80px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.footer__about p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
    color: var(--gray-300);
    transition: all var(--transition);
}

.footer__social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer__links h4,
.footer__services h4,
.footer__contact h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer__links ul,
.footer__services ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__links a,
.footer__services a {
    font-size: 0.9rem;
    color: var(--gray-300);
    transition: all var(--transition);
}

.footer__links a:hover,
.footer__services a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer__contact p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 10px;
}

.footer__contact a {
    color: var(--primary);
}

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

.footer__bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
    .hero__title {
        font-size: 2.8rem;
    }

    .about__grid {
        gap: 40px;
    }

    .about__stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .top-bar__address {
        display: none;
    }

    .top-bar__left {
        gap: 16px;
    }

    .header__inner {
        padding: 12px 20px;
    }

    .header__cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        box-shadow: var(--shadow-xl);
        padding: 80px 32px 32px;
        transition: right 0.4s ease;
        z-index: 999;
    }

    .nav.open {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 4px;
    }

    .nav__link {
        display: block;
        padding: 14px 16px;
        font-size: 1.05rem;
    }

    .hero,
    .hero-slider {
        min-height: 80vh;
        height: 80vh;
    }

    .hero__title {
        font-size: 2.2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .hero__scroll {
        display: none;
    }

    .hero-slider__arrow {
        width: 36px;
        height: 36px;
    }

    .hero-slider__arrow--prev {
        left: 12px;
    }

    .hero-slider__arrow--next {
        right: 12px;
    }

    .hero-slider__dots {
        bottom: 40px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .contact__grid {
        grid-template-columns: 1fr;
    }

    .contact__form-wrapper {
        padding: 28px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .about {
        padding: 60px 0;
    }

    .services {
        padding: 60px 0;
    }

    .contact {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .markets__grid {
        gap: 12px;
    }

    .market-badge {
        min-width: 100px;
        padding: 16px 20px;
        font-size: 0.8rem;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero__title {
        font-size: 1.8rem;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .about__stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-card {
        padding: 24px 16px;
    }

    .stat-card__number {
        font-size: 2.2rem;
    }

    .service-card {
        padding: 28px 24px;
    }

    .top-bar {
        font-size: 0.75rem;
    }

    .top-bar__left {
        gap: 10px;
    }
}

/* ===== LEGAL / POLICY PAGES ===== */
.legal-hero {
    background: var(--navy);
    color: var(--white);
    padding: 72px 0 56px;
    text-align: center;
}

.legal-hero .section-label {
    color: var(--primary);
}

.legal-hero h1 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 10px;
}

.legal-hero p {
    color: var(--gray-300);
    font-size: 0.95rem;
    max-width: 560px;
    margin: 0 auto;
}

.legal {
    padding: 70px 0 90px;
    background: var(--white);
}

.legal__inner {
    max-width: 860px;
    margin: 0 auto;
}

.legal__updated {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.legal h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy);
    margin: 36px 0 12px;
}

.legal h2:first-of-type {
    margin-top: 0;
}

.legal p {
    color: var(--text);
    margin-bottom: 14px;
    line-height: 1.8;
}

.legal ul {
    list-style: disc;
    padding-left: 22px;
    margin-bottom: 16px;
}

.legal li {
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.75;
}

.legal a {
    color: var(--primary);
}

.legal a:hover {
    color: var(--primary-dark);
}

.legal__note {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-left: 3px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 18px 22px;
    margin-top: 28px;
    font-size: 0.95rem;
    color: var(--text);
}

/* Footer legal links */
.footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    padding: 22px 0 4px;
}

.footer__legal a {
    font-size: 0.85rem;
    color: var(--gray-300);
    transition: color var(--transition);
}

.footer__legal a:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .legal-hero h1 {
        font-size: 1.8rem;
    }

    .legal {
        padding: 48px 0 64px;
    }
}

/* ===== OVERLAY for mobile nav ===== */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.nav-overlay.visible {
    opacity: 1;
    visibility: visible;
}
