/* ================================================================
   YUPIFON — Sistema de diseño compartido
   ================================================================ */

:root {
  /* Colors */
  --bg: #FFFFFF;
  --surface: #F8F9FB;
  --surface-tint: #FFF6EE;
  --orange: #F47820;
  --orange-bright: #FF8E3C;
  --orange-deep: #D85F08;
  --orange-soft: #FEF1E5;
  --blue-deep: #1B3A8B;
  --blue-mid: #2C5BC4;
  --blue-soft: #6E92E0;
  --blue-ink: #0E1A38;
  --ink: #0E1A38;
  --muted: #5A6985;
  --muted-soft: #8995AE;
  --border: #E5E8F0;
  --border-soft: #F0F2F7;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(20, 50, 130, 0.06);
  --shadow-md: 0 8px 24px rgba(20, 50, 130, 0.10);
  --shadow-lg: 0 18px 40px rgba(20, 50, 130, 0.14);
  --shadow-xl: 0 28px 60px rgba(20, 50, 130, 0.18);
  --shadow-orange: 0 14px 30px rgba(244, 120, 32, 0.30);
  --shadow-orange-lg: 0 20px 50px rgba(244, 120, 32, 0.36);

  /* Spacing */
  --container: 1200px;
  --container-narrow: 960px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Typography */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

/* ================================================================
   Reset & base
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--orange); color: white; }

/* ================================================================
   Type scale
   ================================================================ */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 18px;
}

.h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 6.5vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--blue-ink);
}
.h1 em { font-style: italic; font-weight: 500; color: var(--orange-deep); }

.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--blue-ink);
}
.h2 em { font-style: italic; font-weight: 500; color: var(--orange-deep); }

.h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--blue-ink);
}

.lede {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 640px;
}

.body-lg { font-size: 17px; line-height: 1.65; color: var(--ink); }
.body-md { font-size: 15.5px; line-height: 1.65; color: var(--ink); }
.body-sm { font-size: 14px; line-height: 1.6; color: var(--muted); }

.muted { color: var(--muted); }

/* ================================================================
   Layout
   ================================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.container-narrow { max-width: var(--container-narrow); }

.section {
  padding: clamp(64px, 9vw, 120px) 0;
}
.section--tight { padding: clamp(48px, 7vw, 96px) 0; }
.section--surface { background: var(--surface); }
.section--tint { background: var(--surface-tint); }
.section--ink { background: var(--blue-ink); color: white; }
.section--ink .h1, .section--ink .h2, .section--ink .h3 { color: white; }
.section--ink .lede, .section--ink .muted { color: rgba(255,255,255,0.72); }
.section--ink .eyebrow { color: var(--orange-bright); }

/* ================================================================
   Buttons
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 14px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn svg { width: 16px; height: 16px; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-bright) 100%);
  color: white;
  box-shadow: var(--shadow-orange);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-orange-lg); }

.btn--ghost {
  background: white;
  color: var(--ink);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--ink); background: var(--surface); }

.btn--ghost-light {
  background: rgba(255,255,255,0.08);
  color: white;
  border-color: rgba(255,255,255,0.18);
}
.btn--ghost-light:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.32); }

.btn--sm { padding: 10px 18px; font-size: 13.5px; }
.btn--lg { padding: 18px 32px; font-size: 16px; }

/* Tag / chip */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  background: var(--orange-soft);
  border: 1px solid rgba(244, 120, 32, 0.20);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--orange-deep);
}

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 2px 20px rgba(20, 50, 130, 0.06);
  background: rgba(255, 255, 255, 0.95);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 76px;
}
.site-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.site-header__logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.site-header__logo:hover img { transform: scale(1.04); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.site-nav__item {
  position: relative;
}
.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}
.site-nav__link:hover, .site-nav__link[aria-expanded="true"] {
  background: var(--surface);
  color: var(--orange-deep);
}
.site-nav__link svg {
  width: 12px; height: 12px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}
.site-nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Dropdown menu */
.site-nav__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 280px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.site-nav__item.is-open .site-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.site-nav__dropdown::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: white;
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  transition: background 0.15s ease;
}
.dropdown-item:hover { background: var(--surface); }
.dropdown-item__icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--orange), var(--orange-bright));
  display: inline-flex; align-items: center; justify-content: center;
  color: white;
}
.dropdown-item__icon svg {
  width: 16px; height: 16px;
  stroke: white;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dropdown-item__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dropdown-item__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.dropdown-item__desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
}

.site-header__cta {
  flex-shrink: 0;
}

/* Mobile menu */
.site-header__burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface);
  align-items: center;
  justify-content: center;
}
.site-header__burger svg {
  width: 20px; height: 20px;
  stroke: var(--ink);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 100%);
  background: white;
  z-index: 100;
  padding: 80px 24px 32px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
  box-shadow: var(--shadow-xl);
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-drawer__close svg { width: 18px; height: 18px; stroke: var(--ink); stroke-width: 2; fill: none; stroke-linecap: round; }
.mobile-drawer__group {
  border-bottom: 1px solid var(--border-soft);
  padding: 12px 0;
}
.mobile-drawer__group:last-child { border-bottom: none; }
.mobile-drawer__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  padding: 12px 4px;
  letter-spacing: -0.01em;
}
.mobile-drawer__sub {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 4px;
  font-size: 14px;
  color: var(--muted);
}
.mobile-drawer__sub:hover { color: var(--orange-deep); }
.mobile-drawer__sub::before {
  content: "→";
  color: var(--orange);
  font-weight: 600;
}
.mobile-drawer .btn { width: 100%; justify-content: center; margin-top: 16px; }

.scrim {
  position: fixed;
  inset: 0;
  background: rgba(14, 26, 56, 0.40);
  backdrop-filter: blur(2px);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.scrim.is-open { opacity: 1; visibility: visible; }

/* ================================================================
   HERO (homepage)
   ================================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--blue-ink);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/bosque-dia.png");
  background-size: cover;
  background-position: center 60%;
  z-index: 1;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.0) 60%, rgba(255,255,255,0.55) 100%),
    radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0.0) 60%);
  z-index: 2;
}
.hero__content {
  position: relative;
  z-index: 3;
  padding: clamp(80px, 12vw, 140px) 0 clamp(120px, 16vw, 200px);
  text-align: center;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--blue-ink);
  text-shadow: 0 2px 30px rgba(255,255,255,0.5);
  max-width: 14ch;
  margin: 0 auto 24px;
}
.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--orange-deep);
}
.hero__lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(17px, 1.8vw, 22px);
  color: var(--blue-ink);
  opacity: 0.85;
  max-width: 580px;
  margin: 0 auto 36px;
  text-shadow: 0 1px 10px rgba(255,255,255,0.8);
}
.hero__ctas {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero bubbles */
.hero__bubbles {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 28px);
  max-width: 1080px;
  margin: -80px auto 0;
  padding: 0 clamp(16px, 4vw, 48px) clamp(40px, 6vw, 80px);
}
.bubble {
  position: relative;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 24px;
  padding: 26px 24px;
  text-align: left;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s ease;
  animation: bubble-float 7s ease-in-out infinite;
  display: block;
  color: inherit;
}
.bubble:nth-child(1) { animation-delay: -1.5s; }
.bubble:nth-child(2) { animation-delay: -3s; }
.bubble:nth-child(3) { animation-delay: -4.5s; }
@keyframes bubble-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.bubble:hover {
  transform: translateY(-12px) scale(1.015);
  box-shadow: var(--shadow-xl);
}
.bubble::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 36px;
  width: 22px; height: 22px;
  background: inherit;
  border-right: 1px solid rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.7);
  transform: rotate(45deg);
  border-bottom-right-radius: 6px;
}
.bubble__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: linear-gradient(140deg, var(--orange), var(--orange-bright));
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(244,120,32,0.30);
}
.bubble__icon svg {
  width: 22px; height: 22px;
  stroke: white; fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bubble__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--blue-ink);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.bubble__desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px;
  min-height: 2.7em;
}
.bubble__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
}
.bubble__price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}
.bubble__price small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11.5px;
  color: var(--muted);
  margin-left: 2px;
}
.bubble__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange-deep);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: gap 0.3s ease;
}
.bubble:hover .bubble__cta { gap: 8px; }
.bubble__cta svg {
  width: 12px; height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ================================================================
   CAROUSEL
   ================================================================ */
.carousel {
  position: relative;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  padding: clamp(64px, 8vw, 100px) 0;
}
.carousel__head {
  text-align: center;
  margin-bottom: 48px;
}
.carousel__viewport {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}
.carousel__track {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.carousel__slide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.carousel__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}
.carousel__slide-text {
  padding: clamp(36px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: white;
}
.carousel__slide-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--orange);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.carousel__slide-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--blue-ink);
  margin-bottom: 14px;
}
.carousel__slide-title em { font-style: italic; font-weight: 500; color: var(--orange-deep); }
.carousel__slide-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 460px;
}
.carousel__slide-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.carousel__slide-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.carousel__slide-price small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--muted);
  margin-left: 2px;
}
.carousel__slide-visual {
  position: relative;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.carousel__slide-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,142,60,0.20) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(110,146,224,0.30) 0%, transparent 40%);
}
.carousel__slide-icon {
  position: relative;
  width: clamp(120px, 16vw, 180px);
  height: clamp(120px, 16vw, 180px);
  background: rgba(255,255,255,0.10);
  border: 2px solid rgba(255,255,255,0.20);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.30);
  animation: icon-pulse 3.5s ease-in-out infinite;
}
@keyframes icon-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 30px 60px rgba(0,0,0,0.30), 0 0 0 0 rgba(255,255,255,0.20); }
  50% { transform: scale(1.04); box-shadow: 0 30px 60px rgba(0,0,0,0.35), 0 0 0 24px rgba(255,255,255,0); }
}
.carousel__slide-icon svg {
  width: 50%; height: 50%;
  stroke: white;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Carousel controls */
.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}
.carousel__arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.carousel__arrow:hover { background: var(--ink); border-color: var(--ink); transform: scale(1.06); }
.carousel__arrow:hover svg { stroke: white; }
.carousel__arrow svg {
  width: 18px; height: 18px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s ease;
}
.carousel__dots {
  display: flex;
  gap: 8px;
}
.carousel__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.2s ease, width 0.3s ease;
  cursor: pointer;
}
.carousel__dot.is-active {
  background: var(--orange);
  width: 28px;
  border-radius: 999px;
}

/* ================================================================
   FEATURE GRIDS / SECTIONS
   ================================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.split__visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.split__visual img {
  width: 100%; height: 100%; object-fit: cover;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.feature-card {
  padding: 28px;
  background: white;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border); }
.feature-card__icon {
  width: 44px; height: 44px;
  background: linear-gradient(140deg, var(--orange), var(--orange-bright));
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 18px rgba(244,120,32,0.24);
}
.feature-card__icon svg { width: 20px; height: 20px; stroke: white; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.feature-card__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
  color: var(--orange-deep);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.stat__label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--blue-ink);
  color: white;
  padding: 80px 0 32px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 56px;
}
.site-footer__brand img {
  height: 52px;
  width: auto;
  margin-bottom: 18px;
  filter: drop-shadow(0 6px 20px rgba(255,142,60,0.40));
}
.site-footer__brand p {
  font-family: var(--font-display);
  font-style: italic;
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  max-width: 280px;
  line-height: 1.55;
}
.site-footer__col h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
  color: white;
  position: relative;
  padding-bottom: 12px;
}
.site-footer__col h4::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 32px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.site-footer__col ul { list-style: none; margin-top: 16px; }
.site-footer__col li { margin-bottom: 12px; }
.site-footer__col a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  transition: color 0.2s ease, gap 0.2s ease;
}
.site-footer__col a::before {
  content: "→";
  color: var(--orange-bright);
  font-weight: 600;
  transition: transform 0.2s ease;
}
.site-footer__col a:hover { color: white; gap: 12px; }
.site-footer__col a:hover::before { transform: translateX(2px); }

.site-footer__contact-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  transition: background 0.2s ease;
}
.contact-row:hover { background: rgba(255,255,255,0.08); }
.contact-row__icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: linear-gradient(140deg, var(--orange), var(--orange-bright));
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
}
.contact-row__icon svg { width: 18px; height: 18px; stroke: white; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-row__label {
  font-size: 11.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2px;
}
.contact-row__value {
  font-size: 14px;
  color: white;
  font-weight: 500;
}

.site-footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.10);
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.50);
}
.site-footer__bar strong {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--orange-bright);
}

/* ================================================================
   PRODUCT PAGE LAYOUT
   ================================================================ */
.product-hero {
  padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 6vw, 80px);
  background: linear-gradient(180deg, var(--surface-tint) 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}
.product-hero::before {
  content: "";
  position: absolute;
  top: -50px; right: -50px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(244,120,32,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.product-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  position: relative;
}
.product-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}
.product-hero__breadcrumb a { color: var(--muted); transition: color 0.2s ease; }
.product-hero__breadcrumb a:hover { color: var(--orange-deep); }
.product-hero__breadcrumb span { color: var(--border); }

.product-hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  justify-self: center;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.product-hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,142,60,0.30) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(110,146,224,0.40) 0%, transparent 50%);
}
.product-hero__visual-icon {
  position: relative;
  width: 50%; height: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.product-hero__visual-icon svg {
  width: 100%; height: 100%;
  stroke: white;
  fill: none;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,0.30));
}

.product-price-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-top: 32px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}
.product-price-card__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.product-price-card__price small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--muted);
  margin-left: 4px;
}
.product-price-card__note {
  font-size: 13px;
  color: var(--muted);
  flex: 1;
  min-width: 200px;
}

/* Product page sections */
.includes-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 36px;
}
.includes-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: var(--surface);
  border-radius: var(--radius-md);
  font-size: 14.5px;
  line-height: 1.5;
}
.includes-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--orange);
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
}

.tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

/* ================================================================
   NOSOTROS PAGE LAYOUT
   ================================================================ */
.nosotros-nav {
  position: sticky;
  top: 76px;
  z-index: 20;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
  padding: 12px 0;
  margin-bottom: 0;
}
.nosotros-nav__list {
  display: flex;
  gap: 4px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.nosotros-nav__list::-webkit-scrollbar { display: none; }
.nosotros-nav__list a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.nosotros-nav__list a:hover, .nosotros-nav__list a.is-active {
  background: var(--orange-soft);
  color: var(--orange-deep);
}

/* Timeline (historia) */
.timeline {
  position: relative;
  margin-top: 48px;
  padding-left: 28px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--orange) 0%, var(--blue-mid) 100%);
  opacity: 0.4;
  border-radius: 2px;
}
.timeline__node {
  position: relative;
  margin-bottom: 36px;
}
.timeline__node:last-child { margin-bottom: 0; }
.timeline__node::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--orange), var(--orange-bright));
  box-shadow: 0 0 0 4px white, 0 4px 12px rgba(244,120,32,0.30);
}
.timeline__year {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 24px;
  color: var(--orange-deep);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.timeline__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 4px;
}
.timeline__desc {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 560px;
}

/* Glosario */
.glossary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px 28px;
  margin-top: 36px;
}
.glossary dt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--orange-deep);
  letter-spacing: -0.005em;
  margin-bottom: 4px;
}
.glossary dd {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 4px;
}

/* Pago pills */
.payments {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.payment-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 500;
}
.payment-pill svg {
  width: 16px; height: 16px;
  stroke: var(--orange-deep);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ================================================================
   MOBILE
   ================================================================ */
@media (max-width: 980px) {
  .site-nav { display: none; }
  .site-header__cta { display: none; }
  .site-header__burger { display: inline-flex; }

  .hero__bubbles { grid-template-columns: 1fr; max-width: 460px; margin-top: -60px; }
  .bubble__desc { min-height: 0; }

  .carousel__slide { grid-template-columns: 1fr; min-height: auto; }
  .carousel__slide-visual { min-height: 280px; }

  .split { grid-template-columns: 1fr; gap: 32px; }

  .product-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .product-hero__visual { max-width: 320px; }

  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .h1, .hero__title { font-size: clamp(36px, 9vw, 48px); }
  .h2 { font-size: clamp(28px, 7vw, 36px); }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bar { flex-direction: column; align-items: flex-start; }
  .nosotros-nav { top: 64px; }
  .site-header__inner { height: 64px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
