/* ============================================================
   Cappybara Lawn Service — Stylesheet
   Theme: warm greens, earth tones, playful but professional
   ============================================================ */

:root {
    --green-dark: #1f5c3d;
    --green: #2e7d4f;
    --green-light: #4ca06b;
    --cream: #f7f4ea;
    --sand: #efe7d3;
    --brown: #6b4f2f;
    --ink: #22301f;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(31, 92, 61, 0.15);
    --radius: 18px;
    --font-display: 'Fredoka', sans-serif;
    --font-body: 'Nunito', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
}

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

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

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    line-height: 1.15;
}

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

ul {
    list-style: none;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--green);
    color: var(--white);
    box-shadow: var(--shadow);
}

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

.btn-secondary {
    background: var(--white);
    color: var(--green-dark);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    background: var(--sand);
}

.btn-outline {
    background: transparent;
    color: var(--green-dark);
    border: 2px solid var(--green);
}

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

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

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--green);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.section {
    padding: 80px 0;
}

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

.section-head h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--green-dark);
}

.section-sub {
    color: #55704f;
    margin-top: 0.75rem;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(247, 244, 234, 0.92);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(31, 92, 61, 0.08);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.brand-logo {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--green-light);
}

.brand-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--green-dark);
}

.brand-text span {
    color: var(--green-light);
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-menu a {
    font-weight: 700;
    color: var(--ink);
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: var(--green);
}

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

.hamburger span {
    width: 26px;
    height: 3px;
    background: var(--green-dark);
    border-radius: 3px;
    transition: 0.3s;
}

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

.hero-img-wrap {
    position: absolute;
    inset: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(23, 51, 32, 0.82) 0%, rgba(23, 51, 32, 0.45) 55%, rgba(23, 51, 32, 0.15) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding-top: 140px;
    padding-bottom: 70px;
    max-width: 620px;
}

.hero-content .eyebrow {
    color: #cde8cf;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 6vw, 4rem);
    margin-bottom: 1rem;
}

.hero-content h1 span {
    color: #a8e0b4;
}

.hero-sub {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-facts {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.hero-facts strong {
    font-family: var(--font-display);
    font-size: 1.6rem;
    display: block;
    color: #a8e0b4;
}

.hero-facts span {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
    background: var(--white);
}

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

.about-img img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-text h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--green-dark);
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: #44553f;
}

.about-points {
    margin-top: 1.25rem;
}

.about-points li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-weight: 600;
}

.about-points span {
    font-size: 1.3rem;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
    background: var(--cream);
}

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

.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
}

.card img {
    height: 190px;
    width: 100%;
    object-fit: cover;
}

.card-body {
    padding: 1.4rem;
}

.card-body h3 {
    font-size: 1.25rem;
    color: var(--green-dark);
    margin-bottom: 0.4rem;
}

.card-body p {
    color: #55704f;
    font-size: 0.98rem;
    margin-bottom: 0.9rem;
}

.tag {
    display: inline-block;
    background: var(--sand);
    color: var(--brown);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
    background: linear-gradient(180deg, var(--green-dark), var(--green));
    color: var(--white);
}

.pricing .section-head h2 {
    color: var(--white);
}

.pricing .section-sub {
    color: #d6ead9;
}

.pricing .eyebrow {
    color: #a8e0b4;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    align-items: stretch;
}

.price-card {
    background: var(--white);
    color: var(--ink);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    position: relative;
}

.price-card.featured {
    transform: scale(1.04);
    border: 3px solid var(--green-light);
}

.price-card h3 {
    font-size: 1.4rem;
    color: var(--green-dark);
    margin-bottom: 0.5rem;
}

.price {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 1.25rem;
}

.price span {
    font-size: 1rem;
    color: #888;
    font-weight: 600;
}

.price-card ul {
    margin-bottom: 1.75rem;
    flex: 1;
}

.price-card li {
    padding: 0.45rem 0;
    border-bottom: 1px dashed var(--sand);
    font-size: 0.98rem;
}

.badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green-light);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.78rem;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    white-space: nowrap;
}

.fineprint {
    text-align: center;
    margin-top: 2.5rem;
    font-size: 0.9rem;
    color: #d6ead9;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
    background: var(--white);
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.testi {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.stars {
    color: #e8a33d;
    letter-spacing: 3px;
    margin-bottom: 0.9rem;
}

.testi blockquote {
    font-size: 1.02rem;
    color: #44553f;
    font-style: italic;
    flex: 1;
    margin-bottom: 1.25rem;
}

.testi figcaption {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.testi figcaption img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--green-light);
}

.testi figcaption strong {
    display: block;
    color: var(--green-dark);
}

.testi figcaption span {
    font-size: 0.85rem;
    color: #77866f;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
    background: var(--sand);
}

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

.contact-info h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    color: var(--green-dark);
    margin-bottom: 1rem;
}

.contact-info>p {
    color: #44553f;
    margin-bottom: 1.75rem;
}

.info-list li {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 0.9rem 0;
    border-bottom: 1px dashed #c9b98f;
}

.info-list span {
    font-size: 1.4rem;
}

.info-list strong {
    display: block;
    color: var(--green-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.25rem;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    color: var(--green-dark);
    margin-bottom: 1.5rem;
}

.field {
    margin-bottom: 1.1rem;
}

.field label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--ink);
    font-size: 0.92rem;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 2px solid var(--sand);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--cream);
    color: var(--ink);
    transition: border-color 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--green-light);
    background: var(--white);
}

.field input.invalid,
.field select.invalid,
.field textarea.invalid {
    border-color: #d9534f;
}

.form-note {
    font-size: 0.85rem;
    color: #77866f;
    margin-top: 0.9rem;
    text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--green-dark);
    color: #eaf4ec;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2.5rem;
    padding: 3.5rem 0;
}

.footer-brand img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.9rem;
    border: 2px solid var(--green-light);
}

.footer-brand p {
    font-family: var(--font-display);
    font-size: 1.1rem;
}

.footer-links h4 {
    margin-bottom: 0.9rem;
    color: #a8e0b4;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: #a8e0b4;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1.25rem 0;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #bcd6c0;
    text-align: center;
}

/* ============================================================
   TOAST
   ============================================================ */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: var(--green-dark);
    color: var(--white);
    padding: 0.9rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: var(--shadow);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    z-index: 300;
    max-width: 90%;
    text-align: center;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .pricing-grid,
    .testi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .nav-menu {
        position: fixed;
        top: 74px;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 5%;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-130%);
        transition: transform 0.3s ease;
    }

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

    .nav-menu ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .nav-menu ul li a {
        display: block;
        padding: 0.6rem 0;
    }

    .btn-quote {
        text-align: center;
        margin-top: 0.75rem;
    }

    .services-grid,
    .pricing-grid,
    .testi-grid {
        grid-template-columns: 1fr;
    }

    .price-card.featured {
        transform: none;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 56px 0;
    }
}