/* Vidres Manresa — premium one-page rebuild
   Brand palette extracted from live site:
   - Logo lime:  #91D50A   (acento marca)
   - Primary:    #2F8B4F   (verde oficina)
   - Forest:     #1B3724   (oscuro corporativo)
*/

:root {
  /* ===== PALETA ELEGANTE — cream + deep forest + brass accent ===== */
  /* Brand lime (preservada — identidad de marca) — usada con moderación */
  --lime:        #B8D55F;
  --lime-600:    #9CB849;
  --lime-100:    #E8EDCF;
  /* Verdes profundos (más sofisticados que antes) */
  --green:       #1F5C36;
  --green-700:   #163E25;
  --forest:      #0F2A1B;
  --forest-900:  #07140C;
  /* Accent brass / champagne — toque de lujo en italics y detalles */
  --brass:       #B89464;
  --brass-600:   #9B7B54;
  --brass-100:   #F1E8D6;
  /* Texto */
  --ink:         #14201A;
  --muted:       #5C625B;
  --muted-2:     #8A8E87;
  /* Líneas y fondos (cálidos) */
  --line:        #E6E2D6;
  --line-2:      #F2EEE3;
  --bg:          #FAF7EE;
  --bg-soft:     #F2EEE2;
  --white:       #ffffff;

  --google-blue:   #1A73E8;
  --google-yellow: #FBBC04;
  --whatsapp:      #25D366;

  --radius:      14px;
  --radius-lg:   22px;
  --radius-xl:   28px;
  --shadow-sm:   0 1px 2px rgba(20, 32, 26, .05), 0 2px 8px rgba(20, 32, 26, .04);
  --shadow:      0 8px 30px rgba(20, 32, 26, .08);
  --shadow-lg:   0 24px 60px rgba(20, 32, 26, .14);

  --sans:        "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif:       "Fraunces", "Times New Roman", serif;
  --mono:        "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --container:   1200px;

  /* premium rebuild */
  --gradient-hero: linear-gradient(135deg, #0F1F14 0%, #143A22 45%, #1F5733 100%);
  --gradient-cta:  linear-gradient(135deg, var(--lime) 0%, var(--lime-600) 100%);
  --gradient-lime: linear-gradient(135deg, rgba(145, 213, 10, .18), rgba(47, 139, 79, .22));
  --glow-lime:     0 0 40px rgba(145, 213, 10, .35);
  --glow-soft:     0 24px 60px -12px rgba(15, 26, 18, .25);
  --ease:          cubic-bezier(.2, .8, .2, 1);
  --ease-out:      cubic-bezier(.16, 1, .3, 1);
  --reveal-y:      28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  letter-spacing: -.005em;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  padding: 0 24px;
  margin: 0 auto;
}

.skip {
  position: absolute; top: -40px; left: 8px;
  background: var(--forest); color: #fff;
  padding: 8px 12px; border-radius: 6px; z-index: 100;
}
.skip:focus { top: 8px; }

.link {
  color: var(--green);
  border-bottom: 1px solid currentColor;
  font-weight: 600;
}
.link:hover { color: var(--lime-600); }

/* ========== TOP BAR ========== */
.topbar {
  background: var(--forest-900);
  color: rgba(255, 255, 255, .82);
  font-size: .82rem;
}
.topbar__row {
  display: flex; align-items: center; justify-content: space-between;
  height: 38px;
}
.topbar__left, .topbar__right {
  display: flex; align-items: center; gap: 14px;
}
.topbar .dot { color: var(--lime); }
.topbar a {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255, 255, 255, .85);
  transition: color .15s;
}
.topbar a:hover { color: var(--lime); }
.topbar__cta { font-weight: 600; }

/* ========== NAV ========== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.nav--scrolled { box-shadow: 0 6px 24px rgba(15, 26, 18, .08); }
.nav__row {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px; gap: 24px;
}
.nav__brand img { height: 42px; width: auto; }
.nav__menu {
  display: flex; align-items: center; gap: 28px;
}
.nav__menu > a {
  font-weight: 600; font-size: .95rem; color: var(--forest);
  position: relative; padding: 6px 0;
  transition: color .2s;
}
.nav__menu > a:not(.btn):hover { color: var(--green); }
.nav__menu > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav__menu > a:not(.btn):hover::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  background: transparent; border: 0; padding: 8px;
  width: 44px; height: 44px;
}
.nav__toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--forest); margin: 5px auto;
  transition: transform .25s, opacity .25s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 8px 16px; font-size: .85rem; }
.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }
.btn--primary {
  background: var(--lime); color: var(--forest);
  box-shadow: 0 8px 22px rgba(145, 213, 10, .35);
}
.btn--primary:hover { background: var(--lime-600); box-shadow: 0 12px 28px rgba(145, 213, 10, .45); }
.btn--secondary {
  background: var(--forest); color: #fff;
}
.btn--secondary:hover { background: var(--green-700); }
.btn--ghost {
  background: transparent; color: var(--forest);
  border-color: var(--forest);
}
.btn--ghost:hover { background: var(--forest); color: #fff; }
.btn--ghost-light {
  background: rgba(255, 255, 255, .12); color: #fff;
  border-color: rgba(255, 255, 255, .35);
  backdrop-filter: blur(8px);
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, .22); border-color: #fff; }

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: clamp(560px, 78vh, 760px);
  isolation: isolate;
  display: flex; align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero__image {
  position: absolute; inset: 0; z-index: -2;
}
.hero__image img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.1);
}
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, rgba(15, 31, 20, .92) 0%, rgba(15, 31, 20, .72) 45%, rgba(15, 31, 20, .35) 100%),
    radial-gradient(900px 500px at 90% 110%, rgba(145, 213, 10, .25), transparent 60%);
}
.hero__inner {
  padding: 96px 0 80px;
  max-width: 760px;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: rgba(145, 213, 10, .15);
  border: 1px solid rgba(145, 213, 10, .35);
  border-radius: 999px;
  font-size: .82rem; font-weight: 600;
  color: #DCEAD8;
  margin-bottom: 22px;
}
.hero__dot {
  width: 8px; height: 8px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(145, 213, 10, .25);
  animation: dot-pulse 1.8s ease-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(145, 213, 10, .25); }
  50%      { box-shadow: 0 0 0 8px rgba(145, 213, 10, .05); }
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  font-weight: 700;
  margin: 0 0 22px;
  color: #fff;
}
.hero__title .accent {
  color: var(--lime);
  font-style: italic;
  font-weight: 600;
}
.hero__lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, .85);
  max-width: 600px;
  margin: 0 0 32px;
  line-height: 1.55;
}
.hero__cta {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px;
}
.hero__rating {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px;
  font-size: .9rem;
  color: rgba(255, 255, 255, .9);
  backdrop-filter: blur(8px);
}
.hero__rating-stars {
  display: inline-flex; gap: 1px;
}
.hero__rating strong { color: #fff; font-weight: 700; }

/* ========== TRUST STRIP ========== */
.trust {
  background: var(--forest);
  color: #fff;
  padding: 32px 0;
}
.trust__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
  text-align: center;
}
.trust__item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  position: relative;
}
.trust__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -12px; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 40px;
  background: rgba(255, 255, 255, .15);
}
.trust__item strong {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--lime);
  line-height: 1;
}
.trust__item span {
  font-size: .82rem;
  color: rgba(255, 255, 255, .75);
  letter-spacing: .03em;
}

/* ========== SECTION HEAD ========== */
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-weight: 600;
  font-size: .72rem;
  color: var(--green);
  margin: 0 0 18px;
  padding: 0;
  background: transparent;
  font-family: var(--mono);
}
.eyebrow--light {
  color: var(--lime);
  background: rgba(145, 213, 10, .15);
}
.section-head {
  text-align: center;
  margin: 0 auto 56px;
  max-width: 720px;
}
.section-head h2,
section h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.015em;
  color: var(--forest);
  margin: 0 0 14px;
}
.section-head--light h2 { color: #fff; }
.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}
.section-lead--light { color: rgba(255, 255, 255, .75); }

/* ========== SERVICIOS / CARTA ========== */
.carta {
  padding: 100px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .3s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(47, 139, 79, .25);
}
.card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--line-2);
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.card:hover .card__media img { transform: scale(1.06); }
.card__tag {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(15, 31, 20, .85);
  color: var(--lime);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.card__body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--forest);
  letter-spacing: -.01em;
}
.card p {
  color: var(--muted);
  font-size: .95rem;
  margin: 0 0 16px;
  flex: 1;
}
.card__link {
  font-weight: 700;
  color: var(--green);
  font-size: .9rem;
  align-self: flex-start;
}
.card__link:hover { color: var(--lime-600); }

/* ========== PROYECTOS ========== */
.projects {
  padding: 100px 0;
  background: var(--bg);
}
.filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}
.chip {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--forest);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .88rem;
  transition: all .2s ease;
}
.chip:hover { border-color: var(--green); color: var(--green); }
.chip.is-active {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.grid__item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--line-2);
  cursor: pointer;
  transition: transform .35s ease, opacity .25s ease;
}
.grid__item.is-hidden { display: none; }
.grid__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.grid__item:hover img { transform: scale(1.05); }
.grid__item--tall { grid-row: span 2; }
.grid__item--wide { grid-column: span 2; }
.grid__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 20px 16px;
  background: linear-gradient(transparent, rgba(15, 31, 20, .85));
  color: #fff;
  transform: translateY(8px);
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
}
.grid__item:hover figcaption { transform: translateY(0); opacity: 1; }
.grid__item figcaption span {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
}
.grid__item figcaption small {
  display: block;
  font-size: .82rem;
  color: rgba(255, 255, 255, .8);
  margin-top: 2px;
}

/* ========== TIPOS DE VIDRIO ========== */
.glass-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-900) 100%);
  color: #DCEAD8;
  position: relative;
  overflow: hidden;
}
.glass-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(145, 213, 10, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(145, 213, 10, .04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}
.glass__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.glass__grid li {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  padding: 12px 16px 12px 12px;
  border-radius: var(--radius);
  transition: background .2s, border-color .2s, transform .2s;
  cursor: pointer;
  position: relative;
}
.glass__grid li:hover,
.glass__grid li:focus-visible {
  background: rgba(145, 213, 10, .08);
  border-color: rgba(145, 213, 10, .35);
  transform: translateY(-2px);
  outline: none;
}
.glass__grid li::after {
  content: "";
  position: absolute;
  top: 14px; right: 14px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(145, 213, 10, .15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2391D50A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3Cpath d='M11 8v6M8 11h6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transform: scale(.8);
  transition: opacity .25s, transform .25s;
}
.glass__grid li:hover::after,
.glass__grid li:focus-visible::after { opacity: 1; transform: scale(1); }
.material__thumb {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(145, 213, 10, .35), rgba(47, 139, 79, .55));
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.material__thumb::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.18) 0%, transparent 50%, rgba(0,0,0,.2) 100%);
  pointer-events: none;
}
.glass__grid span {
  display: block; font-weight: 700; color: #fff; font-size: 1.02rem;
}
.glass__grid small {
  display: block; margin-top: 4px;
  color: rgba(220, 234, 216, .6); font-size: .82rem;
}

/* ========== RESEÑAS ========== */
.reviews {
  padding: 100px 0;
  background: var(--white);
}
.reviews__header {
  display: flex; justify-content: center; align-items: center; gap: 24px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.reviews__google { height: 36px; width: auto; }
.reviews__score {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 16px;
  background: var(--bg-soft);
  border-radius: var(--radius);
}
.reviews__score strong {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--forest);
  line-height: 1;
}
.reviews__score small {
  display: block;
  font-size: .75rem;
  color: var(--muted);
  margin-top: 2px;
}
.stars { color: var(--google-yellow); font-size: 1rem; letter-spacing: 1px; }
.stars--sm { font-size: .9rem; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.stars--sm small { color: var(--muted); font-size: .78rem; margin-left: auto; font-family: var(--sans); letter-spacing: 0; }
.star--off { color: #E0E0E0; }

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: box-shadow .25s ease, border-color .2s ease, transform .2s ease;
  position: relative;
}
.review:hover {
  box-shadow: var(--shadow);
  border-color: var(--line-2);
  transform: translateY(-2px);
}
.review__head {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 12px;
}
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c1, #1A73E8), var(--c2, #4285F4));
  color: #fff;
  font-weight: 700;
  display: grid; place-items: center;
  font-size: .92rem;
  flex-shrink: 0;
}
.review__head strong { display: block; color: var(--forest); font-size: .96rem; }
.review__head small { display: block; color: var(--muted-2); font-size: .78rem; margin-top: 1px; }
.review__source { margin-left: auto; opacity: .85; flex-shrink: 0; }
.review p {
  margin: 0;
  color: var(--ink);
  font-size: .95rem;
  line-height: 1.6;
}

.review--cta {
  background: linear-gradient(135deg, var(--forest) 0%, var(--green-700) 100%);
  color: #fff;
  border: 0;
  display: flex; flex-direction: column; justify-content: center;
  text-align: center;
}
.review--cta h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin: 0 0 10px;
  color: #fff;
}
.review--cta p {
  color: rgba(255, 255, 255, .85);
  margin-bottom: 18px;
  font-size: .92rem;
}
.review--cta .btn { margin-bottom: 12px; }
.reviews__google-link {
  font-size: .85rem;
  color: var(--lime);
  font-weight: 600;
}
.reviews__google-link:hover { color: #fff; }

/* ========== NOSOTROS ========== */
.about {
  padding: 100px 0;
  background: var(--bg);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.about__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__media::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--radius-xl);
  border: 8px solid rgba(145, 213, 10, .25);
  pointer-events: none;
  mix-blend-mode: overlay;
}
.about__copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}
.about__bullets {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin: 28px 0 0; padding: 0; list-style: none;
}
.about__bullets li {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 18px 24px;
  border-radius: var(--radius);
  text-align: center;
  flex: 1;
  min-width: 120px;
}
.about__bullets strong {
  display: block;
  color: var(--green);
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
}
.about__bullets span {
  display: block;
  font-size: .82rem;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: .03em;
}

/* ========== CONTACTO ========== */
.contact {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}

/* Form */
.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: block;
  margin-bottom: 16px;
}
.field > span {
  display: block;
  font-weight: 600;
  font-size: .88rem;
  color: var(--forest);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(47, 139, 79, .12);
}
.field--check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .85rem;
  color: var(--muted);
  cursor: pointer;
  margin: 8px 0 18px;
}
.field--check input {
  width: auto;
  margin-top: 3px;
  accent-color: var(--green);
}
.form__hint {
  text-align: center;
  font-size: .82rem;
  color: var(--muted);
  margin: 12px 0 0;
}
.form input:invalid:not(:placeholder-shown),
.form select:invalid:not([value=""]) { border-color: #E5733A; }

/* submit + spinner */
#form-submit { position: relative; }
#form-submit .btn__spinner {
  position: absolute; right: 22px;
  width: 18px; height: 18px;
  border: 2px solid rgba(15, 31, 20, .25);
  border-top-color: var(--forest);
  border-radius: 50%;
  opacity: 0;
  animation: spin 0.8s linear infinite;
}
#form-submit.is-loading { pointer-events: none; }
#form-submit.is-loading .btn__label { opacity: .6; }
#form-submit.is-loading .btn__spinner { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Bot */
.bot {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.bot__head {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 22px;
  background: var(--forest);
  color: #fff;
}
.bot__avatar {
  width: 44px; height: 44px;
  background: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  padding: 4px;
}
.bot__avatar img { width: 100%; height: 100%; object-fit: contain; }
.bot__head strong { display: block; font-size: .98rem; }
.bot__head small {
  display: flex; align-items: center; gap: 6px;
  font-size: .78rem;
  color: rgba(255, 255, 255, .75);
  margin-top: 2px;
}
.bot__status {
  width: 8px; height: 8px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(145, 213, 10, .25);
  display: inline-block;
}
.bot__chat {
  flex: 1;
  padding: 18px 18px 22px;
  background:
    radial-gradient(circle at 20% 0%, rgba(145, 213, 10, .04), transparent 50%),
    var(--bg);
  display: flex; flex-direction: column; gap: 10px;
  min-height: 280px;
}
.bubble {
  max-width: 90%;
  padding: 12px 14px;
  border-radius: 18px;
  font-size: .92rem;
  line-height: 1.45;
  animation: bubble-in .3s ease both;
}
.bubble p { margin: 0; }
.bubble p + p, .bubble p + a { margin-top: 8px; }
@keyframes bubble-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.bubble--bot {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  border-top-left-radius: 6px;
  align-self: flex-start;
}
.bubble--user {
  background: var(--forest);
  color: #fff;
  border-top-right-radius: 6px;
  align-self: flex-end;
}
.bubble--typing {
  background: #fff;
  border: 1px solid var(--line);
  border-top-left-radius: 6px;
  align-self: flex-start;
  display: inline-flex; gap: 4px;
  padding: 14px 16px;
}
.bubble--typing span {
  width: 6px; height: 6px;
  background: var(--muted-2);
  border-radius: 50%;
  animation: typing 1.2s ease-in-out infinite;
}
.bubble--typing span:nth-child(2) { animation-delay: .15s; }
.bubble--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0);   opacity: .5; }
  30%           { transform: translateY(-4px); opacity: 1; }
}
.bot__cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--whatsapp);
  color: #fff;
  font-weight: 600;
  font-size: .85rem;
  padding: 8px 14px;
  border-radius: 999px;
  margin-right: 6px;
}
.bot__cta:hover { background: #1eb858; }
.bot__cta--ghost {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
}
.bot__cta--ghost:hover { background: var(--forest); color: #fff; }

/* contact info row */
.contact__info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.info-card h4 {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--green);
  margin: 0 0 10px;
  font-weight: 700;
}
.info-card p {
  margin: 0;
  font-size: .94rem;
  color: var(--forest);
  line-height: 1.5;
  font-weight: 600;
}
.info-card a:hover { color: var(--green); }
.info-card--map {
  padding: 0;
  overflow: hidden;
  min-height: 160px;
}
.info-card--map iframe {
  width: 100%; height: 100%;
  min-height: 160px;
  border: 0;
  display: block;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--forest-900);
  color: #DCEAD8;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 36px;
  padding: 64px 0 36px;
}
.footer__logo { height: 44px; width: auto; filter: brightness(1.1); }
.footer__tag {
  margin-top: 14px;
  color: rgba(220, 234, 216, .7);
  font-size: .92rem;
  margin-bottom: 16px;
}
.footer h4 {
  color: #fff;
  font-size: .95rem;
  margin: 0 0 16px;
  font-weight: 700;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li {
  font-size: .9rem;
  margin-bottom: 8px;
  color: rgba(220, 234, 216, .8);
  line-height: 1.5;
}
.footer a:hover { color: var(--lime); }
.footer__social {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600;
  color: rgba(220, 234, 216, .9);
  padding: 8px 14px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  transition: all .2s ease;
}
.footer__social:hover {
  color: var(--lime);
  border-color: rgba(145, 213, 10, .3);
}
.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 20px 0;
}
.footer__bar-inner {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: .82rem;
  color: rgba(220, 234, 216, .6);
}

/* ========== FAB ========== */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .45);
  transition: transform .2s ease;
}
.fab:hover { transform: scale(1.06); }
.fab::after {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, .35);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(.9);  opacity: .9; }
  70%  { transform: scale(1.3); opacity: 0;  }
  100% { transform: scale(1.3); opacity: 0;  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .grid__item--wide { grid-column: span 2; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__grid > div:nth-child(4) { display: none; }
}

@media (max-width: 880px) {
  .topbar__left span:nth-child(3) { display: none; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .contact__info { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .grid__item--tall { grid-row: span 1; }
  .grid__item--wide { grid-column: span 2; }
}

@media (max-width: 720px) {
  .topbar { display: none; }
  .nav__row { height: 64px; }
  .nav__brand img { height: 34px; }
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav__menu[data-open="true"] {
    transform: translateY(0); opacity: 1; pointer-events: auto;
  }
  .nav__menu > a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav__menu > a:last-child { border-bottom: 0; margin-top: 8px; }

  .hero__inner { padding: 64px 0 56px; }
  .trust__row { grid-template-columns: repeat(2, 1fr); gap: 16px 8px; }
  .trust__item:nth-child(2)::after { display: none; }
  .carta, .projects, .glass-section, .reviews, .about, .contact { padding: 64px 0; }
  .form__row { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .reviews__grid { grid-template-columns: 1fr; }
  .contact__info { grid-template-columns: 1fr 1fr; }
  .info-card--map { grid-column: span 2; min-height: 220px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; padding: 48px 0 28px; }
}

@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr; }
  .grid__item--wide { grid-column: span 1; }
  .about__bullets { gap: 8px; }
  .about__bullets li { padding: 14px 16px; }
}

/* ========== REVIEWS DEMO BANNER ========== */
.reviews__demo-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  background: #FFF7E0;
  border: 1px dashed #E0B040;
  color: #6E4C00;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-size: .9rem;
  margin-bottom: 28px;
  text-align: center;
  justify-content: center;
}
.reviews__demo-banner strong { color: #4D3500; }
.reviews__demo-banner a { color: var(--green-700); text-decoration: underline; font-weight: 700; }

/* placeholder demo card */
.review--demo { position: relative; opacity: .85; }
.review--demo p { color: var(--muted-2); font-style: italic; }
.review__demo-label {
  position: absolute; top: 12px; right: 12px;
  background: #FFF1C5;
  color: #6E4C00;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px dashed #E0B040;
}

/* ========== FILE INPUT ========== */
.field__opt { font-weight: 400; color: var(--muted-2); font-style: normal; font-size: .8rem; }
.filebox {
  display: block;
  border: 1.5px dashed var(--line);
  background: var(--bg);
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  overflow: hidden;
}
.filebox:hover, .filebox.is-drag {
  border-color: var(--green);
  background: rgba(47, 139, 79, .05);
}
.filebox input[type="file"] {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0; overflow: hidden;
}
.filebox__inner {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 22px 18px;
  color: var(--muted);
  gap: 6px;
}
.filebox__inner svg { color: var(--green); margin-bottom: 4px; }
.filebox__text {
  font-size: .9rem; font-weight: 500;
}
.filebox__text em { color: var(--green); font-style: normal; font-weight: 700; }
.filebox__list {
  display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;
  margin-top: 6px;
  font-size: .8rem; color: var(--muted-2);
}
.filebox__list.has-files { color: var(--forest); }
.filebox__chip {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .8rem;
}
.filebox__chip em { color: var(--muted-2); font-style: normal; margin-left: 6px; font-size: .72rem; }

/* ========== BOT improvements ========== */
.bot__head { gap: 14px; }
.bot__avatar { position: relative; }
.bot__avatar-status {
  position: absolute;
  right: -2px; bottom: -2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2.5px solid var(--forest);
}
.bot__avatar-status[data-status="online"]  { background: #25D366; }
.bot__avatar-status[data-status="offline"] { background: #E5733A; }
.bot__avatar-status[data-status="checking"]{ background: #FBBC04; }
.bot__head-info { flex: 1; min-width: 0; }
.bot__verified {
  display: inline-grid; place-items: center;
  width: 16px; height: 16px;
  margin-left: 4px;
  background: var(--lime);
  color: var(--forest);
  border-radius: 50%;
  font-size: .65rem;
  vertical-align: middle;
  font-weight: 800;
}
.bot__head-meta {
  display: flex; flex-direction: column; align-items: flex-end;
  text-align: right;
  flex-shrink: 0;
}
.bot__head-meta small {
  font-size: .68rem;
  color: rgba(255, 255, 255, .55);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1px;
}
.bot__head-meta strong {
  color: var(--lime);
  font-size: .85rem;
  font-weight: 700;
}

.bot__chat { gap: 10px; max-height: 460px; overflow-y: auto; }

/* quick replies (chips abajo del chat) */
.bot__quick {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 14px 18px;
  background: #fff;
  border-top: 1px solid var(--line);
}
.qchip {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--forest);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
  animation: bubble-in .25s ease both;
}
.qchip:hover {
  border-color: var(--green);
  background: var(--lime-100);
  color: var(--green-700);
  transform: translateY(-1px);
}

/* timeline post-envío */
.bubble--timeline {
  max-width: 100%;
  background: linear-gradient(135deg, #fff 0%, var(--lime-100) 100%);
  border-color: rgba(145, 213, 10, .35);
}
.bubble__title { font-weight: 700; color: var(--forest); margin-bottom: 12px !important; }
.timeline {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.tl-step {
  display: flex; align-items: flex-start; gap: 12px;
  padding-left: 6px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .35s ease, transform .35s ease;
}
.tl-step.is-done, .tl-step.is-revealed { opacity: 1; transform: none; }
.tl-dot {
  display: block;
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
  background: rgba(15, 26, 18, .15);
  position: relative;
}
.tl-step.is-done .tl-dot {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 139, 79, .2);
}
.tl-step.is-done .tl-dot::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
}
.tl-step div { flex: 1; }
.tl-step strong { display: block; color: var(--forest); font-size: .92rem; }
.tl-step small { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; }

/* responsive del bot mejorado */
@media (max-width: 720px) {
  .bot__head-meta { display: none; }
  .bot__chat { max-height: 340px; }
}

/* ==========================================================
   PREMIUM REBUILD — Vidres Manresa
   Capa de refinamiento visual + nuevas secciones (FAQ,
   proceso, sticky CTA, lightbox, mapa de zonas, etc.)
   ========================================================== */

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(var(--reveal-y));
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--delay-1 { transition-delay: .08s; }
.reveal--delay-2 { transition-delay: .16s; }
.reveal--delay-3 { transition-delay: .24s; }
.reveal--delay-4 { transition-delay: .32s; }
.reveal--delay-5 { transition-delay: .40s; }
.reveal--scale { transform: translateY(var(--reveal-y)) scale(.96); }
.reveal--scale.is-visible { transform: none; }
.reveal--left { transform: translateX(calc(var(--reveal-y) * -1)); }
.reveal--left.is-visible { transform: none; }
.reveal--right { transform: translateX(var(--reveal-y)); }
.reveal--right.is-visible { transform: none; }

/* ---------- Keyframes nuevas ---------- */
@keyframes kenBurns {
  0%   { transform: scale(1.08) translate(0, 0); }
  50%  { transform: scale(1.14) translate(-1%, -1.5%); }
  100% { transform: scale(1.08) translate(0, 0); }
}
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(8px, -14px); }
}
@keyframes float-slow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-12px, 18px) scale(1.05); }
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@keyframes bobbing {
  0%, 100% { transform: translateY(0); opacity: .85; }
  50%      { transform: translateY(8px); opacity: 1; }
}
@keyframes drawUnderline {
  from { stroke-dashoffset: 240; }
  to   { stroke-dashoffset: 0; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: none; }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes ring-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(145, 213, 10, .45); }
  100% { box-shadow: 0 0 0 18px rgba(145, 213, 10, 0); }
}

/* ==========================================================
   HERO premium
   ========================================================== */
.hero { min-height: clamp(640px, 88vh, 880px); }
.hero__image img {
  animation: kenBurns 22s ease-in-out infinite;
  filter: saturate(1.15) contrast(1.05);
}
.hero__overlay {
  background:
    linear-gradient(180deg, rgba(15, 31, 20, .55) 0%, rgba(15, 31, 20, .35) 55%, rgba(15, 31, 20, .65) 100%),
    radial-gradient(900px 500px at 90% 110%, rgba(145, 213, 10, .22), transparent 60%);
}
.hero__title { text-shadow: 0 4px 30px rgba(0, 0, 0, .45); }
.hero__lead  { text-shadow: 0 2px 16px rgba(0, 0, 0, .5); }
.hero__glow {
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(600px 400px at 18% 28%, rgba(145, 213, 10, .12), transparent 55%),
    radial-gradient(500px 350px at 80% 75%, rgba(47, 139, 79, .18), transparent 60%);
  animation: gradientShift 18s ease-in-out infinite alternate;
  background-size: 200% 200%;
}
.hero__sparkles {
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.hero__sparkles span {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  filter: blur(.5px);
  box-shadow: 0 0 24px var(--lime);
  opacity: .55;
  animation: float 7s ease-in-out infinite;
}
.hero__sparkles span:nth-child(1) { left: 8%;  top: 22%; animation-duration: 9s;  width: 5px; height: 5px; }
.hero__sparkles span:nth-child(2) { left: 76%; top: 18%; animation-duration: 11s; opacity: .35; }
.hero__sparkles span:nth-child(3) { left: 88%; top: 62%; animation-duration: 13s; width: 8px; height: 8px; opacity: .25; }
.hero__sparkles span:nth-child(4) { left: 22%; top: 78%; animation-duration: 10s; opacity: .4; }
.hero__sparkles span:nth-child(5) { left: 52%; top: 86%; animation-duration: 8s;  width: 4px; height: 4px; }

.hero__inner > * { animation: fadeUp .9s var(--ease-out) both; }
.hero__inner > .hero__badge { animation-delay: .15s; }
.hero__inner > .hero__title { animation-delay: .30s; }
.hero__inner > .hero__lead  { animation-delay: .45s; }
.hero__inner > .hero__cta   { animation-delay: .60s; }
.hero__inner > .hero__micro { animation-delay: .72s; }
.hero__inner > .hero__rating{ animation-delay: .82s; }

.hero__title .accent {
  position: relative;
  display: inline-block;
}
.hero__title .accent::after {
  content: "";
  position: absolute;
  left: 4%; right: 4%;
  bottom: -.06em;
  height: .18em;
  background: linear-gradient(90deg, transparent, var(--lime) 18%, var(--lime) 82%, transparent);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  animation: drawAccent 1.4s var(--ease-out) 1s forwards;
  opacity: .9;
}
@keyframes drawAccent {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.hero__micro {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  margin: -20px 0 24px;
  color: rgba(255, 255, 255, .82);
  font-size: .88rem;
}
.hero__micro span {
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.hero__micro svg { color: var(--lime); flex-shrink: 0; }

.hero__rating {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}

.hero__open {
  display: inline-flex; align-items: center; gap: 8px;
  margin-left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.hero__open[data-open="true"] {
  background: rgba(37, 211, 102, .15);
  color: #5BE093;
  border: 1px solid rgba(37, 211, 102, .35);
}
.hero__open[data-open="true"] .hero__open-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .6);
  animation: ring-pulse 1.6s ease-out infinite;
}
.hero__open[data-open="false"] {
  background: rgba(229, 115, 58, .15);
  color: #FFB890;
  border: 1px solid rgba(229, 115, 58, .35);
}
.hero__open[data-open="false"] .hero__open-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #E5733A;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, .65);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-decoration: none;
  transition: color .2s;
}
.hero__scroll:hover { color: var(--lime); }
.hero__scroll svg { animation: bobbing 2s ease-in-out infinite; }

/* CTA primary: gradient + glow */
.btn--primary {
  background: var(--gradient-cta);
  position: relative;
  overflow: hidden;
}
.btn--primary::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .35) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 6s ease-in-out infinite;
  pointer-events: none;
  opacity: .65;
}
.btn--primary:hover {
  box-shadow: 0 16px 36px rgba(145, 213, 10, .55), 0 0 0 1px rgba(145, 213, 10, .25);
}

/* ==========================================================
   TRUST STRIP premium
   ========================================================== */
.trust {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-900) 100%);
  padding: 44px 0;
  position: relative;
  overflow: hidden;
}
.trust::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(145, 213, 10, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(145, 213, 10, .04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 35%, transparent 80%);
  pointer-events: none;
  opacity: .6;
}
.trust__row {
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 1;
}
.trust__item {
  padding: 0 6px;
}
.trust__icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  margin: 0 auto 8px;
  color: var(--lime);
  background: rgba(145, 213, 10, .12);
  border: 1px solid rgba(145, 213, 10, .28);
  border-radius: 12px;
}
.trust__icon svg { width: 18px; height: 18px; }
.trust__item strong {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
}

/* ==========================================================
   CARDS de servicios premium
   ========================================================== */
.card {
  position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s;
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(145, 213, 10, 0), rgba(47, 139, 79, 0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s var(--ease), background .35s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(15, 26, 18, .25), 0 0 0 1px rgba(145, 213, 10, .15);
}
.card:hover::before {
  opacity: 1;
  background: linear-gradient(135deg, var(--lime), var(--green));
}
.card__pill {
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 12px;
  padding: 4px 10px;
  background: var(--lime-100);
  color: var(--green-700);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  align-self: flex-start;
}
.card__pill svg { width: 12px; height: 12px; }

/* ==========================================================
   NUEVA SECCIÓN — Cómo trabajamos
   ========================================================== */
.process {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-soft) 100%);
  position: relative;
  overflow: hidden;
}
.process::before {
  content: "";
  position: absolute;
  top: 20%; left: -10%;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(145, 213, 10, .12) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  animation: float-slow 14s ease-in-out infinite;
}
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}
.process__line {
  position: absolute;
  top: 44px;
  left: 14%;
  right: 14%;
  height: 2px;
  z-index: 0;
  pointer-events: none;
}
.process__line svg { width: 100%; height: 100%; overflow: visible; }
.process__line path {
  stroke: var(--lime);
  stroke-width: 2;
  stroke-dasharray: 6 8;
  stroke-linecap: round;
  fill: none;
  stroke-dashoffset: 1000;
  opacity: 0;
  transition: opacity .6s var(--ease-out), stroke-dashoffset 2.4s var(--ease-out);
}
.process__line.is-visible path {
  opacity: .7;
  stroke-dashoffset: 0;
}
.step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 8px;
}
.step__num {
  display: grid; place-items: center;
  width: 88px; height: 88px;
  margin: 0 auto 22px;
  background: var(--white);
  border: 1.5px solid rgba(145, 213, 10, .4);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--green);
  box-shadow: 0 12px 30px rgba(47, 139, 79, .15), inset 0 0 0 6px var(--bg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .2s;
  position: relative;
}
.step__num::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px dashed rgba(145, 213, 10, .35);
  opacity: 0;
  transform: rotate(0deg);
  transition: opacity .3s;
}
.step:hover .step__num {
  transform: scale(1.06);
  color: var(--forest);
  box-shadow: var(--glow-lime), inset 0 0 0 6px var(--bg);
}
.step:hover .step__num::after { opacity: 1; }
.step__icon {
  position: absolute;
  top: -10px; right: 50%;
  transform: translateX(60px);
  width: 36px; height: 36px;
  background: var(--lime);
  color: var(--forest);
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(145, 213, 10, .4);
}
.step__icon svg { width: 18px; height: 18px; }
.step h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--forest);
  margin: 0 0 8px;
  letter-spacing: -.01em;
}
.step p {
  font-size: .92rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

/* ==========================================================
   GALERÍA premium + lightbox
   ========================================================== */
.grid__item {
  transform-origin: center;
}
.grid__item.is-leaving { opacity: 0; transform: scale(.92); }
.grid__item.is-entering { opacity: 0; transform: scale(.92) translateY(8px); animation: gridIn .5s var(--ease-out) forwards; }
@keyframes gridIn {
  from { opacity: 0; transform: scale(.92) translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.grid__item::after {
  content: "";
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: rgba(15, 31, 20, .65);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3Cpath d='M11 8v6M8 11h6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px;
  opacity: 0;
  transform: scale(.8);
  transition: opacity .3s, transform .3s;
  backdrop-filter: blur(4px);
}
.grid__item:hover::after { opacity: 1; transform: scale(1); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 18, 12, .92);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center; justify-content: center;
  padding: 40px 20px;
  opacity: 0;
  transition: opacity .3s var(--ease-out);
}
.lightbox.is-open { display: flex; opacity: 1; }
.lightbox__stage {
  position: relative;
  max-width: min(1100px, 96vw);
  max-height: 86vh;
  display: flex; align-items: center; justify-content: center;
}
.lightbox__img {
  max-width: 100%;
  max-height: 86vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  object-fit: contain;
  animation: lbIn .4s var(--ease-out);
}
@keyframes lbIn {
  from { opacity: 0; transform: scale(.96); }
  to   { opacity: 1; transform: none; }
}
.lightbox__caption {
  position: absolute;
  left: 0; right: 0; bottom: -40px;
  text-align: center;
  color: rgba(255, 255, 255, .85);
  font-size: .92rem;
}
.lightbox__caption strong { color: #fff; display: block; }
.lightbox__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .2s, transform .2s;
  backdrop-filter: blur(8px);
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .22); transform: translateY(-50%) scale(1.08); }
.lightbox__prev { left: 18px; }
.lightbox__next { right: 18px; }
.lightbox__close {
  position: absolute;
  top: 22px; right: 22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .2s, transform .2s;
  backdrop-filter: blur(8px);
}
.lightbox__close:hover { background: rgba(255, 255, 255, .22); transform: rotate(90deg); }
.lightbox__count {
  position: absolute;
  top: 26px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .8);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
}

/* ==========================================================
   RESEÑAS premium
   ========================================================== */
.reviews {
  background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
}
.reviews__hero {
  text-align: center;
  margin-bottom: 36px;
  padding: 28px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  max-width: 760px;
  margin-left: auto; margin-right: auto;
}
.reviews__hero-top {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.reviews__hero-score {
  display: flex; align-items: center; gap: 12px;
}
.reviews__hero-score strong {
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--forest);
}
.reviews__hero-stars {
  display: flex;
  font-size: 1.2rem;
  color: var(--google-yellow);
  letter-spacing: 2px;
}
.reviews__hero p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: .95rem;
}
.reviews__hero .btn { margin-top: 4px; }

.reviews__grid { grid-template-columns: repeat(3, 1fr); }
.review {
  display: flex; flex-direction: column;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.review::before {
  content: "“";
  position: absolute;
  top: -22px; right: 14px;
  font-family: var(--serif);
  font-size: 7rem;
  color: rgba(145, 213, 10, .14);
  line-height: 1;
  pointer-events: none;
}
.review__verified {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px;
  font-size: .78rem;
  color: var(--muted-2);
  font-weight: 600;
}
.review__verified svg { width: 14px; height: 14px; color: var(--google-blue); }
.review__date {
  font-size: .78rem;
  color: var(--muted-2);
  margin-top: 2px;
}

/* ==========================================================
   ABOUT — refinamiento
   ========================================================== */
.about__pullquote {
  margin: 22px 0 0;
  padding: 18px 22px;
  border-left: 3px solid var(--lime);
  background: linear-gradient(90deg, rgba(145, 213, 10, .08), transparent);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--forest);
  line-height: 1.45;
  border-radius: 0 12px 12px 0;
}
.about__pullquote small {
  display: block;
  margin-top: 8px;
  font-family: var(--sans);
  font-style: normal;
  font-size: .82rem;
  color: var(--muted);
  letter-spacing: .04em;
}

/* ==========================================================
   NUEVA SECCIÓN — FAQ
   ========================================================== */
.faq {
  padding: 100px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}
.faq__wrap {
  max-width: 820px;
  margin: 0 auto;
}
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.faq__item[open] {
  border-color: rgba(145, 213, 10, .45);
  background: linear-gradient(180deg, #fff 0%, rgba(145, 213, 10, .04) 100%);
  box-shadow: 0 8px 24px rgba(15, 26, 18, .06);
}
.faq__summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 20px 22px;
  cursor: pointer;
  font-weight: 700;
  color: var(--forest);
  font-size: 1.02rem;
  list-style: none;
  transition: color .2s;
}
.faq__summary::-webkit-details-marker { display: none; }
.faq__summary:hover { color: var(--green); }
.faq__icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--lime-100);
  color: var(--green-700);
  display: grid; place-items: center;
  transition: transform .35s var(--ease), background .25s;
}
.faq__icon svg { width: 14px; height: 14px; }
.faq__item[open] .faq__icon {
  transform: rotate(45deg);
  background: var(--lime);
  color: var(--forest);
}
.faq__body {
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.65;
  animation: faqOpen .4s var(--ease-out);
}
.faq__body p { margin: 0 0 10px; }
.faq__body p:last-child { margin-bottom: 0; }
.faq__body a {
  color: var(--green);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.faq__body a:hover { color: var(--lime-600); }
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
.faq__cta {
  margin-top: 32px;
  text-align: center;
  padding: 28px;
  background: linear-gradient(135deg, rgba(145, 213, 10, .08), rgba(47, 139, 79, .06));
  border: 1px dashed rgba(145, 213, 10, .35);
  border-radius: var(--radius-lg);
}
.faq__cta p { margin: 0 0 14px; color: var(--forest); font-weight: 600; }

/* ==========================================================
   NUEVA SECCIÓN — Mapa de zonas
   ========================================================== */
.zones {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--forest-900) 0%, var(--forest) 100%);
  color: #DCEAD8;
  position: relative;
  overflow: hidden;
}
.zones::before {
  content: "";
  position: absolute;
  top: -30%; right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(145, 213, 10, .08) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.zones__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.zones__copy h2 { color: #fff; }
.zones__copy p { color: rgba(220, 234, 216, .8); font-size: 1.02rem; line-height: 1.65; margin: 0 0 22px; }
.zones__chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  list-style: none; padding: 0; margin: 0 0 26px;
}
.zones__chips li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  color: #fff;
  transition: all .2s var(--ease);
  cursor: default;
}
.zones__chips li:hover {
  background: rgba(145, 213, 10, .15);
  border-color: rgba(145, 213, 10, .5);
  color: var(--lime);
  transform: translateY(-2px);
}
.zones__chips li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
}
.zones__map {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.zones__map iframe {
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(.2) contrast(1.05);
}
.zones__pin {
  position: absolute;
  top: 20px; left: 20px;
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(15, 31, 20, .9);
  border: 1px solid rgba(145, 213, 10, .35);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  z-index: 2;
  pointer-events: none;
}
.zones__pin .dot {
  width: 8px; height: 8px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(145, 213, 10, .6);
  animation: ring-pulse 1.8s ease-out infinite;
}

/* ==========================================================
   NUEVA SECCIÓN — Sticky CTA
   ========================================================== */
.sticky-cta {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 55;
  transform: translateY(110%);
  transition: transform .35s var(--ease-out);
  pointer-events: none;
}
.sticky-cta.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}
.sticky-cta__bar {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-900) 100%);
  color: #fff;
  border-top: 2px solid var(--lime);
  box-shadow: 0 -10px 30px rgba(15, 26, 18, .25);
  padding: 14px 0;
}
.sticky-cta__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
.sticky-cta__msg {
  display: flex; align-items: center; gap: 14px;
  flex: 1; min-width: 240px;
}
.sticky-cta__msg-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(145, 213, 10, .15);
  display: grid; place-items: center;
  color: var(--lime);
  flex-shrink: 0;
}
.sticky-cta__msg strong { display: block; font-size: 1rem; }
.sticky-cta__msg small { display: block; font-size: .8rem; color: rgba(220, 234, 216, .7); margin-top: 2px; }
.sticky-cta__buttons {
  display: flex; gap: 10px;
  flex-wrap: wrap;
}
.sticky-cta__close {
  position: absolute;
  top: -36px; right: 12px;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(15, 31, 20, .85);
  color: #fff;
  cursor: pointer;
  display: grid; place-items: center;
  font-size: .9rem;
  font-weight: 700;
  transition: background .2s;
}
.sticky-cta__close:hover { background: rgba(229, 115, 58, .8); }

/* ==========================================================
   CONTACT badges + mejoras
   ========================================================== */
.contact__badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
  margin: 0 auto 28px;
  max-width: 720px;
}
.contact__badges span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--forest);
  box-shadow: var(--shadow-sm);
}
.contact__badges svg { color: var(--green); width: 14px; height: 14px; }

/* ==========================================================
   FOOTER — refinamiento
   ========================================================== */
.footer__newsletter {
  margin-top: 18px;
  background: rgba(145, 213, 10, .06);
  border: 1px solid rgba(145, 213, 10, .2);
  border-radius: var(--radius);
  padding: 16px;
}
.footer__newsletter strong {
  display: block;
  color: #fff;
  font-size: .92rem;
  margin-bottom: 4px;
}
.footer__newsletter small {
  display: block;
  color: rgba(220, 234, 216, .65);
  font-size: .8rem;
  margin-bottom: 12px;
}
.footer__newsletter-form {
  display: flex; gap: 6px;
}
.footer__newsletter-form input {
  flex: 1;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  padding: 9px 14px;
  color: #fff;
  font-size: .85rem;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.footer__newsletter-form input:focus { border-color: var(--lime); }
.footer__newsletter-form input::placeholder { color: rgba(220, 234, 216, .45); }
.footer__newsletter-form button {
  background: var(--lime);
  color: var(--forest);
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.footer__newsletter-form button:hover { background: var(--lime-600); transform: translateY(-1px); }

/* ==========================================================
   RESPONSIVE — Premium rebuild
   ========================================================== */
@media (max-width: 1024px) {
  .process__steps { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .process__line { display: none; }
  .zones__grid { grid-template-columns: 1fr; gap: 32px; }
  .trust__row { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}

@media (max-width: 880px) {
  .trust__row { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .trust__item:not(:last-child)::after { display: none; }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .hero { min-height: clamp(580px, 92vh, 760px); }
  .hero__inner { padding: 80px 0 64px; }
  .hero__micro { font-size: .82rem; gap: 10px; margin: -12px 0 18px; }
  .hero__scroll { display: none; }
  .process { padding: 64px 0; }
  .process__steps { grid-template-columns: 1fr; gap: 28px; }
  .step__num { width: 72px; height: 72px; font-size: 1.8rem; margin-bottom: 16px; }
  .step__icon { right: calc(50% - 50px); transform: none; }
  .trust { padding: 32px 0; }
  .trust__row { grid-template-columns: repeat(2, 1fr); gap: 18px 8px; }
  .reviews__grid { grid-template-columns: 1fr; }
  .faq, .zones { padding: 64px 0; }
  .reviews__hero { padding: 22px; }
  .reviews__hero-score strong { font-size: 2.1rem; }
  .sticky-cta__inner { gap: 10px; }
  .sticky-cta__msg small { display: none; }
  .sticky-cta__msg-icon { display: none; }
  .sticky-cta__buttons .btn { padding: 10px 16px; font-size: .85rem; }
  .lightbox { padding: 16px; }
  .lightbox__prev { left: 6px; }
  .lightbox__next { right: 6px; }
  .lightbox__btn { width: 44px; height: 44px; }
}

@media (max-width: 480px) {
  .sticky-cta__msg { display: none; }
  .sticky-cta__buttons { width: 100%; justify-content: center; }
  .sticky-cta__buttons .btn { flex: 1; }
}

/* Forzar dimensión del aside .bot para que respete el grid */
.bot { min-height: 0; }

/* ==========================================================
   TIPOGRAFÍA premium (Fraunces + Inter)
   ========================================================== */
section h2,
.section-head h2 {
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.05;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  color: var(--forest);
}
.accent-serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--brass);
  letter-spacing: -.01em;
}
.section-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 60ch;
  margin: 0 auto;
}

/* ==========================================================
   CARTA DE SERVICIOS — icon style (no images)
   ========================================================== */
.carta--icons {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--white) 60%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.carta--icons::before {
  content: "";
  position: absolute;
  top: -10%; left: -10%;
  width: 50%; height: 60%;
  background: radial-gradient(circle, rgba(145, 213, 10, .12) 0%, transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
  z-index: 1;
}
.svc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px 30px;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s;
}
.svc:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -20px rgba(15, 26, 18, .18);
  border-color: rgba(145, 213, 10, .35);
}
.svc__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  background: var(--lime);
  color: var(--forest);
  border-radius: 12px;
  margin-bottom: 22px;
  box-shadow: 0 8px 20px -8px rgba(145, 213, 10, .55);
}
.svc__icon svg { width: 22px; height: 22px; }
.svc h3 {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--forest);
  margin: 0 0 10px;
  letter-spacing: -.015em;
  line-height: 1.25;
}
.svc p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 18px;
  flex: 1;
}
.svc__bullets {
  list-style: none;
  margin: 0; padding: 16px 0 0;
  border-top: 1px dashed var(--line);
  display: flex; flex-direction: column; gap: 8px;
}
.svc__bullets li {
  position: relative;
  padding-left: 18px;
  font-size: .82rem;
  color: var(--forest);
  font-weight: 500;
  font-family: var(--mono);
  letter-spacing: -.005em;
}
.svc__bullets li::before {
  content: "";
  position: absolute;
  left: 4px; top: 8px;
  width: 6px; height: 6px;
  background: var(--lime);
  border-radius: 50%;
}
.svc-foot {
  margin: 48px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
}
.svc-foot a {
  color: var(--green);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}
.svc-foot a:hover { color: var(--lime-600); }

@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; gap: 14px; }
  .carta--icons { padding: 72px 0; }
}

/* ==========================================================
   PROYECTOS RECIENTES — card style
   ========================================================== */
.projects--cards {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-soft) 100%);
}
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.proj {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 5 / 6;
  cursor: pointer;
  background: var(--forest);
  isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.proj:nth-child(4) { grid-column: span 1; }
.proj:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(15, 26, 18, .35);
}
.proj__media {
  position: absolute; inset: 0;
  z-index: 0;
}
.proj__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.proj:hover .proj__media img { transform: scale(1.06); }
.proj__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 31, 20, 0) 35%, rgba(15, 31, 20, .85) 95%);
  pointer-events: none;
}
.proj__body {
  position: absolute;
  left: 22px; right: 22px; bottom: 22px;
  z-index: 2;
  color: #fff;
}
.proj__label {
  display: inline-block;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0 0 8px;
  padding: 4px 0;
}
.proj h3 {
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
  letter-spacing: -.015em;
  line-height: 1.2;
}
.proj__open {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 3;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: scale(.85);
  transition: opacity .3s, transform .3s, background .2s;
}
.proj:hover .proj__open {
  opacity: 1; transform: scale(1);
}
.proj__open:hover { background: var(--lime); color: var(--forest); }

.proj-foot {
  margin: 48px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
}

@media (max-width: 980px) {
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .proj-grid { grid-template-columns: 1fr; gap: 16px; }
  .projects--cards { padding: 72px 0; }
  .proj { aspect-ratio: 4 / 5; }
}

/* ==========================================================
   PROCESS v2 — list style
   ========================================================== */
.process--v2 {
  padding: 120px 0;
  background: var(--white);
}
.process-v2 {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 880px;
  counter-reset: pv2;
}
.pv2 {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  position: relative;
  transition: padding-left .35s var(--ease);
}
.pv2:last-child { border-bottom: 0; }
.pv2:hover { padding-left: 12px; }
.pv2::before {
  content: "";
  position: absolute;
  left: 0; top: 32px; bottom: 32px;
  width: 3px;
  background: var(--lime);
  border-radius: 999px;
  opacity: 0;
  transition: opacity .25s;
}
.pv2:hover::before { opacity: 1; }
.pv2__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 3.5rem;
  font-weight: 500;
  color: var(--lime-600);
  line-height: 1;
  letter-spacing: -.02em;
}
.pv2__body h3 {
  font-family: var(--sans);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--forest);
  margin: 0 0 10px;
  letter-spacing: -.02em;
}
.pv2__body p {
  font-size: 1.02rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  max-width: 60ch;
}
@media (max-width: 720px) {
  .pv2 { grid-template-columns: 80px 1fr; gap: 18px; padding: 24px 0; }
  .pv2__num { font-size: 2.6rem; }
  .pv2__body h3 { font-size: 1.3rem; }
  .pv2__body p { font-size: .96rem; }
  .process--v2 { padding: 72px 0; }
}

/* ==========================================================
   ABOUT v2 — badge "1988" en imagen
   ========================================================== */
.about--v2 .about__badge {
  position: absolute;
  bottom: 22px; right: 22px;
  background: var(--white);
  border-radius: 18px;
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  z-index: 2;
}
.about--v2 .about__badge strong {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--green);
  line-height: 1;
  display: block;
}
.about--v2 .about__badge small {
  font-family: var(--mono);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}

/* ==========================================================
   MATERIALES — solo texto (sin thumbs)
   ========================================================== */
.material--text {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 18px 20px !important;
  background: rgba(255, 255, 255, .04) !important;
}
.material--text span {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: -.005em;
}
.material--text small {
  font-family: var(--mono);
  font-size: .75rem;
  color: rgba(220, 234, 216, .65);
  letter-spacing: -.005em;
}
.glass__grid li::after { display: none !important; }
.glass__grid li { cursor: default !important; }

/* ==========================================================
   FOOTER LEGAL — Política de privacitat ...
   ========================================================== */
.footer__bar-inner {
  align-items: center;
}
.footer__legal {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px;
  font-size: .78rem;
}
.footer__legal a {
  color: rgba(220, 234, 216, .65);
  transition: color .15s;
}
.footer__legal a:hover { color: var(--lime); }
.footer__legal span { color: rgba(220, 234, 216, .3); }
@media (max-width: 720px) {
  .footer__bar-inner { flex-direction: column; gap: 12px; align-items: flex-start; }
  .footer__legal { font-size: .74rem; }
}

/* Override eyebrow--light para mantener mono + lime */
.eyebrow--light {
  color: var(--lime);
  background: transparent;
}

/* ==========================================================
   ELEGANT OVERRIDES — botones, accents, italic brass
   ========================================================== */

/* Primary button: forest profund con shimmer suau brass */
.btn--primary {
  background: linear-gradient(135deg, var(--forest) 0%, #143A24 50%, var(--green) 100%) !important;
  color: #F3EEDD !important;
  box-shadow: 0 8px 22px rgba(15, 42, 27, .25), inset 0 1px 0 rgba(255, 255, 255, .08) !important;
  letter-spacing: .005em;
}
.btn--primary::before {
  background: linear-gradient(90deg, transparent 0%, rgba(184, 148, 100, .35) 50%, transparent 100%) !important;
}
.btn--primary:hover {
  background: linear-gradient(135deg, #143A24 0%, var(--green) 100%) !important;
  box-shadow: 0 14px 30px rgba(15, 42, 27, .35), 0 0 0 1px rgba(184, 148, 100, .35) !important;
}

/* Cards de servicios — icono brass elegante */
.svc__icon {
  background: var(--forest);
  color: var(--brass);
  box-shadow: 0 8px 20px -8px rgba(15, 42, 27, .35);
}
.svc__bullets li::before {
  background: var(--brass);
}
.svc:hover {
  border-color: rgba(184, 148, 100, .35);
  box-shadow: 0 20px 50px -20px rgba(15, 42, 27, .18);
}

/* Pull-quote brass border */
.about__pullquote {
  border-left-color: var(--brass);
  background: linear-gradient(90deg, rgba(184, 148, 100, .08), transparent);
}

/* About bullets — brass numbers */
.about__bullets strong {
  color: var(--brass);
}

/* Eyebrow text: warm brass-tinted green */
.eyebrow {
  color: var(--green);
}

/* Trust strip icons — brass */
.trust__icon {
  background: rgba(184, 148, 100, .12);
  border-color: rgba(184, 148, 100, .35);
  color: var(--brass);
}
.trust__item strong {
  color: var(--brass);
}

/* Hero accent underline — brass */
.hero__title .accent::after {
  background: linear-gradient(90deg, transparent, var(--brass) 18%, var(--brass) 82%, transparent) !important;
}
.hero__title .accent {
  color: var(--lime);
}

/* Project label */
.proj__label {
  color: var(--brass);
}

/* Process v2 numbers brass */
.pv2__num {
  color: var(--brass-600);
}
.pv2::before {
  background: var(--brass);
}

/* FAQ icon brass */
.faq__icon {
  background: var(--brass-100);
  color: var(--brass-600);
}
.faq__item[open] .faq__icon {
  background: var(--brass);
  color: #fff;
}
.faq__item[open] {
  border-color: rgba(184, 148, 100, .45);
  background: linear-gradient(180deg, #fff 0%, rgba(184, 148, 100, .04) 100%);
}
.faq__body a {
  color: var(--brass-600);
}
.faq__body a:hover { color: var(--brass); }

/* Reviews avatars — keep colorful but darken bg of card slightly */
.reviews {
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-soft) 100%);
}
.reviews__hero {
  background: var(--white);
  border-color: rgba(184, 148, 100, .2);
}
.reviews::before, .review::before { color: rgba(184, 148, 100, .15) !important; }

/* Card link & link colors → brass-leaning */
.card__link, .link {
  color: var(--brass-600);
  border-bottom-color: var(--brass-600);
}
.card__link:hover, .link:hover {
  color: var(--brass);
}

/* Section bg gradients — warmer */
.carta--icons {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 60%);
}
.process--v2 {
  background: var(--bg);
}
.projects--cards {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
.faq {
  background: var(--bg);
}
.about {
  background: var(--bg-soft);
}

/* Hero rating border brass-tinted */
.hero__rating {
  border-color: rgba(184, 148, 100, .25);
}

/* CTA secondary review card — change from green to forest */
.review--cta {
  background: linear-gradient(135deg, var(--forest) 0%, #143A24 100%);
}
.reviews__google-link {
  color: var(--brass);
}
.reviews__google-link:hover { color: #fff; }

/* Sticky CTA refined */
.sticky-cta__bar {
  border-top-color: var(--brass);
}
.sticky-cta__msg-icon {
  background: rgba(184, 148, 100, .15);
  color: var(--brass);
}

/* Filebox hover */
.filebox:hover, .filebox.is-drag {
  border-color: var(--brass-600);
  background: rgba(184, 148, 100, .05);
}
.filebox__inner svg { color: var(--brass-600); }
.filebox__text em { color: var(--brass-600); }

/* Field focus */
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brass-600);
  box-shadow: 0 0 0 4px rgba(184, 148, 100, .12);
}

/* Materials — text only, brass dots */
.glass__grid li:hover, .glass__grid li:focus-visible {
  background: rgba(184, 148, 100, .08);
  border-color: rgba(184, 148, 100, .35);
}

/* Lang switch active state — brass */
.lang-switch button.is-active {
  color: var(--brass) !important;
  background: rgba(184, 148, 100, .12) !important;
}
.lang-switch button:hover {
  color: var(--brass) !important;
}

/* Nav menu hover underline — brass */
.nav__menu > a:not(.btn)::after {
  background: var(--brass);
}
.nav__menu > a:not(.btn):hover {
  color: var(--brass-600);
}

/* Hero badge — keep lime as tiny brand touch but softer */
.hero__badge {
  background: rgba(184, 148, 100, .14);
  border: 1px solid rgba(184, 148, 100, .35);
  color: #F0E5D5;
}
.hero__dot {
  background: var(--brass);
  box-shadow: 0 0 0 4px rgba(184, 148, 100, .25);
}
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(184, 148, 100, .25); }
  50%      { box-shadow: 0 0 0 8px rgba(184, 148, 100, .05); }
}

/* Hero glow — brass tinted */
.hero__glow {
  background:
    radial-gradient(600px 400px at 18% 28%, rgba(184, 148, 100, .12), transparent 55%),
    radial-gradient(500px 350px at 80% 75%, rgba(31, 92, 54, .18), transparent 60%);
}
.hero__sparkles span {
  background: var(--brass);
  box-shadow: 0 0 24px var(--brass);
}

/* Hero overlay — slightly warmer */
.hero__overlay {
  background:
    linear-gradient(180deg, rgba(15, 42, 27, .58) 0%, rgba(15, 42, 27, .38) 55%, rgba(15, 42, 27, .68) 100%),
    radial-gradient(900px 500px at 90% 110%, rgba(184, 148, 100, .18), transparent 60%);
}

/* Trust strip warmer */
.trust {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-900) 100%);
}

/* Glass section — keep dark but warmer */
.glass-section {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-900) 100%);
}

/* Footer warmer */
.footer {
  background: var(--forest-900);
}

/* About badge "1988" — brass */
.about--v2 .about__badge strong { color: var(--brass-600); }

/* Card pill — replaced — old style if any */
.card__pill {
  background: var(--brass-100);
  color: var(--brass-600);
}

/* FAB whatsapp — keep green obvi (brand) */

/* Reviews avatar quote ::before brass */
.review::before { color: rgba(184, 148, 100, .14); }

/* Pulse rings: change ring-pulse from lime to brass */
@keyframes ring-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(184, 148, 100, .45); }
  100% { box-shadow: 0 0 0 18px rgba(184, 148, 100, 0); }
}

/* "Abierto ahora" pulse: keep green (it's the open/closed status, green = open is universal) */

/* Reveal effect: subtler shadow on hover for proj cards */
.proj:hover {
  box-shadow: 0 30px 60px -20px rgba(15, 42, 27, .35);
}

/* === Light, warm body refinement === */
body {
  font-weight: 400;
}
h1, h2, h3, h4 {
  font-weight: 600;
  color: var(--forest);
}
.section-lead { color: var(--muted); }

/* Overrides para secciones dark (titulares blancos legibles) */
.section-head--light h2,
.glass-section h2,
.glass-section .section-lead,
.glass-section .accent-serif,
.zones h2,
.zones__copy .section-lead {
  color: #fff !important;
}
.section-head--light .section-lead,
.section-lead--light {
  color: rgba(255, 255, 255, .82) !important;
}
.glass-section h2 .accent-serif,
.section-head--light h2 .accent-serif {
  color: var(--brass) !important;
}

/* Smooth, premium scroll */
html { scroll-padding-top: 90px; }

/* ==========================================================
   RATING BAR — estrellas parcialmente rellenas (4.2/5 = 84%)
   ========================================================== */
.rating-bar {
  display: inline-block;
  position: relative;
  font-family: Arial, sans-serif;
  font-size: 1.1rem;
  line-height: 1;
  letter-spacing: 2px;
  white-space: nowrap;
  vertical-align: middle;
  color: rgba(255, 255, 255, .3);
}
.rating-bar::before {
  content: "★★★★★";
}
.rating-bar::after {
  content: "★★★★★";
  position: absolute;
  top: 0; left: 0;
  color: var(--google-yellow);
  overflow: hidden;
  white-space: nowrap;
  width: var(--rating, 100%);
}
.rating-bar--light {
  color: #D0D0D0;
}
.rating-bar--lg {
  font-size: 1.3rem;
  letter-spacing: 3px;
}

/* ==========================================================
   PÁGINAS LEGALES (privacidad, cookies, accesibilidad)
   ========================================================== */
.legal-page {
  padding: 80px 0 100px;
  background: var(--bg);
}
.legal-head {
  max-width: 760px;
  margin: 0 auto 48px;
}
.legal-head h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
  color: var(--forest);
  margin: 0 0 14px;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.legal-updated {
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0;
}
.legal-body {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}
.legal-body h2 {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--forest);
  margin: 32px 0 12px;
  letter-spacing: -.01em;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p,
.legal-body li {
  font-size: .98rem;
  line-height: 1.7;
  color: var(--ink);
}
.legal-body p { margin: 0 0 14px; }
.legal-body ul {
  margin: 0 0 18px;
  padding-left: 20px;
}
.legal-body ul li { margin-bottom: 8px; }
.legal-body strong { color: var(--forest); font-weight: 600; }
.legal-body a {
  color: var(--brass-600);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}
.legal-body a:hover { color: var(--brass); }
.legal-body code {
  font-family: var(--mono);
  font-size: .88rem;
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--green-700);
}
@media (max-width: 720px) {
  .legal-page { padding: 56px 0 72px; }
  .legal-body { padding: 28px 22px; }
  .legal-head { margin-bottom: 32px; }
}

/* ==========================================================
   HERO GLASS — parallax + crack effect
   ========================================================== */
.hero--glass { perspective: 1200px; }
.hero--glass .hero__image {
  transform-origin: center 30%;
  will-change: transform;
  transition: transform .1s linear;
}
.hero--glass .hero__image img {
  animation: kenBurnsSlow 30s ease-in-out infinite;
  filter: saturate(.95) contrast(1.08) brightness(.85);
}
@keyframes kenBurnsSlow {
  0%, 100% { transform: scale(1.05); }
  50%      { transform: scale(1.15); }
}

/* Vidre refractat: capa de gradient amb líneas diagonals */
.hero--glass::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      115deg,
      transparent 0,
      transparent 80px,
      rgba(255, 255, 255, .015) 80px,
      rgba(255, 255, 255, .015) 81px,
      transparent 81px,
      transparent 240px
    ),
    linear-gradient(125deg,
      rgba(184, 148, 100, .06) 0%,
      transparent 30%,
      rgba(15, 42, 27, .15) 60%,
      transparent 100%
    );
  mix-blend-mode: overlay;
}

/* Crack overlay */
.hero__crack {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s var(--ease);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, .15));
}
.hero__crack-lines path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1.4s var(--ease-out);
}
/* When scrolled past ~150px the cracks appear & draw */
.hero.is-cracking .hero__crack { opacity: 1; }
.hero.is-cracking .hero__crack-lines path { stroke-dashoffset: 0; }
.hero.is-cracking .hero__crack-lines path:nth-child(2) { transition-delay: .1s; }
.hero.is-cracking .hero__crack-lines path:nth-child(3) { transition-delay: .3s; }
.hero.is-cracking .hero__crack-lines path:nth-child(4) { transition-delay: .35s; }
.hero.is-cracking .hero__crack-lines path:nth-child(5) { transition-delay: .4s; }
.hero.is-cracking .hero__crack-lines path:nth-child(n+6) { transition-delay: .5s; }

/* ==========================================================
   MATERIALES — mejor contraste, click-to-photo
   ========================================================== */
.glass-section {
  background: linear-gradient(135deg, #143A24 0%, var(--forest-900) 100%);
}
.glass__grid {
  gap: 12px;
}
.material--text {
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 6px !important;
  padding: 20px 22px !important;
  background: rgba(255, 255, 255, .06) !important;
  border: 1px solid rgba(184, 148, 100, .18) !important;
  cursor: pointer !important;
  position: relative;
  transition: all .25s var(--ease);
}
.material--text:hover, .material--text:focus-visible {
  background: rgba(184, 148, 100, .12) !important;
  border-color: rgba(184, 148, 100, .55) !important;
  transform: translateY(-3px);
  outline: none;
}
.material--text span {
  color: #FAF7EE !important;
  font-size: 1.08rem !important;
  font-weight: 600 !important;
  letter-spacing: -.01em !important;
}
.material--text small {
  color: rgba(241, 232, 214, .7) !important;
  font-size: .78rem !important;
  font-family: var(--mono) !important;
}
.material--text::after {
  content: "";
  position: absolute;
  top: 18px; right: 18px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(184, 148, 100, .2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23B89464' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3Cpath d='M11 8v6M8 11h6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transform: scale(.7);
  transition: opacity .2s, transform .2s;
}
.material--text:hover::after, .material--text:focus-visible::after {
  opacity: 1; transform: scale(1);
  display: block !important;
}
/* Override the previous .glass__grid li::after disabled rule */
.glass__grid li.material--text::after { display: block !important; }

/* ==========================================================
   BOT — input de texto + sin quick replies (chat real)
   ========================================================== */
.bot__quick { display: none !important; }
.bot__input {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.bot__input input {
  flex: 1;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-size: .9rem;
  color: var(--ink);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.bot__input input:focus {
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(184, 148, 100, .15);
}
.bot__input button {
  background: var(--forest);
  color: #fff;
  border: 0;
  border-radius: 50%;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.bot__input button:hover {
  background: var(--brass);
  transform: scale(1.05);
}
.bot__input button:disabled { opacity: .5; cursor: not-allowed; }

/* ==========================================================
   LANGUAGE SWITCH (CAT | ES)
   ========================================================== */
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  margin-right: 10px;
  font-size: .78rem;
  letter-spacing: .04em;
  font-weight: 600;
  color: rgba(255, 255, 255, .55);
}
.lang-switch button {
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: .04em;
  transition: color .15s, background .15s;
}
.lang-switch button:hover { color: var(--lime); }
.lang-switch button.is-active {
  color: var(--lime);
  background: rgba(145, 213, 10, .12);
}
.lang-switch span { opacity: .35; }

/* Mobile version: hidden on desktop, shown inside mobile menu */
.lang-switch--mobile { display: none; }
@media (max-width: 720px) {
  .lang-switch--mobile {
    display: flex;
    justify-content: center;
    margin: 12px 0 8px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
  }
  .lang-switch--mobile button { color: var(--forest); }
  .lang-switch--mobile button.is-active {
    background: var(--lime-100);
    color: var(--green-700);
  }
}

/* Hide FAB when sticky-cta visible to avoid overlap */
.sticky-cta.is-visible ~ .fab {
  opacity: 0;
  transform: scale(.6) translateY(20px);
  pointer-events: none;
}
.fab {
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
}

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