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

:root {
    --midnight: #0A1628;
    --midnight-light: #132240;
    --midnight-mid: #1a2d4a;
    --mint: #5EEAD4;
    --mint-light: #99F6E4;
    --mint-dark: #2DD4BF;
    --white: #FFFFFF;
    --off-white: #F8FAFB;
    --gray-50: #F1F5F9;
    --gray-100: #E2E8F0;
    --gray-200: #CBD5E1;
    --gray-300: #94A3B8;
    --gray-400: #64748B;
    --gray-500: #475569;
    --gray-600: #334155;
    --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(--midnight);
    background: var(--white);
    line-height: 1.6;
    -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 {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* ── NAV ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--gray-100);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    color: var(--white);
    transition: color 0.3s;
}

.nav.scrolled .logo {
    color: var(--midnight);
}

.logo-icon {
    color: var(--mint);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
    position: relative;
}

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

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

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

.nav.scrolled .nav-link {
    color: var(--gray-400);
}

.nav.scrolled .nav-link:hover {
    color: var(--midnight);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--mint);
    transition: color 0.3s;
}

.nav-cta:hover {
    color: var(--mint-light);
}

.nav.scrolled .nav-cta {
    color: var(--mint-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.nav.scrolled .nav-toggle span {
    background: var(--midnight);
}

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

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

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

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

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(94, 234, 212, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(45, 212, 191, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 100% 80% at 50% 50%, rgba(10, 22, 40, 0.9) 0%, transparent 70%),
        linear-gradient(160deg, #0A1628 0%, #0d1f3c 30%, #0f2540 50%, #0a1e35 70%, #071020 100%);
    z-index: 1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://images.pexels.com/photos/4792495/pexels-photo-4792495.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    mix-blend-mode: luminosity;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 22, 40, 0.4) 0%, rgba(10, 22, 40, 0.7) 100%);
}

.hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-title em {
    font-style: italic;
    color: var(--mint);
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    max-width: 560px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: -0.01em;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255, 255, 255, 0.4);
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

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

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

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

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

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

.btn-full {
    width: 100%;
}

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

.btn-cta-phone:hover {
    border-color: var(--mint);
    color: var(--mint);
}

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

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--midnight);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--gray-400);
    max-width: 520px;
}

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

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

.services .section-subtitle {
    margin: 0 auto;
}

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

.service-card {
    padding: 36px;
    border: 1px solid var(--gray-100);
    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(10, 22, 40, 0.08);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(94, 234, 212, 0.1);
    color: var(--mint-dark);
    margin-bottom: 20px;
    transition: background 0.3s;
}

.service-card:hover .service-icon {
    background: rgba(94, 234, 212, 0.18);
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--midnight);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--gray-400);
}

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

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

.about-image {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

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

.about-image:hover img {
    transform: scale(1.03);
}

.about-content .section-eyebrow {
    margin-bottom: 12px;
}

.about-content .section-title {
    margin-bottom: 24px;
}

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

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

.value {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--midnight);
}

.value-line {
    flex-shrink: 0;
    width: 24px;
    height: 1px;
    background: var(--mint-dark);
}

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

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

.gallery .section-subtitle {
    margin: 0 auto;
}

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

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.gallery-item:nth-child(1) { grid-column: 1 / 6; }
.gallery-item:nth-child(2) { grid-column: 6 / 9; }
.gallery-item:nth-child(3) { grid-column: 9 / 13; }
.gallery-item:nth-child(4) { grid-column: 1 / 5; }
.gallery-item:nth-child(5) { grid-column: 5 / 13; }

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

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.2) 0%, transparent 40%);
    opacity: 0;
    transition: opacity 0.4s;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ── CTA SECTION ── */
.cta-section {
    padding: 120px 0;
    background: var(--midnight);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(94, 234, 212, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 80% 50%, rgba(45, 212, 191, 0.06) 0%, transparent 50%);
}

.cta-inner {
    position: relative;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-inner .section-eyebrow {
    color: var(--mint);
}

.cta-inner .section-title {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

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

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

.contact-text {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--gray-400);
    margin-bottom: 40px;
}

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

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

.contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(94, 234, 212, 0.1);
    color: var(--mint-dark);
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-300);
    margin-bottom: 4px;
}

.contact-item span,
.contact-item a {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--midnight);
    line-height: 1.5;
}

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

.contact-map {
    border-radius: 12px;
    overflow: hidden;
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 40px rgba(10, 22, 40, 0.06);
    border: 1px solid var(--gray-100);
}

.form-title {
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--midnight);
    margin-bottom: 28px;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--midnight);
    background: var(--off-white);
    border: 1px solid var(--gray-100);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--mint-dark);
    box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.15);
}

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

.form-note {
    font-size: 0.8rem;
    color: var(--gray-300);
    text-align: center;
    margin-top: 14px;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    gap: 16px;
}

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

.form-success svg {
    color: var(--mint-dark);
}

.form-success h3 {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--midnight);
}

.form-success p {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--gray-400);
    line-height: 1.6;
    max-width: 320px;
}

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

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

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
    max-width: 260px;
}

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

.footer-links a {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s;
}

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

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

.footer-phone {
    font-size: 1rem;
    font-weight: 500;
    color: var(--mint);
    transition: color 0.3s;
}

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

.footer-contact span {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
}

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

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

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

/* ── MOBILE ── */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item:nth-child(1) { grid-column: 1 / 7; }
    .gallery-item:nth-child(2) { grid-column: 7 / 13; }
    .gallery-item:nth-child(3) { grid-column: 1 / 5; }
    .gallery-item:nth-child(4) { grid-column: 5 / 9; }
    .gallery-item:nth-child(5) { grid-column: 9 / 13; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--midnight);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        transition: right 0.4s var(--ease-out);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-link {
        font-size: 1.2rem;
        color: rgba(255, 255, 255, 0.8) !important;
    }

    .nav-cta {
        font-size: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        padding: 100px 24px 60px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 32px;
        height: 1px;
    }

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

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

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

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

    .about-image {
        aspect-ratio: 16/10;
    }

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

    .gallery-item:nth-child(1) { grid-column: 1 / -1; }
    .gallery-item:nth-child(2) { grid-column: 1 / 2; }
    .gallery-item:nth-child(3) { grid-column: 2 / 3; }
    .gallery-item:nth-child(4) { grid-column: 1 / 2; }
    .gallery-item:nth-child(5) { grid-column: 2 / 3; }

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

    .contact-form-wrapper {
        padding: 28px;
    }

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

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

    .footer-contact {
        text-align: left;
    }

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

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

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

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) {
        grid-column: 1 / -1;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }

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