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

:root {
  --orange: #E84118;
  --orange-light: rgba(232,65,24,0.08);
  --dark: #252422;
  --cream: #E7E7DD;
  --bg: #252422;
  --ink: #000C1F;
  --ink-soft: rgba(0,12,31,0.68);
  --ink-faint: rgba(0,12,31,0.45);
}

body {
  font-family: 'Open Sauce Sans', sans-serif;
  background: var(--bg);
  color: #fff;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.section-inner { max-width: 1180px; margin: 0 auto; padding: clamp(64px, 10vw, 120px) clamp(20px, 5vw, 48px); }

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.85;
  margin-bottom: 14px;
  text-align: center;
}
.section-title {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  color: #fff;
  text-align: center;
}
.section-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  color: rgba(255,255,255,0.82);
  max-width: 620px;
  margin: 0 auto 44px;
  text-align: center;
}
.divider { display:none; }

/* ─── NAV ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 48px);
}
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  text-transform: none;
  opacity: 0.9;
}
.nav-wa {
  background: var(--orange);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 4px;
  opacity: 1 !important;
}
@media (max-width: 780px) {
  .nav-links a { display: none; }
}
@media (max-width: 480px) {
  .nav-links { gap: 14px; flex-wrap: wrap; justify-content: flex-end; row-gap: 6px; }
  .nav-dropdown-toggle { font-size: 0.8rem; gap: 2px; }
  nav { padding: 12px 18px; flex-wrap: wrap; row-gap: 8px; }
}
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--cream);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  text-transform: none;
  opacity: 0.9;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
}
.nav-dropdown-toggle .caret {
  font-size: 0.7rem;
  transition: transform 0.15s;
}
.nav-dropdown.open .nav-dropdown-toggle .caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  border: none;
  border-radius: 0 0 8px 8px;
  min-width: 190px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  padding: 6px 0;
  z-index: 60;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: #fff;
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
  opacity: 0.95;
  text-decoration: none;
}
.nav-dropdown-menu a:hover {
  background: rgba(255,255,255,0.14);
  opacity: 1;
}

/* ─── HERO (dark accent) ─── */
#hero {
  background:
    linear-gradient(180deg, rgba(37,36,34,0.55) 0%, rgba(37,36,34,0.75) 55%, var(--bg) 100%),
    url(images/hero-bg.jpg);
  background-size: cover;
  background-position: center 30%;
  color: #fff;
  padding: clamp(60px, 10vw, 110px) clamp(20px, 5vw, 48px) clamp(70px, 10vw, 120px);
  text-align: center;
  position: relative;
}
.hero-logo { height: 160px; width: auto; margin: 0 auto 32px; animation: fadeUp 0.7s ease both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-title { animation: fadeUp 0.7s ease 0.1s both; }
.hero-sub { animation: fadeUp 0.7s ease 0.2s both; }
.hero-ctas { animation: fadeUp 0.7s ease 0.3s both; }
@media (max-width: 480px) {
  .hero-logo { height: 110px; margin-bottom: 22px; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn-primary, .hero-ctas .btn-secondary { width: 100%; }
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.45);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 26px;
}
.hero-title {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.15;
  max-width: 700px;
  margin: 0 auto 22px;
  color: #fff;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto 38px;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 15px 30px;
  border-radius: 5px;
  text-align: center;
  transition: transform 0.15s;
}
.btn-primary:hover { transform: translateY(-2px); }
a.btn-primary[href*="mpago.la"] {
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  font-weight: 800;
}
#hero .btn-primary, #contacto .btn-primary {
  background: var(--orange);
}
.btn-secondary {
  display: inline-block;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.5);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 15px 30px;
  border-radius: 5px;
}

/* ─── GENERIC LIGHT SECTION ─── */
section.light { background: var(--bg); }
section.panel { background: var(--bg); }

/* ─── SERVICE / PRODUCT CARDS ─── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));   /* las 4 cards siempre del mismo ancho */
  gap: 20px;
}
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .card-grid { grid-template-columns: minmax(0, 1fr); }
}

.card {
  background: none;
  border: none;
  border-radius: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  color: #fff;
}
.card:hover {
  transform: translateY(-6px);
}

.card .photo-slot { height: 220px; aspect-ratio: unset; border-radius: 12px; border-bottom: none; margin-bottom: 4px; }
.photo-slot {
  width: 100%;
  aspect-ratio: 4/3;
  background: repeating-linear-gradient(135deg, #efefe7, #efefe7 10px, #e6e6dc 10px, #e6e6dc 20px);
  border-bottom: 1px dashed rgba(232,65,24,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: rgba(0,12,31,0.28);
}
.photo-slot .icon { font-size: 1.6rem; opacity: 0.5; }
.photo-slot span.label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card-body > a.btn-primary { margin-top: auto; }
.card-body > .card-badge { margin-top: auto; }
.card-price {
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  text-align: center;
  margin: 4px 0 14px;
}
.card.pack .card-price { color: #fff; }
.card-body > .card-price { margin-top: auto; margin-bottom: 10px; }
.card-kicker {
  display: flex;
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #fff;
  text-align: center;
  margin-bottom: 2px;
  height: 3.4rem;
  align-items: flex-end;
  justify-content: center;
  line-height: 1.15;
}
.card h3 { font-size: 1.5rem; font-weight: 900; margin-bottom: 2px; letter-spacing: -0.01em; }
.card .card-mode {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  text-align: center;
  height: 2.1rem;
}
.card p.desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 18px;
  line-height: 1.45;
  height: 3.9rem;
  overflow: visible;
}
ul.feat { list-style: none; margin-bottom: 22px; flex: 1; }
ul.feat li {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.82);
  padding: 5px 0 5px 16px;
  position: relative;
}
ul.feat li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--orange);
}

.card.featured { border: none; }
.card-badge {
  background: none;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0;
  display: inline-block;
  margin-bottom: 10px;
  align-self: center;
}

/* Pack card */
.card.pack {
  background: var(--orange);
  color: #fff;
  border: 1px solid var(--orange);
  border-radius: 14px;
  overflow: hidden;
  padding-bottom: 4px;
  position: relative;
}
.card.pack .btn-primary { background: #fff; color: var(--orange); }
.card.pack .card-badge { background: #fff; color: var(--orange); padding: 5px 12px; border-radius: 4px; }
.card.pack .photo-slot {
  background: repeating-linear-gradient(135deg, #262626, #262626 10px, #2b2b2b 10px, #2b2b2b 20px);
  border-bottom-color: rgba(232,65,24,0.4);
  color: rgba(231,231,221,0.3);
}
.card.pack .card-kicker {
  color: var(--cream);
  opacity: 0.65;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.card.pack h3 { text-align: center; }
.card.pack h3 { color: var(--cream); }
.card.pack p.desc { color: rgba(231,231,221,0.65); }
.pack-ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--dark);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 20px;
}
.pack-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 18px; }
.chip {
  font-size: 0.85rem;
  font-weight: 700;
  background: none;
  border: none;
  color: #fff;
  padding: 0;
}
.pack-chips { gap: 12px; }
.chip::after { content: '·'; margin-left: 12px; opacity: 0.6; }
.chip:last-child::after { content: ''; margin-left: 0; }

.combo-note {
  margin-top: 32px;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.95rem;
  color: #fff;
  text-align: center;
}
.combo-note strong { color: var(--orange); }

.card.pack .card-body > .card-kicker {
  color: #fff;
  opacity: 1;
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: none;
  margin-bottom: 2px;
}

/* ─── CTAs dobles dentro de cada card (Más información + Comprar) ─── */
.card-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}
.card-ctas .btn-secondary,
.card-ctas .btn-primary {
  flex: 1;
  text-align: center;
  white-space: nowrap;
  padding: 15px 16px;
}
.card.pack .card-ctas .btn-secondary { border-color: rgba(255,255,255,0.6); }

/* ─── DETALLE DE PLANES ─── */
.plan-detail {
  max-width: 880px;
  margin: 0 auto 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  scroll-margin-top: 90px;
  display: flex;
  align-items: stretch;
  gap: 32px;
}
.plan-detail.reverse { flex-direction: row-reverse; }
.plan-detail-media { flex: 0 0 42%; }
.plan-detail-media .photo-slot {
  aspect-ratio: auto;
  height: 100%;
  min-height: 280px;
  border-radius: 10px;
  margin-bottom: 0;
  border-bottom: none;
}
.plan-detail-content { flex: 1; min-width: 0; }
@media (max-width: 700px) {
  .plan-detail,
  .plan-detail.reverse { flex-direction: column; gap: 20px; }
  .plan-detail-media { flex: none; width: 100%; }
  .plan-detail-media .photo-slot { height: auto; aspect-ratio: 4/3; min-height: 0; }
}
.plan-detail:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.plan-detail-kicker {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
  text-align: left;
}
.plan-detail h3 {
  text-align: left;
  color: #fff;
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.plan-detail p.desc {
  text-align: left;
}
.plan-includes-label {
  font-weight: 800;
  color: #fff;
  margin: 22px 0 6px;
  font-size: 0.95rem;
}
.feat-detail {
  list-style: none;
  margin-bottom: 24px;
}
.feat-detail li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.82);
  padding: 12px 0 12px 24px;
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.feat-detail li:first-child { border-top: none; }
.feat-detail li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--orange);
  font-weight: 800;
}
.feat-detail li strong {
  display: block;
  color: #fff;
  margin-bottom: 3px;
}
.feat-detail.simple li {
  padding: 10px 0 10px 24px;
}
.plan-duration-badge {
  display: inline-block;
  background: rgba(232,65,24,0.15);
  color: var(--orange);
  border: 1px solid rgba(232,65,24,0.45);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.plan-detail-price {
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  margin: 4px 0 18px;
  text-align: left;
}
.plan-detail-cta { text-align: left; }
.plan-duration-note {
  max-width: 620px;
  margin: 8px auto 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  font-style: italic;
}
@media (max-width: 480px) {
  .card-ctas { flex-direction: column; }
}

/* ─── PRESENCIAL + ANTROPOMETRÍA ─── */
.split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
}
@media (max-width: 380px) {
  .split-grid { grid-template-columns: 1fr; }
}
.info-card {
  background: none;
  border: none;
  padding: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.info-card > a.btn-primary, .info-card > div:last-child { margin-top: auto; }
.info-card .photo-slot { margin-bottom: 22px; border-radius: 12px; border-bottom: none; }
.info-card ul.feat li { color: rgba(255,255,255,0.82); }
.info-card p.desc { color: rgba(255,255,255,0.85); }
.badge-line {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange);
  background: none;
  border: none;
  padding: 0;
  margin-top: 14px;
}

/* ─── PROFESIONALES ─── */
.pro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}
.pro-card { text-align: center; }
.pro-photo {
  width: 96px;
  height: 96px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: repeating-linear-gradient(135deg, #efefe7, #efefe7 8px, #e6e6dc 8px, #e6e6dc 16px);
  border: 1px dashed rgba(232,65,24,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,12,31,0.28);
  font-size: 1rem;
  background-size: cover;
  background-position: center top;
  overflow: hidden;
}
.pro-photo.filled { border: 2px solid var(--orange); }
.pro-name { font-weight: 800; font-size: 0.85rem; }
.pro-role { font-size: 0.68rem; color: #fff; opacity: 0.85; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px; }
.pro-bio { font-size: 0.78rem; color: rgba(255,255,255,0.65); margin-top: 10px; line-height: 1.45; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }

/* ─── GUÍA ─── */
.guide-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  gap: clamp(32px, 5vw, 64px);
  background: none;
  border: none;
  color: #fff;
}
.guide-data {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
@media (max-width: 700px) {
  .guide-card { grid-template-columns: 1fr; }
  .guide-data { align-items: center; text-align: center; }
}
.guide-price {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--orange);
  margin: 18px 0 6px;
}
.guide-disclaimer {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  font-style: italic;
  margin-bottom: 22px;
}
.guide-cover {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 12px;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.05) 10px, rgba(255,255,255,0.08) 10px, rgba(255,255,255,0.08) 20px);
  border: 1px dashed var(--orange);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
}
.guide-cover .icon { font-size: 1.8rem; opacity: 0.6; }
.guide-cover span.label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 20px;
}

/* ─── COMO FUNCIONA ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 46px;
}
.step-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--orange);
  opacity: 0.35;
  position: absolute;
  top: 0;
  left: 0;
}
.step h4 { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: 0.88rem; color: rgba(255,255,255,0.82); }
.steps-footnote {
  margin-top: 36px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.steps-footnote strong { color: var(--ink); }

/* ─── QUIENES SOMOS ─── */
#sobre .quote-block {
  color: var(--cream);
  text-align: center;
}
#sobre .quote-block p {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 500;
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 18px;
}
#sobre .quote-by { font-weight: 800; color: var(--orange); font-style: normal; font-size: 0.9rem; }
.founder-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.founder-stats .stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.founder-stats .stat-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--orange);
}
.founder-stats .stat-label {
  font-size: 0.82rem;
  color: rgba(231,231,221,0.75);
  font-weight: 600;
}
.founder-stats .stat-label.solo { font-size: 0.82rem; display: flex; align-items: center; gap: 8px; }
.founder-stats .stat-label.solo::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

/* ─── TESTIMONIOS ─── */
.testi-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 6px 4px 18px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.testi-scroll::-webkit-scrollbar { height: 6px; }
.testi-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 10px; }
.testi-card {
  flex: 0 0 290px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}
.testi-stars {
  color: var(--orange);
  font-size: 1.05rem;
  letter-spacing: 3px;
  margin-bottom: 16px;
}
.testi-quote {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  margin-bottom: 20px;
  flex: 1;
}
.testi-name {
  font-weight: 800;
  color: #fff;
  font-size: 0.85rem;
}
@media (max-width: 480px) {
  .testi-card { flex-basis: 82vw; }
}

/* ─── BUILDER PRO / APP MOCKUP ─── */
.phone-slider-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 8px auto 22px;
}
.phone-mockup {
  width: 240px;
  height: 522px;
  background: #111;
  border-radius: 38px;
  padding: 10px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.55), 0 0 0 2px rgba(255,255,255,0.06);
  position: relative;
  flex-shrink: 0;
}
.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 20px;
  background: #111;
  border-radius: 0 0 14px 14px;
  z-index: 5;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: #000;
}
.phone-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}
.phone-slide.active { opacity: 1; visibility: visible; }
.phone-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone-slide .photo-slot {
  height: 100%;
  width: 100%;
  border-radius: 0;
  margin-bottom: 0;
  border-bottom: none;
}
.phone-arrow {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}
.phone-arrow:hover { background: rgba(255,255,255,0.18); }
.phone-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 6px;
}
.phone-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background 0.2s;
}
.phone-dot.active { background: var(--orange); }
.phone-caption {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}
@media (max-width: 480px) {
  .phone-mockup { width: 210px; height: 457px; }
  .phone-arrow { width: 36px; height: 36px; font-size: 1.2rem; }
}

/* ─── EMPRESAS ─── */
.empresas-why-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  align-items: stretch;
  max-width: 1100px;
  margin: clamp(32px, 5vw, 56px) auto 0;
  gap: clamp(32px, 5vw, 60px);
}
.empresas-why-grid .img-box {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
}
.empresas-why-grid .text-box {
  text-align: left;
}
.empresas-why-grid .text-box .section-eyebrow {
  text-align: left;
  margin-bottom: 6px;
  font-size: 0.92rem;
  color: var(--orange);
  opacity: 1;
  letter-spacing: 0.15em;
}
.empresas-why-grid .text-box h3 {
  text-align: left;
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.3;
}
.empresas-why-grid .text-box p {
  text-align: left;
  color: rgba(255,255,255,0.82);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 12px;
}
.empresas-why-grid .text-box .closing {
  font-style: italic;
  color: rgba(255,255,255,0.7);
  margin: 18px 0 20px;
}
@media (max-width: 700px) {
  .empresas-why-grid { grid-template-columns: 1fr; }
  .empresas-why-grid .img-box { height: auto; aspect-ratio: 4/3; min-height: 0; }
  .empresas-why-grid .text-box { text-align: center; }
  .empresas-why-grid .text-box .section-eyebrow,
  .empresas-why-grid .text-box h3,
  .empresas-why-grid .text-box p { text-align: center; }
}
.empresas-propuestas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin: 28px 0 8px;
}
.empresas-propuestas .card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.empresas-propuestas .card:hover {
  border-color: rgba(232,65,24,0.5);
  background: rgba(232,65,24,0.06);
}
.empresas-propuestas .card.open {
  border-color: rgba(232,65,24,0.6);
  background: rgba(232,65,24,0.08);
  grid-column: 1 / -1;
  max-width: 100%;
  cursor: default;
}
.empresas-propuestas .card:last-child {
  grid-column: 1 / -1;
  max-width: 260px;
  margin: 0 auto;
}
.empresas-propuestas .card.open:last-child {
  max-width: 100%;
}
.empresas-propuestas .card .label {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.88);
  font-weight: 700;
  line-height: 1.4;
  display: block;
}
.empresas-propuestas .card .toggle {
  position: absolute;
  right: 14px;
  top: 14px;
  color: var(--orange);
  font-size: 1.1rem;
  font-weight: 900;
  transition: transform 0.25s;
}
.empresas-propuestas .card.open .toggle {
  transform: rotate(135deg);
}
.empresas-propuestas .card .detail {
  max-height: 0;
  overflow: hidden;
  text-align: left;
  transition: max-height 0.3s ease, margin-top 0.3s ease;
}
.empresas-propuestas .card.open .detail {
  max-height: 260px;
  margin-top: 14px;
}
.empresas-propuestas .card .detail p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
  margin: 0;
}
.empresas-quote {
  position: relative;
  margin: 44px 0 30px;
  padding-left: 34px;
}
.empresas-quote::before {
  content: '\201C';
  position: absolute;
  left: -8px;
  top: -30px;
  font-size: 5.5rem;
  color: var(--orange);
  font-weight: 900;
  font-family: Georgia, serif;
  opacity: 0.9;
  line-height: 1;
}
.empresas-quote p:first-child {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  font-style: italic;
  margin-bottom: 12px;
}
.empresas-quote p:last-child {
  color: rgba(255,255,255,0.68);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 0;
}
.empresas-quote p:last-child::after {
  content: '\201D';
  color: var(--orange);
  font-weight: 900;
  font-family: Georgia, serif;
  font-size: 1.4rem;
  margin-left: 2px;
}
.empresas-why {
  margin: 40px 0 36px;
  padding: 32px clamp(20px, 4vw, 40px);
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
}
.empresas-why .section-eyebrow {
  text-align: left;
  margin-bottom: 6px;
}
.empresas-why h3 {
  color: #fff;
  font-size: clamp(1.1rem, 2.3vw, 1.4rem);
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.3;
}
.empresas-why p {
  text-align: left;
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 14px;
}
.empresas-why-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 26px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
}
.empresas-why-steps span {
  font-weight: 800;
  color: #fff;
  font-size: 0.95rem;
  padding: 0 18px;
  position: relative;
}
.empresas-why-steps span:not(:last-child)::after {
  content: '→';
  color: var(--orange);
  position: absolute;
  right: -12px;
}
.empresas-why-steps span:first-child { padding-left: 0; }
@media (max-width: 600px) {
  .empresas-why-steps { flex-direction: column; gap: 10px; }
  .empresas-why-steps span:not(:last-child)::after { display: none; }
  .empresas-why-steps span { padding: 0; }
}
.empresas-why .closing {
  font-style: italic;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 22px;
}

/* ─── FAQ ─── */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid rgba(0,12,31,0.1); border-radius: 8px; overflow: hidden; color: var(--ink); }
.faq-item summary {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--orange); transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 20px; font-size: 0.87rem; color: var(--ink-soft); }

/* ─── CTA FINAL (dark accent) ─── */
#contacto {
  background: var(--bg);
  color: #fff;
  padding: 0;
  overflow: hidden;
}
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 480px;
}
.contacto-photo {
  width: 100%;
  height: 100%;
  min-height: 320px;
  background-size: cover;
  background-position: center;
}
.contacto-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(48px, 6vw, 80px) clamp(24px, 4vw, 56px);
}
#contacto h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; margin-bottom: 16px; }
#contacto p { color: rgba(255,255,255,0.82); max-width: 380px; margin: 0 auto 34px; }
@media (max-width: 720px) {
  .contacto-grid { grid-template-columns: 1fr; }
  .contacto-photo { min-height: 260px; order: -1; }
}

footer {
  background: var(--dark);
  border-top: 1px solid rgba(231,231,221,0.08);
  padding: 40px clamp(20px, 5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: rgba(231,231,221,0.6); text-decoration: none; font-size: 0.82rem; }
.footer-note { color: rgba(231,231,221,0.4); font-size: 0.78rem; }
@media (max-width: 600px) {
  footer { flex-direction: column; text-align: center; }
}

.section-inner {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.section-inner.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Sticky WhatsApp mobile button */
.sticky-wa {
  position: fixed;
  bottom: 18px;
  right: 18px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 14px 20px;
  border-radius: 30px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 90;
}

/* ─── INDEX: índice de servicios ─── */
.servicios-indice .card p.desc {
  height: auto;
  margin-top: 16px;
  margin-bottom: 28px;
}

/* ─── ¿EMPEZAMOS?: la foto se funde con el fondo en vez de cortar en seco ─── */
.contacto-grid { grid-template-columns: 1.15fr 1fr; }
.contacto-photo {
  position: relative;
  margin-right: -14%;            /* la foto se mete un poco debajo del texto */
  background-position: center 20% !important;   /* en pantallas anchas no corta las cabezas */
}
.contacto-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(37,36,34,0) 30%, rgba(37,36,34,0.75) 70%, var(--bg) 97%),
    linear-gradient(180deg, var(--bg) 0%, rgba(37,36,34,0) 18%, rgba(37,36,34,0) 82%, var(--bg) 100%),
    linear-gradient(rgba(37,36,34,0.22), rgba(37,36,34,0.22));   /* baja un poco el brillo y el contraste */
}
.contacto-content { position: relative; z-index: 1; }
@media (max-width: 720px) {
  .contacto-grid { grid-template-columns: 1fr; }
  .contacto-photo { margin-right: 0; margin-bottom: -70px; min-height: 300px; }
  .contacto-photo::after {
    background:
      linear-gradient(180deg, var(--bg) 0%, rgba(37,36,34,0) 14%, rgba(37,36,34,0) 40%, rgba(37,36,34,0.8) 75%, var(--bg) 97%),
      linear-gradient(rgba(37,36,34,0.22), rgba(37,36,34,0.22));
  }
}

/* ─── PLANES: videos de "Conocé cada plan" ─── */
/* fondo oscuro detrás del video (antes era claro y se asomaba como un marco blanco) */
.plan-detail-media .photo-slot { background: var(--bg); }
/* en compu: el recuadro respeta la forma vertical del video (no se estira ni pierde calidad)
   y queda fijo mientras leés el detalle del plan */
@media (min-width: 701px) {
  .plan-detail-media { align-self: flex-start; position: sticky; top: 90px; }
  .plan-detail-media .photo-slot { height: auto; aspect-ratio: 9 / 16; min-height: 0; }
}

/* ─── CINTA DE TEXTO que se mueve sola (ej: "Planes Online" en planes.html) ─── */
.cinta-texto {
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);    /* ocupa todo el ancho de la pantalla */
  white-space: nowrap;
}
.cinta-texto-track {
  display: flex;
  width: max-content;
  animation: cintaLoop 30s linear infinite;
}
/* 16 textos = 2 tandas iguales de 8, así el loop no tiene cortes */
.cinta-texto-track span { padding-right: 70px; flex-shrink: 0; }
@media (max-width: 480px) {
  .cinta-texto-track span { padding-right: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .cinta-texto-track { animation: none; }
}

/* ─── PRESENCIALES: fondo oscuro detrás del video de antropometría (sin marco claro) ─── */
.info-card .photo-slot { background-image: none; background-color: var(--bg); }
@keyframes cintaLoop {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── INDEX: subtítulo debajo de ¿Empezamos? ─── */
.hero-cta-note {
  margin-top: 14px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  animation: fadeUp 0.7s ease 0.35s both;
}

/* ─── INDEX: textos de las cards de servicios centrados ─── */
.servicios-indice .card p.desc { text-align: center; }

/* ─── CELULAR: "Quiénes te acompañan" centrado (Ailén no queda sola a la izquierda) ─── */
@media (max-width: 560px) {
  .pro-grid { display: flex; flex-wrap: wrap; justify-content: center; }
  .pro-card { flex: 0 1 calc(50% - 12px); }
}

/* ─── GUÍA: en celular primero la tapa y después el texto ─── */
@media (max-width: 700px) {
  .guide-cover { order: -1; }
}

/* ─── Pantallas medianas (tablets / notebooks chicas): botones de las cards en 2 líneas si no entran ─── */
@media (max-width: 1200px) {
  .card-ctas { flex-direction: column; }
  .card-ctas .btn-secondary,
  .card-ctas .btn-primary { white-space: normal; }
  .card p.desc { height: auto; }             /* el texto no se pisa con el precio */
  .card-ctas a.btn-primary[href*="mpago.la"] { font-size: 0.9rem; }
}

/* ─── INDEX: foto de fondo detrás de los servicios ─── */
#servicios.con-fondo {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(37,36,34,0.78) 14%, rgba(37,36,34,0.78) 86%, var(--bg) 100%),
    url(images/indice-fondo.jpg);
  background-size: cover;
  background-position: center 30%;
}

/* ─── INDEX: video de fondo detrás de los servicios (el mismo de Planes Online) ─── */
#servicios.con-video { position: relative; overflow: hidden; }
.fondo-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0;
}
.fondo-video-capa {           /* capa oscura para que se lean los textos, fundida arriba y abajo */
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(37,36,34,0.72) 12%, rgba(37,36,34,0.72) 88%, var(--bg) 100%);
}

/* ─── APARICIÓN SUAVE AL SCROLLEAR ───
   Solo se activa si el JS cargó (clase js-reveal en <html>), así nada queda invisible si falla. */
@keyframes revealUp  { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes revealImg { from { opacity: 0; transform: scale(1.05); }     to { opacity: 1; transform: none; } }
@keyframes revealFade{ from { opacity: 0; } to { opacity: 1; } }

.js-reveal .reveal:not(.visible),
.js-reveal .reveal-img:not(.visible),
.js-reveal .reveal-fade:not(.visible) { opacity: 0; }

.js-reveal .reveal.visible      { animation: revealUp 0.9s cubic-bezier(.2,.7,.2,1) var(--d, 0s) backwards; }
.js-reveal .reveal-img.visible  { animation: revealImg 1.2s cubic-bezier(.2,.7,.2,1) var(--d, 0s) backwards; }
.js-reveal .reveal-fade.visible { animation: revealFade 1.6s ease var(--d, 0s) backwards; }

@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal:not(.visible), .js-reveal .reveal-img:not(.visible), .js-reveal .reveal-fade:not(.visible) { opacity: 1; }
  .js-reveal .reveal.visible, .js-reveal .reveal-img.visible, .js-reveal .reveal-fade.visible { animation: none; }
}

/* ─── GRACIAS: página a la que vuelve la gente después de pagar ─── */
#gracias { min-height: 70vh; }
.gracias-box { text-align: center; max-width: 640px; margin: 0 auto; padding-bottom: clamp(56px, 9vw, 110px); }
.gracias-ctas { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 34px; }
.gracias-ctas .btn-primary { background: #25D366; font-size: 1rem; padding: 17px 30px; }
.gracias-ctas .btn-secondary { padding: 13px 26px; }
.gracias-nota { margin-top: 22px; font-size: 0.85rem; color: rgba(255,255,255,0.6); font-style: italic; }
@media (max-width: 480px) {
  .gracias-ctas .btn-primary, .gracias-ctas .btn-secondary { width: 100%; }
}

/* ─── FORMULARIO ANTES DE PAGAR (ventanita sobre la página) ─── */
.pre-pago {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.7);
  display: none; align-items: center; justify-content: center;
  padding: 16px;
}
.pre-pago.abierto { display: flex; animation: revealFade 0.25s ease; }
.pre-pago-caja {
  position: relative;
  background: var(--bg);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  width: 100%; max-width: 440px;
  max-height: calc(100vh - 32px); overflow-y: auto;
  padding: 30px 26px 24px;
  color: #fff;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.pre-pago-cerrar {
  position: absolute; top: 10px; right: 12px;
  background: none; border: none; color: rgba(255,255,255,0.7);
  font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 4px 8px;
}
.pre-pago-kicker { color: var(--orange); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 8px; }
.pre-pago h3 { font-size: 1.45rem; font-weight: 900; margin-bottom: 4px; }
.pre-pago-producto { color: rgba(255,255,255,0.7); font-size: 0.92rem; margin-bottom: 20px; }
.pre-pago form { display: flex; flex-direction: column; gap: 14px; }
.pre-pago label { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; font-weight: 700; color: rgba(255,255,255,0.9); }
.pre-pago label span { font-weight: 400; color: rgba(255,255,255,0.55); }
.pre-pago input, .pre-pago textarea {
  font: inherit; font-weight: 400; font-size: 1rem;   /* 16px: evita que el iPhone haga zoom al tocar */
  color: #fff; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.2); border-radius: 8px;
  padding: 12px 14px; width: 100%;
}
.pre-pago input:focus, .pre-pago textarea:focus { outline: none; border-color: var(--orange); background: rgba(255,255,255,0.09); }
.pre-pago textarea { resize: vertical; min-height: 60px; }
.pre-pago .btn-primary { width: 100%; font-size: 1rem; padding: 16px; border: none; cursor: pointer; margin-top: 4px; font-family: inherit; }
.pre-pago .btn-primary:disabled { opacity: 0.7; cursor: wait; }
.pre-pago-error { color: #ff8a6b; font-size: 0.85rem; min-height: 1em; margin: -4px 0 0; }
.pre-pago-legal { font-size: 0.75rem; color: rgba(255,255,255,0.5); text-align: center; margin-top: 2px; }

/* ─── FOOTER: redes sociales ─── */
.footer-redes { display: flex; gap: 14px; align-items: center; }
.footer-redes a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  color: var(--cream);
  border: 1px solid rgba(231,231,221,0.25);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.footer-redes a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
