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

:root {
    --cream: #FAFAF6;
    --cream-100: #F5F5EE;
    --cream-200: #EDEDE0;
    --emerald: #059669;
    --emerald-dark: #047857;
    --emerald-light: #D1FAE5;
    --navy: #1E3A5F;
    --navy-dark: #152A45;
    --navy-deeper: #0D1B2A;
    --white: #FFFFFF;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
    margin: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--navy);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-size: 0.875rem;
}
.skip-link:focus { top: 1rem; }

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ─── NAV ─── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 250, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(30, 58, 95, 0.08);
    transition: box-shadow var(--transition);
}
.nav.scrolled {
    box-shadow: var(--shadow-md);
}
.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    color: var(--navy-dark);
}
.nav-brand-icon {
    width: 36px;
    height: 36px;
    background: var(--emerald);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}
.nav-brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-links a {
    color: var(--navy);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
}
.nav-links a:hover {
    background: var(--cream-200);
    color: var(--emerald-dark);
}
.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    background: var(--emerald) !important;
    color: var(--white) !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600 !important;
    transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover {
    background: var(--emerald-dark) !important;
    transform: translateY(-1px);
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.nav-toggle-bar {
    width: 22px;
    height: 2px;
    background: var(--navy-dark);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─── HERO ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-deeper);
    overflow: hidden;
    padding: 72px 1.5rem 4rem;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/4783330/pexels-photo-4783330.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center/cover no-repeat;
    opacity: 0.2;
}
.hero-pattern {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(13,27,42,0.97) 0%, rgba(30,58,95,0.92) 50%, rgba(13,27,42,0.95) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    text-align: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(209, 250, 229, 0.12);
    border: 1px solid rgba(209, 250, 229, 0.25);
    color: var(--emerald-light);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.75rem;
}
.hero-badge svg { opacity: 0.8; }
.hero-headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin: 0 0 1.5rem;
    letter-spacing: -0.02em;
}
.hero-accent {
    color: var(--emerald-light);
}
.hero-sub {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 2.5rem;
}
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
}
.btn-primary {
    background: var(--emerald);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.3);
}
.btn-primary:hover {
    background: var(--emerald-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(5, 150, 105, 0.4);
}
.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.08);
}
.btn-full { width: 100%; justify-content: center; }
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.hero-stat {
    text-align: center;
}
.hero-stat-num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
}
.hero-stat-label {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.5);
}
.hero-stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.15);
}

/* ─── SECTION COMMON ─── */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem;
}
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--emerald);
    margin-bottom: 0.75rem;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1.2;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}
.section-desc {
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ─── SERVICES ─── */
.services {
    padding: 6rem 0;
    background: var(--cream);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--cream-200);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all var(--transition);
}
.service-card:hover {
    border-color: var(--emerald);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.service-card-icon {
    width: 48px;
    height: 48px;
    background: var(--emerald-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-dark);
    margin-bottom: 1.25rem;
    transition: all var(--transition);
}
.service-card:hover .service-card-icon {
    background: var(--emerald);
    color: var(--white);
}
.service-card-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin: 0 0 0.625rem;
}
.service-card-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ─── TRUST BANNER ─── */
.trust-banner {
    background: var(--navy-dark);
    padding: 4rem 0;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.trust-item {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
.trust-item-icon {
    width: 44px;
    height: 44px;
    background: rgba(209, 250, 229, 0.12);
    border: 1px solid rgba(209, 250, 229, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-light);
}
.trust-item-text strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}
.trust-item-text span {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
}

/* ─── ABOUT ─── */
.about {
    padding: 6rem 0;
    background: var(--cream-50);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-image-wrap {
    position: relative;
}
.about-image {
    width: 100%;
    height: 640px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    display: block;
    box-shadow: var(--shadow-lg);
}
.about-image-accent {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 200px;
    height: 200px;
    background: var(--emerald);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.15;
}
.about-content { max-width: 480px; }
.about-text {
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0 0 1.25rem;
}
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
    margin: 2rem 0;
    list-style: none;
    padding: 0;
}
.about-feature {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--navy);
}
.about-feature svg {
    color: var(--emerald);
    flex-shrink: 0;
}

/* ─── GALLERY ─── */
.gallery {
    padding: 6rem 0;
    background: var(--cream);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.gallery-item {
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: 1;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}
.gallery-item:hover img {
    transform: scale(1.06);
}

/* ─── CTA / CONTACT ─── */
.cta-section {
    padding: 6rem 0;
    background: var(--cream-100);
}
.cta-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--cream-200);
}
.cta-left {
    padding: 3.5rem;
    background: var(--navy-deeper);
    color: var(--white);
}
.cta-left .section-tag { color: var(--emerald-light); }
.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 1rem;
    color: var(--white);
}
.cta-text {
    font-size: 1rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin: 0 0 2rem;
}
.cta-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.cta-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.cta-info-icon {
    width: 40px;
    height: 40px;
    background: rgba(209, 250, 229, 0.1);
    border: 1px solid rgba(209, 250, 229, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-light);
    flex-shrink: 0;
}
.cta-info-item strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--white);
}
.cta-info-item span,
.cta-info-item a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    line-height: 1.5;
}
.cta-info-item a:hover { color: var(--emerald-light); }
.cta-right {
    padding: 3.5rem;
}
.cta-form-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin: 0 0 1.75rem;
}
.form-group {
    margin-bottom: 1.25rem;
}
.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.375rem;
    letter-spacing: 0.02em;
}
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 0.9375rem;
    color: var(--navy-dark);
    background: var(--cream-50);
    border: 1.5px solid var(--cream-200);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-input::placeholder { color: var(--text-light); }
.form-input:focus {
    border-color: var(--emerald);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-success {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-top: 1rem;
    padding: 0.875rem 1rem;
    background: var(--emerald-light);
    border: 1px solid var(--emerald);
    border-radius: var(--radius-sm);
    color: var(--emerald-dark);
    font-size: 0.9375rem;
    font-weight: 500;
}

/* ─── FOOTER ─── */
.footer {
    background: var(--navy-deeper);
    padding: 4rem 0 0;
    color: var(--white);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { max-width: 280px; }
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.footer-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--emerald);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}
.footer-desc {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
}
.footer-col-title {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    margin: 0 0 1.25rem;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
.footer-links a,
.footer-links span {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    line-height: 1.5;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--emerald-light); }
.footer-links li { display: flex; justify-content: space-between; gap: 1rem; }
.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.35);
    margin: 0;
}

/* ─── MOBILE NAV ─── */
@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 250, 246, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.5rem;
        border-bottom: 1px solid rgba(30,58,95,0.08);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform var(--transition), opacity var(--transition);
        pointer-events: none;
    }
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav-links a { width: 100%; padding: 0.75rem 1rem; }
    .nav-cta { justify-content: center; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-image { height: 400px; }
    .about-image-accent { width: 120px; height: 120px; bottom: -1rem; right: -1rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-card { grid-template-columns: 1fr; }
    .cta-left { padding: 2.5rem; }
    .cta-right { padding: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; max-width: 100%; }
}

@media (max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .hero-stats { flex-direction: column; gap: 1rem; }
    .hero-stat-divider { width: 48px; height: 1px; }
    .about-features { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: no-preference) {
    .service-card, .gallery-item, .trust-item {
        will-change: transform;
    }
}
