/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: #0A1628;
    color: #E2E8F0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
.skip-link {
    position: absolute; top: -100%; left: 1rem;
    background: #6EE7B7; color: #0A1628; padding: .5rem 1rem;
    border-radius: 0 0 .5rem .5rem; z-index: 200; font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ===== CUSTOM PROPERTIES ===== */
:root {
    --navy: #0A1628;
    --navy-light: #111D33;
    --navy-mid: #162035;
    --mint: #6EE7B7;
    --mint-dark: #34D399;
    --mint-dim: rgba(110,231,183,0.12);
    --white: #F8FAFC;
    --slate: #94A3B8;
    --slate-light: #CBD5E1;
    --border: rgba(148,163,184,0.12);
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== UTILITY ===== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 0.75rem;
    background: var(--mint-dim);
    padding: 0.35rem 0.875rem;
    border-radius: 100px;
    border: 1px solid rgba(110,231,183,0.2);
}
.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1rem;
}
.section-header { margin-bottom: 3.5rem; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-icon { flex-shrink: 0; }
.btn-mint {
    background: var(--mint);
    color: var(--navy);
}
.btn-mint:hover { background: var(--mint-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(110,231,183,0.25); }
.btn-outline {
    border: 1.5px solid var(--border);
    color: var(--slate-light);
    background: transparent;
}
.btn-outline:hover { border-color: var(--mint); color: var(--mint); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10,22,40,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.header.scrolled { background: rgba(10,22,40,0.96); box-shadow: 0 4px 32px rgba(0,0,0,0.4); }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}
.logo-mark {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--mint);
    line-height: 1;
}
.logo-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.02em;
}
.nav ul { display: flex; align-items: center; gap: 0.25rem; }
.nav a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--slate);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.nav a:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.nav-toggle:hover { background: rgba(255,255,255,0.05); }
.hamburger {
    position: relative;
    display: block;
    width: 22px; height: 16px;
}
.hamburger::before, .hamburger::after, .hamburger span {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--slate-light);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger::before { top: 0; }
.hamburger span { top: 7px; }
.hamburger::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .hamburger::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .hamburger::after { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(110,231,183,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 50% 80% at 10% 90%, rgba(110,231,183,0.04) 0%, transparent 50%),
        var(--navy);
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}
.hero-tag {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 1.25rem;
}
.hero-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.25rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.5rem;
}
.hero-heading-accent {
    display: block;
    font-size: 0.65em;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 400;
    color: var(--slate);
    margin-top: 0.5rem;
    line-height: 1.4;
}
.hero-desc {
    font-size: 1.125rem;
    color: var(--slate);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.stat { flex: 1; text-align: left; }
.stat-number {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}
.stat-label { font-size: 0.8125rem; color: var(--slate); margin-top: 0.125rem; }
.stat-divider { width: 1px; height: 40px; background: var(--border); flex-shrink: 0; }

/* Hero Visual */
.hero-visual { position: relative; }
.hero-image-stack { position: relative; padding-right: 2rem; }
.hero-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.hero-img-primary {
    width: 100%;
    aspect-ratio: 600/750;
}
.hero-img-secondary {
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    width: 53%;
    aspect-ratio: 320/400;
    border: 4px solid var(--navy);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
    position: absolute;
    bottom: 3.5rem;
    right: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--navy-light);
    border: 1px solid var(--border);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    box-shadow: var(--shadow);
}
.hero-badge svg { color: var(--mint); flex-shrink: 0; }

/* ===== SERVICES ===== */
.services {
    padding: 7rem 0;
    background: var(--navy-light);
    border-top: 1px solid var(--border);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.service-card {
    background: var(--navy);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--mint);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover { border-color: rgba(110,231,183,0.25); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: var(--mint-dim);
    border: 1px solid rgba(110,231,183,0.15);
    border-radius: var(--radius-sm);
    color: var(--mint);
    margin-bottom: 1.25rem;
    transition: var(--transition);
}
.service-card:hover .service-icon { background: rgba(110,231,183,0.18); }
.service-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.625rem;
}
.service-desc { font-size: 0.9375rem; color: var(--slate); line-height: 1.65; }

/* ===== ABOUT ===== */
.about {
    padding: 7rem 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}
.about::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(110,231,183,0.04) 0%, transparent 70%);
    pointer-events: none;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-visual { position: relative; }
.about-img-main {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 560/640;
}
.about-img-accent {
    position: absolute;
    bottom: -2rem;
    right: -1rem;
    width: 53%;
    border-radius: var(--radius);
    overflow: hidden;
    border: 4px solid var(--navy);
    box-shadow: var(--shadow);
    aspect-ratio: 300/220;
}
.about-img-accent img, .about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-content .section-tag { margin-bottom: 0.75rem; }
.about-content .section-title { margin-bottom: 1.5rem; }
.about-body {
    font-size: 1.0625rem;
    color: var(--slate);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}
.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.value-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--slate-light);
}
.value-icon {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    background: var(--mint-dim);
    border-radius: 50%;
    color: var(--mint);
    flex-shrink: 0;
}

/* ===== GALLERY ===== */
.gallery {
    padding: 7rem 0;
    background: var(--navy-light);
    border-top: 1px solid var(--border);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
}
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,22,40,0.3) 0%, transparent 40%);
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item--large { grid-column: span 7; grid-row: span 2; }
.gallery-item--large img { aspect-ratio: 800/600; }
.gallery-item:nth-child(2) { grid-column: span 5; }
.gallery-item:nth-child(2) img { aspect-ratio: 400/500; }
.gallery-item:nth-child(3) { grid-column: span 5; }
.gallery-item:nth-child(3) img { aspect-ratio: 400/500; }
.gallery-item:nth-child(4) { grid-column: span 6; }
.gallery-item:nth-child(4) img { aspect-ratio: 400/300; }
.gallery-item:nth-child(5) { grid-column: span 6; }
.gallery-item:nth-child(5) img { aspect-ratio: 400/300; }

/* ===== CONTACT ===== */
.contact {
    padding: 7rem 0;
    background: var(--navy);
    position: relative;
}
.contact::before {
    content: '';
    position: absolute;
    bottom: -150px; left: -150px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(110,231,183,0.04) 0%, transparent 70%);
    pointer-events: none;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
.contact-desc {
    font-size: 1.0625rem;
    color: var(--slate);
    line-height: 1.7;
    margin-bottom: 2rem;
}
.contact-details { margin-bottom: 2rem; }
.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
}
.contact-detail:first-child { padding-top: 0; }
.contact-detail:last-child { border-bottom: none; }
.contact-detail-label {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 0.375rem;
}
.contact-detail-icon { flex-shrink: 0; }
.contact-detail dd {
    font-size: 1rem;
    color: var(--slate-light);
    line-height: 1.6;
}
.contact-detail a {
    color: var(--slate-light);
    transition: color var(--transition);
}
.contact-detail a:hover { color: var(--mint); }
.map-link { margin-top: 0.5rem; }

/* Contact Form */
.contact-form-wrap {
    background: var(--navy-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
}
.form-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.75rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--slate);
    margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--navy);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    color: var(--white);
    font-family: inherit;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--slate); }
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--mint);
    box-shadow: 0 0 0 3px rgba(110,231,183,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note {
    font-size: 0.8125rem;
    color: var(--slate);
    margin-top: 1rem;
    text-align: center;
}
.form-success {
    text-align: center;
    padding: 2rem;
}
.success-icon { color: var(--mint); margin-bottom: 1rem; }
.success-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}
.form-success p { color: var(--slate); }

/* ===== FOOTER ===== */
.footer {
    padding: 4rem 0 0;
    background: var(--navy-light);
    border-top: 1px solid var(--border);
}
.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    align-items: start;
    padding-bottom: 3rem;
}
.footer-tagline {
    font-size: 0.9375rem;
    color: var(--slate);
    margin-top: 0.75rem;
}
.footer-links nav ul { display: flex; flex-direction: column; gap: 0.5rem; align-items: center; }
.footer-links a {
    font-size: 0.9375rem;
    color: var(--slate);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.footer-links a:hover { color: var(--mint); background: var(--mint-dim); }
.footer-contact { text-align: right; }
.footer-contact p { font-size: 0.9375rem; color: var(--slate); margin-bottom: 0.25rem; }
.footer-contact a:hover { color: var(--mint); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 1.5rem 0;
    text-align: center;
}
.footer-bottom p { font-size: 0.8125rem; color: var(--slate); }

/* ===== ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== MOBILE NAV OVERLAY ===== */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    top: 72px;
    background: rgba(10,22,40,0.97);
    backdrop-filter: blur(16px);
    z-index: 99;
    padding: 2rem 1.5rem;
}
.nav-overlay.open { display: block; }
.nav-overlay ul { display: flex; flex-direction: column; gap: 0.5rem; }
.nav-overlay a {
    display: block;
    padding: 1rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--slate);
    border-radius: var(--radius-sm);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.nav-overlay a:hover { color: var(--mint); background: rgba(255,255,255,0.03); }
.nav-overlay .btn-mint { text-align: center; margin-top: 1rem; border-radius: var(--radius-sm); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-grid { gap: 2.5rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item--large { grid-column: span 8; }
    .gallery-item:nth-child(2) { grid-column: span 4; }
    .gallery-item:nth-child(3) { grid-column: span 4; }
    .gallery-item:nth-child(4) { grid-column: span 6; }
    .gallery-item:nth-child(5) { grid-column: span 6; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav { display: none; }
    .hero-grid {
        grid-template-columns: 1fr;
        padding: 3rem 0;
    }
    .hero-visual { order: -1; }
    .hero-image-stack { padding-right: 0; }
    .hero-img-secondary { left: 0; bottom: -1.5rem; width: 55%; }
    .hero-badge { display: none; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-stats { flex-wrap: wrap; gap: 1rem; }
    .stat-divider { display: none; }
    .stat { flex: none; }
    .services-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-visual { order: -1; }
    .about-img-accent { right: 0; }
    .about-values { grid-template-columns: 1fr; }
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .gallery-item--large { grid-column: span 2; grid-row: span 1; }
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) { grid-column: span 1; }
    .gallery-item img { aspect-ratio: 400/300 !important; }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .footer-contact { text-align: center; }
    .footer-links nav ul { flex-direction: column; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.25rem; }
    .hero-heading { font-size: 2rem; }
    .hero-img-secondary { width: 60%; bottom: -1rem; }
    .contact-form-wrap { padding: 1.5rem; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item--large { grid-column: span 1; }
}
