/* ===========================================================
   Multitiendas Relax — sistema de diseño
   Elegante · minimalista · sereno · azul mariposa
   =========================================================== */

:root {
  /* Color */
  --bg:        #F6F8FC;
  --surface:   #FFFFFF;
  --surface-2: #F0F5FB;
  --ink:       #1E2530;
  --ink-soft:  #5B6675;
  --ink-faint: #909AA8;
  --navy:      #2C3E5E;
  --navy-deep: #1E2C45;
  --sky:       #8FBEE6;
  --sky-soft:  #DCEAF6;
  --sky-deep:  #5689C2;
  --line:      #E6ECF4;
  --line-soft: #EFF3F9;
  --wa:        #1FA85B;

  /* Type */
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Manrope", system-ui, -apple-system, sans-serif;

  /* Geometry */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --maxw: 1240px;
  --gut:  clamp(20px, 5vw, 64px);

  /* Shadow */
  --sh-sm: 0 1px 2px rgba(31,45,69,.05), 0 2px 8px rgba(31,45,69,.04);
  --sh:    0 4px 16px rgba(31,45,69,.07), 0 12px 32px rgba(31,45,69,.06);
  --sh-lg: 0 18px 60px rgba(31,45,69,.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
section { position: relative; }
.section-pad { padding: clamp(64px, 9vw, 130px) 0; }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.08; letter-spacing: -.01em; }
.display {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.015em;
}
.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sky-deep);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--sky-deep);
  opacity: .5;
}
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-soft); }
.muted { color: var(--ink-soft); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 15.5px; letter-spacing: .01em;
  padding: 15px 28px; border-radius: 100px; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 8px 22px rgba(44,62,94,.28); }
.btn-primary:hover { background: var(--navy-deep); box-shadow: 0 12px 30px rgba(44,62,94,.34); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--sky); background: var(--surface); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 22px rgba(31,168,91,.28); }
.btn-wa:hover { background: #18904c; box-shadow: 0 12px 30px rgba(31,168,91,.34); }
.btn-lg { padding: 18px 34px; font-size: 16.5px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246,248,252,.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.nav.scrolled { border-color: var(--line); background: rgba(255,255,255,.9); box-shadow: var(--sh-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 92px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 58px; width: auto; transition: height .25s ease; }
.nav.scrolled .brand img { height: 48px; }
.brand .tag {
  font-family: var(--display); font-style: italic; font-size: 15px;
  color: var(--ink-faint); border-left: 1px solid var(--line); padding-left: 12px;
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--ink-soft);
  padding: 9px 14px; border-radius: 100px; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--navy); background: var(--surface-2); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-login-short { display: none; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 12px;
  width: 46px; height: 46px; align-items: center; justify-content: center; color: var(--navy);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- photo slot (reemplaza image-slot en secciones sin img real) ---------- */
.photo-slot {
  background: var(--surface-2);
  border-radius: var(--r-lg);
  border: 1.5px dashed var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink-faint);
  font-size: 12.5px;
  font-family: var(--body);
  text-align: center;
  padding: 16px;
  overflow: hidden;
}
.photo-slot svg { opacity: .35; }
.photo-slot span { max-width: 18ch; font-weight: 500; letter-spacing: .01em; }
/* photo-slot con imagen real */
.photo-slot.has-img { border: none; padding: 0; }
.photo-slot.has-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(56px, 8vw, 110px); overflow: hidden; }

/* ---------- hero slider ----------
   Riel horizontal con snap: 4 mensajes que se desplazan de lado (dedo, flechas
   o solo). El scroll nativo da el swipe en móvil sin librerías. */
.hero-slider { position: relative; }
.hero-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain; scrollbar-width: none; -ms-overflow-style: none;
}
.hero-track::-webkit-scrollbar { display: none; }
.hero-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: center; padding: 4px 0; }
.hero-arrow {
  position: absolute; top: 42%; z-index: 5; width: 52px; height: 52px; border-radius: 100px;
  border: 1px solid var(--line); background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  color: var(--navy); display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--sh-sm); transition: transform .2s, box-shadow .25s, opacity .2s;
}
.hero-arrow:hover { transform: scale(1.06); box-shadow: var(--sh); }
.hero-arrow svg { width: 22px; height: 22px; }
.hero-arrow.prev { left: 10px; }
.hero-arrow.next { right: 10px; }
.hero-dots { display: flex; justify-content: center; gap: 9px; margin-top: 30px; }
.hero-dot {
  width: 10px; height: 10px; border-radius: 100px; border: none; padding: 0;
  background: var(--line); cursor: pointer; transition: width .3s ease, background .3s ease;
}
.hero-dot:hover { background: var(--sky); }
.hero-dot.on { width: 34px; background: var(--sky-deep); }
@media (max-width: 1120px) { .hero-arrow { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-track { scroll-behavior: auto; } }
.hero-grid {
  display: grid; grid-template-columns: 1.04fr 1fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 { font-size: clamp(46px, 6.4vw, 92px); }
.hero h1 em { font-style: italic; color: var(--sky-deep); }
.hero .lead { margin: 26px 0 0; max-width: 30ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-meta { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-meta .stat .n { font-family: var(--display); font-size: 30px; color: var(--navy); line-height: 1; }
.hero-meta .stat .l { font-size: 13px; color: var(--ink-faint); margin-top: 6px; letter-spacing: .02em; }
.hero-media { position: relative; }
.hero-media .photo-slot {
  width: 100%; aspect-ratio: 4/5; box-shadow: var(--sh-lg);
}
.hero-media::after {
  content: ""; position: absolute; inset: auto -10% -12% 30%; height: 60%;
  background: radial-gradient(60% 60% at 50% 50%, rgba(143,190,230,.45), transparent 70%);
  filter: blur(20px); z-index: -1;
}
.hero-badge {
  position: absolute; left: -22px; bottom: 36px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px;
  box-shadow: var(--sh); display: flex; align-items: center; gap: 14px; max-width: 250px;
}
.hero-badge .dot { width: 40px; height: 40px; border-radius: 50%; background: var(--sky-soft);
  display: grid; place-items: center; flex: none; }
.hero-badge .dot svg { width: 20px; height: 20px; color: var(--sky-deep); }
.hero-badge b { font-size: 14px; color: var(--navy); }
.hero-badge span { font-size: 12.5px; color: var(--ink-faint); display: block; }

/* ---------- value strip ---------- */
.values { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.value {
  padding: 40px clamp(20px, 3vw, 44px); display: flex; gap: 18px; align-items: flex-start;
}
.value + .value { border-left: 1px solid var(--line-soft); }
.value .ic { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--sky);
  display: grid; place-items: center; flex: none; color: var(--sky-deep); }
.value .ic svg { width: 22px; height: 22px; }
.value h3 { font-size: 18px; color: var(--navy); margin-bottom: 4px; font-weight: 700; }
.value p { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }

/* ---------- section heading ---------- */
.shead { max-width: 640px; margin-bottom: clamp(40px, 5vw, 64px); }
.shead.center { margin-left: auto; margin-right: auto; text-align: center; }
.shead.center .eyebrow { justify-content: center; }
.shead h2 { font-size: clamp(34px, 4.6vw, 56px); color: var(--ink); }
.shead p { margin: 20px 0 0; font-size: 18px; color: var(--ink-soft); }

/* ---------- categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: transform .25s ease, box-shadow .3s ease, border-color .3s;
  display: flex; flex-direction: column;
}
.cat:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: transparent; }
.cat .photo-slot { width: 100%; aspect-ratio: 1/1; border-radius: 0; border: none; border-bottom: 1px solid var(--line); }
.cat-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cat-body h3 { font-family: var(--display); font-size: 26px; color: var(--navy); }
.cat-body p { margin: 0; font-size: 14px; color: var(--ink-soft); flex: 1; }
.cat-link { margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--sky-deep);
  display: inline-flex; align-items: center; gap: 8px; transition: gap .2s; }
.cat:hover .cat-link { gap: 12px; }

/* ---------- catalog ---------- */
.catalog { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.line-block + .line-block { margin-top: clamp(48px, 6vw, 80px); }
.line-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 26px; flex-wrap: wrap;
  padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.line-head h3 { font-family: var(--display); font-size: clamp(28px, 3.4vw, 40px); color: var(--navy); }
.line-head .ls { font-size: 14.5px; color: var(--ink-soft); }
.line-head .lc { margin-left: auto; align-self: center; font-size: 12.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--sky-deep); }
/* Carrusel horizontal: los colchones se recorren de lado, no en cuadrícula.
   Snap por tarjeta + degradados en los bordes que insinúan que hay más. */
.rail-wrap { position: relative; }
.rail-wrap::before, .rail-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 14px; width: 56px; pointer-events: none; z-index: 2;
  opacity: 0; transition: opacity .25s ease;
}
.rail-wrap::before { left: -1px; background: linear-gradient(90deg, var(--surface) 25%, transparent); }
.rail-wrap::after  { right: -1px; background: linear-gradient(270deg, var(--surface) 25%, transparent); }
.rail-wrap.can-prev::before, .rail-wrap.can-next::after { opacity: 1; }
.prod-grid {
  display: flex; gap: 22px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-left: 2px; padding: 4px 2px 14px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.prod-grid::-webkit-scrollbar { display: none; }
.prod-grid > .prod { flex: 0 0 clamp(230px, 25vw, 292px); scroll-snap-align: start; }
.rail-nav { display: flex; gap: 8px; margin-left: 12px; }
.rail-btn {
  width: 42px; height: 42px; border-radius: 100px; border: 1px solid var(--line);
  background: var(--surface); color: var(--navy); display: grid; place-items: center;
  cursor: pointer; transition: background .2s, box-shadow .25s, opacity .2s, transform .2s;
}
.rail-btn:hover:not(:disabled) { box-shadow: var(--sh-sm); transform: translateY(-2px); }
.rail-btn:disabled { opacity: .3; cursor: default; }
.rail-btn svg { width: 19px; height: 19px; }
.rail-hint { font-size: 12.5px; font-weight: 700; color: var(--ink-faint); letter-spacing: .04em; }
@media (hover: hover) and (min-width: 861px) { .rail-hint { display: none; } }
@media (max-width: 860px) { .rail-nav { display: none; } }
.prod {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .3s ease, border-color .3s;
}
.prod:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: transparent; }
.prod-img { aspect-ratio: 4/3; background: var(--surface-2); display: grid; place-items: center; padding: 14px; position: relative; }
.prod-img img { width: 100%; height: 100%; object-fit: contain; }
.prod-img.noimg::after { content: 'Foto próximamente'; font-size: 11.5px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.prod-g { position: absolute; top: 12px; left: 12px; background: var(--surface); border: 1px solid var(--line);
  color: var(--navy); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; padding: 5px 10px; border-radius: 100px; }
.prod-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prod-body h4 { font-family: var(--display); font-size: 24px; color: var(--ink); margin: 0; font-weight: 600; }
.prod-body p { margin: 0; font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; flex: 1; }
.prod-body .wa-link { margin-top: 10px; font-size: 13.5px; font-weight: 700; color: var(--wa);
  display: inline-flex; align-items: center; gap: 8px; transition: gap .2s; }
.prod-body .wa-link svg { width: 15px; height: 15px; }
.prod:hover .wa-link { gap: 12px; }

/* ---------- plan / niveles ---------- */
.plan { background: linear-gradient(180deg, var(--surface-2), var(--bg)); overflow: hidden; }
.plan-top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.chip-soon {
  display: inline-flex; align-items: center; gap: 8px; background: var(--sky-soft);
  color: var(--sky-deep); font-size: 12.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; padding: 7px 14px; border-radius: 100px; margin-bottom: 22px;
}
.chip-soon .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--sky-deep);
  box-shadow: 0 0 0 0 rgba(86,137,194,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(86,137,194,.5);} 70%{box-shadow:0 0 0 8px rgba(86,137,194,0);} 100%{box-shadow:0 0 0 0 rgba(86,137,194,0);} }
.plan h2 { font-size: clamp(34px, 4.6vw, 54px); color: var(--ink); }
.plan-top p.lead { margin-top: 22px; max-width: 42ch; }
.plan-points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.plan-points li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; color: var(--ink); }
.plan-points .tick { width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; flex: none; margin-top: 1px; }
.plan-points .tick svg { width: 13px; height: 13px; }

/* phone mockup */
.phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; position: relative; }
.phone-cap { font-size: 13px; color: var(--ink-faint); margin: 0; text-align: center; letter-spacing: .01em; }
.phone-wrap::before { content:""; position:absolute; inset: 6% 12% 0; background: radial-gradient(60% 50% at 50% 40%, rgba(143,190,230,.5), transparent 72%); filter: blur(26px); z-index:0;}
.phone {
  position: relative; z-index: 1; width: 300px; max-width: 78vw; height: 620px; max-height: 82vh;
  background: #0E1626; border-radius: 42px; padding: 12px;
  box-shadow: var(--sh-lg), inset 0 0 0 2px rgba(255,255,255,.06); overflow: hidden;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: #fff;
  display: flex; flex-direction: column;
}
.ph-top { background: var(--navy); color: #fff; padding: 26px 22px 24px; position: relative; }
.ph-top .ph-h { display: flex; align-items: center; justify-content: space-between; font-size: 12px; opacity: .8; letter-spacing: .04em; }
.ph-level-name { font-family: var(--display); font-size: 30px; margin-top: 12px; display: flex; align-items: center; gap: 10px; }
.ph-wings { display: flex; gap: 4px; margin-top: 14px; }
.ph-wing { width: 22px; height: 7px; border-radius: 100px; background: rgba(255,255,255,.22); transition: background .35s; }
.ph-wing.on { background: var(--sky); }
.ph-body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 16px; overflow: hidden; min-height: 0; }

/* tabs */
.ph-tabs { display: flex; gap: 4px; background: var(--surface-2); border-radius: 100px; padding: 4px; }
.ph-tabs button { flex: 1; border: none; background: transparent; font-family: var(--body);
  font-size: 12.5px; font-weight: 700; color: var(--ink-soft); padding: 9px 8px; border-radius: 100px;
  transition: background .2s, color .2s; }
.ph-tabs button.active { background: #fff; color: var(--navy); box-shadow: var(--sh-sm); }
.ph-view[hidden] { display: none; }
.ph-view { display: flex; flex-direction: column; gap: 14px; flex: 1; min-height: 0; overflow: hidden; }

/* plan card + cuotas */
.ph-plan { background: var(--navy); color: #fff; border-radius: 16px; padding: 15px 16px; }
.ph-plan .pl { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.ph-plan .pn { font-family: var(--display); font-size: 20px; margin-top: 3px; }
.ph-plan .pt { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; font-size: 12.5px; opacity: .85; }
.ph-plan .pt b { font-size: 18px; opacity: 1; }
.ph-paybar { height: 6px; border-radius: 100px; background: rgba(255,255,255,.2); margin-top: 10px; overflow: hidden; }
.ph-paybar i { display: block; height: 100%; background: var(--sky); border-radius: 100px; transition: width .5s ease; }
.ph-cuotas { display: flex; flex-direction: column; gap: 7px; flex: 1; min-height: 0; overflow-y: auto; }
.ph-cuotas .ct { display: flex; align-items: center; gap: 10px; font-size: 12.5px;
  background: var(--surface-2); border-radius: 11px; padding: 9px 12px; }
.ph-cuotas .ct .cl { flex: 1; }
.ph-cuotas .ct .cl b { display: block; color: var(--ink); font-size: 13px; }
.ph-cuotas .ct .cl span { color: var(--ink-faint); font-size: 11px; }
.ph-cuotas .ct .ca { font-weight: 700; color: var(--navy); text-align: right; line-height: 1.3; }
.ph-cuotas .ct.paid { background: #EAF6EF; }
.ph-cuotas .ct.paid .badge { color: var(--wa); }
.ph-cuotas .ct.next { background: #fff; border: 1.5px solid var(--sky); }
.ph-cuotas .ct .badge { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ph-cuotas .ct .badge.due { color: var(--sky-deep); }
.ph-cuotas .ct .badge.pend { color: var(--ink-faint); }
.ph-cuotas .ct .dot { width: 16px; height: 16px; border-radius: 50%; flex: none; display: grid; place-items: center; }
.ph-cuotas .ct.paid .dot { background: var(--wa); color: #fff; }
.ph-cuotas .ct.paid .dot svg { width: 10px; height: 10px; }
.ph-cuotas .ct.next .dot { border: 2px solid var(--sky); }
.ph-cuotas .ct.pend .dot { border: 2px solid var(--line); }
.ph-pay { background: var(--wa); color: #fff; border: none; border-radius: 14px; padding: 14px;
  font-family: var(--body); font-weight: 700; font-size: 14px; display: flex; align-items: center;
  justify-content: center; gap: 8px; box-shadow: 0 6px 16px rgba(31,168,91,.3); }
.ph-pay span.amt { opacity: .85; font-weight: 600; }

.ph-inicial { text-align: center; }
.ph-inicial .lbl { font-size: 12px; color: var(--ink-faint); letter-spacing: .08em; text-transform: uppercase; }
.ph-inicial .val { font-family: var(--display); font-size: 64px; line-height: .9; color: var(--navy); margin-top: 6px; transition: color .3s; }
.ph-inicial .sub { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.ph-prog .row { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-soft); margin-bottom: 8px; }
.ph-bar { height: 9px; border-radius: 100px; background: var(--line); overflow: hidden; }
.ph-bar i { display: block; height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--sky), var(--sky-deep)); transition: width .5s cubic-bezier(.4,0,.1,1); }
.ph-rows { display: grid; gap: 10px; margin-top: auto; }
.ph-rowi { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px;
  background: var(--surface-2); border-radius: 12px; padding: 12px 14px; }
.ph-rowi b { color: var(--navy); }

/* level ladder */
.ladder { margin-top: clamp(48px, 6vw, 72px); }
.ladder-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.lvl {
  text-align: left; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 22px 20px; transition: transform .2s, box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden;
}
.lvl:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.lvl.active { border-color: var(--sky-deep); box-shadow: var(--sh); }
.lvl.active::before { content:""; position:absolute; inset:0 0 auto 0; height:4px; background: linear-gradient(90deg,var(--sky),var(--sky-deep)); }
.lvl .ln { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.lvl .lname { font-family: var(--display); font-size: 24px; color: var(--navy); }
.lvl .lini { display: flex; align-items: baseline; gap: 4px; margin-top: 6px; }
.lvl .lini .b { font-size: 34px; font-weight: 800; color: var(--ink); font-family: var(--body); letter-spacing: -.02em; }
.lvl .lini .s { font-size: 13px; color: var(--ink-faint); }
.lvl .lq { font-size: 13.5px; color: var(--ink-soft); }
.lvl-disclaimer { margin-top: 26px; font-size: 13px; color: var(--ink-faint); text-align: center; }

/* ---------- stores ---------- */
.store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.store {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .3s, transform .25s;
}
.store:hover { box-shadow: var(--sh); transform: translateY(-4px); }
.store .photo-slot { width: 100%; aspect-ratio: 16/10; border-radius: 0; border: none; border-bottom: 1px solid var(--line); }
.store-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.store-body .city { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sky-deep); }
.store-body h3 { font-family: var(--display); font-size: 26px; color: var(--navy); }
.store-body p { margin: 0; font-size: 14.5px; color: var(--ink-soft); flex: 1; }
.store-body .map { margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--navy);
  display: inline-flex; align-items: center; gap: 8px; }
.store-body .map svg { width: 16px; height: 16px; color: var(--sky-deep); }

/* ---------- links row ---------- */
.links { background: var(--surface); border-top: 1px solid var(--line); }
.links-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.linkcard {
  display: flex; align-items: center; gap: 14px; padding: 22px 24px; border: 1px solid var(--line);
  border-radius: var(--r); background: var(--bg); transition: border-color .25s, transform .2s, box-shadow .25s;
}
.linkcard:hover { border-color: var(--sky); transform: translateY(-3px); box-shadow: var(--sh-sm); }
.linkcard .li { width: 42px; height: 42px; border-radius: 12px; background: var(--sky-soft); color: var(--sky-deep);
  display: grid; place-items: center; flex: none; }
.linkcard .li svg { width: 20px; height: 20px; }
.linkcard b { display: block; font-size: 15px; color: var(--ink); }
.linkcard span { font-size: 12.5px; color: var(--ink-faint); }

/* ---------- contact CTA ---------- */
.cta-card {
  background: var(--navy); color: #fff; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 76px);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; overflow: hidden;
}
.cta-card::after { content:""; position:absolute; right:-80px; top:-80px; width: 320px; height: 320px; border-radius:50%;
  background: radial-gradient(circle, rgba(143,190,230,.4), transparent 65%); }
.cta-card .eyebrow { color: var(--sky); }
.cta-card .eyebrow::before { background: var(--sky); }
.cta-card h2 { font-family: var(--display); font-size: clamp(32px, 4.4vw, 50px); color: #fff; }
.cta-card p { color: rgba(255,255,255,.78); margin: 18px 0 0; font-size: 17px; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
.cta-actions .phone-big { font-family: var(--display); font-size: 34px; color: #fff; display:flex; align-items:center; gap:12px; }
.cta-actions .phone-big svg { width: 26px; height: 26px; color: var(--sky); }
.cta-actions .btn-wa { align-self: flex-start; }
.cta-actions .note { font-size: 13.5px; color: rgba(255,255,255,.6); }

/* ---------- footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer .flogo { height: 42px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .95; }
.footer .ftag { font-family: var(--display); font-style: italic; font-size: 19px; color: rgba(255,255,255,.85); }
.footer h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); margin: 0 0 16px; font-weight: 700; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { font-size: 14.5px; color: rgba(255,255,255,.78); transition: color .2s; }
.footer ul a:hover { color: var(--sky); }
.footer-bottom { padding-top: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.5); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 80; background: rgba(30,44,69,.4); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mm-panel {
  position: absolute; top: 0; right: 0; width: min(86vw, 360px); height: 100%;
  background: var(--surface); padding: 26px; display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.1,1); box-shadow: var(--sh-lg);
}
.mobile-menu.open .mm-panel { transform: none; }
.mm-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mm-head img { height: 34px; }
.mm-close { background: none; border: 1px solid var(--line); border-radius: 12px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--navy); }
.mm-panel a { font-size: 18px; font-weight: 500; color: var(--ink); padding: 14px 8px; border-bottom: 1px solid var(--line-soft); }
.mm-panel .btn { margin-top: 18px; }

/* ============ responsive ============ */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: 460px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-top { grid-template-columns: 1fr; }
  .phone-wrap { order: -1; }
  .ladder-track { grid-template-columns: repeat(3, 1fr); }
  .store-grid { grid-template-columns: 1fr 1fr; }
  .links-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-inner { gap: 12px; }
  .nav-cta { gap: 4px; }
  .nav-cta .btn-ghost {
    border: none; background: transparent; padding: 8px 10px; font-size: 14px;
  }
  .nav-login-full { display: none; }
  .nav-login-short { display: inline; }
  .nav-cta .btn-primary { padding: 11px 18px; font-size: 14px; }
  .nav-toggle { display: inline-flex; }
  .brand .tag { display: none; }
}
@media (max-width: 820px) {
  .values-grid { grid-template-columns: 1fr; }
  .value + .value { border-left: none; border-top: 1px solid var(--line-soft); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .cat-grid { grid-template-columns: 1fr; }
  .prod-grid { gap: 14px; }
  .prod-grid > .prod { flex: 0 0 78vw; }
  .ladder-track { grid-template-columns: 1fr 1fr; }
  .store-grid { grid-template-columns: 1fr; }
  .links-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-badge { left: 8px; }
  .brand .tag { display: none; }
}
@media (max-width: 380px) {
  .ladder-track { grid-template-columns: 1fr; }
}
