/* ¡Ya se va! — Landing
   Medidas tomadas del diseño a 1536px de ancho. En escritorio todo escala
   con --u (1px del diseño) para que se vea igual en cualquier pantalla. */

:root {
  --navy: #0b1b3f;
  --ink: #1d2b4a;
  --muted: #4a5672;
  --blue: #1565e8;
  --orange: #f2a20c;
  --line: #d9e3f2;
  --white: #fff;

  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;

  --u: calc(100vw / 1536);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
img { display: block; max-width: 100%; }

/* ===== Logo ===== */
.logo { display: inline-flex; }
.logo img { height: calc(66 * var(--u)); width: auto; }
.logo-fallback { display: none; }
.logo--fallback img { display: none; }
.logo--fallback .logo-fallback { display: inline-flex; }
.logo-word {
  font-family: var(--font-head);
  font-weight: 800;
  font-style: italic;
  font-size: 36px;
  color: var(--navy);
  -webkit-text-stroke: 1px #7bd23a;
  paint-order: stroke fill;
  text-shadow: 3px 3px 0 #7bd23a;
}
.logo-word small { font-size: .6em; }

/* ===== Encabezado ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  height: calc(77 * var(--u));
  padding: 0 calc(60 * var(--u));
  background: var(--white);
}
.main-nav {
  display: flex;
  gap: calc(48 * var(--u));
  margin-left: calc(218 * var(--u));
}
.main-nav a {
  position: relative;
  font-size: calc(15.5 * var(--u));
  font-weight: 600;
  color: var(--navy);
  padding: calc(6 * var(--u)) calc(4 * var(--u));
}
.main-nav a.is-active { color: var(--blue); }
.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: calc(-14 * var(--u));
  height: 3px;
  border-radius: 2px;
  background: var(--blue);
}
.main-nav a:hover { color: var(--blue); }
.nav-toggle { display: none; }

/* ===== Hero ===== */
.hero {
  position: relative;
  aspect-ratio: 1536 / 578;
  background: url("assets/img/hero-mock.png") 0 0 / 100% 100% no-repeat;
}
.hero-card {
  position: absolute;
  left: 3.255%;
  top: 11.42%;
  width: 36.07%;
  height: 80.45%;
  padding: calc(38 * var(--u)) calc(40 * var(--u));
  border-radius: calc(14 * var(--u));
  background: rgba(238, 244, 253, .9);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.kicker {
  display: block;
  color: var(--blue);
  font-size: calc(14 * var(--u));
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero h1 {
  margin-top: calc(14 * var(--u));
  font-family: var(--font-head);
  font-weight: 800;
  font-size: calc(68 * var(--u));
  line-height: .86;
  letter-spacing: -.03em;
  color: var(--navy);
}
.hero h1 em, .why h2 em { font-style: normal; color: var(--blue); }
.lead {
  margin-top: calc(26 * var(--u));
  max-width: calc(410 * var(--u));
  font-size: calc(21 * var(--u));
  line-height: 1.24;
  color: var(--ink);
}
.store-badges { display: flex; gap: calc(16 * var(--u)); margin-top: calc(14 * var(--u)); }
.store-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: calc(12 * var(--u));
  height: calc(68 * var(--u));
  padding: 0 calc(20 * var(--u));
  background: #000;
  color: #fff;
  border-radius: calc(5 * var(--u));
  transition: transform .15s;
}
.store-badge:hover { transform: translateY(-2px); }
.store-ico { width: calc(40 * var(--u)); height: calc(40 * var(--u)); }
.store-badge span { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.store-badge small { font-size: calc(14.5 * var(--u)); font-weight: 600; }
.store-badge small.caps { font-size: calc(12.5 * var(--u)); text-transform: uppercase; }
.store-badge strong { font-size: calc(28 * var(--u)); font-weight: 500; letter-spacing: -.01em; margin-top: calc(4 * var(--u)); }
.store-badge.is-soon { cursor: default; }
.store-badge.is-soon:hover { transform: none; }
.soon-tag {
  position: absolute;
  top: calc(-10 * var(--u));
  right: calc(-8 * var(--u));
  padding: calc(3 * var(--u)) calc(9 * var(--u));
  border-radius: 999px;
  background: var(--orange);
  color: var(--navy);
  font-style: normal;
  font-size: calc(11 * var(--u));
  font-weight: 800;
  box-shadow: 0 0 0 2px #fff;
}

/* ===== Por qué ===== */
.why {
  position: relative;
  min-height: calc(369 * var(--u));
  padding: calc(52 * var(--u)) 0 calc(56 * var(--u)) calc(93 * var(--u));
  background: linear-gradient(180deg, #fafcfe 0%, #f2f8fe 100%);
  overflow: hidden;
}
.why-text { position: relative; z-index: 1; width: calc(575 * var(--u)); }
.why h2 {
  margin-top: calc(12 * var(--u));
  font-family: var(--font-head);
  font-weight: 800;
  font-size: calc(41 * var(--u));
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--navy);
}
.why p {
  margin-top: calc(22 * var(--u));
  font-size: calc(19 * var(--u));
  line-height: 1.37;
  color: var(--ink);
}
.why p strong { color: var(--navy); }
.why-art {
  position: absolute;
  right: 0;
  top: calc(35 * var(--u));
  width: calc(836 * var(--u));
  height: auto;
}

/* ===== Página Funciones ===== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.fx-hero {
  position: relative;
  margin: calc(20 * var(--u)) 0 0 calc(34 * var(--u));
  touch-action: pan-y;
}
/* Todos los slides ocupan la misma celda; solo el activo se ve */
.fx-slides { display: grid; }
.fx-slide {
  grid-area: 1 / 1;
  position: relative;
  height: calc(630 * var(--u));
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease, visibility 0s .6s;
}
.fx-slide.is-on { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.fx-slide .fx-card > * { transform: translateY(calc(14 * var(--u))); opacity: 0; transition: transform .6s ease, opacity .6s ease; }
.fx-slide.is-on .fx-card > * { transform: none; opacity: 1; }
.fx-slide.is-on .fx-card > :nth-child(2) { transition-delay: .08s; }
.fx-slide.is-on .fx-card > :nth-child(3) { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) {
  .fx-slide, .fx-slide .fx-card > * { transition: none !important; transform: none; }
}
.fx-photo {
  position: absolute;
  inset: 0 0 0 calc(560 * var(--u));
  background: var(--img) var(--pos, 70% 75%) / cover no-repeat, #cfe3f5;
  border-radius: calc(16 * var(--u)) 0 0 calc(16 * var(--u));
}
.fx-card {
  position: relative;
  width: calc(643 * var(--u));
  height: 100%;
  padding: calc(132 * var(--u)) calc(56 * var(--u)) 0 calc(69 * var(--u));
  border-radius: calc(18 * var(--u));
  background: linear-gradient(140deg, #f5f9ff 0%, #e8f1fd 100%);
  box-shadow: 0 calc(16 * var(--u)) calc(40 * var(--u)) rgba(10, 30, 70, .10);
}
.fx-title {
  margin-top: calc(18 * var(--u));
  font-family: var(--font-head);
  font-weight: 800;
  font-size: calc(64 * var(--u));
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--navy);
}
.fx-title em { font-style: normal; color: var(--blue); }
.fx-card p {
  margin-top: calc(26 * var(--u));
  font-size: calc(22 * var(--u));
  line-height: 1.55;
  color: var(--ink);
}
.fx-dots {
  position: absolute;
  z-index: 2;
  left: calc(69 * var(--u));
  bottom: calc(86 * var(--u));
  display: flex;
  align-items: center;
  gap: calc(12 * var(--u));
}
.fx-dots button {
  width: calc(12 * var(--u));
  height: calc(12 * var(--u));
  min-width: 8px;
  min-height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #c9d6ea;
  cursor: pointer;
  transition: width .35s ease, background .35s ease;
}
.fx-dots button:hover { background: #a9bddd; }
.fx-dots button.is-on { width: calc(40 * var(--u)); min-width: 26px; background: var(--blue); }
.fx-dots button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.fx-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: calc(40 * var(--u)) calc(34 * var(--u)) calc(36 * var(--u));
}
.fx-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: calc(4 * var(--u)) calc(20 * var(--u)) calc(10 * var(--u));
}
.fx-item + .fx-item { border-left: 1px solid var(--line); }
.fx-ico {
  width: calc(86 * var(--u));
  height: calc(86 * var(--u));
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.fx-ico svg { width: calc(40 * var(--u)); height: calc(40 * var(--u)); }
.c-blue   { background: #e3eefd; color: var(--blue); }
.c-green  { background: #e2f5e8; color: #1fa54a; }
.c-red    { background: #fde5e6; color: #e5262e; }
.c-purple { background: #ece8fd; color: #6a4ee8; }
.c-orange { background: #fff0dc; color: #f08a1c; }
.fx-item.is-main .fx-ico {
  background: radial-gradient(circle, #d6e6ff 0%, #e9f1ff 70%);
  box-shadow: 0 0 0 calc(10 * var(--u)) rgba(21, 101, 232, .07), 0 calc(8 * var(--u)) calc(26 * var(--u)) rgba(21, 101, 232, .28);
}
.fx-item h3 {
  margin-top: calc(18 * var(--u));
  font-family: var(--font-head);
  font-size: calc(20 * var(--u));
  font-weight: 700;
  color: var(--navy);
}
.fx-item p {
  margin-top: calc(8 * var(--u));
  max-width: calc(190 * var(--u));
  font-size: calc(16 * var(--u));
  line-height: 1.35;
  color: var(--muted);
}

/* ===== Página Acerca de ===== */
.ac-hero { position: relative; height: calc(392 * var(--u)); }
.ac-photo {
  position: absolute;
  top: 0; right: 0;
  left: calc(600 * var(--u));
  height: 100%;
  background: url("assets/img/acerca-hero.jpg") center / cover no-repeat, #cfe3f5;
}
.ac-card {
  position: absolute;
  left: calc(32 * var(--u));
  top: 0;
  width: calc(568 * var(--u));
  height: calc(376 * var(--u));
  padding: calc(66 * var(--u)) calc(40 * var(--u)) 0 calc(60 * var(--u));
  border-radius: calc(18 * var(--u));
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f3fd 100%);
}
.ac-card h1 {
  margin-top: calc(10 * var(--u));
  font-family: var(--font-head);
  font-weight: 800;
  font-size: calc(50 * var(--u));
  line-height: .95;
  letter-spacing: -.025em;
  color: var(--navy);
}
.ac-card h1 em, .ac-purpose h2 em { font-style: normal; color: var(--blue); }
.ac-card p, .ac-purpose-text p {
  margin-top: calc(22 * var(--u));
  font-size: calc(18.5 * var(--u));
  line-height: 1.26;
  color: var(--ink);
}
.ac-card p strong { color: var(--navy); }

.ac-purpose {
  display: grid;
  grid-template-columns: calc(441 * var(--u)) calc(291 * var(--u)) calc(290 * var(--u)) calc(323 * var(--u));
  column-gap: calc(22 * var(--u));
  align-items: start;
  padding: calc(14 * var(--u)) 0 0 calc(92 * var(--u));
}
.ac-purpose h2 {
  margin-top: calc(10 * var(--u));
  font-family: var(--font-head);
  font-weight: 800;
  font-size: calc(42 * var(--u));
  line-height: 1;
  letter-spacing: -.025em;
  color: var(--navy);
}
.ac-purpose-text p { margin-top: calc(16 * var(--u)); font-size: calc(18 * var(--u)); }
.ac-box {
  margin-top: calc(7 * var(--u));
  height: calc(247 * var(--u));
  padding: calc(14 * var(--u)) calc(26 * var(--u)) 0;
  border-radius: calc(18 * var(--u));
}
.ac-ico {
  width: calc(64 * var(--u));
  height: calc(64 * var(--u));
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.ac-ico svg { width: calc(36 * var(--u)); height: calc(36 * var(--u)); }
.ac-box h3 {
  margin-top: calc(14 * var(--u));
  font-family: var(--font-head);
  font-size: calc(21 * var(--u));
  font-weight: 700;
  color: var(--navy);
}
.ac-box p {
  margin-top: calc(6 * var(--u));
  font-size: calc(17.5 * var(--u));
  line-height: 1.25;
  color: var(--muted);
}
.ac-blue   { background: linear-gradient(160deg, #f3f9ff, #eef6ff); }
.ac-blue .ac-ico   { background: #dcebfc; color: var(--blue); }
.ac-green  { background: linear-gradient(160deg, #f0faf6, #ecf8f3); }
.ac-green .ac-ico  { background: #d4f1e1; color: #1fa54a; }
.ac-purple { background: linear-gradient(160deg, #f7f6ff, #f2f1fd); }
.ac-purple .ac-ico { background: #e6e2fb; color: #6a4ee8; }
.ac-values { display: grid; grid-template-columns: auto 1fr; column-gap: calc(18 * var(--u)); padding-left: calc(28 * var(--u)); }
.ac-values h3 { margin-top: calc(28 * var(--u)); }
.ac-values ul { list-style: none; margin: calc(10 * var(--u)) 0 0; padding: 0; }
.ac-values li {
  display: flex;
  align-items: center;
  gap: calc(14 * var(--u));
  height: calc(39.5 * var(--u));
  font-size: calc(17 * var(--u));
  color: var(--ink);
}
.ac-values li svg { width: calc(22 * var(--u)); height: calc(22 * var(--u)); }
.v-blue { color: var(--blue); }
.v-red { color: #e5262e; }
.v-orange { color: #f5a400; }
.v-green { color: #1fa54a; }

.ac-story {
  position: relative;
  display: grid;
  grid-template-columns: calc(579 * var(--u)) calc(477 * var(--u)) 1fr;
  height: calc(238 * var(--u));
  margin: calc(20 * var(--u)) calc(32 * var(--u)) calc(26 * var(--u));
  border-radius: calc(18 * var(--u));
  background: linear-gradient(90deg, #f1f7fe 0%, #f5faff 100%);
  overflow: hidden;
}
.ac-story-photo {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(540 * var(--u));
  background: url("assets/img/acerca-story.jpg") left center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 78%, transparent 100%);
}
.ac-story-text { grid-column: 2; padding-top: calc(28 * var(--u)); }
.ac-story h2 {
  margin-top: calc(10 * var(--u));
  font-family: var(--font-head);
  font-weight: 800;
  font-size: calc(30 * var(--u));
  letter-spacing: -.02em;
  color: var(--navy);
}
.ac-story-text p {
  margin-top: calc(12 * var(--u));
  margin-right: calc(-30 * var(--u));
  font-size: calc(16 * var(--u));
  line-height: 1.3;
  color: var(--ink);
}
.ac-story-text p strong { color: var(--navy); }
.ac-timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: calc(14 * var(--u)) 0 0 calc(60 * var(--u));
}
.ac-timeline::before {
  content: "";
  position: absolute;
  left: calc(32 * var(--u));
  top: calc(36 * var(--u));
  bottom: calc(36 * var(--u));
  border-left: 2px dashed #c6d4ea;
}
.ac-timeline li {
  position: relative;
  display: flex;
  align-items: center;
  gap: calc(18 * var(--u));
  height: calc(55 * var(--u));
}
.ac-timeline li::before {
  content: "";
  position: absolute;
  left: calc(-32 * var(--u));
  width: calc(9 * var(--u));
  height: calc(9 * var(--u));
  min-width: 6px;
  min-height: 6px;
  border-radius: 50%;
  background: #b9c9e3;
  transform: translateX(-35%);
}
.tl-ico {
  flex: none;
  width: calc(44 * var(--u));
  height: calc(44 * var(--u));
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.tl-ico svg { width: calc(24 * var(--u)); height: calc(24 * var(--u)); }
.t-yellow { background: #fff3cf; color: #f5b400; }
.t-blue   { background: #e1ecfd; color: var(--blue); }
.t-purple { background: #ebe7fc; color: #6a4ee8; }
.ac-timeline strong {
  display: block;
  font-size: calc(13.5 * var(--u));
  font-weight: 800;
  color: var(--navy);
}
.ac-timeline li > span:last-child { font-size: calc(12.5 * var(--u)); color: var(--muted); line-height: 1.5; }

/* ===== Página Comunidad (diseño a 1672px) ===== */
.page-com { --u: calc(100vw / 1672); }
.cm-hero {
  position: relative;
  height: calc(480 * var(--u));
  background: linear-gradient(180deg, #f0f8fd 0%, #f5fafd 100%);
}
.cm-photo {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  left: calc(575 * var(--u));
  background: url("assets/img/comunidad-hero.jpg") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}
.cm-hero-text { position: relative; padding: calc(44 * var(--u)) 0 0 calc(82 * var(--u)); }
.cm-hero-text .kicker, .cm-why .kicker { font-size: calc(15 * var(--u)); }
.cm-hero h1 {
  margin-top: calc(14 * var(--u));
  font-family: var(--font-head);
  font-weight: 800;
  font-size: calc(62 * var(--u));
  line-height: .93;
  letter-spacing: -.025em;
  color: var(--navy);
}
.cm-hero h1 em, .cm-why h2 em { font-style: normal; color: var(--blue); }
.cm-lead {
  margin-top: calc(20 * var(--u));
  font-size: calc(21.5 * var(--u));
  line-height: 1.28;
  color: var(--ink);
}
.cm-hero .store-badges { margin-top: calc(18 * var(--u)); gap: calc(12 * var(--u)); }
.cm-hero .store-badge { height: calc(56 * var(--u)); padding: 0 calc(16 * var(--u)); gap: calc(10 * var(--u)); }
.cm-hero .store-ico { width: calc(32 * var(--u)); height: calc(32 * var(--u)); }
.cm-hero .store-badge small { font-size: calc(12 * var(--u)); }
.cm-hero .store-badge small.caps { font-size: calc(11 * var(--u)); }
.cm-hero .store-badge strong { font-size: calc(23.5 * var(--u)); }
.cm-note {
  position: relative;
  display: inline-block;
  margin: calc(16 * var(--u)) 0 0 calc(-26 * var(--u));
  padding: calc(6 * var(--u)) calc(30 * var(--u)) calc(14 * var(--u));
  font-family: "Caveat", cursive;
  font-weight: 600;
  font-size: calc(24 * var(--u));
  line-height: 1.05;
  color: #1d4fb8;
  transform: rotate(-9deg);
}
.cm-note-marks { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.cm-why {
  position: relative;
  display: grid;
  grid-template-columns: calc(453 * var(--u)) calc(242 * var(--u)) calc(241 * var(--u)) calc(241 * var(--u)) calc(303 * var(--u));
  column-gap: calc(20 * var(--u));
  align-items: start;
  min-height: calc(376 * var(--u));
  padding: calc(27 * var(--u)) 0 calc(24 * var(--u)) calc(82 * var(--u));
  overflow: hidden;
}
.cm-people {
  position: absolute;
  left: calc(512 * var(--u));
  top: calc(233 * var(--u));
  width: calc(828 * var(--u));
  max-width: none;
}
.cm-why-text, .cm-card { position: relative; z-index: 1; }
.cm-why h2 {
  margin-top: calc(10 * var(--u));
  font-family: var(--font-head);
  font-weight: 800;
  font-size: calc(42 * var(--u));
  line-height: 1.04;
  letter-spacing: -.025em;
  color: var(--navy);
}
.cm-why-text p {
  margin-top: calc(12 * var(--u));
  font-size: calc(15.8 * var(--u));
  line-height: 1.28;
  color: var(--muted);
}
.cm-why-text p strong { color: var(--navy); }
.cm-btn {
  display: inline-flex;
  align-items: center;
  gap: calc(14 * var(--u));
  height: calc(57 * var(--u));
  margin-top: calc(18 * var(--u));
  padding: 0 calc(32 * var(--u));
  border-radius: 999px;
  background: #e2eefc;
  color: var(--blue);
  font-size: calc(17 * var(--u));
  font-weight: 700;
  transition: background .15s;
}
.cm-btn:hover { background: #d4e6fb; }
.cm-btn-ico { width: calc(32 * var(--u)); height: calc(32 * var(--u)); }
.cm-btn-arrow { width: calc(20 * var(--u)); height: calc(20 * var(--u)); }
.cm-card {
  height: calc(226 * var(--u));
  padding: calc(13 * var(--u)) calc(24 * var(--u)) 0;
  border-radius: calc(18 * var(--u));
  background: #fff;
  box-shadow: 0 calc(6 * var(--u)) calc(24 * var(--u)) rgba(20, 50, 110, .07);
}
.cm-ico {
  width: calc(72 * var(--u));
  height: calc(72 * var(--u));
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.cm-ico svg { width: calc(36 * var(--u)); height: calc(36 * var(--u)); }
.cm-card h3 {
  margin-top: calc(10 * var(--u));
  font-family: var(--font-head);
  font-size: calc(24 * var(--u));
  font-weight: 700;
  color: var(--navy);
}
.cm-card p {
  margin-top: calc(8 * var(--u));
  font-size: calc(15.6 * var(--u));
  line-height: 1.33;
  color: var(--muted);
}
.cm-help { height: calc(308 * var(--u)); padding-top: calc(11 * var(--u)); }
.cm-help img { width: 100%; border-radius: calc(10 * var(--u)); }
.cm-help h3 { margin-top: calc(12 * var(--u)); font-size: calc(22.5 * var(--u)); }
.cm-help-btn {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--u));
  height: calc(55 * var(--u));
  margin-top: calc(14 * var(--u));
  padding: 0 calc(22 * var(--u)) 0 calc(18 * var(--u));
  border: 1px solid #cfe0fa;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--blue);
  font-size: calc(14 * var(--u));
  font-weight: 600;
  transition: background .15s;
}
.cm-help-btn:hover { background: #e2eefc; }
.cm-plus { width: calc(22 * var(--u)); height: calc(22 * var(--u)); }
.cm-help-btn .cm-btn-arrow { margin-left: auto; }

/* ===== Pie ===== */
.site-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px calc(60 * var(--u));
  border-top: 1px solid var(--line);
}
.site-footer .logo img { height: 52px; }
.footer-nav { display: flex; gap: 40px; margin-left: 40px; font-size: 15px; }
.footer-nav a:hover, .socials a:hover { color: var(--blue); }
.socials { display: flex; gap: 22px; margin-left: auto; padding-right: 30px; border-right: 1.5px solid var(--line); color: #111; }
.socials svg { width: 26px; height: 26px; }
.dev-by { display: flex; align-items: center; gap: 8px; margin-left: 6px; font-size: 16px; color: var(--muted); }
.dev-by strong { font-family: var(--font-head); font-size: 20px; color: var(--navy); }
.dev-by img { height: 36px; margin-left: 8px; }
.vedbaf-mark {
  width: 34px; height: 36px; margin-left: 8px;
  background: linear-gradient(135deg, #24c6e8, #2a6cf0 45%, #d33fd6 85%);
  clip-path: polygon(0 0, 30% 0, 50% 62%, 70% 0, 100% 0, 62% 100%, 38% 100%);
}

/* ===== Celular y tablet ===== */
@media (max-width: 1000px) {
  :root { --u: 1px; }

  .site-header { height: 70px; padding: 0 16px; justify-content: space-between; }
  .logo img { height: 50px; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px;
    padding: 10px; border: 0; background: none; cursor: pointer;
  }
  .nav-toggle span { width: 24px; height: 2.5px; border-radius: 2px; background: var(--navy); }
  .main-nav {
    display: none;
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    background: #fff; box-shadow: 0 12px 24px rgba(20, 50, 110, .1);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 20px; font-size: 16px; }
  .main-nav a.is-active::after { display: none; }

  /* Foto arriba (lado del bus y la parada) y tarjeta debajo */
  .hero {
    aspect-ratio: auto;
    padding: 260px 16px 24px;
    background: url("assets/img/hero-right.png") center top / cover no-repeat, #f2f7fe;
    background-size: auto max(300px, calc(100vw * 578 / 930));
  }
  .hero-card { position: static; width: auto; height: auto; padding: 26px 22px; background: #fff; box-shadow: 0 14px 34px rgba(10, 30, 70, .12); }
  .hero h1 { font-size: clamp(40px, 11vw, 60px); }
  .lead { max-width: none; font-size: 18px; }
  .store-badges { flex-wrap: wrap; }
  .store-badge { height: 58px; padding: 0 14px; }
  .store-badge strong { font-size: 23px; }
  .store-ico { width: 30px; height: 30px; }

  .why { min-height: 0; padding: 40px 16px 0; }
  .why-text { width: auto; }
  .why h2 { font-size: clamp(28px, 7vw, 40px); }
  .why p { font-size: 17px; }
  .why-art { position: static; width: 100%; max-width: 640px; margin: 20px auto 0; }

  .site-footer { flex-wrap: wrap; justify-content: center; padding: 20px 16px; }
  .footer-nav { margin: 0; gap: 22px; flex-wrap: wrap; justify-content: center; width: 100%; order: 2; }
  .socials { margin: 0; padding: 0; border: 0; order: 3; }
  .dev-by { margin: 0; order: 4; width: 100%; justify-content: center; }
  .fx-hero { margin: 16px; }
  .fx-slide { height: auto; }
  .fx-photo { position: static; height: 240px; border-radius: 16px 16px 0 0; background-position: 70% 70%; }
  .fx-card { width: auto; height: calc(100% - 240px); padding: 28px 22px 64px; border-radius: 0 0 16px 16px; }
  .fx-title { font-size: clamp(34px, 9vw, 52px); }
  .fx-title br, .fx-card p br { display: none; }
  .fx-card p { font-size: 17px; }
  .fx-dots { left: 22px; bottom: 28px; }
  .fx-list { grid-template-columns: repeat(2, 1fr); row-gap: 28px; margin: 28px 16px; }
  .fx-item + .fx-item { border-left: 0; }
  .fx-item:nth-child(even) { border-left: 1px solid var(--line); }
  .ac-hero { height: auto; display: flex; flex-direction: column; margin: 16px; }
  .ac-photo { position: static; height: 220px; border-radius: 16px 16px 0 0; }
  .ac-card { position: static; width: auto; height: auto; padding: 26px 22px; border-radius: 0 0 16px 16px; }
  .ac-card h1 { font-size: clamp(32px, 8.5vw, 46px); }
  .ac-card h1 br, .ac-card p br, .ac-purpose br, .ac-story-text p br { display: none; }
  .ac-card p, .ac-purpose-text p { font-size: 17px; }
  .ac-purpose { grid-template-columns: 1fr; row-gap: 14px; padding: 16px; }
  .ac-purpose h2 { font-size: clamp(30px, 8vw, 40px); }
  .ac-box { height: auto; margin: 0; padding: 20px 20px 22px; }
  .ac-box p { font-size: 16px; }
  .ac-values li { height: 36px; font-size: 16px; }
  .ac-story { display: block; height: auto; margin: 0 16px 24px; }
  .ac-story-photo { position: static; width: auto; height: 200px; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
  .ac-story-text { padding: 6px 20px 0; }
  .ac-story h2 { font-size: 26px; }
  .ac-story-text p { font-size: 16px; margin-right: 0; }
  .ac-timeline { padding: 18px 20px 22px 56px; }
  .ac-timeline::before { left: 28px; }
  .ac-timeline li { height: auto; min-height: 58px; }
  .ac-timeline li::before { left: -28px; }
  .ac-timeline strong { font-size: 15px; }
  .ac-timeline li > span:last-child { font-size: 14px; }
  .page-com { --u: 1px; }
  .cm-hero { height: auto; padding-top: 240px; }
  .cm-photo { left: 0; height: 240px; bottom: auto; -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent 100%); mask-image: linear-gradient(180deg, #000 75%, transparent 100%); }
  .cm-hero-text { padding: 10px 16px 28px; }
  .cm-hero h1 { font-size: clamp(40px, 11vw, 56px); }
  .cm-lead br, .cm-why br { display: none; }
  .cm-lead { font-size: 18px; }
  .cm-hero .store-badges { flex-wrap: wrap; }
  .cm-note { margin-left: 0; padding: 8px 40px 18px; font-size: 24px; }
  .cm-why { grid-template-columns: 1fr; row-gap: 14px; padding: 24px 16px 0; }
  .cm-why h2 { font-size: clamp(30px, 8vw, 40px); }
  .cm-why-text p { font-size: 16px; }
  .cm-card, .cm-help { height: auto; padding: 18px 20px 22px; }
  .cm-people { position: static; width: 100%; order: 10; margin-top: 10px; }
  /* Ajustes finos para celular */
  .why h2 br { display: none; }
  .hero h1, .fx-title, .ac-card h1, .cm-hero h1 { line-height: 1.02; }
  .store-badges { flex-wrap: nowrap; gap: 10px; }
  .store-badge, .cm-hero .store-badge { flex: 1 1 0; min-width: 0; max-width: 210px; height: 54px; padding: 0 12px; gap: 8px; }
  .store-ico, .cm-hero .store-ico { width: 26px; height: 26px; }
  .store-badge small, .cm-hero .store-badge small { font-size: 10.5px; }
  .store-badge small.caps, .cm-hero .store-badge small.caps { font-size: 9.5px; }
  .store-badge strong, .cm-hero .store-badge strong { font-size: 19px; }
  .soon-tag { top: -9px; right: -4px; padding: 2px 7px; font-size: 9.5px; }
  .cm-people { height: 110px; object-fit: cover; object-position: center bottom; }
  .ac-timeline li { align-items: flex-start; padding: 8px 0; }
  .ac-timeline li::before { top: 22px; }
  .ac-timeline li > span:last-child { line-height: 1.35; }
  .ac-timeline strong { margin-bottom: 2px; }
}

@media (max-width: 360px) {
  .store-badges { flex-wrap: wrap; }
  .store-badge, .cm-hero .store-badge { flex: 0 0 auto; }

}
