:root {
    --midnight-950: #071525;
    --midnight-900: #102a48;
    --midnight-800: #1c3f65;
    --midnight-700: #2d5480;
    --midnight-600: #456a9e;
    --mint-500: #3abf7f;
    --mint-400: #65d19d;
    --mint-100: #e4f7ee;
    --mint-50: #f6fbf8;
    --cream: #fafbfc;
    --warm-gray: #f4f5f7;
    --text-dark: #0f1c2e;
    --text-mid: #3a4f66;
    --text-light: #6b8299;
    --line: rgba(16, 42, 72, 0.08);
    --line-strong: rgba(16, 42, 72, 0.15);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 300;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

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

/* ─── NAV ─── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 251, 252, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 1px 20px rgba(7, 21, 37, 0.06);
}

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

.nav-brand {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 500;
    font-style: italic;
    color: var(--midnight-900);
    text-decoration: none;
    letter-spacing: -0.01em;
}

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

.nav-menu a {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--text-mid);
    text-decoration: none;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.2s ease;
    position: relative;
}

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

.nav-menu a:hover { color: var(--midnight-900); }
.nav-menu a:hover::after { width: 100%; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--midnight-900);
    color: #fff;
    padding: 14px 32px;
    border-radius: 100px;
}

.btn-primary:hover {
    background: var(--midnight-800);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(7, 21, 37, 0.2);
}

.btn-ghost {
    background: transparent;
    color: var(--midnight-900);
    padding: 14px 32px;
    border-radius: 100px;
    border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
    border-color: var(--midnight-700);
    background: rgba(16, 42, 72, 0.03);
}

.btn-ghost-light {
    background: transparent;
    color: var(--midnight-900);
    padding: 14px 32px;
    border-radius: 100px;
    border: 1px solid var(--line-strong);
}

.btn-ghost-light:hover {
    border-color: var(--midnight-700);
    background: rgba(16, 42, 72, 0.03);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
}

.btn-nav {
    padding: 10px 24px;
    background: var(--midnight-900);
    color: #fff;
    border-radius: 100px;
    font-size: 0.75rem;
}

.btn-nav:hover {
    background: var(--midnight-800);
}

/* ─── NAV MOBILE ─── */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--midnight-900);
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle.active .nav-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}
.nav-toggle.active .nav-line:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active .nav-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 251, 252, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        border-bottom: 1px solid var(--line);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.4s ease, opacity 0.3s ease;
        pointer-events: none;
    }
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
}

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

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(58, 191, 127, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(69, 106, 158, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 56px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mint-400);
    margin-bottom: 28px;
    padding: 8px 16px;
    border: 1px solid rgba(101, 209, 157, 0.25);
    border-radius: 100px;
    background: rgba(101, 209, 157, 0.06);
}

.hero-headline {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 300;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-sub {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    max-width: 480px;
}

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

.hero-actions .btn-primary {
    background: var(--mint-500);
    color: var(--midnight-950);
}

.hero-actions .btn-primary:hover {
    background: var(--mint-400);
    box-shadow: 0 8px 24px rgba(58, 191, 127, 0.3);
}

.hero-actions .btn-ghost {
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

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

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

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.stat-card:hover {
    transform: translateX(6px);
    background: rgba(255, 255, 255, 0.07);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(58, 191, 127, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mint-400);
    flex-shrink: 0;
}

.stat-value {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 500;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
    }
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 40px;
    }
    .stat-card { flex: 1; min-width: 200px; }
}

@media (max-width: 640px) {
    .hero { padding: 100px 0 60px; }
    .hero-card { padding: 32px 24px; }
    .hero-stats { flex-direction: column; }
    .stat-card { min-width: 100%; }
}

/* ─── SECTION COMMON ─── */
.section-label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mint-600);
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--midnight-900);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.section-sub {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 560px;
}

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

.section-header .section-sub { margin: 0 auto; }

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

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

.service-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--line);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(7, 21, 37, 0.08);
}

.service-img {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-body {
    padding: 28px 28px 32px;
}

.service-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--midnight-900);
    margin-bottom: 10px;
}

.service-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-light);
}

@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .services { padding: 80px 0; }
    .services-grid { grid-template-columns: 1fr; }
}

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

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

.about-image {
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 560/700;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content { padding: 16px 0; }

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

.about-values {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--line-strong);
}

.value-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

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

.value-text {
    font-size: 0.9375rem;
    color: var(--text-dark);
    font-weight: 400;
}

@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .about-image { aspect-ratio: 16/10; max-height: 480px; }
}

@media (max-width: 640px) {
    .about { padding: 80px 0; }
}

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

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

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: auto;
}

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

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

.gallery-item:nth-child(1) { aspect-ratio: 420/520; }
.gallery-item:nth-child(2) { aspect-ratio: 420/380; }
.gallery-item:nth-child(3) { aspect-ratio: 420/380; }
.gallery-item:nth-child(4) { aspect-ratio: 420/520; }
.gallery-item:nth-child(5) { aspect-ratio: 420/380; }
.gallery-item:nth-child(6) { aspect-ratio: 420/520; }

@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item:nth-child(n) { aspect-ratio: 1/1; }
}

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

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

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 60% 50% at 80% 50%, rgba(58, 191, 127, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse 40% 30% at 10% 60%, rgba(69, 106, 158, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.cta-card {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-card .section-label { color: var(--mint-400); }

.cta-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.cta-text {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 40px;
}

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

.cta-actions .btn-primary {
    background: var(--mint-500);
    color: var(--midnight-950);
}

.cta-actions .btn-primary:hover {
    background: var(--mint-400);
    box-shadow: 0 8px 24px rgba(58, 191, 127, 0.3);
}

.cta-actions .btn-ghost-light {
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

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

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

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

.contact-text {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-light);
    margin-bottom: 40px;
}

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

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

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--mint-50);
    border: 1px solid var(--mint-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mint-600);
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-item > div > div:last-child {
    font-size: 0.9375rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.contact-item a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.contact-form-wrap {
    background: #fff;
    border-radius: 24px;
    padding: 48px;
    border: 1px solid var(--line);
    box-shadow: 0 8px 40px rgba(7, 21, 37, 0.04);
}

.form-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--midnight-900);
    margin-bottom: 32px;
}

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

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-mid);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--text-dark);
    background: var(--cream);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--mint-500);
    box-shadow: 0 0 0 3px rgba(58, 191, 127, 0.1);
}

.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='%236b8299' 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-50);
    border: 1px solid var(--mint-100);
    border-radius: 12px;
    margin-top: 16px;
    color: var(--mint-700);
    font-size: 0.9375rem;
}

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

@media (max-width: 1024px) {
    .contact-container { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 640px) {
    .contact { padding: 80px 0; }
    .contact-form-wrap { padding: 32px 24px; }
}

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

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    align-items: start;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-logo {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.375rem;
    font-weight: 500;
    font-style: italic;
    color: #fff;
    display: block;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.7;
    max-width: 240px;
}

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

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

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

.footer-contact a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-contact > span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom {
    padding-top: 32px;
    text-align: center;
}

.footer-bottom span {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .footer-brand p { max-width: none; }
}
