/* =========================================================
   Kintsu · Landing page
   Mobile-first · CSS moderno sin dependencias
   ========================================================= */

:root {
  --cream: #F8F4EA;
  --ivory: #FFFFFF;
  --page: #FFFFFF;
  --border: #E6ECE8;
  --sage: #355346;
  --sage-deep: #2A4338;
  --sage-soft: #EBF2EE;
  --sage-mid: #9BB4A3;
  --sage-leaf: #9BB4A3;
  --gold: #B68D2C;
  --gold-vein: #C59B27;
  --gold-soft: #F8F4EA;
  --coral: #F2A795;
  --lilac: #ECEAF4;
  --ink: #26302C;
  --ink-soft: #55615B;

  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(38, 48, 44, .04), 0 4px 14px rgba(38, 48, 44, .05);
  --shadow: 0 2px 4px rgba(38, 48, 44, .04), 0 14px 40px rgba(38, 48, 44, .08);
  --shadow-phone: 0 30px 60px -20px rgba(38, 48, 44, .35), 0 12px 24px -12px rgba(38, 48, 44, .25);

  --topbar-h: 64px;
  --container: 1160px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  position: relative;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Decoración fija: hojas salvia + vetas doradas (esquinas) */
.page-decor {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.page-decor__svg { width: 100%; height: 100%; opacity: .9; }
main, .footer, .skip-link { position: relative; z-index: 1; }
img, svg { display: block; max-width: 100%; }
a { color: var(--sage); }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.2; margin: 0; color: var(--ink); letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 4.6vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--sage); color: #fff; padding: 8px 14px; border-radius: 10px; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }

.section {
  position: relative;
  padding: 56px 0;
  overflow: hidden;
}
.section--soft {
  background:
    linear-gradient(180deg, rgba(235, 242, 238, .35) 0%, rgba(255, 255, 255, 0) 100%);
}
.section__head { text-align: center; max-width: 680px; margin: 0 auto 32px; }

/* Hojas / vetas sutiles en bordes de secciones */
.section::before,
.section::after,
.hero::before,
.closing::before {
  content: "";
  position: absolute;
  pointer-events: none;
  background-repeat: no-repeat;
  opacity: .55;
  z-index: 0;
}
.section::before,
.hero::before {
  top: -8px; left: -12px;
  width: min(220px, 42vw); height: min(180px, 28vw);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 180' fill='none'%3E%3Cpath d='M10 150 C 40 120, 70 90, 95 50' stroke='%239BB4A3' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M40 140 C 65 110, 85 80, 100 45' stroke='%239BB4A3' stroke-width='1' stroke-linecap='round'/%3E%3Cellipse cx='98' cy='48' rx='14' ry='7' transform='rotate(-35 98 48)' fill='%239BB4A3' opacity='.35'/%3E%3Cellipse cx='78' cy='78' rx='12' ry='6' transform='rotate(-48 78 78)' fill='%239BB4A3' opacity='.28'/%3E%3Cellipse cx='118' cy='62' rx='11' ry='5.5' transform='rotate(-20 118 62)' fill='%239BB4A3' opacity='.3'/%3E%3Cpath d='M20 170 C 80 150, 130 160, 180 140' stroke='%23C59B27' stroke-width='1.1' stroke-linecap='round' opacity='.55'/%3E%3C/svg%3E");
  background-size: contain;
}
.section::after,
.closing::before {
  right: -10px; bottom: -6px;
  width: min(200px, 40vw); height: min(160px, 26vw);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 160' fill='none'%3E%3Cpath d='M190 20 C 160 45, 140 70, 120 110' stroke='%239BB4A3' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M175 30 C 150 55, 135 85, 125 120' stroke='%239BB4A3' stroke-width='1' stroke-linecap='round'/%3E%3Cellipse cx='118' cy='108' rx='13' ry='6.5' transform='rotate(35 118 108)' fill='%239BB4A3' opacity='.32'/%3E%3Cellipse cx='140' cy='78' rx='11' ry='5.5' transform='rotate(28 140 78)' fill='%239BB4A3' opacity='.28'/%3E%3Cpath d='M30 40 C 70 55, 110 35, 160 50' stroke='%23C59B27' stroke-width='1.1' stroke-linecap='round' opacity='.5'/%3E%3C/svg%3E");
  background-size: contain;
  background-position: right bottom;
}
.section > .container,
.hero > .container,
.closing > .container { position: relative; z-index: 1; }
.section__sub { color: var(--ink-soft); font-size: 1.05rem; margin-top: 14px; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-mid); margin-bottom: 12px; }
.eyebrow--gold { color: var(--gold); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; text-decoration: none; border-radius: 999px;
  padding: 14px 24px; border: 1.5px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--sage); color: #fff; box-shadow: 0 6px 18px -6px rgba(53, 83, 70, .55); }
.btn--primary:hover { background: var(--sage-deep); }
.btn--ghost { background: var(--ivory); color: var(--sage); border-color: var(--sage); }
.btn--ghost:hover { background: var(--sage-soft); }
.btn--sm { padding: 9px 16px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn__icon { width: 16px; height: 16px; }

/* Badge oficial App Store (SVG en español) */
.appstore-badge {
  display: inline-block; line-height: 0; text-decoration: none;
  border-radius: 8px; transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.appstore-badge img { height: 54px; width: auto; }
.appstore-badge:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  height: var(--topbar-h);
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
  padding-top: env(safe-area-inset-top);
}
.topbar.is-scrolled { border-color: var(--border); box-shadow: 0 4px 20px -12px rgba(38, 48, 44, .18); }
.topbar__inner { height: var(--topbar-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__icon { border-radius: 9px; box-shadow: var(--shadow-sm); }
.brand__name { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; color: var(--sage); }
.topbar__nav { display: none; }
.topbar__cta-long { display: none; }
@media (min-width: 380px) { .topbar__cta-long { display: inline; } .topbar__cta-short { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 28px 0 48px; min-height: 0; }
.hero__cracks { display: none; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .32; z-index: 0; }
.hero__cracks path { fill: none; stroke: var(--gold-vein); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 3.2s var(--ease) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__grid { position: relative; display: grid; gap: 48px; align-items: center; }

.pill {
  display: inline-block; font-size: .82rem; font-weight: 600; color: var(--sage);
  background: var(--ivory); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  padding: 8px 14px; border-radius: 999px; margin-bottom: 22px; line-height: 1.4;
}
.hero__title { font-size: clamp(2.1rem, 7.4vw, 3.6rem); line-height: 1.12; color: var(--sage); }
.hero__title em { font-style: italic; font-weight: 500; color: var(--ink); }
.hero__lead { margin-top: 20px; font-size: 1.08rem; color: var(--ink-soft); max-width: 560px; line-height: 1.65; }
.hero__cases {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
.hero__cases li {
  position: relative;
  padding-left: 18px;
  line-height: 1.55;
}
.hero__cases li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage-mid);
  box-shadow: 0 0 0 2px rgba(197, 155, 39, .22);
}

.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.hero__cta-main { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.guarantees { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.guarantees li { font-size: .85rem; font-weight: 500; color: var(--ink-soft); background: var(--sage-soft); padding: 6px 12px; border-radius: 999px; }

/* Tarjeta QR (oculta en móvil) */
.qr-card {
  display: none; align-items: center; gap: 16px;
  background: var(--ivory); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 18px 14px 14px; box-shadow: var(--shadow-sm); max-width: 330px;
}
.qr-card__code { width: 104px; height: 104px; flex: none; border-radius: 10px; overflow: hidden; background: #fff; }
.qr-card__code svg { width: 100%; height: 100%; }
.qr-card__text { display: flex; flex-direction: column; gap: 4px; font-size: .86rem; color: var(--ink-soft); line-height: 1.45; }
.qr-card__text strong { color: var(--ink); font-size: .95rem; }

/* Visual hero */
.hero__visual { position: relative; display: flex; justify-content: center; padding: 10px 0 20px; }
.halo {
  position: absolute; width: min(460px, 92vw); aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(235, 242, 238, 1) 0%, rgba(197, 155, 39, .14) 45%, rgba(250, 246, 240, 0) 70%);
  border-radius: 50%;
}
.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: var(--ivory); border: 1px solid var(--border); box-shadow: var(--shadow);
  border-radius: 999px; padding: 9px 14px; font-size: .82rem; font-weight: 600; color: var(--ink);
  animation: float 6s ease-in-out infinite; z-index: 3;
}
.float-chip--a { top: 16%; left: 2%; }
.float-chip--b { top: 60%; right: 2%; animation-delay: -3s; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot--coral { background: var(--coral); box-shadow: 0 0 0 4px rgba(242, 167, 149, .25); }
.dot--sage { background: var(--sage-mid); box-shadow: 0 0 0 4px rgba(155, 180, 163, .28); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Marco de iPhone ---------- */
.phone {
  position: relative; margin: 0;
  width: min(260px, 68vw);
  padding: 8px;
  background: linear-gradient(145deg, #2b2f2d, #121413);
  border-radius: 44px;
  box-shadow: var(--shadow-phone), inset 0 0 0 1.5px #3c413e;
  overflow: hidden;
  line-height: 0;
}
.phone::before { /* Dynamic Island */
  content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 28%; height: 20px; background: #000; border-radius: 999px; z-index: 2;
  pointer-events: none;
}
.phone::after { /* botón lateral */
  content: ""; position: absolute; right: -3px; top: 26%; width: 3px; height: 58px; background: #1d201f; border-radius: 0 3px 3px 0;
}
.phone img {
  width: 100%;
  height: auto;
  aspect-ratio: 640 / 1391;
  object-fit: contain;
  object-position: center center;
  border-radius: 36px;
  background: #fff;
  display: block;
}
.phone--hero { width: min(280px, 70vw); z-index: 1; }

/* ---------- Selector de momento ---------- */
.moments {
  max-width: 1060px; margin: 0 auto;
  display: grid; gap: 36px; align-items: center; justify-items: center;
}
.moments__main { width: 100%; max-width: 860px; }
.moments__visual { display: flex; justify-content: center; }
.moments__tabs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  background: var(--ivory); border: 1px solid var(--border); border-radius: 22px; padding: 6px;
  box-shadow: var(--shadow-sm);
}
.moment-tab {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  border: 0; background: transparent; border-radius: 16px; padding: 12px 6px; cursor: pointer;
  font-weight: 600; font-size: .88rem; color: var(--ink-soft); line-height: 1.25; text-align: center;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.moment-tab__emoji { font-size: 1.35rem; }
.moment-tab:hover { background: var(--sage-soft); }
.moment-tab[aria-selected="true"] { background: var(--sage); color: #fff; box-shadow: 0 8px 18px -8px rgba(53, 83, 70, .6); }

.moment-panel {
  margin-top: 18px; background: var(--ivory); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 24px; box-shadow: var(--shadow); animation: fadeUp .45s var(--ease);
}
.moment-panel__quote {
  margin: 0 0 22px; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.35rem, 3.8vw, 1.9rem);
  line-height: 1.35; color: var(--sage); position: relative; padding-left: 18px; border-left: 3px solid var(--gold);
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.checklist { display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; font-size: 1.02rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%23355346' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.checklist--sm li { font-size: .94rem; }

/* ---------- Herramientas ---------- */
.feature { display: grid; gap: 28px; align-items: center; padding: 28px 0; }
.feature + .feature { border-top: 1px solid var(--border); }
.feature__copy { max-width: 520px; }
.feature__tag {
  display: inline-block; font-size: .8rem; font-weight: 700; color: var(--sage);
  background: var(--sage-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.feature__tag--coral { background: #FCE7E1; color: #9A4A38; }
.feature__tag--lilac { background: var(--lilac); color: #5A4C86; }
.feature__tag--gold { background: var(--gold-soft); color: #7D6118; }
.feature h3 { font-size: clamp(1.4rem, 3.6vw, 1.9rem); font-style: italic; font-weight: 500; color: var(--sage); margin-bottom: 14px; }
.feature p { color: var(--ink-soft); font-size: 1.04rem; }
.feature__visual { display: flex; justify-content: center; }

/* Afirmaciones */
.affirm-stack { position: relative; width: min(340px, 86vw); height: 330px; }
.affirm {
  position: absolute; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow);
  font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.45;
}
.affirm--back { inset: 0 30px 110px 0; font-size: 1.05rem; background: var(--lilac); color: #5A4C86; transform: rotate(-5deg); font-style: italic; }
.affirm--front { inset: 112px 0 0 30px; background: var(--ivory); border: 1px solid var(--border); transform: rotate(2deg); }
.affirm__label { display: block; font-family: var(--font-sans); font-size: .78rem; font-weight: 700; color: var(--gold); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.affirm--front p { color: var(--ink); font-size: 1.25rem; }
.affirm__line { display: block; width: 70px; height: 2px; margin-top: 16px; background: linear-gradient(90deg, var(--gold), transparent); }

/* Tarjetas UI (Limpieza / Chat) — mismo lenguaje visual que Espejo */
.ui-card { position: relative; width: min(340px, 86vw); }
.ui-card--cleanse { height: 280px; }
.ui-card__sheet {
  position: absolute; border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.ui-card__sheet--back {
  inset: 0 28px 70px 0; background: var(--sage-soft);
  transform: rotate(-4deg);
}
.ui-card__sheet--front {
  inset: 40px 0 0 24px; background: var(--ivory); border: 1px solid var(--border);
  padding: 26px 24px; transform: rotate(1.5deg);
  display: flex; flex-direction: column; gap: 14px;
}
.ui-card__label {
  font-family: var(--font-sans); font-size: .78rem; font-weight: 700;
  color: var(--gold); letter-spacing: .06em; text-transform: uppercase;
}
.ui-card__prompt {
  font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; color: var(--sage);
}
.ui-card__lines { display: grid; gap: 12px; margin: 6px 0 8px; flex: 1; }
.ui-card__lines span {
  display: block; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--border), transparent 92%);
}
.ui-card__lines span:nth-child(2) { width: 78%; }
.ui-card__lines span:nth-child(3) { width: 56%; }
.ui-card__note { font-size: .78rem; color: var(--ink-soft); margin-top: auto; }

.ui-card--chat {
  background: var(--ivory); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 22px 20px 18px; display: flex; flex-direction: column; gap: 16px;
}
.ui-card__chat-head { display: flex; align-items: center; gap: 12px; }
.ui-card__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-soft), var(--sage-soft));
  color: var(--sage); font-family: var(--font-serif); font-weight: 600;
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.ui-card__chat-head div { display: flex; flex-direction: column; line-height: 1.25; }
.ui-card__chat-head strong { font-size: .95rem; color: var(--ink); }
.ui-card__chat-head span { font-size: .78rem; color: var(--ink-soft); }
.ui-card__bubbles { display: flex; flex-direction: column; gap: 10px; }
.ui-card__bubble {
  max-width: 92%; padding: 12px 14px; border-radius: 16px;
  font-size: .92rem; line-height: 1.45;
}
.ui-card__bubble--you {
  align-self: flex-end; background: var(--sage-soft); color: var(--sage-deep);
  border-bottom-right-radius: 6px;
}
.ui-card__bubble--kintsu {
  align-self: flex-start; background: var(--sage-soft); color: var(--ink);
  border: 1px solid var(--border); border-bottom-left-radius: 6px;
  font-family: var(--font-serif); font-style: italic;
}
.ui-card__composer {
  margin-top: 4px; padding: 12px 14px; border-radius: 999px;
  background: var(--ivory); border: 1px solid var(--border);
  font-size: .82rem; color: var(--ink-soft);
}

/* Camino por etapas */
.journey {
  width: min(380px, 90vw); background: var(--ivory); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 26px; box-shadow: var(--shadow); display: grid; gap: 26px; position: relative;
}
.journey::before { content: ""; position: absolute; left: 37px; top: 42px; bottom: 42px; width: 2px; background: linear-gradient(var(--gold), var(--border)); }
.journey__step { display: flex; gap: 16px; align-items: flex-start; position: relative; }
.journey__step div { display: flex; flex-direction: column; }
.journey__step strong { font-family: var(--font-serif); font-size: 1.1rem; }
.journey__step span:not(.journey__dot) { font-size: .9rem; color: var(--ink-soft); }
.journey__dot { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ivory); border: 2px solid var(--border); margin-top: 2px; position: relative; z-index: 1; }
.journey__step.is-done .journey__dot { background: var(--gold); border-color: var(--gold); }
.journey__step.is-now .journey__dot { border-color: var(--sage); box-shadow: 0 0 0 5px var(--sage-soft); }
.journey__step.is-now .journey__dot::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--sage); }

/* ---------- Filosofía del oro ---------- */
.gold-story {
  background: radial-gradient(120% 90% at 85% 0%, #4C7362 0%, var(--sage) 45%, var(--sage-deep) 100%);
  color: #F4F1E8; padding: 64px 0; position: relative; overflow: hidden;
}
.gold-story__grid { display: grid; gap: 44px; align-items: center; }
.gold-story__art { display: flex; justify-content: center; }
.gold-story__art img {
  width: 100%;
  max-width: 340px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .08);
}
.gold-story h2 { color: #fff; margin-bottom: 20px; }
.gold-story p { color: rgba(244, 241, 232, .86); font-size: 1.05rem; }
.gold-story p + p { margin-top: 14px; }
.gold-quote {
  margin: 30px 0 0; padding: 24px 26px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(197, 155, 39, .45);
  font-family: var(--font-serif); font-style: italic; font-size: clamp(1.2rem, 3.2vw, 1.5rem); line-height: 1.45; color: #F3DFA6;
}

/* ---------- Escudo de confianza ---------- */
.shield {
  background: var(--ivory); border: 1px solid var(--border); border-radius: 32px; box-shadow: var(--shadow);
  padding: 40px 24px; display: grid; gap: 28px; position: relative; overflow: hidden;
}
.shield::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 155, 39, .12), transparent 70%);
}
.shield__icon svg { width: 64px; height: 64px; }
.shield__copy .section__sub { max-width: 62ch; }
.shield__list { display: grid; gap: 14px; }
.shield__list li { display: flex; gap: 14px; align-items: flex-start; background: var(--sage-soft); border-radius: var(--radius); padding: 16px 18px; }
.shield__list li > span { font-size: 1.4rem; line-height: 1.2; }
.shield__list div { display: flex; flex-direction: column; }
.shield__list strong { font-weight: 700; }
.shield__list div span { color: var(--ink-soft); font-size: .93rem; }

/* ---------- Planes ---------- */
.plans { display: grid; gap: 20px; max-width: 760px; margin: 0 auto; }
.plan {
  position: relative; background: var(--ivory); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px 26px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.plan h3 { font-size: 1.3rem; }
.plan--featured { border: 2px solid var(--sage); box-shadow: var(--shadow); }
.plan__badge {
  position: absolute; top: -13px; left: 26px; background: var(--gold); color: #fff; font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; padding: 5px 12px; border-radius: 999px; box-shadow: 0 6px 14px -6px rgba(182, 141, 44, .7);
}
.plan__price { margin-top: 14px; display: flex; align-items: baseline; gap: 6px; }
.plan__amount { font-family: var(--font-serif); font-size: 2.6rem; font-weight: 600; color: var(--sage); line-height: 1; }
.plan__unit { color: var(--ink-soft); font-weight: 500; }
.plan__billing { margin: 6px 0 22px; font-size: .92rem; color: var(--ink-soft); }
.plan .checklist { margin-bottom: 26px; flex: 1; }
.plans__note { max-width: 680px; margin: 28px auto 0; text-align: center; font-size: .88rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--ivory); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq__item h3 { font-family: var(--font-sans); font-size: 1rem; }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  text-align: left; background: none; border: 0; cursor: pointer; padding: 20px 22px; font-weight: 600; font-size: 1.02rem; line-height: 1.45;
}
.faq__icon { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--sage-soft); position: relative; transition: transform .3s var(--ease), background .3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--sage); border-radius: 2px; transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.faq__q[aria-expanded="true"] .faq__icon { background: var(--gold-soft); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { padding: 0 22px 22px; color: var(--ink-soft); animation: fadeUp .35s var(--ease); }

/* ---------- Cierre ---------- */
.closing { position: relative; padding: 32px 0 64px; overflow: hidden; }
.closing__card {
  text-align: center; border-radius: 36px; padding: 40px 24px;
  background: linear-gradient(160deg, var(--sage-soft) 0%, var(--gold-soft) 100%);
  border: 1px solid var(--border); box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.closing__icon { margin: 0 auto 20px; border-radius: 18px; box-shadow: var(--shadow); }
.closing__card h2 { color: var(--sage); }
.closing__card p { margin-top: 12px; color: var(--ink-soft); font-size: 1.08rem; }
.closing__cta { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px; }
.qr-card--compact { padding: 10px 16px 10px 10px; gap: 12px; font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.qr-card--compact .qr-card__code { width: 76px; height: 76px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 44px 0 calc(36px + env(safe-area-inset-bottom)); font-size: .9rem; }
.footer__notice { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 18px 20px; line-height: 1.6; }
.footer__notice strong { color: #fff; }
.footer__row { display: flex; flex-direction: column; gap: 20px; margin: 30px 0 22px; }
.brand--footer .brand__name { color: #fff; }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer__links a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer__links a:hover { color: var(--gold); text-decoration: underline; }
.footer__legal { font-size: .8rem; color: rgba(255, 255, 255, .5); }

/* ---------- Animación de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Breakpoints
   ========================================================= */
@media (min-width: 640px) {
  .container { padding: 0 32px; }
  .moment-tab { flex-direction: row; justify-content: center; gap: 10px; font-size: .98rem; padding: 14px 10px; }
  .moment-panel { padding: 40px 44px; }
  .moment-panel .checklist { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .plans { grid-template-columns: 1fr 1fr; }
  .shield { padding: 48px 44px; }
  .footer__row { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 960px) {
  :root { --topbar-h: 68px; }
  .section { padding: 64px 0; }
  .section__head { margin-bottom: 28px; }
  .topbar__nav { display: flex; gap: 28px; }
  .topbar__nav a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .95rem; transition: color .2s; }
  .topbar__nav a:hover { color: var(--sage); }

  .hero { padding: 36px 0 56px; }
  .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 36px; }
  .hero__cracks { display: block; }
  .phone.phone--hero { width: 280px; }
  .float-chip--a { left: -10px; }
  .float-chip--b { right: -10px; }

  .moments { grid-template-columns: 1.15fr .85fr; gap: 40px; justify-items: stretch; }
  .moments__visual { justify-content: center; }
  .moments__visual .phone { width: 230px; }

  .feature { grid-template-columns: 1fr 1fr; gap: 48px; padding: 36px 0; }
  .feature--reverse .feature__copy { order: 2; }
  .feature__copy { justify-self: end; }
  .feature--reverse .feature__copy { justify-self: start; }
  .phone { width: 240px; }

  .gold-story { padding: 72px 0; }
  .gold-story__grid { grid-template-columns: .8fr 1.2fr; gap: 56px; }

  .shield { grid-template-columns: auto 1fr; grid-template-areas: "icon copy" "list list"; column-gap: 28px; padding: 44px; }
  .shield__icon { grid-area: icon; }
  .shield__copy { grid-area: copy; }
  .shield__list { grid-area: list; grid-template-columns: repeat(3, 1fr); }

  .closing { padding: 28px 0 56px; }
  .closing__card { padding: 48px 40px; }
}

/* QR solo en escritorio con puntero fino (no en móviles ni tablets táctiles) */
@media (min-width: 960px) and (hover: hover) and (pointer: fine) {
  .qr-card { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__cracks path { stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; transform: none; }
}
