/* Lillies Plants & Landscapes - flat, mobile-first design */

:root {
  /* Brand palette - one role per colour */
  --green: #046901;        /* primary action: buttons, key links */
  --green-dark: #034B01;   /* headings, footer/CTA bands */
  --green-leaf: #49AA10;   /* decorative accents only (sprig, icons) */
  --bg-light: #F5F9F3;     /* alternate section background */
  --bg: #FFFFFF;
  --text: #252525;
  --text-soft: #4a4f47;
  --border: #d8e4d2;       /* derived tint of leaf green */
  --error: #a11f1f;
  --whatsapp-green: #25D366; /* official WhatsApp brand green */

  /* Image slots - adjust each ratio here when real assets arrive */
  --ar-hero: 16 / 9;
  --ar-photo: 4 / 3;
  --ar-thumb: 4 / 3;

  --wrap: 72rem;
  /* radii - one value per element type, per screen size (mobile values here,
     desktop overrides below): cards 6px, buttons 4px, chips/badges 3px */
  --radius-card: 6px;
  --radius-btn: 4px;
  --radius-chip: 3px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { color: var(--green-dark); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(1.85rem, 6vw, 2.4rem); }
h2 { font-size: clamp(1.35rem, 4.5vw, 2rem); }
h3 { font-size: clamp(1.08rem, 3vw, 1.25rem); }
p { margin: 0 0 1rem; max-width: 70ch; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
ul, ol { padding-left: 1.25rem; margin: 0 0 1rem; }

:focus-visible {
  outline: 3px solid var(--green-leaf);
  outline-offset: 2px;
  border-radius: 2px;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--green-dark); color: #fff;
  padding: .75rem 1rem; z-index: 200;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .7rem 1.4rem;
  font-size: 1rem; font-weight: 600; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius-btn);
  cursor: pointer; text-align: center;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--bg-light); color: var(--green-dark); }
.btn-light { background: #fff; color: var(--green-dark); }
.btn-light:hover { background: var(--bg-light); color: var(--green-dark); }
.btn-ghost { border-color: #fff; color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-whatsapp { background: var(--whatsapp-green); border-color: var(--whatsapp-green); color: var(--green-dark); }
.btn-whatsapp:hover { background: #1eb85a; border-color: #1eb85a; color: var(--green-dark); }
.btn-wide { width: 100%; }
.wa-glyph { width: 18px; height: 18px; flex: none; }
.float-btn .wa-glyph { width: 30px; height: 30px; }
.icon-btn .wa-glyph { width: 20px; height: 20px; }
.btn-sm { min-height: 40px; padding: .4rem .9rem; font-size: .9rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg); border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: .75rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; height: 100%; }
.brand-logo {
  height: 100%; width: auto; max-height: 48px;
  display: block; object-fit: contain;
}
.brand-logo-footer { max-height: 56px; }

.header-actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.header-phone { display: none; font-weight: 600; color: var(--green-dark); text-decoration: none; }
.btn-quote { padding: .55rem 1rem; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--border);
  background: var(--bg); color: var(--green-dark);
  border-radius: var(--radius-btn); cursor: pointer; font-size: 1.5rem;
}
#nav-close { display: none; }

.main-nav {
  position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
  background: var(--bg); border-left: 1px solid var(--border);
  transform: translateX(100%); transition: transform .2s ease;
  z-index: 150; padding: 1rem 1.25rem;
}
.main-nav.open { transform: translateX(0); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .25rem; }
.main-nav a {
  display: block; padding: .85rem .75rem; min-height: 44px;
  color: var(--text); text-decoration: none; font-weight: 600;
  border-radius: var(--radius-btn);
}
.main-nav a[aria-current="page"] { color: var(--green); background: var(--bg-light); }
.main-nav a:hover { background: var(--bg-light); color: var(--green-dark); }
.main-nav.open #nav-close { display: inline-flex; margin-left: auto; margin-bottom: .5rem; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 140; }

/* mobile-only header extras: call icon button + WhatsApp/Call nav links */
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--border);
  border-radius: var(--radius-btn); background: var(--bg); color: var(--green-dark);
}
.main-nav li.nav-mobile-only { border-top: 1px solid var(--border); margin-top: .5rem; padding-top: .5rem; }
.main-nav li.nav-mobile-only + li.nav-mobile-only { border-top: 0; margin-top: 0; padding-top: 0; }

/* ---------- hero ---------- */
.hero { background: var(--bg-light); border-bottom: 1px solid var(--border); }
.hero-inner { display: grid; gap: 1.5rem; padding-top: 2rem; padding-bottom: 2rem; }
.hero h1 { font-size: clamp(2rem, 6.5vw, 2.6rem); }
.lede { font-size: 1.1rem; color: var(--text-soft); max-width: 55ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.hero-note {
  display: flex; align-items: center; gap: .5rem;
  margin: .9rem 0 0; font-size: .9rem; color: var(--text-soft);
}
.hero-note::before {
  content: ""; width: 7px; height: 7px; flex: none;
  border-radius: 50%; background: var(--green-leaf);
}
.hero-media img {
  width: 100%; aspect-ratio: var(--ar-hero); object-fit: cover;
  border: 1px solid var(--border); border-radius: var(--radius-card);
}

/* ---------- sections ---------- */
.section { padding: 2.5rem 0; }
.section-light { background: var(--bg-light); }
.section-head { margin-bottom: 1.75rem; max-width: 46rem; }
.section-head .sprig { color: var(--green-leaf); }
.section-head p { color: var(--text-soft); margin-bottom: 0; }
.sprig { width: 22px; height: 36px; }
.sprig-sm { width: 18px; height: 30px; flex: none; margin-top: .2rem; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; max-width: none; }
.section-head-link { flex: none; white-space: nowrap; margin-bottom: .25rem; }

.page-head { background: var(--bg-light); border-bottom: 1px solid var(--border); padding: 2.5rem 0; }
.page-head-tight { padding-bottom: 1.5rem; }
.page-head h1 { margin-bottom: .35em; }

/* ---------- photo hero (page headers) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--green-dark); color: #fff;
  padding: 3.25rem 0;
}
.page-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(1, 35, 0, .9) 10%,
    rgba(2, 55, 1, .78) 55%,
    rgba(3, 75, 1, .55) 100%);
}
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; text-shadow: 0 1px 4px rgba(0, 25, 0, .55); }
.page-hero .lede { color: rgba(255, 255, 255, .92); text-shadow: 0 1px 3px rgba(0, 25, 0, .45); }
.page-hero .lede a { color: #fff; }
.page-hero-tall { padding: 4rem 0; }
.page-hero-tall .svc-hero { max-width: 34rem; }

.crumbs { padding-top: 1rem; padding-bottom: 0; font-size: .9rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0; }

/* ---------- services ---------- */
.service-grid { list-style: none; padding: 0; display: grid; gap: 1rem; }
.service-card {
  border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 1.25rem; background: var(--bg);
  display: flex; flex-direction: column; gap: .35rem;
}
.service-card:hover { border-color: var(--green); }
.service-card h3 { margin: 0; }
.service-card p { color: var(--text-soft); margin-bottom: .5rem; flex: 1; }
.card-link { font-weight: 600; text-decoration: none; color: var(--green); }
.card-link::after { content: " \2192"; }

.svc-rows { list-style: none; padding: 0; }
.svc-row {
  display: flex; gap: 1rem; padding: 1.25rem 0;
  border-bottom: 1px solid var(--border); align-items: flex-start;
}
.svc-row h2 { margin-bottom: .2rem; font-size: 1.25rem; }
.svc-row h2 a { color: var(--green-dark); text-decoration: none; }
.svc-row h2 a:hover { color: var(--green); }
.svc-row p { color: var(--text-soft); margin-bottom: .5rem; }
.svc-row-img {
  width: 96px; flex: none;
  aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-card); border: 1px solid var(--border);
}

.svc-layout { display: grid; gap: 2rem; }
.svc-main > p:first-child { font-size: 1.05rem; }
.svc-main h2 { margin-top: 1.75rem; }
.tick-list { list-style: none; padding: 0; }
.tick-list li { padding: .4rem 0 .4rem 1.9rem; position: relative; border-bottom: 1px solid var(--bg-light); }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .85rem;
  width: 1rem; height: .55rem;
  border-left: 3px solid var(--green-leaf); border-bottom: 3px solid var(--green-leaf);
  transform: rotate(-45deg);
}
.side-photos { display: grid; gap: .75rem; margin-bottom: 1.5rem; }
.side-photos img {
  width: 100%; aspect-ratio: var(--ar-photo); object-fit: cover;
  border: 1px solid var(--border); border-radius: var(--radius-card);
}

.faq-list details { border: 1px solid var(--border); border-radius: var(--radius-card); padding: .9rem 1.1rem; margin-bottom: .6rem; }
.faq-list details[open] { border-color: var(--green-leaf); }
.faq-list summary {
  font-weight: 600; cursor: pointer; min-height: 44px;
  display: flex; align-items: center; list-style: none;
  position: relative; padding-right: 1.9rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 0;
  font-size: 1.5rem; font-weight: 400; line-height: 1; color: var(--green);
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { margin: .5rem 0 0; color: var(--text-soft); }

.quote-box {
  margin-top: 2rem; border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 1.25rem; background: var(--bg-light);
}
.quote-box-side { margin-top: 0; }
.quote-box-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }

/* ---------- gallery ---------- */
.gallery-mosaic { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.mosaic-link { display: block; position: relative; border-radius: var(--radius-card); overflow: hidden; }
.mosaic-link img { width: 100%; aspect-ratio: var(--ar-thumb); object-fit: cover; border: 1px solid var(--border); }
.mosaic-caption {
  display: block; font-size: .8rem; padding: .35rem .1rem 0; color: var(--text-soft);
}
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.filter-btn {
  min-height: 44px; padding: .5rem 1rem;
  border: 1px solid var(--border); border-radius: var(--radius-chip);
  background: var(--bg); color: var(--text);
  font-size: .95rem; font-weight: 600; cursor: pointer;
}
.filter-btn.is-active { background: var(--green); border-color: var(--green); color: #fff; }

.gallery-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
.gallery-thumb {
  display: block; width: 100%; padding: 0; border: 0;
  background: none; cursor: pointer; text-align: left; font: inherit;
}
.gallery-thumb img {
  width: 100%; aspect-ratio: var(--ar-thumb); object-fit: cover;
  border: 1px solid var(--border); border-radius: var(--radius-card);
}
.gallery-caption { display: block; font-size: .85rem; color: var(--text-soft); padding-top: .35rem; }
.gallery-item[hidden] { display: none; }
.empty-state, .empty-filter { padding: 2rem; border: 1px dashed var(--border); border-radius: var(--radius-card); color: var(--text-soft); }

/* lightbox */
.lightbox {
  border: 0; padding: 0; background: rgba(10, 20, 8, .96);
  width: 100vw; height: 100vh; max-width: none; max-height: none;
}
.lightbox::backdrop { background: rgba(10, 20, 8, .96); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; max-width: 92vw; }
.lightbox img { max-height: 78vh; max-width: 92vw; width: auto; height: auto; object-fit: contain; }
.lightbox figcaption { color: #fff; text-align: center; padding-top: .8rem; }
.lightbox-close, .lightbox-nav {
  position: fixed; width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,.4); border-radius: 50%;
  background: rgba(0,0,0,.35); color: #fff; font-size: 1.6rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: .75rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: .75rem; top: 50%; transform: translateY(-50%); }

/* ---------- why / steps ---------- */
.why-list { list-style: none; padding: 0; }
.why-list li { display: flex; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.why-list .sprig-sm { color: var(--green-leaf); }
.why-list h3 { margin-bottom: .15rem; }
.why-list p { margin: 0; color: var(--text-soft); }

.steps-list { list-style: none; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps-list li {
  padding: 1rem 0 1rem 0; border-top: 1px solid var(--border); position: relative;
}
.steps-list .sprig-step { color: var(--green-leaf); width: 16px; height: 26px; }
.steps-list h3 { margin: .35rem 0 .2rem; }
.steps-list p { margin: 0; color: var(--text-soft); }

/* ---------- reviews strip ---------- */
.review-strip { overflow: hidden; }
.review-track { display: flex; width: max-content; animation: review-scroll 70s linear infinite; }
.review-strip:hover .review-track,
.review-strip:focus-within .review-track { animation-play-state: paused; }
.review-group {
  list-style: none; margin: 0; padding: 0 1rem 0 0;
  display: flex; gap: 1rem; width: max-content;
}
.review-card {
  width: 19rem; flex: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 1.1rem 1.25rem;
  background: var(--bg); white-space: normal;
  display: flex; flex-direction: column; gap: .75rem;
}
.review-card blockquote { margin: 0; color: var(--text); flex: 1; }
.review-card footer { display: flex; flex-direction: column; font-size: .88rem; }
.review-card footer strong { color: var(--green-dark); }
.review-card footer span { color: var(--text-soft); }
.review-service {
  color: var(--green); font-weight: 600;
  font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
}
@keyframes review-scroll { to { transform: translateX(-50%); } }

/* ---------- blog ---------- */
.card-link-whole { display: flex; flex-direction: column; gap: .4rem; text-decoration: none; color: inherit; height: 100%; }
.card-link-whole:hover .card-link { color: var(--green-dark); }
.card-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-btn); border: 1px solid var(--border); }
.badge {
  display: inline-block; font-size: .75rem; font-weight: 700;
  padding: .15rem .6rem; border-radius: var(--radius-chip);
  border: 1px solid var(--border); color: var(--text-soft); width: fit-content;
}
.badge-pub { background: var(--bg-light); border-color: var(--border); color: var(--green-dark); }
.meta-line { color: var(--text-soft); font-size: .9rem; margin-bottom: 1.5rem; }
.post-hero { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-card); border: 1px solid var(--border); margin-bottom: 1.5rem; }
.article-body h2, .article-body h3, .article-body h4 { margin-top: 1.5rem; }
.article-body p, .article-body li { line-height: 1.7; }
.article-body blockquote { margin: 1.25rem 0; padding: .5rem 0 .5rem 1.25rem; border-left: 3px solid var(--border); color: var(--text-soft); font-style: italic; }
.article-body a { color: var(--green); }
.article-body ul, .article-body ol { padding-left: 1.4rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--green-dark); color: #fff; padding: 2.5rem 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dcebdc; margin-bottom: 0; }
.cta-inner { display: grid; gap: 1.25rem; position: relative; }
.sprig-cta { color: var(--green-leaf); width: 26px; height: 42px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* ---------- about ---------- */
.about-layout { display: grid; gap: 1.75rem; }
.about-photo img {
  width: 100%; aspect-ratio: var(--ar-photo); object-fit: cover;
  border: 1px solid var(--border); border-radius: var(--radius-card);
}
.about-photo figcaption { font-size: .85rem; color: var(--text-soft); padding-top: .4rem; }
.fact-list { list-style: none; padding: 0; margin-top: 1.5rem; }
.fact-list li { display: flex; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--border); }
.fact-label { font-weight: 700; color: var(--green-dark); min-width: 7.5rem; display: inline-block; }
.about-split { display: grid; gap: 1.5rem; }
.about-split > div {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 1.25rem;
}


/* ---------- contact ---------- */
.contact-layout { display: grid; gap: 2rem; }
.quote-form .field, .admin-form .field, .login-card .field { margin-bottom: 1.1rem; }
label, legend { display: block; font-weight: 600; margin-bottom: .35rem; color: var(--green-dark); }
.req { color: var(--error); }
.hint { font-weight: 400; color: var(--text-soft); font-size: .88rem; }
input[type="text"], input[type="tel"], input[type="email"], input[type="password"],
input[type="number"], select, textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem;
  font: inherit; font-size: 1rem; color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius-btn); background: var(--bg);
}
textarea { min-height: 7rem; resize: vertical; }
select {
  appearance: none; -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1.5 1.5 6 6l4.5-4.5' stroke='%23252525' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center;
}
/* tappable choice chips (radios/checkboxes dressed as cards) */
.choice-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.choice {
  display: flex; align-items: center; gap: .55rem;
  min-height: 48px; padding: .65rem 1.05rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-btn);
  background: var(--bg); font-weight: 600; color: var(--text); cursor: pointer;
}
.choice input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--green); }
.choice:has(input:checked) { border-color: var(--green); background: var(--bg-light); color: var(--green-dark); }
.pill-list { list-style: none; padding: 0; margin: 0 0 .6rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.pill {
  font-size: .82rem; font-weight: 600; color: var(--green-dark);
  background: var(--bg-light); border: 1px solid var(--border);
  border-radius: var(--radius-chip); padding: .28rem .7rem;
}
input[type="file"] {
  width: 100%; padding: .9rem; font: inherit;
  border: 1px dashed var(--border); border-radius: var(--radius-btn); background: var(--bg-light);
}
fieldset { border: 1px solid var(--border); border-radius: var(--radius-card); padding: .9rem 1rem; margin: 0; }
.check { display: flex; align-items: flex-start; gap: .6rem; font-weight: 400; color: var(--text); padding: .35rem 0; }
.check input { width: 22px; height: 22px; margin-top: .15rem; flex: none; accent-color: var(--green); }
.check a { color: var(--green); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-error { color: var(--error); font-size: .9rem; margin: .3rem 0 0; }
.form-alt { margin-top: 1rem; font-size: .92rem; color: var(--text-soft); }
.file-preview { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.file-preview img { width: 84px; height: 64px; object-fit: cover; border: 1px solid var(--border); border-radius: var(--radius-card); }

.notice { border-radius: var(--radius-card); padding: 1rem 1.25rem; margin-bottom: 1.25rem; }
.notice-success { background: var(--bg-light); border: 1px solid var(--green-leaf); }
.notice-error { background: #fbeeee; border: 1px solid var(--error); color: var(--error); }

.contact-side { display: grid; gap: 1rem; align-content: start; }
.contact-card { border: 1px solid var(--border); border-radius: var(--radius-card); padding: 1.25rem; }
.contact-card h2 { font-size: 1.1rem; }
.contact-big { font-size: 1.4rem; font-weight: 700; }
.contact-big a { color: var(--green-dark); text-decoration: none; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: .55rem 0; border-bottom: 1px solid var(--bg-light); }
.contact-list li:last-child { border-bottom: 0; }



/* ---------- 404 ---------- */
.link-cards { list-style: none; padding: 0; display: grid; gap: .8rem; margin-bottom: 1.5rem; }
.link-cards a {
  display: flex; flex-direction: column; gap: .1rem;
  border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 1rem 1.25rem; text-decoration: none; color: var(--text);
}
.link-cards a strong { color: var(--green-dark); font-size: 1.05rem; }
.link-cards a span { color: var(--text-soft); font-size: .9rem; }
.link-cards a:hover { border-color: var(--green); background: var(--bg-light); }

/* ---------- footer ---------- */
.site-footer { background: var(--green-dark); color: #dcebdd; }
.footer-grid { display: grid; gap: 1.75rem; padding-top: 2.5rem; padding-bottom: 1.5rem; }
.footer-grid h2 { color: #fff; font-size: 1rem; margin-bottom: .6rem; }
.footer-brand img { margin-bottom: .75rem; }
.footer-brand p { font-size: .92rem; }
.footer-list { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.footer-list li { padding: .25rem 0; }
.footer-list a { color: #dcebdd; }
.footer-list a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); padding-top: 1rem; padding-bottom: 1.5rem; font-size: .85rem; }
.footer-bottom a { color: #fff; }

/* ---------- floating contact: circular icons, mobile + desktop ---------- */
.float-contact {
  position: fixed; right: 16px; z-index: 120;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 12px;
}
.float-btn {
  width: 56px; height: 56px; border-radius: 50%; border: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.float-whatsapp { background: var(--whatsapp-green); }
.float-call { background: var(--green-dark); }
.float-btn:hover { color: #fff; filter: brightness(.94); }

/* ---------- admin ---------- */
.admin { background: var(--bg-light); }
.admin-header { background: var(--green-dark); }
.admin-header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; padding-top: .7rem; padding-bottom: .7rem; }
.admin-brand { color: #fff; font-weight: 700; text-decoration: none; font-size: 1.05rem; }
.admin-header nav { display: flex; flex-wrap: wrap; gap: .1rem .5rem; margin-left: auto; }
.admin-header nav a { color: #dcebdd; text-decoration: none; padding: .45rem .6rem; min-height: 44px; display: inline-flex; align-items: center; border-radius: var(--radius-btn); font-size: .95rem; }
.admin-header nav a[aria-current="page"], .admin-header nav a:hover { color: #fff; background: rgba(255,255,255,.12); }
.admin-main { padding-top: 1.75rem; padding-bottom: 4rem; }
.admin-main h1 { margin-bottom: 1.25rem; }
.admin-main h2 { margin-top: 2rem; }

.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1.25rem; }
.login-card { width: 100%; max-width: 24rem; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 1.75rem; }
.login-logo { margin-bottom: 1rem; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-bottom: 2rem; }
.stat-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 1rem; text-decoration: none; color: var(--text-soft); display: flex; flex-direction: column; gap: .2rem; }
.stat-card:hover { border-color: var(--green); }
.stat-num { font-size: 1.7rem; font-weight: 700; color: var(--green-dark); }

.lead-list { list-style: none; padding: 0; }
.lead-item { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 1rem 1.25rem; margin-bottom: .7rem; display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-start; justify-content: space-between; }
.lead-body { flex: 1; min-width: 16rem; }
.lead-meta { display: block; font-size: .85rem; color: var(--text-soft); }
.lead-msg { margin: .5rem 0 0; font-size: .95rem; }
.lead-photos { display: flex; gap: .5rem; margin-top: .6rem; flex-wrap: wrap; }
.lead-photos img { border: 1px solid var(--border); border-radius: var(--radius-card); }
.lead-status { display: flex; gap: .5rem; align-items: center; }
.lead-status select { width: auto; min-height: 40px; }
.badge { font-size: .8rem; font-weight: 700; padding: .2rem .7rem; border-radius: var(--radius-chip); border: 1px solid var(--border); }
.badge-new { background: var(--green); color: #fff; border-color: var(--green); }
.badge-contacted { background: var(--bg-light); color: var(--green-dark); }
.badge-done { color: var(--text-soft); }

.admin-form { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 1.5rem; max-width: 40rem; }
.admin-form h2 { margin-top: 0; }
.admin-note { margin-top: 2rem; max-width: 40rem; }
.admin-gallery { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.admin-gallery img { width: 100%; aspect-ratio: var(--ar-thumb); object-fit: cover; border: 1px solid var(--border); border-radius: var(--radius-card); }
.admin-gallery p { margin: .4rem 0 0; font-size: .9rem; }

.prose { max-width: 46rem; }
.prose h2 { margin-top: 1.75rem; }

@media (prefers-reduced-motion: reduce) {
  .main-nav { transition: none; }
  .review-track { animation: none; }
  .review-strip { overflow-x: auto; }
}

/* ---------- print ---------- */
@media print {
  .float-contact, .site-header .header-actions, .nav-toggle { display: none; }
}

/* ---------- breakpoints ---------- */

/* Mobile (one block): container padding 6px, card gap 6px, card padding 6px;
   2-per-line card grids; single-column card layouts get 8px edge (6+2). */
@media (max-width: 767px) {
  .wrap { padding-left: 6px; padding-right: 6px; }
  .login-wrap { padding: 8px; }
  .brand-logo { max-height: 40px; }
  .brand-logo-footer { max-height: 48px; }

  /* paired buttons: one line, equal width, no text wrap */
  .hero-actions, .cta-actions, .quote-box-actions { flex-wrap: nowrap; }
  .hero-actions .btn, .cta-actions .btn, .quote-box-actions .btn {
    flex: 1 1 0;
    white-space: nowrap;
    min-width: 0;
    min-height: 44px;
    padding: .5rem .55rem;
    font-size: .88rem;
    letter-spacing: 0;
  }

  /* card grids -> two per line */
  .service-grid, .link-cards, .side-photos { grid-template-columns: repeat(2, 1fr); }

  /* all horizontal spacing layers = 6px */
  .service-grid, .gallery-mosaic, .gallery-grid, .link-cards, .admin-gallery,
  .side-photos, .file-preview, .lead-photos, .stat-row, .filter-bar,
  .hero-actions, .cta-actions, .quote-box-actions { gap: 6px; }
  .review-strip { padding-left: 6px; }
  .service-card, .review-card, .link-cards a, .stat-card { padding: 6px; }

  /* single-column card layouts: 8px from screen edge (6px wrap + 2px) */
  .quote-box, .contact-card, .admin-form, .lead-item, .notice,
  .faq-list details { margin-left: 2px; margin-right: 2px; }

  /* room for the floating icons above the footer line */
  .footer-bottom { padding-bottom: 6rem; }
}

@media (max-width: 399px) {
  .brand-logo { max-height: 34px; }
  .btn-quote { font-size: .88rem; padding: .5rem .8rem; }
  .hero-actions .btn, .cta-actions .btn, .quote-box-actions .btn {
    font-size: .8rem;
    padding: .45rem .4rem;
  }
}

@media (min-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .admin-gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  :root { --radius-card: 8px; --radius-btn: 6px; }
  .hero-inner { grid-template-columns: 1fr 1fr; align-items: center; gap: 2.5rem; padding-top: 3rem; padding-bottom: 3rem; }
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .gallery-mosaic { grid-template-columns: repeat(3, 1fr); }
  .steps-list { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .steps-list li { border-top: 0; border-left: 1px solid var(--border); padding-left: 1.5rem; }
  .cta-inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; }
  .why-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: start; }
  .svc-layout { grid-template-columns: 2fr 1fr; gap: 3rem; }
  .page-hero { padding: 4.5rem 0; }
  .page-hero-tall { padding: 5.5rem 0; }
  .svc-row-img { width: 150px; }
  .about-layout { grid-template-columns: 3fr 2fr; gap: 3rem; align-items: start; }
  .about-split { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .contact-layout { grid-template-columns: 3fr 2fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
  .footer-bottom { padding-bottom: 2rem; }
  .link-cards { grid-template-columns: repeat(3, 1fr); }
  .side-photos { grid-template-columns: 1fr; }
  .admin-gallery { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .nav-mobile-only { display: none; }
  .main-nav {
    position: static; transform: none; width: auto;
    border: 0; padding: 0; background: transparent;
  }
  .main-nav ul { flex-direction: row; gap: .1rem; }
  .main-nav a { padding: .55rem .8rem; min-height: 44px; display: inline-flex; align-items: center; }
  .header-phone { display: inline; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-list { grid-template-columns: repeat(4, 1fr); }
  .gallery-mosaic { grid-template-columns: repeat(4, 1fr); }
  .mosaic-1 { grid-column: span 2; grid-row: span 2; }
  .mosaic-1 img { aspect-ratio: auto; height: 100%; }
  .contact-big { font-size: 1.6rem; }
}

@media (min-width: 1400px) {
  :root { --wrap: 78rem; }
}
