/* =========================================================
   Cultiva Jardinería — estilos
   Pensado para lectura fácil: texto grande, alto contraste,
   botones amplios y animaciones suaves.
   ========================================================= */
:root {
  --brand: #086800;
  --brand-dark: #054a00;
  --forest: #0b2a12;
  --lime: #c6f06b;
  --gold: #b08d57;
  --serif: "Fraunces", Georgia, serif;
  --mint: #e3f0d6;
  --soft: #f3f1e8;
  --ink: #17221a;
  --text: #33413a;
  --line: #dcdcd2;
  --radius: 18px;
  --shadow: 0 18px 40px -20px rgba(11, 42, 18, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Outfit", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; font-size: 112.5%; } /* base 18px */
body { margin: 0; font-family: var(--font); color: var(--text); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; margin: 0; letter-spacing: -.01em; }
.hero h1, h2 { font-family: var(--serif); }
h2 { font-family: var(--serif); font-size: clamp(2rem, 3.8vw, 2.8rem); font-weight: 600; margin-bottom: 36px; }
h3 { font-size: 1.2rem; font-weight: 600; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); padding: 10px 16px; border-radius: 8px; z-index: 999; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1140px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(780px, 100% - 40px); }
.section { padding: clamp(64px, 9vw, 104px) 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--forest); color: #e8efe6; }
.section--dark h2, .section--dark h3 { color: #fff; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: .8em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .3s var(--ease), background .25s, color .25s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { min-height: 60px; padding: .9em 1.8em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -12px rgba(8, 104, 0, .8); }
.btn--primary:hover { background: var(--brand-dark); }
.btn--outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn--outline:hover { background: var(--brand); color: #fff; }

/* ---------- Navegación ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(0,0,0,.3); }
.nav__inner { width: min(1180px, 100% - 32px); margin: auto; display: flex; align-items: center; justify-content: space-between; height: 84px; }
.nav__brand img { height: 64px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a:not(.btn) { text-decoration: none; font-weight: 500; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .25s, color .25s; }
.nav__links a:not(.btn):hover { color: var(--brand); border-color: var(--brand); }
.nav__toggle { display: none; align-items: center; gap: 10px; min-height: 48px; background: none; border: 2px solid var(--line); border-radius: 999px; padding: 0 18px; cursor: pointer; font: 600 1rem var(--font); color: var(--ink); }
.nav__bars { display: grid; gap: 4px; }
.nav__bars span { display: block; width: 18px; height: 2px; background: currentColor; transition: transform .3s, opacity .3s; }
.nav.is-open .nav__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__bars span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Inicio ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(90% 70% at 85% 10%, #f4f0e1 0%, transparent 60%), linear-gradient(180deg, #fbfaf6 0%, #f3f1e8 100%); padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 100px); }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding-bottom: clamp(24px, 4vw, 40px); }
.eyebrow { display: inline-block; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: var(--mint); color: var(--brand-dark); font-weight: 600; font-size: .9rem; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; }
.h1__line { display: block; animation: rise 1s var(--ease) both; }
.h1__accent { color: var(--brand); font-style: italic; font-weight: 500; animation-delay: .15s; }
.h1__accent::after { content: none; }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); margin: 20px 0 32px; max-width: 30em; animation: rise 1s var(--ease) .3s both; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; animation: rise 1s var(--ease) .45s both; }
.trust { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-weight: 500; color: var(--ink); animation: rise 1s var(--ease) .6s both; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; flex: none; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes grow { to { transform: scaleX(1); } }

/* Foto: presentación con zoom lento y filtro cálido */
.hero__photo { position: relative; isolation: isolate; animation: rise 1.2s var(--ease) .2s both; }
.hero__photo::before { content: ""; position: absolute; inset: 18px -16px -16px 18px; border-radius: 30px; border: 1.5px solid var(--gold); opacity: .7; z-index: -1; }
.slides { aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.slides img.is-active { opacity: 1; animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.14) translate(1.5%, 1%); } to { transform: scale(1) translate(0, 0); } }
.hero__tag { position: absolute; left: -18px; bottom: 28px; z-index: 3; background: #fff; color: var(--ink); padding: 10px 18px; border-radius: 999px; font-size: .95rem; box-shadow: 0 12px 30px -12px rgba(0,0,0,.35); animation: float 5s ease-in-out infinite; }
.hero__tag b { color: var(--brand); }
@keyframes float { 50% { transform: translateY(-8px); } }

/* Filtro cálido para fotos (luz de tarde) */
.photo-warm { position: relative; }
.photo-warm img { filter: saturate(1.15) contrast(1.05) brightness(1.03) sepia(.07); }
.photo-warm::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; border-radius: inherit;
  background: radial-gradient(120% 80% at 85% 0%, rgba(255, 205, 110, .38), transparent 55%), linear-gradient(0deg, rgba(8, 60, 0, .2), transparent 40%);
  mix-blend-mode: soft-light; }

/* Hojas que caen: siluetas botánicas, tonos sobrios y profundidad */
.leaves { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; perspective: 600px; }
.fleaf { position: absolute; top: -60px; width: 22px; fill: #6f8f4e; opacity: .75; animation: leaffall linear infinite; will-change: transform; }
.fleaf .rib { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 1.2; }
.fleaf--1 { left: 6%;  width: 20px; animation-duration: 19s; animation-delay: -2s; }
.fleaf--2 { left: 22%; width: 14px; fill: #b08d57; opacity: .6; animation-duration: 24s; animation-delay: -14s; filter: blur(.6px); }
.fleaf--3 { left: 41%; width: 26px; fill: #4f6f38; animation-duration: 21s; animation-delay: -8s; }
.fleaf--4 { left: 57%; width: 12px; fill: #9bb06a; opacity: .55; animation-duration: 27s; animation-delay: -19s; filter: blur(1px); }
.fleaf--5 { left: 72%; width: 18px; fill: #b08d57; opacity: .65; animation-duration: 22s; animation-delay: -4s; }
.fleaf--6 { left: 86%; width: 24px; animation-duration: 20s; animation-delay: -11s; }
.fleaf--7 { left: 95%; width: 13px; fill: #9bb06a; opacity: .5; animation-duration: 26s; animation-delay: -16s; filter: blur(.8px); }
@keyframes leaffall {
  0%   { transform: translate3d(0, 0, 0) rotate(-20deg) rotateY(0deg); }
  25%  { transform: translate3d(50px, 28vh, 0) rotate(30deg) rotateY(160deg); }
  50%  { transform: translate3d(-20px, 56vh, 0) rotate(-10deg) rotateY(320deg); }
  75%  { transform: translate3d(40px, 84vh, 0) rotate(40deg) rotateY(480deg); }
  100% { transform: translate3d(0, 112vh, 0) rotate(10deg) rotateY(640deg); }
}

/* Ilustración botánica de línea fina que se dibuja sola */
.botanic { position: absolute; pointer-events: none; color: var(--brand); }
.botanic path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawline 3.5s var(--ease) forwards paused; }
.botanic.is-in path { animation-play-state: running; }
.botanic path:nth-child(n+2) { animation-delay: .8s; }
.botanic path:nth-child(n+4) { animation-delay: 1.2s; }
.botanic path:nth-child(n+8) { animation-delay: 1.6s; }
.botanic path:nth-child(n+12) { animation-delay: 2s; }
@keyframes drawline { to { stroke-dashoffset: 0; } }
.botanic--hero { z-index: 1; width: 220px; right: 46%; bottom: -30px; opacity: .22; transform: rotate(-14deg); }
.botanic--quote { z-index: 0; width: 280px; right: -40px; top: 40px; color: var(--gold); opacity: .25; transform: rotate(18deg); }
.botanic > g { animation: breeze 8s ease-in-out infinite; transform-origin: 50% 100%; transform-box: fill-box; }
@keyframes breeze { 50% { transform: rotate(2.5deg); } }

/* Barra de avance de lectura */
.mowbar { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; }
.mowbar__cut { position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); background: linear-gradient(90deg, var(--brand), var(--gold)); }

/* ---------- Servicios ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.service:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.service__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--mint); display: grid; place-items: center; margin-bottom: 18px; }
.service__icon svg { width: 30px; height: 30px; fill: none; stroke: var(--brand); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { margin-bottom: 8px; }
.service p { margin: 0; }

.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.audience__item { padding: 28px; border-radius: var(--radius); background: var(--forest); color: #dfe8dc; }
.audience__item:first-child { background: var(--brand-dark); }
.audience__item h3 { color: #fff; margin-bottom: 8px; }
.audience__item p { margin: 0; }

/* ---------- Trabajos ---------- */
.section__row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.section__row h2 { margin: 0; }
.link-ig { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand); text-decoration: none; }
.link-ig:hover { text-decoration: underline; }
.link-ig svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.link-ig .fill { fill: currentColor; stroke: none; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; grid-auto-flow: dense; gap: 16px; }
.gallery__item { position: relative; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: #ddd; }
.gallery__item:first-child { grid-row: span 2; }
.gallery__item:last-child { grid-column: 3; grid-row: 2 / span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 14px; text-align: left; color: #fff; font: 600 1rem var(--font); background: linear-gradient(transparent, rgba(0,0,0,.72)); }

/* ---------- Preguntas ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 24px; font-weight: 600; font-size: 1.1rem; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--brand); font-size: 1.4rem; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 22px; }

/* ---------- Cotizar ---------- */
.quote { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.quote h2 { margin-bottom: 28px; }
.steps { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 16px; font-size: 1.1rem; }
.steps li { display: flex; align-items: center; gap: 14px; }
.steps b { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--forest); }
.quote__alt { margin: 0 0 12px; font-weight: 500; }
.quote__contacts { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-pill { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid rgba(255,255,255,.4); color: #fff; text-decoration: none; font-weight: 600; transition: background .25s, border-color .25s; }
.contact-pill:hover { background: rgba(255,255,255,.12); border-color: var(--lime); }

.form { position: relative; background: #fff; color: var(--ink); border-radius: 24px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 600; }
.field small { font-weight: 400; color: #5d6a60; }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem var(--font); color: var(--ink); background: #fff; border: 2px solid #c9cdc4; border-radius: 12px; padding: 14px 16px; min-height: 56px; transition: border-color .25s, box-shadow .25s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(8,104,0,.15); }
.field input.is-invalid { border-color: #b3261e; box-shadow: 0 0 0 4px rgba(179,38,30,.12); }
.hp { position: absolute; left: -9999px; }
.form__error { margin: 0; color: #b3261e; font-weight: 600; text-align: center; }
.form__error:empty { display: none; }
.btn__spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; }
.is-sending .btn__spinner { display: inline-block; }
.is-sending { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes heroIn { from { opacity: 0; transform: scale(.96); } }
.form__success { position: absolute; inset: 0; border-radius: inherit; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 30px; }
.form__success svg { width: 84px; height: 84px; fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.form__success circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .8s var(--ease) forwards; }
.form__success path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s var(--ease) .6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form__success p { margin: 0 0 12px; }

/* ---------- Pie ---------- */
.footer { background: #06180a; color: #c9d4c6; padding: 48px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__logo { width: 110px; height: auto; filter: brightness(0) invert(1); }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer__links a { text-decoration: none; font-weight: 500; }
.footer__links a:hover { color: var(--lime); text-decoration: underline; }
.footer__copy { margin: 0; font-size: .9rem; opacity: .7; }

/* ---------- Botón flotante ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--brand); color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); transform: translateY(160%); transition: transform .5s var(--ease), background .25s; }
.fab.is-visible { transform: none; }
.fab:hover { background: var(--brand-dark); }
.fab svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }

/* ---------- Visor de fotos ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(4,14,6,.94); display: grid; place-items: center; padding: 24px; }
.lightbox figure { margin: 0; }
.lightbox img { max-height: 82vh; max-width: 92vw; border-radius: 12px; animation: heroIn .4s var(--ease); }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 12px; font-size: 1.1rem; }
.lightbox button { position: absolute; background: #fff; color: var(--ink); border: 0; width: 56px; height: 56px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: var(--lime); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav--prev { left: 18px; top: 50%; translate: 0 -50%; }
.lightbox__nav--next { right: 18px; top: 50%; translate: 0 -50%; }

/* ---------- Aparición suave al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav__inner { height: 72px; }
  .nav__brand img { height: 52px; }
  .nav__toggle { display: inline-flex; }
  .nav__links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.3); padding: 8px 20px 20px; display: none; }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a:not(.btn) { padding: 16px 4px; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .nav__links .btn { margin-top: 16px; }
  .hero__inner, .quote, .audience { grid-template-columns: 1fr; }
  .hero__photo { max-width: 460px; }
  .slides { aspect-ratio: 4 / 3; }
  .hero__tag { left: 12px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .gallery__item:first-child { grid-row: span 1; grid-column: span 2; }
  .gallery__item:last-child { grid-column: auto; grid-row: auto; }
}
@media (max-width: 560px) {
  .services, .form__grid { grid-template-columns: 1fr; }
  .services { gap: 12px; }
  .service { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; padding: 18px; align-items: start; }
  .service__icon { width: 52px; height: 52px; margin: 0; grid-row: span 2; }
  .service h3 { margin-bottom: 4px; font-size: 1.1rem; }
  .hero__cta .btn { width: 100%; }
  .hero__photo::before { inset: 14px -10px -10px 14px; }
  .gallery { grid-auto-rows: 170px; gap: 10px; }
  .gallery__item span { font-size: .9rem; padding: 28px 10px 10px; }
  .fab span { display: none; }
  .fab { padding: 0; width: 60px; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Galería: aparición tipo cortina y brillo ---------- */
.gallery__item span { z-index: 2; }
.gallery__item::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.gallery__item:hover::after { transform: translateX(120%); }
.gallery__item:hover img { filter: saturate(1.3) contrast(1.08) brightness(1.05); }
.gallery__item.reveal { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round var(--radius)); transition: clip-path 1.1s var(--ease); transition-delay: var(--d, 0s); }
.gallery__item.reveal.is-in { clip-path: inset(0 0 0 0 round var(--radius)); }

/* ---------- Botón WhatsApp y teléfono ---------- */
.btn--wa { background: #fff; color: #128c3e; border-color: #25d366; }
.btn--wa:hover { background: #25d366; color: #fff; }
.btn--wa svg, .nav__phone svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.nav__phone { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 700; color: var(--brand); white-space: nowrap; }
.nav__phone:hover { text-decoration: underline; }
@media (max-width: 1080px) and (min-width: 821px) { .nav__phone { display: none; } }
@media (max-width: 820px) { .nav__phone { padding: 16px 4px; font-size: 1.15rem; } }

/* ---------- Títulos con brote que crece ---------- */
.section h2.reveal::before { content: ""; display: inline-block; width: .9em; height: .9em; margin-right: .3em; vertical-align: -.08em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23086800' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 44V22M24 22c0-9 6-16 16-16 0 10-7 16-16 16ZM24 28C24 20 18 14 8 14c0 9 7 14 16 14Z'/%3E%3C/svg%3E") center/contain no-repeat;
  transform: scale(0) rotate(-30deg); transform-origin: bottom center; transition: transform .8s var(--ease) .3s; }
.section--dark h2.reveal::before { filter: brightness(0) invert(1); }
.section h2.reveal.is-in::before { transform: none; }

/* ---------- Íconos de servicios con movimiento ---------- */
.service:hover .service__icon { animation: wiggle .6s ease-in-out; background: var(--lime); }
@keyframes wiggle { 25% { transform: rotate(-10deg); } 75% { transform: rotate(8deg); } }

/* ---------- Decoración de la sección cotizar ---------- */
.section--dark { position: relative; overflow: hidden; }
.quote { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .gallery__item.reveal { clip-path: none; }
  .fleaf { display: none; }
  .botanic path { stroke-dashoffset: 0; }
}

/* ---------- Acabados premium ---------- */
.eyebrow { background: none; padding: 0; border-radius: 0; color: var(--gold); letter-spacing: .18em; text-transform: uppercase; font-size: .8rem; display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold); }
.steps b { background: transparent; border: 1.5px solid var(--gold); color: #f1e6cf; font-family: var(--serif); font-weight: 500; }
.service:hover .service__icon { background: var(--brand); }
.service:hover .service__icon svg { stroke: #fff; }
.service { border-color: #e6e3d8; }
.section h2.reveal::before { filter: none; }
.section--dark h2.reveal::before { filter: sepia(1) saturate(.6) brightness(1.6); }
.hero__tag { font-family: var(--serif); font-style: italic; }
.hero__tag b { font-style: normal; font-family: var(--font); }


/* ---------- Ajustes para celulares (iPhone y Android) ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font-size: 1rem; }
.fab { bottom: calc(20px + env(safe-area-inset-bottom, 0px)); right: calc(20px + env(safe-area-inset-right, 0px)); }
.link-ig, .footer__links a { display: inline-flex; align-items: center; min-height: 44px; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23086800' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 16px center/18px no-repeat; }
@media (hover: none) {
  .service:hover, .btn:hover { transform: none; }
  .gallery__item:hover img { transform: none; }
}

/* ---------- Asistente virtual ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fab { transform: none; }
.fab .leaf { stroke: var(--lime); stroke-width: 1.6; }
.fab[aria-expanded="true"] { background: var(--forest); }

.chat-hint { position: fixed; right: 20px; bottom: calc(92px + env(safe-area-inset-bottom, 0px)); z-index: 41; max-width: 250px; background: #fff; color: var(--ink); border: 1px solid #e6e3d8; border-radius: 18px 18px 4px 18px; padding: 16px 36px 16px 18px; box-shadow: var(--shadow); animation: rise .6s var(--ease); }
.chat-hint p { margin: 0; font-size: .95rem; line-height: 1.45; cursor: pointer; }
.chat-hint b { color: var(--brand); }
.chat-hint__close { position: absolute; top: 6px; right: 8px; width: 28px; height: 28px; border: 0; background: none; font-size: 1.2rem; color: #6b766d; cursor: pointer; border-radius: 50%; }
.chat-hint__close:hover { background: var(--soft); }

.chat { position: fixed; right: 20px; bottom: calc(92px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: min(390px, calc(100vw - 40px)); height: min(600px, calc(100vh - 130px)); display: flex; flex-direction: column; background: #fbfaf6; border: 1px solid #e6e3d8; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 70px -25px rgba(11, 42, 18, .55); opacity: 0; transform: translateY(16px) scale(.98); transform-origin: bottom right; transition: opacity .25s var(--ease), transform .3s var(--ease); }
.chat.is-open { opacity: 1; transform: none; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--forest); color: #fff; position: relative; }
.chat__head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
.chat__avatar { width: 44px; height: 44px; border-radius: 50%; background: #fff; flex: none; }
.chat__who { flex: 1; min-width: 0; }
.chat__who h2 { margin: 0; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: #fff; }
.chat__who p { margin: 2px 0 0; font-size: .82rem; color: #cfdacb; display: flex; align-items: center; gap: 6px; }
.chat__dot { width: 8px; height: 8px; border-radius: 50%; background: #6fdc6f; box-shadow: 0 0 0 3px rgba(111, 220, 111, .2); }
.chat__wa, .chat__close { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; cursor: pointer; font-size: 1.5rem; line-height: 1; text-decoration: none; flex: none; transition: background .2s; }
.chat__wa:hover, .chat__close:hover { background: rgba(255,255,255,.12); }
.chat__wa svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.chat__log { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.chat__msg { max-width: 85%; padding: 11px 15px; border-radius: 18px; font-size: 1rem; line-height: 1.5; white-space: pre-line; word-wrap: break-word; animation: rise .35s var(--ease); }
.chat__msg a { color: inherit; font-weight: 600; }
.chat__msg--assistant { align-self: flex-start; background: #fff; color: var(--ink); border: 1px solid #e6e3d8; border-bottom-left-radius: 6px; }
.chat__msg--assistant a { color: var(--brand); }
.chat__msg--user { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 6px; }
.chat__typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.chat__typing span { width: 7px; height: 7px; border-radius: 50%; background: #9aa69b; animation: typing 1.2s infinite ease-in-out; }
.chat__typing span:nth-child(2) { animation-delay: .15s; }
.chat__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 16px 10px; }
.chat__chips button { border: 1px solid #d9d4c3; background: #fff; color: var(--brand-dark); border-radius: 999px; padding: 8px 14px; font: 500 .9rem var(--font); cursor: pointer; min-height: 40px; transition: border-color .2s, background .2s; }
.chat__chips button:hover { border-color: var(--gold); background: #fffdf6; }
.chat__form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid #e6e3d8; background: #fff; }
.chat__form textarea { flex: 1; resize: none; border: 1.5px solid #d6d9d0; border-radius: 16px; padding: 12px 14px; font: 400 1rem/1.4 var(--font); color: var(--ink); max-height: 120px; min-height: 48px; }
.chat__form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(8,104,0,.12); }
.chat__form button { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; transition: background .2s, opacity .2s; }
.chat__form button:hover { background: var(--brand-dark); }
.chat__form button:disabled { opacity: .5; cursor: wait; }
.chat__form svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.chat__note { margin: 0; padding: 0 14px 10px; background: #fff; font-size: .75rem; color: #6b766d; text-align: center; }
.chat__note a { color: var(--brand); font-weight: 600; }

@media (max-width: 560px) {
  .chat { right: 0; left: 0; bottom: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; border: 0; }
  .chat.is-open ~ .fab, body:has(.chat.is-open) .fab { display: none; }
  .chat-hint { right: 12px; left: auto; }
  .fab span { display: inline; }
  .fab { width: auto; padding: 0 18px 0 14px; }
}

/* ---------- Páginas por comuna y servicio ---------- */
.hero--landing { padding-bottom: clamp(48px, 7vw, 80px); }
.hero--landing h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.breadcrumb { font-size: .9rem; color: #6b766d; margin: 0 0 14px; }
.breadcrumb a { color: var(--brand); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.landing-intro { display: grid; grid-template-columns: 1.4fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.landing-intro__text p { margin: 0 0 18px; font-size: 1.08rem; max-width: 40em; }
.landing-intro__text h2 { margin-bottom: 24px; }
.landing-card { background: #fbfaf6; border: 1px solid #e6e3d8; border-radius: var(--radius); padding: 28px; position: relative; }
.landing-card::before { content: ""; position: absolute; left: 28px; top: 0; width: 48px; height: 2px; background: var(--gold); }
.landing-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; margin-bottom: 16px; }
.chips-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips-list li { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid #e0dccd; font-weight: 500; font-size: .95rem; color: var(--ink); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.check-list li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; flex: none; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat; }
.services--3 { grid-template-columns: repeat(3, 1fr); }
.services--3 .service h3 { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; }
.gallery--mini { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 300px; }
.gallery--mini .gallery__item:first-child, .gallery--mini .gallery__item:last-child { grid-row: auto; grid-column: auto; }
.landing-more { margin-top: 40px; text-align: center; }
.landing-more p { margin: 0 0 14px; font-weight: 600; color: var(--ink); }
.landing-more div { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pill-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid #d9d4c3; background: #fff; color: var(--brand-dark); text-decoration: none; font-weight: 500; transition: border-color .2s, background .2s; }
.pill-link:hover { border-color: var(--gold); background: #fffdf6; }
.footer__seo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.footer__seo h2 { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; color: #fff; margin: 0 0 12px; }
.footer__seo ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer__seo a { display: inline-flex; min-height: 36px; align-items: center; color: #c9d4c6; text-decoration: none; font-size: .95rem; }
.footer__seo a:hover { color: var(--lime); text-decoration: underline; }
@media (max-width: 860px) {
  .landing-intro { grid-template-columns: 1fr; }
  .services--3 { grid-template-columns: 1fr; }
  .gallery--mini { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .footer__seo { grid-template-columns: 1fr; }
}
.service__link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin-top: 10px; color: var(--brand); font-weight: 600; text-decoration: none; }
.service__link span { transition: transform .3s var(--ease); }
.service__link:hover span { transform: translateX(4px); }
