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

:root {
    --teal: #0f4c5c;
    --teal-light: #1a6b7e;
    --teal-dark: #0a3540;
    --slate: #3d4f5f;
    --slate-light: #6b7f8f;
    --slate-lighter: #9ab0be;
    --bg: #fafbfc;
    --bg-warm: #f5f7f8;
    --white: #ffffff;
    --text: #1a2332;
    --text-light: #4a5a6a;
    --text-muted: #7a8a9a;
    --line: #e2e8ec;
    --line-light: #eef2f5;
    
    --font-serif: 'Instrument Serif', Georgia, serif;
    --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ─── Typography ─── */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.15;
    color: var(--text);
}

.accent {
    color: var(--teal);
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: 2px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--teal-light);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--teal);
    border: 1px solid var(--teal);
}

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

.btn-small {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
}

/* ─── Navbar ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 251, 252, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line-light);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 1px 0 var(--line);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--teal);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--teal);
    border-radius: 2px;
}

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

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

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--teal);
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--teal);
    transition: var(--transition);
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    font-size: 0.8125rem !important;
    font-weight: 500 !important;
    color: var(--teal) !important;
    border: 1px solid var(--teal);
    padding: 0.5rem 1rem;
    border-radius: 2px;
}

.nav-cta:hover {
    background: var(--teal);
    color: var(--white) !important;
}

.nav-cta::after {
    display: none !important;
}

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

.menu-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--text);
    transition: var(--transition);
    transform-origin: center;
}

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

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

.mobile-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 2rem;
    transform: translateY(-120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

.mobile-menu.open {
    transform: translateY(0);
}

.mobile-menu-link {
    display: block;
    padding: 1rem 0;
    font-size: 1rem;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--line-light);
    transition: var(--transition);
}

.mobile-menu-link:hover {
    color: var(--teal);
}

.mobile-cta {
    border-bottom: none;
    margin-top: 1rem;
    color: var(--teal) !important;
    font-weight: 500;
}

/* ─── Hero ─── */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero-line {
    height: 1px;
    background: linear-gradient(to right, var(--teal), transparent);
    margin: 0 2rem;
    opacity: 0.3;
}

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

.hero-content {
    padding-right: 1rem;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.hero-headline {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-headline em {
    font-style: italic;
    color: var(--teal);
}

.hero-sub {
    font-size: 1.0625rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}

.hero-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

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

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

.hero-meta-divider {
    width: 1px;
    height: 40px;
    background: var(--line);
}

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-wrapper:hover img {
    transform: scale(1.02);
}

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 1px solid var(--teal);
    border-radius: 4px;
    opacity: 0.2;
    z-index: -1;
}

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

.section-header {
    margin-bottom: 4rem;
}

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

.service-card {
    padding: 2.5rem;
    border: 1px solid var(--line-light);
    margin: -0.5px;
    transition: var(--transition);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal);
    transition: var(--transition);
}

.service-card:hover {
    background: var(--bg);
    border-color: var(--teal);
}

.service-card:hover::before {
    width: 100%;
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    margin-bottom: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 2px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--white);
}

.service-card h3 {
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--text);
}

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

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

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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 24px;
    left: -24px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--teal);
    border-radius: 4px;
    opacity: 0.15;
    z-index: -1;
}

.about-content {
    padding: 1rem 0;
}

.about-content p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.about-values {
    display: flex;
    gap: 0;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}

.value-item {
    flex: 1;
    text-align: center;
}

.value-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal);
}

.value-divider {
    display: block;
    width: 1px;
    height: 24px;
    background: var(--line);
    margin: 0.5rem auto 0;
}

.value-item:last-child .value-divider {
    display: none;
}

/* ─── CTA ─── */
.cta {
    padding: 8rem 0;
    background: var(--teal);
    text-align: center;
}

.cta-content {
    max-width: 640px;
    margin: 0 auto;
}

.cta .section-eyebrow {
    color: rgba(255, 255, 255, 0.6);
}

.cta-title {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

.cta .accent {
    color: rgba(255, 255, 255, 0.85);
}

.cta-text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.cta-contact {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.cta-phone, .cta-email {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.0625rem;
    color: var(--white);
    text-decoration: none;
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    transition: var(--transition);
}

.cta-phone:hover, .cta-email:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

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

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

.location-details {
    margin-top: 3rem;
}

.location-item {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--line);
}

.location-item:first-child {
    padding-top: 0;
}

.location-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.location-value {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.7;
}

.location-link {
    font-size: 1rem;
    color: var(--teal);
    text-decoration: none;
    transition: var(--transition);
}

.location-link:hover {
    color: var(--teal-light);
    text-decoration: underline;
}

.map-placeholder {
    background: var(--bg-warm);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 4rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.map-placeholder svg {
    color: var(--teal);
    opacity: 0.6;
}

.map-placeholder p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ─── Footer ─── */
.footer {
    padding: 4rem 0 2rem;
    background: var(--text);
}

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

.footer-brand .logo-text {
    color: var(--white);
}

.footer-tagline {
    font-size: 0.8125rem;
    color: var(--slate-light);
    margin-top: 0.5rem;
    letter-spacing: 0.05em;
}

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

.footer-links a {
    font-size: 0.875rem;
    color: var(--slate-light);
    text-decoration: none;
    transition: var(--transition);
}

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

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

.footer-contact p {
    font-size: 0.875rem;
    color: var(--slate-light);
    margin-bottom: 0.5rem;
}

.footer-contact a {
    font-size: 0.875rem;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--slate-light);
    letter-spacing: 0.05em;
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .hero-content {
        padding-right: 0;
    }
    
    .hero-headline {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image-wrapper {
        max-height: 400px;
    }
    
    .services {
        padding: 5rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about {
        padding: 5rem 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image::after {
        display: none;
    }
    
    .cta {
        padding: 5rem 0;
    }
    
    .cta-contact {
        flex-direction: column;
        gap: 1rem;
    }
    
    .location {
        padding: 5rem 0;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .hero-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .hero-meta-divider {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-values {
        flex-wrap: wrap;
    }
    
    .value-divider {
        display: none !important;
    }
    
    .value-item {
        flex: 0 0 50%;
        margin-bottom: 1rem;
    }
}

/* ─── Animations ─── */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
