/* ========================================================================
   MR GROUP — Sitio corporativo · Design System
   Heredado de public/landing.html + extensiones para sitio multi-página.
   No hay build step: este archivo se edita a mano. Versionar con ?v=...
   ======================================================================== */

/* ━━━ DESIGN TOKENS ━━━ */
:root {
  --primary:            #002045;
  --primary-container:  #1a365d;
  --secondary:          #b02a3e;
  --secondary-light:    #ff6473;
  --bg:                 #f8f9fb;
  --surface:            #f8f9fb;
  --surface-container:  #f3f4f6;
  --on-surface:         #0f1820;
  --on-surface-variant: #43474e;
  --border:             rgba(0,32,69,.1);
  --white:              #ffffff;

  --radius-arch-tl: 3rem 0 0 0;
  --radius-arch:    3rem 0 3rem 0;
  --radius-card:    12px;
  --shadow-sm:      0 2px 12px rgba(0,32,69,.06);
  --shadow-md:      0 8px 32px rgba(0,32,69,.10);
  --shadow-lg:      0 20px 56px rgba(0,32,69,.14);

  --header-h: 102px;
  --topbar-h: 40px;
}

/* ━━━ RESET ━━━ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  background: var(--bg);
  color: var(--on-surface);
  overflow-x: hidden;
  line-height: 1.6;
  font-size: 16px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: white;
  padding: 12px 16px;
  z-index: 10000;
  font-weight: 700;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--secondary-light);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ━━━ TYPOGRAPHY ━━━ */
h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 800;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.05rem, 2vw, 1.3rem); }
p  { font-size: clamp(.95rem, 1.4vw, 1.05rem); }

em.accent { font-style: normal; color: var(--secondary); }
em.accent-light { font-style: normal; color: var(--secondary-light); }

/* Label uppercase */
.label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--secondary);
  display: block;
  margin-bottom: 10px;
}
.label-light { color: var(--secondary-light); }

/* ━━━ LAYOUT ━━━ */
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.container-narrow { width: 90%; max-width: 880px; margin: 0 auto; }

/* Architectural radius */
.arch-tl { border-top-left-radius: 3rem; }
.arch-br { border-bottom-right-radius: 3rem; }
.arch    { border-top-left-radius: 3rem; border-bottom-right-radius: 3rem; }

/* ━━━ TOP BAR (urgencia, solo páginas comerciales) ━━━ */
#top-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--secondary);
  color: white;
  text-align: center;
  padding: 10px 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(.75rem, 1.4vw, .9rem);
  font-weight: 700;
  letter-spacing: -.01em;
}
#top-bar a { color: white; text-decoration: underline; text-underline-offset: 3px; }
#top-bar span { font-weight: 400; opacity: .9; }
body.no-topbar { --topbar-h: 0px; }
body.no-topbar #top-bar { display: none; }

/* ━━━ SITE HEADER (multi-página con dropdown) ━━━ */
#site-header {
  position: fixed;
  top: var(--topbar-h);
  left: 0; right: 0;
  z-index: 999;
  background: rgba(0, 32, 69, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow .25s ease;
}
#site-header.scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.18); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}
.brand-iso {
  flex-shrink: 0;
  width: 60px;
  height: 78px;
  overflow: hidden;
  position: relative;
  display: block;
}
.brand-iso img {
  position: absolute;
  width: 140px;
  height: 140px;
  max-width: none;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  filter: brightness(0) invert(1);
  display: block;
}
.brand-word { display: flex; flex-direction: column; gap: 3px; }
.brand-word .brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -.01em;
  color: white;
  line-height: 1;
}
.brand-word .brand-name em { font-style: normal; color: var(--secondary-light); }
.brand-word .brand-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}

/* Nav primaria */
.nav-primary {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  position: relative;
  padding: 10px 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: .88rem;
  color: rgba(255,255,255,.82);
  border-radius: 8px;
  transition: color .2s, background .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-link:hover { color: white; background: rgba(255,255,255,.06); }
.nav-link[aria-current="page"] {
  color: white;
}
.nav-link[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 14px; right: 14px;
  height: 2px;
  background: var(--secondary-light);
  border-radius: 2px;
}

/* Dropdown Servicios */
.nav-item.has-dropdown { position: relative; }
.nav-toggle-dropdown {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  color: rgba(255,255,255,.82);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: -.01em;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
  margin: 0;
}
.nav-toggle-dropdown:hover { color: white; }
.nav-toggle-dropdown:focus { outline: none; }
.nav-toggle-dropdown:focus-visible { outline: 2px solid var(--secondary-light); outline-offset: 3px; border-radius: 8px; }
.nav-toggle-dropdown svg { width: 12px; height: 12px; flex-shrink: 0; transition: transform .25s; }
.nav-item.open .nav-toggle-dropdown svg { transform: rotate(180deg); }
.nav-item.has-dropdown.is-current .nav-toggle-dropdown { color: white; }
.nav-item.has-dropdown.is-current .nav-toggle-dropdown::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 14px; right: 14px;
  height: 2px;
  background: var(--secondary-light);
  border-radius: 2px;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background: white;
  border-radius: 14px;
  box-shadow: 0 24px 56px rgba(0,32,69,.22);
  padding: 10px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .22s, transform .22s;
  border: 1px solid var(--border);
}
/* Puente transparente para que el cursor no pierda el hover al cruzar el gap */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
  background: transparent;
}
.nav-item:hover .nav-dropdown,
.nav-item.open .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-dropdown a {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  color: var(--primary);
  transition: background .15s, color .15s;
}
.nav-dropdown a:hover { background: var(--surface-container); color: var(--secondary); }
.nav-dropdown a small {
  display: block;
  margin-top: 2px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: .76rem;
  color: var(--on-surface-variant);
  letter-spacing: 0;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--secondary);
  color: white;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(176,42,62,.3);
  transition: transform .15s, box-shadow .15s;
  flex-shrink: 0;
}
.header-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(176,42,62,.4); }
.header-cta svg { width: 14px; height: 14px; }

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: white;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: none;
  background: rgba(0,0,0,.5);
  padding: 0;
  border: none;
}
.nav-drawer[open] { display: block; }
.nav-drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(86vw, 360px);
  background: var(--primary);
  padding: 24px 22px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: -20px 0 60px rgba(0,0,0,.4);
}
.nav-drawer-close {
  align-self: flex-end;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: white;
  width: 40px; height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.nav-drawer-close svg { width: 18px; height: 18px; }
.nav-drawer a, .nav-drawer details > summary {
  padding: 14px 12px;
  border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  display: block;
  list-style: none;
  cursor: pointer;
}
.nav-drawer a:hover, .nav-drawer details > summary:hover { background: rgba(255,255,255,.06); }
.nav-drawer details[open] > summary { background: rgba(255,255,255,.06); }
.nav-drawer details > summary::-webkit-details-marker { display: none; }
.nav-drawer details > summary::after {
  content: '⌄';
  float: right;
  transition: transform .2s;
}
.nav-drawer details[open] > summary::after { transform: rotate(180deg); }
.nav-drawer details ul {
  list-style: none;
  padding-left: 12px;
  margin: 4px 0 8px;
}
.nav-drawer details ul a {
  font-size: .92rem;
  font-weight: 500;
  color: rgba(255,255,255,.78);
  padding: 10px 12px;
}
.nav-drawer .drawer-cta {
  margin-top: 16px;
  background: var(--secondary);
  text-align: center;
}

/* ━━━ BUTTONS ━━━ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(.9rem, 1.5vw, 1rem);
  font-weight: 700;
  letter-spacing: -.01em;
  cursor: pointer;
  border: none;
  transition: all .25s cubic-bezier(0.4,0,0.2,1);
  min-height: 50px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background .2s;
  pointer-events: none;
}
.btn:hover::after { background: rgba(255,255,255,.08); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,32,69,.22); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--secondary); color: white; box-shadow: 0 4px 16px rgba(176,42,62,.3); }
.btn-primary:hover { box-shadow: 0 10px 28px rgba(176,42,62,.4); }
.btn-dark { background: var(--primary); color: white; box-shadow: 0 4px 16px rgba(0,32,69,.25); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-outline-white { background: transparent; color: white; border: 2px solid rgba(255,255,255,.5); }
.btn-outline-white:hover { border-color: white; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.btn svg { width: 18px; height: 18px; }

.microcopy { font-size: .8rem; color: var(--on-surface-variant); margin-top: 8px; display: flex; align-items: center; gap: 5px; }
.microcopy-light { color: rgba(255,255,255,.55); }

/* Magnetic — solo desktop hover */
@media (hover: hover) and (pointer: fine) {
  .btn-magnetic { transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s; }
}

/* ━━━ SCROLL REVEAL ━━━ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-up { transform: translateY(28px); }
.reveal-left { transform: translateX(-28px); }
.reveal-right { transform: translateX(28px); }
.reveal-left.visible, .reveal-right.visible { transform: translateX(0); }

/* ━━━ BREADCRUMBS ━━━ */
.breadcrumbs {
  padding: 14px 0 0;
  font-size: .82rem;
  color: var(--on-surface-variant);
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.breadcrumbs li + li::before {
  content: '/';
  margin-right: 6px;
  color: rgba(0,32,69,.3);
}
.breadcrumbs a {
  color: var(--on-surface-variant);
  transition: color .2s;
}
.breadcrumbs a:hover { color: var(--secondary); }
.breadcrumbs [aria-current="page"] { color: var(--primary); font-weight: 600; }

/* ━━━ SECTION HEADERS ━━━ */
.sec-header { margin-bottom: 56px; }
.sec-header h2 { color: var(--primary); margin-bottom: 10px; }
.sec-header p { color: var(--on-surface-variant); max-width: 600px; }
.sec-header.center { text-align: center; }
.sec-header.center p { margin: 0 auto; }

section { padding: 96px 0; }
section.tight { padding: 64px 0; }

/* ━━━ PAGE HEADER (subpáginas) ━━━ */
.page-header {
  position: relative;
  background: var(--primary);
  color: white;
  padding: calc(var(--topbar-h) + var(--header-h) + 60px) 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.page-header::before,
.page-header::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}
.page-header::before {
  width: 460px; height: 460px;
  top: -180px; left: -120px;
  background: radial-gradient(circle, rgba(176,42,62,.35) 0%, transparent 70%);
}
.page-header::after {
  width: 380px; height: 380px;
  bottom: -160px; right: -100px;
  background: radial-gradient(circle, rgba(255,100,115,.22) 0%, transparent 70%);
}
.page-header .breadcrumbs { color: rgba(255,255,255,.7); }
.page-header .breadcrumbs a { color: rgba(255,255,255,.7); }
.page-header .breadcrumbs a:hover { color: var(--secondary-light); }
.page-header .breadcrumbs li + li::before { color: rgba(255,255,255,.3); }
.page-header .breadcrumbs [aria-current="page"] { color: white; }
.page-header h1 {
  color: white;
  margin: 18px 0 14px;
  max-width: 880px;
}
.page-header .page-sub {
  color: rgba(255,255,255,.78);
  max-width: 720px;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.6;
}
.page-header .label-light { display: inline-block; }

/* ━━━ HERO (home) ━━━ */
#hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: calc(var(--topbar-h) + var(--header-h) + 16px);
  padding-bottom: 56px;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(.55);
  opacity: .45;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,32,69,.88) 0%, rgba(26,54,93,.74) 50%, rgba(0,32,69,.6) 100%);
}
/* Mesh gradient overlay animado */
.hero-mesh {
  position: absolute;
  inset: -20%;
  z-index: -1;
  filter: blur(70px);
  opacity: .55;
  pointer-events: none;
  background:
    radial-gradient(circle at 28% 38%, rgba(176,42,62,.55) 0%, transparent 50%),
    radial-gradient(circle at 72% 62%, rgba(26,54,93,.5) 0%, transparent 55%),
    radial-gradient(circle at 50% 90%, rgba(255,100,115,.35) 0%, transparent 60%);
  animation: meshDrift 18s ease-in-out infinite alternate;
}
@keyframes meshDrift {
  to { transform: translate(6%, -4%) rotate(8deg) scale(1.05); }
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-content { animation: slideLeft .8s ease forwards; }
@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-28px); }
  to   { opacity: 1; transform: translateX(0); }
}
.hero-content h1 {
  color: white;
  margin-bottom: 18px;
  line-height: 1.05;
}
.hero-content h1 em { font-style: normal; color: var(--secondary-light); }
.hero-sub {
  color: rgba(255,255,255,.78);
  font-size: clamp(1rem, 1.55vw, 1.12rem);
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 24px;
}
.hero-bullets {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,.9);
  font-size: clamp(.92rem, 1.4vw, 1rem);
}
.bullet-dot {
  width: 22px; height: 22px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.bullet-dot svg { width: 12px; height: 12px; color: white; }
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.stars-row { margin-top: 24px; display: flex; align-items: center; gap: 10px; }
.stars { color: #FBBF24; font-size: 1rem; letter-spacing: 1px; }
.stars-label { font-size: .82rem; color: rgba(255,255,255,.6); }

/* Hero right */
.hero-right {
  animation: scaleIn .8s ease .2s both;
  position: relative;
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: scale(1); }
}
.hero-photo-wrap {
  border-top-left-radius: 3rem;
  border-bottom-right-radius: 3rem;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.35);
  border: 3px solid rgba(255,255,255,.12);
  view-transition-name: hero-photo;
}
.hero-photo-wrap img {
  width: 100%;
  height: clamp(360px, 56vh, 500px);
  object-fit: cover;
}
.hero-stat-chip {
  position: absolute;
  bottom: -22px;
  left: -28px;
  background: var(--secondary);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 16px 40px rgba(176,42,62,.35);
  max-width: 250px;
  animation: slideLeft .8s ease .7s both;
}
.hero-stat-chip .stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  display: block;
}
.hero-stat-chip .stat-desc { color: rgba(255,255,255,.78); font-size: .82rem; margin-top: 4px; }

/* Kinetic text */
.kinetic { display: inline; }
.kinetic-word { display: inline-block; white-space: nowrap; }
.kinetic-word span {
  display: inline-block;
  opacity: 0;
  transform: translateY(.4em);
  animation: charRise .55s cubic-bezier(.2,.8,.2,1) calc(var(--i, 0) * 28ms) forwards;
}
@keyframes charRise {
  to { opacity: 1; transform: translateY(0); }
}

/* ━━━ PROOF / STATS ━━━ */
#proof {
  position: relative;
  background: var(--primary);
  padding: 72px 0 64px;
  overflow: hidden;
  isolation: isolate;
}
#proof::before, #proof::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}
#proof::before {
  width: 460px; height: 460px;
  top: -180px; left: -120px;
  background: radial-gradient(circle, rgba(176,42,62,.35) 0%, transparent 70%);
}
#proof::after {
  width: 380px; height: 380px;
  bottom: -160px; right: -100px;
  background: radial-gradient(circle, rgba(255,100,115,.22) 0%, transparent 70%);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.proof-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.02) 100%);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding: 28px 24px 26px;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s, background .3s;
  overflow: hidden;
}
.proof-card::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(176,42,62,.55), transparent);
  opacity: 0;
  transition: opacity .35s;
}
.proof-card:hover {
  transform: translateY(-6px);
  border-color: rgba(176,42,62,.55);
  background: linear-gradient(160deg, rgba(176,42,62,.12) 0%, rgba(255,255,255,.04) 100%);
  box-shadow: 0 24px 56px rgba(176,42,62,.18), 0 0 0 1px rgba(176,42,62,.2);
}
.proof-card:hover::before { opacity: 1; }
.proof-card-ico {
  width: 48px; height: 48px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--secondary) 0%, #d23a52 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(176,42,62,.4);
}
.proof-card-ico svg { width: 24px; height: 24px; color: white; }
.proof-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  background: linear-gradient(180deg, #ffffff 0%, #ffc9d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 6px;
}
.proof-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
}
.proof-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50px;
  padding: 11px 22px;
  color: rgba(255,255,255,.88);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .01em;
  transition: background .25s, border-color .25s;
}
.proof-badge:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); }
.proof-badge svg { width: 15px; height: 15px; color: var(--secondary-light); flex-shrink: 0; }

/* ━━━ BENTO GRID (servicios home, comunidades) ━━━ */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 18px;
}
.bento-card {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0,32,69,.12);
  border-color: rgba(176,42,62,.3);
}
.bento-card.dark { background: var(--primary); color: white; border-color: rgba(255,255,255,.1); }
.bento-card.dark:hover { border-color: rgba(255,100,115,.4); }
.bento-card.featured { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%); color: white; border-color: transparent; }
.bento-card.featured h3, .bento-card.dark h3 { color: white; }
.bento-card .bento-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--surface-container);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--secondary);
}
.bento-card.dark .bento-icon, .bento-card.featured .bento-icon { background: rgba(255,255,255,.1); color: var(--secondary-light); }
.bento-card .bento-icon svg { width: 24px; height: 24px; }
.bento-card h3 { color: var(--primary); font-size: 1.15rem; margin-bottom: 8px; }
.bento-card p { font-size: .9rem; line-height: 1.6; color: var(--on-surface-variant); margin-bottom: 14px; }
.bento-card.dark p, .bento-card.featured p { color: rgba(255,255,255,.72); }
.bento-card .bento-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.bento-list {
  list-style: none;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bento-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: rgba(255,255,255,.82);
  line-height: 1.45;
}
.bento-list li svg { width: 16px; height: 16px; color: var(--secondary-light); flex-shrink: 0; margin-top: 3px; }
.bento-card.dark .bento-link, .bento-card.featured .bento-link { color: var(--secondary-light); }
.bento-card .bento-link svg { width: 14px; height: 14px; transition: transform .2s; }
.bento-card:hover .bento-link svg { transform: translateX(4px); }

/* Bento layout: 6 columns */
.bento .b-2 { grid-column: span 2; }
.bento .b-3 { grid-column: span 3; }
.bento .b-4 { grid-column: span 4; }
.bento .b-6 { grid-column: span 6; }
.bento .r-2 { grid-row: span 2; }

/* Bento card con imagen */
.bento-card.with-image { padding: 0; min-height: 260px; }
.bento-card.with-image .bento-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.bento-card.with-image .bento-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(.4);
  transition: filter .4s, transform .5s;
}
.bento-card.with-image:hover .bento-img img { filter: grayscale(0); transform: scale(1.04); }
.bento-card.with-image .bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,32,69,.92) 0%, rgba(0,32,69,.45) 50%, transparent 100%);
  z-index: 1;
}
.bento-card.with-image .bento-content {
  position: relative;
  z-index: 2;
  padding: 24px;
  margin-top: auto;
  color: white;
}
.bento-card.with-image h3 { color: white; }
.bento-card.with-image p { color: rgba(255,255,255,.85); }
.bento-card.with-image .bento-link { color: var(--secondary-light); }

/* ━━━ FEATURE CARDS (benefits) ━━━ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.benefit-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: all .3s cubic-bezier(0.4,0,0.2,1);
}
.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,32,69,.10);
  border-color: rgba(0,32,69,.15);
}
.ben-icon {
  background: var(--surface-container);
  width: 52px; height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.ben-icon svg { width: 24px; height: 24px; color: var(--secondary); }
.benefit-card h3 { color: var(--primary); margin-bottom: 8px; font-size: 1.05rem; }
.benefit-card p { font-size: .92rem; color: var(--on-surface-variant); line-height: 1.65; }
.ben-photo {
  width: 100%; height: 180px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 16px;
  position: relative;
}
.ben-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(.3);
  transition: filter .4s ease, transform .5s ease;
}
.benefit-card:hover .ben-photo img { filter: grayscale(0); transform: scale(1.04); }

/* ━━━ TESTIMONIAL CARDS ━━━ */
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.test-card {
  background: white;
  border-radius: var(--radius-card);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
}
.test-quote {
  font-family: Georgia, serif;
  font-size: 4.5rem;
  color: var(--secondary);
  opacity: .15;
  position: absolute;
  top: 8px; left: 16px;
  line-height: 1;
}
.test-stars { color: #FBBF24; font-size: .9rem; margin-bottom: 14px; }
.test-text {
  font-size: .94rem;
  color: var(--on-surface-variant);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.test-author { display: flex; align-items: center; gap: 12px; }
.test-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .9rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}
.test-name { font-weight: 700; color: var(--primary); font-size: .94rem; }
.test-role { font-size: .8rem; color: var(--on-surface-variant); }

/* ━━━ PAIN / SOLUTION (problema-solución) ━━━ */
.prob-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.pain-list, .sol-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.pain-item, .sol-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: white;
  border-radius: var(--radius-card);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.pain-item { border-left: 3px solid #EF4444; }
.pain-icon { font-size: 1.3rem; flex-shrink: 0; line-height: 1.3; }
.pain-title { font-weight: 700; color: #991B1B; font-size: .94rem; margin-bottom: 2px; }
.pain-desc  { font-size: .85rem; color: #7F1D1D; opacity: .85; }
.sol-item { border-left: 3px solid var(--primary); }
.sol-ico {
  width: 38px; height: 38px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sol-ico svg { width: 18px; height: 18px; color: white; }
.sol-text strong { display: block; font-size: .96rem; color: var(--primary); margin-bottom: 2px; }
.sol-text p { font-size: .92rem; color: var(--on-surface); }

/* ━━━ METHODOLOGY (steps dark) ━━━ */
.met-section {
  position: relative;
  background: var(--primary);
  overflow: hidden;
}
.met-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(176,42,62,.15) 0%, transparent 70%);
  border-radius: 50%;
}
.met-header { text-align: center; margin-bottom: 64px; position: relative; z-index: 1; }
.met-header h2 { color: white; margin-bottom: 12px; }
.met-header p { color: rgba(255,255,255,.55); max-width: 560px; margin: 0 auto; }
.met-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.met-card {
  background: var(--primary-container);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  text-align: center;
  transition: border-color .3s ease, transform .3s ease;
}
.met-card:hover { border-color: var(--secondary); transform: translateY(-4px); }
.met-num {
  width: 60px; height: 60px;
  background: var(--secondary);
  color: white;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 8px 24px rgba(176,42,62,.35);
}
.met-card h3 { color: white; margin-bottom: 10px; font-size: 1.1rem; }
.met-card p { color: rgba(255,255,255,.55); font-size: .9rem; line-height: 1.65; }

/* ━━━ SERVICE BLOCKS (alternados, photo + text) ━━━ */
.srv-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 72px;
}
.srv-block:last-child { margin-bottom: 0; }
.srv-block.reverse > .srv-text { order: -1; }
.srv-photo {
  border-top-left-radius: 3rem;
  border-bottom-right-radius: 3rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.srv-photo img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  filter: grayscale(.15);
  transition: filter .5s ease, transform .6s ease;
}
.srv-block:hover .srv-photo img { filter: grayscale(0); transform: scale(1.03); }
.srv-text h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
  color: var(--primary);
  margin-bottom: 12px;
}
.srv-text > p {
  color: var(--on-surface-variant);
  margin-bottom: 22px;
  line-height: 1.7;
  font-size: 1.02rem;
}
.srv-bullets { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.srv-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .96rem;
  color: var(--on-surface);
  line-height: 1.55;
}
.srv-bullets li svg { width: 18px; height: 18px; color: var(--secondary); flex-shrink: 0; margin-top: 3px; }

/* ━━━ FAQ ━━━ */
.faq-list { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-group { margin-bottom: 48px; }
.faq-group h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 16px;
  font-weight: 700;
}
.faq-item {
  background: white;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  text-align: left;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .98rem;
  font-weight: 700;
  color: var(--primary);
  transition: background .2s;
  line-height: 1.4;
}
.faq-q:hover { background: var(--surface-container); }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--surface-container);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .35s ease, background .25s;
}
.faq-icon svg { width: 14px; height: 14px; color: var(--secondary); }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--secondary); }
.faq-item.open .faq-icon svg { color: white; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a-inner { padding: 0 22px 20px; font-size: .94rem; color: var(--on-surface-variant); line-height: 1.7; }
.faq-a-inner p + p { margin-top: 10px; }
.faq-a-inner ul, .faq-a-inner ol { margin: 10px 0 10px 20px; }

/* ━━━ COMPARISON TABLE ━━━ */
.comparison {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: white;
}
.comparison table { width: 100%; border-collapse: collapse; }
.comparison th, .comparison td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: .94rem;
  line-height: 1.55;
}
.comparison thead th {
  background: var(--primary);
  color: white;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: .92rem;
}
.comparison tbody tr:last-child td { border-bottom: none; }
.comparison tbody td:first-child { font-weight: 600; color: var(--primary); width: 30%; }
.comparison .neg { color: #991B1B; }
.comparison .pos { color: #166534; font-weight: 600; }

/* ━━━ CALLOUT / BLOCKQUOTE (LLM-friendly) ━━━ */
.callout {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  border-left: 4px solid var(--secondary);
  border-radius: 12px;
  padding: 22px 26px;
  margin: 28px 0;
  color: #78350F;
  font-size: .96rem;
  line-height: 1.65;
}
.callout strong { color: #92400E; }
.callout-blue {
  background: linear-gradient(135deg, rgba(0,32,69,.04) 0%, rgba(0,32,69,.08) 100%);
  border-left-color: var(--primary);
  color: var(--on-surface);
}
blockquote.tldr {
  background: var(--primary);
  color: white;
  border-radius: 18px;
  padding: 24px 28px;
  margin: 32px 0;
  position: relative;
  box-shadow: var(--shadow-md);
}
blockquote.tldr::before {
  content: 'TL;DR';
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .15em;
  color: var(--secondary-light);
  margin-bottom: 8px;
}
blockquote.tldr p { font-size: 1rem; line-height: 1.65; color: rgba(255,255,255,.92); }

/* ━━━ CTA FINAL ━━━ */
.cta-final {
  background: var(--primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(176,42,62,.18) 0%, transparent 70%);
}
.cta-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.cta-final h2 { color: white; margin-bottom: 14px; }
.cta-final p { color: rgba(255,255,255,.66); margin-bottom: 36px; font-size: 1.05rem; }
.cta-btn-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.guarantee-row {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: rgba(255,255,255,.45);
  font-size: .82rem;
}
.guarantee-row svg { width: 15px; height: 15px; color: #86EFAC; }

/* ━━━ FOOTER CORPORATIVO ━━━ */
.footer-corp {
  background: var(--primary);
  color: rgba(255,255,255,.72);
  padding: 64px 0 28px;
  border-top: 4px solid var(--secondary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-col h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .85rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: .92rem;
  color: rgba(255,255,255,.7);
  transition: color .2s;
}
.footer-col ul a:hover { color: var(--secondary-light); }
.footer-brand-col .footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand-col .footer-logo .brand-iso { width: 54px; height: 70px; }
.footer-brand-col .footer-logo .brand-iso img { width: 130px; height: 130px; top: -22px; }
.footer-brand-col .footer-tag {
  font-size: .92rem;
  color: rgba(255,255,255,.6);
  line-height: 1.65;
  margin-bottom: 18px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background .2s, border-color .2s, transform .2s;
}
.footer-social a:hover { background: var(--secondary); border-color: var(--secondary); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact .item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: rgba(255,255,255,.78);
  line-height: 1.5;
}
.footer-contact .item svg { width: 16px; height: 16px; color: var(--secondary-light); flex-shrink: 0; margin-top: 3px; }
.footer-contact .item a { color: inherit; transition: color .2s; }
.footer-contact .item a:hover { color: var(--secondary-light); }
.footer-legal {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
}
.footer-legal nav { display: flex; gap: 18px; }
.footer-legal a { color: inherit; transition: color .2s; }
.footer-legal a:hover { color: var(--secondary-light); }

/* ━━━ WHATSAPP FLOATING ━━━ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(37,211,102,.4);
  transition: transform .25s, box-shadow .25s;
}
.wa-float:hover { transform: scale(1.06); box-shadow: 0 16px 32px rgba(37,211,102,.55); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: .6;
  animation: waPulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0%   { transform: scale(.85); opacity: .55; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ━━━ FORM ━━━ */
.form-card {
  background: white;
  border-top-left-radius: 3rem;
  border-bottom-right-radius: 3rem;
  padding: 52px 48px 56px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.form-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  text-align: center;
  margin-bottom: 6px;
}
.form-card-sub {
  text-align: center;
  font-size: .85rem;
  color: var(--on-surface-variant);
  margin-bottom: 24px;
}
.urgency-chip {
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  border-radius: 8px;
  padding: 10px 14px;
  text-align: center;
  font-size: .82rem;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #92400E;
  margin-bottom: 24px;
}
.field-group { margin-bottom: 16px; }
.field-group label {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.field-group input, .field-group select, .field-group textarea {
  width: 100%;
  background: var(--surface-container);
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--on-surface);
  outline: none;
  transition: border-color .25s, box-shadow .25s;
}
.field-group input:focus, .field-group select:focus, .field-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,32,69,.08);
}
.field-group input::placeholder, .field-group textarea::placeholder { color: #9CA3AF; }
.field-group textarea { resize: vertical; min-height: 100px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.submit-btn {
  width: 100%;
  background: var(--secondary);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: all .25s ease;
  min-height: 52px;
  position: relative;
  overflow: hidden;
}
.submit-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
  transition: left .5s ease;
}
.submit-btn:hover::after { left: 130%; }
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(176,42,62,.35); }
.submit-btn:active { transform: translateY(0); }
.form-disclaimer {
  text-align: center;
  font-size: .74rem;
  color: #9CA3AF;
  margin-top: 14px;
}

/* Hapee iframe — libre, sin caja */
.hapee-iframe {
  display: block;
  width: 100%;
  min-height: 720px;
  border: none;
  background: transparent;
}
.hapee-iframe-hero { min-height: 640px; }

/* ━━━ ARTICLE BODY (blog) ━━━ */
.article {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.04rem;
  line-height: 1.75;
  color: var(--on-surface);
}
.article p { margin-bottom: 20px; }
.article h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--primary);
  margin: 48px 0 16px;
  scroll-margin-top: calc(var(--header-h) + 40px);
}
.article h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin: 32px 0 12px;
}
.article ul, .article ol { margin: 16px 0 24px 24px; }
.article li { margin-bottom: 8px; }
.article a { color: var(--secondary); text-decoration: underline; text-underline-offset: 3px; }
.article a:hover { color: var(--primary); }
.article strong { color: var(--primary); }
.article img { border-radius: 14px; margin: 28px 0; }
.article hr { border: none; height: 1px; background: var(--border); margin: 40px 0; }

.article-header {
  max-width: 760px;
  margin: 0 auto 40px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .88rem;
  color: var(--on-surface-variant);
  margin-bottom: 18px;
}
.article-meta .author-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: .82rem;
}
.article-meta .dot { color: rgba(0,32,69,.25); }

/* Reading progress bar */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--secondary);
  z-index: 1100;
  width: 0;
  transition: width .12s linear;
}
@supports (animation-timeline: scroll()) {
  .reading-progress {
    width: 100%;
    transform-origin: left;
    transform: scaleX(0);
    animation: progressGrow linear;
    animation-timeline: scroll(root);
  }
  @keyframes progressGrow { to { transform: scaleX(1); } }
}

/* ━━━ BLOG INDEX CARDS ━━━ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,32,69,.12); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; filter: grayscale(.25); }
.blog-card:hover .blog-card-img img { transform: scale(1.05); filter: grayscale(0); }
.blog-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card-cat {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 10px;
}
.blog-card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.3;
}
.blog-card p {
  font-size: .9rem;
  color: var(--on-surface-variant);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
}
.blog-card-meta {
  font-size: .78rem;
  color: var(--on-surface-variant);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}
.blog-card-meta .dot { color: rgba(0,32,69,.25); }

/* ━━━ CONTACT GRID ━━━ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: white;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.contact-info-item .icon-wrap {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--surface-container);
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-item .icon-wrap svg { width: 22px; height: 22px; }
.contact-info-item h4 {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--secondary);
  margin-bottom: 4px;
  font-weight: 700;
}
.contact-info-item p, .contact-info-item a {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
  line-height: 1.5;
}
.contact-info-item a:hover { color: var(--secondary); }
.contact-map {
  margin-top: 36px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  height: 320px;
}
.contact-map iframe { width: 100%; height: 100%; border: 0; }

/* ━━━ HOW-TO STEPS (vertical) ━━━ */
.steps-vertical {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.step-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: flex-start;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step-item .step-num {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
  color: white;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0,32,69,.2);
}
.step-item h3 {
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.step-item p {
  font-size: .96rem;
  color: var(--on-surface-variant);
  line-height: 1.7;
}
.step-item .step-meta {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .74rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 6px;
  display: block;
}

/* ━━━ TAG CHIPS ━━━ */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-container);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 8px 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  color: var(--primary);
}
.chip svg { width: 14px; height: 14px; color: var(--secondary); }

/* ━━━ PHOTO STRIP ━━━ */
.photo-strip {
  background: var(--primary);
  padding: 0;
  overflow: hidden;
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 280px;
}
.strip-item { position: relative; overflow: hidden; }
.strip-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(.5);
  opacity: .7;
  transition: filter .4s ease, opacity .4s ease, transform .5s ease;
}
.strip-item:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.06); }
.strip-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,32,69,.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.strip-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .9;
}

/* ━━━ STICKY MOBILE CTA ━━━ */
#sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 998;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--secondary);
  color: white;
  padding: 15px 20px;
  border-radius: 50px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(176,42,62,.5);
  animation: stickyPulse 2.4s ease-in-out infinite;
  max-width: 480px;
  margin: 0 auto;
}
#sticky-cta svg { width: 16px; height: 16px; flex-shrink: 0; }
@keyframes stickyPulse {
  0%, 100% { box-shadow: 0 12px 32px rgba(176,42,62,.5); }
  50%      { box-shadow: 0 12px 40px rgba(176,42,62,.75); }
}

/* ━━━ VIEW TRANSITIONS (2026) ━━━ */
@view-transition { navigation: auto; }
@supports (view-transition-name: none) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: .28s;
    animation-timing-function: cubic-bezier(.4,0,.2,1);
  }
}

/* ━━━ SCROLL-DRIVEN PARALLAX ━━━ */
@supports (animation-timeline: view()) {
  .parallax-bg img {
    animation: parallaxY linear;
    animation-timeline: view();
    animation-range: cover;
  }
  @keyframes parallaxY {
    from { transform: translateY(-8%); }
    to   { transform: translateY(8%); }
  }
}

/* ━━━ RESPONSIVE ━━━ */
@media (max-width: 1100px) {
  .nav-primary { gap: 0; }
  .nav-link { padding: 10px 10px; font-size: .82rem; }
}
@media (max-width: 1024px) {
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .test-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid { gap: 16px; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .met-steps { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento .b-3, .bento .b-4 { grid-column: span 2; }
  .bento .b-6 { grid-column: span 4; }
  .nav-primary { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 768px) {
  :root { --header-h: 80px; }
  section { padding: 64px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .prob-grid { grid-template-columns: 1fr; gap: 40px; }
  .met-steps { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .test-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: left; }
  .proof-grid { grid-template-columns: 1fr; gap: 14px; }
  .proof-card { padding: 22px 18px 20px; }
  #proof { padding: 56px 0 48px; }
  .cta-btn-row { flex-direction: column; }
  #top-bar { font-size: .7rem; padding: 8px 12px; line-height: 1.3; }
  #hero { padding-top: calc(var(--topbar-h) + var(--header-h) + 24px); padding-bottom: 40px; align-items: flex-start; min-height: auto; }
  .srv-block { grid-template-columns: 1fr; gap: 32px; }
  .srv-block.reverse > .srv-text { order: 0; }
  .srv-photo img { height: 280px; }
  .strip-grid { grid-template-columns: 1fr 1fr; height: auto; }
  .strip-item { height: 180px; }
  .met-section::before { width: 240px; height: 240px; top: -60px; right: -60px; }
  h1 { font-size: clamp(1.75rem, 7vw, 2.6rem); }
  h2 { font-size: clamp(1.5rem, 5.5vw, 2.2rem); }
  .bento { grid-template-columns: 1fr; }
  .bento > * { grid-column: span 1 !important; }
  .form-card { padding: 36px 24px 40px; }
  .field-row { grid-template-columns: 1fr; }
  .step-item { grid-template-columns: 1fr; gap: 16px; padding: 24px 22px; }
  .step-item .step-num { width: 52px; height: 52px; font-size: 1.25rem; }
  .page-header { padding: calc(var(--topbar-h) + var(--header-h) + 36px) 0 56px; }
}
@media (max-width: 640px) {
  .brand-iso { width: 50px; height: 66px; }
  .brand-iso img { width: 120px; height: 120px; top: -20px; }
  .brand-word .brand-name { font-size: 1.2rem; }
  .brand-word .brand-tag { font-size: .62rem; letter-spacing: .14em; }
  .header-cta span { display: none; }
  .header-cta { padding: 9px 12px; }
}
@media (max-width: 480px) {
  .container { width: 92%; }
  .hero-photo-wrap { border-top-left-radius: 2rem; border-bottom-right-radius: 2rem; }
  .wa-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .wa-float svg { width: 24px; height: 24px; }
}
@media (max-width: 360px) {
  .brand-iso { width: 44px; height: 60px; }
  .brand-iso img { width: 104px; height: 104px; top: -16px; }
  .brand-word .brand-name { font-size: 1rem; }
  h1 { font-size: 1.6rem; line-height: 1.15; }
}
@media (max-width: 900px) {
  #sticky-cta { display: inline-flex; }
  .wa-float { bottom: 78px; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE REFINEMENTS · cobertura completa
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ━━━ Anti-overflow horizontal global ━━━ */
html, body { max-width: 100%; overflow-x: hidden; }
img, svg, iframe, video { max-width: 100%; }
table { max-width: 100%; }

/* Word-wrap defensivo en textos largos */
h1, h2, h3, h4, p, li, a { overflow-wrap: break-word; word-wrap: break-word; }

/* ━━━ Tap highlights iOS + Android ━━━ */
a, button { -webkit-tap-highlight-color: rgba(176,42,62,.15); }

/* ━━━ Touch targets accesibles (44px Apple HIG / 48px Material) ━━━ */
@media (hover: none) and (pointer: coarse) {
  .nav-link, .nav-toggle-dropdown, .nav-drawer a, .nav-drawer summary,
  .footer-col ul a, .breadcrumbs a, .faq-q, .btn, .header-cta,
  .submit-btn, .blog-card-meta, .bento-link {
    min-height: 44px;
  }
  .nav-link, .nav-toggle-dropdown { padding-top: 12px; padding-bottom: 12px; }
  .footer-col ul a { display: inline-block; padding: 4px 0; }
  .footer-contact .item a { padding: 4px 0; display: inline-block; }
}

/* ━━━ Comparison tables: scroll horizontal en pantallas estrechas ━━━ */
.comparison {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.comparison table { min-width: 520px; }
@media (max-width: 640px) {
  .comparison th, .comparison td { padding: 12px 14px; font-size: .88rem; }
}

/* ━━━ Hero & home ━━━ */
@media (max-width: 768px) {
  .hero-stat-chip {
    left: -6px;
    bottom: -16px;
    padding: 16px 18px;
    max-width: 200px;
  }
  .hero-stat-chip .stat-num { font-size: 1.8rem; }
  .hero-stat-chip .stat-desc { font-size: .76rem; }
  .hero-photo-wrap img { height: clamp(280px, 50vh, 400px); }
  .hero-bg img { opacity: .35; }
}
@media (max-width: 640px) {
  .hero-cta-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta-row .btn { width: 100%; }
  .hero-bullets li { font-size: .92rem; gap: 8px; }
  .bullet-dot { width: 20px; height: 20px; }
  .stars-row { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .hero-stat-chip { left: 0; padding: 14px 16px; max-width: 180px; }
  .hero-content .label { font-size: .68rem; }
  #hero { padding-bottom: 60px; } /* deja espacio al stat-chip */
}

/* ━━━ Page header (todas las subpáginas) ━━━ */
@media (max-width: 768px) {
  .page-header { padding: calc(var(--topbar-h) + var(--header-h) + 32px) 0 48px; }
  .page-header h1 { font-size: clamp(1.65rem, 6vw, 2.4rem); }
  .page-header .page-sub { font-size: 1rem; line-height: 1.55; }
  body.no-topbar .page-header { padding-top: calc(var(--header-h) + 32px); }
}
@media (max-width: 480px) {
  .page-header { padding: calc(var(--topbar-h) + var(--header-h) + 20px) 0 36px; }
  .page-header::before { width: 280px; height: 280px; top: -100px; left: -80px; }
  .page-header::after { width: 240px; height: 240px; bottom: -120px; right: -80px; }
}

/* ━━━ Secciones generales ━━━ */
@media (max-width: 768px) {
  section { padding: 56px 0; }
  .sec-header { margin-bottom: 36px; }
  .sec-header.center p { padding: 0 8px; }
}
@media (max-width: 480px) {
  section { padding: 48px 0; }
  .sec-header { margin-bottom: 28px; }
}

/* ━━━ Container ━━━ */
@media (max-width: 480px) {
  .container { width: 92%; }
  .container-narrow { width: 92%; }
}
@media (min-width: 1600px) {
  .container { max-width: 1280px; }
}

/* ━━━ Header / Top bar ━━━ */
@media (max-width: 1024px) {
  .header-cta { padding: 9px 14px; font-size: .82rem; }
}
@media (max-width: 480px) {
  #top-bar { font-size: .68rem; padding: 8px 10px; line-height: 1.3; }
  .header-cta { padding: 8px 12px; }
}
@media (max-width: 360px) {
  #top-bar { font-size: .62rem; }
  .header-cta svg { width: 12px; height: 12px; }
}

/* ━━━ Mobile drawer: ancho full en pantallas chicas ━━━ */
@media (max-width: 480px) {
  .nav-drawer-panel { width: 100vw; max-width: 100vw; padding: 20px 18px; }
}

/* ━━━ Bento grid: prevenir row-span en pantallas medianas/chicas ━━━ */
@media (max-width: 1024px) {
  .bento .r-2 { grid-row: span 1; }
  .bento-card.featured.b-4 { grid-column: span 4; }
  .bento-card.with-image { min-height: 220px; }
}
@media (max-width: 640px) {
  .bento { gap: 14px; }
  .bento-card { padding: 22px 20px; }
  .bento-card h3 { font-size: 1.05rem; }
  .bento-card.with-image .bento-content { padding: 20px; }
  .bento-list li { font-size: .86rem; }
}

/* ━━━ Footer ━━━ */
@media (max-width: 768px) {
  .footer-corp { padding: 48px 0 24px; }
  .footer-grid { gap: 28px; }
  .footer-col h4 { margin-bottom: 14px; }
  .footer-brand-col .footer-logo { gap: 10px; }
}
@media (max-width: 480px) {
  .footer-legal { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-legal nav { flex-wrap: wrap; gap: 12px; }
}

/* ━━━ Botones ━━━ */
@media (max-width: 480px) {
  .btn { padding: 13px 20px; font-size: .92rem; min-height: 48px; }
  .cta-btn-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .cta-btn-row .btn { width: 100%; }
}

/* ━━━ Form / Hapee iframe ━━━ */
@media (max-width: 768px) {
  .form-card { padding: 32px 22px 36px; border-top-left-radius: 2rem; border-bottom-right-radius: 2rem; }
  .form-card-title { font-size: 1.2rem; }
  .hapee-iframe { min-height: 780px; }
  .hapee-iframe-hero { min-height: 700px; }
}
@media (max-width: 480px) {
  .form-card { padding: 26px 16px 32px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

/* ━━━ FAQ ━━━ */
@media (max-width: 640px) {
  .faq-q { padding: 16px 18px; font-size: .92rem; gap: 10px; }
  .faq-icon { width: 24px; height: 24px; }
  .faq-a-inner { padding: 0 18px 16px; font-size: .9rem; }
  .faq-group h3 { font-size: .92rem; }
}

/* ━━━ Article / blog body ━━━ */
@media (max-width: 768px) {
  .article { font-size: 1rem; line-height: 1.7; }
  .article h2 { font-size: clamp(1.3rem, 4.5vw, 1.7rem); margin: 36px 0 12px; }
  .article h3 { font-size: 1.1rem; margin: 28px 0 10px; }
  .article p, .article li { font-size: .98rem; }
  .article-meta { flex-wrap: wrap; row-gap: 4px; }
  .article-meta span:not(.author-avatar) { font-size: .82rem; }
}

/* ━━━ Servicios block (service pages alternados) ━━━ */
@media (max-width: 480px) {
  .srv-block { gap: 24px; margin-bottom: 48px; }
  .srv-photo { border-top-left-radius: 1.5rem; border-bottom-right-radius: 1.5rem; }
  .srv-photo img { height: 220px; }
  .srv-text h3 { font-size: 1.3rem; }
}

/* ━━━ Step items (metodología, contacto) ━━━ */
@media (max-width: 480px) {
  .step-item { padding: 22px 18px; gap: 14px; }
  .step-item .step-num { width: 46px; height: 46px; font-size: 1.1rem; border-radius: 12px; }
  .step-item h3 { font-size: 1.05rem; }
  .step-item p { font-size: .92rem; }
}

/* ━━━ Photo strip ━━━ */
@media (max-width: 480px) {
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-item { height: 150px; }
  .strip-label { font-size: .68rem; }
}

/* ━━━ Mapa ━━━ */
.contact-map { height: 320px; }
@media (max-width: 768px) { .contact-map { height: 280px; } }
@media (max-width: 480px) { .contact-map { height: 220px; margin-top: 24px; } }

/* ━━━ Contact info items ━━━ */
@media (max-width: 480px) {
  .contact-info-item { padding: 14px 16px; gap: 12px; }
  .contact-info-item .icon-wrap { width: 38px; height: 38px; }
  .contact-info-item .icon-wrap svg { width: 18px; height: 18px; }
  .contact-info-item p, .contact-info-item a { font-size: .94rem; }
}

/* ━━━ Breadcrumbs wrap ━━━ */
.breadcrumbs ol { flex-wrap: wrap; row-gap: 4px; }
@media (max-width: 480px) {
  .breadcrumbs { font-size: .78rem; }
}

/* ━━━ Chips wrap correctamente ━━━ */
.chips { row-gap: 8px; }
@media (max-width: 480px) {
  .chip { font-size: .76rem; padding: 7px 12px; }
}

/* ━━━ Proof cards ━━━ */
@media (max-width: 640px) {
  .proof-num { font-size: 2.2rem; }
  .proof-card-ico { width: 42px; height: 42px; margin-bottom: 10px; }
  .proof-label { font-size: .74rem; }
  .proof-badge { padding: 9px 14px; font-size: .78rem; gap: 7px; }
  .proof-badges { gap: 8px; }
}

/* ━━━ Metodología 4 steps ━━━ */
@media (max-width: 1024px) {
  .met-steps { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (max-width: 640px) {
  .met-steps { grid-template-columns: 1fr; }
  .met-card { padding: 26px 22px; }
  .met-num { width: 52px; height: 52px; font-size: 1.3rem; }
}

/* ━━━ Benefit cards & test cards: padding adaptado ━━━ */
@media (max-width: 480px) {
  .benefit-card { padding: 24px 20px; }
  .ben-photo { height: 160px; }
  .test-card { padding: 24px 20px; }
  .test-text { font-size: .92rem; }
  .test-quote { font-size: 3.2rem; top: 6px; left: 12px; }
}

/* ━━━ Pain / Sol items ━━━ */
@media (max-width: 480px) {
  .pain-item, .sol-item { padding: 14px 14px; gap: 12px; }
  .pain-title { font-size: .88rem; }
  .pain-desc { font-size: .8rem; }
  .sol-text strong { font-size: .92rem; }
  .sol-text p { font-size: .88rem; }
  .sol-ico { width: 34px; height: 34px; }
  .sol-ico svg { width: 16px; height: 16px; }
}

/* ━━━ Hero parallax: deshabilitar en mobile (jank en touch) ━━━ */
@media (max-width: 768px) {
  @supports (animation-timeline: view()) {
    .parallax-bg img { animation: none; transform: none; }
  }
}

/* ━━━ Safe areas iOS (notch, gestos) ━━━ */
.wa-float { bottom: calc(24px + env(safe-area-inset-bottom, 0px)); right: calc(24px + env(safe-area-inset-right, 0px)); }
@media (max-width: 900px) {
  .wa-float { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 480px) {
  .wa-float { bottom: calc(72px + env(safe-area-inset-bottom, 0px)); right: calc(18px + env(safe-area-inset-right, 0px)); }
}

/* ━━━ Tablet (iPad / 768-1024) sweet spot ━━━ */
@media (min-width: 769px) and (max-width: 1024px) {
  .container { width: 92%; }
  .hero-inner { gap: 40px; }
  .form-grid { gap: 40px; }
  section { padding: 80px 0; }
}

/* ━━━ Pantallas grandes (4K, monitores anchos) ━━━ */
@media (min-width: 1920px) {
  body { font-size: 17px; }
  .container { max-width: 1320px; }
}

/* ━━━ Landscape phones (móvil horizontal) ━━━ */
@media (max-width: 900px) and (orientation: landscape) {
  #hero { min-height: auto; padding-top: calc(var(--topbar-h) + var(--header-h) + 20px); }
}

/* ━━━ REDUCED MOTION ━━━ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .kinetic-word span { opacity: 1; transform: none; }
  .hero-mesh { animation: none; }
  .wa-float::after { animation: none; }
  #sticky-cta { animation: none; }
}
