/* ==========================================================================
   premium-home.css — Capa de identidad premium para el HOME
   Prosermat · Empresa nacional líder en agrominerales
   ----------------------------------------------------------------------------
   Filosofía:
   - Hero con personalidad: gradients en capas + pattern topográfico SVG +
     trust micro-grid lateral. No es "template default".
   - Tipografía editorial (display 900/1000, kerning negativo).
   - Espaciado generoso (clamp 64-110px).
   - Animaciones solo en transform/opacity. Respeta prefers-reduced-motion.
   - Cero JS. Cero dependencias. SVG inline en data-URI.
   - Mobile-first. Cuida breakpoints 360/480/720/980/1180.

   Carga: DESPUÉS de premium-storefront.css y premium-trust.css
   Scope: aplica solo a clases .ph-* + overrides puntuales del .hero-section
   ========================================================================== */

/* --------------------------------------------------------------------------
   0 · Variables locales de la capa home
   -------------------------------------------------------------------------- */
:root {
  --ph-green-900: #0a2f1c;
  --ph-green-800: #0d3d24;
  --ph-green-700: #14502f;
  --ph-green-600: #1f7a4d;
  --ph-green-500: #2dbb6c;
  --ph-green-300: #6ee7b7;
  --ph-green-200: #a7f3d0;
  --ph-green-100: #d1fae5;
  --ph-green-50:  #f0fdf4;
  --ph-amber:     #fbbf24;
  --ph-amber-200: #fde68a;
  --ph-cream:     #fefcf6;
  --ph-ease:      cubic-bezier(.22,.9,.22,1);
  --ph-ease-out:  cubic-bezier(.16,1,.3,1);
  /* [FIX 2026-06-01] Padding vertical de secciones reducido de 64-110px a
     44-76px → ritmo más denso tipo ECOMMERCE (antes los huecos entre secciones
     eran enormes y se sentía landing page largo). */
  --ph-pad-y:     clamp(44px, 6vw, 76px);
}

/* --------------------------------------------------------------------------
   1 · HERO — capa premium sobre .hero-section existente
   --------------------------------------------------------------------------
   Estrategia: NO destruimos .hero-section base. Le superponemos:
   · Fondo multi-capa: ::before con pattern topográfico SVG + radial blurs.
   · Decoración lateral derecha en desktop (mineral SVG silhouette).
   · Trust micro-grid lateral derecha (numerología real).
   -------------------------------------------------------------------------- */

.hero-section {
  /* Subimos contraste y damos sensación atmosférica */
  background:
    radial-gradient(ellipse 80% 60% at 15% 30%, rgba(45,187,108,.32), transparent 60%),
    radial-gradient(ellipse 70% 55% at 90% 80%, rgba(10,47,28,.55), transparent 65%),
    linear-gradient(135deg, #0d3d24 0%, #14502f 45%, #1f7a4d 100%) !important;
  /* [FIX 2026-06-01] Hero compacto tipo ECOMMERCE (antes 64vh/600px parecía
     landing page de pantalla completa). Ahora el contenido + los productos se
     ven mucho antes al cargar. */
  min-height: clamp(340px, 46vh, 460px) !important;
  position: relative;
  isolation: isolate;
}

/* Pattern topográfico SVG (curvas suaves) sobre el fondo */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .22;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 800' preserveAspectRatio='xMidYMid slice'><g fill='none' stroke='%23a7f3d0' stroke-width='1.1'><path d='M-50 200 Q200 130 450 220 T1000 180 T1300 250'/><path d='M-50 280 Q220 220 460 300 T1010 270 T1300 340'/><path d='M-50 360 Q210 310 470 380 T1020 360 T1300 430'/><path d='M-50 440 Q230 390 480 460 T1030 450 T1300 520'/><path d='M-50 520 Q220 470 490 540 T1040 540 T1300 610'/><path d='M-50 600 Q240 550 500 620 T1050 630 T1300 700'/><path d='M-50 680 Q230 630 510 700 T1060 720 T1300 790'/></g></svg>");
  background-size: 1400px auto;
  background-position: center;
  mix-blend-mode: screen;
}

/* Decoración lateral: silueta mineral hexagonal — solo desktop, no compite */
.hero-section::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -120px;
  transform: translateY(-50%);
  width: 720px;
  height: 720px;
  z-index: 0;
  pointer-events: none;
  opacity: .14;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%232dbb6c'/><stop offset='1' stop-color='%23a7f3d0'/></linearGradient></defs><g fill='none' stroke='url(%23g)' stroke-width='2.4' stroke-linejoin='round'><polygon points='300,80 470,180 470,380 300,480 130,380 130,180'/><polygon points='300,140 420,210 420,350 300,420 180,350 180,210'/><polygon points='300,200 370,240 370,320 300,360 230,320 230,240'/><path d='M300 80 L300 480'/><path d='M130 180 L470 380'/><path d='M470 180 L130 380'/></g></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: blur(.4px);
}

@media (max-width: 980px) {
  .hero-section::after { display: none; }
}

/* Quitamos la decoración base (.hero-bg::before/::after) — la nuestra reemplaza */
.hero-section .hero-bg::before,
.hero-section .hero-bg::after { opacity: 0 !important; }

/* Hero content: respiro premium, alineación robusta.
   [FIX 2026-06-01] Estructura: [.hero-text | .ph-hero-stats] y .hero-trust
   abajo a todo el ancho. El texto va envuelto en .hero-text (una sola celda)
   para que los stats NO compartan fila con cada línea de texto (lo que los
   hacía flotar descuadrados). */
.hero-section .hero-content {
  position: relative;
  z-index: 2;
  /* [FIX 2026-06-01] Padding/gaps más ajustados → hero más compacto (ecommerce). */
  padding: clamp(26px, 3.4vw, 48px) var(--pad);
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.85fr);
  column-gap: clamp(28px, 4vw, 60px);
  row-gap: clamp(16px, 2vw, 26px);
  align-items: center;   /* stats centrados verticalmente contra el texto */
}

/* Columna izquierda: bloque de texto. El espaciado vertical lo lleva el gap
   del flex (no los margin legacy). */
.hero-section .hero-text {
  grid-column: 1;
  min-width: 0;        /* [FIX] permite encoger bajo min-content → sin overflow */
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.8vw, 22px);
  max-width: 640px;
}
/* Anular margin legacy de styles.css para que no se duplique con el gap.
   Y forzar que el texto envuelva en vez de desbordar (palabras largas). */
.hero-section .hero-text > * { margin-top: 0; margin-bottom: 0; min-width: 0; }
.hero-section .hero-text .hero-title,
.hero-section .hero-text .hero-sub { overflow-wrap: break-word; }

/* Columna derecha: panel de stats, alineado al centro de la altura del texto. */
.hero-section .hero-content > .ph-hero-stats {
  grid-column: 2;
  min-width: 0;        /* [FIX] idem: que no fuerce el ancho del grid */
  align-self: center;
}

/* Trust strip: a todo el ancho, debajo de texto + stats. */
.hero-section .hero-content > .hero-trust {
  grid-column: 1 / -1;
}

@media (max-width: 980px) {
  .hero-section .hero-content {
    /* minmax(0,1fr) — sin el 0 el track crece por min-content y desborda. */
    grid-template-columns: minmax(0, 1fr);
    row-gap: clamp(18px, 4vw, 26px);
    max-width: 680px;
  }
  /* En 1 columna, los stats ocupan el ancho completo bajo el texto. */
  .hero-section .hero-content > .ph-hero-stats { grid-column: 1; align-self: stretch; }
  /* El bloque de texto ocupa el ancho disponible (no 640px fijo). */
  .hero-section .hero-text { max-width: 100%; }
}

/* Badge — más prominente con icono SVG (lo agrega el HTML),
   tipografía up y borde luminoso */
.hero-section .hero-badge {
  padding: 9px 18px 9px 14px;
  gap: 9px;
  font-size: .86rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(167,243,208,.45);
  box-shadow: 0 8px 22px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.16);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  margin-bottom: 24px;
}
.hero-section .hero-badge::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ph-amber);
  box-shadow: 0 0 0 4px rgba(251,191,36,.22), 0 0 12px rgba(251,191,36,.55);
  flex: 0 0 auto;
  animation: ph-pulse 2.4s var(--ph-ease) infinite;
}
@keyframes ph-pulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(1.18); opacity: .75; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-section .hero-badge::before { animation: none; }
}

/* Título — display más impactante */
.hero-section .hero-title {
  font-size: clamp(2rem, 5.6vw, 3.8rem);
  font-weight: 1000;
  line-height: 1;
  letter-spacing: -.045em;
  margin-bottom: 22px;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0,0,0,.28);
}
.hero-section .hero-title span {
  background: linear-gradient(135deg, var(--ph-amber) 0%, #ffd56b 60%, #fff4b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Línea decorativa bajo el span para mejor lectura */
  display: inline-block;
  position: relative;
}
.hero-section .hero-title span::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -.08em;
  height: .12em;
  background: linear-gradient(90deg, rgba(251,191,36,.85), rgba(251,191,36,0));
  border-radius: 4px;
}

/* Subtitle — más corto, peso medio, mejor lectura */
.hero-section .hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.55;
  color: rgba(255,255,255,.86);
  max-width: 560px;
  margin-bottom: 36px;
  font-weight: 500;
}

/* Botones del hero — flecha que se mueve, CTA terciario WhatsApp */
.hero-section .hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 28px;
}
.hero-section .hero-actions .btn-white {
  position: relative;
  padding-right: 28px;
  font-weight: 900;
  letter-spacing: -.005em;
  box-shadow: 0 14px 34px rgba(0,0,0,.22), 0 2px 6px rgba(0,0,0,.12);
  transition: transform .25s var(--ph-ease), box-shadow .25s var(--ph-ease), filter .2s;
}
.hero-section .hero-actions .btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(0,0,0,.30), 0 4px 10px rgba(0,0,0,.15);
}
.hero-section .hero-actions .btn-white svg {
  transition: transform .25s var(--ph-ease);
}
.hero-section .hero-actions .btn-white:hover svg {
  transform: translateX(6px);
}

/* CTA secundario degradado a "link sutil" — no compite con el primario */
.hero-section .hero-actions .btn-ghost {
  background: transparent;
  border: 0;
  color: rgba(255,255,255,.85);
  padding: 12px 4px;
  font-weight: 700;
  text-decoration: none;
  position: relative;
}
.hero-section .hero-actions .btn-ghost::after {
  content: "";
  position: absolute;
  left: 4px; right: 4px; bottom: 6px;
  height: 1px;
  background: rgba(255,255,255,.45);
  transform: scaleX(.6);
  transform-origin: left;
  transition: transform .25s var(--ph-ease), background .2s;
}
.hero-section .hero-actions .btn-ghost:hover::after {
  transform: scaleX(1);
  background: var(--ph-amber);
}
.hero-section .hero-actions .btn-ghost:hover {
  color: #fff;
  transform: none;
}

/* CTA terciario WhatsApp dentro del hero */
.hero-section .ph-hero-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(37,211,102,.18);
  border: 1px solid rgba(37,211,102,.45);
  color: #ecfdf5;
  font-weight: 800;
  font-size: .9rem;
  text-decoration: none;
  transition: background .2s, transform .2s var(--ph-ease), border-color .2s;
}
.hero-section .ph-hero-wa:hover {
  background: rgba(37,211,102,.30);
  border-color: rgba(37,211,102,.75);
  transform: translateY(-2px);
}
.hero-section .ph-hero-wa svg { color: #25d366; }

/* Hero shipping note: ahora chip discreto */
.hero-section .hero-shipping {
  font-size: .82rem;
  color: rgba(255,255,255,.62);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 2px;
}
.hero-section .hero-shipping::before {
  content: "";
  width: 18px; height: 1px;
  background: rgba(255,255,255,.35);
}

/* Trust micro-grid lateral derecho — numerología real (años, clientes, edos) */
.ph-hero-stats {
  grid-column: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-self: stretch;
  align-content: center;
  padding: 4px;
  position: relative;
  z-index: 2;
}
@media (max-width: 980px) {
  .ph-hero-stats {
    grid-column: 1;
    grid-template-columns: repeat(2, 1fr);
    max-width: 520px;
  }
}
@media (max-width: 480px) {
  .ph-hero-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
}
.ph-hero-stat {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(167,243,208,.22);
  border-radius: 18px;
  padding: 18px 18px 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .25s var(--ph-ease), background .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}
.ph-hero-stat::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167,243,208,.55), transparent);
}
.ph-hero-stat:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,.11);
  border-color: rgba(167,243,208,.42);
}
.ph-hero-stat__num {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 1000;
  line-height: 1;
  color: #fff;
  letter-spacing: -.035em;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.ph-hero-stat__num small {
  font-size: .55em;
  font-weight: 900;
  color: var(--ph-amber);
  margin-left: 2px;
}
.ph-hero-stat__label {
  margin-top: 8px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: rgba(255,255,255,.72);
  line-height: 1.35;
  text-wrap: balance;
}

/* Hero-trust (cinta inferior existente) — más sutil sobre el nuevo fondo */
.hero-section .hero-trust {
  grid-column: 1 / -1;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(167,243,208,.18);
}
.hero-section .hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.82);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: -.005em;
}
.hero-section .hero-trust-item svg { color: var(--ph-green-300); }

/* --------------------------------------------------------------------------
   2 · TRUST STRIP refinement — sobre .pm-trust-strip ya existente
   -------------------------------------------------------------------------- */
.pm-trust-strip {
  background:
    linear-gradient(180deg, var(--ph-cream) 0%, #fff 100%) !important;
  padding: clamp(28px, 4vw, 44px) 20px !important;
  position: relative;
}
.pm-trust-strip::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--ph-green-600), var(--ph-amber));
}
.pm-trust-strip .pm-trust-item {
  border-radius: 18px;
  background: #fff;
  border-color: rgba(13,61,36,.07);
  box-shadow:
    0 1px 2px rgba(15,23,42,.04),
    0 8px 24px rgba(13,61,36,.04);
}
.pm-trust-strip .pm-trust-item:hover {
  transform: translateY(-3px) scale(1.012);
  box-shadow:
    0 4px 8px rgba(15,23,42,.05),
    0 18px 38px rgba(13,61,36,.10);
  border-color: var(--ph-green-200);
}
.pm-trust-strip .pm-trust-item__icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--ph-green-50), var(--ph-green-100));
  border-color: var(--ph-green-200);
  box-shadow: inset 0 0 0 1px #fff;
}
.pm-trust-strip .pm-trust-item__icon svg { width: 22px; height: 22px; }

/* --------------------------------------------------------------------------
   3 · "Por qué nosotros" — layout asimétrico premium
   -------------------------------------------------------------------------- */
.why-section {
  padding: var(--ph-pad-y) 20px !important;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(45,187,108,.06), transparent 70%),
    linear-gradient(180deg, #fafdfb 0%, #fff 100%) !important;
  position: relative;
}
.why-section .why-grid {
  grid-template-columns: 1.4fr 1fr 1fr !important;
  grid-template-rows: auto auto;
  grid-auto-flow: dense;
  gap: 20px !important;
  max-width: 1180px !important;
}
.why-section .why-card:nth-child(1) {
  grid-column: 1 / span 1;
  grid-row: 1 / span 2;
  background: linear-gradient(160deg, var(--ph-green-800) 0%, var(--ph-green-600) 100%) !important;
  border: 1px solid var(--ph-green-700) !important;
  color: #fff;
  padding: 32px 28px !important;
  position: relative;
  overflow: hidden;
}
.why-section .why-card:nth-child(1)::before {
  content: "";
  position: absolute;
  right: -60px; bottom: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167,243,208,.22), transparent 70%);
}
.why-section .why-card:nth-child(1) h3 {
  color: #fff !important;
  font-size: 1.25rem !important;
  margin-bottom: 10px !important;
}
.why-section .why-card:nth-child(1) p {
  color: rgba(255,255,255,.82) !important;
  font-size: .95rem !important;
}
.why-section .why-card:nth-child(1) .why-icon {
  background: rgba(255,255,255,.16) !important;
  border-color: rgba(167,243,208,.4) !important;
  color: var(--ph-green-200) !important;
  width: 56px !important; height: 56px !important;
}
.why-section .why-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 18px 40px rgba(13,61,36,.12) !important;
}
/* [FIX 2026-06-01] Son 4 tarjetas (1 verde a 2 filas + 3 blancas) en un grid
   de 3 columnas → quedaba un HUECO vacío abajo-derecha. La 4ª tarjeta ocupa
   ahora las 2 columnas restantes de la fila inferior → bento balanceado. */
@media (min-width: 921px) {
  .why-section .why-card:nth-child(4) { grid-column: 2 / -1 !important; }
}
@media (max-width: 920px) {
  .why-section .why-grid { grid-template-columns: 1fr 1fr !important; }
  .why-section .why-card:nth-child(1) {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}
@media (max-width: 540px) {
  .why-section .why-grid { grid-template-columns: 1fr !important; }
}

/* --------------------------------------------------------------------------
   4 · LINEAS DE PRODUCTO — sección nueva (tiles grandes)
   -------------------------------------------------------------------------- */
.ph-lines {
  padding: var(--ph-pad-y) 20px;
  background:
    linear-gradient(180deg, #fff 0%, #f8faf9 100%);
  position: relative;
}
.ph-lines__head {
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  text-align: center;
}
.ph-lines__eyebrow {
  display: inline-block;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ph-green-600);
  margin-bottom: 12px;
  padding: 6px 14px;
  background: var(--ph-green-50);
  border: 1px solid var(--ph-green-200);
  border-radius: 999px;
}
.ph-lines__title {
  font-size: clamp(1.7rem, 3.8vw, 2.6rem);
  font-weight: 1000;
  letter-spacing: -.035em;
  color: var(--ph-green-900);
  line-height: 1.05;
  margin: 0 0 14px;
  text-wrap: balance;
}
.ph-lines__sub {
  font-size: 1.02rem;
  color: #525252;
  line-height: 1.55;
  margin: 0;
  text-wrap: pretty;
}
.ph-lines__grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
@media (max-width: 760px) {
  .ph-lines__grid { grid-template-columns: 1fr; gap: 16px; }
}
.ph-lines__tile {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 22px;
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--ph-green-100);
  border-radius: 22px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ph-ease), box-shadow .35s var(--ph-ease), border-color .25s;
  min-height: 168px;
}
.ph-lines__tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 80% at 110% 50%, rgba(45,187,108,.10), transparent 60%);
  opacity: .8;
  transition: opacity .35s;
}
.ph-lines__tile:hover {
  transform: translateY(-4px);
  border-color: var(--ph-green-300);
  box-shadow:
    0 2px 4px rgba(13,61,36,.04),
    0 22px 48px rgba(13,61,36,.10);
}
.ph-lines__tile:hover::before { opacity: 1; }

.ph-lines__icon {
  flex: 0 0 auto;
  width: 64px; height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--ph-green-50), var(--ph-green-100));
  border: 1px solid var(--ph-green-200);
  color: var(--ph-green-700);
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px #fff;
  transition: transform .35s var(--ph-ease);
}
.ph-lines__tile:hover .ph-lines__icon { transform: rotate(-4deg) scale(1.05); }
.ph-lines__icon svg { width: 30px; height: 30px; }

.ph-lines__body { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.ph-lines__name {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--ph-green-900);
  letter-spacing: -.02em;
  margin: 0 0 6px;
}
.ph-lines__meta {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ph-green-600);
  margin-bottom: 10px;
}
.ph-lines__desc {
  font-size: .9rem;
  color: #525252;
  line-height: 1.5;
  margin: 0 0 14px;
  flex: 1;
}
.ph-lines__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  font-weight: 900;
  color: var(--ph-green-700);
  transition: gap .25s var(--ph-ease), color .2s;
}
.ph-lines__tile:hover .ph-lines__cta { gap: 12px; color: var(--ph-green-900); }

/* --------------------------------------------------------------------------
   5 · FEATURED section header — eyebrow refinado
   -------------------------------------------------------------------------- */
.featured-section {
  padding: var(--ph-pad-y) 0 !important;
}
.featured-section .section-header {
  text-align: center;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.featured-section .section-eyebrow {
  display: inline-block;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ph-amber);
  padding: 6px 14px;
  background: rgba(251,191,36,.10);
  border: 1px solid rgba(251,191,36,.30);
  border-radius: 999px;
  margin-bottom: 14px;
}
.featured-section .section-title {
  font-size: clamp(1.7rem, 3.8vw, 2.5rem);
  font-weight: 1000;
  letter-spacing: -.035em;
  color: var(--ph-green-900);
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

/* --------------------------------------------------------------------------
   6 · TESTIMONIALES refinados — sin estrellas, avatar con iniciales
   -------------------------------------------------------------------------- */
.pm-testimonial-section {
  padding: var(--ph-pad-y) 20px;
  background:
    radial-gradient(ellipse 40% 50% at 80% 10%, rgba(251,191,36,.07), transparent 60%),
    radial-gradient(ellipse 40% 50% at 20% 90%, rgba(45,187,108,.06), transparent 60%),
    #fff;
}
.pm-testimonial-section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(36px, 5vw, 56px);
}
.pm-testimonial-section__eyebrow {
  display: inline-block;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ph-green-600);
  padding: 6px 14px;
  background: var(--ph-green-50);
  border: 1px solid var(--ph-green-200);
  border-radius: 999px;
  margin-bottom: 14px;
}
.pm-testimonial-section__title {
  font-size: clamp(1.7rem, 3.8vw, 2.5rem);
  font-weight: 1000;
  letter-spacing: -.035em;
  color: var(--ph-green-900);
  line-height: 1.05;
  margin: 0 0 12px;
  text-wrap: balance;
}
.pm-testimonial-section__sub {
  color: #525252;
  font-size: 1.02rem;
  line-height: 1.55;
  margin: 0;
}
.pm-testimonial-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 920px) { .pm-testimonial-grid { grid-template-columns: 1fr; max-width: 620px; } }

.pm-testimonial {
  background: #fff;
  border: 1px solid rgba(13,61,36,.08);
  border-radius: 22px;
  padding: 30px 28px;
  position: relative;
  box-shadow: 0 4px 14px rgba(13,61,36,.04);
  transition: transform .25s var(--ph-ease), box-shadow .25s, border-color .25s;
}
.pm-testimonial:hover {
  transform: translateY(-4px);
  border-color: var(--ph-green-200);
  box-shadow:
    0 2px 4px rgba(13,61,36,.04),
    0 18px 38px rgba(13,61,36,.10);
}
.pm-testimonial::before {
  content: "\201C";
  position: absolute;
  top: 14px; right: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.2rem;
  line-height: 1;
  color: var(--ph-green-200);
  opacity: .9;
  pointer-events: none;
}
.pm-testimonial__stars { display: none; }  /* Quitamos las estrellas — todas 5/5 se ve fake */
.pm-testimonial__quote {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.04rem;
  line-height: 1.55;
  color: var(--ph-green-900);
  margin: 0 0 22px;
  text-wrap: pretty;
}
.pm-testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(13,61,36,.06);
}
.pm-testimonial__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ph-green-600), var(--ph-green-700));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 1000;
  font-size: .92rem;
  letter-spacing: .02em;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(13,61,36,.18);
  flex: 0 0 auto;
}
.pm-testimonial__name {
  font-weight: 900;
  font-size: .92rem;
  color: var(--ph-green-900);
  letter-spacing: -.005em;
}
.pm-testimonial__role {
  font-size: .78rem;
  color: #6b7280;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   7 · CTA final premium — gran banner antes del footer
   -------------------------------------------------------------------------- */
.cta-section {
  padding: var(--ph-pad-y) 20px !important;
  background:
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(45,187,108,.20), transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(251,191,36,.12), transparent 60%),
    linear-gradient(135deg, var(--ph-green-900) 0%, var(--ph-green-800) 50%, var(--ph-green-700) 100%) !important;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 400' preserveAspectRatio='none'><g fill='none' stroke='%23a7f3d0' stroke-width='1' opacity='.18'><path d='M0 100 Q300 50 600 110 T1200 90'/><path d='M0 180 Q300 130 600 190 T1200 170'/><path d='M0 260 Q300 210 600 270 T1200 250'/><path d='M0 340 Q300 290 600 350 T1200 330'/></g></svg>");
  background-size: cover;
  pointer-events: none;
}
.cta-section .cta-inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 760px) {
  .cta-section .cta-inner { grid-template-columns: 1fr; text-align: center; }
}
.cta-section h2 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 1000;
  letter-spacing: -.035em;
  line-height: 1.05;
  margin: 12px 0 14px;
  text-wrap: balance;
}
.cta-section p {
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0;
  max-width: 560px;
}
@media (max-width: 760px) { .cta-section p { margin: 0 auto; } }
.cta-section .btn-white {
  font-weight: 900;
  padding: 16px 26px;
  font-size: 1rem;
  box-shadow: 0 14px 38px rgba(0,0,0,.32);
  transition: transform .25s var(--ph-ease), box-shadow .25s;
}
.cta-section .btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(0,0,0,.38);
}
.cta-section .btn-white svg { transition: transform .25s var(--ph-ease); }
.cta-section .btn-white:hover svg { transform: translateX(6px); }

/* CTA banner WA — refinamiento sutil del existente */
.pm-cta-banner { padding: clamp(32px, 5vw, 56px) 20px; }

/* --------------------------------------------------------------------------
   8 · Stats strip — refinamiento (numerología grande, texto editorial)
   -------------------------------------------------------------------------- */
.stats-strip {
  background:
    linear-gradient(180deg, #fff 0%, var(--ph-cream) 100%) !important;
  padding: clamp(40px, 6vw, 64px) 0 !important;
  border-color: rgba(13,61,36,.06) !important;
}
.stats-strip .stat-num {
  background: linear-gradient(135deg, var(--ph-green-700), var(--ph-green-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem) !important;
  font-weight: 1000;
  letter-spacing: -.035em;
}
.stats-strip .stat-label {
  font-weight: 700;
  font-size: .86rem !important;
  color: #525252 !important;
  margin-top: 8px !important;
}
.stats-strip .stat-item {
  position: relative;
  padding: 0 12px;
}
.stats-strip .stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%; right: 0;
  transform: translateY(-50%);
  width: 1px; height: 50%;
  background: linear-gradient(180deg, transparent, rgba(13,61,36,.10), transparent);
}
@media (max-width: 600px) {
  .stats-strip .stat-item:nth-child(2)::after { display: none; }
  .stats-strip .stat-item:nth-child(odd):not(:last-child)::after {
    content: "";
    right: 0;
  }
}

/* --------------------------------------------------------------------------
   9 · Features section (legacy) — armonizar con resto del home
   -------------------------------------------------------------------------- */
.features-section {
  padding: var(--ph-pad-y) 20px !important;
}
.features-section .section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(32px, 5vw, 48px);
}
.features-section .section-eyebrow {
  display: inline-block;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ph-green-600);
  padding: 6px 14px;
  background: var(--ph-green-50);
  border: 1px solid var(--ph-green-200);
  border-radius: 999px;
  margin-bottom: 14px;
}
.features-section .section-title {
  font-size: clamp(1.7rem, 3.8vw, 2.5rem);
  font-weight: 1000;
  letter-spacing: -.035em;
  color: var(--ph-green-900);
  line-height: 1.05;
  margin: 0 0 12px;
  text-wrap: balance;
}
.features-section .section-sub {
  color: #525252;
  font-size: 1.02rem;
  line-height: 1.55;
  margin: 0;
}

/* --------------------------------------------------------------------------
   10 · Reduce motion — desactiva todo lo decorativo
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .ph-lines__tile,
  .ph-lines__tile .ph-lines__icon,
  .ph-lines__tile .ph-lines__cta,
  .hero-section .hero-actions .btn-white,
  .hero-section .hero-actions .btn-white svg,
  .pm-testimonial,
  .cta-section .btn-white,
  .cta-section .btn-white svg,
  .ph-hero-stat,
  .pm-trust-strip .pm-trust-item {
    transition: none !important;
  }
  .hero-section .hero-badge::before { animation: none !important; }
}
