/* Móviles del Ecuador — Landing corporativa + marcas */

:root {
  --black: #1d1d1f;
  --gray-700: #6e6e73;
  --gray-500: #86868b;
  --gray-300: #d2d2d7;
  --gray-100: #f5f5f7;
  --white: #ffffff;
  --blue: #0071e3;
  --wa: #25d366;
  --radius-pill: 980px;
  --header-h: 52px;
  --banner-h: 0px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --tooltip-bg: rgba(29, 29, 31, 0.94);
}

body.wireframe-mode { --banner-h: 36px; }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47059;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Wireframe */
.wireframe-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--banner-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #ff9500;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: help;
}

.wireframe-banner__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.wireframe-mode [data-tooltip] { cursor: help; transition: outline 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.wireframe-mode [data-tooltip]:hover {
  outline: 2px dashed rgba(0, 113, 227, 0.55);
  outline-offset: 4px;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.08);
}

.mde-tooltip {
  position: fixed;
  z-index: 9999;
  max-width: min(340px, calc(100vw - 2rem));
  padding: 0.75rem 1rem;
  background: var(--tooltip-bg);
  color: #fff;
  font-size: 13px;
  line-height: 1.45;
  border-radius: 12px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}

.mde-tooltip.is-visible { opacity: 1; transform: translateY(0); }
.mde-tooltip::before {
  content: attr(data-label);
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64d2ff;
  margin-bottom: 0.35rem;
}

/* Header */
.apple-header {
  position: sticky;
  top: var(--banner-h);
  z-index: 150;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s var(--ease);
}

.apple-header.is-scrolled { box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08); }

.apple-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  min-height: var(--header-h);
}

.apple-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  white-space: nowrap;
}

.apple-header__brand:hover { opacity: 0.7; text-decoration: none; }

.apple-header__mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--black);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.apple-header__nav { display: none; align-items: center; gap: 0.35rem; }

@media (min-width: 768px) {
  .apple-header__nav { display: flex; }
}

/* Mobile nav toggle */
.apple-header__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  padding: 0 9px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.apple-header__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.apple-header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.apple-header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.apple-header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 768px) {
  .apple-header__toggle { display: none; }
  .apple-header__cta { display: inline-flex; }
}

@media (max-width: 767px) {
  .apple-header__cta { display: none; }
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1.25rem 1.25rem;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  animation: cookie-slide-up 0.25s var(--ease);
}

.mobile-nav[hidden] { display: none; }

@media (min-width: 768px) {
  .mobile-nav { display: none !important; }
}

.mobile-nav__link {
  padding: 0.85rem 0.5rem;
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid var(--gray-100);
}

.mobile-nav__link:hover { color: var(--blue); text-decoration: none; }

.mobile-nav__wa { margin-top: 0.85rem; }

.nav-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}

.nav-pill:hover { opacity: 0.85; transform: scale(1.02); text-decoration: none; }
.nav-pill--cta { font-weight: 600; }

/* Buttons */
.btn-buy,
.btn-outline,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s, transform 0.2s, background 0.2s;
}

.btn-buy { background: var(--black); color: var(--white); }
.btn-buy:hover { opacity: 0.88; transform: scale(1.02); text-decoration: none; }
.btn-buy--block { width: 100%; margin-top: 1rem; }
.btn-buy--wa { background: var(--wa); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--blue);
}

.btn-outline:hover { background: rgba(0, 113, 227, 0.06); text-decoration: none; }

.btn-ghost {
  background: transparent;
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
}

.btn-ghost:hover { background: var(--gray-100); }

.b2b-section .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.b2b-section .btn-outline:hover { background: rgba(255, 255, 255, 0.08); }

/* Corp hero */
.corp-hero {
  min-height: calc(100vh - var(--header-h) - var(--banner-h));
  min-height: calc(100svh - var(--header-h) - var(--banner-h));
  background: linear-gradient(180deg, #e8e8ed 0%, #f5f5f7 50%, #fff 100%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.25rem 2rem;
}

@media (min-width: 900px) {
  .corp-hero {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 4rem 1.25rem 3rem;
  }
}

.corp-hero__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.corp-hero__title {
  margin: 0 0 0.75rem;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.corp-hero__lead {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  color: var(--gray-700);
  max-width: 520px;
}

.corp-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

@media (max-width: 519px) {
  .corp-hero__cta { flex-direction: column; align-items: stretch; }
  .corp-hero__cta .btn-buy,
  .corp-hero__cta .btn-outline { width: 100%; min-height: 48px; }
  .path-card__actions { flex-direction: column; align-items: stretch; }
  .path-card__actions .btn-buy,
  .path-card__actions .btn-outline { width: 100%; min-height: 48px; }
  .b2b-cta { flex-direction: column; }
  .b2b-cta .btn-buy,
  .b2b-cta .btn-outline { width: 100%; min-height: 48px; }
}

.corp-hero__meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 13px;
  color: var(--gray-500);
}

.corp-hero__meta li::before { content: "·"; margin-right: 0.5rem; color: var(--gray-300); }
.corp-hero__meta li:first-child::before { content: none; margin: 0; }

/* Brand cards */
.brand-carousel { overflow: hidden; }

.brand-carousel__track {
  display: flex;
  gap: 1rem;
  transition: transform 0.45s var(--ease);
}

.brand-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.brand-carousel__dots {
  display: flex;
  gap: 0.4rem;
}

.brand-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--gray-300);
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.brand-carousel__dot.is-active { background: var(--black); transform: scale(1.2); }

.brand-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 600px) {
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
}

.brand-card {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  cursor: pointer;
}

.brand-card--hero {
  flex: 0 0 100%;
  min-width: 0;
}

.brand-card:not(.brand-card--disabled):hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.brand-card--disabled {
  cursor: default;
  opacity: 0.65;
}

.brand-card--soon { border-style: dashed; }

.brand-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--gray-100);
  color: var(--gray-500);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.brand-card__logo {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.brand-card__logo img { margin: 0 auto; object-fit: contain; max-height: 40px; width: auto; }

.brand-card__logo-placeholder {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-300);
}

.brand-card__name {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.brand-card__tagline {
  margin: 0;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.4;
}

.brand-card__action {
  display: inline-block;
  margin-top: 1rem;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
}

.product-bar__arrow {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  font-size: 1.25rem;
  color: var(--gray-700);
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s;
}

.product-bar__arrow:hover { background: rgba(0, 0, 0, 0.05); }

/* Trust */
.trust-section {
  padding: 4rem 1.25rem;
  background: var(--white);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 700px) {
  .trust-stats { grid-template-columns: repeat(4, 1fr); }
}

.trust-stat {
  padding: 1.25rem 0.75rem;
  border-right: 1px solid var(--gray-100);
}

.trust-stat:last-child { border-right: none; }

@media (max-width: 699px) {
  .trust-stat:nth-child(2n) { border-right: none; }
}

.trust-stat__num {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
  line-height: 1.1;
}

.trust-stat__label {
  display: block;
  margin-top: 0.35rem;
  font-size: 13px;
  color: var(--gray-500);
}

.trust-section__inner {
  display: grid;
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 700px) {
  .trust-section__inner { grid-template-columns: repeat(4, 1fr); }
}

.trust-card {
  background: var(--gray-100);
  border-radius: 16px;
  padding: 1.5rem;
}

.trust-card h3 {
  margin: 0 0 0.5rem;
  font-size: 15px;
  font-weight: 600;
}

.trust-card p {
  margin: 0;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.45;
}

/* Caminos: consumidor y negocio */
.paths-section {
  padding: 3rem 1.25rem 4rem;
  background: var(--gray-100);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.paths-grid {
  display: grid;
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .paths-grid { grid-template-columns: repeat(2, 1fr); }
}

.path-card {
  background: var(--white);
  border-radius: 20px;
  padding: 1.75rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.path-card__label {
  margin: 0 0 0.5rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.path-card h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.path-card p {
  margin: 0 0 1.25rem;
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.5;
}

.path-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.path-card--b2b {
  border-color: rgba(0, 113, 227, 0.15);
}

.nav-pill--wa {
  background: #25d366;
  color: #fff;
}

.nav-pill--wa:hover {
  background: #1ebe57;
  color: #fff;
}

.store-item__directions {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.store-item__directions:hover { text-decoration: underline; }

/* Sections */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  padding: 0 1.25rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--gray-700);
  font-size: 1.05rem;
}

.portfolio-section {
  padding: 5rem 0;
  background: var(--gray-100);
}

.buy-section { padding: 5rem 0; }

.buy-section__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 800px) {
  .buy-section__grid { grid-template-columns: 1fr 1fr; }
}

.buy-section__copy h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.buy-section__copy p { margin: 0 0 1.5rem; color: var(--gray-700); }

.buy-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.buy-perks li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  font-size: 15px;
  color: var(--gray-700);
}

.buy-perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.buy-card {
  background: var(--gray-100);
  border-radius: 24px;
  padding: 2.5rem;
  text-align: center;
}

.buy-card__label {
  margin: 0 0 0.5rem;
  font-size: 14px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.buy-card__hint {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  font-weight: 500;
}

/* Programa mayorista */
.b2b-section {
  padding: 5rem 0;
  background: var(--black);
  color: var(--white);
}

.b2b-section .section-head h2 { color: var(--white); }
.b2b-section .section-head p { color: rgba(255, 255, 255, 0.65); }

.b2b-section__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.b2b-cards {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 700px) {
  .b2b-cards { grid-template-columns: repeat(4, 1fr); }
}

.b2b-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 1.5rem;
  text-align: center;
  color: inherit;
  text-decoration: none;
  display: block;
}
a.b2b-card--link {
  color: inherit;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
a.b2b-card--link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  text-decoration: none;
  transform: translateY(-2px);
}

.b2b-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  color: #fff;
}
.b2b-card__icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.b2b-card h3 { margin: 0 0 0.35rem; font-size: 14px; font-weight: 600; }
.b2b-card p { margin: 0; font-size: 12px; color: rgba(255, 255, 255, 0.55); }

.b2b-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Stores map */
.stores-section { padding: 5rem 0; }

.stores-layout {
  display: grid;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 900px) {
  .stores-layout { grid-template-columns: 1.35fr 1fr; align-items: start; }
}

.stores-map-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.stores-geo-status {
  margin: 0;
  font-size: 13px;
  color: var(--gray-700);
  padding: 0.65rem 0.85rem;
  background: var(--gray-100);
  border-radius: 10px;
  border-left: 3px solid var(--blue);
}

.stores-map {
  min-height: 360px;
  height: min(68vh, 640px);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--gray-100);
  z-index: 1;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.stores-layout--embed { grid-template-columns: 1fr; }
.stores-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--gray-100);
  overflow: hidden;
}

.stores-join-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1.15rem 1.35rem;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}
.stores-join-cta p {
  margin: 0;
  color: var(--gray-700);
  font-size: 15px;
  flex: 1;
  min-width: 220px;
}

@media (max-width: 720px) {
  .stores-section { padding: 3rem 0; }
  .stores-map {
    height: min(72dvh, 620px);
    min-height: 480px;
    border-radius: 14px;
  }
  .stores-join-cta {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.1rem;
  }
  .stores-join-cta .btn-buy { width: 100%; }
}

.modal__panel--form {
  width: min(640px, 100%);
  max-height: min(92vh, 820px);
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  position: relative;
  padding: 1.5rem 1.5rem 1.25rem;
}
.modal__panel--join {
  width: min(520px, 100%);
  max-height: min(90vh, 720px);
  padding: 1.35rem 1.35rem 1.15rem;
  border-radius: 22px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
}
.join-modal__head {
  margin: 0 0 1.1rem;
  padding-right: 2rem;
}
.join-modal__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue, #0071e3);
}
.join-modal__head h3 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.join-modal__lead {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--gray-600, #6e6e73);
}
.join-modal__form {
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}
.join-modal__grid {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 520px) {
  .join-modal__grid {
    grid-template-columns: 1fr 1fr;
  }
  .join-modal__span { grid-column: 1 / -1; }
}
.join-modal__form .form-field {
  min-width: 0;
}
.join-modal__form .form-field__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--gray-700);
}
.join-modal__form .form-field__opt {
  font-weight: 500;
  color: var(--gray-500);
}
.join-modal__form .form-field input,
.join-modal__form .form-field select,
.join-modal__form .form-field textarea {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: #fbfbfd;
}
.join-modal__form .form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236e6e73' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.join-type {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.join-type__opt {
  position: relative;
  margin: 0;
  cursor: pointer;
}
.join-type__opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.join-type__opt span {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #f5f5f7;
  color: var(--gray-800, #1d1d1f);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.2;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.join-type__opt input:checked + span {
  border-color: #1d1d1f;
  background: #1d1d1f;
  color: #fff;
}
.join-type__opt input:focus-visible + span {
  outline: 2px solid rgba(0, 113, 227, 0.35);
  outline-offset: 2px;
}
.join-modal__consent {
  margin-top: 0.95rem;
}
.join-modal__submit {
  margin-top: 0.85rem;
}
@media (max-width: 640px) {
  .modal {
    padding: 0;
    align-items: end;
    place-items: end center;
  }
  .modal__panel--form {
    width: 100%;
    max-height: min(94dvh, 860px);
    border-radius: 18px 18px 0 0;
    padding: 1.25rem 1.1rem calc(1.1rem + env(safe-area-inset-bottom, 0px));
  }
  .modal__panel--join {
    max-height: min(92dvh, 780px);
    border-radius: 20px 20px 0 0;
  }
}
.modal__panel--form h3 { padding-right: 2.25rem; }
.modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.95rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--black);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.modal__close:hover { background: var(--gray-300); }
.lead-form--modal {
  padding: 0;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.stores-map__error {
  display: grid;
  place-items: center;
  height: 100%;
  margin: 0;
  color: var(--gray-500);
  font-size: 14px;
}

.stores-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.stores-list__loading,
.stores-list__empty {
  margin: 0;
  padding: 1rem;
  font-size: 14px;
  color: var(--gray-500);
  background: var(--gray-100);
  border-radius: 12px;
}

.store-item {
  position: relative;
  padding: 1rem 1.25rem;
  background: var(--gray-100);
  border-radius: 12px;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.store-item:hover,
.store-item:focus {
  outline: none;
  border-color: rgba(0, 113, 227, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.store-item--nearest {
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 4px 20px rgba(0, 113, 227, 0.12);
}

.store-item__badge {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
  background: rgba(0, 113, 227, 0.1);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}

.store-item__name {
  margin: 0 0 0.2rem;
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
}

.store-item__type {
  margin: 0 0 0.35rem;
  font-size: 12px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.store-item__address {
  margin: 0 0 0.25rem;
  color: var(--gray-700);
  line-height: 1.4;
}

.store-item__meta {
  margin: 0;
  font-size: 13px;
  color: var(--gray-500);
}

.store-item__meta strong {
  color: var(--blue);
  font-weight: 600;
}

/* Leaflet pins */
.map-pin {
  background: transparent;
  border: none;
}

.map-pin span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.map-pin--user span {
  background: var(--blue);
  border: 3px solid #fff;
}

.map-pin--branch span {
  background: var(--black);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  border: 2px solid #fff;
}

.map-pin--nearest span {
  background: var(--blue);
}

/* FAQ */
.faq-section { padding: 5rem 0; background: var(--gray-100); }

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.faq-group-label {
  margin: 1.5rem 0 0.5rem;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
}

.faq-group-label:first-child { margin-top: 0; }

.faq-item {
  border-bottom: 1px solid var(--gray-300);
  padding: 1rem 0;
  background: transparent;
}

.faq-item summary {
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--gray-500);
  transition: transform 0.2s;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  margin: 0.75rem 0 0;
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.5;
}

/* Contact form */
.contact-section { padding: 5rem 0; }

.contact-section__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.contact-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-intro h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
}

.contact-intro p { margin: 0; color: var(--gray-700); }

.lead-form {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 520px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
}

.form-field--full { grid-column: 1 / -1; }

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--gray-700);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  font: inherit;
  background: var(--white);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(0, 113, 227, 0.25);
  border-color: var(--blue);
}

.form-consent {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-top: 1rem;
  font-size: 13px;
  color: var(--gray-700);
}

.form-consent input { margin-top: 0.15rem; }

.form-status {
  margin-top: 0.75rem;
  font-size: 14px;
  min-height: 1.25rem;
}

.form-status.is-ok { color: #059669; }
.form-status.is-err { color: #dc2626; }

/* Footer */
.apple-footer {
  background: var(--gray-100);
  padding: 2.5rem 1.25rem;
  border-top: 1px solid var(--gray-300);
}

.apple-footer__inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.apple-footer__wa {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--wa);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.apple-footer__wa:hover { opacity: 0.9; text-decoration: none; }

.apple-footer__brand {
  margin: 0 0 1rem;
  font-size: 12px;
  color: var(--gray-500);
}

.apple-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
}

.apple-footer__links a {
  font-size: 12px;
  color: var(--gray-700);
  text-decoration: none;
}

.apple-footer__links a:hover { color: var(--blue); text-decoration: underline; }

.apple-footer__copy {
  margin: 0;
  font-size: 11px;
  color: var(--gray-500);
}

/* WhatsApp FAB */
.wa-fab {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  border: none;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

body.consent-open .wa-fab {
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
}

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(11, 18, 32, 0.6);
  backdrop-filter: blur(4px);
}

.modal[hidden] { display: none; }

.modal__panel {
  width: min(420px, 100%);
  background: var(--white);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.modal__panel h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.modal__panel > p {
  margin: 0 0 1.25rem;
  color: var(--gray-700);
  font-size: 15px;
}

.modal__actions {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
}

.modal__actions .btn-buy,
.modal__actions .btn-outline,
.modal__actions .btn-ghost { flex: 1; }

.modal__actions--stack {
  flex-direction: column;
}

.modal__actions--stack .btn-buy,
.modal__actions--stack .btn-outline,
.modal__actions--stack .btn-ghost { width: 100%; }

.brand-modal__logo {
  min-height: 40px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-modal__logo img { max-height: 36px; width: auto; }

.brand-modal__intent {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.intent-toggle {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.5rem;
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.intent-toggle:has(input:checked) {
  border-color: var(--black);
  background: var(--gray-100);
}

.intent-toggle input { display: none; }

/* Legal page */
.legal-page {
  padding: 3rem 0 4rem;
}

.legal-page__container {
  width: min(760px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.legal-page h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.legal-page .updated {
  color: var(--gray-500);
  font-size: 14px;
  margin: 0 0 2rem;
}

.legal-page h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.legal-page p,
.legal-page li {
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.6;
}

.legal-page ul {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

.legal-page li { margin-bottom: 0.35rem; }

.legal-page a { color: var(--blue); }

/* Cookie / privacy consent */
.cookie-consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 250;
  display: flex;
  justify-content: center;
  animation: cookie-slide-up 0.4s var(--ease);
}

.cookie-consent[hidden] { display: none; }

.cookie-consent__inner {
  width: min(720px, 100%);
  background: rgba(29, 29, 31, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #fff;
  border-radius: 16px;
  padding: 1.1rem 1.35rem;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

@media (min-width: 640px) {
  .cookie-consent__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
}

.cookie-consent__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.cookie-consent__text a {
  color: #64d2ff;
  text-decoration: underline;
}

.cookie-consent__actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.btn-buy--sm,
.btn-ghost--sm {
  padding: 0.55rem 1.1rem;
  font-size: 13px;
  white-space: nowrap;
}

.cookie-consent .btn-ghost--sm {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
}

.cookie-consent .btn-ghost--sm:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cookie-consent .btn-buy--sm {
  background: #fff;
  color: var(--black);
}

@keyframes cookie-slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .wireframe-banner__dot { animation: none; }
  .brand-carousel__track { transition: none; }
}

/* ============================================================
   HERO CREATIVO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #f4f5fb;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero__aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}

.hero__aurora--1 {
  width: 46vw;
  height: 46vw;
  top: -12vw;
  left: -8vw;
  background: radial-gradient(circle at 30% 30%, #6d5efc, #4f46e5 60%, transparent 72%);
  animation: hero-float-1 16s var(--ease) infinite;
}

.hero__aurora--2 {
  width: 40vw;
  height: 40vw;
  top: -6vw;
  right: -10vw;
  background: radial-gradient(circle at 60% 40%, #22d3ee, #0ea5e9 60%, transparent 72%);
  animation: hero-float-2 20s var(--ease) infinite;
}

.hero__aurora--3 {
  width: 44vw;
  height: 44vw;
  bottom: -18vw;
  left: 28vw;
  background: radial-gradient(circle at 50% 50%, #f472b6, #a855f7 55%, transparent 72%);
  opacity: 0.4;
  animation: hero-float-3 24s var(--ease) infinite;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(29, 29, 31, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 29, 31, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
}

@keyframes hero-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6vw, 5vw) scale(1.12); }
}

@keyframes hero-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-5vw, 6vw) scale(1.15); }
}

@keyframes hero-float-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-4vw, -6vw) scale(1.1); }
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.25rem 3.5rem;
  min-height: calc(100svh - var(--header-h) - var(--banner-h) - 44px);
}

@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    padding: 4.5rem 1.25rem;
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(29, 29, 31, 0.08);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: hero-pulse 2s ease infinite;
}

@keyframes hero-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero__title {
  margin: 0 0 1.1rem;
  font-size: clamp(2.5rem, 6.5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--black);
}

.hero__word {
  position: relative;
  white-space: nowrap;
}

.hero__word::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.32em;
  background: linear-gradient(90deg, rgba(109, 94, 252, 0.35), rgba(34, 211, 238, 0.35));
  border-radius: 4px;
  z-index: -1;
}

.hero__grad {
  background: linear-gradient(100deg, #4f46e5, #7c3aed 40%, #ec4899 75%, #f97316);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hero-gradient 6s ease infinite;
}

@keyframes hero-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero__lead {
  margin: 0 0 1.75rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--gray-700);
  max-width: 540px;
  line-height: 1.5;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.btn-buy--lg {
  padding: 0.9rem 1.6rem;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.6rem;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(29, 29, 31, 0.12);
  color: var(--black);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.2s;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: scale(1.02);
  text-decoration: none;
}

.hero__chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
}

.hero__chips li {
  font-size: 13px;
  color: var(--gray-500);
}

.hero__chips strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
  line-height: 1.1;
}

/* Hero showcase: carrusel de celulares */
.hero__showcase {
  position: relative;
  display: block;
}

.hero-carousel {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

@media (min-width: 960px) {
  .hero-carousel { max-width: 360px; }
}

/* Carrusel genérico */
.js-carousel { position: relative; }

.js-carousel__viewport { overflow: hidden; }

.js-carousel__track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.6s var(--ease);
  will-change: transform;
}

.js-carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.js-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.5rem;
}

.js-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--gray-300);
  padding: 0;
  cursor: pointer;
  transition: width 0.25s var(--ease), background 0.25s;
}

.js-carousel__dot.is-active { width: 26px; background: var(--black); }

.cover-stack {
  position: absolute;
  inset: 0;
  perspective: 1200px;
}

.cover-stack .cover {
  position: absolute;
  width: 300px;
  height: 380px;
  left: 50%;
  top: 50%;
}

.cover-stack .cover:nth-child(1) {
  transform: translate(-72%, -46%) rotate(-9deg) scale(0.88);
  opacity: 0.9;
  animation: cover-float-a 9s ease-in-out infinite;
}

.cover-stack .cover:nth-child(2) {
  transform: translate(-38%, -58%) rotate(5deg) scale(0.94);
  opacity: 0.96;
  animation: cover-float-b 8s ease-in-out infinite;
}

.cover-stack .cover:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-2deg);
  z-index: 3;
  animation: cover-float-c 7s ease-in-out infinite;
}

@keyframes cover-float-a {
  0%, 100% { transform: translate(-72%, -46%) rotate(-9deg) scale(0.88); }
  50% { transform: translate(-74%, -52%) rotate(-11deg) scale(0.88); }
}

@keyframes cover-float-b {
  0%, 100% { transform: translate(-38%, -58%) rotate(5deg) scale(0.94); }
  50% { transform: translate(-36%, -50%) rotate(7deg) scale(0.94); }
}

@keyframes cover-float-c {
  0%, 100% { transform: translate(-50%, -50%) rotate(-2deg); }
  50% { transform: translate(-50%, -56%) rotate(0deg); }
}

/* Hero marquee */
.hero__marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(29, 29, 31, 0.08);
  border-bottom: 1px solid rgba(29, 29, 31, 0.08);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
  padding: 0.75rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.hero__marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  white-space: nowrap;
  animation: hero-marquee 24s linear infinite;
}

.hero__marquee-track span {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
}

.hero__marquee-track .dot { color: #a855f7; font-size: 8px; }

@keyframes hero-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   PORTADAS (COVERS)
   ============================================================ */
.cover {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 1.75rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 24px 60px rgba(29, 29, 31, 0.22);
  isolation: isolate;
}

.cover--indigo { background: linear-gradient(150deg, #6366f1, #4f46e5 55%, #7c3aed); }
.cover--dark { background: linear-gradient(150deg, #2b2b30, #1d1d1f 60%, #000); }
.cover--emerald { background: linear-gradient(150deg, #10b981, #059669 60%, #047857); }
.cover--violet { background: linear-gradient(150deg, #a855f7, #7c3aed 60%, #6d28d9); }
.cover--sunset { background: linear-gradient(150deg, #fb923c, #f97316 50%, #ef4444); }
.cover--blue { background: linear-gradient(150deg, #38bdf8, #0071e3 60%, #2563eb); }

.cover__glow {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  top: -60px;
  right: -50px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 70%);
  z-index: -1;
}

.cover__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.28) 48%, transparent 62%);
  transform: translateX(-120%);
  z-index: 1;
  pointer-events: none;
}

.cover-stack .cover:nth-child(3) .cover__shine {
  animation: cover-shine 5.5s ease-in-out 1s infinite;
}

@keyframes cover-shine {
  0%, 100% { transform: translateX(-120%); }
  55%, 70% { transform: translateX(120%); }
}

.cover__body { position: relative; z-index: 2; }

.cover__badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cover__eyebrow {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.cover__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.cover__subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.cover__cta {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  margin-top: 1.25rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--black);
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s, gap 0.2s;
}

.cover__cta:hover {
  transform: scale(1.04);
  gap: 0.6rem;
  text-decoration: none;
}

.cover--big {
  min-height: 340px;
  padding: 2rem;
}

/* ============================================================
   TARJETA CELULAR (PHONE CARD)
   ============================================================ */
.phone-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.1rem;
  width: 100%;
  max-width: 260px;
  cursor: default;
}

.product-card--catalog.phone-card {
  max-width: 320px;
}
@media (min-width: 720px) {
  .product-card--catalog.phone-card {
    max-width: none;
  }
}

.phone-card[role="button"] { cursor: pointer; outline: none; }

.phone-card__device {
  position: relative;
  width: 168px;
  height: 336px;
  border-radius: 30px;
  padding: 9px;
  background: linear-gradient(160deg, #313136, #1a1a1c);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28), inset 0 0 0 2px rgba(255, 255, 255, 0.06);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.phone-card[role="button"]:hover .phone-card__device,
.phone-card[role="button"]:focus-visible .phone-card__device {
  transform: translateY(-8px) rotate(-1.5deg);
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.34), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.phone-card__cam {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.22);
  z-index: 3;
}

.phone-card__screen {
  position: relative;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: #fff;
  background: linear-gradient(160deg, #6366f1, #4f46e5 60%, #7c3aed);
}

.phone-card__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 15%, rgba(255, 255, 255, 0.35), transparent 55%);
  pointer-events: none;
}

.pt-indigo .phone-card__screen { background: linear-gradient(160deg, #6366f1, #4f46e5 60%, #7c3aed); }
.pt-sunset .phone-card__screen { background: linear-gradient(160deg, #fb923c, #f97316 50%, #ef4444); }
.pt-violet .phone-card__screen { background: linear-gradient(160deg, #c084fc, #a855f7 55%, #7c3aed); }
.pt-emerald .phone-card__screen { background: linear-gradient(160deg, #34d399, #059669 60%, #047857); }
.pt-blue .phone-card__screen { background: linear-gradient(160deg, #38bdf8, #0071e3 60%, #2563eb); }

.phone-card__glyph {
  width: 60px;
  height: 60px;
  color: rgba(255, 255, 255, 0.95);
  position: relative;
  z-index: 1;
}

.phone-card__screen-name {
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.phone-card__logo {
  position: relative;
  z-index: 1;
  max-width: 72%;
  max-height: 46px;
  width: auto;
  filter: brightness(0) invert(1);
}

.phone-card--soon .phone-card__device { opacity: 0.9; }
.phone-card--soon .phone-card__screen { filter: saturate(0.85); }

.phone-card__meta { max-width: 240px; }

.phone-card__badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--gray-100);
  color: var(--gray-500);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.phone-card__name {
  margin: 0 0 0.2rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.phone-card__tag {
  margin: 0;
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.45;
}

.phone-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.6rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}

.phone-card[role="button"]:hover .phone-card__cta { gap: 0.5rem; }

/* ============================================================
   CATÁLOGO (grid con todas las marcas)
   ============================================================ */
.catalog { padding: 5rem 0; background: var(--gray-100); }

.catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  justify-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 640px) {
  .catalog-grid { grid-template-columns: repeat(3, 1fr); align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__aurora,
  .hero__badge-dot,
  .hero__grad,
  .cover-stack .cover,
  .cover__shine,
  .hero__marquee-track { animation: none !important; }
  .js-carousel__track { transition: none; }
}

/* ============================================================
   PRODUCT CARDS (fotos reales)
   ============================================================ */
.product-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.product-card__link:hover { text-decoration: none; color: inherit; }
.product-card__media-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.product-card__media-link:hover { text-decoration: none; }
.product-card__name a {
  color: inherit;
  text-decoration: none;
}
.product-card__name a:hover { color: var(--blue); }
.product-card__colors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0.75rem 0 0.35rem;
}
.product-card__swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.95);
  background: var(--swatch, #888);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product-card__swatch:hover { transform: scale(1.08); }
.product-card__swatch.is-active {
  box-shadow: 0 0 0 2px var(--blue);
  transform: scale(1.08);
}
.product-card__color-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-left: 0.15rem;
}
a.phone-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}
a.phone-card__cta:hover { text-decoration: underline; }

.product-card__media {
  width: 100%;
  max-width: 220px;
  height: auto;
  min-height: 260px;
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  padding: 1rem 0.75rem;
  background: linear-gradient(165deg, #ece8ff 0%, #d7ecff 100%);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.product-card--family-eco .product-card__media {
  background: linear-gradient(165deg, #ece7ff 0%, #d4ebff 55%, #e8f4ff 100%);
}
.product-card--family-bolt .product-card__media {
  background: linear-gradient(165deg, #d9f6ea 0%, #c8eedc 55%, #e7f8ef 100%);
}
.product-card--family-snap .product-card__media {
  background: linear-gradient(165deg, #ffe6d2 0%, #ffd5c4 55%, #fff1e6 100%);
}
.product-card__link:hover .product-card__media {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
}

.product-card__shots {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 240px;
}
.product-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}
.product-card__img.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.product-card__pips {
  position: absolute;
  left: 50%;
  bottom: 0.7rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.35rem;
  z-index: 3;
  pointer-events: auto;
}
.product-card__pips span,
.product-card__pip {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(17, 17, 17, 0.22);
  transition: background 0.25s ease, transform 0.25s ease;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.product-card__pips span.is-active,
.product-card__pip.is-active {
  background: #111;
  transform: scale(1.25);
}
.product-card__pip:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.product-card--catalog {
  max-width: 320px;
  width: 100%;
  gap: 1.1rem;
}
.product-card--catalog .product-card__media {
  max-width: none;
  width: 100%;
  min-height: 300px;
  aspect-ratio: 3 / 4;
  padding: 1.25rem 1rem 1.75rem;
  border-radius: 24px;
}
.product-card--catalog .product-card__shots {
  min-height: 260px;
}
.product-card--catalog .phone-card__meta {
  max-width: 100%;
  text-align: center;
}
.product-card--catalog .phone-card__name {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.product-card--catalog .product-card__chips {
  justify-content: center;
}

.catalog-grid--products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 1.5rem;
  justify-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 720px) {
  .catalog-grid--products {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
  .product-card--catalog {
    max-width: none;
  }
}

.product-card__brand {
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.product-card__chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.65rem 0 0.75rem;
  padding: 0;
}
.product-card__chips li {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
  background: var(--gray-100);
  color: var(--gray-700);
}
.product-card__chips li.is-feature {
  background: #111;
  color: #fff;
}

.product-card__mix {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 220px;
  padding: 1.25rem;
  color: #fff;
}
.product-card__mix img {
  filter: brightness(0) invert(1);
  max-width: 168px;
  height: auto;
}
.product-card__mix-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.phone-card--mix .product-card__media {
  background: linear-gradient(160deg, #059669, #047857 55%, #065f46);
}

.catalog-grid--products {
  max-width: 1100px;
}
@media (min-width: 900px) {
  .catalog-grid--products { grid-template-columns: repeat(3, 1fr); }
}

.product-card--hero .product-card__media {
  min-height: 280px;
}
.product-card--hero .product-card__img {
  max-height: 300px;
}

/* ============================================================
   MIX BANNER
   ============================================================ */
.mix-banner {
  max-width: 1100px;
  margin: 3rem auto 0;
  padding: 0 1.25rem;
}
.mix-banner__inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem 1.5rem;
  border-radius: 24px;
  background: linear-gradient(135deg, #111827, #1f2937 50%, #064e3b);
  color: #fff;
}
@media (min-width: 768px) {
  .mix-banner__inner {
    grid-template-columns: 1.4fr 0.6fr;
    padding: 2.5rem 2.25rem;
  }
}
.mix-banner__badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mix-banner__copy h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}
.mix-banner__copy p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 38rem;
}
.mix-banner__models {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  padding: 0;
}
.mix-banner__models li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 7rem;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}
.mix-banner__models span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
}
.mix-banner__visual {
  display: grid;
  place-items: center;
  opacity: 0.9;
}
.mix-banner__visual img {
  filter: brightness(0) invert(1);
  width: min(180px, 60%);
  height: auto;
}

/* ============================================================
   VIDEO HERO (loop continuo, responsive)
   ============================================================ */
.video-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 520px;
  background: #050505;
  margin-top: calc(-1 * var(--header-h));
  overflow: hidden;
}
.video-hero__frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #050505;
}
.video-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  background: #050505;
}
.video-hero__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.12) 32%, rgba(0, 0, 0, 0.28) 62%, rgba(0, 0, 0, 0.72) 100%);
}
.video-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 1rem max(3rem, calc(1.25rem + env(safe-area-inset-bottom, 0px)));
  text-align: center;
  color: #fff;
  box-sizing: border-box;
  pointer-events: none;
}
.video-hero__overlay .btn-buy,
.video-hero__overlay .btn-glass {
  pointer-events: auto;
}
.video-hero__eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.88;
}
.video-hero__title {
  margin: 0 0 0.35rem;
  font-size: clamp(2rem, 8vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}
.video-hero__lead {
  margin: 0 0 1rem;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.35;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}
.video-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  width: 100%;
  max-width: 26rem;
}
.video-hero__cta .btn-buy,
.video-hero__cta .btn-glass {
  min-height: 44px;
}
.video-hero .btn-glass {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  backdrop-filter: blur(10px);
}
.video-hero .btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  text-decoration: none;
  color: #fff;
}

@media (max-width: 734px) {
  .video-hero__cta {
    flex-direction: column;
    align-items: stretch;
  }
  .video-hero__cta .btn-buy,
  .video-hero__cta .btn-glass {
    width: 100%;
  }
  .video-hero__lead {
    font-size: 0.9rem;
  }
}

@media (min-width: 735px) {
  .video-hero__overlay {
    padding: 0 1.25rem max(4.5rem, calc(8vh + env(safe-area-inset-bottom, 0px)));
  }
  .video-hero__eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
  }
  .video-hero__lead {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
  }
  .video-hero__cta {
    max-width: none;
    flex-direction: row;
  }
}

@media (max-height: 640px) {
  .video-hero__overlay {
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
  }
  .video-hero__title { font-size: clamp(1.6rem, 6vw, 2.8rem); }
  .video-hero__lead { margin-bottom: 0.65rem; }
}

/* Header over dark video hero */
body:has(.video-hero) .apple-header {
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
body:has(.video-hero) .apple-header__brand {
  color: #fff;
}
body:has(.video-hero) .apple-header .nav-pill:not(.nav-pill--cta) {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
body:has(.video-hero) .apple-header__mark {
  background: #fff;
  color: #111;
}
body:has(.video-hero) .apple-header__toggle span {
  background: #fff;
}
body:has(.video-hero) .apple-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}
body:has(.video-hero) .apple-header.is-scrolled .apple-header__brand {
  color: var(--black);
}
body:has(.video-hero) .apple-header.is-scrolled .nav-pill:not(.nav-pill--cta) {
  background: var(--gray-100);
  color: var(--black);
  border-color: transparent;
}
body:has(.video-hero) .apple-header.is-scrolled .apple-header__mark {
  background: var(--black);
  color: #fff;
}
body:has(.video-hero) .apple-header.is-scrolled .apple-header__toggle span {
  background: var(--black);
}

/* ============================================================
   INTRO (post-video)
   ============================================================ */
.intro {
  padding: 4.5rem 1.25rem 3.25rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(99, 102, 241, 0.12), transparent 55%),
    #f7f7f9;
  text-align: center;
}
.intro__inner {
  max-width: 720px;
  margin: 0 auto;
}
.intro__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
  padding: 0.32rem 0.9rem 0.32rem 0.38rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-700);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}
.intro__badge-mark {
  width: 1.55rem;
  height: 1.55rem;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
}
.intro__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}
.intro__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--black);
}
.intro__grad {
  background: linear-gradient(120deg, #f472b6, #fb923c 55%, #f43f5e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.intro__lead {
  margin: 0 auto 1.5rem;
  max-width: 36rem;
  color: var(--gray-700);
  font-size: 1.05rem;
  line-height: 1.55;
}
.intro__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.intro__chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.25rem;
  margin: 0;
  padding: 0;
  color: var(--gray-600);
  font-size: 0.92rem;
}
.intro__chips strong {
  color: var(--black);
  font-weight: 700;
}

.catalog {
  padding: 4.5rem 0 5rem;
  background: #fff;
}
.catalog .section-head { margin-bottom: 2.5rem; }
.catalog-grid--products { gap: 2rem 1.5rem; }
.product-card { max-width: 280px; }
.product-card--catalog { max-width: 420px; }
.product-card .phone-card__meta { max-width: 100%; }
.paths-section { padding-top: 1rem; }
.mix-banner { margin-top: 3.5rem; }
.mix-banner__inner { border-radius: 28px; }

/* ============================================================
   PRODUCT PAGE
   ============================================================ */
.product-page {
  padding-bottom: 4rem;
}
.product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 1.25rem) 1.25rem 0.5rem;
  font-size: 0.85rem;
  color: var(--gray-500);
}
.product-breadcrumb a { color: var(--gray-600); }
.product-breadcrumb a:hover { color: var(--blue); }

.product-hero {
  display: grid;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}
@media (min-width: 900px) {
  .product-hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
    gap: 3rem;
    padding-top: 2rem;
  }
}

.product-hero__stage {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 1.5rem;
  border-radius: 28px;
  background: linear-gradient(165deg, #ece7ff 0%, #d4ebff 55%, #e8f4ff 100%);
}
.product-hero--family-eco .product-hero__stage {
  background: linear-gradient(165deg, #ece7ff 0%, #d4ebff 55%, #e8f4ff 100%);
}
.product-hero--family-bolt .product-hero__stage {
  background: linear-gradient(165deg, #d9f6ea 0%, #c8eedc 55%, #e7f8ef 100%);
}
.product-hero--family-snap .product-hero__stage {
  background: linear-gradient(165deg, #ffe6d2 0%, #ffd5c4 55%, #fff1e6 100%);
}
.product-hero__stage img {
  width: min(100%, 420px);
  height: auto;
  max-height: 520px;
  object-fit: contain;
}

.product-hero__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
  justify-content: center;
}
.product-thumb {
  appearance: none;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 0;
  background: var(--gray-100);
  overflow: hidden;
  cursor: pointer;
  width: 64px;
  height: 80px;
}
.product-thumb.is-active { border-color: var(--blue); }
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-hero__brand {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.product-hero__title {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.product-hero__tagline {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: var(--gray-700);
  font-weight: 500;
}
.product-hero__desc {
  margin: 0 0 1.25rem;
  color: var(--gray-600);
  line-height: 1.55;
}
.product-hero__highlights {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.5rem;
  padding: 0;
}
.product-hero__highlights li {
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--gray-100);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-800);
}

.product-hero__highlights li.is-feature {
  background: #111;
  color: #fff;
}

.product-box {
  margin: 0 0 1.5rem;
}
.product-box__label {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--gray-600);
  font-weight: 600;
}
.product-box__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0;
  padding: 0;
}
@media (min-width: 520px) {
  .product-box__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.product-box__list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: 14px;
  background: var(--gray-100);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.25;
}
.product-box__list img {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  object-fit: contain;
}

.product-colors { margin-bottom: 1.5rem; }
.product-colors__label {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  color: var(--gray-600);
}
.product-colors__swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.product-swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.12);
  background: var(--swatch, #888);
  cursor: pointer;
  box-shadow: inset 0 0 0 2px #fff;
}
.product-swatch.is-active {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.product-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
@media (max-width: 640px) {
  .product-hero__cta > * { width: 100%; }
}

.product-specs,
.product-related {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
}
.product-related .product-card__media {
  place-items: stretch;
  width: 100%;
  max-width: none;
}
.product-related .product-card__media-link,
.product-related .product-card__shots {
  width: 100%;
  height: 100%;
  min-height: 260px;
}
.product-related .product-card__img.is-active {
  opacity: 1;
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: contain;
}
.product-specs__grid {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--gray-200);
}
.product-specs__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-200);
}
@media (min-width: 640px) {
  .product-specs__row {
    grid-template-columns: 0.9fr 1.4fr;
    gap: 1.5rem;
    align-items: baseline;
  }
}
.product-specs__row dt {
  margin: 0;
  font-weight: 600;
  color: var(--gray-800);
}
.product-specs__row dd {
  margin: 0;
  color: var(--gray-600);
}

.product-page--missing {
  min-height: 60vh;
  display: grid;
  place-items: center;
  padding: 4rem 1.25rem;
}
.product-missing {
  text-align: center;
  max-width: 28rem;
}
.product-missing h1 { margin-bottom: 0.75rem; }
.product-missing p { margin-bottom: 1.5rem; color: var(--gray-600); }

@media (prefers-reduced-motion: reduce) {
  .video-hero__media { display: none; }
}

.join-choice[hidden],
[data-join-wizard][hidden] { display: none !important; }
.join-choice { margin: 0 0 .25rem; }
.join-choice__q {
  margin: 0 0 .85rem;
  font-weight: 600;
  color: var(--gray-800);
}
.join-choice__hint {
  margin: .55rem 0 0;
  font-size: .85rem;
  color: var(--gray-600);
  line-height: 1.4;
}
.join-mode { display: grid; gap: .55rem; margin: 0 0 1.1rem; }
.join-mode__opt {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  padding: .75rem .85rem;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  cursor: pointer;
  background: #fff;
}
.join-mode__opt.is-on {
  border-color: #0071e3;
  background: #f5f5f7;
}
.join-mode__opt input { margin-top: .2rem; }
.join-mode__opt strong { display: block; font-size: .92rem; }
.join-mode__opt small { display: block; margin-top: .2rem; color: var(--gray-600); line-height: 1.35; }
.join-mode__brand {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-700);
}
.join-mode__brand[hidden] { display: none !important; }
.join-mode__brand select {
  font: inherit;
  font-weight: 500;
  padding: .5rem .65rem;
  border-radius: 10px;
  border: 1px solid #d2d2d7;
  background: #f5f5f7;
}
.join-choice__or {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 1rem 0;
  color: var(--gray-500);
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.join-choice__or::before,
.join-choice__or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,.08);
}
.mde-join-pin {
  background: none !important;
  border: 0 !important;
}
.mde-join-pin__mark {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  background: #111;
  border: 2px solid #fff;
  transform: rotate(-45deg);
  box-shadow: 0 6px 14px rgba(0,0,0,.28);
}
.join-step[hidden] { display: none !important; }
.join-wizard__lead {
  margin: 0 0 0.85rem;
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.45;
}
.join-wizard__steps {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
}
.join-wizard__steps li {
  flex: 1;
  padding: 0.45rem 0.6rem;
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
}
.join-wizard__steps li.is-active {
  background: #0071e3;
  color: #fff;
}
.join-wizard__hint {
  margin: 0 0 0.75rem;
  color: var(--gray-600);
  font-size: 0.9rem;
}
.join-wizard__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}
.join-wizard__nav .btn-buy,
.join-wizard__nav .btn-outline { flex: 1; min-width: 8rem; }
.join-pin { margin-bottom: 0.85rem; }
.join-pin-map {
  height: 240px;
  border-radius: 14px;
  overflow: hidden;
  background: #e8e8ed;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.join-pin__geo {
  margin-top: 0.55rem;
}
.modal__panel--wizard {
  width: min(720px, 100%);
}
.modal__panel--map {
  width: min(960px, 100%);
  height: min(88vh, 740px);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pedir-map__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 3.2rem 0.85rem 1.15rem;
  position: relative;
  flex: 0 0 auto;
}
.pedir-map__bar h3 {
  margin: 0;
  font-size: 1.05rem;
}
.modal__panel--map .modal__close {
  top: 0.7rem;
  right: 0.8rem;
}
.pedir-map__frame {
  flex: 1 1 auto;
  width: 100%;
  border: 0;
  min-height: 420px;
  background: #f5f5f7;
}
@media (max-width: 640px) {
  .modal__panel--map {
    width: 100%;
    height: min(96dvh, 900px);
    border-radius: 18px 18px 0 0;
  }
  .join-pin-map { height: 200px; }
}
