/* Jardinería en Tarragona — estilos */
:root {
  --g950: #0d2b20;
  --g900: #12392a;
  --g800: #174a35;
  --g700: #1f5f3f;
  --g600: #2c7a4b;
  --g500: #3f9454;
  --g300: #9bd36a;
  --g100: #e7f3e2;
  --sand: #f7f3ea;
  --sand2: #efe6d3;
  --clay: #c8602a;
  --clay-d: #a94e20;
  --clay-l: #f2b27e;
  --ink: #16241d;
  --muted: #56655d;
  --line: #dce4da;
  --white: #fff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(13, 43, 32, .18);
  --shadow-sm: 0 4px 16px rgba(13, 43, 32, .08);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); }
img, svg { max-width: 100%; }
a { color: var(--g700); text-underline-offset: 3px; }
a:hover { color: var(--clay-d); }
h1, h2, h3, .h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--g900); }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; }
h3, .h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--g900); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.icon { flex: none; display: inline-block; vertical-align: middle; }

/* Botones ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn--cta { background: var(--clay); color: #fff; box-shadow: 0 6px 18px rgba(200, 96, 42, .35); }
.btn--cta:hover { background: var(--clay-d); color: #fff; }
.btn--primary { background: var(--g700); color: #fff; }
.btn--primary:hover { background: var(--g900); color: #fff; }
.btn--light { background: #fff; color: var(--g900); }
.btn--light:hover { background: var(--g100); color: var(--g900); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn--line { border-color: var(--g700); color: var(--g700); background: #fff; }
.btn--line:hover { background: var(--g700); color: #fff; }
.btn[disabled] { opacity: .65; cursor: progress; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Cabecera --------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--g900); flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-size: 1.32rem; font-weight: 800; letter-spacing: -.02em; color: var(--g900); }
.brand__place { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav ul a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); font-weight: 600; text-decoration: none; }
.nav ul a:hover, .nav ul a[aria-current="page"] { background: var(--g100); color: var(--g800); }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--g800); text-decoration: none; white-space: nowrap; }
.header-cta { flex: none; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; color: var(--g900); cursor: pointer; border-radius: 8px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: inline-block; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; color: #fff; background:
    radial-gradient(1200px 500px at 85% -10%, rgba(155, 211, 106, .22), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(63, 148, 84, .45), transparent 60%),
    linear-gradient(160deg, var(--g800) 0%, var(--g900) 55%, var(--g950) 100%);
  padding: 56px 0 0; overflow: hidden; }
.hero__deco { position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M30 70c0-16 10-28 30-28 0 20-12 30-30 30' fill='none' stroke='%23fff' stroke-width='3'/%3E%3Cpath d='M90 30c0-10 6-17 18-17 0 12-7 18-18 18' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 160px 160px; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: start; padding-bottom: 56px; }
.hero h1 { color: #fff; margin-top: .2em; }
.hero__lead { font-size: 1.15rem; color: rgba(255, 255, 255, .88); max-width: 40em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-weight: 600; font-size: .92rem; color: var(--g300); }
.ticks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.ticks .icon { color: var(--g300); margin-top: 2px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__btns--center { justify-content: center; margin: 24px 0; }
.hero__form { scroll-margin-top: calc(var(--header-h) + 16px); }
.grass-edge { display: block; width: 100%; height: 80px; margin-top: -40px; position: relative; }
.hero--page { padding-top: 28px; }
.hero--page .hero__grid { padding-bottom: 48px; }
.hero--page h1 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }

/* Migas ------------------------------------------------------------------ */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 16px; font-size: .9rem; }
.crumbs li { display: flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "›"; opacity: .6; }
.crumbs a { color: inherit; opacity: .85; }
.hero .crumbs { color: rgba(255, 255, 255, .85); }
.page-head .crumbs { color: var(--muted); }

/* Formulario ------------------------------------------------------------- */
.lead-form { background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; display: grid; gap: 14px; }
.section .lead-form { border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.lead-form__head { margin-bottom: 2px; }
.lead-form__title { font-size: 1.4rem; font-weight: 800; color: var(--g900); margin: 0; letter-spacing: -.01em; }
.lead-form__sub { margin: 2px 0 0; color: var(--muted); font-size: .95rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row--msg { grid-template-columns: 130px 1fr; align-items: start; }
.field { display: grid; gap: 6px; min-width: 0; margin: 0; }
.field label, .chips legend { font-weight: 700; font-size: .9rem; color: var(--g900); }
.opt { font-weight: 500; color: var(--muted); }
.lead-form input[type="text"], .lead-form input[type="tel"], .lead-form input[type="email"], .lead-form select, .lead-form textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fbfaf7; border: 1.5px solid #cfd8cd; border-radius: var(--radius-sm); transition: border-color .15s, box-shadow .15s, background .15s; }
.lead-form textarea { min-height: 84px; resize: vertical; }
.lead-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231f5f3f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--g600); background: #fff; box-shadow: 0 0 0 4px rgba(44, 122, 75, .15); }
.lead-form .is-invalid { border-color: #c0392b !important; box-shadow: 0 0 0 4px rgba(192, 57, 43, .12) !important; }
.chips { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { margin-bottom: 8px; padding: 0; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid #cfd8cd; background: #fbfaf7; font-size: .92rem; font-weight: 600; color: var(--g800); transition: all .15s; }
.chip input:checked + span { background: var(--g700); border-color: var(--g700); color: #fff; }
.chip input:checked + span::before { content: "✓"; margin-right: 6px; }
.chip input:focus-visible + span { outline: 3px solid var(--clay); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--g700); flex: none; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; font-size: .95rem; font-weight: 600; min-height: 0; }
.form-msg:empty { display: none; }
.form-msg.is-error { color: #a82c1e; background: #fdecea; padding: 10px 14px; border-radius: var(--radius-sm); }
.lead-form__alt { margin: 0; font-size: .9rem; color: var(--muted); text-align: center; }

/* Secciones -------------------------------------------------------------- */
.section { padding: 80px 0; }
.section--tight { padding: 48px 0; }
.section--sand { background: var(--sand); }
.section--green { background: linear-gradient(160deg, var(--g800), var(--g900)); color: #fff; }
.section--green h2 { color: #fff; }
.section__head { max-width: 760px; margin-bottom: 40px; }
.section__head p:last-child { color: var(--muted); font-size: 1.08rem; }
.section--green .section__head p:last-child { color: rgba(255, 255, 255, .8); }
.kicker { margin: 0 0 8px; font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); }
.kicker--light { color: var(--clay-l); }
.lead { font-size: 1.15rem; color: var(--muted); }

.badge { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--g100); color: var(--g700); flex: none; }
.badge--sm { width: 48px; height: 48px; border-radius: 14px; }
.badge--xl { width: 88px; height: 88px; border-radius: 50%; margin-bottom: 18px; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(13, 43, 32, .12); }
.card .badge { margin-bottom: 14px; }
.card p { color: var(--muted); }
.card__link { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.card__link:hover .icon { transform: translateX(3px); }
.card__link .icon { transition: transform .15s; }

.list-check { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.list-check li { display: flex; gap: 10px; align-items: flex-start; }
.list-check .icon { color: var(--g500); margin-top: 3px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split--top { align-items: start; }
.split--rev > :first-child { order: 2; }
.split > div > p { color: var(--muted); }
.prose p, .prose li { color: var(--ink); }

.benefits { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.benefits--1col { grid-template-columns: 1fr; }
.benefits li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.section--sand .benefits li { border-color: var(--sand2); }
.benefits strong { display: block; color: var(--g900); margin-bottom: 2px; }
.benefits p { margin: 0; color: var(--muted); font-size: .95rem; }

.uses { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.uses li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--sand); border-radius: var(--radius-sm); font-weight: 600; color: var(--g900); }
.uses li .icon { color: var(--g600); }
.section--sand .uses li { background: #fff; }
.uses--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.uses--grid li { align-items: flex-start; padding: 22px; background: #fff; border: 1px solid var(--line); }
.uses--grid li .icon { margin-top: 2px; }
.uses--grid strong { display: block; }
.uses--grid p { margin: 4px 0 0; font-weight: 400; color: var(--muted); font-size: .95rem; }

.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.svc { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; scroll-margin-top: calc(var(--header-h) + 20px); }
.svc .badge { margin-bottom: 12px; }
.svc h3 { font-size: 1.1rem; }
.svc p { margin: 0; color: var(--muted); font-size: .95rem; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: s; }
.steps li { position: relative; padding: 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.steps strong { display: block; font-size: 1.1rem; margin: 10px 0 4px; }
.steps p { margin: 0; color: rgba(255, 255, 255, .8); font-size: .95rem; }
.steps__n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--clay); color: #fff; font-weight: 800; }
.steps--light { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps--light li { background: #fff; border-color: var(--sand2); }
.steps--light strong { color: var(--g900); }
.steps--light p { color: var(--muted); }

.comarcas { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin-bottom: 32px; }
.comarca { background: var(--sand); border-radius: var(--radius); padding: 20px; }
.comarca h3 { font-size: 1.02rem; margin-bottom: 10px; }
.comarca ul { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 4px; }
.comarca a { text-decoration: none; color: var(--ink); font-size: .95rem; }
.comarca a:hover { color: var(--clay-d); text-decoration: underline; }
.comarca__more { font-size: .88rem; font-weight: 700; color: var(--g700) !important; }

.town-links { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.town-links a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--g800); font-size: .93rem; font-weight: 600; }
.section--sand .town-links a { border-color: var(--sand2); }
.town-links a:hover { background: var(--g700); border-color: var(--g700); color: #fff; }

/* FAQ -------------------------------------------------------------------- */
.faq h2 { margin-bottom: 24px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; }
.section--sand .faq details { border-color: var(--sand2); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 700; color: var(--g900); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--g100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231f5f3f' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 20px 6px; color: var(--muted); }

/* CTA -------------------------------------------------------------------- */
.cta-band { background: linear-gradient(120deg, var(--clay) 0%, #b5541f 100%); color: #fff; padding: 52px 0; }
.cta-band__in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .9); font-size: 1.08rem; }
.cta-band__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn--cta { background: #fff; color: var(--clay-d); box-shadow: none; }
.cta-band .btn--cta:hover { background: var(--sand); color: var(--clay-d); }

/* Cabeceras de página simples ------------------------------------------- */
.page-head { background: var(--sand); padding: 44px 0 36px; border-bottom: 1px solid var(--sand2); }
.page-head h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.page-head--center { text-align: center; padding: 72px 0; }
.page-head--center .badge { background: var(--g700); color: #fff; }

.town-search { position: relative; max-width: 560px; margin-top: 20px; }
.town-search .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--g600); }
.town-search input { width: 100%; min-height: 56px; padding: 12px 16px 12px 50px; font: inherit; font-size: 1.05rem; border: 1.5px solid #cfd8cd; border-radius: 999px; background: #fff; }
.town-search input:focus { outline: none; border-color: var(--g600); box-shadow: 0 0 0 4px rgba(44, 122, 75, .15); }
.town-search__none { margin-top: 12px; font-weight: 600; }
.comarca-index { columns: 3 280px; column-gap: 32px; }
.comarca-block { break-inside: avoid; margin-bottom: 32px; }
.comarca-block h2 { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; border-bottom: 2px solid var(--g100); padding-bottom: 8px; scroll-margin-top: calc(var(--header-h) + 20px); }
.comarca-block .count { font-size: .8rem; font-weight: 700; background: var(--g100); color: var(--g700); padding: 2px 10px; border-radius: 999px; }
.comarca-block ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.comarca-block a { display: block; padding: 5px 8px; border-radius: 6px; text-decoration: none; color: var(--ink); }
.comarca-block a:hover { background: var(--g100); color: var(--g800); }

/* Legal ------------------------------------------------------------------ */
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.4em; }
.legal li { margin-bottom: .4em; }
.legal-data { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; background: var(--sand); padding: 20px 24px; border-radius: var(--radius-sm); }
.legal-data dt { font-weight: 700; color: var(--g900); }
.legal-data dd { margin: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 1em; }
.legal table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--sand); color: var(--g900); }

/* Pie -------------------------------------------------------------------- */
.site-footer { background: var(--g950); color: rgba(255, 255, 255, .78); padding: 64px 0 0; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--clay-l); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer__brand img { margin-bottom: 14px; height: auto; }
.site-footer__h { color: #fff; font-weight: 800; margin-bottom: 14px; }
.site-footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer__list a, .site-footer__list span { display: inline-flex; align-items: center; gap: 10px; }
.site-footer__list .icon { color: var(--g300); }
.site-footer__list--cols { grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.site-footer__list--cols li:last-child { grid-column: 1 / -1; }
.site-footer__legal { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; }
.site-footer__legal p { margin: 0; }
.site-footer__legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; }
.site-footer__legal .linklike { color: #fff; text-decoration: none; }
.site-footer__legal .linklike:hover { color: var(--clay-l); }

/* Barra móvil ------------------------------------------------------------ */
.mbar { display: none; }

/* Cookies ---------------------------------------------------------------- */
.cc-banner { position: fixed; left: 20px; bottom: 20px; z-index: 60; max-width: 520px; background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0, 0, 0, .25); border: 1px solid var(--line); padding: 22px; display: grid; gap: 14px; font-size: .93rem; }
.cc-banner[hidden] { display: none; }
.cc-banner p { margin: 0; }
.cc-banner__title { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--g900); margin-bottom: 6px !important; font-size: 1.02rem; }
.cc-banner__btns, .cc-modal__btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cc-banner .btn, .cc-modal .btn { padding-left: 10px; padding-right: 10px; }
.cc-modal { border: 0; border-radius: var(--radius); padding: 0; width: min(560px, calc(100% - 32px)); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); color: var(--ink); }
.cc-modal::backdrop { background: rgba(13, 43, 32, .55); }
.cc-modal__in { padding: 26px; display: grid; gap: 14px; }
.cc-modal__title { font-size: 1.3rem; font-weight: 800; color: var(--g900); margin: 0; }
.cc-opt { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; }
.cc-opt p { margin: 2px 0 0; font-size: .88rem; color: var(--muted); }
.cc-always { font-size: .82rem; font-weight: 700; color: var(--g600); white-space: nowrap; }
.switch { appearance: none; flex: none; width: 48px; height: 28px; border-radius: 999px; background: #cfd8cd; position: relative; cursor: pointer; transition: background .15s; margin: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .15s; }
.switch:checked { background: var(--g600); }
.switch:checked::after { transform: translateX(20px); }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1100px) {
  .comarcas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav ul a { padding: 8px 8px; }
  .nav__phone span { display: none; }
  .split .benefits { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 8px; padding: 12px 20px 22px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0, 0, 0, .12); transform: translateY(-120%); visibility: hidden; transition: transform .25s, visibility .25s; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .nav__phone { padding: 12px 6px; font-size: 1.1rem; }
  .nav__phone span { display: inline; }
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding-top: 36px; }
  .cards, .uses--grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split .benefits:not(.benefits--1col) { grid-template-columns: 1fr 1fr; }
  .split--rev > :first-child { order: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps--light { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 68px; }
  .wrap { padding: 0 16px; }
  .brand__name { font-size: 1.15rem; }
  .brand .logo-mark { width: 38px; height: 38px; }
  .field-row, .field-row--msg { grid-template-columns: 1fr; }
  .lead-form { padding: 22px 18px; }
  .hero__btns .btn { flex: 1 1 auto; }
  .benefits, .split .benefits:not(.benefits--1col) { grid-template-columns: 1fr; }
  .steps, .steps--light, .services-grid { grid-template-columns: 1fr; }
  .comarcas { grid-template-columns: 1fr 1fr; gap: 12px; }
  .comarca { padding: 16px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-band__btns, .cta-band__btns .btn { width: 100%; }
  .legal-data { grid-template-columns: 1fr; gap: 2px; }
  .legal-data dd { margin-bottom: 10px; }
  .grass-edge { height: 50px; margin-top: -25px; }
  .section { padding: 52px 0; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .08); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 12px; font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--g800); background: var(--g100); }
  .mbar__cta { background: var(--clay) !important; color: #fff !important; }
  .cc-banner { left: 8px; right: 8px; bottom: 76px; max-width: none; padding: 18px; }
}

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