/* Mejores Manos · Control de plagas
   Hoja de estilos única para todo el sitio. */

@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/dm-sans-latin.woff2') format('woff2'); }
@font-face { font-family: 'DM Serif Display'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/dm-serif-display-latin.woff2') format('woff2'); }
@font-face { font-family: 'DM Serif Display'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/dm-serif-display-italic-latin.woff2') format('woff2'); }

:root {
  --cream: #f6f4ef;
  --paper: #fffefa;
  --mist: #e7ebe1;
  --forest: #173b32;
  --forest-deep: #102d27;
  --lime: #c9df6c;
  --lime-bright: #d9f276;
  --ink: #1c2c27;
  --muted-ink: #56635c;
  --line: #dfe4dc;
  --orange: #c9713a;
  --orange-soft: #df8b54;
  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --radius: 14px;
  --shadow: 0 18px 50px rgba(23, 59, 50, .10);
  --header-h: 76px;
}

*, *::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; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; text-rendering: optimizeLegibility; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; color: var(--forest); }
h1 { font-size: clamp(2.6rem, 6vw, 4.9rem); line-height: 1; margin-bottom: 24px; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.05; margin-bottom: 20px; }
h3 { font-size: 1.15rem; line-height: 1.3; color: var(--forest); margin-bottom: 8px; }
h1 em, h2 em { font-style: italic; color: var(--orange); }
.icon { width: 1.1em; height: 1.1em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 3px solid var(--orange-soft); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--forest); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-tight { padding: clamp(56px, 7vw, 84px) 0; }
.bg-paper { background: var(--paper); }
.bg-forest { background: var(--forest); color: #fff; }
.bg-forest h2, .bg-forest h3 { color: #fff; }
.bg-forest h2 em { color: var(--lime); }
.lead { font-size: 1.15rem; color: var(--muted-ink); max-width: 60ch; }
.bg-forest .lead { color: rgba(255,255,255,.72); }

.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; color: var(--forest); font-size: .78rem; font-weight: 700; letter-spacing: .16em; line-height: 1.2; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--orange); flex: 0 0 auto; }
.bg-forest .eyebrow, .eyebrow.light { color: var(--lime); }
.bg-forest .eyebrow::before, .eyebrow.light::before { background: var(--lime); }

/* Botones */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 22px; border: 1.5px solid transparent; border-radius: 999px; font-size: .95rem; font-weight: 700; line-height: 1.2; cursor: pointer; transition: transform .22s var(--ease-out), background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: scale(.97); }
.button-lime { background: var(--lime); color: var(--forest); }
.button-lime:hover { background: var(--lime-bright); box-shadow: 0 10px 24px rgba(201,223,108,.35); }
.button-dark { background: var(--forest); color: var(--cream); }
.button-dark:hover { background: var(--forest-deep); }
.button-outline { border-color: currentColor; color: var(--forest); background: transparent; }
.button-outline:hover { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.button-ghost-light { border-color: rgba(255,255,255,.45); color: #fff; }
.button-ghost-light:hover { background: #fff; color: var(--forest); border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--forest); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; transition: gap .2s var(--ease-out); }
.text-link:hover { gap: 13px; }

/* Barra superior y cabecera */
.top-strip { background: var(--forest-deep); color: rgba(255,255,255,.72); font-size: .8rem; letter-spacing: .05em; }
.top-strip .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.top-strip a { display: inline-flex; align-items: center; gap: 7px; color: var(--lime); font-weight: 700; }
.top-strip a:hover { text-decoration: underline; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(246,244,239,.92); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(23,59,50,.1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--forest); background: var(--lime); transform: rotate(-8deg); }
.brand-mark .icon { width: 20px; height: 20px; }
.brand-text strong { display: block; color: var(--forest); font-size: 1rem; letter-spacing: .12em; line-height: 1; }
.brand-text strong sup { color: var(--orange); font-size: .55rem; margin-left: 2px; }
.brand-text small { display: block; margin-top: 6px; color: var(--muted-ink); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; }

.main-nav > ul { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.main-nav a, .submenu-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 8px; color: #3e4c46; font-size: .92rem; font-weight: 600; background: none; border: 0; cursor: pointer; transition: color .18s ease, background-color .18s ease; }
.main-nav a:hover, .submenu-toggle:hover, .main-nav a[aria-current="page"] { color: var(--forest); background: var(--mist); }
.main-nav .nav-cta { margin-left: 8px; padding: 11px 18px; border-radius: 999px; background: var(--forest); color: var(--cream); }
.main-nav .nav-cta:hover { background: var(--forest-deep); color: #fff; }
.has-sub { position: relative; }
.submenu-toggle .icon { transition: transform .2s ease; }
.submenu { position: absolute; top: calc(100% + 8px); left: -8px; min-width: 290px; margin: 0; padding: 8px; list-style: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s ease, transform .18s var(--ease-out), visibility .18s; }
.submenu::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.submenu a { display: flex; width: 100%; padding: 10px 12px; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu, .has-sub.is-open .submenu { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .submenu-toggle .icon, .has-sub.is-open .submenu-toggle .icon { transform: rotate(180deg); }
.menu-toggle { display: none; width: 46px; height: 46px; place-items: center; border: 0; border-radius: 10px; background: var(--mist); color: var(--forest); cursor: pointer; }
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Hero portada */
.hero { position: relative; overflow: hidden; background: var(--forest); color: #fff; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .22; background-image: radial-gradient(rgba(201,223,108,.4) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(to right, #000, transparent 65%); mask-image: linear-gradient(to right, #000, transparent 65%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 80px); align-items: center; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.hero h1 { color: #fff; }
.hero h1 em { color: var(--lime); }
.h1-kicker { display: block; margin-bottom: 18px; font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); line-height: 1.3; }
.hero .lead { color: rgba(255,255,255,.78); margin-bottom: 32px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 36px 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.8); font-size: .92rem; }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof .icon { color: var(--lime); }
.hero-visual { position: relative; }
.hero-visual picture img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px 22px 22px 4px; box-shadow: 0 30px 70px rgba(0,0,0,.3); }
.hero-note { position: absolute; left: -20px; bottom: 28px; display: flex; align-items: center; gap: 12px; max-width: 260px; padding: 16px 18px; border-radius: 14px; background: var(--lime); color: var(--forest); box-shadow: 0 16px 36px rgba(0,0,0,.2); font-size: .85rem; line-height: 1.4; }
.hero-note .icon { width: 26px; height: 26px; }
.hero-note strong { display: block; font-size: .95rem; }
.hero-tag { position: absolute; right: 16px; top: 16px; padding: 7px 12px; border-radius: 999px; background: rgba(16,45,39,.78); color: #fff; font-size: .75rem; font-weight: 600; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

.signal-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 76px; margin: 0; padding: 18px 0; list-style: none; color: var(--muted-ink); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.signal-row li { display: inline-flex; align-items: center; gap: 10px; }
.signal-row .icon { color: var(--orange); }

/* Cabeceras de sección */
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 64px; align-items: end; margin-bottom: 52px; }
.section-head h2 { margin-bottom: 0; }
.section-head p { margin: 0; color: var(--muted-ink); }
.bg-forest .section-head p { color: rgba(255,255,255,.66); }

/* Servicios */
.services-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.service-card { position: relative; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); -webkit-tap-highlight-color: transparent; transition: transform .25s var(--ease-out), box-shadow .25s ease, border-color .25s ease; }
.service-card picture { overflow: hidden; background: var(--mist); }
.service-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease-out); }
/* Efectos de hover solo con ratón: en móvil el toque los dejaba "pegados" y Safari pintaba la tarjeta en negro al navegar. */
@media (hover: hover) and (pointer: fine) {
  .service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
  .service-card:hover img { transform: scale(1.04); }
  .service-card:hover .service-more .icon { transform: translate(3px, -3px); }
}
.service-card:active { border-color: var(--forest); }
.service-card a:focus:not(:focus-visible) { outline: none; }
.service-card a:focus-visible { outline: none; }
.service-card:focus-within:has(a:focus-visible) { outline: 3px solid var(--orange-soft); outline-offset: 3px; }
.service-body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.service-body h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; letter-spacing: -.01em; margin-bottom: 6px; }
.service-body p { flex: 1; margin-bottom: 16px; color: var(--muted-ink); font-size: .95rem; line-height: 1.55; }
.service-more { display: inline-flex; align-items: center; gap: 6px; color: var(--forest); font-size: .9rem; font-weight: 700; }
.service-card a::after { content: ''; position: absolute; inset: 0; }
.service-more .icon { transition: transform .2s var(--ease-out); }

/* Blog */
.blog-title { margin-bottom: 16px; }
.posts-grid { margin: 40px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.posts-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.post-card { position: relative; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); -webkit-tap-highlight-color: transparent; transition: transform .25s var(--ease-out), box-shadow .25s ease, border-color .25s ease; }
.post-card picture { overflow: hidden; background: var(--mist); }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s var(--ease-out); }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.post-card h2, .post-card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.2; letter-spacing: -.01em; margin-bottom: 10px; }
.post-card h2 a::after, .post-card h3 a::after { content: ''; position: absolute; inset: 0; }
.post-card h2 a:focus-visible, .post-card h3 a:focus-visible { outline: none; }
.post-card:has(a:focus-visible) { outline: 3px solid var(--orange-soft); outline-offset: 3px; }
.post-card-body > p:not(.post-meta) { flex: 1; margin-bottom: 16px; color: var(--muted-ink); font-size: .95rem; line-height: 1.55; }
.post-card:active { border-color: var(--forest); }
@media (hover: hover) and (pointer: fine) {
  .post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
  .post-card:hover img { transform: scale(1.04); }
  .post-card:hover .service-more .icon { transform: translate(3px, -3px); }
}
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 10px; color: var(--muted-ink); font-size: .82rem; }
.post-meta span { padding: 3px 10px; border-radius: 999px; background: var(--mist); color: var(--forest); font-weight: 700; letter-spacing: .04em; }
.post-header { max-width: 860px; padding-top: clamp(28px, 5vw, 56px); }
.post-header h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; }
.post-media { max-width: 860px; margin-top: 12px; }
.post-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 22px; background: var(--mist); }
.post-body { max-width: 860px; padding-top: 40px; padding-bottom: clamp(48px, 7vw, 80px); font-size: 1.08rem; }
.post-body h2 { font-size: clamp(1.7rem, 3.2vw, 2.2rem); margin: 44px 0 14px; }
.post-body p, .post-body ul { margin-bottom: 18px; }
.post-body ul { padding-left: 22px; }
.post-body li { margin-bottom: 8px; }
.post-body li::marker { color: var(--orange); }
.post-body .button { margin-top: 8px; }

/* Proceso */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); counter-reset: step; }
.steps li { position: relative; padding: 30px 32px 34px; border-right: 1px solid rgba(255,255,255,.18); }
.steps li:first-child { padding-left: 0; }
.steps li:last-child { border-right: 0; }
.step-top { display: flex; justify-content: space-between; align-items: center; color: var(--lime); font-size: .85rem; letter-spacing: .1em; }
.step-top .icon { width: 26px; height: 26px; }
.steps h3 { margin: 32px 0 10px; font-family: var(--serif); font-weight: 400; font-size: 1.75rem; color: #fff; }
.steps p { margin: 0; color: rgba(255,255,255,.66); font-size: .98rem; }
.steps-light { border-color: var(--line); }
.steps-light li { border-color: var(--line); }
.steps-light .step-top { color: var(--orange); }
.steps-light .step-top span { color: var(--forest); font-weight: 700; }
.steps-light h3 { color: var(--forest); }
.steps-light p { color: var(--muted-ink); }

/* Ofertas */
.offers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.offer-card { display: flex; flex-direction: column; padding: clamp(28px, 4vw, 44px); border-radius: 20px; }
.offer-primary { background: var(--lime); color: var(--forest); }
.offer-secondary { background: var(--paper); border: 1px solid var(--line); color: var(--forest); }
.offer-label { margin-bottom: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--forest); }
.offer-secondary .offer-label { color: var(--muted-ink); }
.offer-card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.6rem); letter-spacing: -.02em; margin-bottom: 10px; }
.offer-card > p { color: rgba(23,59,50,.78); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin: 6px 0 24px; }
.price strong { font-family: var(--serif); font-size: 3rem; font-weight: 400; line-height: 1; }
.price span { font-size: .9rem; line-height: 1.35; opacity: .75; }
.check-list { display: grid; gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.45; }
.check-list .icon { margin-top: 3px; color: var(--orange); }
.offer-card .button { margin-top: auto; align-self: flex-start; }

/* Galería de trabajos */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--mist); }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .5s var(--ease-out); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 13px; background: linear-gradient(to top, rgba(16,45,39,.92), rgba(16,45,39,0)); color: #fff; font-size: .85rem; line-height: 1.35; }
.gallery figcaption strong { display: block; color: var(--lime); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 3px; }
.gallery .wide { grid-column: span 2; }
.gallery .wide img { aspect-ratio: auto; }

/* Promesa / split */
.split { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: 20px; aspect-ratio: 4 / 3; object-fit: cover; }
.split-media::after { content: ''; position: absolute; right: -16px; bottom: -16px; width: 60%; height: 70%; border: 1.5px solid var(--lime); border-radius: 20px; z-index: -1; }
.split-media { isolation: isolate; }
.audience { display: grid; gap: 0; margin: 28px 0 30px; padding: 0; list-style: none; }
.audience li { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.audience .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--orange); }
.audience strong { display: block; color: var(--forest); }
.audience span { color: var(--muted-ink); font-size: .95rem; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; color: var(--forest); font-weight: 700; font-size: 1.08rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--mist); font-size: 1.3rem; font-weight: 400; transition: transform .25s var(--ease-out), background-color .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--lime); }
.faq details > div { padding: 0 48px 24px 0; color: var(--muted-ink); }
.faq details > div p:last-child { margin-bottom: 0; }

/* Zonas */
.zone { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.zone-icon { width: 60px; height: 60px; display: grid; place-items: center; border: 1px solid rgba(201,223,108,.45); border-radius: 50%; color: var(--lime); }
.zone-icon .icon { width: 28px; height: 28px; }
.zone h2 { margin: 0; font-size: clamp(2rem, 3.6vw, 2.7rem); }
.zone p { margin: 0; color: rgba(255,255,255,.7); }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact-direct { display: grid; gap: 12px; margin-top: 32px; }
.contact-direct a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: border-color .2s ease, transform .2s var(--ease-out); }
.contact-direct a:hover { border-color: var(--forest); transform: translateX(3px); }
.contact-direct .icon { width: 24px; height: 24px; color: var(--orange); }
.contact-direct small { display: block; color: var(--muted-ink); font-size: .82rem; }
.contact-direct strong { color: var(--forest); }
.contact-form { padding: clamp(24px, 4vw, 40px); border-radius: 20px; background: var(--paper); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { color: var(--forest); font-size: .85rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 1rem; transition: border-color .18s ease, box-shadow .18s ease; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 4px rgba(201,223,108,.45); }
.field textarea { resize: vertical; min-height: 110px; }
.field ::placeholder { color: #8d9690; }
.form-submit { width: 100%; }
.form-note { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--muted-ink); font-size: .85rem; }
.form-note .icon { color: var(--orange); }

/* Páginas de servicio */
.breadcrumb { padding-top: 18px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--muted-ink); font-size: .88rem; }
.breadcrumb li + li::before { content: '/'; margin-right: 6px; opacity: .6; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.page-hero { padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 8vw, 96px); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.page-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
.page-hero .lead { margin-bottom: 30px; }
.page-hero-media { margin: 0; }
.page-hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px 22px 22px 4px; box-shadow: var(--shadow); }
.page-hero-media figcaption { margin-top: 12px; color: var(--muted-ink); font-size: .88rem; }
.key-points { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.key-points li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--mist); color: var(--forest); font-size: .88rem; font-weight: 600; }
.key-points .icon { color: var(--orange); }

.signs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.signs li { display: flex; gap: 14px; padding: 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.signs .icon { width: 22px; height: 22px; margin-top: 3px; color: var(--orange); }
.signs strong { display: block; color: var(--forest); margin-bottom: 2px; }
.signs span { color: var(--muted-ink); font-size: .96rem; }

.prose { max-width: 70ch; }
.prose p { color: var(--muted-ink); }
.prose h3 { margin-top: 28px; }
.callout { display: flex; gap: 14px; margin: 32px 0 0; padding: 20px 22px; border-radius: var(--radius); background: #fbeee4; color: #6b3a1c; }
.callout .icon { width: 22px; height: 22px; margin-top: 3px; color: var(--orange); }
.callout p { margin: 0; color: inherit; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-card { overflow: hidden; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); }
.compare-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.compare-body { padding: 26px 28px 30px; }
.compare-body h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; margin-bottom: 14px; }
.compare-body dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; font-size: .96rem; }
.compare-body dt { color: var(--forest); font-weight: 700; }
.compare-body dd { margin: 0; color: var(--muted-ink); }

.related { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.related a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border: 1.5px solid var(--line); border-radius: 999px; color: var(--forest); font-weight: 600; background: var(--paper); transition: border-color .2s ease, background-color .2s ease; }
.related a:hover { border-color: var(--forest); background: var(--mist); }

.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(28px, 5vw, 48px); border-radius: 24px; background: var(--forest); color: #fff; }
.cta-band h2 { margin: 0 0 6px; color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.cta-band h2 em { color: var(--lime); }
.cta-band p { margin: 0; color: rgba(255,255,255,.72); }

/* Pie */
.site-footer { background: var(--forest-deep); color: rgba(255,255,255,.72); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-grid h2 { margin-bottom: 16px; color: #fff; font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer-grid a:hover { color: var(--lime); }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: rgba(255,255,255,.55); }
.footer-claim { margin: 18px 0 20px; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: rgba(255,255,255,.8); }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--lime); font-weight: 700; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: rgba(255,255,255,.55); }
.footer-bottom a { color: var(--lime); }

.floating-whatsapp { position: fixed; z-index: 50; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 20px 0 18px; border-radius: 999px; background: #25d366; color: #fff; font-weight: 700; box-shadow: 0 10px 28px rgba(16,45,39,.3); transition: transform .22s var(--ease-out), box-shadow .22s ease; }
.floating-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(16,45,39,.35); }
.floating-whatsapp .icon { width: 26px; height: 26px; fill: currentColor; stroke: none; }

/* Error 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .actions { justify-content: center; }

/* Responsive */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery .wide { grid-column: span 3; }
  .zone { grid-template-columns: auto minmax(0, 1fr); }
  .zone p, .zone .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: grid; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - var(--header-h)); overflow-y: auto; padding: 8px 24px 24px; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(23,59,50,.12); display: none; }
  .main-nav.is-open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav > ul > li:last-child { border-bottom: 0; }
  .main-nav a, .submenu-toggle { width: 100%; padding: 15px 4px; font-size: 1.05rem; border-radius: 0; }
  .main-nav a:hover, .submenu-toggle:hover { background: none; }
  .submenu-toggle { display: none; }
  .submenu { position: static; min-width: 0; padding: 0 0 8px; border: 0; box-shadow: none; background: none; opacity: 1; visibility: visible; transform: none; display: grid; grid-template-columns: 1fr 1fr; }
  .submenu a { padding: 10px 4px; font-size: .98rem; font-weight: 500; }
  .main-nav .nav-cta { justify-content: center; margin: 16px 0 0; padding: 15px 18px; border-radius: 999px; }
  .top-strip .top-claim { display: none; }
  .top-strip .container { justify-content: center; }
  .hero-grid, .page-hero-grid, .split, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 520px; }
  .hero-visual picture img, .page-hero-media img { aspect-ratio: 4 / 3; }
  .hero-note { left: 12px; bottom: -18px; }
  .section-head { grid-template-columns: minmax(0, 1fr); margin-bottom: 36px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li, .steps li:first-child { padding: 26px 0 28px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .steps-light li, .steps-light li:first-child { border-bottom-color: var(--line); }
  .steps li:last-child { border-bottom: 0; }
  .steps h3 { margin-top: 18px; }
  .offers-grid, .compare { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .posts-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 28px; }
  .post-body { font-size: 1rem; padding-top: 28px; }
  body { font-size: 16px; }
  .container { padding-left: 16px; padding-right: 16px; }
  .brand-text small { display: none; }
  .services-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .service-card { flex-direction: row; }
  .service-card picture { position: relative; flex: 0 0 38%; min-height: 150px; }
  .service-card img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .service-body { padding: 16px; }
  .service-body h3 { font-size: 1.3rem; }
  .service-body p { font-size: .9rem; margin-bottom: 10px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gallery .wide { grid-column: span 2; }
  .gallery figcaption { padding: 34px 10px 10px; font-size: .78rem; }
  .signs { grid-template-columns: minmax(0, 1fr); }
  .form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .signal-row { justify-content: flex-start; font-size: .74rem; }
  .signal-row li { flex: 1 1 45%; }
  .actions .button { flex: 1 1 100%; }
  .zone { grid-template-columns: minmax(0, 1fr); }
  .zone p, .zone .button { grid-column: 1; }
  .faq details > div { padding-right: 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); padding-top: 48px; }
  .floating-whatsapp { right: 14px; bottom: 14px; width: 58px; padding: 0; justify-content: center; }
  .floating-whatsapp span { display: none; }
  .site-footer { padding-bottom: 76px; }
  .submenu { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
