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

:root {
    --midnight: #0A1628;
    --midnight-light: #132240;
    --midnight-mid: #0D1F3C;
    --mint: #3DD9B5;
    --mint-light: #5EEAD4;
    --mint-pale: #E6FAF5;
    --mint-glow: rgba(61, 217, 181, 0.12);
    --white: #FFFFFF;
    --off-white: #F8FAFB;
    --cream: #F1F5F7;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.6;
    font-weight: 300;
    overflow-x: hidden;
}

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

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

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

/* Site Line */
.site-line {
    position: fixed;
    top: 0;
    left: 80px;
    width: 1px;
    height: 100vh;
    background: var(--gray-200);
    z-index: 100;
    pointer-events: none;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s var(--ease-smooth);
}

.header.scrolled {
    border-bottom-color: var(--gray-200);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    padding-top: 0;
    padding-bottom: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--midnight);
    font-weight: 500;
    font-size: 0.938rem;
    letter-spacing: -0.01em;
}

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

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

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

.nav a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gray-500);
    transition: color 0.3s var(--ease-smooth);
    position: relative;
}

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

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

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

.header-phone {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--midnight);
    letter-spacing: 0.01em;
    transition: color 0.3s;
}

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

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

.menu-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--midnight);
    transition: all 0.3s var(--ease-smooth);
    transform-origin: center;
}

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

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

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

/* Hero */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    background: var(--white);
    display: flex;
    flex-direction: column;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 80px;
    flex: 1;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--mint);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--midnight);
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}

.hero-headline br {
    display: block;
}

.hero-sub {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--gray-500);
    max-width: 480px;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 56px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 0;
    transition: all 0.35s var(--ease-out);
    cursor: pointer;
    border: 1.5px solid transparent;
    font-family: var(--font-sans);
}

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

.btn-primary:hover {
    background: var(--midnight-light);
    border-color: var(--midnight-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 22, 40, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--midnight);
    border-color: var(--gray-300);
}

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

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

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

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

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

.btn-full {
    width: 100%;
    justify-content: center;
}

.hero-meta {
    display: flex;
    gap: 32px;
    align-items: center;
}

.hero-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-400);
}

.meta-value {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 400;
}

.hero-meta-divider {
    width: 1px;
    height: 36px;
    background: var(--gray-200);
}

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    overflow: hidden;
}

.hero-image-wrapper img {
    width: 100%;
    height: 800px;
    object-fit: cover;
    background: var(--gray-100);
}

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    border: 1px solid var(--mint);
    z-index: -1;
}

.hero-image-secondary {
    position: absolute;
    bottom: 60px;
    left: -60px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(10, 22, 40, 0.15);
    z-index: 2;
}

.hero-image-secondary img {
    width: 400px;
    height: 280px;
    object-fit: cover;
    background: var(--gray-200);
}

.hero-scroll {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    padding-bottom: 32px;
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-400);
}

.hero-scroll svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* Section Common */
.section-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 16px;
}

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

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

.section-header {
    margin-bottom: 72px;
}

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

.service-card {
    background: var(--white);
    padding: 48px 36px;
    transition: all 0.4s var(--ease-out);
    position: relative;
}

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

.service-card:hover .service-number,
.service-card:hover .service-icon,
.service-card:hover h3,
.service-card:hover p {
    color: var(--white);
}

.service-card:hover .service-number {
    color: var(--mint);
}

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

.service-card:hover p {
    color: rgba(255, 255, 255, 0.65);
}

.service-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--gray-200);
    line-height: 1;
    margin-bottom: 28px;
    transition: color 0.4s var(--ease-out);
}

.service-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 24px;
    color: var(--midnight);
    transition: color 0.4s var(--ease-out);
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--midnight);
    transition: stroke 0.4s var(--ease-out);
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--midnight);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    transition: color 0.4s var(--ease-out);
}

.service-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--gray-500);
    font-weight: 300;
    transition: color 0.4s var(--ease-out);
}

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

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

.about-image-block {
    position: relative;
}

.about-image-block img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    background: var(--gray-100);
}

.about-image-tag {
    position: absolute;
    bottom: -16px;
    right: -16px;
    background: var(--midnight);
    color: var(--white);
    padding: 16px 24px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

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

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

.about-signature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid var(--gray-200);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--midnight);
    letter-spacing: 0.02em;
}

.about-signature svg {
    color: var(--mint);
}

/* Why Us */
.why-us {
    padding: 120px 0;
    background: var(--midnight);
    color: var(--white);
}

.why-us-header {
    margin-bottom: 72px;
}

.why-us-header .section-title {
    color: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.why-item {
    padding: 48px 48px 48px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.why-item:nth-child(odd) {
    padding-right: 0;
    padding-left: 0;
}

.why-item:nth-child(even) {
    padding-left: 0;
    padding-right: 48px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.why-line {
    width: 32px;
    height: 1px;
    background: var(--mint);
    margin-bottom: 24px;
}

.why-item h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.why-item p {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
    max-width: 380px;
}

/* CTA Strip */
.cta-strip {
    padding: 80px 0;
    background: var(--mint);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(10, 22, 40, 0.55);
    margin-bottom: 8px;
}

.cta-headline {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 300;
    color: var(--midnight);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

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

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

.contact-lead {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--gray-500);
    margin-bottom: 48px;
    font-weight: 300;
}

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

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

.contact-detail-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
    color: var(--midnight);
}

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

.contact-detail a,
.contact-detail span {
    font-size: 0.9375rem;
    color: var(--gray-700);
    line-height: 1.6;
    font-weight: 400;
}

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

/* Form */
.contact-form-wrap {
    background: var(--white);
    padding: 48px;
    border: 1px solid var(--gray-200);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.form-group input,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--gray-800);
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid var(--gray-200);
    background: transparent;
    outline: none;
    transition: border-color 0.3s var(--ease-smooth);
    resize: none;
    width: 100%;
}

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

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

.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 16px 0;
    font-size: 0.9375rem;
    color: var(--mint);
    font-weight: 500;
}

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

/* Footer */
.footer {
    background: var(--midnight);
    color: var(--white);
    padding: 72px 0 40px;
}

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

.logo-light {
    color: var(--white);
    margin-bottom: 16px;
}

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

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

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

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    gap: 20px;
}

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

.footer-bottom a {
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.3s;
}

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

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

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

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-image {
        order: -1;
        max-width: 500px;
    }
    
    .hero-image-wrapper img {
        height: 500px;
    }
    
    .hero-image-secondary {
        left: -20px;
        bottom: 30px;
    }
    
    .hero-image-secondary img {
        width: 280px;
        height: 200px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image-block img {
        height: 500px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .cta-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .site-line {
        left: 24px;
    }
    
    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        border-bottom: 1px solid var(--gray-200);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s var(--ease-out);
    }
    
    .nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav a {
        font-size: 1rem;
    }
    
    .header-phone {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-container {
        padding-top: 40px;
        padding-bottom: 60px;
    }
    
    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-image {
        display: none;
    }
    
    .hero-meta {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .hero-meta-divider {
        display: none;
    }
    
    .services {
        padding: 80px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 36px 0;
    }
    
    .about {
        padding: 80px 0;
    }
    
    .about-image-block img {
        height: 400px;
    }
    
    .about-image-tag {
        right: 16px;
        bottom: -12px;
    }
    
    .why-us {
        padding: 80px 0;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .why-item {
        padding: 32px 0 !important;
        border-left: none !important;
    }
    
    .cta-strip {
        padding: 60px 0;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn {
        justify-content: center;
    }
    
    .contact {
        padding: 80px 0;
    }
    
    .contact-form-wrap {
        padding: 32px 24px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: flex-start;
    }
}
