/* =====================================================================
   ER Psicología Sanitaria — hoja de estilos
   Paleta de calma: verde oliva de marca + crema hueso + terracota suave.
   Tipografías auto-alojadas (subset latin): Marcellus (títulos) + Karla (texto).
   ===================================================================== */

/* --- Marcellus (títulos) + Karla variable (texto) — auto-alojadas --- */
@font-face { font-family: 'Marcellus'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/marcellus-400.woff2') format('woff2'); }
@font-face { font-family: 'Karla'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('../fonts/karla.woff2') format('woff2'); }
@font-face { font-family: 'Karla'; font-style: italic; font-weight: 400 500; font-display: swap; src: url('../fonts/karla-italic.woff2') format('woff2'); }

:root {
  /* marca */
  --olive:      #828d62;
  --olive-deep: #55603c;
  --olive-dark: #3f4a2c;
  --olive-soft: #a7b088;
  --sage-bg:    #eef1e6;
  --sage-100:   #e4e9d6;
  --sage-logo:  #d2dac3;
  --cream:      #f7f6ef;
  --white:      #ffffff;
  --ink:        #2f3524;
  --ink-soft:   #5c6350;
  --warm:       #cf9a6f;   /* terracota suave */
  --warm-deep:  #b87d51;
  --line:       #e3e2d6;

  --radius:     16px;
  --radius-lg:  26px;
  --radius-pill:999px;
  --shadow-sm:  0 4px 14px rgba(63,74,44,.06);
  --shadow:     0 14px 40px rgba(63,74,44,.10);
  --shadow-lg:  0 30px 70px rgba(63,74,44,.14);

  --font-serif: 'Marcellus', Georgia, 'Times New Roman', serif;
  --font-sans:  'Karla', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1180px;
  --nav-h: 76px;
}

/* ---------------- reset ---------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: default; /* sin I-beam sobre el texto; enlaces/botones/campos mantienen el suyo */
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; line-height: 1.16; color: var(--olive-dark); letter-spacing: .005em; }
strong { font-weight: 700; }

/* ---------------- layout ---------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: 92px 0; }
.section-sm { padding: 60px 0; }
.bg-sage { background: var(--sage-bg); }
.bg-cream { background: var(--cream); }
.bg-white { background: var(--white); }
.bg-olive { background: var(--olive-dark); color: #eef1e6; }

.section-head { max-width: 660px; margin: 0 auto 54px; text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-serif); font-style: normal; font-weight: 500; font-size: 1.5rem;
  letter-spacing: 0; text-transform: none; color: var(--olive);
  margin-bottom: 4px; line-height: 1.2;
}
h2.title { font-size: clamp(2.3rem, 4.6vw, 3.5rem); }
.subtitle { color: var(--ink-soft); font-size: 1.12rem; margin-top: 16px; }

/* ---------------- botones ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: var(--radius-pill); border: 1.5px solid transparent;
  font-family: var(--font-sans); font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  cursor: pointer; white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--olive); color: #fff; box-shadow: 0 10px 26px rgba(130,141,98,.32); }
.btn-primary:hover { background: var(--olive-deep); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(130,141,98,.4); }
.btn-warm { background: var(--warm); color: #4a2f1c; box-shadow: 0 10px 26px rgba(207,154,111,.34); }
.btn-warm:hover { background: var(--warm-deep); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--olive-deep); border-color: var(--olive-soft); }
.btn-ghost:hover { background: var(--olive); color: #fff; border-color: var(--olive); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--olive-deep); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 36px; font-size: 1.04rem; }

/* ---------------- topbar ---------------- */
.topbar {
  background: var(--olive-dark); color: #dfe4d1; font-size: .82rem;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 40px; gap: 16px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; color: #dfe4d1; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 16px; height: 16px; }
.topbar-left { display: flex; align-items: center; gap: 22px; min-width: 0; }
.topbar .tb-zonas { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar .tb-zonas svg { flex-shrink: 0; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar .sep { opacity: .4; }
.topbar-social { display: flex; align-items: center; gap: 10px; }
.topbar-right .lang-switch-sm { padding: 0; border: 0; background: none; border-radius: 0; font-size: .74rem; font-weight: 600; letter-spacing: .03em; color: #dfe4d1; gap: 4px; line-height: 1; }
.topbar-right .lang-switch-sm:hover { color: #fff; }
.topbar-right .lang-switch-sm svg, .topbar-right .lang-switch-sm img { width: 15px; height: 11px; border-radius: 1px; }
.topbar-right .sep { display: none; }
@media (max-width: 720px) { .topbar-left .tb-zonas { display: none; } .topbar { font-size: .78rem; } }

/* ---------------- header / nav ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 60; background: rgba(247,246,239,.86);
  backdrop-filter: blur(12px); border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, background .3s ease, border-color .3s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(63,74,44,.08); border-color: var(--line); background: rgba(247,246,239,.95); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand .brand-mark { width: 46px; height: 46px; color: var(--olive); flex-shrink: 0; }
.brand .brand-mark svg { width: 100%; height: 100%; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.footer-heart { display: inline-flex; align-items: center; gap: 5px; animation: greenRainbow 5s linear infinite; }
.footer-heart a { color: inherit; text-decoration: none; font-weight: 700; }
.footer-heart a:hover { text-decoration: underline; }
.rainbow-heart { display: inline-flex; }
.rainbow-heart svg { width: 15px; height: 15px; color: inherit; transform-origin: center; animation: heartbeat 1.3s ease-in-out infinite; }
.rainbow-heart svg path { fill: currentColor; stroke: currentColor; }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.3); } 28% { transform: scale(1); } 42% { transform: scale(1.18); } 58% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .rainbow-heart svg, .footer-heart { animation: none; } }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text .bt-name { font-family: var(--font-serif); font-weight: 600; font-size: 1.16rem; color: var(--olive-dark); letter-spacing: .04em; }
.brand-text .bt-sub { font-family: var(--font-serif); font-style: normal; font-size: .92rem; letter-spacing: .02em; text-transform: none; color: var(--olive); margin-top: 1px; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
  padding: 10px 15px; border-radius: var(--radius-pill); font-weight: 600; font-size: .96rem; color: var(--ink);
  transition: color .2s, background .2s; position: relative;
}
.nav-menu > a, .mega-trigger { padding: 10px 15px; border-radius: var(--radius-pill); font-family: var(--font-serif); font-weight: 400; font-size: 1.1rem; letter-spacing: .01em; color: var(--ink); transition: color .2s, background .2s; }
.nav-menu a:hover, .nav-menu a.active { color: var(--olive-deep); background: rgba(130,141,98,.12); }
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* ---------------- megamenú servicios ---------------- */
.has-mega { position: static; display: flex; align-items: center; }
.mega-trigger { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.mega-caret { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s; opacity: .7; }
.has-mega:hover .mega-caret, .has-mega:focus-within .mega-caret { transform: rotate(-135deg) translateY(-1px); }
.mega-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-top: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 55;
}
.has-mega:hover .mega-panel, .has-mega:focus-within .mega-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-inner { max-width: 1180px; margin: 0 auto; padding: 22px 28px 26px; }
.mega-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) .85fr; gap: 8px 30px; align-items: start; }
.mega-col h4 { font-family: var(--font-serif); font-weight: 600; font-size: 1.02rem; letter-spacing: 0; text-transform: none; color: var(--olive-dark); margin-bottom: 6px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.mega-col ul { display: flex; flex-direction: column; gap: 0; }
.mega-col li a { display: flex; align-items: center; gap: 9px; padding: 8px 8px; border-radius: 8px; font-size: .9rem; font-weight: 600; color: var(--ink); transition: background .2s, color .2s; line-height: 1.25; word-break: keep-all; overflow-wrap: normal; hyphens: none; }
.mega-col li a:hover { background: var(--sage-bg); color: var(--olive-deep); }
.mega-ic { width: 30px; height: 30px; flex-shrink: 0; border-radius: 9px; background: var(--sage-bg); color: var(--olive); display: grid; place-items: center; }
.mega-ic svg { width: 18px; height: 18px; animation: greenRainbowDark 4.5s linear infinite; }
.mega-col:nth-child(2) .mega-ic svg { animation-delay: -1.5s; }
.mega-col:nth-child(3) .mega-ic svg { animation-delay: -3s; }
.mega-col li a:hover .mega-ic { background: var(--olive); }
.mega-col li a:hover .mega-ic svg { animation: none; color: #fff; }
@keyframes greenRainbowDark {
  0%   { color: #55603c; }
  25%  { color: #7d9142; }
  50%  { color: #828d62; }
  75%  { color: #4a7a52; }
  100% { color: #55603c; }
}
.mega-cta-card { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--sage-bg), var(--sage-100)); border-radius: 14px; padding: 18px 16px; display: flex; flex-direction: column; }
.mega-cta-card::before { content: ""; position: absolute; right: -14%; bottom: -18%; width: 130px; height: 130px; background: url(../img/logo/er-mark-real.png) center / contain no-repeat; opacity: .07; pointer-events: none; }
.mega-cta-card h4 { position: relative; font-family: var(--font-serif); font-size: 1.05rem; line-height: 1.15; color: var(--olive-dark); text-transform: none; letter-spacing: 0; border: 0; padding: 0; margin-bottom: 14px; }
.mega-cta-card .btn { position: relative; margin-top: auto; padding: 9px 14px; font-size: .86rem; }
.mega-all { position: relative; display: inline-flex; align-items: center; gap: 5px; justify-content: center; margin-top: 8px; font-weight: 700; font-size: .78rem; color: var(--olive-deep); }
.mega-all:hover { color: var(--olive-dark); }
.mega-all svg { width: 14px; height: 14px; }

.lang-switch { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--radius-pill); border: 1px solid var(--line); font-weight: 700; font-size: .82rem; color: var(--ink-soft); transition: border-color .2s, color .2s; }
.lang-switch:hover { border-color: var(--olive-soft); color: var(--olive-deep); }
.lang-switch svg { border-radius: 2px; }

.nav-toggle { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--olive-deep); }
.nav-toggle svg { width: 24px; height: 24px; }

/* menú móvil */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--cream);
  transform: translateX(100%); transition: transform .35s cubic-bezier(.5,0,.2,1);
  display: flex; flex-direction: column; padding: 22px 24px 40px; overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a { padding: 15px 8px; font-family: var(--font-serif); font-size: 1.5rem; color: var(--olive-dark); border-bottom: 1px solid var(--line); }
.mobile-menu nav a:last-child { border-bottom: none; }
.mobile-menu .mm-actions { margin-top: auto; display: flex; flex-direction: column; gap: 14px; padding-top: 26px; }
.mobile-menu .mm-contact { display: flex; flex-direction: column; gap: 8px; color: var(--ink-soft); font-weight: 600; }
.mobile-menu .mm-contact a { display: inline-flex; align-items: center; gap: 10px; }
.mobile-menu .mm-contact svg { width: 20px; height: 20px; color: var(--olive); }

/* ---------------- HERO inmersivo (zen/budista a pantalla completa) ---------------- */
.hero { position: relative; min-height: clamp(580px, 86vh, 860px); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: var(--olive-dark); }
.hero-bg .hs-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s ease; will-change: opacity, transform; }
.hero-bg .hs-slide.active { opacity: 1; animation: heroKen 7s ease-out both; }
@keyframes heroKen { from { transform: scale(1.03); } to { transform: scale(1.13); } }
.hero-overlay { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(20,24,12,.86) 0%, rgba(20,24,12,.76) 38%, rgba(20,24,12,.54) 56%, rgba(20,24,12,.22) 78%, rgba(20,24,12,.04) 100%),
    linear-gradient(0deg, rgba(20,24,12,.42) 0%, rgba(20,24,12,0) 42%),
    linear-gradient(0deg, rgba(20,24,12,.10), rgba(20,24,12,.10));
}
.hero-eyebrow, .hero-title, .hero-lead, .hero-stat { text-shadow: 0 1px 20px rgba(16,20,8,.55), 0 1px 3px rgba(16,20,8,.3); }
.hero-inner { position: relative; z-index: 1; padding-block: 46px; width: 100%; min-width: 0; }
.hero-copy { max-width: 660px; }
.hero-eyebrow { color: #d9e0c4; font-family: var(--font-serif); font-style: normal; font-weight: 500; font-size: 1.55rem; letter-spacing: 0; text-transform: none; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.hero-eyebrow svg { width: 21px; height: 21px; }
.hero-title { font-family: var(--font-serif); font-weight: 400; letter-spacing: .005em; font-size: clamp(2rem, 5.6vw, 3.9rem); line-height: .98; color: #fff; overflow-wrap: break-word; }
.hero-title .accent { color: #d9e0c4; font-style: italic; }
.hero-lead { font-size: 1.2rem; line-height: 1.4; color: rgba(255,255,255,.9); margin-top: 22px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-stats { display: flex; flex-wrap: nowrap; gap: 6px 14px; margin-top: 32px; }
.hero-stat { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .8rem; color: #eef1e6; white-space: nowrap; }
.hero-stat .dot { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; flex-shrink: 0; }
.hero-stat .dot svg { width: 17px; height: 17px; color: #cdd6b4; animation: greenRainbow 4s linear infinite; }
.hero-stat:nth-child(2) .dot svg { animation-delay: -1.33s; }
.hero-stat:nth-child(3) .dot svg { animation-delay: -2.66s; }
@keyframes greenRainbow {
  0%   { color: #d7e0b8; }
  20%  { color: #b7c98a; }
  40%  { color: #8fae5e; }
  60%  { color: #6f9b6a; }
  80%  { color: #a7b088; }
  100% { color: #d7e0b8; }
}
@media (prefers-reduced-motion: reduce) { .hero-stat .dot svg { animation: none; color: #d7e0b8; } }
@media (max-width: 760px) { .hero-stats { flex-wrap: wrap; } }
.hero-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.hs-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); cursor: pointer; transition: background .3s, width .3s; padding: 0; }
.hs-dot:hover { background: rgba(255,255,255,.8); }
.hs-dot.active { background: #fff; width: 26px; border-radius: 5px; }
@media (prefers-reduced-motion: reduce) { .hero-bg .hs-slide.active { animation: none; } }

/* ---------------- marquesina / franja de confianza ---------------- */
.trust-band { background: var(--white); border-block: 1px solid var(--line); }
.trust-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 44px; padding-block: 26px; }
.trust-item { display: inline-flex; align-items: center; gap: 12px; color: var(--ink-soft); font-weight: 600; }
.trust-item svg { width: 26px; height: 26px; color: var(--olive); }

/* ---------------- servicios grid ---------------- */
.serv-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.serv-filters button {
  padding: 10px 20px; border-radius: var(--radius-pill); border: 1.5px solid var(--line); background: #fff;
  font-weight: 700; font-size: .9rem; color: var(--ink-soft); transition: all .2s;
}
.serv-filters button:hover { border-color: var(--olive-soft); color: var(--olive-deep); }
.serv-filters button.active { background: var(--olive); border-color: var(--olive); color: #fff; }

.serv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.serv-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
  position: relative; overflow: hidden;
}
.serv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.serv-photo { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.serv-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.serv-card:hover .serv-photo img { transform: scale(1.06); }
.serv-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(63,74,44,0) 45%, rgba(63,74,44,.34)); }
.serv-card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.serv-card h3 { font-size: 1.32rem; width: fit-content; max-width: 100%; padding: 2px 12px 2px 4px; border-radius: 4px; background: linear-gradient(90deg, rgba(130,141,98,.14) 0%, rgba(130,141,98,0) 92%); }
.serv-card p { color: var(--ink-soft); font-size: .97rem; }
.serv-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--olive-deep); font-size: .94rem; }
.serv-link svg { width: 18px; height: 18px; transition: transform .25s; }
.serv-card:hover .serv-link svg { transform: translateX(4px); }
.serv-cat-badge { position: absolute; top: 16px; left: 16px; z-index: 1; font-size: .8rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--olive-deep); background: rgba(255,255,255,.92); padding: 5px 14px; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); font-family: var(--font-serif); }

/* ---------------- sobre mí (home) ---------------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about-visual { position: relative; }
.about-photo { aspect-ratio: 3/3.4; border-radius: 52% 48% 46% 54% / 50% 52% 48% 50%; overflow: hidden; box-shadow: var(--shadow-lg); background: linear-gradient(160deg, var(--sage-100), var(--olive-soft)); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-duo { display: flex; gap: 14px; }
.about-duo .about-photo { flex: 1; aspect-ratio: 3/4; animation: blobMorph 15s ease-in-out infinite; }
.about-duo .about-photo-2 { margin-top: 36px; animation-delay: -7.5s; }
@keyframes blobMorph {
  0%, 100% { border-radius: 52% 48% 46% 54% / 50% 52% 48% 50%; }
  34% { border-radius: 44% 56% 58% 42% / 56% 44% 56% 44%; }
  67% { border-radius: 58% 42% 46% 54% / 42% 58% 44% 56%; }
}
@keyframes frameFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-8px, -12px) rotate(-4deg); }
}
@media (prefers-reduced-motion: reduce) { .about-duo .about-photo, .about-frame { animation: none; } }
.about-frame { position: absolute; inset: -18px -18px auto auto; width: 55%; height: 55%; border: 2px solid var(--olive-soft); border-radius: 40% 60% 55% 45% / 55% 45% 55% 45%; z-index: -1; animation: frameFloat 7s ease-in-out infinite, blobMorph 18s ease-in-out infinite; }
.about-body h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 8px; }
.about-body p { color: var(--ink-soft); margin-top: 18px; font-size: 1.05rem; }
.about-quote { margin-top: 26px; padding: 10px 0; text-align: center; font-family: var(--font-serif); font-style: normal; font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.32; }
.about-quote .quote-text {
  display: inline-block; color: var(--olive-deep);
  background-image: linear-gradient(100deg, #55603c 0%, #828d62 22%, #b7c98a 42%, #7fae55 60%, #6f9b6a 78%, #55603c 100%);
  background-size: 220% 100%; background-position: 0% 50%;
}
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .about-quote .quote-text { -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
}
/* sin JS se ve entera; con JS se "pinta" al entrar en pantalla y luego fluye el arcoíris */
.js .about-quote .quote-text { clip-path: inset(0 100% 0 0); }
.about-quote.painted .quote-text {
  animation: quotePaint 1.7s cubic-bezier(.45,0,.2,1) forwards, quoteFlow 7s linear 1.7s infinite;
}
@keyframes quotePaint { to { clip-path: inset(0 0 0 0); } }
@keyframes quoteFlow { from { background-position: 0% 50%; } to { background-position: 200% 50%; } }
@media (prefers-reduced-motion: reduce) { .js .about-quote .quote-text { clip-path: none; } .about-quote.painted .quote-text { animation: none; } }
.about-sign { margin-top: 26px; display: flex; align-items: center; gap: 16px; }
.about-sign .sig-name { font-family: var(--font-serif); font-size: 1.3rem; color: var(--olive-dark); }
.about-sign .sig-role { font-size: .9rem; color: var(--ink-soft); }
.about-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------------- metodología ---------------- */
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.method-step { position: relative; text-align: center; padding: 12px; }
.method-num { width: 74px; height: 74px; margin: 0 auto 20px; border-radius: 50%; background: #fff; border: 2px solid var(--sage-100); color: var(--olive); display: grid; place-items: center; font-family: var(--font-serif); font-size: 1.7rem; font-weight: 600; box-shadow: var(--shadow-sm); position: relative; z-index: 1; }
.method-step h3 { font-size: 1.22rem; margin-bottom: 8px; }
.method-step p { color: var(--ink-soft); font-size: .96rem; }
.method-line { position: absolute; top: 37px; left: 50%; width: 100%; height: 3px; z-index: 0;
  background-image: linear-gradient(90deg, #55603c, #828d62, #b7c98a, #7fae55, #6f9b6a, #55603c);
  background-size: 200% 100%;
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 8px, transparent 8px 16px);
  mask-image: repeating-linear-gradient(90deg, #000 0 8px, transparent 8px 16px);
  animation: lineFlow 4s linear infinite; }
@keyframes lineFlow { to { background-position: 200% 50%; } }
.method-step:last-child .method-line { display: none; }

/* animación en cascada: los pasos "caen" 1→2→3→4 y la estela se va pintando */
.js .method-step { opacity: 0; transform: translateY(-26px); }
.js .method-line { transform: scaleX(0); transform-origin: left center; transition: transform .55s ease; }
.method-grid.play .method-step { animation: stepDrop .6s cubic-bezier(.2,.75,.3,1) forwards; }
.method-grid.play .method-step:nth-child(1) { animation-delay: .05s; }
.method-grid.play .method-step:nth-child(2) { animation-delay: .55s; }
.method-grid.play .method-step:nth-child(3) { animation-delay: 1.05s; }
.method-grid.play .method-step:nth-child(4) { animation-delay: 1.55s; }
.method-grid.play .method-step:nth-child(1) .method-line { transform: scaleX(1); transition-delay: .4s; }
.method-grid.play .method-step:nth-child(2) .method-line { transform: scaleX(1); transition-delay: .9s; }
.method-grid.play .method-step:nth-child(3) .method-line { transform: scaleX(1); transition-delay: 1.4s; }
@keyframes stepDrop { from { opacity: 0; transform: translateY(-26px); } to { opacity: 1; transform: none; } }
@keyframes lineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .js .method-step { opacity: 1; transform: none; } .js .method-line { transform: scaleX(1); } }

/* ---------------- modalidad ---------------- */
.modalidad-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.modalidad-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.modalidad-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mc-photo { aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(150deg, var(--sage-100), var(--olive-soft)); }
.mc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.modalidad-card:hover .mc-photo img { transform: scale(1.05); }
.mc-inner { display: flex; gap: 20px; align-items: flex-start; padding: 26px 30px 30px; }
.modalidad-card .mc-icon { width: 62px; height: 62px; border-radius: 18px; background: var(--sage-bg); color: var(--olive); display: grid; place-items: center; flex-shrink: 0; }
.modalidad-card .mc-icon svg { width: 32px; height: 32px; }
.modalidad-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.modalidad-card p { color: var(--ink-soft); }

/* ---------------- testimonios ---------------- */
.doctoralia-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 9px 20px; box-shadow: var(--shadow-sm); }
.doctoralia-badge .db-stars { display: inline-flex; gap: 2px; color: var(--warm); }
.doctoralia-badge .db-stars svg { width: 18px; height: 18px; }
.doctoralia-badge .db-stars svg path { fill: var(--warm); stroke: var(--warm); }
.doctoralia-badge .db-text { font-size: .92rem; color: var(--ink-soft); }
.doctoralia-badge .db-text strong { color: var(--olive-dark); }
.doctoralia-badge .db-logo { height: 19px; width: auto; display: block; }
.doctoralia-badge .db-google { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px 4px 8px; border-radius: var(--radius-pill); background: var(--sage-bg); color: var(--olive-deep); font-weight: 700; font-size: .86rem; line-height: 1; transition: background .2s, color .2s; }
.doctoralia-badge .db-google svg { width: 16px; height: 16px; }
.doctoralia-badge .db-google:hover { background: var(--olive); color: #fff; }
@media (max-width: 480px) { .doctoralia-badge { flex-wrap: wrap; justify-content: center; row-gap: 6px; } }

.testi-slider { position: relative; }
.testi-viewport { overflow: hidden; }
.testi-track { display: flex; gap: 24px; transition: transform .6s cubic-bezier(.4,0,.2,1); will-change: transform; }
.testi-card { flex: 0 0 calc((100% - 48px) / 3); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 980px) { .testi-card { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 620px) { .testi-card { flex-basis: 100%; } }
.testi-nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 34px; }
.testi-dots { display: flex; gap: 8px; }
.testi-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--sage-100); cursor: pointer; transition: background .3s, width .3s; padding: 0; }
.testi-dot:hover { background: var(--olive-soft); }
.testi-dot.active { background: var(--olive); width: 26px; border-radius: 5px; }
.testi-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--olive-deep); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, border-color .2s, opacity .2s; }
.testi-arrow:hover { background: var(--olive); color: #fff; border-color: var(--olive); }
.testi-arrow svg { width: 20px; height: 20px; }
.testi-arrow[data-dir="-1"] svg { transform: rotate(180deg); }
.testi-arrow:disabled { opacity: .35; cursor: default; }
.testi-arrow:disabled:hover { background: #fff; color: var(--olive-deep); border-color: var(--line); }
.testi-quote-icon { color: var(--olive-soft); width: 40px; height: 40px; }
.testi-stars { display: flex; gap: 3px; color: var(--warm); }
.testi-stars svg { width: 19px; height: 19px; }
.testi-stars svg path { fill: var(--warm); stroke: var(--warm); }
.testi-text { color: var(--ink); font-size: 1.02rem; font-style: italic; line-height: 1.6; flex-grow: 1; }
.testi-author { display: flex; align-items: center; gap: 13px; margin-top: 4px; }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--olive); color: #fff; display: grid; place-items: center; font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; flex-shrink: 0; }
.testi-author .ta-name { font-weight: 700; color: var(--olive-dark); }
.testi-author .ta-serv { font-size: .84rem; color: var(--ink-soft); }

/* ---------------- blog ---------------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.blog-thumb { aspect-ratio: 16/10; background: linear-gradient(150deg, var(--sage-100), var(--olive-soft)); position: relative; overflow: hidden; display: grid; place-items: center; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-thumb .bt-mark { width: 64px; height: 64px; color: rgba(255,255,255,.75); }
.blog-cat { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.92); color: var(--olive-deep); font-size: .82rem; font-weight: 600; letter-spacing: 0; text-transform: none; padding: 5px 14px; border-radius: var(--radius-pill); font-family: var(--font-serif); }
.blog-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.blog-meta { font-size: .82rem; color: var(--ink-soft); display: flex; gap: 12px; align-items: center; }
.blog-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--olive-soft); }
.blog-body h3 { font-size: 1.3rem; line-height: 1.2; }
.blog-body p { color: var(--ink-soft); font-size: .96rem; }
.blog-body .serv-link { margin-top: auto; }

/* ---------------- CTA band ---------------- */
.cta-band { position: relative; background: var(--olive-dark); color: #eef1e6; border-radius: var(--radius-lg); padding: 66px 40px; text-align: center; overflow: hidden; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; background: rgba(167,176,136,.16); }
.cta-band::before { width: 320px; height: 320px; top: -140px; left: -90px; }
.cta-band::after { width: 260px; height: 260px; bottom: -130px; right: -70px; }
.cta-band .cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); }
.cta-band p { color: #d3dbc3; margin-top: 18px; font-size: 1.1rem; }
.cta-band .btn { margin-top: 32px; }
.cta-mark { width: 60px; height: 60px; color: var(--olive-soft); margin: 0 auto 20px; }
.cta-watermark { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); width: 200px; height: 300px; z-index: 0; pointer-events: none; opacity: .1;
  background: url(../img/logo/er-logo-real-light.png) center / contain no-repeat; }
@media (max-width: 640px) { .cta-watermark { right: -4%; width: 140px; height: 210px; opacity: .07; } }

/* ---------------- footer ---------------- */
.site-footer { background: #232719; color: #c3cbb2; padding: 52px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 26px 30px; padding-bottom: 34px; }
.footer-brand .brand-mark { color: var(--olive-soft); }
.footer-brand .bt-name { color: #f2f4ea; }
.footer-brand .bt-sub { color: var(--olive-soft); }
.footer-brand p { margin-top: 20px; font-size: .95rem; max-width: 320px; line-height: 1.7; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.06); display: grid; place-items: center; transition: background .2s, transform .2s; }
.footer-social a:hover { background: var(--olive); transform: translateY(-2px); }
.footer-social svg { width: 20px; height: 20px; color: #b7c98a; animation: greenRainbow 4s linear infinite; }
.footer-social a:nth-child(2) svg { animation-delay: -1.3s; }
.footer-social a:nth-child(3) svg { animation-delay: -2.6s; }
.footer-social a:hover svg { animation: none; color: #fff; }
.footer-social .fs-google { display: inline-flex; flex-flow: row nowrap; align-items: center; width: auto; height: 42px; padding: 0 16px 0 12px; border-radius: 999px; gap: 7px; background: rgba(255,255,255,.10); white-space: nowrap; }
.footer-social .fs-google svg { width: 18px; height: 18px; flex-shrink: 0; }
.footer-social .fs-google span { color: #eaf0dd; font-size: .82rem; font-weight: 700; letter-spacing: .02em; }
.footer-social .fs-google:hover span { color: #fff; }
.footer-col-title { color: #f2f4ea; font-family: var(--font-serif); font-weight: 600; font-size: 1.25rem; letter-spacing: 0; margin-bottom: 12px; }
.footer-col ul { display: flex; flex-direction: column; gap: 7px; }
.footer-col a { font-size: .94rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-links a { display: flex; align-items: center; gap: 10px; }
.footer-links svg { width: 17px; height: 17px; color: var(--olive-soft); flex-shrink: 0; transition: color .2s; }
.footer-links a:hover svg { color: #fff; }
.footer-more { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; font-weight: 700; font-size: .9rem; color: #f2f4ea; border: 1px solid rgba(255,255,255,.22); padding: 8px 16px; border-radius: var(--radius-pill); transition: background .2s, border-color .2s; }
.footer-more:hover { background: var(--olive); border-color: var(--olive); color: #fff; }
.footer-more svg { width: 16px; height: 16px; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; font-size: .95rem; margin-bottom: 12px; }
.footer-contact svg { width: 19px; height: 19px; color: var(--olive-soft); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .84rem; color: #9aa389; }
.footer-bottom a { color: #c3cbb2; }
.footer-bottom a:hover { color: #fff; }

/* ---------------- franja Kit Digital ---------------- */
.kit-digital-strip { background: #fff; padding: 20px 16px; border-top: 1px solid var(--line); }
.kit-digital-strip .container { display: flex; justify-content: center; }
.kit-digital-strip img { width: 760px; max-width: 100%; height: auto; display: block; }

/* ---------------- botón flotante (logo → llamar/WhatsApp/reservar) ---------------- */
.fab { position: fixed; bottom: 24px; right: 24px; z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab-menu { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; opacity: 0; visibility: hidden; transform: translateY(14px) scale(.96); transform-origin: bottom right; transition: opacity .3s ease, transform .3s ease, visibility .3s; }
.fab.open .fab-menu { opacity: 1; visibility: visible; transform: none; }
.fab-item { display: inline-flex; align-items: center; gap: 12px; }
.fab-item-label { background: #fff; color: var(--olive-dark); font-weight: 700; font-size: .9rem; padding: 8px 15px; border-radius: var(--radius-pill); box-shadow: var(--shadow); white-space: nowrap; }
.fab-item-ic { width: 48px; height: 48px; border-radius: 50%; background: var(--olive); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); flex-shrink: 0; transition: transform .2s, background .2s; }
.fab-item:hover .fab-item-ic { transform: scale(1.08); background: var(--olive-deep); }
.fab-item-ic svg { width: 23px; height: 23px; }
.fab-main { position: relative; width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer; background: var(--olive); display: grid; place-items: center; isolation: isolate; animation: fabGlow 3.5s ease-in-out infinite; }
.fab-main::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; z-index: -1;
  background: conic-gradient(from 0deg, #55603c, #828d62, #b7c98a, #8fae5e, #6f9b6a, #a7b088, #55603c);
  animation: fabSpin 4s linear infinite; }
@keyframes fabSpin { to { transform: rotate(360deg); } }
@keyframes fabGlow {
  0%, 100% { box-shadow: 0 8px 24px rgba(130,141,98,.45), 0 0 0 0 rgba(183,201,138,.55); }
  50% { box-shadow: 0 10px 30px rgba(143,174,94,.6), 0 0 0 10px rgba(183,201,138,0); }
}
.fab-mark { width: 60%; height: 60%; display: grid; place-items: center; transition: opacity .25s; }
.fab-mark img { width: 100%; height: 100%; object-fit: contain; }
.fab-x { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; opacity: 0; transform: rotate(-90deg); transition: opacity .25s, transform .25s; }
.fab-x svg { width: 26px; height: 26px; }
.fab.open .fab-main { animation: none; box-shadow: 0 8px 24px rgba(63,74,44,.4); }
.fab.open .fab-mark { opacity: 0; }
.fab.open .fab-x { opacity: 1; transform: rotate(0); }
@media (prefers-reduced-motion: reduce) { .fab-main, .fab-main::before { animation: none; } }

/* ---------------- pop-up de reserva (Lapsula) ---------------- */
.reserva-modal { position: fixed; inset: 0; z-index: 200; display: none; }
.reserva-modal.open { display: block; }
.reserva-modal-backdrop { position: absolute; inset: 0; background: rgba(26,30,18,.6); backdrop-filter: blur(4px); }
.reserva-modal-box { position: relative; z-index: 1; background: #fff; max-width: 880px; width: calc(100% - 28px); margin: 3.5vh auto; border-radius: 22px; max-height: 93vh; overflow: auto; box-shadow: var(--shadow-lg); animation: modalIn .32s cubic-bezier(.2,.7,.3,1); }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.reserva-modal-close { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--olive-deep); display: grid; place-items: center; cursor: pointer; z-index: 3; transition: background .2s, color .2s; }
.reserva-modal-close:hover { background: var(--olive); color: #fff; border-color: var(--olive); }
.reserva-modal-close svg { width: 22px; height: 22px; }
.reserva-modal-head { text-align: center; padding: 30px 30px 6px; }
.reserva-modal-mark { display: inline-flex; width: 46px; height: 46px; color: var(--olive); }
.reserva-modal-head h3 { font-size: 1.7rem; margin-top: 6px; }
.reserva-modal-head p { color: var(--ink-soft); margin-top: 6px; }
.reserva-modal-body { padding: 10px 18px 22px; }
.reserva-modal-body iframe { width: 100%; min-height: 730px; border: 0; background: transparent; display: block; }
body.modal-open { overflow: hidden; }

/* embed de reserva en la página de contacto */
.reserva-embed { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px; box-shadow: var(--shadow-sm); }
.reserva-embed iframe { width: 100%; min-height: 730px; border: 0; background: transparent; display: block; border-radius: 12px; }

/* ---------------- banner cookies ---------------- */
.cookie-banner { position: fixed; left: 50%; bottom: 22px; z-index: 90; width: min(920px, calc(100% - 32px)); background: linear-gradient(180deg, #fff, var(--cream)); border: 1px solid var(--olive-soft); border-radius: var(--radius-lg); box-shadow: 0 18px 50px rgba(63,74,44,.24); padding: 20px 26px; transform: translate(-50%, 160%); transition: transform .5s cubic-bezier(.22,1,.36,1); }
.cookie-banner.show { transform: translate(-50%, 0); }
.cookie-inner { display: flex; align-items: center; gap: 20px; }
.cookie-ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-bg); color: var(--olive-deep); }
.cookie-ic svg { width: 24px; height: 24px; }
.cookie-copy { flex: 1; min-width: 0; }
.cookie-copy strong { display: block; font-family: var(--font-serif); font-size: 1.1rem; color: var(--olive-dark); margin-bottom: 4px; }
.cookie-copy p { font-size: .88rem; line-height: 1.55; color: var(--ink-soft); margin: 0; }
.cookie-copy a { color: var(--olive-deep); font-weight: 700; text-decoration: underline; }
.cookie-banner .cb-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.cookie-banner .cb-actions .btn { padding: 11px 24px; font-size: .9rem; }
@media (max-width: 720px) {
  .cookie-inner { flex-wrap: wrap; gap: 14px; }
  .cookie-ic { display: none; }
  .cookie-banner .cb-actions { width: 100%; }
  .cookie-banner .cb-actions .btn { flex: 1; }
}

/* ---------------- páginas internas ---------------- */
.page-hero { position: relative; padding: 58px 0 46px; background: var(--sage-bg); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; top: -30%; right: -8%; width: 40vw; height: 40vw; max-width: 480px; background: radial-gradient(circle, rgba(167,176,136,.35), transparent 70%); }
.breadcrumbs { position: relative; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .86rem; color: var(--ink-soft); margin-bottom: 18px; }
.breadcrumbs a:hover { color: var(--olive-deep); }
.breadcrumbs .sep { opacity: .5; }
.page-hero h1 { position: relative; font-size: clamp(2.2rem, 4.6vw, 3.3rem); max-width: 780px; }
.page-hero .page-lead { position: relative; color: var(--ink-soft); font-size: 1.12rem; max-width: 620px; margin-top: 16px; }
.page-hero .page-icon { position: relative; width: 66px; height: 66px; border-radius: 20px; background: #fff; color: var(--olive); display: grid; place-items: center; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.page-hero .page-icon svg { width: 34px; height: 34px; }

/* cabecera inmersiva de servicio (imágenes mezclándose + Ken Burns) */
.svc-hero { position: relative; overflow: hidden; isolation: isolate; min-height: 480px; display: flex; align-items: center; padding: 74px 0; }
.svc-hero .as-bg { position: absolute; inset: 0; z-index: -2; background: var(--olive-dark); }
.svc-hero .as-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s ease; will-change: opacity, transform; }
.svc-hero .as-slide.active { opacity: 1; animation: heroKen 9s ease-out both; }
/* Velo oscuro uniforme + degradado direccional: legible sobre cualquier imagen.
   z-index:2 lo coloca por encima de las fotos (que van a 0 dentro de .as-bg). */
.svc-hero .as-overlay { position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, rgba(20,24,12,.82) 0%, rgba(20,24,12,.55) 28%, rgba(20,24,12,.22) 58%, rgba(20,24,12,0) 92%); }
.svc-hero .container { position: relative; z-index: 1; }
.svc-hero .breadcrumbs { color: rgba(255,255,255,.82); }
.svc-hero .breadcrumbs a:hover { color: #fff; }
.svc-hero h1 { color: #fff; font-size: clamp(2.3rem, 3.8vw, 3.7rem); line-height: 1.1; margin-top: 6px; }
.svc-hero .page-lead { color: rgba(255,255,255,.92); }
@media (prefers-reduced-motion: reduce) { .svc-hero .as-slide.active { animation: none; } }

/* detalle servicio */
.serv-detail { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.serv-content > p { font-size: 1.1rem; color: var(--ink-soft); }
.serv-content h2 { font-size: 1.7rem; margin: 40px 0 20px; }
.check-list { display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.02rem; }
.check-list li svg { width: 24px; height: 24px; color: var(--olive); flex-shrink: 0; margin-top: 2px; }
.check-list.warm li svg { color: var(--warm-deep); }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-item summary { padding: 20px 24px; font-family: var(--font-serif); font-size: 1.15rem; color: var(--olive-dark); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-plus { width: 26px; height: 26px; flex-shrink: 0; color: var(--olive); transition: transform .3s; }
.faq-item[open] summary .faq-plus { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 24px 22px; color: var(--ink-soft); }
.note-urgente { background: #fbeee4; border-left: 4px solid var(--warm-deep); padding: 16px 20px; border-radius: 12px; color: #7a4a28; font-size: .98rem; }

.serv-sidebar { position: sticky; top: calc(var(--nav-h) + 20px); display: flex; flex-direction: column; gap: 22px; }
.sidebar-card { background: var(--sage-bg); border-radius: var(--radius-lg); padding: 30px; }
.sidebar-card.olive { background: var(--olive-dark); color: #e7ecdb; }
.sidebar-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.sidebar-card.olive h3 { color: #fff; }
.sidebar-card p { font-size: .96rem; color: var(--ink-soft); margin-bottom: 18px; }
.sidebar-card.olive p { color: #cbd3ba; }
.sidebar-list { display: flex; flex-direction: column; gap: 4px; }
.sidebar-list a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; font-weight: 600; font-size: .95rem; color: var(--olive-deep); transition: background .2s; }
.sidebar-list a:hover, .sidebar-list a.active { background: #fff; }
.sidebar-list a.active { color: var(--olive-dark); }
.sidebar-list svg { width: 20px; height: 20px; color: var(--olive); }

/* artículo blog con índice sticky */
.article-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; max-width: 1060px; margin: 0 auto; align-items: start; }
.article-toc { position: sticky; top: calc(var(--nav-h) + 22px); font-size: .9rem; }
.article-toc .toc-title { font-family: var(--font-serif); font-size: 1.15rem; color: var(--olive-dark); margin-bottom: 12px; }
.article-toc ul { display: flex; flex-direction: column; gap: 1px; border-left: 2px solid var(--line); }
.article-toc li a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-soft); line-height: 1.35; transition: color .2s, border-color .2s; }
.article-toc li a:hover { color: var(--olive-deep); }
.article-toc li a.active { color: var(--olive-deep); border-color: var(--olive); font-weight: 700; }
.article-layout .article { max-width: none; margin: 0; }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } .article-toc { display: none; } }
.article { max-width: 760px; margin: 0 auto; }
.article-body { font-size: 1.12rem; color: #3c4232; line-height: 1.8; }
.article-body h2 { font-size: 1.6rem; margin: 38px 0 16px; }
.article-body p { margin-bottom: 20px; }
.article-body ul { list-style: disc; padding-left: 24px; margin-bottom: 20px; }
.article-body li { margin-bottom: 8px; }
.article-body a { color: var(--olive-deep); text-decoration: underline; }

/* formulario contacto */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: stretch; }
.contact-info { display: flex; flex-direction: column; gap: 10px; }
.info-block { display: flex; gap: 12px; align-items: center; }
.info-block .ib-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--sage-bg); color: var(--olive); display: grid; place-items: center; flex-shrink: 0; }
.info-block .ib-icon svg { width: 21px; height: 21px; }
.info-block h4 { font-family: var(--font-sans); font-weight: 700; font-size: .96rem; color: var(--olive-dark); margin-bottom: 1px; line-height: 1.2; }
.info-block p, .info-block a { color: var(--ink-soft); line-height: 1.25; }
.info-block a:hover { color: var(--olive-deep); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 28px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-weight: 700; font-size: .88rem; color: var(--olive-dark); margin-bottom: 7px; }
.field .req { color: var(--warm-deep); }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 11px; background: var(--cream);
  font: inherit; color: var(--ink); transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--olive); background: #fff; }
.field textarea { min-height: 96px; resize: vertical; }
.field-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--ink-soft); margin-bottom: 14px; margin-top: 4px; }
.field-consent input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--olive); }
.field-consent a { color: var(--olive-deep); text-decoration: underline; }
.form-errors { background: #fbeaea; border: 1px solid #f1c9c9; color: #a33; padding: 12px 16px; border-radius: 12px; font-size: .9rem; margin-bottom: 18px; display: none; }
.form-errors.show { display: block; }
.form-errors ul { list-style: disc; padding-left: 20px; }
.form-success { display: none; text-align: center; padding: 20px; }
.form-success.show { display: block; }
.form-success .fs-icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: rgba(130,141,98,.14); color: var(--olive); display: grid; place-items: center; }
.form-success .fs-icon svg { width: 40px; height: 40px; }
.form-success h3 { font-size: 1.6rem; margin-bottom: 10px; }
.form-success p { color: var(--ink-soft); }

/* mapa */
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-top: 16px; flex: 1 1 auto; min-height: 260px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 260px; border: 0; display: block; filter: grayscale(.2) saturate(.9); }

/* legales */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.5rem; margin: 34px 0 14px; }
.legal-content p, .legal-content li { color: var(--ink-soft); margin-bottom: 14px; }
.legal-content ul { list-style: disc; padding-left: 22px; }
.legal-content a { color: var(--olive-deep); text-decoration: underline; }

/* 404 */
.notfound { text-align: center; padding: 120px 0; }
.notfound .nf-mark { width: 100px; height: 100px; color: var(--olive-soft); margin: 0 auto 24px; }
.notfound h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.notfound p { color: var(--ink-soft); font-size: 1.1rem; margin: 16px 0 30px; }

/* sobre mí (página) */
.about-page-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; }
.about-page-photo { position: sticky; top: calc(var(--nav-h) + 24px); }
.about-page-photo .app-img { aspect-ratio: 3/3.6; border-radius: 50% 50% 46% 54% / 52% 52% 48% 48%; overflow: hidden; box-shadow: var(--shadow-lg); background: linear-gradient(160deg, var(--sage-100), var(--olive-soft)); }
.emiliana-video { max-width: 400px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #1a1e12; }
.emiliana-video video { width: 100%; height: auto; display: block; max-height: 78vh; }
.about-page-photo .app-img img { width:100%; height:100%; object-fit: cover; }
.about-cred { margin-top: 24px; background: var(--sage-bg); border-radius: var(--radius); padding: 24px; }
.cred-seal { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.cred-seal .cop-logo { width: 78px; height: auto; flex-shrink: 0; }
.cred-seal-mark { width: 46px; height: 46px; border-radius: 50%; background: var(--olive); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.cred-seal-mark svg { width: 25px; height: 25px; }
.cred-seal-txt strong { display: block; color: var(--olive-dark); font-family: var(--font-serif); font-size: 1.08rem; }
.cred-seal-txt span { font-size: .82rem; color: var(--ink-soft); line-height: 1.3; }
.about-cred h4 { font-family: var(--font-serif); font-weight: 600; font-size: 1.3rem; letter-spacing: 0; text-transform: none; color: var(--olive-dark); margin-bottom: 12px; }
.about-cred li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: .96rem; color: var(--ink-soft); }
.about-cred svg { width: 20px; height: 20px; color: var(--olive); flex-shrink: 0; margin-top: 2px; }
.about-text h2 { font-size: 1.7rem; margin: 32px 0 14px; }
.about-text h2:first-child { margin-top: 0; }
.about-text p { color: var(--ink-soft); font-size: 1.06rem; margin-bottom: 18px; }
.enfoque-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.enfoque-tags span { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 8px 16px; font-weight: 600; font-size: .9rem; color: var(--olive-deep); }

/* marcador de foto (mientras no haya imagen real) */
.photo-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(155deg, var(--olive-soft), var(--olive)); }
.photo-placeholder .pp-mark { width: 42%; max-width: 150px; display: block; }
.photo-placeholder .pp-mark svg { width: 100%; height: 100%; }
.badge-cole { color: #dfe4d1; font-weight: 600; letter-spacing: .02em; }

/* equipo */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 920px; margin: 0 auto; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-photo { position: relative; aspect-ratio: 4/3.6; overflow: hidden; background: linear-gradient(155deg, var(--sage-100), var(--olive-soft)); }
.team-photo img, .team-photo .photo-placeholder { width: 100%; height: 100%; object-fit: cover; }
.team-card:hover .team-photo img { transform: scale(1.04); transition: transform .6s ease; }
.team-soon { position: absolute; top: 14px; left: 14px; z-index: 1; background: var(--warm); color: #4a2f1c; font-weight: 700; font-size: .78rem; padding: 5px 13px; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); }
.team-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 7px; flex-grow: 1; }
.team-body h3 { font-size: 1.5rem; }
.team-role { font-size: .88rem; color: var(--olive); font-weight: 700; }
.team-body p { color: var(--ink-soft); margin-top: 3px; }
.team-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 2px; }
.team-tags span { background: var(--sage-bg); color: var(--olive-deep); font-size: .8rem; font-weight: 600; padding: 5px 12px; border-radius: var(--radius-pill); }
.team-body .serv-link { margin-top: auto; padding-top: 6px; }
@media (max-width: 620px) { .team-grid { grid-template-columns: 1fr; } }

/* animación aparición (solo si hay JS; sin JS todo se ve) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ---------------- responsive ---------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 440px; margin: 0 auto; }
  .about-grid, .about-page-grid, .contact-grid, .serv-detail { grid-template-columns: 1fr; gap: 40px; }
  .about-page-photo, .serv-sidebar { position: static; }
  .serv-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .method-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .method-line { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .nav-menu, .nav-actions .lang-switch, .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .section { padding: 68px 0; }
  .modalidad-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .serv-grid, .blog-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-badge.b1 { left: 0; }
  .hero-badge.b2 { right: 0; }
  .cta-band { padding: 48px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-text .bt-sub { display: none; }
}

/* ---------- Ordinal "1ª" volado ---------- */
.btn sup.ord, sup.ord { font-size: .6em; line-height: 0; vertical-align: .5em; font-weight: inherit; margin-left: .5px; text-decoration: none; }

/* ---------- Botón cabecera "Reservar" compacto ---------- */
.btn-nav-reserva { padding: 10px 20px; font-size: .9rem; letter-spacing: .015em; }
.btn-nav-reserva span { position: relative; z-index: 1; }

/* ---------- Arcoíris SOLO en el contorno (máscara) ---------- */
@property --halo-ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

/* Cabecera: el arcoíris gira alrededor del borde, interior intacto */
.btn-halo { position: relative; z-index: 0; }
.btn-halo::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--halo-ang),
    #3f4a2c, #828d62, #a7b088, #d9e0c4, #cf9a6f, #a7b088, #55603c, #828d62, #3f4a2c);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: haloSpin 4.5s linear infinite;
}
@keyframes haloSpin { to { --halo-ang: 360deg; } }

/* CTA: el arcoíris fluye de lado a lado por el contorno, interior intacto */
.btn-flow { position: relative; z-index: 0; }
.btn-flow::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2.5px; pointer-events: none;
  background: linear-gradient(90deg, #55603c, #828d62, #a7b088, #d9e0c4, #cf9a6f, #a7b088, #828d62, #55603c);
  background-size: 260% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: flowBorder 3.6s linear infinite;
}
@keyframes flowBorder { 0% { background-position: 0% 50%; } 100% { background-position: 260% 50%; } }

@media (prefers-reduced-motion: reduce) {
  .btn-halo::before, .btn-flow::before { animation: none; }
}

/* ---------- Ficha de equipo sin foto: logo oficial ---------- */
.team-photo-logo { display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 40%, var(--sage-bg), var(--cream)); }
.team-logo-mark { width: 52%; max-width: 150px; height: auto; object-fit: contain; opacity: .92; }
.app-img-logo { display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 40%, var(--sage-bg), var(--cream)); }
.app-img-logo .team-logo-mark { width: 55%; }

/* ---------- Opiniones reales (contacto) ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; }
.review-stars { display: inline-flex; gap: 2px; }
.review-stars svg { width: 18px; height: 18px; }
.review-stars svg path { fill: var(--warm); stroke: var(--warm); }
.review-card blockquote { color: var(--ink-soft); line-height: 1.6; font-size: .97rem; }
.review-card figcaption { display: flex; flex-direction: column; margin-top: auto; }
.review-card .rc-name { font-family: var(--font-serif); font-size: 1.08rem; color: var(--olive-dark); }
.review-card .rc-src { font-size: .8rem; color: var(--olive); font-weight: 600; }
.reviews-cta { text-align: center; margin-top: 30px; }
.reviews-cta .btn svg { width: 20px; height: 20px; }
@media (max-width: 860px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ---------- Marca de agua circular con parallax (solo PC) ---------- */
/* overflow: clip recorta la marca SIN romper el position:sticky del sidebar */
.serv-body, .wm-host { position: relative; overflow: clip; }
.serv-body > .container, .wm-host > .container { position: relative; z-index: 1; }
.serv-watermark, .home-watermark { display: none; }
@media (min-width: 992px) {
  .serv-watermark, .home-watermark {
    display: block; position: absolute; top: 50%;
    width: 480px; height: 480px; transform: translateY(-50%);
    background-position: center; background-size: contain; background-repeat: no-repeat;
    opacity: .055; pointer-events: none; z-index: 0; will-change: transform;
  }
  .serv-watermark { left: -150px; }
  .home-watermark { right: -150px; width: 520px; height: 520px; opacity: .05; }
}

/* ---------- Botón volver arriba ---------- */
.to-top { position: fixed; left: 24px; bottom: 26px; z-index: 70; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: var(--olive); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(63,74,44,.28); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s, background .2s, visibility .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--olive-deep); }
.to-top svg { width: 20px; height: 20px; transform: rotate(-90deg); }
@media (max-width: 600px) { .to-top { left: 16px; bottom: 18px; width: 42px; height: 42px; } }

/* ---------- 404: enlaces útiles ---------- */
.nf-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 30px; }
.nf-links > span { width: 100%; font-size: .92rem; color: var(--ink-soft); margin-bottom: 4px; }
.nf-links a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: var(--radius-pill); background: var(--sage-bg); color: var(--olive-deep); font-weight: 600; font-size: .92rem; transition: background .2s, color .2s; }
.nf-links a svg { width: 18px; height: 18px; }
.nf-links a:hover { background: var(--olive); color: #fff; }

/* ---------- Foco visible accesible ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--olive); outline-offset: 2px; border-radius: 4px;
}

/* ============================================================
   LANDING de captación (Google Ads)
   ============================================================ */
.landing-header { position: sticky; top: 0; z-index: 60; background: rgba(247,246,239,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.landing-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.landing-header .brand { display: inline-flex; align-items: center; gap: 12px; }
.landing-header .brand-mark img { height: 44px; width: auto; }
.lh-actions { display: flex; align-items: center; gap: 14px; }
.lh-phone { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--olive-deep); font-size: 1.02rem; }
.lh-phone svg { width: 18px; height: 18px; }
@media (max-width: 620px){ .lh-phone span { display: none; } .landing-header .bt-sub { display:none; } }

.landing-footer { background: var(--olive-dark); color: #cdd5bd; padding: 26px 0; }
.landing-footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; font-size: .86rem; }
.lf-brand { display: inline-flex; align-items: center; gap: 10px; }
.lf-brand .brand-mark img { height: 30px; width:auto; }
.lf-brand strong { color: #fff; }
.lf-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.lf-legal a { color: #cdd5bd; text-decoration: underline; }
.lf-copy { color: #9aa585; }

/* Hero */
.lp-hero { position: relative; isolation: isolate; overflow: hidden; background-image: var(--lp-hero); background-size: cover; background-position: center; padding: 54px 0 60px; }
.lp-hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,24,12,.92) 0%, rgba(20,24,12,.8) 46%, rgba(20,24,12,.5) 100%); }
.lp-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.lp-hero-copy { color: #fff; }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #dce3c7; font-family: var(--font-serif); font-size: 1.15rem; margin-bottom: 12px; }
.lp-eyebrow svg { width: 20px; height: 20px; }
.lp-hero-copy h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.06; }
.lp-sub { color: rgba(255,255,255,.92); font-size: 1.12rem; line-height: 1.5; margin-top: 16px; max-width: 560px; }
.lp-trust { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; max-width: 540px; }
.lp-trust li { display: flex; align-items: center; gap: 9px; color: #eef1e6; font-weight: 600; font-size: .95rem; }
.lp-trust svg { width: 20px; height: 20px; color: #cbd7a6; flex-shrink: 0; }
.lp-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { background: #fff; color: var(--olive-deep); border-color: #fff; transform: translateY(-2px); }

.lp-form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: 0 26px 70px rgba(16,20,8,.4); padding: 26px 26px 22px; }
.lp-form-card > h2 { font-size: 1.5rem; color: var(--olive-dark); }
.lp-form-lead { color: var(--ink-soft); font-size: .95rem; margin: 4px 0 14px; }
.lp-form .field { margin-bottom: 11px; }
.lp-form-note { text-align: center; font-size: .82rem; color: var(--ink-soft); margin-top: 10px; }

/* Beneficios */
.lp-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-benefit { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 22px; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease; }
.lp-benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.lp-benefit-ic { flex-shrink: 0; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--olive), var(--olive-deep)); color: #fff; box-shadow: 0 10px 22px rgba(130,141,98,.36); }
.lp-benefit-ic svg { width: 27px; height: 27px; }
.lp-benefit:nth-child(3n+2) .lp-benefit-ic { background: linear-gradient(135deg, var(--warm), var(--warm-deep)); box-shadow: 0 10px 22px rgba(207,154,111,.42); }
.lp-benefit:nth-child(3n) .lp-benefit-ic { background: linear-gradient(135deg, #7d9142, #55603c); }
.lp-benefit-tx h3 { font-size: 1.12rem; color: var(--olive-dark); margin-bottom: 4px; }
.lp-benefit-tx p { color: var(--ink-soft); line-height: 1.5; font-size: .94rem; }
.center { text-align: center; }
.method-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Pasos */
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lp-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 24px 24px; text-align: center; }
.lp-step-num { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--olive); color: #fff; font-family: var(--font-serif); font-size: 1.3rem; margin-bottom: 12px; }
.lp-step h3 { font-size: 1.12rem; color: var(--olive-dark); margin-bottom: 6px; }
.lp-step p { color: var(--ink-soft); font-size: .95rem; line-height: 1.5; }

/* Servicios */
.lp-serv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lp-serv-item { display: flex; align-items: center; gap: 13px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 15px 17px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.lp-serv-item:hover { border-color: var(--olive-soft); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.lp-serv-ic { width: 42px; height: 42px; border-radius: 11px; background: var(--sage-bg); color: var(--olive); display: grid; place-items: center; flex-shrink: 0; }
.lp-serv-ic svg { width: 22px; height: 22px; }
.lp-serv-item strong { display: block; color: var(--olive-dark); font-family: var(--font-serif); font-size: 1.05rem; }
.lp-serv-item small { color: var(--ink-soft); font-size: .86rem; line-height: 1.35; display: block; margin-top: 2px; }

/* Sobre */
.lp-about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.lp-about-photo img, .lp-about-photo .photo-placeholder { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow); }
.lp-about-body h2 { font-size: 2rem; color: var(--olive-dark); margin: 6px 0 14px; }
.lp-about-body p { color: var(--ink-soft); line-height: 1.65; }
.lp-about-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 24px; }
.lp-about-badges span { display: inline-flex; align-items: center; gap: 7px; background: var(--sage-bg); color: var(--olive-deep); border-radius: var(--radius-pill); padding: 7px 14px; font-weight: 600; font-size: .88rem; }
.lp-about-badges svg { width: 17px; height: 17px; }

/* Zona */
.lp-zona { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.lp-zona-body h2 { font-size: 2rem; color: var(--olive-dark); margin: 6px 0 12px; }
.lp-zona-body p { color: var(--ink-soft); line-height: 1.6; }
.lp-zona-list { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lp-zona-list li { display: flex; align-items: center; gap: 9px; color: var(--olive-deep); font-weight: 600; }
.lp-zona-list svg { width: 19px; height: 19px; color: var(--olive); }
.lp-zona-map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.lp-zona-map iframe { width: 100%; height: 340px; border: 0; display: block; filter: grayscale(.15) saturate(.95); }

/* CTA final */
.lp-final { background: var(--olive-dark); color: #eef1e6; padding: 60px 0; }
.lp-final-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.lp-final-copy h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.lp-final-copy p { color: #d3dbc3; font-size: 1.08rem; line-height: 1.55; margin: 16px 0 24px; }
.lp-final-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Responsive landing */
@media (max-width: 900px) {
  .lp-hero-grid, .lp-about, .lp-zona, .lp-final-grid { grid-template-columns: 1fr; }
  .lp-benefits, .lp-steps, .lp-serv { grid-template-columns: 1fr 1fr; }
  .lp-hero { padding: 34px 0 40px; }
  .lp-about-photo { max-width: 380px; }
}
@media (max-width: 560px) {
  .lp-benefits, .lp-steps, .lp-serv, .lp-trust, .lp-zona-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) { .method-grid-3 { grid-template-columns: 1fr; } }

/* ---------- Página de Preguntas frecuentes ---------- */
.faq-layout { display: grid; grid-template-columns: 260px 1fr; gap: 44px; align-items: start; }
.faq-nav-inner { position: sticky; top: calc(var(--nav-h) + 20px); display: flex; flex-direction: column; gap: 3px; }
.faq-nav-title { font-family: var(--font-serif); font-size: 1.1rem; color: var(--olive-dark); margin-bottom: 10px; }
.faq-nav-inner a { display: flex; align-items: center; gap: 10px; padding: 8px 11px; border-radius: 10px; color: var(--ink-soft); font-weight: 600; font-size: .89rem; line-height: 1.25; transition: background .2s, color .2s; }
.faq-nav-inner a:hover { background: var(--sage-bg); color: var(--olive-deep); }
.faq-nav-ic { width: 30px; height: 30px; flex-shrink: 0; border-radius: 8px; background: var(--sage-bg); color: var(--olive); display: grid; place-items: center; }
.faq-nav-ic svg { width: 17px; height: 17px; }
.faq-cat { margin-bottom: 40px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.faq-cat-title { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; color: var(--olive-dark); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.faq-cat-ic { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: var(--sage-bg); color: var(--olive); display: grid; place-items: center; }
.faq-cat-ic svg { width: 22px; height: 22px; }
.faq-a a { color: var(--olive-deep); font-weight: 600; text-decoration: underline; }
.faq-help { background: var(--olive-dark); color: #eef1e6; border-radius: var(--radius-lg); padding: 32px 32px; text-align: center; margin-top: 8px; }
.faq-help h3 { color: #fff; font-size: 1.4rem; }
.faq-help p { color: #d3dbc3; margin: 8px 0 20px; }
.faq-help-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.faq-help .btn-ghost { color: #eef1e6; border-color: rgba(255,255,255,.4); }
.faq-help .btn-ghost:hover { background: #fff; color: var(--olive-deep); border-color: #fff; }
@media (max-width: 860px) {
  .faq-layout { grid-template-columns: 1fr; gap: 26px; }
  .faq-nav-inner { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .faq-nav-title { width: 100%; margin-bottom: 2px; }
  .faq-nav-inner a { background: #fff; border: 1px solid var(--line); }
}

/* ---------- Barra fija de contacto (solo móvil) ---------- */
.mobile-cta { display: none; }
@media (max-width: 768px) {
  .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; gap: 6px;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(63,74,44,.14);
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px)); }
  .mobile-cta a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 7px 4px; border-radius: 12px; color: var(--olive-deep); font-size: .72rem; font-weight: 700; }
  .mobile-cta a svg { width: 22px; height: 22px; }
  .mobile-cta .mc-primary { background: var(--olive); color: #fff; }
  body { padding-bottom: 66px; }
  .fab { display: none !important; }
  .to-top { bottom: 80px; }
  .cookie-banner { bottom: 76px; }
}

/* ---------- Buscador de FAQ ---------- */
.faq-search { position: relative; max-width: 560px; margin: 0 auto 40px; }
.faq-search input { width: 100%; padding: 14px 18px 14px 48px; border: 1.5px solid var(--line); border-radius: var(--radius-pill); background: #fff; font: inherit; color: var(--ink); box-shadow: var(--shadow-sm); }
.faq-search input:focus { outline: none; border-color: var(--olive); }
.faq-search-ic { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: var(--olive); display: grid; place-items: center; pointer-events: none; }
.faq-search-ic svg { width: 20px; height: 20px; }
.faq-noresults { text-align: center; color: var(--ink-soft); margin: 6px 0 0; }

/* ============================================================
   TESTS orientativos
   ============================================================ */
.tests-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.test-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 8px; transition: transform .22s ease, box-shadow .22s ease; }
.test-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.test-ic { width: 58px; height: 58px; border-radius: 16px; background: linear-gradient(135deg, var(--olive), var(--olive-deep)); color: #fff; display: grid; place-items: center; margin-bottom: 6px; box-shadow: 0 10px 22px rgba(130,141,98,.34); transition: transform .45s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease; }
.test-ic svg { width: 30px; height: 30px; transition: transform .45s cubic-bezier(.34,1.56,.64,1); }
.test-card:hover .test-ic { transform: rotate(-7deg) scale(1.09); box-shadow: 0 16px 30px rgba(130,141,98,.44); }
.test-card:hover .test-ic svg { transform: scale(1.12); }
.test-card h3 { font-size: 1.25rem; color: var(--olive-dark); }
.test-card p { color: var(--ink-soft); line-height: 1.5; font-size: .96rem; flex: 1; }
.test-card .serv-link { margin-top: 8px; }
.tests-note { display: flex; align-items: flex-start; gap: 10px; max-width: 760px; margin: 34px auto 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.55; background: var(--sage-bg); border-radius: var(--radius); padding: 16px 20px; }
.tests-note svg { width: 22px; height: 22px; color: var(--olive); flex-shrink: 0; }

.test-wrap { max-width: 760px; }
.test-disclaimer { display: flex; align-items: flex-start; gap: 10px; background: var(--sage-bg); border-radius: var(--radius); padding: 14px 18px; color: var(--ink-soft); font-size: .9rem; line-height: 1.5; margin-bottom: 26px; }
.test-disclaimer svg { width: 20px; height: 20px; color: var(--olive); flex-shrink: 0; }
.test-progress { height: 8px; background: var(--sage-bg); border-radius: 999px; overflow: hidden; position: sticky; top: calc(var(--nav-h) + 8px); z-index: 5; box-shadow: 0 0 0 6px var(--cream); }
.test-progress-bar { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--olive), var(--olive-deep)); border-radius: 999px; transition: width .35s ease; }
.test-progress-txt { text-align: right; color: var(--olive); font-weight: 700; font-size: .85rem; margin: 6px 0 22px; }
.test-questions { list-style: none; counter-reset: tq; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.test-q { counter-increment: tq; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px; transition: border-color .2s; }
.test-q.answered { border-color: var(--olive-soft); }
.test-q.missing { border-color: var(--warm-deep); box-shadow: 0 0 0 3px rgba(207,154,111,.18); }
.test-q-txt { font-weight: 600; color: var(--olive-dark); margin-bottom: 14px; }
.test-q-txt::before { content: counter(tq) ". "; color: var(--olive); }
.test-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.test-opt { position: relative; }
.test-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.test-opt span { display: block; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-pill); font-size: .9rem; font-weight: 600; color: var(--ink-soft); cursor: pointer; transition: all .18s ease; }
.test-opt input:hover + span { border-color: var(--olive-soft); }
.test-opt input:checked + span { background: var(--olive); border-color: var(--olive); color: #fff; }
.test-opt input:focus-visible + span { outline: 3px solid var(--olive); outline-offset: 2px; }

.test-lead { background: var(--sage-bg); border-radius: var(--radius-lg); padding: 26px 26px 20px; margin-top: 26px; }
.test-lead h3 { font-size: 1.35rem; color: var(--olive-dark); }
.test-lead-sub { color: var(--ink-soft); font-size: .95rem; margin: 4px 0 16px; }
.test-form .form-errors { margin: 16px 0 0; }
.test-form > button[type="submit"] { margin-top: 20px; }

.test-result { background: #fff; border: 1px solid var(--olive-soft); border-radius: var(--radius-lg); padding: 40px 34px; text-align: center; box-shadow: var(--shadow); }
.test-result-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--sage-bg); color: var(--olive); display: inline-grid; place-items: center; margin-bottom: 12px; }
.test-result-ic svg { width: 32px; height: 32px; }
.test-result-level { display: inline-block; color: var(--olive-deep); background: var(--sage-bg); border-radius: var(--radius-pill); padding: 5px 16px; font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
.test-result h2 { font-size: 1.9rem; color: var(--olive-dark); margin: 12px 0 6px; }
.test-result-score { color: var(--olive); font-weight: 700; margin-bottom: 12px; }
.test-result-text { color: var(--ink-soft); line-height: 1.65; max-width: 560px; margin: 0 auto 16px; }
.test-result-disc { color: var(--ink-soft); font-size: .82rem; font-style: italic; max-width: 560px; margin: 0 auto 24px; }
.test-result-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 860px) { .tests-grid { grid-template-columns: 1fr; } }

/* ---------- Test asistente (pregunta a pregunta) ---------- */
.quiz-wrap { max-width: 680px; }
.quiz-head { position: sticky; top: calc(var(--nav-h) + 6px); z-index: 5; background: var(--cream); padding: 6px 0 14px; }
.quiz-bar { height: 9px; background: var(--sage-bg); border-radius: 999px; overflow: hidden; }
.quiz-bar-fill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--olive), var(--olive-deep)); border-radius: 999px; transition: width .4s cubic-bezier(.22,1,.36,1); }
.quiz-step-label { display: block; text-align: right; color: var(--olive); font-weight: 700; font-size: .85rem; margin-top: 7px; }
.quiz-step { border: 0; padding: 0; margin: 0; min-inline-size: auto; display: none; }
.quiz-step.active { display: block; animation: quizIn .34s ease; }
@keyframes quizIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.quiz-q { font-family: var(--font-serif); font-size: clamp(1.3rem, 2.6vw, 1.7rem); color: var(--olive-dark); line-height: 1.28; margin-bottom: 22px; }
.quiz-opts { display: flex; flex-direction: column; gap: 12px; }
.quiz-opt { position: relative; }
.quiz-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.quiz-opt span { display: block; padding: 16px 20px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; font-size: 1.02rem; font-weight: 600; color: var(--ink); cursor: pointer; transition: background .18s, border-color .18s, color .18s, transform .18s; }
.quiz-opt input:hover + span { border-color: var(--olive-soft); background: var(--sage-bg); }
.quiz-opt input:checked + span { background: var(--olive); border-color: var(--olive); color: #fff; }
.quiz-opt input:focus-visible + span { outline: 3px solid var(--olive); outline-offset: 2px; }
.quiz-lead .quiz-q { margin-bottom: 6px; }
.quiz-lead-sub { color: var(--ink-soft); margin-bottom: 18px; }
.quiz-lead .form-errors { margin: 4px 0 0; }

/* Resultado mostrado a la vez que el formulario de captación (tarjeta blanca) */
.quiz-result { background: #fff; border: 1px solid var(--olive-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow); text-align: center; padding: 32px 28px; margin-bottom: 24px; }
.quiz-result .test-result-level { color: #fff; background: var(--olive); }
.quiz-result .qr-title { font-size: 1.75rem; color: var(--olive-dark); margin: 14px 0 4px; }
.qr-meter { height: 12px; border-radius: 999px; background: #e9ece0; max-width: 420px; margin: 16px auto 8px; overflow: hidden; }
.qr-meter-fill { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--olive); transition: width .9s cubic-bezier(.2, .8, .2, 1); }
.quiz-lead-box { }
.quiz-lead-title { font-size: 1.15rem; color: var(--olive-dark); margin: 0 0 4px; }
.quiz-sent { text-align: center; padding: 10px 0 4px; }
.quiz-sent .test-result-ic { margin-bottom: 8px; }
.quiz-sent h4 { font-size: 1.4rem; color: var(--olive-dark); margin: 6px 0; }
.quiz-sent p { color: var(--ink-soft); max-width: 460px; margin: 0 auto 18px; }
#qrDisc { margin-top: 20px; }

/* ---------- Desplegable "Recursos" del menú ---------- */
.has-drop { position: relative; }
.has-drop .mega-trigger { background: none; border: 0; cursor: pointer; font: inherit; }
.has-drop::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 16px; }
.drop-panel { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px); min-width: 236px; background: #fff; border: 1px solid var(--olive-soft); border-radius: 14px; box-shadow: 0 18px 44px rgba(63, 74, 44, .16); padding: 10px; opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease; z-index: 70; }
.has-drop:hover .drop-panel, .has-drop:focus-within .drop-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.drop-panel a { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 9px; color: var(--olive-dark); font-family: var(--font-serif); font-size: 1.02rem; white-space: nowrap; }
.drop-panel a:hover, .drop-panel a.active { background: var(--sage-bg); }
.drop-panel .drop-ic { display: inline-grid; place-items: center; color: var(--olive); }
.drop-panel .drop-ic svg { width: 18px; height: 18px; }

/* ---------- Filtro del blog ---------- */
.blog-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 auto 38px; }
.bf-btn { font-family: var(--font-serif); font-size: .98rem; color: var(--olive-dark); background: #fff; border: 1px solid var(--olive-soft); border-radius: var(--radius-pill); padding: 8px 18px; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.bf-btn:hover { border-color: var(--olive); }
.bf-btn.is-active { background: var(--olive); color: #fff; border-color: var(--olive); }
.blog-card.is-hidden { display: none; }

/* ---------- Guías (lead magnet) ---------- */
.guides-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.guide-card { background: #fff; border: 1px solid var(--olive-soft); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.guide-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(63, 74, 44, .14); }
.guide-thumb { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.guide-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.guide-card:hover .guide-thumb img { transform: scale(1.04); }
.guide-badge { position: absolute; left: 22px; top: -23px; z-index: 3; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--olive); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(63, 74, 44, .22); transition: transform .7s cubic-bezier(.2, .8, .2, 1), background-color .4s ease, color .4s ease; will-change: transform; }
.guide-badge svg { width: 22px; height: 22px; }
.guide-card:hover .guide-badge { transform: rotateY(360deg) scale(1.08); background: var(--olive); color: #fff; }
.guide-free { position: absolute; top: 12px; right: 12px; background: rgba(63, 74, 44, .92); color: #eef1e6; font-size: .74rem; font-weight: 700; letter-spacing: .01em; text-transform: none; padding: 4px 12px; border-radius: var(--radius-pill); }
.guide-body { position: relative; padding: 32px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.guide-sub { color: var(--olive); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.guide-body h3 { font-size: 1.25rem; margin: 6px 0 8px; line-height: 1.2; }
.guide-body h3 a { color: var(--olive-dark); }
.guide-body > p { color: var(--ink-soft); font-size: .95rem; line-height: 1.55; margin-bottom: 14px; flex: 1; }

.guia-hero .eyebrow { color: rgba(255, 255, 255, .88); }
.guia-lead { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.guia-desc { font-size: 1.15rem; line-height: 1.6; color: var(--ink); margin-bottom: 22px; }
.guia-points { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 13px; }
.guia-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); line-height: 1.5; }
.gp-ic { color: var(--olive); flex-shrink: 0; margin-top: 1px; }
.gp-ic svg { width: 20px; height: 20px; }
.guia-note { color: var(--ink-soft); font-size: .9rem; font-style: italic; }
.guia-form-wrap { position: sticky; top: 100px; }
.guia-form-card { background: #fff; border: 1px solid var(--olive-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 32px 26px; text-align: center; }
.guia-form-card .form { text-align: left; margin-top: 6px; }
.guia-form-ic { width: 56px; height: 56px; border-radius: 50%; background: var(--sage-bg); color: var(--olive); display: inline-grid; place-items: center; margin-bottom: 10px; }
.guia-form-ic svg { width: 28px; height: 28px; }
.guia-form-card h2 { font-size: 1.5rem; margin: 4px 0 6px; color: var(--olive-dark); }
.guia-form-card > p { color: var(--ink-soft); margin-bottom: 4px; }
.guia-sent .btn { margin-top: 8px; }
.guia-privacy { color: var(--ink-soft); font-size: .8rem; line-height: 1.5; text-align: center; margin-top: 16px; }
@media (max-width: 800px) { .guia-lead { grid-template-columns: 1fr; gap: 30px; } .guia-form-wrap { position: static; } }

/* ---------- Cursor personalizado (solo escritorio con ratón fino) ---------- */
@media (hover: hover) and (pointer: fine) {
  html.cursor-on, html.cursor-on * { cursor: none !important; }
  .cur-dot, .cur-ring { position: fixed; top: 0; left: 0; margin: 0; pointer-events: none; z-index: 100000; border-radius: 50%; will-change: transform; }
  .cur-dot { width: 7px; height: 7px; background: var(--olive); transition: opacity .25s ease, width .2s ease, height .2s ease, background-color .25s ease; }
  .cur-ring { width: 32px; height: 32px; border: 1.5px solid rgba(130, 141, 98, .55); transition: width .28s ease, height .28s ease, border-color .28s ease, background-color .28s ease, opacity .25s ease; }
  .cur-ring.is-hover { width: 52px; height: 52px; border-color: var(--olive); background-color: rgba(130, 141, 98, .12); }
  .cur-dot.is-hover { width: 9px; height: 9px; }
  html.cur-down .cur-ring { width: 26px; height: 26px; }
  .cur-hide { opacity: 0 !important; }
}
.quiz-nav { margin-top: 20px; }
.quiz-back { background: none; border: 0; color: var(--olive-deep); font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 8px 2px; font-size: .95rem; }
.quiz-back svg { width: 18px; height: 18px; transform: rotate(180deg); }
.quiz-back:hover { color: var(--olive-dark); }

/* ---------- Enlace "saltar al contenido" (accesibilidad) ---------- */
.skip-link { position: fixed; top: -60px; left: 12px; z-index: 200; background: var(--olive-dark); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 10px; font-weight: 700; text-decoration: none; transition: top .2s ease; }
.skip-link:focus { top: 0; outline: 3px solid var(--warm); }

/* ---------- Tarjeta de test relacionado (lateral servicio) ---------- */
.sidebar-test { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 18px 20px; background: linear-gradient(160deg, var(--sage-bg), #fff); border: 1px solid var(--olive-soft); transition: transform .2s, box-shadow .2s; }
.sidebar-test:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.sidebar-test-ic { width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, var(--olive), var(--olive-deep)); color: #fff; display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 8px 18px rgba(130,141,98,.32); transition: transform .45s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease; }
.sidebar-test-ic svg { width: 26px; height: 26px; transition: transform .45s cubic-bezier(.34,1.56,.64,1); }
.sidebar-test:hover .sidebar-test-ic { transform: rotate(-7deg) scale(1.1); box-shadow: 0 13px 26px rgba(130,141,98,.44); }
.sidebar-test:hover .sidebar-test-ic svg { transform: scale(1.12); }
.sidebar-test strong { display: block; color: var(--olive-dark); font-family: var(--font-serif); font-size: 1.05rem; line-height: 1.2; }
.sidebar-test div span { color: var(--ink-soft); font-size: .82rem; }
.sidebar-test-ic, .sidebar-test-ic svg { color: #fff; }
.sidebar-test > svg { width: 20px; height: 20px; color: var(--olive); margin-left: auto; flex-shrink: 0; }
