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

:root {
    --midnight: #0f1c3f;
    --midnight-light: #1a2d5a;
    --midnight-dark: #091229;
    --mint: #7ecfc0;
    --mint-light: #a8e6d9;
    --mint-pale: #e8f6f3;
    --mint-dark: #5fb8a5;
    --white: #ffffff;
    --off-white: #f8fafc;
    --cream: #f1f5f9;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--gray-700);
    background-color: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.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);
    border-bottom: 1px solid var(--gray-200);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: box-shadow 0.4s var(--ease-out);
}

.site-header.scrolled {
    box-shadow: 0 1px 20px rgba(15, 28, 63, 0.06);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--midnight);
    letter-spacing: -0.02em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.main-nav a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray-600);
    letter-spacing: 0.02em;
    transition: color 0.25s ease;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--mint-dark);
    transition: width 0.3s var(--ease-out);
}

.main-nav a:hover {
    color: var(--midnight);
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--midnight);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: background 0.25s ease, transform 0.2s ease;
}

.nav-cta::after {
    display: none;
}

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

/* ─── MOBILE MENU ─── */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--midnight);
    transition: transform 0.3s var(--ease-out), opacity 0.25s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

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

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(15, 28, 63, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

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

.mobile-nav {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: var(--white);
    padding: 100px 40px 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
}

.mobile-nav-overlay.active .mobile-nav {
    transform: translateX(0);
}

.mobile-nav a {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--gray-700);
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-nav a:hover {
    color: var(--midnight);
    padding-left: 8px;
}

.mobile-nav-cta {
    margin-top: 24px;
    background: var(--midnight);
    color: var(--white) !important;
    text-align: center;
    padding: 14px 22px;
    border-radius: 100px;
    font-weight: 500;
    border-bottom: none !important;
}

/* ─── HERO ─── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--midnight-dark);
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/6474471/pexels-photo-6474471.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
    opacity: 0.2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(9, 18, 41, 0.92) 0%, rgba(15, 28, 63, 0.85) 50%, rgba(26, 45, 90, 0.78) 100%);
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.hero-greeting {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--mint);
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    max-width: 540px;
}

.hero-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 440px;
    font-weight: 300;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

.btn-primary {
    background: var(--mint);
    color: var(--midnight-dark);
}

.btn-primary:hover {
    background: var(--mint-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(126, 207, 192, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--mint);
    color: var(--mint);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 16px;
    width: 100%;
    height: 620px;
    object-fit: cover;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--mint);
    border-radius: 16px;
    opacity: 0.3;
    z-index: -1;
}

/* ─── SECTION COMMON ─── */
.section-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--mint-dark);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 400;
    color: var(--midnight);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 560px;
    line-height: 1.8;
    font-weight: 300;
}

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

.services .container {
    text-align: center;
}

.services .section-desc {
    margin: 0 auto 64px;
}

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

.service-card {
    padding: 40px 32px;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    transition: all 0.4s var(--ease-out);
    background: var(--white);
}

.service-card:hover {
    border-color: var(--mint);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(15, 28, 63, 0.08);
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    color: var(--mint-dark);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--midnight);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 0.925rem;
    color: var(--gray-500);
    line-height: 1.75;
    font-weight: 300;
}

/* ─── ABOUT ─── */
.about {
    padding: 120px 0;
    background: var(--gray-50);
}

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

.about-image {
    border-radius: 16px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 680px;
    object-fit: cover;
    border-radius: 16px;
}

.about-content .lead {
    font-size: 1.1rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 400;
}

.about-content p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.85;
    margin-bottom: 16px;
    font-weight: 300;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--gray-200);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--midnight);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-400);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 400;
}

/* ─── TRUST BANNER ─── */
.trust-banner {
    background: var(--midnight);
    padding: 56px 0;
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

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

/* ─── GALLERY ─── */
.gallery {
    padding: 120px 0;
    background: var(--white);
}

.gallery .container {
    text-align: center;
}

.gallery .section-desc {
    margin: 0 auto 64px;
}

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

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3/2;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px 20px;
    background: linear-gradient(to top, rgba(9, 18, 41, 0.8), transparent);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.35s var(--ease-out);
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

/* ─── CONTACT ─── */
.contact {
    padding: 120px 0;
    background: var(--gray-50);
}

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

.contact-info .lead {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 48px;
    font-weight: 300;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-detail {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    color: var(--mint-dark);
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-detail span:first-child {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 4px;
}

.contact-detail a,
.contact-detail > div > span:last-child {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.7;
    font-weight: 400;
}

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

/* ─── FORM ─── */
.contact-form-wrapper {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 48px;
}

.contact-form h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--midnight);
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}

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

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 0.925rem;
    font-weight: 300;
    color: var(--gray-800);
    background: var(--gray-50);
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    outline: none;
}

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

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

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--mint-pale);
    border: 1px solid var(--mint);
    border-radius: 10px;
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--midnight);
    font-weight: 400;
}

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

.form-success.show {
    display: flex;
}

/* ─── FOOTER ─── */
.site-footer {
    background: var(--midnight-dark);
    padding: 80px 0 0;
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 20px;
    display: inline-block;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.8;
    font-weight: 300;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact a {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

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

.footer-contact span {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

/* ─── SCROLL REVEAL ─── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        max-width: 100%;
    }

    .hero-sub {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image {
        max-width: 480px;
        margin: 0 auto;
    }

    .hero-image img {
        height: 440px;
    }

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

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

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

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

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

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero-image::before {
        display: none;
    }

    .hero-image img {
        height: 360px;
        border-radius: 12px;
    }

    .services {
        padding: 80px 0;
    }

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

    .about {
        padding: 80px 0;
    }

    .about-stats {
        flex-direction: column;
        gap: 24px;
    }

    .gallery {
        padding: 80px 0;
    }

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

    .gallery-item {
        aspect-ratio: 16/9;
    }

    .contact {
        padding: 80px 0;
    }

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

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

    .trust-items {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

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

    .footer-grid > div:first-child {
        grid-column: auto;
    }
}

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

    .hero h1 {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        will-change: opacity, transform;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
