/* =========================================================
   L&S Design and Landscape — Stylesheet
   Earthy & natural palette: deep greens, warm browns, cream
   ========================================================= */

:root {
    /* Brand palette */
    --green-900: #1f4128;
    --green-800: #2f5d3a;
    --green-700: #3f6e44;
    --green-500: #5a8c5b;
    --green-200: #cfe2c4;
    --green-100: #e9efd9;

    --brown-900: #3a2418;
    --brown-700: #5a3a22;
    --brown-500: #8a6240;

    --cream-50: #fbf6e9;
    --cream-100: #f4ead5;
    --cream-200: #ecdfbf;

    --ink-900: #1a221d;
    --ink-700: #36433a;
    --ink-500: #61705f;
    --ink-300: #9aa79a;

    --gold: #c89b3c;
    --gold-soft: #f8d77a;

    /* System */
    --bg: var(--cream-50);
    --surface: #ffffff;
    --text: var(--ink-900);
    --muted: var(--ink-500);
    --primary: var(--green-800);
    --primary-dark: var(--green-900);
    --accent: var(--brown-700);
    --border: rgba(31, 65, 40, 0.12);

    /* Type */
    --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Layout */
    --container: 1180px;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 2px rgba(31, 65, 40, 0.06), 0 2px 6px rgba(31, 65, 40, 0.05);
    --shadow-md: 0 4px 12px rgba(31, 65, 40, 0.08), 0 12px 32px rgba(31, 65, 40, 0.08);
    --shadow-lg: 0 16px 40px rgba(31, 65, 40, 0.18);

    /* Motion */
    --ease: cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
svg {
    max-width: 100%;
    display: block;
}

a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.18s var(--ease);
}

a:hover {
    color: var(--green-700);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--ink-900);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

p { margin: 0 0 1em; }

ul { margin: 0; padding: 0; list-style: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(20px, 4vw, 40px);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--primary-dark);
    color: var(--cream-100);
    padding: 12px 18px;
    z-index: 1000;
    border-radius: 0 0 var(--radius-sm) 0;
}

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

.amp {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--brown-700);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
    padding: 14px 24px;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
    text-align: center;
    white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--primary-dark);
    color: var(--cream-100);
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
    background: var(--green-800);
    color: var(--cream-50);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--cream-100);
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}
.btn-secondary:hover {
    background: var(--cream-200);
    color: var(--primary-dark);
}

.btn-ghost {
    background: transparent;
    color: var(--primary-dark);
    border-color: transparent;
    padding: 10px 16px;
}
.btn-ghost:hover {
    background: var(--green-100);
}

.btn-block {
    width: 100%;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 246, 233, 0.92);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 14px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-dark);
}

.brand:hover { color: var(--primary-dark); }

.brand-mark {
    color: var(--primary-dark);
    width: 42px;
    height: 42px;
    display: inline-flex;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--ink-900);
}

.brand-tag {
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 0.01em;
}

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

.primary-nav ul {
    display: flex;
    gap: 26px;
}

.primary-nav a {
    color: var(--ink-700);
    font-weight: 500;
    font-size: 0.95rem;
}

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

.nav-call {
    font-size: 0.92rem;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 44px;
    height: 44px;
    padding: 10px;
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-dark);
    margin: 5px 0;
    transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(60px, 10vw, 120px) 0 clamp(80px, 14vw, 160px);
    isolation: isolate;
}

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

.hero-illustration {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(251, 246, 233, 0.4) 0%, rgba(251, 246, 233, 0.0) 30%, rgba(251, 246, 233, 0.0) 60%, rgba(251, 246, 233, 0.7) 100%);
}

.hero-inner {
    max-width: 760px;
    position: relative;
}

.hero-eyebrow {
    display: inline-block;
    background: var(--cream-100);
    color: var(--primary-dark);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 22px;
    letter-spacing: 0.01em;
}

.hero-title {
    margin-bottom: 18px;
}

.hero-title .accent {
    color: var(--brown-700);
    font-style: italic;
    font-weight: 500;
}

.hero-sub {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: var(--ink-700);
    max-width: 620px;
    margin-bottom: 32px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 36px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    color: var(--ink-700);
    font-size: 0.92rem;
    font-weight: 500;
}

.hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-trust li span {
    color: var(--gold);
    font-weight: 700;
}

/* ---------- Section base ---------- */
.section {
    padding: clamp(60px, 9vw, 110px) 0;
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--green-700);
    margin: 0 0 14px;
}

.section-sub {
    font-size: 1.08rem;
    color: var(--muted);
}

/* ---------- Services ---------- */
.services {
    background: var(--surface);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--cream-50);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(31, 65, 40, 0.2);
}

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

.service-image {
    margin: 0;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--green-100);
}

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

.service-body {
    padding: 32px 32px 36px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-card h3 {
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.service-list {
    margin: 18px 0 22px;
    display: grid;
    gap: 8px;
}

.service-list li {
    position: relative;
    padding-left: 22px;
    color: var(--ink-700);
    font-size: 0.97rem;
}

.service-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--green-500);
    box-shadow: inset 0 0 0 3px var(--cream-50);
    border: 1px solid var(--green-700);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary-dark);
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    transition: gap 0.2s var(--ease), border-color 0.2s var(--ease);
}

.link-arrow:hover {
    gap: 12px;
    border-bottom-color: var(--primary-dark);
}

/* ---------- Why us ---------- */
.why-us {
    background: linear-gradient(180deg, var(--cream-50) 0%, var(--cream-100) 100%);
}

.why-intro {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) 1.1fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 64px;
}

.why-image {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 5;
    background: var(--green-100);
    position: relative;
}

.why-image::after {
    content: "";
    position: absolute;
    inset: auto -16px -16px auto;
    width: 70%;
    height: 70%;
    border: 2px solid var(--brown-700);
    border-radius: var(--radius);
    z-index: -1;
}

.why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-intro-text .eyebrow {
    margin-top: 0;
}

.why-intro-text h2 {
    margin-bottom: 16px;
}

.why-intro-text .section-sub {
    color: var(--ink-700);
    margin-bottom: 28px;
}

.why-cta {
    margin-top: 4px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.why-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 30px 26px;
    border: 1px solid var(--border);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.why-num {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--brown-700);
    margin-bottom: 14px;
}

.why-card h3 {
    margin-bottom: 8px;
    font-size: 1.18rem;
    color: var(--primary-dark);
}

.why-card p {
    color: var(--ink-700);
    font-size: 0.98rem;
    margin: 0;
}

/* ---------- Service area ---------- */
.service-area {
    background: var(--surface);
}

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

.area-grid h2 {
    margin-bottom: 18px;
}

.city-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px 20px;
    margin-top: 22px;
}

.city-list li {
    position: relative;
    padding-left: 22px;
    color: var(--ink-700);
    font-weight: 500;
}

.city-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brown-700);
}

.area-visual {
    max-width: 380px;
    margin-inline: auto;
}

/* ---------- Reviews ---------- */
.reviews {
    background: linear-gradient(180deg, var(--cream-100) 0%, var(--green-100) 100%);
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.review-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 30px 28px;
    margin: 0;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.stars {
    color: var(--gold);
    font-size: 1.05rem;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.review-card blockquote {
    margin: 0 0 18px;
    color: var(--ink-700);
    font-size: 1rem;
}

.review-card blockquote p {
    margin: 0;
    font-style: italic;
}

.review-card figcaption {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.95rem;
    margin-top: auto;
}

/* ---------- Contact / Form ---------- */
.contact {
    background: var(--primary-dark);
    color: var(--cream-100);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(248, 215, 122, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.contact .eyebrow { color: var(--gold-soft); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: start;
    position: relative;
}

.contact h2 {
    color: var(--cream-50);
    margin-bottom: 16px;
}

.contact-info p {
    color: var(--green-100);
    margin-bottom: 32px;
}

.contact-meta {
    display: grid;
    gap: 18px;
    border-top: 1px solid rgba(244, 234, 213, 0.18);
    padding-top: 24px;
}

.contact-meta li {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 16px;
    align-items: baseline;
}

.contact-meta strong {
    color: var(--gold-soft);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 600;
}

.contact-meta a,
.contact-meta span {
    color: var(--cream-50);
    font-size: 1.02rem;
}

.contact-meta a:hover {
    color: var(--gold-soft);
}

/* Form */
.quote-form {
    background: var(--cream-50);
    color: var(--ink-900);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    margin-bottom: 18px;
}

.form-row.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-row label {
    display: block;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--ink-700);
    margin-bottom: 6px;
}

.form-row label span {
    color: var(--brown-700);
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    font-family: inherit;
    font-size: 0.98rem;
    color: var(--ink-900);
    transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(47, 93, 58, 0.12);
}

.form-row textarea {
    resize: vertical;
    min-height: 96px;
}

.form-row input.invalid,
.form-row textarea.invalid,
.form-row select.invalid {
    border-color: #c0392b;
    box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.1);
}

.form-note {
    margin: 14px 0 0;
    font-size: 0.86rem;
    color: var(--muted);
    text-align: center;
}

.form-note.success {
    color: var(--green-800);
    font-weight: 600;
}

.form-note.error {
    color: #c0392b;
    font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer {
    background: #15281c;
    color: var(--cream-200);
    padding: 60px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(244, 234, 213, 0.12);
}

.footer-brand {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--cream-50);
    margin: 0 0 6px;
}

.footer-tag {
    color: var(--green-200);
    font-size: 0.92rem;
    margin: 0;
    max-width: 240px;
}

.footer-heading {
    color: var(--gold-soft);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 600;
    margin: 0 0 14px;
}

.site-footer ul {
    display: grid;
    gap: 8px;
}

.site-footer a {
    color: var(--cream-200);
    font-size: 0.95rem;
}

.site-footer a:hover {
    color: var(--gold-soft);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 24px;
    color: var(--ink-300);
    font-size: 0.85rem;
}

.footer-bottom p { margin: 0; }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .area-grid,
    .contact-grid,
    .footer-grid,
    .why-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-intro {
        margin-bottom: 48px;
        text-align: center;
    }

    .why-image {
        max-width: 360px;
        margin: 0 auto;
        aspect-ratio: 4 / 3;
    }

    .why-image::after { display: none; }

    .why-intro-text .btn { display: inline-flex; }

    .area-visual { max-width: 280px; }

    .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 760px) {
    .nav-toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; }

    .primary-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--cream-50);
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        padding: 18px clamp(20px, 4vw, 40px);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s var(--ease);
    }

    .primary-nav.is-open {
        max-height: 480px;
    }

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

    .primary-nav ul a {
        display: block;
        padding: 12px 6px;
        border-bottom: 1px solid var(--border);
    }

    .nav-call {
        margin-top: 14px;
        justify-content: center;
        background: var(--primary-dark);
        color: var(--cream-100);
        padding: 12px 18px;
    }

    .nav-call:hover { background: var(--green-800); color: var(--cream-50); }

    .header-inner { position: relative; }

    .brand-tag { display: none; }

    .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

@media (max-width: 520px) {
    .form-row.two-col { grid-template-columns: 1fr; }
    .quote-form { padding: 26px 20px; }
    .contact-meta li { grid-template-columns: 1fr; gap: 4px; }
    .hero-ctas .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}
