:root {
  --bg: #000;
  --bg-2: #0d0d0d;
  --card: #151515;
  --line: rgba(255, 255, 255, .12);
  --text: rgba(255, 255, 255, .9);
  --muted: rgba(255, 255, 255, .62);
  --gold: #dec74f;
  --gold-dark: #302b0e;
  --gold-soft: rgba(222, 199, 79, .14);
  --wa: #25d366;
  --radius: 14px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Poppins, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: .3px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: #fff; font-weight: 600; line-height: 1.2; margin: 0; letter-spacing: .5px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: 1px;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  text-align: center;
}
.btn:active { transform: scale(.97); }
.btn--gold { background: var(--gold); color: var(--gold-dark); box-shadow: 0 6px 24px rgba(222, 199, 79, .22); }
.btn--gold:hover { background: #ead565; }
.btn--ghost { border: 1.5px solid rgba(255, 255, 255, .7); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.btn--lg { padding: 16px 34px; font-size: 16px; }
.center { text-align: center; margin-top: 36px; }

/* ---------- Barra superior ---------- */
.marquee { background: var(--gold); color: var(--gold-dark); overflow: hidden; white-space: nowrap; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; }
.marquee__track { display: inline-flex; animation: marquee 28s linear infinite; padding: 7px 0; }
.marquee__track span { padding: 0 28px; position: relative; }
.marquee__track span::after { content: "✦"; position: absolute; right: -6px; font-size: 9px; top: 2px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 40; background: rgba(0, 0, 0, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { max-width: var(--max); margin: 0 auto; padding: 0 16px; height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.logo { display: flex; align-items: center; }
.logo img { height: 62px; width: auto; }
.nav { display: flex; gap: 6px; }
.nav a { white-space: nowrap; padding: 6px 12px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color .2s, background .2s; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.header__actions { display: flex; justify-content: flex-end; gap: 6px; }
.icon-link { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #fff; transition: background .2s, color .2s; }
.icon-link:hover { background: var(--gold-soft); color: var(--gold); }
.menu-btn { display: none; width: 40px; height: 40px; background: none; border: 0; padding: 10px 8px; flex-direction: column; justify-content: space-between; }
.menu-btn span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: center; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.05) 75%), linear-gradient(0deg, rgba(0,0,0,.7) 0%, transparent 30%); }
/* En pantallas grandes la foto ocupa solo la mitad derecha para que se vea nítida */
@media (min-width: 900px) {
  .hero { min-height: min(86vh, 800px); }
  .hero__img { left: auto; width: 52%; object-position: 50% 58%; }
  .hero__shade { background: linear-gradient(90deg, #000 0%, #000 48%, rgba(0,0,0,.35) 60%, rgba(0,0,0,0) 72%), linear-gradient(0deg, rgba(0,0,0,.6) 0%, transparent 25%); }
}
.hero__content { position: relative; max-width: var(--max); width: 100%; margin: 0 auto; padding: 64px 24px; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: 3px; font-size: 12px; font-weight: 600; margin: 0 0 14px; }
.hero h1 { font-family: Cinzel, "Times New Roman", serif; text-transform: uppercase; font-size: clamp(34px, 5.4vw, 66px); font-weight: 600; letter-spacing: 3px; line-height: 1.12; }
.gold-text { background: linear-gradient(100deg, #b8902a 0%, #f3df86 35%, #dec74f 55%, #a87d1e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__text { max-width: 470px; color: rgba(255, 255, 255, .82); font-size: 17px; margin: 20px 0 30px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Confianza ---------- */
.trust { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.trust__item { padding: 26px 20px; text-align: center; border-right: 1px solid var(--line); }
.trust__item:last-child { border-right: 0; }
.trust__item strong { display: block; color: var(--gold); font-weight: 600; font-size: 17px; letter-spacing: 1px; }
.trust__item span { font-size: 13px; color: var(--muted); }

/* ---------- Secciones ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 80px 16px; }
.section--alt { max-width: none; background: var(--bg-2); border-block: 1px solid var(--line); }
.section--alt > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.section__head h2 { font-size: clamp(26px, 3.4vw, 36px); text-transform: uppercase; letter-spacing: 2px; }
.section__head h2::after { content: ""; display: block; width: 54px; height: 2px; background: var(--gold); margin: 14px auto 0; }
.section__head p { color: var(--muted); margin: 16px 0 0; }
.section__head b { color: var(--gold); font-weight: 600; }

/* ---------- Catálogo sobre mármol (sello de Masivi) ---------- */
.section--marble {
  max-width: none;
  background: #ecebea url("img/marmol.jpg") center top / 900px auto repeat;
  color: #1b1b1b;
  box-shadow: inset 0 18px 30px -18px rgba(0,0,0,.6), inset 0 -18px 30px -18px rgba(0,0,0,.6);
}
.section--marble > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section--marble .section__head h2 { color: #111; }
.section--marble .section__head h2::after { background: #b8962e; }
.section--marble .section__head p { color: #3b3b3b; }
.section--marble .section__head b { color: #8a6d12; }
.section--marble .chip { background: rgba(255,255,255,.75); border-color: rgba(0,0,0,.14); color: #333; backdrop-filter: blur(4px); }
.section--marble .chip:hover { color: #000; border-color: rgba(0,0,0,.4); }
.section--marble .chip[aria-selected="true"] { background: #111; color: var(--gold); border-color: #111; }
.section--marble .card { background: rgba(255,255,255,.94); border-color: rgba(0,0,0,.08); box-shadow: 0 10px 30px -14px rgba(0,0,0,.35); }
.section--marble .card:hover { border-color: #b8962e; }
.section--marble .card__name { color: #111; }
.section--marble .card__desc { color: #555; }
.section--marble .card__price { color: #8a6d12; }
.section--marble .ref { color: #888; }
.section--marble .card__btn { background: #111; color: var(--gold); box-shadow: none; }
.section--marble .card__btn:hover { background: #2a2a2a; }

/* ---------- Filtros ---------- */
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 14px; margin-bottom: 18px; scrollbar-width: none; justify-content: center; flex-wrap: wrap; }
.filters::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; border: 1px solid var(--line); background: transparent; padding: 8px 16px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: all .2s; white-space: nowrap; }
.chip:hover { color: #fff; border-color: rgba(255, 255, 255, .35); }
.chip[aria-selected="true"] { background: var(--gold); color: var(--gold-dark); border-color: var(--gold); font-weight: 600; }
.chip small { opacity: .75; margin-left: 4px; }

/* ---------- Tarjetas ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); border-color: rgba(222, 199, 79, .45); }
.card__img { position: relative; aspect-ratio: 1 / 1; background: #eee; overflow: hidden; border: 0; padding: 0; width: 100%; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__img img { transform: scale(1.05); }
.badge { display: inline-block; background: var(--gold); color: var(--gold-dark); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 6px; letter-spacing: .5px; }
.card__img .badge { position: absolute; left: 10px; top: 10px; }
.card__body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__name { font-size: 15px; font-weight: 600; color: #fff; }
.card__desc { font-size: 13px; color: var(--muted); line-height: 1.5; flex: 1; margin: 0; }
.card__price { font-size: 13px; color: var(--gold); font-weight: 600; }
.card__btn { margin-top: 8px; padding: 10px 14px; font-size: 13px; letter-spacing: .5px; }
.ref { font-size: 12px; color: var(--muted); letter-spacing: 1px; margin: 0; }

/* ---------- Así se ve puesta ---------- */
.wear { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.wear__item { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; }
.wear__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.wear__item:hover img { transform: scale(1.04); }
.wear__item figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; background: linear-gradient(0deg, rgba(0,0,0,.85), transparent); display: flex; flex-direction: column; }
.wear__item figcaption b { color: var(--gold); font-weight: 600; }
.wear__item figcaption span { font-size: 13px; color: rgba(255, 255, 255, .8); }

/* ---------- Personalización ---------- */
.custom { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start; }
.custom__photo img { border-radius: var(--radius); width: 100%; }
.custom__info h3 { font-size: 18px; color: var(--gold); margin-bottom: 14px; letter-spacing: 1px; text-transform: uppercase; }
.custom__info h3:not(:first-child) { margin-top: 30px; }
.charms { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 24px; }
.charms li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 14px; break-inside: avoid; }
.charms li span { color: var(--muted); white-space: nowrap; font-size: 13px; }
.note { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.swatches { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px 18px; }
.swatches li { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.swatches i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #000, 0 0 0 3px rgba(255, 255, 255, .25); }
.custom__info .btn { margin-top: 26px; }

/* ---------- Pasos y tallas ---------- */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 50px !important; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.steps span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--gold-dark); font-weight: 700; margin-bottom: 14px; }
.steps b { color: #fff; font-size: 17px; font-weight: 600; }
.steps p { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.sizes { max-width: 620px !important; text-align: center; }
.sizes h3 { text-transform: uppercase; letter-spacing: 2px; margin-bottom: 18px; font-size: 20px; }
.sizes table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sizes th { background: var(--gold); color: var(--gold-dark); font-weight: 600; padding: 12px; font-size: 14px; }
.sizes td { padding: 12px; border-top: 1px solid var(--line); font-size: 14px; }
.sizes tbody tr:nth-child(even) { background: rgba(255, 255, 255, .03); }

/* ---------- Testimonios ---------- */
.reviews { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 12px; scrollbar-width: none; }
.reviews::-webkit-scrollbar { display: none; }
.review { flex: 0 0 calc((100% - 64px) / 5); min-width: 220px; scroll-snap-align: start; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; padding: 0; background: #111; transition: border-color .2s, transform .2s; }
.review:hover { border-color: var(--gold); transform: translateY(-3px); }
.review img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; object-position: top; }
.reviews__nav { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.round-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; font-size: 24px; line-height: 1; transition: all .2s; }
.round-btn:hover { background: var(--gold); color: var(--gold-dark); border-color: var(--gold); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px !important; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 500; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 24px; transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { margin: 0 0 20px; color: var(--muted); }

/* ---------- CTA final y footer ---------- */
.final { text-align: center; padding: 90px 16px; background: radial-gradient(ellipse at center, rgba(222, 199, 79, .16), transparent 65%); }
.final h2 { font-size: clamp(28px, 4vw, 44px); }
.final p { color: var(--muted); margin: 12px 0 28px; }
.footer { background: #f3f3f3; color: #111; }
.footer__inner { max-width: var(--max); margin: 0 auto; padding: 50px 16px 30px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.footer h4 { color: #000; font-size: 14px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.footer p { margin: 0; font-size: 14px; color: #444; }
.footer a { display: block; font-size: 14px; color: #333; margin-bottom: 6px; }
.footer a:hover { color: #000; text-decoration: underline; }
.logo--footer { height: 90px; width: auto; margin-bottom: 14px; }
.footer__copy { text-align: center; font-size: 12px; color: #777; padding: 16px; border-top: 1px solid #ddd; margin: 0; }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 26px rgba(0, 0, 0, .45); animation: pulse 2.6s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5), 0 8px 26px rgba(0,0,0,.45); } 60% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 8px 26px rgba(0,0,0,.45); } }

/* ---------- Ventanas ---------- */
.modal { border: 1px solid var(--line); background: var(--card); color: var(--text); border-radius: 18px; padding: 0; width: min(880px, calc(100% - 24px)); max-height: calc(100% - 24px); overflow: auto; }
.modal::backdrop { background: rgba(0, 0, 0, .8); backdrop-filter: blur(4px); }
.modal__close { position: absolute; right: 10px; top: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .65); color: #fff; font-size: 26px; line-height: 1; }
.modal__body { display: grid; grid-template-columns: 1.1fr 1fr; }
.modal__body img { width: 100%; height: 100%; object-fit: cover; background: #eee; }
.modal__info { padding: 30px 26px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; justify-content: center; }
.modal__info h3 { font-size: 24px; }
.modal__info p { margin: 0; color: var(--muted); }
.modal__info .btn { margin-top: 12px; }
.modal--img { width: auto; max-width: min(460px, calc(100% - 24px)); background: #000; }
.modal--img img { max-height: calc(100vh - 40px); width: auto; margin: 0 auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1080px) {
  .menu-btn { display: flex; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: #000; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 12px 8px; font-size: 16px; border-radius: 8px; color: #fff; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
@media (max-width: 860px) {
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(2) { border-right: 0; }
  .trust__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .custom { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .wear { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .footer__inner { grid-template-columns: 1fr; }
  .modal__body { grid-template-columns: 1fr; }
  .modal__body img { aspect-ratio: 1 / 1; height: auto; }
}
@media (max-width: 640px) {
  .section { padding: 60px 16px; }
  /* En celular: foto arriba y el título debajo, para que se lea bien y se vean las pulseras */
  .hero { display: block; min-height: 0; }
  .hero__img { position: relative; height: 58vh; min-height: 360px; object-position: 50% 66%; }
  .hero__shade { bottom: auto; height: 58vh; min-height: 360px; background: linear-gradient(0deg, #000 0%, rgba(0,0,0,.4) 22%, rgba(0,0,0,0) 45%); }
  .hero__content { padding: 0 16px 44px; margin-top: -40px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card__body { padding: 10px 10px 12px; }
  .card__name { font-size: 14px; }
  .card__desc { display: none; }
  .card__btn { font-size: 12px; padding: 9px 8px; }
  .filters { justify-content: flex-start; flex-wrap: nowrap; margin-inline: -16px; padding-inline: 16px; }
  .charms { columns: 1; }
  .review { flex-basis: 70%; min-width: 0; }
  .logo img { height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
