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

:root {
    --midnight: #0a1f3f;
    --midnight-light: #132d54;
    --midnight-dark: #061529;
    --mint: #5eb5a3;
    --mint-light: #7ecfb9;
    --mint-dark: #4a9e8c;
    --cream: #f8f7f4;
    --cream-dark: #efecea;
    --white: #ffffff;
    --text-dark: #1a1a2e;
    --text-muted: #5a5a72;
    --text-light: #e8e6e1;
    --gold: #c9a84c;
    --gold-light: #d4b96a;
    --shadow-sm: 0 1px 3px rgba(10, 31, 63, 0.08);
    --shadow-md: 0 4px 20px rgba(10, 31, 63, 0.1);
    --shadow-lg: 0 8px 40px rgba(10, 31, 63, 0.12);
    --shadow-xl: 0 16px 60px rgba(10, 31, 63, 0.15);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.25;
    font-weight: 600;
}

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

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

a:hover {
    color: var(--mint-dark);
}

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

/* ─── HEADER ─── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(10, 31, 63, 0.06);
    transition: box-shadow var(--transition);
}

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

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--midnight);
}

.logo-mark {
    width: 40px;
    height: 40px;
    background: var(--midnight);
    border-radius: 8px;
    position: relative;
    flex-shrink: 0;
}

.logo-mark::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    height: 2px;
    background: var(--mint);
    box-shadow: 0 6px 0 var(--mint), 0 12px 0 var(--mint);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.logo-sub {
    font-family: 'Lato', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--mint-dark);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.main-nav a {
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 400;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.main-nav a:hover {
    color: var(--midnight);
    background: rgba(10, 31, 63, 0.05);
}

.nav-cta {
    background: var(--midnight) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
    margin-left: 8px;
}

.nav-cta:hover {
    background: var(--midnight-light) !important;
    color: var(--white) !important;
}

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

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--midnight);
    border-radius: 2px;
    transition: all var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── HERO ─── */
.hero {
    padding-top: 80px;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0 120px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--mint-dark);
    margin-bottom: 20px;
}

.hero-headline {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    color: var(--midnight);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
}

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

.btn-primary:hover {
    background: var(--midnight-light);
    border-color: var(--midnight-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-full {
    width: 100%;
}

.hero-trust {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 400;
}

.trust-item svg {
    color: var(--mint);
    flex-shrink: 0;
}

/* Hero Image */
.hero-image {
    position: relative;
}

.hero-img-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-img-wrap img {
    width: 100%;
    height: 700px;
    object-fit: cover;
}

.hero-accent-card {
    position: absolute;
    bottom: -24px;
    left: -32px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
}

.accent-icon {
    width: 48px;
    height: 48px;
    background: var(--mint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.accent-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.accent-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.accent-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--midnight);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ─── SECTION COMMON ─── */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--mint-dark);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--midnight);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-title.light {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.section-subtitle.light {
    color: rgba(255, 255, 255, 0.7);
}

/* ─── SERVICES ─── */
.services {
    padding: 100px 0;
    background: var(--white);
}

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

.service-card {
    background: var(--cream);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(94, 181, 163, 0.2);
    background: var(--white);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--midnight);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--mint);
}

.service-card h3 {
    font-size: 1.2rem;
    color: var(--midnight);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ─── ABOUT ─── */
.about {
    padding: 100px 0;
    background: var(--cream);
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-col {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 640px;
    object-fit: cover;
}

.about-img-accent {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 6px solid var(--cream);
}

.about-img-accent img {
    width: 280px;
    height: 200px;
    object-fit: cover;
    display: block;
}

.about-text {
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.value-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.value-icon {
    width: 48px;
    height: 48px;
    background: var(--mint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-icon svg {
    width: 22px;
    height: 22px;
    color: var(--white);
}

.value-item h4 {
    font-size: 1.05rem;
    color: var(--midnight);
    margin-bottom: 4px;
}

.value-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ─── WHY US ─── */
.why-us {
    padding: 100px 0;
    background: var(--midnight);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(94, 181, 163, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    position: relative;
}

.why-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 44px 36px;
    transition: all var(--transition);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(94, 181, 163, 0.3);
    transform: translateY(-4px);
}

.why-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--mint);
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.6;
}

.why-card h3 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 14px;
}

.why-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
}

/* ─── PROCESS ─── */
.process {
    padding: 100px 0;
    background: var(--white);
}

.process-steps {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 32px;
    position: relative;
    padding-bottom: 48px;
}

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

.step-connector {
    position: absolute;
    top: 36px;
    left: 39px;
    width: 2px;
    height: calc(100% - 12px);
    background: linear-gradient(to bottom, var(--mint), rgba(94, 181, 163, 0.2));
}

.process-step:last-child .step-connector {
    display: none;
}

.step-circle {
    width: 80px;
    height: 80px;
    background: var(--midnight);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mint);
    position: relative;
    z-index: 1;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
}

.step-content h3 {
    font-size: 1.3rem;
    color: var(--midnight);
    margin-bottom: 10px;
}

.step-content p {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ─── CONTACT ─── */
.contact {
    padding: 100px 0;
    background: var(--midnight);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(94, 181, 163, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
}

.contact-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.85;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 36px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: rgba(94, 181, 163, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    color: var(--mint);
}

.contact-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 1rem;
    color: var(--white);
    line-height: 1.6;
}

.contact-item a {
    color: var(--mint-light);
}

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

.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-xl);
}

.contact-form h3 {
    font-size: 1.5rem;
    color: var(--midnight);
    margin-bottom: 8px;
}

.form-note {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e0ddd8;
    border-radius: var(--radius-sm);
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--cream);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--mint);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(94, 181, 163, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #b0ada8;
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 16px 20px;
    background: rgba(94, 181, 163, 0.1);
    border: 1px solid rgba(94, 181, 163, 0.3);
    border-radius: var(--radius-sm);
    color: var(--mint-dark);
    font-size: 0.95rem;
}

.form-success svg {
    width: 24px;
    height: 24px;
    color: var(--mint-dark);
    flex-shrink: 0;
}

/* ─── FOOTER ─── */
.site-footer {
    background: var(--midnight-dark);
    padding: 72px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
    margin-top: 20px;
    max-width: 320px;
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-nav h4,
.footer-contact h4 {
    font-family: 'Lato', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--mint);
    margin-bottom: 20px;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
    transition: color var(--transition);
}

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

.footer-contact p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
    margin-bottom: 4px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
    color: var(--mint-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ─── SCROLL REVEAL (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

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

/* Fallback: content always visible if JS disabled */
.no-js .reveal,
.js .reveal {
    opacity: 1;
    transform: none;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
        padding: 60px 0 100px;
    }

    .hero-img-wrap img {
        height: 560px;
    }

    .about-grid {
        gap: 60px;
    }

    .about-img-main img {
        height: 480px;
    }

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

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid rgba(10, 31, 63, 0.06);
        padding: 24px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 4px;
    }

    .main-nav a {
        display: block;
        padding: 12px 16px;
        width: 100%;
    }

    .nav-cta {
        margin-left: 0 !important;
        text-align: center;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding: 48px 0 80px;
    }

    .hero-image {
        order: -1;
    }

    .hero-img-wrap img {
        height: 400px;
    }

    .hero-accent-card {
        bottom: -16px;
        left: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-img-main img {
        height: 360px;
    }

    .about-img-accent {
        right: 0;
        bottom: -24px;
    }

    .about-img-accent img {
        width: 220px;
        height: 160px;
    }

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

    .process-step {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .step-connector {
        display: none;
    }

    .step-circle {
        width: 56px;
        height: 56px;
        font-size: 1.2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-form-wrap {
        padding: 32px 24px;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-headline {
        font-size: 1.9rem;
    }

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

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