/* ============================================================
   Láser Natura Chueca — demo de renovación
   Identidad de la original conservada y modernizada:
   Cardo (serif editorial) + Inter · marfil/taupe/marrón + rosa láser
   Paleta 60-30-10: 60% marfil cálido · 30% marrón tinta/taupe · 10% rosa acento
   ============================================================ */

:root {
  --ivory: #f7f2ec;        /* 60 — fondo principal */
  --cream: #efe7dc;        /* banda suave */
  --sand: #e6dcd0;         /* banda alterna suave */
  --ink: #292522;          /* 30 — tinta marrón oscura (texto y bandas) */
  --ink-soft: #3d3733;
  --taupe: #968574;        /* acento grande / líneas */
  --taupe-ink: #6e5b4e;    /* acento de texto pequeño sobre claro (AA) */
  --rose: #c81e5b;         /* 10 — acento CTA (AA sobre blanco 5.5:1) */
  --rose-deep: #8d4d5d;
  --paper: #ffffff;
  --text: #332d29;
  --text-soft: #55493f;
  --line: #ddd8d2;
  --ok: #2e6b46;

  --serif: 'Cardo', 'Georgia', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --w: 1180px;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(41, 37, 34, .14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--rose-deep); }
a:hover { color: var(--rose); }

:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, .display { font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.12; }

.wrap { width: min(var(--w), 92%); margin-inline: auto; }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--taupe-ink);
  display: flex;
  align-items: center;
  gap: .75rem;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--taupe); flex: none; }
.eyebrow--light { color: #cbb9a8; }

.lede { font-size: 1.08rem; color: var(--text-soft); max-width: 56ch; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--rose); color: #fff; }
.btn--solid:hover { background: #a8164b; color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--ivory); }
.btn--light { background: var(--ivory); color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 242, 236, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}
.brand { display: flex; align-items: baseline; gap: .55rem; text-decoration: none; }
.brand .name { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); line-height: 1; }
.brand .loc {
  font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--taupe-ink); border: 1px solid var(--taupe); border-radius: 999px; padding: .18rem .6rem;
}
.nav-desktop { display: none; align-items: center; gap: 1.7rem; }
.nav-desktop a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav-desktop a:hover { color: var(--rose-deep); }
.nav-desktop .btn { min-height: 42px; padding: .5rem 1.2rem; }
.header-phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.header-phone svg { flex: none; }

.menu-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  background: none; border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer; padding: 0 .6rem;
}
.menu-btn span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--ivory);
  padding: 1rem 0 1.4rem;
}
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; }
.nav-mobile a { display: block; padding: .8rem 0; font-size: 1.05rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.nav-mobile .btn { margin-top: 1rem; width: 100%; }

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .menu-btn, .nav-mobile { display: none !important; }
}

/* ---------- Hero (split vertical editorial) ---------- */
.hero {
  display: grid;
  min-height: calc(100svh - 74px);
  grid-template-columns: 1fr;
}
.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.3rem;
  padding: 3.2rem 0 3rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  letter-spacing: -.01em;
}
.hero h1 em { font-style: italic; color: var(--rose-deep); }
.hero .lede { font-size: clamp(1.02rem, 1.5vw, 1.15rem); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .88rem; color: var(--taupe-ink); }
.hero__meta strong { color: var(--ink); font-weight: 600; }

.hero__media { position: relative; min-height: 62vw; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media .hero__badge {
  position: absolute;
  left: 0; bottom: 0;
  background: var(--ink);
  color: var(--ivory);
  padding: .9rem 1.4rem .9rem max(1.4rem, calc((100vw - var(--w)) / 2));
  font-size: .85rem;
  letter-spacing: .04em;
  border-top-right-radius: var(--radius);
}
.hero__media .hero__badge strong { color: #fff; }

@media (min-width: 900px) {
  .hero { grid-template-columns: 1.05fr .95fr; }
  .hero__text { padding-inline: max(1.5rem, calc((100vw - var(--w)) / 2)); padding-right: 3.5rem; }
  .hero__media { min-height: 0; }
  .hero__media img { position: absolute; }
}

/* ---------- Secciones / bandas a ancho completo ---------- */
.band { padding: clamp(3.4rem, 8vw, 6.5rem) 0; }
.band--cream { background: var(--cream); }
.band--ink { background: var(--ink); color: #e9e2da; }
.band--ink h2, .band--ink h3 { color: #fff; }
.band--ink .lede { color: #c9bfb4; }

.section-head { display: grid; gap: .8rem; margin-bottom: clamp(2rem, 5vw, 3.4rem); max-width: 760px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--taupe); }

/* Sellos de confianza */
.sellos { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
@media (min-width: 760px) { .sellos { grid-template-columns: repeat(3, 1fr); } }
.sello { background: var(--ivory); padding: 1.6rem 1.4rem; display: flex; gap: 1rem; align-items: flex-start; }
.sello svg { flex: none; margin-top: .15rem; }
.sello h3 { font-family: var(--sans); font-size: .98rem; font-weight: 600; }
.sello p { font-size: .9rem; color: var(--text-soft); }

/* ---------- Servicios: bandas verticales alternas (protagonista) ---------- */
.svc-band {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--ivory);
}
.svc-band:nth-of-type(even) { background: var(--cream); }
.svc-band__text, .svc-band__media { min-width: 0; }
.svc-band__text { padding: clamp(2.6rem, 6vw, 5rem) 0; display: flex; flex-direction: column; justify-content: center; gap: 1.1rem; }
.svc-band__text .num {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 7vw, 5.4rem);
  line-height: 1;
  color: var(--sand);
  -webkit-text-stroke: 1px var(--taupe);
  color: transparent;
}
.svc-band__text h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.svc-band__text p { color: var(--text-soft); max-width: 52ch; }
.svc-band__list { list-style: none; display: grid; gap: .45rem; }
.svc-band__list li { position: relative; padding-left: 1.5rem; color: var(--text-soft); font-size: .97rem; }
.svc-band__list li::before { content: ""; position: absolute; left: 0; top: .58em; width: 9px; height: 9px; border-radius: 50%; background: var(--rose); }
.svc-band__media { position: relative; min-height: 300px; }
.svc-band__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .svc-band { grid-template-columns: 1fr 1fr; }
  .svc-band--flip .svc-band__text { order: 1; padding-left: clamp(2.5rem, 5vw, 5rem); }
  .svc-band--flip .svc-band__media { order: 2; }
  .svc-band:not(.svc-band--flip) .svc-band__text { padding-right: clamp(2.5rem, 5vw, 5rem); padding-left: max(1.5rem, calc((100vw - var(--w)) / 2)); }
  .svc-band--flip .svc-band__text { padding-right: max(1.5rem, calc((100vw - var(--w)) / 2)); }
  .svc-band__text { padding-inline: max(1.5rem, calc((100vw - var(--w)) / 2)); }
}

/* CTA intermedia */
.cta-mid { background: var(--ink); color: #e9e2da; }
.cta-mid .inner {
  display: grid; gap: 1.6rem; justify-items: start;
  padding: clamp(2.8rem, 6vw, 4.5rem) 0;
}
.cta-mid h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); color: #fff; max-width: 22ch; }
.cta-mid p { color: #c9bfb4; max-width: 52ch; }
.cta-mid .row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Reseñas */
.reviews { display: grid; gap: 1.2rem; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review {
  background: var(--ink-soft);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.review .stars { color: #e8b34b; letter-spacing: .18em; font-size: .9rem; }
.review blockquote { font-size: .98rem; color: #efe7dd; line-height: 1.6; }
.review cite { font-style: normal; font-size: .82rem; color: #b3a698; display: flex; align-items: center; gap: .5rem; }
.review cite svg { flex: none; }

/* CTA final con foto */
.cta-final { display: grid; grid-template-columns: 1fr; background: var(--sand); }
.cta-final__text { padding: clamp(2.8rem, 6vw, 5rem) 0; display: flex; flex-direction: column; gap: 1.2rem; justify-content: center; }
.cta-final__text h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.cta-final__text p { color: var(--text-soft); max-width: 50ch; }
.cta-final__media { position: relative; min-height: 320px; }
.cta-final__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .cta-final { grid-template-columns: 1.1fr .9fr; } .cta-final__text { padding-inline: max(1.5rem, calc((100vw - var(--w)) / 2)); padding-right: 4rem; } }

/* ---------- Página tratamientos ---------- */
.page-head { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem); }
.page-head h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); max-width: 18ch; }
.page-head .lede { margin-top: 1rem; }
.crumbs { font-size: .85rem; color: var(--taupe-ink); margin-bottom: 1.4rem; display: flex; gap: .5rem; align-items: center; }
.crumbs a { color: var(--taupe-ink); }

.cat-band { border-top: 1px solid var(--line); }
.cat-band:last-of-type { border-bottom: 1px solid var(--line); }

/* Cómo funciona */
.steps { display: grid; gap: 1rem; counter-reset: paso; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.step .n { font-family: var(--serif); font-size: 2.2rem; color: var(--taupe); display: block; margin-bottom: .5rem; }
.step h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.step p { font-size: .93rem; color: var(--text-soft); }

.nota { font-size: .88rem; color: var(--taupe-ink); font-style: italic; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; gap: 2.4rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; } }

.data-card { display: grid; gap: 1.4rem; align-content: start; }
.data-item { display: flex; gap: 1rem; align-items: flex-start; }
.data-item .ico {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--cream); display: grid; place-items: center; color: var(--rose-deep);
}
.data-item h3 { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe-ink); margin-bottom: .2rem; }
.data-item p, .data-item a { color: var(--text); text-decoration: none; font-size: 1rem; }
.data-item a:hover { color: var(--rose-deep); text-decoration: underline; }
.data-item .muted { color: var(--text-soft); font-size: .92rem; }

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.5rem; margin-bottom: .4rem; }
.form-card > p { font-size: .93rem; color: var(--text-soft); margin-bottom: 1.4rem; }
.grid2 { display: grid; gap: 1rem; }
@media (min-width: 640px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .35rem; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .97rem; color: var(--text);
  background: var(--ivory); border: 1px solid var(--line); border-radius: 10px;
  padding: .8rem .9rem; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--rose); outline-offset: 1px; border-color: var(--rose); }
.field textarea { resize: vertical; min-height: 110px; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .85rem; color: var(--text-soft); }
.consent input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--rose); flex: none; }
.form-note { font-size: .82rem; color: var(--taupe-ink); }
.form-ok {
  display: none; gap: .8rem; align-items: flex-start;
  background: #e9f3ec; border: 1px solid #bcd8c5; color: var(--ok);
  border-radius: 10px; padding: 1rem 1.1rem; margin-top: 1rem;
}
.form-ok.show { display: flex; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfc5ba; }
.site-footer a { color: #efe7dd; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; gap: 2.2rem; padding: clamp(2.6rem, 6vw, 4.2rem) 0; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer .brand .name { color: #fff; }
.site-footer .brand .loc { color: #cbb9a8; border-color: #5a5148; }
.site-footer h3 { font-family: var(--sans); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: #a3937f; margin-bottom: .9rem; }
.site-footer ul { list-style: none; display: grid; gap: .5rem; font-size: .95rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.2rem 0 1.4rem; font-size: .82rem; color: #a3937f; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; justify-content: space-between; }

/* ---------- CTA sticky móvil ---------- */
.cta-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--ink); border-top: 1px solid rgba(255,255,255,.15);
}
.cta-sticky a {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 56px; font-weight: 600; font-size: .95rem; text-decoration: none;
}
.cta-sticky .t1 { background: var(--ink); color: #fff; }
.cta-sticky .t2 { background: var(--rose); color: #fff; }
@media (min-width: 900px) { .cta-sticky { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 56px; } }

/* ---------- Animaciones de scroll (respetan reduced-motion) ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .btn--solid { transition: none; }
}
