/* ==========================================================================
   Consultorio Lic. Laura Irala — hoja de estilos propia
   Base: Bootstrap 5.3.8 (servido localmente). Sin fuentes ni assets externos.
   ========================================================================== */

:root {
  /* Marca */
  --brand-950: #072a21;
  --brand-900: #0b3b2e;
  --brand-800: #0f4c3a;
  --brand-700: #14624a;
  --brand-600: #1a7757;
  --brand-500: #1f8a63;
  --brand-300: #7cc4a6;
  --brand-100: #e6f4ee;
  --brand-50:  #f2faf6;

  --accent-600: #a8480e;
  --accent-500: #F58635;
  --accent-100: #fde8d9;

  /* Lima y naranja de la marca (isotipo) */
  --lime-700: #557111;
  --lime-600: #6d8f16;
  --lime-500: #AACE47;
  --lime-300: #cfe98a;
  --lime-100: #eef6d6;
  --lime-50:  #f7fbea;

  --sand-100: #f2c14e;
  --cream:    #fbf8f2;
  --paper:    #ffffff;
  --ink:      #12211c;
  --muted:    #5a6b64;
  --line:     rgba(11, 59, 46, .10);

  /* Tipografía */
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  /* Bootstrap overrides */
  --bs-body-bg: var(--cream);
  --bs-body-color: var(--ink);
  --bs-body-font-family: var(--font-body);
  --bs-primary: var(--brand-700);
  --bs-link-color: var(--brand-700);
  --bs-link-color-rgb: 20, 98, 74;
  --bs-link-hover-color: var(--brand-900);
  --bs-link-hover-color-rgb: 11, 59, 46;
  --bs-border-color: var(--line);
  --bs-border-radius: .85rem;
  --bs-border-radius-lg: 1.25rem;

  /* Sistema */
  --radius-sm: .85rem;
  --radius: 1.25rem;
  --radius-lg: 1.75rem;
  --shadow-sm: 0 1px 2px rgba(7, 42, 33, .06), 0 4px 12px rgba(7, 42, 33, .04);
  --shadow-md: 0 8px 24px rgba(7, 42, 33, .08), 0 2px 6px rgba(7, 42, 33, .04);
  --shadow-lg: 0 24px 60px rgba(7, 42, 33, .12);
  --header-h: 76px;
}

/* ---------------------------------------------------------------- base --- */
* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); overflow-x: clip; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(60rem 40rem at 110% -10%, rgba(31, 138, 99, .10), transparent 60%),
    radial-gradient(45rem 30rem at -10% 5%, rgba(242, 193, 78, .12), transparent 60%);
  background-repeat: no-repeat;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, .display-title, .section-title, .rating-number {
  font-family: var(--font-display);
  letter-spacing: -.015em;
  color: var(--brand-900);
  font-weight: 600;
}

p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }

a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:not(.btn):hover { color: var(--brand-900); }

::selection { background: var(--lime-300); color: var(--brand-950); }

/* Bootstrap usa 12px de padding lateral en .container; con gutters grandes
   (g-4) las filas generan 12px de desborde. Damos aire suficiente. */
.container { padding-inline: clamp(1rem, 4vw, 1.5rem); }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 2000;
  background: var(--brand-900);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 0 0 .75rem .75rem;
  font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* ------------------------------------------------------------- header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(251, 248, 242, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(7, 42, 33, .06);
  background: rgba(251, 248, 242, .94);
}

.navbar-brand { text-decoration: none; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: #ffffff;
  border: 1px solid rgba(11, 59, 46, .10);
  box-shadow: 0 4px 14px rgba(7, 42, 33, .08);
  flex: 0 0 auto;
  padding: 3px;
}
.brand-mark img {
  width: auto;
  height: 40px;
  object-fit: contain;
  display: block;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--brand-900);
  letter-spacing: -.01em;
}
.brand-sub {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
  margin-top: .22rem;
}

.navbar .nav-link {
  color: var(--brand-900);
  font-weight: 500;
  font-size: .95rem;
  padding: .5rem .85rem;
  border-radius: 999px;
  transition: background .18s ease, color .18s ease;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus-visible { background: var(--lime-100); color: var(--brand-900); }
.navbar .nav-link.active { background: var(--lime-100); color: var(--brand-900); font-weight: 600; }

.navbar-toggler {
  border: 1px solid var(--line);
  padding: .45rem .6rem;
  border-radius: .6rem;
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
  width: 1.35em; height: 1.35em;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230b3b2e' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ------------------------------------------------------------- botones --- */
.btn {
  font-weight: 600;
  border-radius: 999px;
  padding: .72rem 1.4rem;
  letter-spacing: .005em;
  transition: transform .16s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px) scale(.995); }

.btn-brand {
  --bs-btn-bg: var(--lime-700);
  --bs-btn-border-color: var(--lime-700);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--lime-600);
  --bs-btn-hover-border-color: var(--lime-600);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: #47600e;
  --bs-btn-active-border-color: #47600e;
  --bs-btn-active-color: #fff;
  --bs-btn-disabled-bg: var(--lime-300);
  --bs-btn-disabled-border-color: var(--lime-300);
  --bs-btn-disabled-color: #14321f;
  background-color: var(--lime-700);
  border-color: var(--lime-700);
  color: #fff;
  box-shadow: 0 10px 22px rgba(85, 113, 17, .24);
}
.btn-brand:hover {
  color: #fff;
  box-shadow: 0 14px 28px rgba(85, 113, 17, .30);
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid rgba(11, 59, 46, .22);
  color: var(--brand-900);
  background: rgba(255, 255, 255, .5);
}
.btn-ghost:hover {
  background: #fff;
  border-color: var(--brand-700);
  color: var(--brand-900);
  transform: translateY(-1px);
}

.btn-lg { padding: .9rem 1.7rem; font-size: 1.02rem; }
.btn-sm { padding: .5rem 1rem; font-size: .875rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  color: var(--brand-700);
  text-decoration: none;
}
.link-arrow svg { transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ------------------------------------------------------------ tipografía --- */
.eyebrow {
  display: inline-block;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--lime-700);
  margin-bottom: .9rem;
}
.eyebrow-light { color: var(--lime-300); }

.display-title {
  font-size: clamp(2.5rem, 5.4vw, 4.15rem);
  line-height: 1.04;
  margin-bottom: 1.25rem;
}

.text-gradient {
  background: linear-gradient(100deg, var(--brand-700) 0%, var(--lime-600) 48%, var(--accent-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead-text {
  font-size: clamp(1.03rem, 1.35vw, 1.18rem);
  color: #2b3a34;
  max-width: 34rem;
}

.section { padding: clamp(4rem, 7vw, 6.5rem) 0; }
.section-alt {
  background: linear-gradient(180deg, rgba(238, 246, 214, .72), rgba(238, 246, 214, .28));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head { max-width: 46rem; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section-head-left { margin-left: 0; text-align: left; }

.section-title {
  font-size: clamp(1.85rem, 3.3vw, 2.7rem);
  line-height: 1.12;
  margin-bottom: .9rem;
}

.section-sub { color: var(--muted); font-size: 1.03rem; margin-bottom: 0; }

.section-foot {
  margin: clamp(2rem, 4vw, 2.75rem) auto 0;
  text-align: center;
  color: var(--muted);
}
.section-foot a { font-weight: 600; }

/* ---------------------------------------------------------------- hero --- */
.hero {
  position: relative;
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3rem, 5vw, 4.5rem);
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-bg .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .5;
}
.blob-1 {
  width: 34rem; height: 34rem;
  background: radial-gradient(circle at 35% 35%, rgba(170, 206, 71, .55), transparent 65%);
  top: -12rem; right: -8rem;
}
.blob-2 {
  width: 26rem; height: 26rem;
  background: radial-gradient(circle at 50% 50%, rgba(245, 134, 53, .42), transparent 65%);
  bottom: -12rem; left: -7rem;
}
.hero-bg .grain {
  position: absolute; inset: 0;
  opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E");
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  font-size: .92rem;
  color: #2f403a;
}
.hero-trust li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-trust svg { color: var(--lime-700); flex: 0 0 auto; }

.hero-visual { position: relative; max-width: 540px; margin-inline: auto; }
.plate-art { width: 100%; height: auto; display: block; filter: drop-shadow(0 24px 40px rgba(7, 42, 33, .10)); }

.float-card {
  position: absolute;
  background: rgba(255, 255, 255, .95);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .8rem 1.05rem;
  box-shadow: var(--shadow-md);
  font-size: .85rem;
  line-height: 1.3;
  backdrop-filter: blur(8px);
}
.float-rating { top: 6%; left: -4%; }
.float-cta { bottom: 8%; right: -2%; }

.float-stars { color: var(--accent-500); letter-spacing: .12em; font-size: .8rem; margin-bottom: .15rem; }
.float-note { font-size: .72rem; color: var(--muted); }

.dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime-500);
  margin-right: .35rem;
  box-shadow: 0 0 0 4px rgba(170, 206, 71, .22);
}

/* ----------------------------------------------------------- nap strip --- */
.nap-strip {
  background: var(--brand-900);
  color: #fff;
  padding: 1.35rem 0;
}
.nap-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  justify-content: center;
}
.nap-icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(230, 244, 238, .12);
  color: var(--brand-300);
  flex: 0 0 auto;
}
.nap-label {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .55);
}
.nap-value { font-weight: 600; font-size: .95rem; }
.nap-value a { color: #fff; text-decoration-color: rgba(255,255,255,.4); }
.nap-value a:hover { color: var(--brand-300); }

@media (min-width: 992px) {
  .nap-item { justify-content: flex-start; }
}

/* ------------------------------------------------------------- tarjetas --- */
.card-soft {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.65rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card-soft:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(85, 113, 17, .3);
}
.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--lime-100);
  font-size: 1.3rem;
  line-height: 1;
  margin-bottom: .9rem;
}
.card-soft h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.card-soft p { font-size: .93rem; }

/* ------------------------------------------------------------ servicios --- */
.service-card {
  height: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-500), var(--sand-100));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(85, 113, 17, .3);
}
.service-card:hover::after { transform: scaleX(1); }

.service-top { display: flex; align-items: center; gap: .75rem; margin-bottom: .7rem; }
.service-num {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  color: var(--lime-700);
  letter-spacing: .08em;
  padding: .18rem .5rem;
  border-radius: 999px;
  background: var(--lime-100);
}
.service-card h3 { font-size: 1.22rem; margin: 0; }
.service-card > p { font-size: .93rem; color: #37473f; }

.check-list { list-style: none; padding: 0; margin: 1.1rem 0 0; font-size: .88rem; color: var(--muted); }
.check-list li { position: relative; padding-left: 1.4rem; margin-bottom: .35rem; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .5em;
  width: .55rem; height: .55rem;
  border-radius: 50%;
  background: var(--lime-500);
  box-shadow: 0 0 0 3px rgba(170, 206, 71, .22);
}

/* --------------------------------------------------------------- pasos --- */
.steps { counter-reset: step; display: grid; gap: 1rem; }
.step {
  display: flex;
  gap: 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.step-num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--brand-900);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}
.step h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.step p { font-size: .92rem; color: var(--muted); }

/* -------------------------------------------------------------- retrato --- */
.portrait {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(160deg, #eaf6f0, #cfe8dc);
}
.portrait-art {
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: 2.5rem 1.5rem 5.5rem;
  text-align: center;
  background:
    radial-gradient(circle at 18% 12%, rgba(170, 206, 71, .28), transparent 52%),
    radial-gradient(circle at 88% 88%, rgba(217, 97, 46, .14), transparent 52%);
}
.portrait-mark {
  width: 46%;
  max-width: 190px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(11, 59, 46, .08);
  display: grid;
  place-items: center;
  padding: 1.15rem;
  box-shadow: 0 18px 40px rgba(7, 42, 33, .12);
  margin-bottom: 1.5rem;
}
.portrait-mark img { width: 76%; height: auto; display: block; }
.portrait-word {
  font-family: var(--font-display);
  font-size: .95rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--brand-800);
  margin: 0;
}
.portrait-note { font-size: .84rem; color: var(--muted); margin: .2rem 0 0; }
.portrait-badge {
  position: absolute;
  left: 1rem; right: 1rem; bottom: 1rem;
  background: rgba(255, 255, 255, .94);
  border-radius: var(--radius-sm);
  padding: .8rem 1rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(6px);
}
.portrait-badge strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--brand-900); }
.portrait-badge span { font-size: .8rem; color: var(--muted); }

.credentials {
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
}
.credentials .h6 { color: var(--brand-600); letter-spacing: .12em; font-size: .72rem; }
.credential-list { list-style: none; padding: 0; margin: 0 0 1rem; font-size: .93rem; }
.credential-list li { position: relative; padding-left: 1.25rem; margin-bottom: .55rem; }
.credential-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-500);
}
.pending {
  background: var(--accent-100);
  color: #8a3a12;
  border-bottom: 1px dashed var(--accent-500);
  padding: 0 .25rem;
  border-radius: 3px;
  font-size: .92em;
}

/* ---------------------------------------------------------- calculadora --- */
.calc-card, .form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-md);
}

.form-label { font-weight: 600; font-size: .88rem; color: var(--brand-900); margin-bottom: .4rem; }
.form-control, .form-select {
  border-color: rgba(11, 59, 46, .16);
  border-radius: .7rem;
  padding: .7rem .9rem;
  background-color: #fff;
}
.form-control-lg { font-size: 1.05rem; padding: .85rem 1rem; }
.form-control:focus, .form-select:focus {
  border-color: var(--lime-600);
  box-shadow: 0 0 0 .22rem rgba(109, 143, 22, .18);
}
.form-check-input:checked { background-color: var(--lime-700); border-color: var(--lime-700); }
.form-check-input:focus { border-color: var(--lime-600); box-shadow: 0 0 0 .2rem rgba(109, 143, 22, .18); }

.imc-result {
  margin-top: 1.5rem;
  padding: 1.4rem;
  border-radius: var(--radius);
  background: var(--brand-50);
  border: 1px solid rgba(31, 138, 99, .18);
  animation: fadeUp .35s ease both;
}
.imc-value {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  font-family: var(--font-display);
  color: var(--brand-900);
  line-height: 1;
  margin-bottom: .5rem;
}
.imc-value #imc-number { font-size: clamp(2.6rem, 6vw, 3.4rem); font-weight: 600; }
.imc-unit { font-size: .95rem; color: var(--muted); font-family: var(--font-body); }
.imc-category { font-weight: 700; font-size: 1.02rem; }
.imc-range { font-size: .9rem; color: var(--muted); }

.imc-result[data-level="low"] { background: #fff6e5; border-color: #f0c67a; }
.imc-result[data-level="normal"] { background: #eef9f2; border-color: #8fceb2; }
.imc-result[data-level="high"] { background: #fdf0e8; border-color: #eab08e; }
.imc-result[data-level="veryhigh"] { background: #fbeaea; border-color: #e2a3a3; }

.calc-error {
  margin: 1rem 0 0;
  padding: .75rem 1rem;
  border-radius: .7rem;
  background: #fbeaea;
  border: 1px solid #e2a3a3;
  color: #8f2c2c;
  font-size: .9rem;
}

/* -------------------------------------------------------------- reseñas --- */
.section-dark {
  background:
    radial-gradient(50rem 30rem at 85% 10%, rgba(170, 206, 71, .20), transparent 60%),
    var(--brand-900);
  color: #fff;
}
.section-dark .section-title { color: #fff; }
.section-dark .eyebrow { color: var(--lime-300); }

.rating-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  align-items: center;
  backdrop-filter: blur(6px);
}
.rating-score { display: flex; flex-direction: column; gap: .25rem; min-width: 9rem; }
.rating-number {
  font-size: 4rem;
  line-height: 1;
  color: #fff;
  font-weight: 600;
}
.rating-stars { color: var(--accent-500); letter-spacing: .16em; font-size: 1.05rem; }
.rating-count { font-size: .82rem; color: rgba(255, 255, 255, .65); }
.rating-body { flex: 1 1 16rem; }
.rating-body p { color: rgba(255, 255, 255, .82); }
.rating-body .text-muted { color: rgba(255, 255, 255, .6) !important; }

.btn-outline-light {
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(255, 255, 255, .5);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #fff;
  --bs-btn-hover-color: var(--brand-900);
}

/* ------------------------------------------------------------------ faq --- */
.faq .accordion-item {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm) !important;
  margin-bottom: .65rem;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.faq .accordion-button {
  background: transparent;
  color: var(--brand-900);
  font-weight: 600;
  font-size: 1rem;
  padding: 1.1rem 1.25rem;
  box-shadow: none;
}
.faq .accordion-button:not(.collapsed) {
  background: var(--lime-50);
  color: var(--brand-900);
}
.faq .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(31, 138, 99, .18); z-index: 3; }
.faq .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2314624a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.faq .accordion-body { font-size: .95rem; color: #384840; padding: 0 1.25rem 1.2rem; }

/* -------------------------------------------------------------- contacto --- */
.contact-list { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .9rem; font-size: .95rem; }
.contact-ico {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand-700);
  flex: 0 0 auto;
}

/* ---------------------------------------------------------------- footer --- */
.site-footer {
  background: var(--brand-950);
  color: rgba(255, 255, 255, .72);
  padding: clamp(3rem, 5vw, 4.5rem) 0 1.5rem;
}
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: rgba(255, 255, 255, .5); }
.site-footer .brand-mark { background: #ffffff; border-color: transparent; box-shadow: none; }

.footer-title {
  font-family: var(--font-body);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 1rem;
  font-weight: 700;
}
.footer-links { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-text { font-size: .9rem; color: rgba(255, 255, 255, .6); }

.footer-bottom {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(255, 255, 255, .62);
}

/* ------------------------------------------------------------- whatsapp --- */
.wa-float {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 1040;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #08331c;
  box-shadow: 0 12px 28px rgba(37, 211, 102, .38), 0 2px 6px rgba(0, 0, 0, .12);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover {
  transform: translateY(-2px) scale(1.04);
  color: #08331c;
  box-shadow: 0 16px 34px rgba(37, 211, 102, .46);
}
.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, .55);
  animation: pulse 2.6s ease-out infinite;
}

/* ---------------------------------------------------------- animaciones --- */
.reveal {
  transform: translateY(18px);
  transition: transform .6s cubic-bezier(.22, .61, .36, 1);
}
.reveal.is-visible { transform: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .8; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ------------------------------------------------------------ responsive --- */
@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: .85rem;
    padding: .85rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
  }
  .navbar .nav-link { padding: .6rem .8rem; }
  .navbar .navbar-nav .btn { width: 100%; margin-top: .5rem; }
  .hero { padding-top: 2.5rem; }
  .hero-visual { max-width: 420px; margin-top: 2rem; }
  .float-rating { left: 0; }
  .float-cta { right: 0; }
  .nap-item { justify-content: flex-start; text-align: left; }
}

@media (max-width: 575.98px) {
  .display-title { font-size: 2.35rem; }
  .float-card { padding: .65rem .8rem; font-size: .78rem; }
  .float-cta { bottom: 2%; }
  .section { padding: 3.25rem 0; }
  .btn-lg { width: 100%; }
  .wa-float { width: 52px; height: 52px; right: .9rem; bottom: .9rem; }
}

/* -------------------------------------------------------- accesibilidad --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { transform: none; }
}

@media (prefers-contrast: more) {
  .section-sub, .card-soft p, .check-list { color: #1f2b26; }
  .btn-ghost { border-color: var(--brand-900); }
}

/* --------------------------------------------------------------- print --- */
@media print {
  .site-header, .wa-float, .hero-bg, .float-card, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .hero { padding: 1rem 0; }
  a { color: #000; }
}
