@font-face {
  font-family: "Playfair Display";
  src: url('/fonts/playfair-display-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url('/fonts/inter-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Art direction: Forest ink / Playfair Display headings with Inter body / editorial */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* ===== Light Theme (default) ===== */
:root {
    --bg: #f5f8f6;
    --surface: #ffffff;
    --text: #131e17;
    --muted: #52645a;
    --border: #d9e4de;
    --accent: #2c4436;
    --accent-contrast: #ffffff;
    --radius: 8px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --transition: 0.2s ease;
}

/* ===== Dark Theme ===== */
[data-theme="dark"] {
    --bg: #0d1310;
    --surface: #151d18;
    --text: #eaf2ed;
    --muted: #9db4a6;
    --border: #21302a;
    --accent: #7fa88f;
    --accent-contrast: #0a130d;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.5);
}

/* ===== Typography ===== */
body {
    font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Playfair Display", "Iowan Old Style", Georgia, serif;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.25rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: 0.5rem; }

p { max-width: 68ch; line-height: 1.7; margin-bottom: 1rem; }
a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; transition: color var(--transition); }
a:hover { color: var(--text); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }

/* ===== Skip Link ===== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    z-index: 1000;
    padding: 0.75rem 1.5rem;
    background: var(--accent);
    color: var(--accent-contrast);
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 var(--radius) 0;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 0;
}

/* ===== Focus Visible ===== */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 2px;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ===== Layout ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section {
    padding-block: clamp(4rem, 9vw, 7rem);
}

.section-alt {
    background: var(--surface);
}

.section-number {
    font-family: "Inter", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    display: block;
    margin-bottom: 0.5rem;
}

.section-lead {
    font-size: 1.2rem;
    max-width: 60ch;
    margin-bottom: 3rem;
    color: var(--muted);
}

.eyebrow {
    font-family: "Inter", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    display: block;
    margin-bottom: 0.75rem;
}

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

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

.site-logo {
    font-family: "Playfair Display", "Iowan Old Style", Georgia, serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
}
.site-logo:hover { color: var(--accent); }

.nav ul {
    list-style: none;
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.nav a {
    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius);
    transition: background var(--transition), color var(--transition);
}

.nav a:hover { color: var(--text); background: var(--border); }
.nav a.active { color: var(--accent); background: var(--border); font-weight: 600; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.theme-toggle {
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    font-size: 1.1rem;
    color: var(--text);
    transition: background var(--transition);
    margin-left: 0.5rem;
}
.theme-toggle:hover { background: var(--border); }

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
    padding: 4rem 1.25rem;
    color: #ffffff;
}

.hero-content .eyebrow { color: rgba(255,255,255,0.7); }

.hero-content h1 {
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.hero-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    max-width: 55ch;
}

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

/* ===== Page Hero ===== */
.page-hero {
    padding-block: clamp(4rem, 8vw, 6rem);
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.page-hero h1 {
    margin-bottom: 1rem;
}

.page-hero-lead {
    font-size: 1.2rem;
    color: var(--muted);
    max-width: 60ch;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    border: none;
    line-height: 1.4;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--accent);
    color: var(--accent-contrast);
}
.btn-primary:hover { color: var(--accent-contrast); }

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-secondary:hover { color: var(--text); background: var(--border); }

.link-arrow {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: gap 0.2s ease;
}
.link-arrow:hover { gap: 0.5rem; }

/* ===== Service Grid ===== */
.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.service-card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease;
}

.service-card:hover {
    box-shadow: var(--shadow-md);
}

.service-card-image {
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.4s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-body {
    padding: 1.5rem;
}

.service-card-body h3 {
    margin-bottom: 0.5rem;
}

.service-card-body p {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

/* ===== About Block ===== */
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--muted);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
}

/* ===== Content Grid (interior pages) ===== */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.content-grid-reverse .content-text {
    order: 2;
}

.content-grid-reverse .content-image {
    order: 1;
}

.content-text h2 {
    margin-bottom: 1rem;
}

.content-text p {
    color: var(--muted);
}

.content-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: var(--radius);
}

/* ===== CTA Block ===== */
.cta-inner {
    text-align: center;
    padding: 3rem;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.cta-inner h2 {
    max-width: 50ch;
    margin: 0 auto 1rem;
}

.cta-phone {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cta-phone a {
    color: var(--accent);
    text-decoration: none;
}
.cta-phone a:hover { text-decoration: underline; }

.cta-simple {
    text-align: center;
    background: var(--surface);
}

.cta-simple h2 {
    max-width: 40ch;
    margin: 0 auto 1rem;
}

/* ===== Callout Box ===== */
.callout-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.callout-phone {
    margin-bottom: 0.25rem;
}

.phone-lg {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--accent);
}
.phone-lg:hover { text-decoration: underline; }

.callout-sub {
    font-size: 0.9rem;
    color: var(--muted);
}

/* ===== Service List ===== */
.service-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--muted);
}

.service-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.8rem;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

/* ===== Steps List ===== */
.steps-list {
    list-style: none;
    counter-reset: step;
    margin-bottom: 1.5rem;
}

.steps-list li {
    counter-increment: step;
    padding: 0.5rem 0;
    padding-left: 2.5rem;
    position: relative;
    color: var(--muted);
}

.steps-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 1.6rem;
    height: 1.6rem;
    background: var(--accent);
    color: var(--accent-contrast);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Contact Page ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.contact-detail {
    margin-bottom: 1.5rem;
}

.contact-detail h3 {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-phone {
    font-size: 1.3rem;
    font-weight: 700;
}

.contact-phone a {
    text-decoration: none;
    color: var(--accent);
}
.contact-phone a:hover { text-decoration: underline; }

.contact-label {
    font-size: 0.9rem;
    color: var(--muted);
}

.contact-info address {
    font-style: normal;
    color: var(--muted);
    margin-bottom: 1rem;
}

.hours-list {
    list-style: none;
    margin-bottom: 1rem;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--border);
    max-width: 300px;
}

.hours-list .day { font-weight: 500; }
.hours-list .time { color: var(--muted); }

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

.contact-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius);
}

.contact-form-box {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.contact-form-box h2 {
    margin-bottom: 0.5rem;
}

.contact-form {
    margin-top: 1.5rem;
}

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

.form-group label {
    display: block;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

/* ===== Footer ===== */
.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding-block: 3rem 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.footer-col p,
.footer-col address {
    font-size: 0.9rem;
    color: var(--muted);
    font-style: normal;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.footer-contact a {
    color: var(--muted);
    text-decoration: none;
}
.footer-contact a:hover { color: var(--accent); text-decoration: underline; }

.footer-facts {
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted);
    padding-block: 1rem;
    border-top: 1px solid var(--border);
    margin-bottom: 1rem;
}

.footer-facts p {
    margin: 0 auto;
    max-width: 100%;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted);
}

.footer-bottom p { margin: 0 auto; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .service-grid { grid-template-columns: 1fr; }
    .about-inner { grid-template-columns: 1fr; }
    .content-grid { grid-template-columns: 1fr; }
    .content-grid-reverse .content-text { order: 1; }
    .content-grid-reverse .content-image { order: 2; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-image img { height: 280px; }
    .content-image img { height: 250px; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }

    .nav {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav.nav-open {
        max-height: 400px;
    }

    .nav ul {
        flex-direction: column;
        padding: 1rem;
        gap: 0.25rem;
    }

    .nav a {
        display: block;
        padding: 0.75rem 1rem;
    }

    .hero { min-height: 60vh; }
    .hero-content { padding: 3rem 1.25rem; }
    .hero-actions { flex-direction: column; }
    .cta-inner { padding: 2rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .contact-form-box { padding: 1.5rem; }
}

@media (max-width: 390px) {
    .container { padding: 0 1rem; }
    .header-inner { padding: 0 1rem; height: 60px; }
    .nav { top: 60px; }
    .site-logo { font-size: 1.15rem; }
    .hero { min-height: 50vh; }
    .hero-content h1 { font-size: clamp(1.8rem, 6vw, 2.2rem); }
    .hero-content p { font-size: 1rem; }
    .service-card-image img { height: 180px; }
    .about-image img { height: 220px; }
    .content-image img { height: 200px; }
    .cta-phone { font-size: 1.2rem; }
    .phone-lg { font-size: 1.2rem; }
    .contact-phone { font-size: 1.1rem; }
}

/* ===== Utility ===== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .cta-inner,
[data-theme="dark"] .contact-form-box,
[data-theme="dark"] .callout-box {
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}