/* LiGlass — hoja de estilos de la web (index.html)
   Colores tomados del logotipo original (assets/img/logo-liglass.png). */

:root {
  --brand-primary: #0d7a5f;        /* verde del logo */
  --brand-primary-dark: #095b47;
  --brand-secondary: #191a2e;      /* azul tinta del "Li" */
  --brand-accent: #7cc6ab;         /* verde claro, solo sobre fondos oscuros */
  --brand-background: #ffffff;
  --brand-surface: #f3f6f5;
  --brand-tint: #e6f1ed;
  --brand-text: #191a2e;
  --brand-muted: #5c5e66;          /* gris del lema del logo */
  --brand-line: #dde3e1;
  --wa: #1fa855;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 6px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 72px;
  --shadow: 0 1px 2px rgba(25, 26, 46, .06), 0 8px 24px rgba(25, 26, 46, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--brand-text);
  background: var(--brand-background);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-primary); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .6em; font-weight: 800; }
h3 { letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--brand-primary); outline-offset: 3px; border-radius: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--brand-secondary); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.4em;
  font: 700 .95rem/1.2 var(--font); letter-spacing: .01em;
  border-radius: var(--radius); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; fill: currentColor; }
.btn-primary { background: var(--brand-primary); color: #fff; }
.btn-primary:hover { background: var(--brand-primary-dark); }
.btn-outline { border-color: var(--brand-secondary); color: var(--brand-secondary); background: transparent; }
.btn-outline:hover { background: var(--brand-secondary); color: #fff; }
.btn-light { background: #fff; color: var(--brand-secondary); }
.btn-light:hover { background: var(--brand-tint); }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-sm { min-height: 42px; padding: .55em 1em; font-size: .88rem; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: .35em; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Encabezados de sección ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-primary); margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--brand-surface); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2, .h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
.section-head p { color: var(--brand-muted); font-size: 1.06rem; }
.subhead { margin-top: clamp(64px, 8vw, 96px); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.nav.is-scrolled { border-color: var(--brand-line); box-shadow: 0 2px 16px rgba(25,26,46,.05); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-brand { display: block; flex: none; }
.nav-brand img { height: 40px; width: auto; }
.nav-links { display: flex; gap: clamp(20px, 3vw, 40px); }
.nav-links a {
  position: relative; padding: 8px 0; font-weight: 600; font-size: .95rem;
  color: var(--brand-secondary); text-decoration: none;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--brand-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-links a:hover { color: var(--brand-primary); }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); }
.nav-links a[aria-current] { color: var(--brand-primary); }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--brand-line); border-radius: var(--radius);
  background: #fff; cursor: pointer; padding: 0; position: relative;
}
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--brand-secondary); transition: transform .25s, opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  :root { --nav-h: 64px; }
  .nav-brand img { height: 34px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px;
    background: #fff; border-bottom: 1px solid var(--brand-line); box-shadow: 0 16px 32px rgba(25,26,46,.08);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open .nav-links { visibility: visible; opacity: 1; transform: none; }
  .nav-links a { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--brand-line); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a::after { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: calc(var(--nav-h) + clamp(32px, 6vw, 72px)) 0 clamp(56px, 8vw, 96px); position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 0 auto; width: 38%;
  background: var(--brand-surface); z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.15rem, 4.6vw, 3.7rem); line-height: 1.06; letter-spacing: -0.03em; margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: var(--brand-primary); }
.hero-sub { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--brand-muted); max-width: 34em; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--brand-line); }
.hero-points li { display: flex; align-items: center; gap: .55em; font-size: .92rem; font-weight: 600; color: var(--brand-secondary); }
.hero-points svg { width: 18px; height: 18px; fill: none; stroke: var(--brand-primary); stroke-width: 2.4; flex: none; }

/* Fotografía con la retícula de 4 paños del logo */
.frame { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--brand-surface); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-grid::before, .frame-grid::after { content: ""; position: absolute; background: rgba(255,255,255,.55); pointer-events: none; }
.frame-grid::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.frame-grid::after { top: 50%; left: 0; right: 0; height: 1px; }
.hero-figure { position: relative; }
.hero-figure .frame { aspect-ratio: 4 / 4.4; }
.hero-figure::after {
  content: ""; position: absolute; left: -18px; bottom: -18px; width: 42%; height: 42%;
  border-left: 3px solid var(--brand-primary); border-bottom: 3px solid var(--brand-primary); z-index: -1;
}
.hero-badge {
  position: absolute; right: 16px; bottom: 16px; max-width: 250px;
  background: #fff; border-radius: var(--radius); padding: 12px 16px; box-shadow: var(--shadow);
  font-size: .86rem; line-height: 1.4; color: var(--brand-muted);
}
.hero-badge strong { display: block; color: var(--brand-secondary); font-size: .92rem; }

@media (max-width: 900px) {
  .hero::before { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .hero-figure .frame { aspect-ratio: 4 / 3; }
  .hero-figure::after { display: none; }
}

/* ---------- Accesos rápidos a servicios ---------- */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.quick a {
  position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden;
  color: #fff; text-decoration: none; background: var(--brand-secondary);
}
.quick img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.quick a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(25,26,46,.85)); }
.quick span { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; font-weight: 700; font-size: 1.08rem; line-height: 1.25; }
.quick small { display: block; font-weight: 500; font-size: .84rem; opacity: .85; margin-top: 4px; }
.quick a:hover img { transform: scale(1.04); }
@media (max-width: 900px) { .quick { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Beneficios ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--brand-line); border-left: 1px solid var(--brand-line); }
.benefit { padding: 28px clamp(20px, 2.5vw, 32px); border-right: 1px solid var(--brand-line); border-bottom: 1px solid var(--brand-line); background: #fff; }
.benefit svg { width: 30px; height: 30px; fill: none; stroke: var(--brand-primary); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.benefit h3 { font-size: 1.08rem; margin-bottom: .35em; }
.benefit p { color: var(--brand-muted); font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- Galería de proyectos ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.gallery button {
  position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--brand-surface);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; text-align: left;
  font: 600 .85rem/1.3 var(--font); color: #fff; background: linear-gradient(transparent, rgba(25,26,46,.8));
}
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }
@media (max-width: 480px) { .gallery { grid-auto-rows: 150px; gap: 8px; } }

/* ---------- Banda de llamada a la acción ---------- */
.cta-band { background: var(--brand-secondary); color: #fff; position: relative; overflow: hidden; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; background: rgba(255,255,255,.06); }
.cta-band::before { right: 22%; top: 0; bottom: 0; width: 1px; }
.cta-band::after { top: 50%; right: 0; width: 44%; height: 1px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(48px, 7vw, 80px) var(--gutter); position: relative; z-index: 1; }
.cta-inner h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 16em; margin-bottom: .4em; }
.cta-inner p { color: rgba(255,255,255,.75); margin: 0; max-width: 36em; }
.cta-inner .btn-row { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
@media (max-width: 860px) { .cta-inner { flex-direction: column; align-items: flex-start; } }

/* ---------- Servicios ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.service {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--brand-line); border-radius: 10px; overflow: hidden;
  scroll-margin-top: calc(var(--nav-h) + 16px); transition: box-shadow .3s, transform .3s, border-color .3s;
}
.service:hover { box-shadow: 0 18px 40px rgba(25,26,46,.10); transform: translateY(-3px); border-color: transparent; }
.service-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand-surface); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.service:hover .service-media img { transform: scale(1.05); }
.service-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(25,26,46,.35) 0%, transparent 30%, transparent 65%, rgba(25,26,46,.45) 100%); pointer-events: none; }
.service-media .service-num {
  position: absolute; top: 16px; left: 16px; z-index: 1; width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--brand-primary); color: #fff; font-weight: 800; font-size: .9rem; letter-spacing: .02em; border-radius: 6px;
}
.service-tag {
  position: absolute; left: 16px; bottom: 16px; z-index: 1; padding: .4em .85em; border-radius: 999px;
  background: rgba(255,255,255,.94); color: var(--brand-secondary); font-size: .78rem; font-weight: 700; letter-spacing: .02em;
}
.service-body { padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; flex: 1; }
.service h3 { font-size: clamp(1.25rem, 1.8vw, 1.45rem); margin: 0 0 .5em; }
.service-lead { color: var(--brand-muted); font-size: .98rem; margin-bottom: 1.1em; }
.service-inc { display: grid; gap: 8px; margin-bottom: 1.1em; }
.service-inc li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .93rem; font-weight: 600; color: var(--brand-secondary); }
.service-inc svg { width: 18px; height: 18px; fill: none; stroke: var(--brand-primary); stroke-width: 2.6; margin-top: 3px; }
.service-ideal { font-size: .88rem; color: var(--brand-muted); padding-top: 1em; border-top: 1px solid var(--brand-line); margin-bottom: 1.3em; }
.service-ideal span { font-weight: 700; color: var(--brand-primary); }
.service-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; gap: 20px; } }
@media (prefers-reduced-motion: reduce) { .service:hover { transform: none; } .service:hover .service-media img { transform: none; } }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--brand-line); }
.step { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--brand-line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-weight: 800; font-size: 2rem; letter-spacing: -.03em; color: var(--brand-primary); margin-bottom: 10px;
}
.step h3 { font-size: 1.05rem; margin-bottom: .35em; }
.step p { color: var(--brand-muted); font-size: .94rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step { padding-right: 0; } }

/* ---------- Vitrales ---------- */
.vitrales { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.vitrales button { padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; cursor: zoom-in; background: var(--brand-surface); }
.vitrales img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.vitrales button:hover img { transform: scale(1.05); }
@media (max-width: 900px) { .vitrales { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq details { border-bottom: 1px solid var(--brand-line); }
.faq details:first-child { border-top: 1px solid var(--brand-line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 700; font-size: 1.02rem; color: var(--brand-secondary);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--brand-primary); border-bottom: 2px solid var(--brand-primary); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--brand-muted); padding-right: 40px; margin: -4px 0 20px; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

/* ---------- Nosotros ---------- */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-photos { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; align-items: end; }
.about-photos .frame:first-child { aspect-ratio: 3 / 4; }
.about-photos .frame:last-child { aspect-ratio: 3 / 4; margin-bottom: 48px; }
.about-copy > p { color: var(--brand-muted); font-size: 1.04rem; }
.about-list { margin: 1.6em 0 2em; display: grid; gap: 14px; }
.about-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.about-list svg { width: 22px; height: 22px; fill: none; stroke: var(--brand-primary); stroke-width: 2.2; margin-top: 2px; }
.about-list strong { display: block; color: var(--brand-secondary); }
.about-list span { color: var(--brand-muted); font-size: .94rem; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.wa-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.2em 0 2em; }
.wa-topics a {
  display: inline-flex; align-items: center; gap: .45em; min-height: 42px; padding: .45em .95em;
  border: 1px solid var(--brand-line); border-radius: 999px; background: #fff;
  font-weight: 600; font-size: .88rem; color: var(--brand-secondary); text-decoration: none; transition: border-color .2s, color .2s;
}
.wa-topics a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--wa); }
.wa-topics a:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.info-list { display: grid; gap: 18px; margin-bottom: 1.8em; }
.info-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.info-list .ico { width: 40px; height: 40px; border-radius: var(--radius); background: var(--brand-tint); display: grid; place-items: center; }
.info-list svg { width: 20px; height: 20px; fill: var(--brand-primary); }
.info-list b { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-muted); font-weight: 700; }
.info-list a, .info-list span { color: var(--brand-secondary); font-weight: 600; text-decoration: none; }
.info-list a:hover { color: var(--brand-primary); }
.districts { font-size: .92rem; color: var(--brand-muted); }
.districts strong { color: var(--brand-secondary); }
.social { display: flex; gap: 10px; margin-top: 1.4em; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--brand-line); border-radius: 50%; color: var(--brand-secondary); }
.social a:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

.form-card { background: #fff; border: 1px solid var(--brand-line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.3rem; margin-bottom: .3em; }
.form-card > p { color: var(--brand-muted); font-size: .94rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .86rem; color: var(--brand-secondary); }
.field label small { font-weight: 500; color: var(--brand-muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 500 1rem/1.4 var(--font); color: var(--brand-text);
  padding: 12px 14px; border: 1.5px solid var(--brand-line); border-radius: var(--radius); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-primary); box-shadow: 0 0 0 3px rgba(13,122,95,.15); }
.field .error { display: none; color: #b42318; font-size: .82rem; font-weight: 600; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b42318; }
.field.has-error .error { display: block; }
.form-note { font-size: .82rem; color: var(--brand-muted); margin: 14px 0 0; }
.form-card .btn { width: 100%; margin-top: 20px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

.map { margin-top: clamp(40px, 6vw, 64px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--brand-line); aspect-ratio: 21 / 8; background: var(--brand-surface); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 700px) { .map { aspect-ratio: 4 / 3; } }

/* ---------- Páginas interiores (servicios y contacto) ---------- */
.breadcrumb { font-size: .86rem; color: var(--brand-muted); margin: 0 0 1.2rem; }
.breadcrumb a { color: var(--brand-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand-primary); text-decoration: underline; }
.breadcrumb span { margin: 0 .45em; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
.page-hero .hero-figure .frame { aspect-ratio: 4 / 4.2; }
.page-hero-plain { padding-bottom: 0; }
.page-hero-plain::before { display: none; }
.page-hero-plain .hero-copy { max-width: 760px; }

.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.model { background: #fff; border: 1px solid var(--brand-line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.model .frame { aspect-ratio: 4 / 3; border-radius: 0; }
.model-body { padding: 22px 24px 24px; }
.model-body .service-num { font-size: .78rem; font-weight: 800; letter-spacing: .14em; color: var(--brand-primary); }
.model-body h3 { font-size: 1.15rem; margin: .3em 0 .4em; }
.model-body p { color: var(--brand-muted); font-size: .95rem; margin-bottom: 1em; }
.model-plain { background: var(--brand-tint); border-color: transparent; justify-content: flex-end; min-height: 100%; }
.model-plain .model-body { padding-top: 32px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .78rem; font-weight: 700; padding: .3em .7em; border-radius: 999px; background: var(--brand-surface); color: var(--brand-secondary); }
.model-plain .tags li { background: #fff; }
@media (max-width: 900px) { .models { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .models { grid-template-columns: 1fr; } }

.steps-3 { grid-template-columns: repeat(3, 1fr); }
.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; margin-top: 8px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--brand-secondary); font-weight: 600; }
.checklist svg { width: 20px; height: 20px; fill: none; stroke: var(--brand-primary); stroke-width: 2.4; margin-top: 3px; }
@media (max-width: 560px) { .checklist { grid-template-columns: 1fr; } }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related a { display: block; padding: 22px 24px; border: 1px solid var(--brand-line); border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--brand-secondary); transition: border-color .2s; }
.related a:hover { border-color: var(--brand-primary); }
.related strong { display: block; font-size: 1.05rem; margin-bottom: .2em; }
.related span { color: var(--brand-muted); font-size: .92rem; }
@media (max-width: 760px) { .related { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--brand-secondary); color: rgba(255,255,255,.72); padding: 64px 0 28px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-logo { background: #fff; display: inline-block; padding: 10px 14px; border-radius: var(--radius); margin-bottom: 16px; }
.footer-logo img { height: 34px; width: auto; }
.footer h3 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1em; }
.footer li { margin-bottom: .55em; }
.footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer a:hover { color: var(--brand-accent); }
.footer-ruc { color: #fff; font-weight: 700; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .84rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.18); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float.is-hidden { opacity: 0; visibility: hidden; transform: translateY(12px); }
.wa-float { transition: transform .2s, opacity .25s, visibility .25s; }
@media (max-width: 560px) { .hero-actions .btn { width: 100%; } }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; max-width: min(1100px, 94vw); max-height: 92vh; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(15,16,28,.88); }
.lightbox img { max-width: 100%; max-height: 82vh; width: auto; margin: 0 auto; border-radius: var(--radius); }
.lightbox p { color: #fff; text-align: center; margin: 12px 0 0; font-weight: 600; }
.lightbox-close {
  position: absolute; top: -48px; right: 0; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
}

/* ---------- Aparición suave ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   Estilo vivo: más verde del logo y animaciones suaves
   (sobrescribe reglas anteriores; respeta prefers-reduced-motion al final)
   ===================================================================== */
:root {
  --radius: 12px;
  --brand-deep: #063d2f;           /* verde muy oscuro para fondos */
  --brand-mint: #d7eee5;
  --grad-green: linear-gradient(135deg, #0d7a5f 0%, #11946f 55%, #2fb488 100%);
}
.section-alt { background: linear-gradient(180deg, #eef7f3 0%, #f6fbf9 100%); }
.eyebrow { background: var(--brand-tint); padding: .45em .9em; border-radius: 999px; }
.eyebrow::before { width: 8px; height: 8px; border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
.section-head h2 em, .h2 em { font-style: normal; background: var(--grad-green); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Botones con brillo */
.btn { border-radius: 10px; position: relative; overflow: hidden; }
.btn-primary { background: var(--grad-green); box-shadow: 0 8px 22px rgba(13,122,95,.28); }
.btn-primary:hover { background: var(--grad-green); box-shadow: 0 12px 28px rgba(13,122,95,.38); transform: translateY(-2px); }
.btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg);
  animation: shine 4s ease-in-out infinite;
}
.btn-outline { border-color: var(--brand-primary); color: var(--brand-primary); }
.btn-outline:hover { background: var(--brand-primary); color: #fff; }

/* Hero con fondo verde animado */
.hero { overflow: hidden; background: radial-gradient(1200px 600px at 85% 10%, #d3ede2 0%, transparent 60%), radial-gradient(900px 500px at 0% 100%, #e3f3ec 0%, transparent 60%), #f7fcfa; }
.hero::before, .hero::after {
  content: ""; display: block; position: absolute; z-index: 0; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none;
}
.hero::before { inset: auto; width: 420px; height: 420px; top: 8%; right: 4%; background: #8fd6bb; animation: drift 14s ease-in-out infinite alternate; }
.hero::after { width: 360px; height: 360px; bottom: -120px; left: -80px; background: #b9e6d4; animation: drift 18s ease-in-out infinite alternate-reverse; }
.hero > .container { position: relative; z-index: 1; }
.hero h1 em { background: var(--grad-green); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-points li { background: #fff; padding: .45em .85em; border-radius: 999px; box-shadow: 0 2px 10px rgba(13,122,95,.08); }
.hero-points { border-top: 0; padding-top: 0; }
.hero-figure .frame { border-radius: 20px; box-shadow: 0 30px 60px rgba(6,61,47,.18); }
.hero-figure::after { border-color: var(--brand-primary); border-width: 4px; border-radius: 0 0 0 20px; animation: floaty 6s ease-in-out infinite; }
.hero-chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: .5em;
  background: #fff; color: var(--brand-secondary); font-weight: 700; font-size: .86rem;
  padding: .6em 1em; border-radius: 999px; box-shadow: 0 12px 28px rgba(6,61,47,.16);
  animation: floaty 5s ease-in-out infinite;
}
.hero-chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--grad-green); }
.hero-chip.c1 { top: 8%; left: -24px; }
.hero-chip.c2 { top: 46%; right: -18px; animation-delay: -1.6s; }
.hero-chip.c3 { bottom: 9%; left: 10%; animation-delay: -3.2s; }
@media (max-width: 900px) {
  .hero-chip.c1 { left: 10px; } .hero-chip.c2 { right: 10px; }
  .hero::before { width: 260px; height: 260px; }
}
@media (max-width: 480px) { .hero-chip { font-size: .76rem; } .hero-chip.c2 { display: none; } }

/* Cinta de servicios en movimiento */
.marquee { background: var(--grad-green); color: #fff; overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-weight: 800; font-size: clamp(1rem, 1.6vw, 1.2rem); letter-spacing: .01em; white-space: nowrap; }
.marquee span::after { content: ""; width: 9px; height: 9px; border: 2px solid rgba(255,255,255,.8); transform: rotate(45deg); }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* Lo que hacemos: 6 accesos */
.quick { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quick a { aspect-ratio: 4 / 3; border-radius: 16px; box-shadow: 0 10px 26px rgba(6,61,47,.10); transition: transform .35s, box-shadow .35s; }
.quick a::after { background: linear-gradient(180deg, transparent 35%, rgba(6,61,47,.92)); transition: opacity .35s; }
.quick a:hover { transform: translateY(-6px); box-shadow: 0 22px 40px rgba(6,61,47,.22); }
.quick a:hover img { transform: scale(1.08); }
.quick span { padding-right: 44px; }
.quick span::after {
  content: "→"; position: absolute; right: 0; bottom: 2px; width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 50%; background: #fff; color: var(--brand-primary); font-weight: 800; transition: transform .3s, background .3s, color .3s;
}
.quick a:hover span::after { transform: translateX(4px); background: var(--brand-primary); color: #fff; }
@media (max-width: 900px) { .quick { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .quick { gap: 10px; } .quick span { font-size: .95rem; left: 12px; right: 12px; bottom: 12px; } .quick small { display: none; } .quick span::after { width: 28px; height: 28px; } }

/* Beneficios como tarjetas verdes */
.benefits { border: 0; gap: 18px; }
.benefit { border: 1px solid var(--brand-line); border-radius: 16px; transition: transform .3s, box-shadow .3s, background .3s, color .3s; }
.benefit svg { width: 52px; height: 52px; padding: 12px; border-radius: 14px; background: var(--brand-tint); transition: background .3s, stroke .3s; }
.benefit:hover { transform: translateY(-6px); background: var(--grad-green); border-color: transparent; box-shadow: 0 20px 40px rgba(13,122,95,.28); }
.benefit:hover h3, .benefit:hover p { color: #fff; }
.benefit:hover svg { background: rgba(255,255,255,.18); stroke: #fff; }

/* Galería */
.gallery button { border-radius: 14px; }

/* Servicios: tarjetas compactas en cuadrícula de 4 */
.services { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service { border-radius: 16px; }
.service:hover { box-shadow: 0 18px 36px rgba(13,122,95,.18); border-color: var(--brand-mint); transform: translateY(-5px); }
.service-media { aspect-ratio: 16 / 11; }
.service-media::after { background: linear-gradient(180deg, transparent 55%, rgba(6,61,47,.55)); }
.service-media .service-num { width: 34px; height: 34px; font-size: .78rem; top: 12px; left: 12px; background: var(--grad-green); border-radius: 9px; }
.service-tag { left: 12px; bottom: 12px; font-size: .72rem; }
.service-body { padding: 18px 18px 20px; }
.service h3 { font-size: 1.06rem; margin-bottom: .45em; }
.service-lead { font-size: .88rem; line-height: 1.55; margin-bottom: .9em; }
.service-inc { gap: 6px; margin-bottom: .9em; }
.service-inc li { font-size: .84rem; grid-template-columns: 16px 1fr; gap: 8px; }
.service-inc svg { width: 16px; height: 16px; margin-top: 2px; }
.service-ideal { font-size: .8rem; margin-bottom: 1em; padding-top: .8em; }
.service-actions { gap: 8px 14px; }
.service-actions .btn-sm { min-height: 40px; font-size: .84rem; padding: .5em .95em; }
.service-actions .link-arrow { font-size: .84rem; }
@media (max-width: 1100px) { .services { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .services { grid-template-columns: 1fr; } .service-media { aspect-ratio: 16 / 9; } }

/* Proceso con números verdes */
.step::before { background: var(--grad-green); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 2.4rem; }

/* Banda de llamada a la acción en verde */
.cta-band { background: var(--grad-green); }
.cta-band::before { inset: auto; width: 520px; height: 520px; right: -140px; top: -200px; border-radius: 50%; background: rgba(255,255,255,.08); animation: drift 16s ease-in-out infinite alternate; }
.cta-band::after { inset: auto; width: 300px; height: 300px; left: -100px; bottom: -160px; border-radius: 50%; background: rgba(255,255,255,.07); }
.cta-band .btn-primary { background: #fff; color: var(--brand-primary); box-shadow: 0 10px 24px rgba(0,0,0,.15); }
.cta-band .btn-primary::after { background: linear-gradient(100deg, transparent, rgba(13,122,95,.18), transparent); }
.cta-inner p { color: rgba(255,255,255,.9); }

/* Contacto y formulario */
.form-card { border-radius: 18px; border-top: 4px solid var(--brand-primary); }
.info-list .ico { border-radius: 12px; background: var(--grad-green); }
.info-list svg { fill: #fff; }
.wa-topics a:hover { background: var(--brand-tint); }
.map { border-radius: 18px; }

/* Nosotros */
.about-photos .frame { border-radius: 18px; box-shadow: 0 20px 40px rgba(6,61,47,.14); }

/* Footer verde oscuro */
.footer { background: var(--brand-deep); }
.footer-logo { border-radius: 10px; }

/* WhatsApp flotante con latido */
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: ping 2.4s ease-out infinite; }

/* Aparición: más marcada y escalonada */
.js .reveal { transform: translateY(28px) scale(.98); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .hero-copy > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.js .hero-copy > :nth-child(2) { animation-delay: .08s; }
.js .hero-copy > :nth-child(3) { animation-delay: .16s; }
.js .hero-copy > :nth-child(4) { animation-delay: .24s; }
.js .hero-copy > :nth-child(5) { animation-delay: .32s; }
.js .hero-figure { animation: zoomIn 1.1s cubic-bezier(.2,.7,.2,1) both .1s; }

@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-40px, 30px) scale(1.12); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes ping { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .hero::before, .hero::after, .hero-chip, .hero-figure::after, .btn-primary::after,
  .cta-band::before, .wa-float::before, .eyebrow::before, .js .hero-copy > *, .js .hero-figure { animation: none !important; }
  .benefit:hover, .quick a:hover, .service:hover { transform: none; }
}

/* =====================================================================
   Portada: carrusel de fotos a pantalla completa
   ===================================================================== */
.hero-slider {
  position: relative; overflow: hidden; color: #fff; background: var(--brand-deep);
  min-height: clamp(600px, 100svh, 920px); padding: calc(var(--nav-h) + 28px) 0 104px;
  display: flex; align-items: center;
}
.hero-slider::before, .hero-slider::after { display: none; }
.slides { position: absolute; inset: 0; z-index: 0; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s ease; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.slide.is-active { opacity: 1; }
.slide.is-active img { animation: kenburns 7.5s ease-out forwards; }
.hero-shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6,61,47,.92) 0%, rgba(6,61,47,.72) 38%, rgba(6,61,47,.25) 70%, rgba(6,61,47,.15) 100%),
    linear-gradient(0deg, rgba(6,61,47,.75) 0%, transparent 35%);
}
.hero-slider > .hero-content { position: relative; z-index: 2; width: 100%; }
.hero-slider .hero-copy { max-width: 640px; }
.hero-slider h1 { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero-slider h1 em { background: linear-gradient(135deg, #9ff0cf 0%, #4fd1a1 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-slider .hero-sub { color: rgba(255,255,255,.9); }
.hero-slider .eyebrow { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(6px); }
.hero-slider .hero-points li { background: rgba(255,255,255,.14); color: #fff; box-shadow: none; backdrop-filter: blur(6px); }
.hero-slider .hero-points svg { stroke: #9ff0cf; }
.hero-slider .btn-ghost-light { backdrop-filter: blur(6px); background: rgba(255,255,255,.08); }

.hero-slider > .slider-ui {
  position: absolute; left: 0; right: 0; bottom: 28px; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.slide-label { margin: 0; font-size: .9rem; color: rgba(255,255,255,.8); min-width: 0; }
.slide-label span { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 700; color: #9ff0cf; }
.slide-label strong { color: #fff; font-weight: 700; display: inline-block; animation: rise .6s ease both; }
.slider-dots { display: flex; gap: 8px; }
.dot { width: 46px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.dot span { display: block; height: 4px; border-radius: 4px; background: rgba(255,255,255,.3); overflow: hidden; position: relative; }
.dot span::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.dot.is-done span::after { transform: scaleX(1); }
.dot.is-active span::after { animation: progress var(--slide-ms, 6500ms) linear forwards; }
.hero-slider.is-paused .dot.is-active span::after { animation-play-state: paused; }
.slider-arrows { display: flex; gap: 10px; }
.arrow {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.1);
  color: #fff; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .25s, transform .25s;
}
.arrow:hover { background: #fff; color: var(--brand-primary); transform: scale(1.06); }
.arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 760px) {
  .hero-slider { min-height: 100svh; padding: calc(var(--nav-h) + 28px) 0 120px; align-items: flex-end; }
  .hero-shade { background: linear-gradient(0deg, rgba(6,61,47,.94) 0%, rgba(6,61,47,.72) 45%, rgba(6,61,47,.2) 80%, rgba(6,61,47,.1) 100%); }
  .hero-slider .hero-sub, .hero-slider h1 { text-shadow: 0 2px 16px rgba(0,0,0,.45); }
  .slide-label { display: none; }
  .slider-ui { bottom: 24px; }
  .dot { width: 32px; }
  .arrow { width: 42px; height: 42px; }
}

@keyframes kenburns { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.16) translate(-1.5%, -1%); } }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .slide.is-active img { animation: none; }
  .slide { transition: none; }
  .dot.is-active span::after { animation: none; transform: scaleX(1); }
}

/* =====================================================================
   Ajustes de coherencia con la nueva portada
   ===================================================================== */
/* Zoom más suave para que las fotos se vean nítidas */
.slide img { transform: none; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }

/* Títulos de sección centrados */
.section-head { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-left: auto; margin-right: auto; max-width: 620px; }
.faq-wrap .section-head { text-align: left; margin-left: 0; }
.faq-wrap .section-head p { margin-left: 0; }

/* Sin líneas en cruz sobre las fotos */
.frame-grid::before, .frame-grid::after { display: none; }

/* Cabecera verde para páginas interiores (servicios y contacto) */
.hero-green { color: #fff; background: linear-gradient(135deg, #063d2f 0%, #0b6a52 55%, #11946f 100%); padding-bottom: clamp(56px, 7vw, 88px); }
.hero-green::before { background: #2fb488; opacity: .35; }
.hero-green::after { background: #9ff0cf; opacity: .18; }
.hero-green h1 { color: #fff; }
.hero-green h1 em { background: linear-gradient(135deg, #9ff0cf 0%, #4fd1a1 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-green .hero-sub { color: rgba(255,255,255,.88); }
.hero-green .eyebrow { background: rgba(255,255,255,.14); color: #fff; }
.hero-green .breadcrumb, .hero-green .breadcrumb a { color: rgba(255,255,255,.75); }
.hero-green .breadcrumb a:hover { color: #fff; }
.hero-green .hero-points li { background: rgba(255,255,255,.12); color: #fff; box-shadow: none; }
.hero-green .hero-points svg { stroke: #9ff0cf; }
.hero-green .hero-figure::after { border-color: #9ff0cf; }
.hero-green .hero-figure .frame { box-shadow: 0 30px 60px rgba(0,0,0,.3); }
@media (max-width: 900px) {
  .hero-green .hero-figure { order: 0; }
  .hero-green .hero-figure .frame { aspect-ratio: 16 / 10; max-height: 380px; }
}

/* Beneficios más compactos en móvil */
@media (max-width: 560px) {
  .benefits { grid-template-columns: 1fr 1fr; gap: 10px; }
  .benefit { padding: 16px 14px; }
  .benefit svg { width: 40px; height: 40px; padding: 9px; margin-bottom: 10px; }
  .benefit h3 { font-size: .95rem; }
  .benefit p { font-size: .84rem; }
}

/* =====================================================================
   Navbar verde con cinta de servicios + fondo verde en toda la página
   ===================================================================== */
:root { --bar-h: 38px; --nav-h: 112px; }
@media (max-width: 820px) { :root { --bar-h: 34px; --nav-h: 98px; } }

.nav {
  background: linear-gradient(100deg, #052f24 0%, #063d2f 45%, #0b6a52 100%);
  border-bottom: 0; backdrop-filter: none;
}
.nav.is-scrolled { box-shadow: 0 10px 30px rgba(3,30,23,.35); }
.nav-inner { height: calc(var(--nav-h) - var(--bar-h)); }
.nav-brand { background: #fff; padding: 7px 14px; border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,.18); transition: transform .25s; }
.nav-brand:hover { transform: translateY(-1px); }
.nav-brand img { height: 36px; }
.nav-links { gap: 6px; }
.nav-links a { color: rgba(255,255,255,.88); padding: 9px 18px; border-radius: 999px; transition: background .25s, color .25s; }
.nav-links a::after { display: none; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.12); }
.nav-links a[aria-current] { color: #063d2f; background: linear-gradient(135deg, #b8f5dc 0%, #6fdcb2 100%); box-shadow: 0 4px 14px rgba(111,220,178,.35); }
.nav-toggle { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.nav-toggle span { background: #fff; }

.nav-bar { height: var(--bar-h); padding: 0; display: flex; align-items: center; background: linear-gradient(90deg, #0d7a5f 0%, #11946f 50%, #2fb488 100%); border-top: 1px solid rgba(255,255,255,.12); }
.nav-bar span { font-size: .86rem; font-weight: 700; gap: 22px; padding-right: 22px; }
.nav-bar span::after { width: 7px; height: 7px; }

@media (max-width: 820px) {
  .nav-brand { padding: 5px 10px; border-radius: 10px; }
  .nav-brand img { height: 30px; }
  .nav-links { background: #063d2f; border-bottom: 0; box-shadow: 0 20px 40px rgba(3,30,23,.4); padding-top: 12px; }
  .nav-links a { border-radius: 10px; padding: 14px 16px; border-bottom: 0; margin-bottom: 4px; }
  .nav-bar span { font-size: .78rem; }
}

/* Fondo de la página: menta con luces verdes, a juego con la portada */
body { background: #eef7f3; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(700px 500px at 100% 0%, rgba(47,180,136,.16), transparent 70%),
    radial-gradient(600px 500px at 0% 60%, rgba(13,122,95,.12), transparent 70%),
    radial-gradient(800px 600px at 80% 100%, rgba(111,220,178,.16), transparent 70%),
    linear-gradient(180deg, #f2faf6 0%, #e9f5ef 100%);
}
.section-alt {
  background:
    linear-gradient(rgba(13,122,95,.05) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(13,122,95,.05) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(180deg, rgba(215,238,229,.7) 0%, rgba(238,247,243,.4) 100%);
}
.service, .model, .related a, .faq details, .form-card { background: rgba(255,255,255,.92); }

/* Sección oscura (Por qué LiGlass), igual que la portada */
.section-dark {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, #052f24 0%, #063d2f 50%, #0b6a52 100%);
}
.section-dark::before, .section-dark::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.section-dark::before { width: 420px; height: 420px; right: -120px; top: -140px; background: rgba(47,180,136,.35); animation: drift 16s ease-in-out infinite alternate; }
.section-dark::after { width: 360px; height: 360px; left: -140px; bottom: -160px; background: rgba(159,240,207,.18); }
.section-dark > .container { position: relative; z-index: 1; }
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head h2 em { background: linear-gradient(135deg, #b8f5dc 0%, #6fdcb2 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-dark .eyebrow { background: rgba(255,255,255,.12); color: #b8f5dc; }
.section-dark .benefit { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); backdrop-filter: blur(6px); }
.section-dark .benefit h3 { color: #fff; }
.section-dark .benefit p { color: rgba(255,255,255,.75); }
.section-dark .benefit svg { background: rgba(159,240,207,.14); stroke: #9ff0cf; }
.section-dark .benefit:hover { background: var(--grad-green); }
.section-dark .benefit:hover svg { stroke: #fff; }

/* Footer enlazado con el navbar */
.footer { background: linear-gradient(100deg, #052f24 0%, #063d2f 60%, #0b6a52 100%); }
@media (prefers-reduced-motion: reduce) { .section-dark::before { animation: none; } }

/* =====================================================================
   Navbar claro: el logo original se ve sin placa, con acentos verdes
   ===================================================================== */
.nav { background: linear-gradient(100deg, #ffffff 0%, #f4fbf8 55%, #e3f4ec 100%); }
.nav.is-scrolled { box-shadow: 0 8px 28px rgba(6,61,47,.14); }
.nav-brand, .nav-brand:hover { background: none; padding: 0; border-radius: 0; box-shadow: none; transform: none; }
.nav-brand img { height: 42px; }
.nav-links a { color: var(--brand-secondary); }
.nav-links a:hover { color: var(--brand-primary); background: var(--brand-tint); }
.nav-links a[aria-current] { color: #fff; background: var(--grad-green); box-shadow: 0 6px 16px rgba(13,122,95,.3); }
.nav-toggle { background: #fff; border-color: var(--brand-mint); }
.nav-toggle span { background: var(--brand-primary); }
@media (max-width: 820px) {
  .nav-brand img { height: 34px; }
  .nav-links { background: #fff; box-shadow: 0 20px 40px rgba(6,61,47,.18); }
  .nav-links a { color: var(--brand-secondary); }
}

/* =====================================================================
   Preguntas frecuentes integradas con el fondo menta
   ===================================================================== */
.faq { display: grid; gap: 10px; }
.faq details, .faq details:first-child {
  border: 1px solid rgba(13,122,95,.14); border-radius: 14px;
  background: rgba(255,255,255,.55); backdrop-filter: blur(6px);
  padding: 0 20px; transition: background .25s, border-color .25s, box-shadow .25s;
}
.faq details:hover { border-color: rgba(13,122,95,.35); background: rgba(255,255,255,.75); }
.faq details[open] { background: linear-gradient(135deg, rgba(230,241,237,.95) 0%, rgba(215,238,229,.9) 100%); border-color: rgba(13,122,95,.4); box-shadow: 0 10px 24px rgba(13,122,95,.1); }
.faq summary { padding: 18px 36px 18px 0; }
.faq summary::after { right: 4px; }
.faq details[open] summary { color: var(--brand-primary); }
.faq details p { padding-right: 20px; margin-bottom: 18px; }

/* Carrusel nítido: sin zoom (el reescalado del navegador desenfoca) y velo más ligero */
.slide.is-active img, .hero-photo .slide img { animation: none; transform: none; }
.slide img { image-rendering: auto; backface-visibility: hidden; }
.hero-slider > .slider-ui { justify-content: flex-end; gap: 24px; }
.hero-slider:not(.hero-plain-green) .hero-shade {
  background:
    linear-gradient(90deg, rgba(6,61,47,.88) 0%, rgba(6,61,47,.62) 34%, rgba(6,61,47,.12) 62%, rgba(6,61,47,0) 100%),
    linear-gradient(0deg, rgba(6,61,47,.55) 0%, transparent 28%);
}
@media (max-width: 760px) {
  .hero-slider > .slider-ui { justify-content: space-between; }
  .hero-slider:not(.hero-plain-green) .hero-shade { background: linear-gradient(0deg, rgba(6,61,47,.94) 0%, rgba(6,61,47,.7) 45%, rgba(6,61,47,.12) 80%, rgba(6,61,47,0) 100%); }
}

/* Zonas de atención (SEO local): columna del pie junto a Servicios */
.footer-grid { grid-template-columns: 1.3fr .8fr 1fr 1.3fr 1.2fr; gap: 28px; }
.footer-zones ul { column-count: 2; column-gap: 18px; }
.footer-zones li { break-inside: avoid; color: rgba(255,255,255,.85); }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Zonas de atención en el inicio */
.zones-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.zones-grid a {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; text-decoration: none;
  background: rgba(255,255,255,.75); border: 1px solid rgba(13,122,95,.14); color: var(--brand-secondary);
  font-weight: 700; transition: transform .25s, background .25s, color .25s, box-shadow .25s;
}
.zones-grid svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; flex: none; fill: #fff; background: var(--grad-green); }
.zones-grid small { display: block; font-size: .74rem; font-weight: 600; color: var(--brand-muted); }
.zones-grid a:hover { transform: translateY(-3px); background: var(--grad-green); color: #fff; box-shadow: 0 12px 26px rgba(13,122,95,.25); }
.zones-grid a:hover small { color: rgba(255,255,255,.8); }
.zones-grid a:hover svg { background: rgba(255,255,255,.2); }
@media (max-width: 520px) { .zones-grid { grid-template-columns: 1fr 1fr; gap: 8px; } .zones-grid a { padding: 10px; gap: 8px; font-size: .9rem; } .zones-grid svg { width: 28px; height: 28px; padding: 6px; } }
.footer-zones a { color: rgba(255,255,255,.85); }
