*, *::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;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-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-body);
    font-weight: 300;
    color: var(--midnight);
    background: 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;
}

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

/* ─── Navigation ─── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.5s var(--ease-out);
}

.nav.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0;
    box-shadow: 0 1px 0 rgba(94, 234, 212, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-mark {
    width: 32px;
    height: 32px;
    border: 1px solid var(--mint);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo-mark::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--mint);
    border-radius: 50%;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.02em;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
    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-cta {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--midnight) !important;
    background: var(--mint);
    padding: 0.65rem 1.5rem;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--mint-light);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle-line {
    width: 24px;
    height: 1px;
    background: var(--white);
    transition: all 0.3s ease;
    transform-origin: center;
}

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

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

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

/* ─── Hero ─── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 22, 40, 0.72) 0%,
        rgba(10, 22, 40, 0.55) 50%,
        rgba(10, 22, 40, 0.80) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--white);
    max-width: 800px;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero-sub {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 0.7s forwards;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 0.9s forwards;
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    animation: fadeIn 0.8s ease 1.5s forwards;
}

.hero-scroll span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--mint), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border-radius: 100px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    text-decoration: none;
}

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

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

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

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

.btn-white-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-white-outline:hover {
    background: var(--white);
    color: var(--midnight);
}

.btn-full {
    width: 100%;
}

/* ─── Section shared ─── */
.section-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--mint-dark);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--midnight);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

/* ─── Services ─── */
.services {
    padding: 8rem 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--gray-100);
    border: 1px solid var(--gray-100);
    margin-top: 4rem;
}

.service-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    transition: all 0.4s var(--ease-out);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--mint);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    background: var(--off-white);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--midnight);
}

.service-icon svg {
    stroke: var(--mint-dark);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--midnight);
    margin-bottom: 0.75rem;
}

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

/* ─── About ─── */
.about {
    padding: 8rem 0;
    background: var(--off-white);
}

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

.about-image {
    position: relative;
}

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

.about-image::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 60%;
    height: 60%;
    border: 1px solid var(--mint);
    border-radius: 2px;
    z-index: -1;
}

.about-content .section-title {
    margin-bottom: 2rem;
}

.about-text {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.85;
    margin-bottom: 1.25rem;
    font-weight: 300;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--gray-100);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--midnight);
    line-height: 1;
}

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

/* ─── Why Us ─── */
.why-us {
    padding: 8rem 0;
    background: var(--midnight);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(94, 234, 212, 0.06);
    border-radius: 50%;
}

.why-us::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(94, 234, 212, 0.06);
    border-radius: 50%;
}

.why-us .section-label {
    color: var(--mint);
}

.why-us .section-title {
    color: var(--white);
    max-width: 600px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.why-item {
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    transition: all 0.4s var(--ease-out);
}

.why-item:hover {
    border-color: rgba(94, 234, 212, 0.2);
    background: rgba(94, 234, 212, 0.03);
}

.why-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 300;
    color: rgba(94, 234, 212, 0.2);
    line-height: 1;
    margin-bottom: 1rem;
}

.why-item h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.why-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.75;
    font-weight: 300;
}

/* ─── CTA Banner ─── */
.cta-banner {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.82);
}

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

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── Contact ─── */
.contact {
    padding: 8rem 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-intro {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 3rem;
    font-weight: 300;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-100);
    border-radius: 50%;
    color: var(--midnight);
    flex-shrink: 0;
}

.contact-item-icon svg {
    stroke: var(--mint-dark);
}

.contact-item-label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.contact-item-value {
    display: block;
    font-size: 0.95rem;
    color: var(--midnight);
    font-weight: 400;
    line-height: 1.6;
}

.contact-item-value a {
    color: var(--midnight);
    transition: color 0.3s ease;
}

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

.contact-form-wrapper {
    background: var(--off-white);
    padding: 3rem;
    border-radius: 2px;
    border: 1px solid var(--gray-100);
}

.contact-form-wrapper h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--midnight);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--midnight);
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 2px;
    outline: none;
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--mint-dark);
}

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

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

.form-group select {
    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 1rem center;
    padding-right: 2.5rem;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
    gap: 1rem;
}

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

.form-success p {
    font-size: 1rem;
    color: var(--gray-500);
    font-weight: 300;
}

/* ─── Footer ─── */
.footer {
    background: var(--midnight);
    padding: 5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--white);
    display: inline-block;
    margin-bottom: 1rem;
}

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

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

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease;
    font-weight: 300;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.footer-contact a {
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.5rem 0;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.25);
    font-weight: 300;
    letter-spacing: 0.05em;
}

/* ─── Animations ─── */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 1;
        transform: scaleY(1);
    }
    50% {
        opacity: 0.5;
        transform: scaleY(0.8);
    }
}

/* ─── Scroll reveal ─── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out);
}

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

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: right 0.5s var(--ease-out);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-link {
        font-size: 1rem;
    }
    
    .hero {
        min-height: 600px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image img {
        height: 350px;
    }
    
    .about-image::after {
        display: none;
    }
    
    .about-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .nav-inner {
        padding: 0 1.25rem;
    }
    
    .services,
    .about,
    .why-us,
    .contact {
        padding: 5rem 0;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
}
