/* Rios Landscaping. Colors come from the logo (gold + pine green). */
:root {
  --gold: #ffac00;
  --gold-dark: #e39a00;
  --forest: #24311a;
  --pine: #3f4e1d;
  --moss: #5e7f2a;
  --cream: #f8f5ee;
  --sand: #efe9dc;
  --ink: #1e2316;
  --muted: #5b6250;
  --line: #ddd5c4;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(36, 49, 26, 0.12);
  --head: "Archivo", "Arial Black", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--cream); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pine); }
a:hover { color: var(--moss); }
h1, h2, h3 { font-family: var(--head); font-stretch: 108%; line-height: 1.1; margin: 0 0 0.5em; color: var(--forest); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 850; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 750; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 860px; margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }
.eyebrow { font-family: var(--head); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--moss); margin-bottom: 0.6em; }
.lead { font-size: 1.2rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--head); font-weight: 750; font-size: 1rem; padding: 13px 22px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; transition: transform 0.15s, background 0.15s; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 16px 28px; font-size: 1.08rem; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-dark); color: var(--ink); }
.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.7); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.btn-ghost-dark { color: var(--forest); border-color: var(--forest); margin-bottom: 1.5rem; }
.btn-outline { color: var(--forest); border-color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--white); }
.btn-block { width: 100%; }

/* Top bar + header */
.topbar { background: var(--forest); color: #d8dccb; font-size: 0.85rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 64px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 0.95; font-family: var(--head); color: var(--gold); }
.brand-rios { font-size: 1.75rem; font-weight: 900; font-stretch: 112%; letter-spacing: 0.02em; }
.brand-sub { font-size: 0.82rem; font-weight: 800; letter-spacing: 0.14em; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.97rem; }
.site-nav > ul > li > a { display: block; padding: 10px 12px; border-radius: 8px; }
.site-nav > ul > li > a:hover, .site-nav a[aria-current] { color: var(--pine); background: var(--sand); }
.has-sub { position: relative; }
.sub { display: none; position: absolute; top: 100%; left: 0; min-width: 260px; list-style: none; margin: 0; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.sub a { display: block; padding: 8px 12px; border-radius: 6px; font-weight: 500; }
.sub a:hover { background: var(--sand); }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.phone-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--head); font-weight: 750; color: var(--forest) !important; white-space: nowrap; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 24px; height: 2.5px; background: var(--forest); border-radius: 2px; position: relative; transition: 0.2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; }
.bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero, .page-hero { position: relative; color: var(--white); overflow: hidden; background: var(--forest); }
.hero-bg, .page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after, .page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 28, 12, 0.85) 0%, rgba(20, 28, 12, 0.55) 55%, rgba(20, 28, 12, 0.15) 100%); }
.hero-inner, .page-hero-inner { position: relative; z-index: 1; }
.hero-inner { min-height: min(78vh, 720px); display: flex; flex-direction: column; justify-content: center; padding: 80px 0; max-width: 1180px; }
.hero-inner > * { max-width: 640px; }
.hero h1, .page-hero h1 { color: var(--white); }
.hero .eyebrow, .page-hero .eyebrow { color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-note { margin-top: 18px; font-size: 0.95rem; color: #e4e7d8; }
.page-hero-inner { padding: 90px 0 80px; }
.page-hero-inner > * { max-width: 680px; }

/* Trust bar */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 20px 10px; text-decoration: none; color: var(--ink); border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { font-family: var(--head); font-size: 1.05rem; color: var(--forest); }
.trust-item span:not(.stars) { font-size: 0.88rem; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: 2px; }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-tint { background: var(--sand); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split-reverse > :first-child { order: 0; }

/* Service cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: 0 1px 0 var(--line); border: 1px solid var(--line); transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); font-size: 0.97rem; flex: 1; }
.card-link { font-family: var(--head); font-weight: 750; color: var(--pine); }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.mini-card { display: flex; flex-direction: column; gap: 4px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.mini-card strong { font-family: var(--head); color: var(--forest); }
.mini-card span { color: var(--muted); font-size: 0.95rem; }
a.mini-card:hover { border-color: var(--moss); }

.include-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--moss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Before / after slider */
.ba { margin: 0; }
.ba-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); --pos: 50%; aspect-ratio: 4 / 3; }
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 3; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: var(--white); transform: translateX(-50%); z-index: 2; pointer-events: none; }
.ba-handle::after { content: "↔"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-weight: 900; box-shadow: var(--shadow); }
.ba-label { position: absolute; top: 14px; z-index: 2; background: rgba(20, 28, 12, 0.75); color: var(--white); font-family: var(--head); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; pointer-events: none; }
.ba-label-before { left: 14px; }
.ba-label-after { right: 14px; }
.ba figcaption { margin-top: 12px; color: var(--muted); font-size: 0.95rem; text-align: center; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px; }
.gallery-small { grid-template-columns: repeat(4, 1fr); margin-top: 20px; }
.gallery-item { display: block; border-radius: 10px; overflow: hidden; }
.gallery-item img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.04); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(10, 14, 6, 0.9); }
.lightbox img { max-width: 94vw; max-height: 86vh; border-radius: 8px; }
.lightbox button { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--white); font-size: 1.6rem; cursor: pointer; }

/* Process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); font-family: var(--head); font-weight: 900; font-size: 1.2rem; margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; }

/* Reviews */
.reviews-section { background: var(--forest); color: #e8ebdf; }
.reviews-section h2 { color: var(--white); }
.reviews-section a:not(.btn) { color: var(--gold); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.review { margin: 0; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.review blockquote { margin: 0; font-size: 1.05rem; color: var(--white); flex: 1; }
.review figcaption { font-size: 0.92rem; }
.review .muted { color: #b9bfad; }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-family: var(--head); font-weight: 700; color: var(--forest); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--moss); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }

/* Areas */
.area-pills { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.area-pills li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; }
.area-pills a { text-decoration: none; font-weight: 700; }
.area-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.area-list { columns: 2; padding-left: 1.1em; }

/* About */
.prose { font-size: 1.08rem; }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--pine), var(--forest)); color: #e8ebdf; padding: 64px 0; }
.cta-band h2 { color: var(--white); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cta-inner p { margin: 0; max-width: 560px; }

/* Contact + form */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-facts { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.contact-facts strong { display: inline-block; min-width: 86px; font-family: var(--head); color: var(--forest); }
.contact-photo { border-radius: var(--radius); }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.estimate-form { display: grid; gap: 16px; }
.estimate-form label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
.estimate-form input:not([type="radio"]), .estimate-form select, .estimate-form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--cream); width: 100%; color: var(--ink); }
.estimate-form input:focus, .estimate-form select:focus, .estimate-form textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.choice { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.choice legend { font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; padding: 0; }
.choice label { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.choice input { accent-color: var(--pine); width: 18px; height: 18px; }
.file input { padding: 10px; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 0.88rem; color: var(--muted); margin: 0; text-align: center; }

/* Footer */
.site-footer { background: #1a2312; color: #c9cebd; padding: 64px 0 24px; font-size: 0.95rem; }
.site-footer a { color: #e6e9dc; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer h2 { color: var(--white); font-size: 1rem; letter-spacing: 0.05em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .muted { color: #9aa18c; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 0.8fr 1.2fr; gap: 36px; }
.brand-footer { margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 40px; padding-top: 20px; font-size: 0.85rem; color: #9aa18c; }
.mobile-bar { display: none; }

/* Tablet */
@media (max-width: 1060px) {
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; padding: 12px 16px 20px; gap: 12px; max-height: calc(100vh - 110px); overflow-y: auto; }
  .site-nav.open { display: flex; }
  .site-nav > ul { flex-direction: column; gap: 0; }
  .site-nav > ul > li > a { padding: 12px 8px; font-size: 1.05rem; }
  .sub { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 6px 12px; min-width: 0; }
  .sub a { padding: 7px 8px; color: var(--muted); }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-actions .btn { width: 100%; }
  .phone-link { justify-content: center; padding: 8px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Phone */
@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .topbar-inner > span:last-child { display: none; }
  .topbar { font-size: 0.78rem; text-align: center; }
  .topbar-inner { justify-content: center; }
  .header-inner { min-height: 66px; }
  .brand img { width: 46px; }
  .brand-rios { font-size: 1.45rem; }
  .brand-sub { font-size: 0.7rem; }
  .hero-inner { min-height: 0; padding: 72px 0 64px; }
  .hero::after, .page-hero::after { background: linear-gradient(180deg, rgba(20, 28, 12, 0.55), rgba(20, 28, 12, 0.85)); }
  .page-hero-inner { padding: 64px 0 56px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .lead { font-size: 1.08rem; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .split, .contact-grid, .steps, .values, .area-cols { grid-template-columns: 1fr; }
  .split-reverse > :first-child { order: 1; }
  .card-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery-small { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-inner .hero-actions { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px; font-family: var(--head); font-weight: 800; text-decoration: none; background: var(--forest); color: var(--white); }
  .mobile-bar .mobile-bar-gold { background: var(--gold); color: var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* Form errors + character counter */
.field-error { color: #b3261e; font-size: 0.86rem; font-weight: 500; min-height: 0; }
.field-error:empty { display: none; }
.estimate-form .invalid { border-color: #b3261e !important; }
.char-count { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.char-count.done { color: var(--moss); }

/* FAQ link, footer areas, city pages */
.faq-more { margin-top: 18px; font-family: var(--head); font-weight: 700; }
.footer-areas { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-areas p { margin: 0; line-height: 2; }
.highlight-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.highlight-list li { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px; padding: 16px 20px; }
.highlight-list a { font-family: var(--head); font-weight: 750; text-decoration: none; color: var(--forest); }
.highlight-list p { margin: 4px 0 0; color: var(--muted); }
.area-pills a { color: var(--forest); }
.project-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; }
.project-steps figure { margin: 0; }
.project-steps img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.project-steps figcaption { font-family: var(--head); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--moss); margin-top: 8px; }
@media (max-width: 760px) { .project-steps { grid-template-columns: 1fr; } }

/* Reviews page */
.reviews-more { margin: 32px 0 0; }
.rating-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 32px; }
.rating-summary p { margin: 0; }
.rating-summary .btn { margin-left: auto; }
.rating-big { font-family: var(--head); font-weight: 900; font-size: 3.4rem; line-height: 1; color: var(--forest); }
.stars-lg { font-size: 1.5rem; }
.review-wall { columns: 3 300px; column-gap: 18px; margin-bottom: 24px; }
.review-light { break-inside: avoid; margin: 0 0 18px; background: var(--white); border: 1px solid var(--line); }
.review-light blockquote { color: var(--ink); }
.review-light .muted { color: var(--muted); }
@media (max-width: 760px) { .rating-summary .btn { margin-left: 0; width: 100%; } }
