/* PlantMates marketing site */
:root {
    --brand: #224821;
    --brand-deep: #162f16;
    --brand-mid: #2f5c2e;
    --brand-soft: #3d7340;
    --leaf: #6a9a5b;
    --mist: #e8f0e4;
    --cream: #f7faf5;
    --ink: #1a2419;
    --muted: #5a6b58;
    --line: rgba(34, 72, 33, 0.12);
    --white: #ffffff;
    --shadow: 0 18px 40px rgba(22, 47, 22, 0.08);
    --radius: 14px;
    --max: 1120px;
    --nav-h: 72px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Poppins", system-ui, sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

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

.container {
    width: min(100% - 2rem, var(--max));
    margin-inline: auto;
}

/* ---------- Nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 250, 245, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.nav {
    min-height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    color: var(--brand);
}

.brand-mark__leaf {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--leaf), var(--brand));
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12);
    position: relative;
}

.brand-mark__leaf::after {
    content: "";
    position: absolute;
    inset: 7px 12px 7px 11px;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 40% 60% 55% 45%;
    transform: rotate(-20deg);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.35rem 1.25rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
    color: var(--brand);
}

.nav-links .nav-admin {
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--brand);
    font-size: 0.85rem;
}

.nav-links .nav-admin:hover {
    background: var(--mist);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--brand);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: calc(100svh - var(--nav-h));
    display: grid;
    align-items: end;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(ellipse 80% 60% at 85% 20%, rgba(106, 154, 91, 0.45), transparent 55%),
        radial-gradient(ellipse 70% 50% at 10% 90%, rgba(34, 72, 33, 0.55), transparent 50%),
        linear-gradient(160deg, var(--brand-deep) 0%, var(--brand) 42%, var(--brand-mid) 78%, #4a7a42 100%);
}

.hero__atmosphere {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.06) 0 2px, transparent 3px),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.05) 0 1.5px, transparent 2.5px),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.04) 0 2px, transparent 3px);
    background-size: 180px 180px, 140px 140px, 220px 220px;
    animation: drift 28s linear infinite;
    opacity: 0.7;
}

.hero__glow {
    position: absolute;
    width: min(55vw, 520px);
    height: min(55vw, 520px);
    right: -8%;
    top: 8%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 201, 140, 0.35), transparent 68%);
    filter: blur(8px);
    animation: breathe 7s ease-in-out infinite;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 1;
    padding: clamp(3.5rem, 10vh, 6.5rem) 0 clamp(3rem, 8vh, 5rem);
    max-width: 38rem;
}

.hero__brand {
    margin: 0 0 1.1rem;
    font-size: clamp(2.6rem, 7vw, 4.4rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
    animation: rise 0.8s ease both;
}

.hero__headline {
    margin: 0 0 0.85rem;
    font-size: clamp(1.25rem, 2.8vw, 1.75rem);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.95);
    animation: rise 0.8s ease 0.12s both;
}

.hero__support {
    margin: 0 0 1.75rem;
    font-size: 1.05rem;
    color: rgba(232, 240, 228, 0.88);
    max-width: 28rem;
    animation: rise 0.8s ease 0.22s both;
}

.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    animation: rise 0.8s ease 0.32s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.85rem 1.35rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

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

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

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

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

.btn-brand:hover {
    background: var(--brand-deep);
}

/* ---------- Sections ---------- */
.section {
    padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section--tint {
    background: linear-gradient(180deg, var(--mist) 0%, var(--cream) 100%);
}

.section__head {
    margin-bottom: 2rem;
    max-width: 36rem;
}

.section__eyebrow {
    margin: 0 0 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-soft);
}

.section__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--brand-deep);
}

.section__lead {
    margin: 0;
    color: var(--muted);
}

/* Services — interaction/content list, light surface not card clutter */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.service-item {
    padding: 1.35rem 1.25rem;
    border-top: 2px solid var(--brand);
    background: transparent;
}

.service-item__media {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: var(--mist);
}

.service-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-item__title {
    margin: 0 0 0.4rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brand-deep);
}

.service-item__desc {
    margin: 0 0 0.75rem;
    font-size: 0.92rem;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-item__price {
    font-weight: 600;
    color: var(--brand);
    font-size: 0.95rem;
}

.empty-note {
    color: var(--muted);
    font-size: 0.95rem;
}

/* Screenshots placeholders */
.shots-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.shot-placeholder {
    min-height: 280px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px dashed rgba(34, 72, 33, 0.28);
    background:
        linear-gradient(135deg, rgba(34, 72, 33, 0.06), transparent 55%),
        var(--white);
    color: var(--brand);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.shot-placeholder span {
    display: block;
    margin-top: 0.35rem;
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--muted);
}

/* Categories */
.categories-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.category-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.95rem 0.55rem 0.55rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--brand-deep);
}

.category-chip img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

/* Page hero (inner pages) */
.page-hero {
    padding: clamp(2.5rem, 6vw, 4rem) 0;
    background:
        radial-gradient(ellipse 60% 80% at 90% 0%, rgba(106, 154, 91, 0.2), transparent 55%),
        linear-gradient(180deg, var(--mist), var(--cream));
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--brand-deep);
}

.page-hero p {
    margin: 0;
    max-width: 36rem;
    color: var(--muted);
}

.prose {
    max-width: 42rem;
}

.prose p {
    color: var(--muted);
    margin: 0 0 1rem;
}

.prose p:last-child {
    margin-bottom: 0;
}

.mission-list {
    margin: 1.5rem 0 0;
    display: grid;
    gap: 0.85rem;
}

.mission-list li {
    padding-left: 1.15rem;
    position: relative;
    color: var(--ink);
    font-weight: 500;
}

.mission-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--leaf);
}

/* Contact form */
.alert-success {
    margin-bottom: 1.25rem;
    padding: 0.9rem 1.1rem;
    background: #e6f4e4;
    border: 1px solid rgba(34, 72, 33, 0.2);
    border-radius: 10px;
    color: var(--brand-deep);
    font-weight: 500;
}

.contact-form {
    max-width: 640px;
    display: grid;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.field label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--brand-deep);
}

.field input,
.field textarea {
    width: 100%;
    padding: 0.8rem 0.95rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    font: inherit;
    color: var(--ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--brand-soft);
    box-shadow: 0 0 0 3px rgba(34, 72, 33, 0.12);
}

.field textarea {
    min-height: 140px;
    resize: vertical;
}

.field-error {
    margin-top: 0.3rem;
    font-size: 0.8rem;
    color: #a33a2f;
}

/* Footer */
.site-footer {
    background: var(--brand-deep);
    color: rgba(255, 255, 255, 0.82);
    padding: 2.5rem 0 1.75rem;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-brand {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 0.4rem;
}

.footer-copy {
    max-width: 22rem;
    font-size: 0.92rem;
    opacity: 0.85;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.footer-nav a {
    font-size: 0.92rem;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.footer-nav a:hover {
    opacity: 1;
    color: #c5dbb8;
}

.footer-bottom {
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Animations */
@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes breathe {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.85;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

@keyframes drift {
    from {
        background-position: 0 0, 40px 20px, 10px 60px;
    }
    to {
        background-position: 180px 120px, 180px 160px, 230px 280px;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: calc(var(--nav-h) + 0.35rem);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 12px;
        box-shadow: var(--shadow);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a {
        padding: 0.75rem 0.9rem;
        border-radius: 8px;
    }

    .nav-links .nav-admin {
        margin-top: 0.25rem;
        text-align: center;
    }

    .services-grid,
    .shots-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        align-items: center;
    }

    .hero__content {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .shot-placeholder {
        min-height: 220px;
    }
}
