/* ============ CapriMania Beauty Luxury — Blanco & Dorado ============ */
:root {
  --white: #ffffff;
  --ivory: #fbf8f2;
  --pearl: #f4eee3;
  --gold: #b89f5f;          /* dorado exacto del logo */
  --gold-2: #d8c591;
  --gold-3: #8c7638;
  --gold-grad: linear-gradient(135deg, #8c7638 0%, #b89f5f 35%, #e9dbb2 55%, #b89f5f 100%);
  --ink: #1d1d1b;           /* negro del logo */
  --ink-mute: #7a7065;
  --line: rgba(184, 159, 95, 0.32);
  --shadow: 0 18px 40px -18px rgba(140, 118, 56, 0.38);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
  --r: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--sans); font-weight: 300; color: var(--ink); background: var(--white); line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
em { font-style: italic; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Announce ---------- */
.announce { background: var(--ink); color: var(--gold-2); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; overflow: hidden; white-space: nowrap; padding: 9px 0; }
.announce-track { display: inline-flex; gap: 64px; animation: marquee 30s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 18px clamp(16px, 5vw, 64px); background: rgba(255,255,255,.75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: box-shadow .3s, padding .3s; }
.nav.scrolled { padding-top: 12px; padding-bottom: 12px; box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(0,0,0,.2); }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { height: 52px; width: auto; transition: transform .6s ease; }
.logo:hover .logo-icon { transform: rotate(-8deg) scale(1.05); }
.logo-name { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: .9rem; letter-spacing: .06em; }
.nav-links a:not(.btn) { position: relative; padding: 4px 0; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .35s; }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.menu-btn { display: none; width: 40px; height: 40px; position: relative; }
.menu-btn span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--ink); transition: transform .3s, top .3s; }
.menu-btn span:first-child { top: 15px; } .menu-btn span:last-child { top: 24px; }
.menu-btn.open span:first-child { top: 19px; transform: rotate(45deg); }
.menu-btn.open span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 30px; border-radius: 999px; font-size: .85rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; transition: transform .3s, box-shadow .3s, background-position .6s; }
.btn-gold { background: var(--gold-grad); background-size: 200% 100%; color: var(--white); box-shadow: var(--shadow); }
.btn-gold:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 22px 40px -16px rgba(140,118,56,.55); }
.btn-ghost { border: 1px solid var(--gold); color: var(--gold-3); }
.btn-ghost:hover { background: var(--gold); color: var(--white); transform: translateY(-2px); }
.btn-sm { padding: 10px 22px; font-size: .75rem; }
.btn-full { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 88vh; display: grid; place-items: center; text-align: center; padding: 80px 20px 60px; background: radial-gradient(ellipse at 50% 0%, var(--pearl), var(--white) 65%); overflow: hidden; }
.hero-ornament { position: absolute; width: min(760px, 120vw); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line); top: 50%; left: 50%; transform: translate(-50%, -50%); animation: spin 80s linear infinite; }
.hero-ornament::before, .hero-ornament::after { content: ""; position: absolute; border-radius: 50%; border: 1px dashed var(--line); inset: 60px; }
.hero-ornament::after { inset: -60px; border-style: solid; opacity: .5; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hero-inner { position: relative; max-width: 820px; }
.hero-emblem { width: clamp(70px, 10vw, 104px); height: auto; margin: 0 auto 26px; filter: drop-shadow(0 14px 22px rgba(140,118,56,.28)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -8px; } }
.eyebrow { font-size: .78rem; letter-spacing: .4em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; }
h1 { font-size: clamp(2.8rem, 8vw, 6rem); margin-bottom: 24px; }
.hero-sub { font-size: clamp(1rem, 2vw, 1.15rem); color: var(--ink-mute); max-width: 560px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats { list-style: none; display: flex; justify-content: center; gap: clamp(24px, 6vw, 70px); margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--line); }
.hero-stats strong { display: block; font-family: var(--serif); font-size: 2.2rem; font-weight: 500; color: var(--gold-3); }
.hero-stats span { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-mute); }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 10vw, 120px) clamp(16px, 5vw, 64px); }
.section-tint { background: var(--ivory); }
.section-head { text-align: center; margin-bottom: 50px; }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.divider { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); margin-top: 18px; font-size: .9rem; }
.divider span { width: 60px; height: 1px; background: var(--gold); opacity: .6; }

/* ---------- Tabs & services ---------- */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.tab { padding: 10px 22px; border-radius: 999px; border: 1px solid var(--line); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); transition: all .3s; }
.tab:hover { border-color: var(--gold); color: var(--gold-3); }
.tab.is-active { background: var(--ink); color: var(--gold-2); border-color: var(--ink); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; max-width: 1200px; margin: 0 auto; }
.service { position: relative; padding: 34px 28px 28px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); transition: transform .4s, box-shadow .4s, border-color .4s; display: flex; flex-direction: column; animation: fadeUp .5s both; }
.service::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--gold-grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service:hover::before { opacity: 1; }
.service.hidden { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
.service-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; background: var(--ivory); border: 1px solid var(--line); margin-bottom: 20px; }
.service h3 { font-size: 1.55rem; margin-bottom: 10px; }
.service p { font-size: .93rem; color: var(--ink-mute); flex: 1; }
.service-foot { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 0 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.price { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--gold-3); }
.time { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.service .add-btn { align-self: flex-start; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-3); border-bottom: 1px solid var(--gold); padding-bottom: 2px; transition: letter-spacing .3s; }
.service .add-btn:hover { letter-spacing: .24em; }

/* ---------- Countdown & promos ---------- */
.countdown { text-align: center; margin-bottom: 50px; }
.countdown p { color: var(--ink-mute); margin-bottom: 16px; letter-spacing: .06em; }
.cd-boxes { display: inline-flex; gap: 12px; }
.cd-boxes div { width: 82px; padding: 14px 0; border-radius: 14px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.cd-boxes strong { display: block; font-family: var(--serif); font-size: 2.2rem; font-weight: 600; line-height: 1; color: var(--gold-3); }
.cd-boxes span { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); }
.promos { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 26px; max-width: 1150px; margin: 0 auto; align-items: stretch; }
.promo { position: relative; overflow: hidden; padding: 44px 32px 34px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); text-align: center; display: flex; flex-direction: column; align-items: center; transition: transform .4s, box-shadow .4s; }
.promo:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.promo-featured { background: var(--ink); color: var(--white); border-color: var(--gold); transform: scale(1.03); }
.promo-featured:hover { transform: scale(1.03) translateY(-6px); }
.promo-featured p { color: rgba(255,255,255,.7) !important; }
.promo-featured del { color: rgba(255,255,255,.45) !important; }
.promo-featured strong { color: var(--gold-2) !important; }
.badge { display: inline-grid; place-items: center; width: 82px; height: 82px; border-radius: 50%; background: var(--gold-grad); color: var(--white); font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin-bottom: 22px; box-shadow: var(--shadow); }
.ribbon { position: absolute; top: 22px; right: -40px; transform: rotate(45deg); background: var(--gold-grad); color: var(--white); font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; padding: 6px 46px; }
.promo h3 { font-size: 1.9rem; margin-bottom: 10px; }
.promo p { color: var(--ink-mute); font-size: .95rem; flex: 1; }
.promo-price { margin: 22px 0 24px; display: flex; gap: 14px; align-items: baseline; }
.promo-price del { color: var(--ink-mute); font-size: 1.1rem; }
.promo-price strong { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: var(--gold-3); }
.fine { text-align: center; font-size: .8rem; color: var(--ink-mute); margin-top: 34px; }

/* ---------- New services carousel ---------- */
.new-wrap { position: relative; max-width: 1200px; margin: 0 auto; }
.new-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, calc((100% - 48px) / 3)); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 24px; scrollbar-width: none; }
.new-track::-webkit-scrollbar { display: none; }
.new-card { scroll-snap-align: start; position: relative; padding: 24px; border-radius: var(--r); background: var(--ivory); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .4s, box-shadow .4s; }
.new-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.new-tag { position: absolute; top: 18px; left: 18px; z-index: 2; background: var(--white); color: var(--gold-3); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--gold); }
.new-visual { height: 190px; border-radius: 12px; margin-bottom: 22px; display: grid; place-items: center; font-size: 3.4rem; color: var(--white); background-size: 200% 200%; animation: shimmer 8s ease-in-out infinite; }
.v1 { background-image: linear-gradient(135deg, #e9dbb2, #b89f5f, #f7f0de); }
.v2 { background-image: linear-gradient(135deg, #1d1d1b, #8c7638, #d8c591); }
.v3 { background-image: linear-gradient(135deg, #f7f0de, #d8c591, #8c7638); }
.v4 { background-image: linear-gradient(135deg, #b89f5f, #1d1d1b, #d8c591); }
@keyframes shimmer { 50% { background-position: 100% 100%; } }
.new-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.new-card p { font-size: .92rem; color: var(--ink-mute); flex: 1; }
.new-card .btn { align-self: flex-start; }
.arrow { position: absolute; top: 40%; z-index: 3; width: 48px; height: 48px; border-radius: 50%; background: var(--white); border: 1px solid var(--gold); color: var(--gold-3); font-size: 1.6rem; line-height: 1; box-shadow: var(--shadow); transition: background .3s, color .3s; }
.arrow:hover { background: var(--gold); color: var(--white); }
.arrow-prev { left: -22px; } .arrow-next { right: -22px; }

/* ---------- Quotes ---------- */
.quotes { position: relative; max-width: 760px; margin: 0 auto; text-align: center; min-height: 220px; }
.quote { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(10px); transition: opacity .6s, transform .6s; pointer-events: none; }
.quote.is-active { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.35; margin-bottom: 18px; }
.quote cite { font-style: normal; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.dots { display: flex; gap: 10px; justify-content: center; margin-top: 30px; }
.dots button { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--gold); transition: all .3s; }
.dots button.is-active { background: var(--gold); width: 28px; border-radius: 999px; }

/* ---------- Booking ---------- */
.book { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; padding: clamp(28px, 5vw, 60px); border-radius: 28px; background: var(--ivory); border: 1px solid var(--line); }
.book-copy p { color: var(--ink-mute); margin-top: 16px; }
.book-copy .eyebrow { color: var(--gold); margin: 0 0 14px; }
.contact-list { list-style: none; margin-top: 26px; display: grid; gap: 10px; font-size: .95rem; }
.book-form { display: grid; gap: 16px; background: var(--white); padding: clamp(22px, 4vw, 36px); border-radius: var(--r); box-shadow: var(--shadow); }
.book-form label { display: grid; gap: 6px; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-3); }
.book-form input, .book-form select, .book-form textarea { font: inherit; font-size: .95rem; letter-spacing: 0; text-transform: none; color: var(--ink); padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); outline: none; transition: border-color .3s, box-shadow .3s; width: 100%; }
.book-form input:focus, .book-form select:focus, .book-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184,159,95,.14); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.7); text-align: center; padding: 60px 20px 40px; display: grid; gap: 16px; justify-items: center; }
.logo-foot { width: 190px; height: auto; margin-bottom: 6px; }
.social { display: flex; gap: 26px; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); }
.social a:hover { color: var(--white); }
.footer small { font-size: .75rem; opacity: .6; }

/* ---------- Floating WA + toast ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: var(--white); box-shadow: var(--shadow); animation: pulse 2.6s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(184,159,95,.5); } 50% { box-shadow: 0 0 0 14px rgba(184,159,95,0); } }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); z-index: 70; background: var(--ink); color: var(--gold-2); padding: 12px 24px; border-radius: 999px; font-size: .88rem; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 22px; padding: 30px 20px 36px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.2); font-size: 1.15rem; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .35s, transform .35s, visibility .35s; }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .book { grid-template-columns: 1fr; }
  .new-track { grid-auto-columns: 78%; }
  .arrow { display: none; }
  .promo-featured, .promo-featured:hover { transform: none; }
}
@media (max-width: 520px) {
  .logo-icon { height: 40px; }
  .logo-name { height: 30px; }
  .hero-stats { gap: 18px; }
  .hero-stats strong { font-size: 1.6rem; }
  .cd-boxes div { width: 68px; }
  .row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .announce-track, .hero-ornament, .wa-float, .hero-emblem { animation: none; }
}

/* ---------- Carta de precios (catálogo real) ---------- */
.section-sub { color: var(--ink-mute); margin-top: 14px; font-size: .95rem; }
.menu-wrap { max-width: 1100px; margin: 0 auto; }
.menu-panel { padding: clamp(24px, 4vw, 48px); border-radius: 24px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); animation: fadeUp .5s both; }
.menu-panel.hidden { display: none; }
.menu-intro { display: flex; gap: 18px; align-items: center; padding-bottom: 24px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.menu-intro .service-icon { flex: none; margin: 0; }
.menu-intro h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.menu-intro p { color: var(--ink-mute); font-size: .93rem; }
.menu-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.menu-row { width: 100%; display: flex; align-items: baseline; gap: 10px; padding: 13px 6px; border-bottom: 1px dashed var(--line); text-align: left; border-radius: 6px; transition: background .25s, padding .25s; }
.menu-row:hover, .menu-row:focus-visible { background: var(--ivory); padding-left: 12px; outline: none; }
.menu-name { font-family: var(--serif); font-size: 1.18rem; font-weight: 500; line-height: 1.25; }
.menu-dots { flex: 1; min-width: 14px; border-bottom: 1px dotted var(--gold); opacity: .5; transform: translateY(-4px); }
.menu-price { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--gold-3); white-space: nowrap; }
.menu-price small, .price small { font-family: var(--sans); font-size: .72rem; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }
.menu-note { margin-top: 22px; font-size: .82rem; color: var(--ink-mute); font-style: italic; }
@media (max-width: 760px) {
  .menu-list { grid-template-columns: 1fr; }
  .tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding: 0 16px 6px; margin-left: -16px; margin-right: -16px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .menu-name { font-size: 1.05rem; }
}

/* detalle bajo el nombre del servicio */
.menu-name { display: flex; flex-direction: column; }
.menu-detail { font-family: var(--sans); font-size: .74rem; font-weight: 400; color: var(--ink-mute); letter-spacing: .02em; margin-top: 3px; line-height: 1.4; }
.new-prices { font-size: .8rem !important; color: var(--gold-3) !important; flex: none !important; margin: -6px 0 14px; }
.promo-ask { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--gold-3); }
.promo-featured .promo-ask { color: var(--gold-2); }
.badge { font-size: 1.15rem; }
