:root {
    --teal: #006469;
    --teal-dark: #00484b;
    --beige: #F7F4EB;
    --charcoal: #1F1F1F;
    --wine: #681b0d;
    --muted: rgba(255, 255, 255, 0.75);
    --accent: #690500;
    --accent-dark: #400300;

}

* {
    box-sizing: border-box;
}

body.services-page {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--charcoal);
    background: #fff;
    line-height: 1.6;
}

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

a:hover {
    opacity: 0.7;
}

.container {
    width: min(1200px, 90vw);
    margin: 0 auto;
}

.site-header {
    background: var(--teal);
    color: white;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.logo-link {
    text-decoration: none;
    color: inherit;
}

.logo-mark {
    width: 44px;
    height: 44px;
    border: 2px solid white;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    letter-spacing: 0.05em;
    font-size: 0.95rem;
}

.hero-banner {
    position: relative;
    min-height: 360px;
    background: url('https://images.unsplash.com/photo-1507842217343-583bb7270b66?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;
}

.hero-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.75));
    min-height: inherit;
    display: flex;
    align-items: flex-end;
    /* place block at the bottom */
    justify-content: flex-start;
    /* keep it on the left */
    padding: 3.5rem 0;
    /* slightly tighter */
    color: white;
}

.hero-overlay h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1;
    font-weight: 300;
    letter-spacing: -0.02em;
    margin: 0;
}

.stats {
    background: var(--beige);
    padding: 5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.stat {
    display: inline-block;
    text-align: center;
}

.stat h2 {
    margin: 0;
    font-size: clamp(3rem, 8vw, 5rem);
    color: var(--wine);
    font-weight: 400;
}

.stat p {
    margin-top: 0.5rem;
    color: #6c4b44;
    max-width: 20ch;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.services-table {
    background: var(--teal);
    padding: 4rem 0 5rem;
    color: white;
}

.services-table h2 {
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 400;
    margin-bottom: 2.5rem;
}

.service-row {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(420px, 2fr);
    gap: 3rem;
    padding: 2.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.service-row:first-of-type {
    border-top: none;
}

.service-title h3 {
    margin: 0;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
}

.service-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.35rem;
}

.service-list li {
    font-size: 1rem;
    color: white;
}

.btn {
    border: none;
    border-radius: 999px;
    padding: 0.85rem 2.4rem;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.btn-accent:hover {
    background: var(--accent-dark);
}

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

.site-footer {
    background: var(--beige);
    padding: 3.5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    margin: 0 0 0.5rem;
}

.footer-contact p {
    margin: 0.2rem 0;
}

.footer-meta {
    text-align: center;
    font-size: 0.9rem;
    color: #6f6f6f;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 1.5rem;
}

.footer-social a {
    text-decoration: none;
    color: inherit;
}

/* font-size handled by clamp(); keep queries for future tweaks if needed */
@media (min-width: 576px) {
    .hero-overlay h1 {}
}

@media (min-width: 768px) {
    .hero-overlay h1 {}
}

@media (min-width: 992px) {
    .hero-overlay h1 {}
}

@media (max-width: 768px) {
    .nav-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .service-row {
        grid-template-columns: 1fr;
    }
}

.image-banner {
    width: 100%;
    overflow: hidden; /* Ensures image doesn't overflow its container */
    /* Removed margin-top */
}

.image-banner img {
    display: block; /* Removes extra space below image */
    width: 100%;
    height: auto;
}

.footer-social a {
    text-decoration: none;
    color: inherit;
}