/* ==========================================================================
   INTISSAR BEAUTY — Sistema de diseño v2
   Centro de estética premium · Barrio de Salamanca, Madrid
   «El triunfo de tu belleza.»

   Reglas de marca aplicadas:
   · Fondos claros y mucho aire. El rosa oro es ACENTO, nunca fondo saturado.
   · Titulares en serif de alto contraste (Cormorant Garamond).
   · Texto en sans humanista (Montserrat), peso ligero, interlineado generoso.
   · Arcos boutique para encuadrar fotografía de tratamiento.
   · Geometría islámica al 5-10 % de opacidad. Nunca estampado protagonista.
   · Nunca degradado violeta-azul genérico.

   Accesibilidad: todos los pares texto/fondo de este archivo cumplen
   WCAG 2.2 AA (>=4.5:1 texto normal, >=3:1 texto grande y controles).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Paleta de marca */
  --ib-rose:            #B76E79;  /* rosa oro — SOLO decorativo o texto grande */
  --ib-rose-ink:        #8B4D57;  /* rosa oro accesible — texto y botones (5.4:1) */
  --ib-rose-deep:       #7A414A;  /* hover de botón */
  --ib-rose-light:      #E8C4C4;
  --ib-champagne:       #F5E6E0;
  --ib-cream:           #FBF1EF;
  --ib-canvas:          #FAF7F5;
  --ib-ink:             #2E2A28;  /* texto principal (13.8:1 sobre canvas) */
  --ib-ink-soft:        #5C5350;  /* texto secundario (7.1:1 sobre canvas) */
  --ib-gold:            #C9A227;
  --ib-gold-ink:        #8A6E12;  /* dorado accesible para texto (4.9:1) */
  --ib-burgundy:        #8E4B57;
  --ib-line:            #EFE0DC;
  --ib-line-strong:     #E0C9C5;
  --ib-white:           #FFFFFF;

  /* Estados */
  --ib-whatsapp:        #0F7A45;  /* verde accesible (5.1:1 con blanco) */
  --ib-whatsapp-hover:  #0B5E35;

  /* Tipografía */
  --ib-serif: "Cormorant Garamond", "Times New Roman", serif;
  --ib-sans:  "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Escala fluida */
  --ib-step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.90rem);
  --ib-step-0:  clamp(1.00rem, 0.96rem + 0.18vw, 1.09rem);
  --ib-step-1:  clamp(1.20rem, 1.12rem + 0.38vw, 1.44rem);
  --ib-step-2:  clamp(1.50rem, 1.34rem + 0.78vw, 2.03rem);
  --ib-step-3:  clamp(1.90rem, 1.60rem + 1.45vw, 2.88rem);
  --ib-step-4:  clamp(2.40rem, 1.86rem + 2.60vw, 4.05rem);

  /* Espaciado */
  --ib-gap-xs: 0.5rem;
  --ib-gap-s:  1rem;
  --ib-gap-m:  1.75rem;
  --ib-gap-l:  3rem;
  --ib-gap-xl: clamp(3.5rem, 2rem + 6vw, 7rem);

  /* Formas */
  --ib-radius:      4px;
  --ib-radius-soft: 12px;
  --ib-arch:        50vw 50vw 0 0 / 34% 34% 0 0; /* arco boutique */

  --ib-shadow-s: 0 1px 2px rgba(46,42,40,.05), 0 4px 14px rgba(139,77,87,.06);
  --ib-shadow-m: 0 2px 6px rgba(46,42,40,.06), 0 18px 44px rgba(139,77,87,.10);

  --ib-maxw: 1200px;
  --ib-maxw-prose: 68ch;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--ib-canvas);
  color: var(--ib-ink);
  font-family: var(--ib-sans);
  font-size: var(--ib-step-0);
  font-weight: 400;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--ib-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: .005em;
  color: var(--ib-ink);
  margin: 0 0 var(--ib-gap-s);
  text-wrap: balance;
}
h1 { font-size: var(--ib-step-4); font-weight: 400; }
h2 { font-size: var(--ib-step-3); font-weight: 400; }
h3 { font-size: var(--ib-step-2); }
h4 { font-size: var(--ib-step-1); }

p { margin: 0 0 var(--ib-gap-s); max-width: var(--ib-maxw-prose); text-wrap: pretty; }

a { color: var(--ib-rose-ink); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--ib-rose-deep); }

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

/* Foco visible: obligatorio, nunca outline:none sin alternativa */
:focus-visible {
  outline: 3px solid var(--ib-rose-ink);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Salto al contenido — WCAG 2.4.1 */
.ib-skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ib-ink); color: var(--ib-white);
  padding: .85rem 1.4rem; font-size: var(--ib-step--1);
  font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.ib-skip:focus { left: .5rem; top: .5rem; color: var(--ib-white); }

.ib-visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   3. Estructura
   -------------------------------------------------------------------------- */
.ib-wrap { width: min(100% - 2.5rem, var(--ib-maxw)); margin-inline: auto; }
.ib-section { padding-block: var(--ib-gap-xl); }
.ib-section--cream { background: var(--ib-cream); }
.ib-section--champagne { background: var(--ib-champagne); }

/* Cenefa de geometría islámica al 6 % — estrella de ocho puntas */
.ib-pattern { position: relative; isolation: isolate; }
.ib-pattern::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23B76E79' stroke-width='1'%3E%3Cpath d='M30 4l7.4 11.2L50 8.6l-6.6 12.6L56 30l-12.6 8.8L50 51.4l-12.6-6.6L30 56l-7.4-11.2L10 51.4l6.6-12.6L4 30l12.6-8.8L10 8.6l12.6 6.6z'/%3E%3C/g%3E%3C/svg%3E");
}

.ib-eyebrow {
  font-family: var(--ib-sans);
  font-size: var(--ib-step--1);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ib-rose-ink);
  margin: 0 0 var(--ib-gap-xs);
}
.ib-eyebrow::after {
  content: ""; display: block; width: 2.5rem; height: 1px;
  background: var(--ib-gold); margin-top: .6rem;
}
.ib-section--center .ib-eyebrow::after { margin-inline: auto; }
.ib-section--center { text-align: center; }
.ib-section--center p { margin-inline: auto; }

.ib-lede {
  font-size: var(--ib-step-1);
  font-weight: 300;
  color: var(--ib-ink-soft);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   4. Botones
   -------------------------------------------------------------------------- */
.ib-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 2rem;
  font-family: var(--ib-sans);
  font-size: var(--ib-step--1);
  font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: var(--ib-radius);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
  min-height: 48px; /* objetivo táctil WCAG 2.5.8 */
}
.ib-btn:hover { transform: translateY(-1px); }

.ib-btn--primary { background: var(--ib-rose-ink); color: var(--ib-white); }
.ib-btn--primary:hover { background: var(--ib-rose-deep); color: var(--ib-white); }

.ib-btn--ghost { background: transparent; color: var(--ib-ink); border-color: var(--ib-line-strong); }
.ib-btn--ghost:hover { background: var(--ib-white); border-color: var(--ib-rose-ink); color: var(--ib-rose-deep); }

.ib-btn--wa { background: var(--ib-whatsapp); color: var(--ib-white); }
.ib-btn--wa:hover { background: var(--ib-whatsapp-hover); color: var(--ib-white); }

.ib-btn--light { background: var(--ib-white); color: var(--ib-rose-ink); }
.ib-btn--light:hover { background: var(--ib-champagne); color: var(--ib-rose-deep); }

.ib-btn-ico { width: 1.05em; height: 1.05em; fill: currentColor; flex: none; }
.ib-btn-row { display: flex; flex-wrap: wrap; gap: var(--ib-gap-s); }
.ib-section--center .ib-btn-row { justify-content: center; }

/* --------------------------------------------------------------------------
   5. Cabecera
   -------------------------------------------------------------------------- */
.ib-topbar {
  background: var(--ib-ink); color: var(--ib-champagne);
  font-size: var(--ib-step--1); letter-spacing: .04em;
}
.ib-topbar .ib-wrap {
  display: flex; flex-wrap: wrap; gap: var(--ib-gap-s);
  align-items: center; justify-content: center;
  padding-block: .55rem; text-align: center;
}
@media (max-width: 700px) {
  .ib-topbar [data-topbar-secondary] { display: none; }
  .ib-topbar .ib-wrap { padding-block: .45rem; }
}
.ib-topbar a { color: var(--ib-champagne); text-decoration: underline; }
.ib-topbar a:hover { color: var(--ib-white); }

.ib-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 245, .94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--ib-line);
}
.ib-header .ib-wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--ib-gap-s); padding-block: .9rem;
}
.ib-logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.ib-logo img { height: 48px; width: auto; }
@media (max-width: 480px) { .ib-logo img { height: 38px; } }

.ib-nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.ib-nav a {
  font-size: var(--ib-step--1); font-weight: 500; letter-spacing: .07em;
  text-transform: uppercase; color: var(--ib-ink); text-decoration: none;
  padding-block: .4rem; border-bottom: 1px solid transparent;
}
.ib-nav a:hover, .ib-nav a[aria-current="page"] {
  color: var(--ib-rose-ink); border-bottom-color: var(--ib-rose-ink);
}

.ib-burger {
  display: none; background: none; border: 1px solid var(--ib-line-strong);
  border-radius: var(--ib-radius); padding: .6rem .8rem; cursor: pointer;
  min-height: 48px; min-width: 48px; color: var(--ib-ink);
}
.ib-burger-bar { display: block; width: 20px; height: 2px; background: currentColor; margin: 4px 0; }

@media (max-width: 940px) {
  .ib-burger { display: block; }
  .ib-nav {
    display: none; position: absolute; inset-inline: 0; top: 100%;
    background: var(--ib-canvas); border-bottom: 1px solid var(--ib-line);
    box-shadow: var(--ib-shadow-m);
  }
  .ib-nav[data-open="true"] { display: block; }
  .ib-nav ul { flex-direction: column; gap: 0; padding: var(--ib-gap-s) 1.25rem var(--ib-gap-m); }
  .ib-nav li + li { border-top: 1px solid var(--ib-line); }
  .ib-nav a { display: block; padding: .95rem 0; border-bottom: 0; }
  .ib-header-cta { display: none; }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.ib-hero { background: var(--ib-cream); overflow: hidden; }
.ib-hero .ib-wrap {
  display: grid; gap: var(--ib-gap-l); align-items: center;
  grid-template-columns: 1fr; padding-block: var(--ib-gap-xl);
}
@media (min-width: 900px) {
  .ib-hero .ib-wrap { grid-template-columns: 1.02fr .98fr; gap: var(--ib-gap-xl); }
}
.ib-hero h1 { margin-bottom: var(--ib-gap-s); }
.ib-hero .ib-lede { max-width: 46ch; }

/* Arco boutique: medio punto arriba, recto abajo */
.ib-arch {
  position: relative;
  border-radius: var(--ib-arch);
  overflow: hidden;
  box-shadow: var(--ib-shadow-m);
  background: var(--ib-champagne);
}
.ib-arch img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.ib-arch::after {
  content: ""; position: absolute; inset: 10px;
  border: 1px solid rgba(201, 162, 39, .45);
  border-radius: var(--ib-arch);
  pointer-events: none;
}

.ib-hero-badges {
  display: flex; flex-wrap: wrap; gap: 1.4rem;
  margin-top: var(--ib-gap-m); padding-top: var(--ib-gap-m);
  border-top: 1px solid var(--ib-line-strong);
  list-style: none; padding-inline: 0;
}
.ib-hero-badges li { font-size: var(--ib-step--1); color: var(--ib-ink-soft); }
.ib-hero-badges strong {
  display: block; font-family: var(--ib-serif); font-size: 1.7rem;
  color: var(--ib-rose-ink); font-weight: 600; line-height: 1.1;
}

/* --------------------------------------------------------------------------
   7. Rejilla de tarjetas
   -------------------------------------------------------------------------- */
.ib-grid { display: grid; gap: var(--ib-gap-m); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.ib-grid--2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

.ib-card {
  display: flex; flex-direction: column;
  background: var(--ib-white);
  border: 1px solid var(--ib-line);
  border-radius: var(--ib-radius-soft);
  overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.ib-card:hover { box-shadow: var(--ib-shadow-m); transform: translateY(-3px); border-color: var(--ib-line-strong); }
.ib-card-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--ib-champagne); }
.ib-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ib-card:hover .ib-card-media img { transform: scale(1.035); }
.ib-card-body { padding: var(--ib-gap-m); display: flex; flex-direction: column; flex: 1; }
.ib-card-body h3 { margin-bottom: .5rem; }
.ib-card-body p { color: var(--ib-ink-soft); font-size: var(--ib-step--1); flex: 1; }
.ib-card-foot {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--ib-gap-s);
  margin-top: var(--ib-gap-s); padding-top: var(--ib-gap-s);
  border-top: 1px solid var(--ib-line);
}
.ib-price { font-family: var(--ib-serif); font-size: 1.5rem; color: var(--ib-rose-ink); font-weight: 600; }
.ib-price small { font-family: var(--ib-sans); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ib-ink-soft); font-weight: 600; }
.ib-card-link { font-size: var(--ib-step--1); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.ib-card-link::after { content: " →"; }

/* --------------------------------------------------------------------------
   8. Bloque alterno imagen/texto
   -------------------------------------------------------------------------- */
.ib-split { display: grid; gap: var(--ib-gap-l); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 880px) {
  .ib-split { grid-template-columns: 1fr 1fr; gap: var(--ib-gap-xl); }
  .ib-split--reverse .ib-split-media { order: 2; }
}
.ib-split-media { border-radius: var(--ib-radius-soft); overflow: hidden; box-shadow: var(--ib-shadow-m); }
.ib-split-media img { width: 100%; }

/* --------------------------------------------------------------------------
   9. Tabla de tarifas
   -------------------------------------------------------------------------- */
.ib-table-scroll { overflow-x: auto; border: 1px solid var(--ib-line); border-radius: var(--ib-radius-soft); background: var(--ib-white); }
.ib-table { width: 100%; border-collapse: collapse; font-size: var(--ib-step--1); min-width: 520px; }
.ib-table caption {
  text-align: left; padding: var(--ib-gap-m) var(--ib-gap-m) .5rem;
  font-family: var(--ib-serif); font-size: var(--ib-step-2); color: var(--ib-ink);
}
.ib-table th, .ib-table td { padding: .9rem 1.1rem; text-align: left; border-bottom: 1px solid var(--ib-line); }
.ib-table thead th {
  background: var(--ib-champagne); color: var(--ib-ink);
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.ib-table tbody tr:last-child td { border-bottom: 0; }
.ib-table tbody tr:hover { background: var(--ib-cream); }
.ib-table td:last-child, .ib-table th:last-child { text-align: right; }
.ib-table .ib-num { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ib-ink); white-space: nowrap; }
.ib-table .ib-num--offer { color: var(--ib-rose-ink); }

/* -------------------------------------------------------------------------
   10. Testimonios
   ------------------------------------------------------------------------- */
.ib-quote {
  background: var(--ib-white); border: 1px solid var(--ib-line);
  border-radius: var(--ib-radius-soft); padding: var(--ib-gap-m);
  display: flex; flex-direction: column; gap: var(--ib-gap-s);
}
.ib-quote blockquote { margin: 0; font-family: var(--ib-serif); font-size: var(--ib-step-1); line-height: 1.5; color: var(--ib-ink); }
.ib-quote figcaption { font-size: var(--ib-step--1); color: var(--ib-ink-soft); font-weight: 600; letter-spacing: .04em; }
.ib-stars { color: var(--ib-gold-ink); letter-spacing: .18em; font-size: .95rem; }

/* -------------------------------------------------------------------------
   11. Banner de conversión
   ------------------------------------------------------------------------- */
.ib-banner { position: relative; overflow: hidden; border-radius: var(--ib-radius-soft); isolation: isolate; }
.ib-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ib-banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(46,42,40,.82) 0%, rgba(46,42,40,.62) 46%, rgba(46,42,40,.18) 100%);
}
.ib-banner-body { padding: clamp(2.5rem, 5vw, 4.5rem); max-width: 34rem; color: var(--ib-white); }
.ib-banner-body h2, .ib-banner-body h3 { color: var(--ib-white); }
.ib-banner-body p { color: #F3E9E6; }
.ib-banner-body .ib-eyebrow { color: var(--ib-rose-light); }
.ib-banner-body .ib-eyebrow::after { background: var(--ib-rose-light); }

/* -------------------------------------------------------------------------
   12. FAQ
   ------------------------------------------------------------------------- */
.ib-faq { border-top: 1px solid var(--ib-line); }
.ib-faq details { border-bottom: 1px solid var(--ib-line); }
.ib-faq summary {
  cursor: pointer; list-style: none; padding: 1.25rem 2.5rem 1.25rem 0;
  font-family: var(--ib-serif); font-size: var(--ib-step-1); color: var(--ib-ink);
  position: relative;
}
.ib-faq summary::-webkit-details-marker { display: none; }
.ib-faq summary::after {
  content: "+"; position: absolute; right: .4rem; top: 50%; transform: translateY(-50%);
  font-family: var(--ib-sans); font-size: 1.5rem; font-weight: 300; color: var(--ib-rose-ink);
}
.ib-faq details[open] summary::after { content: "–"; }
.ib-faq details > div { padding: 0 2.5rem 1.5rem 0; color: var(--ib-ink-soft); }
.ib-faq details > div p:last-child { margin-bottom: 0; }

/* -------------------------------------------------------------------------
   13. Pie
   ------------------------------------------------------------------------- */
.ib-footer { background: var(--ib-ink); color: #D9CFCB; padding-block: var(--ib-gap-xl) var(--ib-gap-m); }
.ib-footer h2, .ib-footer h3 { color: var(--ib-white); font-size: var(--ib-step-1); }
.ib-footer a { color: #E6DAD6; }
.ib-footer a:hover { color: var(--ib-white); }
.ib-footer-grid { display: grid; gap: var(--ib-gap-l); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.ib-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.ib-footer address { font-style: normal; }
.ib-footer-bottom {
  margin-top: var(--ib-gap-l); padding-top: var(--ib-gap-m);
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: var(--ib-gap-s); justify-content: space-between;
  font-size: var(--ib-step--1); color: #B9ADA9;
}
.ib-footer-bottom a { color: #B9ADA9; }
.ib-social { display: flex; gap: .75rem; }
.ib-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%; text-decoration: none;
}
.ib-social a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.45); }
.ib-social svg { width: 18px; height: 18px; fill: currentColor; }

/* -------------------------------------------------------------------------
   14. WhatsApp flotante
   ------------------------------------------------------------------------- */
.ib-wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60;
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--ib-whatsapp); color: var(--ib-white);
  padding: .85rem 1.25rem; border-radius: 999px;
  font-size: var(--ib-step--1); font-weight: 600; letter-spacing: .04em;
  text-decoration: none; box-shadow: 0 6px 24px rgba(15,122,69,.32);
  min-height: 48px;
}
.ib-wa-float:hover { background: var(--ib-whatsapp-hover); color: var(--ib-white); }
.ib-wa-float svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
@media (max-width: 560px) { .ib-wa-float span { display: none; } .ib-wa-float { padding: .95rem; } }

/* -------------------------------------------------------------------------
   15. Utilidades
   ------------------------------------------------------------------------- */
.ib-note {
  font-size: var(--ib-step--1); color: var(--ib-ink-soft);
  border-left: 2px solid var(--ib-gold); padding-left: var(--ib-gap-s);
  max-width: var(--ib-maxw-prose);
}
.ib-chiplist { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; margin: 0 0 var(--ib-gap-s); padding: 0; }
.ib-chiplist li {
  font-size: var(--ib-step--1); background: var(--ib-champagne); color: var(--ib-ink);
  border-radius: 999px; padding: .35rem 1rem; border: 1px solid var(--ib-line-strong);
}
.ib-ticklist { list-style: none; margin: 0 0 var(--ib-gap-s); padding: 0; display: grid; gap: .7rem; }
.ib-ticklist li { position: relative; padding-left: 1.9rem; color: var(--ib-ink-soft); }
.ib-ticklist li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 10px; height: 6px; border-left: 1.5px solid var(--ib-rose-ink);
  border-bottom: 1.5px solid var(--ib-rose-ink); transform: rotate(-45deg);
}
.ib-steps { counter-reset: ibstep; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--ib-gap-m); }
.ib-steps li { counter-increment: ibstep; position: relative; padding-left: 3.6rem; }
.ib-steps li::before {
  content: counter(ibstep); position: absolute; left: 0; top: 0;
  width: 2.6rem; height: 2.6rem; display: grid; place-items: center;
  border: 1px solid var(--ib-gold); border-radius: 50%;
  font-family: var(--ib-serif); font-size: 1.15rem; color: var(--ib-rose-ink);
}
.ib-steps h3 { font-size: var(--ib-step-1); margin-bottom: .25rem; }
.ib-steps p { color: var(--ib-ink-soft); font-size: var(--ib-step--1); margin: 0; }

hr.ib-rule { border: 0; border-top: 1px solid var(--ib-line-strong); margin-block: var(--ib-gap-l); }

/* Cuerpo de artículo: ritmo vertical y medida de lectura cómoda */
.ib-prose > p,
.ib-prose > ul,
.ib-prose > div { max-width: 68ch; }
.ib-prose > h2 {
  margin-top: 2.75rem; margin-bottom: .75rem;
  font-size: var(--ib-step-2); max-width: 30ch;
}
.ib-prose > h2 + p { font-size: 1.06em; color: var(--ib-ink); }
.ib-prose > p:first-child {
  font-size: var(--ib-step-1); font-weight: 300;
  color: var(--ib-ink-soft); line-height: 1.6;
  border-left: 2px solid var(--ib-gold); padding-left: var(--ib-gap-m);
}
.ib-prose > .ib-table-scroll { margin-block: var(--ib-gap-m); }
.ib-prose > ul.ib-ticklist { margin-block: var(--ib-gap-s) var(--ib-gap-m); }
.ib-prose strong { font-weight: 600; color: var(--ib-ink); }

/* Impresión */
@media print {
  .ib-header, .ib-topbar, .ib-wa-float, .ib-footer, .ib-skip { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------------------------------------------------------------------------
   Reseñas — la ficha ya trae .ib-quote y .ib-stars; sólo el pie de la cita
   --------------------------------------------------------------------------- */
.ib-quote figcaption span { font-weight: 400; color: var(--ib-ink-soft); }

/* ---------------------------------------------------------------------------
   Formulario de bienvenida
   --------------------------------------------------------------------------- */
.ib-form {
  background: var(--ib-white);
  border: 1px solid var(--ib-line);
  border-radius: var(--ib-radius-soft);
  padding: var(--ib-gap-m);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ib-field { display: flex; flex-direction: column; gap: .4rem; }

.ib-field label {
  font-family: var(--ib-sans);
  font-size: var(--ib-step--1);
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ib-ink);
}

.ib-field input {
  font: inherit;
  color: var(--ib-ink);
  background: var(--ib-white);
  border: 1px solid var(--ib-line-strong);
  border-radius: 10px;
  padding: .8rem .9rem;
  width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.ib-field input::placeholder { color: #9C8A8D; }

.ib-field input:hover { border-color: var(--ib-rose-ink); }

.ib-field input:focus-visible {
  outline: none;
  border-color: var(--ib-rose-ink);
  box-shadow: 0 0 0 3px rgba(139, 77, 87, .18);
}

.ib-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .65rem;
  align-items: start;
  font-size: var(--ib-step--1);
  color: var(--ib-ink-soft);
  line-height: 1.5;
}

.ib-consent input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: .15rem;
  accent-color: var(--ib-rose-ink);
}

.ib-consent a { color: var(--ib-rose-ink); text-underline-offset: 3px; }

.ib-form button { width: 100%; justify-content: center; }

.ib-form-msg {
  margin: 0;
  font-size: var(--ib-step--1);
  line-height: 1.5;
  min-height: 1.2em;
}

.ib-form-msg.is-ok    { color: var(--ib-whatsapp); font-weight: 600; }
.ib-form-msg.is-error { color: #A32B2B; font-weight: 600; }
.ib-form-msg a        { color: inherit; }

@media (max-width: 640px) {
  .ib-form { padding: 1.25rem; }
}
