/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-teal-900: #134e4a;
    --color-teal-800: #115e59;
    --color-teal-700: #0f766e;
    --color-teal-600: #0d9488;
    --color-teal-500: #14b8a6;
    
    --color-slate-950: #020617;
    --color-slate-900: #0f172a;
    --color-slate-800: #1e293b;
    --color-slate-700: #334155;
    --color-slate-600: #475569;
    --color-slate-500: #64748b;
    --color-slate-400: #94a3b8;
    --color-slate-300: #cbd5e1;
    --color-slate-200: #e2e8f0;
    --color-slate-100: #f1f5f9;
    --color-slate-50: #f8fafc;
    --color-white: #ffffff;

    --font-display: 'Instrument Sans', sans-serif;
    --font-body: 'Manrope', sans-serif;

    --container-width: 1200px;
    --header-height: 80px;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-slate-800);
    background-color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-slate-900);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--color-teal-800);
}

p {
    color: var(--color-slate-600);
    font-size: 1.125rem;
    margin-bottom: 20px;
}

.section-eyebrow {
    display: block;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-teal-600);
    margin-bottom: 16px;
}

.section-title {
    margin-bottom: 48px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn--primary {
    background-color: var(--color-teal-800);
    color: var(--color-white);
    border: 1px solid var(--color-teal-800);
}

.btn--primary:hover {
    background-color: var(--color-teal-900);
    border-color: var(--color-teal-900);
}

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

.btn--outline:hover {
    border-color: var(--color-slate-800);
    color: var(--color-slate-900);
}

.btn--text {
    background: none;
    border: none;
    padding: 0;
    color: var(--color-teal-700);
    font-weight: 600;
}

.btn--text:hover {
    color: var(--color-teal-900);
    text-decoration: underline;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-slate-200);
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-slate-900);
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--color-teal-800);
    color: var(--color-white);
    font-size: 1.1rem;
    border-radius: 4px;
}

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

.primary-nav a {
    font-size: 0.9375rem;
    color: var(--color-slate-600);
    font-weight: 500;
}

.primary-nav a:hover {
    color: var(--color-teal-700);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 1.5px;
    background-color: var(--color-slate-800);
    margin: 6px 0;
    transition: all 0.3s ease;
}

/* --- Hero --- */
.hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-color: var(--color-slate-50);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-eyebrow {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-teal-600);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-slate-600);
    max-width: 480px;
    margin-bottom: 36px;
}

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

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

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

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

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background-color: var(--color-teal-100, #ccfbf1);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.6;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.service-card {
    padding: 32px;
    border: 1px solid var(--color-slate-200);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--color-teal-200, #99f6e4);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    transform: translateY(-4px);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-teal-50);
    color: var(--color-teal-700);
    border-radius: 8px;
    margin-bottom: 20px;
}

.service-card p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* --- About --- */
.about {
    padding: 100px 0;
    background-color: var(--color-slate-50);
}

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

.about-content p {
    margin-bottom: 24px;
}

.about-stats {
    display: flex;
    gap: 48px;
    margin: 32px 0;
    padding: 32px 0;
    border-top: 1px solid var(--color-slate-200);
    border-bottom: 1px solid var(--color-slate-200);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-slate-500);
    font-weight: 600;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-slate-900);
}

/* --- Gallery --- */
.gallery {
    padding: 100px 0;
    background-color: var(--color-white);
}

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

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
}

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

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

/* --- Location --- */
.location {
    padding: 100px 0;
    background-color: var(--color-slate-900);
    color: var(--color-white);
}

.location .section-title {
    color: var(--color-white);
}

.location-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.location-info {
    padding-right: 40px;
}

.location-info p {
    color: var(--color-slate-400);
}

.contact-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-list svg {
    color: var(--color-teal-500);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-list strong {
    display: block;
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.contact-list p {
    margin: 0;
    font-size: 1rem;
}

.contact-list a {
    color: var(--color-teal-400);
}

.contact-list a:hover {
    color: var(--color-teal-300);
    text-decoration: underline;
}

.location-map {
    border-radius: 8px;
    overflow: hidden;
    min-height: 400px;
    background-color: var(--color-slate-800);
}

/* --- Footer --- */
.site-footer {
    padding: 48px 0;
    background-color: var(--color-slate-950);
    border-top: 1px solid var(--color-slate-800);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
}

.copyright {
    color: var(--color-slate-500);
    font-size: 0.875rem;
    margin: 0;
}

.address-mobile {
    color: var(--color-slate-500);
    font-size: 0.875rem;
    margin: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-teal-800);
    color: var(--color-white);
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* --- Mobile Responsive --- */
@media (max-width: 968px) {
    .hero-grid,
    .about-grid,
    .location-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero {
        padding-top: calc(var(--header-height) + 40px);
        padding-bottom: 60px;
        min-height: auto;
    }

    .hero-image {
        order: -1;
    }

    .hero-image-accent {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .location-info {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .nav-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .primary-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: var(--color-white);
        border-bottom: 1px solid var(--color-slate-200);
        padding: 24px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .primary-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .primary-nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .primary-nav .btn--primary {
        width: 100%;
        text-align: center;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .about-stats {
        flex-direction: column;
        gap: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
