@font-face { font-family: "Cormorant"; src: url("fonts/cormorant.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("fonts/cormorant_italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Great Vibes"; src: url("fonts/greatvibes.woff2") format("woff2"); font-display: swap; }

:root {
  --paper: #faf7f2;
  --paper-2: #f3ede4;
  --ink: #1c1a17;
  --muted: #6b655d;
  --line: #e7dfd3;
  --gold: #9a7744;
  --gold-2: #c9a86a;
  --gold-soft: rgba(176, 141, 87, .14);
  --white: #fff;
  --radius: 22px;
  --shadow: 0 24px 60px -20px rgba(60, 42, 20, .28), 0 4px 14px rgba(60, 42, 20, .06);
  --serif: "Cormorant", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 16.5px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--gold); }
img { max-width: 100%; display: block; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 780px; }

/* ---------- Cabecera ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, .78);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
header.site.scrolled { border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 27px; font-weight: 600; letter-spacing: .3px; }
.brand img { border-radius: 9px; box-shadow: 0 2px 8px rgba(60, 42, 20, .15); }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color .15s; }
.main-nav a:hover { color: var(--ink); }

.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white);
  font-size: 13px; font-weight: 600; color: var(--ink); user-select: none;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.lang summary:hover { border-color: var(--gold-2); }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  min-width: 170px; animation: pop .16s ease-out;
}
.lang li a { display: block; padding: 8px 12px; border-radius: 9px; color: var(--ink); text-decoration: none; font-size: 14.5px; }
.lang li a:hover { background: var(--paper); }
.lang li a[aria-current] { background: var(--gold-soft); color: var(--gold); font-weight: 600; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }

/* ---------- Portada ---------- */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%;
  background: radial-gradient(closest-side, rgba(201, 168, 106, .22), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px;
  padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600; color: var(--ink);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 4px var(--gold-soft); }
h1 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(2.6rem, 5.6vw, 4.3rem);
  line-height: 1.02; letter-spacing: -.5px; margin: 0 0 22px;
}
h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 30px; max-width: 33em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: var(--white);
  padding: 12px 24px 12px 20px; border-radius: 14px; text-decoration: none; font-weight: 600; font-size: 17px; line-height: 1.15;
  box-shadow: 0 10px 24px -10px rgba(28, 26, 23, .6);
}
.store svg { width: 22px; height: 22px; fill: var(--gold-2); }
.store small { display: block; font-weight: 400; font-size: 11.5px; opacity: .75; letter-spacing: .2px; }
a.store { transition: transform .15s; }
a.store:hover { transform: translateY(-2px); }
.store.light { background: var(--white); color: var(--ink); box-shadow: none; }
.store.light svg { fill: var(--gold); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 20px; border-radius: 14px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; border: 1px solid var(--line); background: rgba(255, 255, 255, .6);
}
.btn-ghost:hover { border-color: var(--gold-2); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%239a7744' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* Arte de portada: móvil + tarjetas flotantes */
.hero-art { position: relative; height: 600px; display: flex; justify-content: center; align-items: center; }
.blob {
  position: absolute; width: 440px; height: 440px; border-radius: 50%;
  background: conic-gradient(from 200deg, #efe3cf, #f6dcd3, #dfe6dc, #efe3cf);
  filter: blur(10px); opacity: .9;
}
.phone {
  position: relative; margin: 0; width: 270px; aspect-ratio: 9 / 20; padding: 8px; border-radius: 40px;
  background: #1d1b18; box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255, 255, 255, .08);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; }
.phone.sm { width: 200px; border-radius: 32px; padding: 6px; }
.phone.sm img { border-radius: 27px; }
.hero-art .phone { z-index: 2; transform: rotate(2deg); }
.card {
  position: absolute; z-index: 3; width: 168px; aspect-ratio: 105 / 148; padding: 22px 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  border-radius: 6px; box-shadow: var(--shadow);
}
.card .k { font-size: 8.5px; letter-spacing: 2.6px; text-transform: uppercase; }
.card .n { font-family: "Great Vibes", cursive; font-size: 34px; line-height: 1.1; margin: 8px 0 4px; }
.card .d { font-family: var(--serif); font-size: 14.5px; font-variant-numeric: lining-nums; }
.card .rule { width: 40px; height: 1px; background: currentColor; opacity: .5; margin: 10px auto; }
.card.a { left: 0; bottom: 56px; transform: rotate(-8deg); background: #fdfbf6; color: #3b3226; }
.card.a::after { content: ""; position: absolute; inset: 9px; border: 1px solid #b08d57; border-radius: 3px; }
.card.b { right: 0; top: 64px; transform: rotate(7deg); background: #1f3a5f; color: #f7f8fa; }
.card.b::after { content: ""; position: absolute; inset: 9px; border: 1px solid var(--gold-2); border-radius: 3px; }
.js .card.a { animation: float 7s ease-in-out infinite; }
.js .card.b { animation: float2 8s ease-in-out infinite; }
@keyframes float { 50% { transform: rotate(-6deg) translateY(-10px); } }
@keyframes float2 { 50% { transform: rotate(5deg) translateY(10px); } }

/* Ocasiones */
.occasions-band { padding: 8px 0 24px; }
.occasions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.occasions li {
  padding: 9px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  font-family: var(--serif); font-size: 19px; font-weight: 600;
}

/* ---------- Secciones ---------- */
.block { padding: 96px 0; }
.block.soft { background: linear-gradient(180deg, var(--paper-2), var(--paper)); }
.head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.eyebrow { font-size: 12.5px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); font-weight: 700; margin: 0 0 12px; }
h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.1rem, 4.2vw, 3rem); line-height: 1.08; letter-spacing: -.3px; margin: 0; }
.sub { color: var(--muted); font-size: 1.08rem; margin: 14px 0 0; }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; padding: 30px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.steps .num {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px;
  background: var(--ink); color: var(--gold-2); font-family: var(--serif); font-variant-numeric: lining-nums; font-size: 24px; font-weight: 600; margin-bottom: 18px;
}
.steps h3, .tile h3, .format h3 { font-size: 1.08rem; margin: 0 0 6px; letter-spacing: -.1px; }
.steps p, .tile p, .format p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Bento de funciones */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; overflow: hidden; transition: transform .25s, box-shadow .25s;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tile .ico {
  width: 44px; height: 44px; padding: 10px; border-radius: 14px; margin-bottom: 18px;
  background: var(--gold-soft); fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.tile.big { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  background: linear-gradient(160deg, #fff 30%, #f6efe3); padding-bottom: 0; }
.tile.big .tile-text { max-width: 30em; }
.tile.big h3, .tile.tall h3 { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; line-height: 1.1; margin-bottom: 10px; }
.tile.big .phone { align-self: center; margin-bottom: -230px; width: 290px; }
.tile.tall { grid-column: span 2; display: grid; grid-template-columns: 170px 1fr; gap: 26px; align-items: center; background: #1f3a5f; border-color: #1f3a5f; color: #f7f8fa; }
.tile.tall p { color: rgba(247, 248, 250, .78); }
.tile.tall .phone { width: 170px; margin: 0 0 -120px; align-self: start; }
.tile.tall .new { background: rgba(201, 168, 106, .22); color: var(--gold-2); }
.new { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); background: var(--gold-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }

/* Formatos */
.formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.format { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.shape-box { height: 120px; display: flex; align-items: flex-end; margin-bottom: 20px; }
.shape { display: block; border-radius: 3px; background: linear-gradient(160deg, #fdfbf6, #efe3cf); border: 1px solid #dccab0; box-shadow: 0 10px 20px -10px rgba(60, 42, 20, .35); position: relative; }
.shape::after { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(176, 141, 87, .5); border-radius: 2px; }
.format .size { color: var(--gold); font-weight: 600; font-size: .9rem; margin-bottom: 8px; }

/* Precio */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 860px; margin: 0 auto; }
.plan { position: relative; padding: 34px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.plan h3 { margin: 0; font-size: 1.15rem; }
.plan .price { font-variant-numeric: lining-nums; font-family: var(--serif); font-size: 3.2rem; font-weight: 600; line-height: 1; margin: 12px 0 22px; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.plan li { position: relative; padding-left: 28px; }
.plan li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%239a7744' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.plan.premium { background: radial-gradient(120% 90% at 100% 0, #3a3226, var(--ink) 60%); color: var(--white); border-color: var(--ink); box-shadow: var(--shadow); }
.plan.premium .price { color: var(--gold-2); }
.plan.premium li::before { background-color: rgba(201, 168, 106, .2); }
.plan .tag { position: absolute; top: 22px; right: 22px; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--gold-2); color: var(--ink); }
.price-note { text-align: center; color: var(--muted); font-size: 13.5px; margin: 20px 0 0; }

/* Preguntas */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 0 24px; transition: border-color .2s; }
.faq details[open] { border-color: var(--gold-2); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; position: relative; font-weight: 600; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 300; color: var(--gold); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* Llamada final */
.cta-band { padding: 0 0 96px; }
.cta {
  text-align: center; padding: 64px 28px; border-radius: 32px; color: var(--white);
  background: radial-gradient(90% 120% at 0 0, #2c4a72, #1f3a5f 55%, #172c48);
  position: relative; overflow: hidden;
}
.cta::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(201, 168, 106, .45); border-radius: 22px; pointer-events: none; }
.cta h2 { margin-bottom: 12px; }
.cta p { color: rgba(255, 255, 255, .8); margin: 0 0 28px; font-size: 1.08rem; }

/* ---------- Pie ---------- */
footer.site { border-top: 1px solid var(--line); padding: 44px 0 52px; color: var(--muted); font-size: 14px; }
.foot { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: start; }
.foot-brand .brand { font-size: 24px; }
.foot-brand p { margin: 8px 0 0; max-width: 28em; }
.foot-links { display: flex; flex-direction: column; gap: 8px; text-align: right; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--ink); }
.foot-langs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 8px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; }
.foot-langs a { color: var(--muted); text-decoration: none; }
.foot-langs a[aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Textos legales ---------- */
.legal { max-width: 760px; padding: 56px 20px 80px; margin: 0 auto; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
.legal .updated { color: var(--muted); font-size: .95rem; margin: 0 0 24px; }
.translation-note { font-size: .92rem; color: var(--muted); border-left: 3px solid var(--gold-2); padding: 4px 0 4px 14px; margin: 0 0 24px; }
.legal h2 { font-size: 1.6rem; margin: 40px 0 10px; }
.legal p, .legal li { margin: 0 0 12px; }
.summary { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; }
.summary ul { margin: 0; padding-left: 1.1em; }
.summary li:last-child { margin-bottom: 0; }

/* ---------- Animación al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .card.a, .js .card.b { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .formats { grid-template-columns: repeat(2, 1fr); }
  .main-nav { gap: 18px; }
}
@media (max-width: 860px) {
  .main-nav { display: none; }
  .lang { margin-left: auto; }
  .hero { padding-top: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { height: 500px; }
  .phone { width: 220px; }
  .blob { width: 340px; height: 340px; }
  .card { width: 128px; padding: 16px 10px; }
  .card .k { font-size: 7px; letter-spacing: 1.8px; }
  .card .n { font-size: 25px; }
  .card .d { font-size: 12px; }
  .card .rule { margin: 6px auto; }
  .steps, .plans { grid-template-columns: 1fr; }
  .block { padding: 72px 0; }
}
@media (max-width: 560px) {
  .bento, .formats { grid-template-columns: 1fr; }
  .tile.big, .tile.tall { grid-column: auto; grid-row: auto; }
  .tile.tall { grid-template-columns: 1fr; }
  .tile.tall .phone { order: 2; margin: 0 auto -150px; }
  .hero-art { height: 440px; }
  .phone { width: 196px; }
  .card.a { left: -4px; }
  .card.b { right: -4px; }
  .foot { grid-template-columns: 1fr; }
  .foot-links { text-align: left; }
  .plan { padding: 28px 24px; }
  .bar { gap: 12px; }
}
