/* =========================================================
   INVITELLE Studio — estilos
   Colores de marca: cambia aquí y se actualiza toda la web
   ========================================================= */
:root {
  --navy: #0d1f4a;
  --navy-2: #16295c;
  --navy-3: #1f3672;
  --gold: #f4b52a;
  --gold-2: #e09e12;
  --gold-soft: #f9dc93;
  --cream: #fbf6ec;
  --cream-2: #f4ead6;
  --white: #ffffff;
  --ink: #1b2340;
  --muted: #5b6380;
  --line: #e8dcc4;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 50px -20px rgba(13, 31, 74, .28);
  --shadow-sm: 0 8px 24px -14px rgba(13, 31, 74, .25);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
em.gold, .gold-text { font-style: italic; color: var(--gold-2); }

.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--white { background: var(--white); }
.section--cream2 { background: var(--cream-2); }
.section--navy { background: var(--navy); color: #dfe5f5; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-size: .74rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 18px;
}
.section--navy .eyebrow { color: var(--gold-soft); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-head .title-line { display: flex; align-items: center; gap: 22px; justify-content: center; }
.section-head .title-line::before,
.section-head .title-line::after { content: ""; height: 2px; width: 60px; background: var(--gold); flex: none; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section--navy .section-head p { color: #c3cbe2; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--gold { background: var(--gold); color: var(--navy); box-shadow: 0 10px 26px -12px rgba(224, 158, 18, .8); }
.btn--gold:hover { background: var(--gold-2); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-3); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--outline-light:hover { background: var(--white); color: var(--navy); }
.btn--wa { background: #25d366; color: #fff; }
.btn--wa:hover { background: #1ebe5b; }
.btn--sm { padding: 11px 20px; font-size: .88rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 236, .88);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(13,31,74,.4); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 96px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 72px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--sans); font-weight: 800; font-size: 1.5rem; letter-spacing: .04em; color: var(--navy); }
.brand-text span { font-size: .72rem; letter-spacing: .5em; color: var(--navy); margin-top: 4px; text-align: center; }
.nav-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative; display: block; padding: 10px 16px;
  font-family: var(--serif); font-size: 1.02rem; color: var(--navy);
}
.nav-links a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  background: var(--gold); transform: scaleX(0); transition: transform .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold-2); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--navy); position: relative; transition: .25s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero (inicio) ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.hero::before {
  content: ""; position: absolute; left: -400px; top: -420px; width: 560px; height: 560px;
  border-radius: 50%; border: 56px solid var(--gold); z-index: 0;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 520px; margin-bottom: 32px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 14 / 11; object-fit: cover; border-radius: 32px; box-shadow: var(--shadow); }
.hero-media::after {
  content: ""; position: absolute; inset: auto -18px -18px auto; width: 45%; height: 45%;
  border: 2px solid var(--gold); border-radius: 32px; z-index: -1;
}
.features { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; }
.feature { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--navy); font-weight: 500; line-height: 1.3; }
.feature svg { width: 30px; height: 30px; color: var(--gold-2); flex: none; }

/* ---------- Hero interno (páginas) ---------- */
.page-hero { padding: clamp(56px, 8vw, 100px) 0 clamp(40px, 6vw, 72px); text-align: center; position: relative; }
.page-hero .container { max-width: 820px; }
.page-hero p { color: var(--muted); font-size: 1.12rem; }
.price-tag {
  display: inline-flex; align-items: baseline; gap: 10px; margin: 8px 0 28px;
  padding: 10px 24px; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  font-weight: 600; color: var(--navy);
}
.price-tag strong { font-family: var(--serif); font-size: 1.6rem; }
.page-hero--dark { background: radial-gradient(ellipse at top, var(--navy-3), var(--navy) 65%); color: #d6ddf0; }
.page-hero--dark h1 { color: var(--white); }
.page-hero--dark p { color: #c3cbe2; }
.page-hero--dark .price-tag { background: rgba(255,255,255,.06); border-color: rgba(244,181,42,.45); color: var(--gold-soft); }
.page-hero--dark .eyebrow { color: var(--gold-soft); }

/* ---------- Colecciones (inicio) ---------- */
.collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.collection {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--white);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.collection:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.collection-img { aspect-ratio: 1 / 1; overflow: hidden; }
.collection-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.collection:hover .collection-img img { transform: scale(1.04); }
.collection-body { padding: 30px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.collection-body .eyebrow { margin-bottom: 4px; }
.collection-body h3 { font-size: 2.3rem; margin-bottom: 10px; }
.collection-body p { color: var(--muted); flex: 1; }
.collection-price { font-weight: 600; color: var(--navy); margin: 6px 0 22px; }
.collection-price strong { font-family: var(--serif); font-size: 2rem; margin-left: 6px; }
.collection-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.collection-actions .btn { flex: 1; }
.collection--aureum .collection-body h3 { color: var(--gold-2); }
.collection--luxury { background: var(--navy); }
.collection--luxury h3 { color: var(--gold); }
.collection--luxury p, .collection--luxury .eyebrow, .collection--luxury .collection-price { color: #d6ddf0; }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; counter-reset: step; }
.step { background: var(--white); border-radius: var(--radius); padding: 34px 28px; border: 1px solid var(--line); position: relative; }
.section--white .step { background: var(--cream); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--serif); font-style: italic; font-size: 2.4rem; color: var(--gold-2); display: block; margin-bottom: 10px;
}
.step h3 { font-size: 1.25rem; }
.step p { color: var(--muted); margin: 0; font-size: .96rem; }
.section--navy .step { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.section--navy .step h3 { color: var(--white); }
.section--navy .step p { color: #c3cbe2; }

/* ---------- Lista de beneficios ---------- */
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px 32px; list-style: none; padding: 0; margin: 0; }
.perks li { display: flex; gap: 14px; align-items: flex-start; }
.perks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d1f4a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Filtros ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.chip {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  color: var(--navy); font-weight: 500; font-size: .9rem; transition: .2s;
}
.chip:hover { border-color: var(--navy); }
.chip.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ---------- Tarjetas de producto ---------- */
.grid-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 370px)); justify-content: center; gap: 32px; }
.product {
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream-2); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product:hover .product-img img { transform: scale(1.04); }
.product-tag {
  position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.92); color: var(--navy);
  padding: 6px 14px; border-radius: 999px; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.product-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.4rem; margin-bottom: 4px; }
.product-body p { color: var(--muted); font-size: .93rem; margin-bottom: 14px; flex: 1; }
.product-price { font-family: var(--serif); font-size: 1.7rem; color: var(--navy); font-weight: 600; margin-bottom: 18px; }
.product-price small { font-family: var(--sans); font-size: .8rem; color: var(--muted); font-weight: 500; margin-right: 6px; }
.product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.product-actions .btn { padding: 12px 10px; font-size: .88rem; }
.product--dark { background: var(--navy-2); }
.product--dark h3 { color: var(--white); }
.product--dark p { color: #c3cbe2; }
.product--dark .product-price { color: var(--gold); }
.product--dark .product-price small { color: #c3cbe2; }
.empty { text-align: center; color: var(--muted); grid-column: 1 / -1; padding: 40px 0; }

/* ---------- Split (texto + imagen) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split img { border-radius: 28px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 14 / 11; object-fit: cover; }

/* ---------- Testimonios ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial { background: var(--white); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.testimonial .quote { font-family: var(--serif); font-size: 3.4rem; line-height: .6; color: var(--gold); margin-bottom: 14px; }
.testimonial p { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-weight: 700; font-family: var(--serif); font-size: 1.15rem; flex: none; }
.testimonial-author strong { display: block; color: var(--navy); }
.testimonial-author span { font-size: .85rem; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 26px; margin-bottom: 14px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0; font-weight: 600; color: var(--navy);
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; color: var(--gold-2); font-weight: 400; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- CTA ---------- */
.cta-band {
  background: var(--navy); border-radius: 32px; padding: clamp(40px, 6vw, 72px);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  border: 40px solid rgba(244,181,42,.18);
}
.cta-band h2 { color: var(--white); margin: 0 0 8px; }
.cta-band p { color: #c3cbe2; margin: 0; max-width: 540px; }
.cta-band .btns { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Contacto ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 64px; }
.contact-card {
  background: var(--white); border-radius: var(--radius); padding: 34px 28px; text-align: center;
  box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; display: block;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.contact-card .icon { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: var(--navy); color: var(--gold); }
.contact-card .icon svg { width: 28px; height: 28px; }
.contact-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.contact-card span { color: var(--muted); word-break: break-word; }

/* ---------- Formularios ---------- */
.form-wrap { background: var(--white); border-radius: 28px; padding: clamp(28px, 5vw, 56px); box-shadow: var(--shadow-sm); max-width: 880px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .88rem; color: var(--navy); margin-bottom: 8px; }
.field label .req { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--cream);
  font: inherit; font-size: .96rem; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 4px rgba(244,181,42,.2); background: var(--white); }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: 6px; display: block; }
.fieldset-title { grid-column: 1 / -1; font-family: var(--serif); font-size: 1.3rem; color: var(--navy); margin: 18px 0 0; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.fieldset-title:first-child { margin-top: 0; }
.radio-row { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-row label { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 500; background: var(--cream); margin: 0; }
.radio-row input { width: auto; accent-color: var(--navy); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check input { width: auto; margin-top: 4px; accent-color: var(--navy); }
.form-note { background: var(--cream-2); border-left: 4px solid var(--gold); padding: 16px 20px; border-radius: 10px; font-size: .92rem; color: var(--ink); margin: 0; }
.form-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.selected-product { display: flex; gap: 18px; align-items: center; background: var(--cream); border-radius: var(--radius-sm); padding: 14px; margin-bottom: 28px; border: 1px solid var(--line); }
.selected-product img { width: 72px; height: 90px; object-fit: cover; border-radius: 10px; }
.selected-product strong { display: block; color: var(--navy); font-family: var(--serif); font-size: 1.2rem; }
.selected-product span { color: var(--muted); font-size: .9rem; }

/* ---------- Libro de reclamaciones ---------- */
.legal-box { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 24px; font-size: .92rem; margin-bottom: 28px; }
.legal-box p { margin: 0 0 4px; }
.small-print { font-size: .82rem; color: var(--muted); margin-top: 24px; }

/* ---------- Demo ---------- */
.demo-layout { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.phone {
  width: min(340px, 82vw); aspect-ratio: 9 / 19.5; border-radius: 48px; padding: 12px; margin: 0 auto;
  background: linear-gradient(145deg, #e9c46a, #b8860b 40%, #f3d27a 70%, #a8760a);
  box-shadow: 0 40px 80px -30px rgba(13,31,74,.55);
}
.phone-screen { width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: #000; position: relative; }
.phone-screen img, .phone-screen video, .phone-screen iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.phone--photo { width: min(460px, 88vw); aspect-ratio: 4 / 5; padding: 0; border-radius: 28px; background: none; }
.phone--photo .phone-screen { border-radius: 28px; }
.phone--photo .phone-screen::before { display: none; }
.phone-screen::before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 34%; height: 24px; background: #000; border-radius: 20px; z-index: 2; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c3cbe2; padding: 72px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 52px; }
.footer-brand img { width: 230px; height: auto; margin-bottom: 16px; }
.footer-brand p { font-size: .92rem; max-width: 280px; }
.site-footer h4 { color: var(--white); font-family: var(--sans); font-size: .82rem; letter-spacing: .25em; text-transform: uppercase; margin-bottom: 18px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-list a { display: inline-flex; align-items: center; gap: 12px; transition: color .2s; font-size: .95rem; }
.footer-list a:hover { color: var(--gold); }
.footer-list svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.libro-link {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.2); border-radius: 14px;
  color: var(--white); font-weight: 600; line-height: 1.25; transition: border-color .2s, background .2s;
}
.libro-link:hover { border-color: var(--gold); background: rgba(255,255,255,.04); }
.libro-link svg { width: 38px; height: 38px; color: var(--white); flex: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .84rem; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 62px; height: 62px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }

/* ---------- Animación de aparición ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .collections, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .menu-toggle { display: inline-flex; }
  .nav { height: 84px; }
  .brand img { height: 56px; }
  .nav-cta .btn { display: none; }
  .nav-links {
    position: fixed; inset: 84px 0 auto 0; flex-direction: column; gap: 0; background: var(--cream);
    padding: 12px 20px 28px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(13,31,74,.3);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s ease;
  }
  .menu-open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 16px 4px; font-size: 1.2rem; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .hero-grid, .split, .demo-layout { grid-template-columns: 1fr; }
  .hero { text-align: left; }
  .hero::before { width: 360px; height: 360px; border-width: 30px; left: -260px; top: -270px; }
  .contact-cards { grid-template-columns: 1fr; }
  .demo-layout { text-align: center; }
}
@media (max-width: 640px) {
  .collections, .grid-products, .testimonials, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand img { height: 50px; width: auto; }
  .brand-text strong { font-size: 1.25rem; }
  .features { gap: 18px; }
  .btn { padding: 14px 24px; }
  .cta-band .btns, .cta-band .btns .btn { width: 100%; }
  .section-head .title-line::before, .section-head .title-line::after { width: 28px; }
}

/* ---------- Impresión (copia del libro de reclamaciones) ---------- */
@media print {
  .site-header, .site-footer, .wa-float, .form-actions, .page-hero p { display: none !important; }
  body, .section--white { background: #fff; }
  .form-wrap { box-shadow: none; padding: 0; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
.grid-products--4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.grid-products--4 .product-actions .btn { font-size: .82rem; padding: 11px 6px; }
@media (min-width: 641px) and (max-width: 1100px) { .grid-products--4 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Pasarela de pago ---------- */
.no-scroll { overflow: hidden; }
.checkout { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.checkout-backdrop { position: absolute; inset: 0; background: rgba(8, 18, 45, .6); backdrop-filter: blur(4px); }
.checkout-panel {
  position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto;
  background: var(--white); border-radius: 26px; padding: 30px 28px 28px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.5);
  animation: pop .25s ease;
}
@keyframes pop { from { transform: translateY(16px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.checkout-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--cream); font-size: 1.5rem; line-height: 1; color: var(--navy); }
.checkout-head { display: flex; gap: 16px; align-items: center; padding-right: 40px; margin-bottom: 18px; }
.checkout-head img { width: 64px; height: 80px; object-fit: cover; border-radius: 12px; flex: none; }
.checkout-head strong { display: block; font-family: var(--serif); font-size: 1.35rem; color: var(--navy); line-height: 1.2; }
.checkout-price { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-2); font-weight: 600; }
.checkout-steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; counter-reset: cs; }
.checkout-steps li { flex: 1; font-size: .75rem; font-weight: 600; color: var(--muted); padding-top: 8px; border-top: 4px solid var(--line); counter-increment: cs; }
.checkout-steps li::before { content: counter(cs) ". "; }
.checkout-steps li.on { color: var(--navy); border-color: var(--gold); }
.checkout h3 { font-size: 1.35rem; margin-bottom: 14px; }
.pay-title { font-family: var(--sans); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 18px 0 10px; }
.pay-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.pay-method { border: 1px solid var(--line); border-radius: 16px; padding: 14px; text-align: center; background: var(--cream); }
.pay-qr { width: 100%; max-width: 230px; height: auto; margin: 0 auto 12px; border-radius: 14px; }
.pay-info { display: grid; gap: 4px; justify-items: center; }
.pay-name { font-weight: 700; color: var(--navy); }
.pay-name small { font-weight: 500; color: var(--muted); }
.pay-number { font-family: var(--serif); font-size: 1.15rem; color: var(--navy); word-break: break-word; }
.pay-holder { font-size: .8rem; color: var(--muted); }
.pay-banks { display: grid; gap: 12px; }
.pay-bank { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; background: var(--cream); display: grid; gap: 8px; }
.pay-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .9rem; }
.pay-row span { color: var(--muted); min-width: 52px; }
.pay-row strong { color: var(--navy); flex: 1; word-break: break-all; }
.copy { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--navy); background: var(--white); color: var(--navy); border-radius: 999px; padding: 5px 12px; font-size: .78rem; font-weight: 600; }
.copy svg { width: 14px; height: 14px; }
.copy:hover { background: var(--navy); color: var(--white); }
.pay-note { font-size: .85rem; color: var(--muted); margin: 16px 0 0; }
.checkout [data-paid] { margin-top: 20px; font-size: 1.05rem; }
.checkout-center { text-align: center; display: grid; gap: 14px; padding: 10px 0; }
.checkout-center p { color: var(--muted); margin: 0; }
.checkout-center h3 { margin: 0; }
.big-icon { font-size: 3rem; line-height: 1; }
.link-btn { background: none; border: 0; color: var(--muted); font-size: .9rem; text-decoration: underline; }
@media (max-width: 480px) {
  .checkout { padding: 0; align-items: flex-end; }
  .checkout-panel { border-radius: 24px 24px 0 0; max-height: 92vh; padding: 26px 18px 22px; }
  .pay-qr { max-width: 210px; }
}
.ticket { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: var(--navy); border-radius: 16px; padding: 14px; text-align: center; }
.ticket span { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft); }
.ticket strong { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--white); margin-top: 2px; word-break: break-all; }
