/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #f4efe6;
  --bg-2:      #e8dfd0;
  --bg-3:      #ddd3c0;
  --paper:     #ffffff;
  --ink:       #1a1a1a;
  --ink-soft:  #2a2a2a;
  --ink-mute:  #6b6b6b;
  --accent:    #3aab6d;
  --accent-2:  #2a7a45;
  --accent-dark: #2a8a55;
  --line:      rgba(26,26,26,0.1);

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 152px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --section-py: clamp(4rem, 8vw, 8rem);
}

/* =============================================================
   2. Reset & Base
   ============================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ol, ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  text-wrap: balance;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

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

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .5rem 1rem; background: var(--ink); color: var(--bg);
  z-index: 9999; border-radius: 6px; font-weight: 500; font-size: .875rem;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(1200px, 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.section-num {
  display: block;
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--accent);
  text-transform: uppercase;
}

.section-label {
  font-size: .8rem;
  letter-spacing: .1em;
  color: var(--ink-mute);
  text-transform: uppercase;
  font-weight: 500;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 500;
  color: var(--ink);
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 2rem;
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .02em;
  border-radius: 100px;
  cursor: pointer;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1.5px solid var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(58,171,109,.28);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(26,26,26,.1);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(58,171,109,.22);
}

.btn-lg {
  padding: 1rem 2.4rem;
  font-size: .95rem;
}

/* =============================================================
   5. Custom Cursor
   ============================================================= */
.cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0;
  transition: opacity .25s var(--ease-out);
}
.cursor.is-ready { opacity: 1; }

.cursor-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform .08s linear, width .2s var(--ease-out), height .2s var(--ease-out);
}

.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: multiply;
  transition: transform .18s var(--ease-soft), width .25s var(--ease-out), height .25s var(--ease-out);
}

body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring {
  width: 52px; height: 52px;
}

/* =============================================================
   6. Reveal animations
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mandatory defensive rule from gotcha A.4.5 */
.reveal[data-split] {
  opacity: 1;
  transform: none;
}

/* Stagger delays for siblings */
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(5) { transition-delay: .32s; }

/* =============================================================
   7. NAV
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background .35s var(--ease-out), box-shadow .35s var(--ease-out), backdrop-filter .35s;
}

.nav.is-scrolled {
  background: rgba(244, 239, 230, 0.9);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 1px 0 var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.nav-logo-text {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
}

.nav-logo-img {
  height: 132px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-logo-img {
  height: 71px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: .75rem;
}

.nav-links {
  display: none;
  gap: 1.25rem;
  align-items: center;
}

.nav-link {
  font-size: .875rem;
  font-weight: 400;
  color: var(--ink-soft);
  position: relative;
  transition: color .2s;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width .3s var(--ease-out);
}

.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
  padding: .45rem 1rem;
  background: var(--accent);
  color: #fff !important;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 500;
  transition: background .2s, transform .2s, box-shadow .2s;
}

.nav-cta::after { display: none; }

.nav-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(58,171,109,.3);
}

/* Test button in nav */
.nav-test-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .85rem;
  background: transparent;
  color: var(--accent) !important;
  border: 1.5px solid color-mix(in srgb, var(--accent) 40%, transparent);
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
  letter-spacing: .01em;
}
.nav-test-btn::after { display: none; }
.nav-test-btn:hover {
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.nav-test-btn svg { flex-shrink: 0; }

.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  cursor: pointer;
}

.nav-burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform .3s var(--ease-out), opacity .3s;
}

.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Nav dropdown ──────────────────────────────────────────── */
.nav-item {
  position: relative;
}


.nav-item .nav-link {
  display: flex;
  align-items: center;
  gap: .3rem;
}

.nav-item .nav-arrow {
  display: inline-block;
  width: 10px; height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s;
  flex-shrink: 0;
}

.nav-item:hover .nav-arrow,
.nav-item:focus-within .nav-arrow {
  transform: rotate(-135deg) translateY(-2px);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,.10);
  padding: .75rem .5rem .5rem; /* padding-top cubre el gap visual */
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity .2s, transform .2s;
  z-index: 200;
}

.nav-item:hover .nav-dropdown,
.nav-item.is-open .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .65rem .85rem;
  border-radius: 10px;
  font-size: .83rem;
  color: var(--ink-2);
  transition: background .15s, color .15s;
  white-space: nowrap;
}

.nav-dropdown a:hover {
  background: color-mix(in srgb, var(--accent) 8%, var(--bg));
  color: var(--accent);
}

.nav-dropdown a .dd-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 10%, var(--bg-2));
  border: 1px solid color-mix(in srgb, var(--accent) 15%, transparent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: .85rem;
}

.nav-dropdown-divider {
  height: 1px;
  background: var(--line);
  margin: .4rem .5rem;
}

/* ── Nav social icons ───────────────────────────────────────── */
.nav-social {
  display: none;
  align-items: center;
  gap: .6rem;
  margin-right: .5rem;
}

.nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  color: var(--ink-mute);
  transition: color .2s, background .2s;
}

.nav-social a:hover {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

@media (min-width: 960px) {
  .nav-social { display: flex; }
}

/* ── Mobile dropdown ────────────────────────────────────────── */
.mobile-sub {
  display: flex;
  flex-direction: column;
}

.mobile-sub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 0;
  font-size: 1rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  width: 100%;
  background: none;
  text-align: left;
}

.mobile-sub-toggle .mob-arrow {
  display: inline-block;
  width: 9px; height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s;
}

.mobile-sub.is-open .mob-arrow {
  transform: rotate(-135deg) translateY(-2px);
}

.mobile-sub-items {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  background: color-mix(in srgb, var(--accent) 4%, var(--bg));
  border-radius: 0 0 8px 8px;
}

.mobile-sub.is-open .mobile-sub-items {
  max-height: 400px;
}

.mobile-sub-item {
  display: block;
  padding: .65rem 1rem;
  font-size: .9rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  transition: color .15s;
}

.mobile-sub-item:last-child { border-bottom: 0; }
.mobile-sub-item:hover { color: var(--accent); }

/* Mobile nav */
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 0;
  overflow: hidden;
  background: var(--bg);
  border-top: 1px solid transparent;
  transition: max-height .4s var(--ease-out), border-color .3s, padding .3s;
  padding: 0 var(--gutter);
}

.mobile-nav.is-open {
  max-height: calc(100vh - var(--nav-h, 152px));
  overflow-y: auto;
  border-color: var(--line);
  padding: 1rem var(--gutter) 2rem;
}

.mobile-link {
  display: block;
  padding: .85rem 0;
  font-size: 1rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  transition: color .2s;
}
.mobile-link:last-child { border-bottom: 0; }
.mobile-link:hover { color: var(--accent); }

.mobile-cta {
  margin-top: 1rem;
  padding: .85rem 1.5rem;
  background: var(--accent);
  color: #fff !important;
  border-radius: 100px;
  text-align: center;
  font-weight: 500;
  border-bottom: 0 !important;
}

/* =============================================================
   8. HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 70% 70% at 20% 20%, rgba(58,171,109,.15) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 80% 80%, rgba(42,122,69,.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 80% at 60% 30%, rgba(232,223,208,.8) 0%, transparent 50%);
  filter: blur(40px) saturate(130%);
  animation: meshDrift 20s ease-in-out infinite;
}

@keyframes meshDrift {
  0%,100% { transform: scale(1) rotate(0deg); }
  33%      { transform: scale(1.06) rotate(3deg); }
  66%      { transform: scale(0.97) rotate(-2deg); }
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  text-align: left;
  padding-block: clamp(4rem, 8vw, 7rem);
}

.hero-kicker {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 5rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 1.5rem;
  max-width: 16ch;
  text-wrap: balance;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(.95rem, 1.6vw, 1.125rem);
  color: var(--ink-mute);
  max-width: 52ch;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  z-index: 2;
  animation: scrollBob 2.5s ease-in-out infinite;
}

.hero-scroll-line {
  display: block;
  width: 1.5px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

.hero-scroll-label {
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

@keyframes scrollBob {
  0%,100% { transform: translateX(-50%) translateY(0); opacity: .8; }
  50%      { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ── Hero imagen ────────────────────────────────────────────── */
.hero-img-wrap {
  position: relative;
  align-self: stretch;
}
.hero-img-wrap::before {
  content: '';
  position: absolute;
  inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  border-radius: 28px;
  z-index: 0;
}
.hero-img-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 400px;
  max-height: 600px;
  object-fit: cover;
  object-position: center top;
  border-radius: 24px;
  display: block;
}
.hero-img-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 999px;
  padding: .45rem 1rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-family: var(--sans);
  color: var(--ink);
  white-space: nowrap;
}
.hero-img-badge strong { font-weight: 600; }

/* =============================================================
   9. MARQUEE
   ============================================================= */
.marquee-strip {
  background: var(--ink);
  padding-block: .85rem;
  overflow: hidden;
  position: relative;
  -webkit-overflow-scrolling: touch;
}

.marquee-track {
  display: inline-block;
  gap: 2rem;
  white-space: nowrap;
  width: max-content;
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  -webkit-animation: marqueeScroll 30s linear infinite;
  animation: marqueeScroll 30s linear infinite;
}

.marquee-track span {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bg-2);
  flex-shrink: 0;
}

.marquee-track .marquee-dot {
  color: var(--accent);
  font-size: .5rem;
}

@-webkit-keyframes marqueeScroll {
  from { -webkit-transform: translate3d(0,0,0); transform: translate3d(0,0,0); }
  to   { -webkit-transform: translate3d(-50%,0,0); transform: translate3d(-50%,0,0); }
}
@keyframes marqueeScroll {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-50%,0,0); }
}

/* =============================================================
   10. MANIFESTO
   ============================================================= */
.manifesto {
  padding-block: var(--section-py);
  background: var(--bg);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  overflow: hidden;
}

.manifesto-left {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.manifesto-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.manifesto-title em {
  font-style: italic;
  color: var(--accent);
}

.manifesto-body {
  font-size: 1rem;
  color: var(--ink-mute);
  line-height: 1.75;
  max-width: 64ch;
  word-break: break-word;
  font-weight: 300;
  margin-bottom: 1rem;
}

/* =============================================================
   11. SERVICES
   ============================================================= */
.services {
  padding-block: var(--section-py);
  background: var(--bg-2);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.service-card {
  background: var(--bg);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .25s;
  border: 1.5px solid var(--line);
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.service-card:hover {
  box-shadow: 0 20px 60px rgba(26,26,26,.13);
  border-color: var(--accent);
  transform: translateY(-4px);
}

.service-card--featured {
  border-color: var(--line);
  border-width: 1px;
}

.service-card-img {
  position: relative;
  height: 160px;
  background: color-mix(in srgb, var(--card-color) 15%, var(--bg-2));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 50%, color-mix(in srgb, var(--card-color) 30%, transparent) 0%, transparent 60%),
    radial-gradient(circle at 70% 50%, color-mix(in srgb, var(--card-color) 20%, transparent) 0%, transparent 55%);
}

.service-card-icon {
  position: relative;
  z-index: 1;
  color: var(--card-color);
  opacity: .7;
}

.service-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--accent);
  color: #fff;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .65rem;
  border-radius: 100px;
}

.service-card-body {
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .6rem;
}

.service-title {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: .85rem;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.service-card:hover .service-title {
  color: var(--accent);
}

.service-desc {
  font-size: .9rem;
  color: var(--ink-mute);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  font-weight: 300;
}

.service-link {
  font-size: .85rem;
  font-weight: 500;
  color: var(--accent);
  display: inline-block;
  align-items: center;
  gap: .4rem;
  transition: gap .2s var(--ease-out);
}

.service-link:hover { gap: .7rem; }

.services-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* =============================================================
   12. PROGRAMS
   ============================================================= */
.programs {
  padding-block: var(--section-py);
  background: var(--bg);
}

.programs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.program-card {
  position: relative;
  background: var(--bg-2);
  border-radius: 20px;
  padding: 2.5rem;
  overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
  border: 1px solid var(--line);
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(26,26,26,.1);
}

.program-card-accent {
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58,171,109,.15) 0%, transparent 70%);
  pointer-events: none;
}

.program-card-accent--2 {
  background: radial-gradient(circle, rgba(74,93,58,.15) 0%, transparent 70%);
}

.program-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}

.program-title {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: .75rem;
}

.program-desc {
  font-size: .95rem;
  color: var(--ink-mute);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 1.5rem;
  max-width: 52ch;
}

/* =============================================================
   13. APPROACH
   ============================================================= */
.approach {
  padding-block: calc(var(--section-py) * 0.6);
  background: var(--bg-2);
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.approach-title {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.05;
  margin: .75rem 0 1.25rem;
}

.approach-title em {
  font-style: italic;
  color: var(--accent);
}

.approach-sub {
  font-size: 1rem;
  color: var(--ink-mute);
  max-width: 44ch;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 1rem;
}

.approach-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.approach-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: .9rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  border-left: 3px solid transparent;
  transition: border-left-color .25s, background .2s, transform .25s, box-shadow .25s;
}

.approach-item:last-child { border-bottom: 1px solid var(--line); }
.approach-item:hover {
  border-left-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 4%, var(--bg));
  box-shadow: 0 4px 16px rgba(58,171,109,.08);
}

.approach-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 12%, var(--bg-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--accent);
  flex-shrink: 0;
  min-width: 32px;
}

.approach-item p {
  font-size: .92rem;
  color: var(--ink-soft);
  line-height: 1.55;
  font-weight: 400;
  margin: 0;
}

/* =============================================================
   14. TESTIMONIALS
   ============================================================= */
/* =============================================================
   14. TESTIMONIOS
   ============================================================= */
/* Google Badge */
.google-badge-wrap {
  display: flex;
  justify-content: center;
}
.google-badge {
  display: inline-flex;
  flex-direction: column;
  gap: .75rem;
  background: var(--ink);
  border: 2px solid transparent;
  border-radius: 22px;
  padding: 1.25rem 1.75rem;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s, background .25s, border-color .25s;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
}
.google-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(0,0,0,.22);
  background: color-mix(in srgb, var(--ink) 90%, var(--accent));
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
}
.google-badge-top {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.google-badge-stars-row {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #f5a623;
  flex-shrink: 0;
}
.google-badge-stars-row svg {
  width: 24px; height: 24px;
}
.google-badge-score {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-left: .3rem;
}
.google-badge-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,.2);
  flex-shrink: 0;
}
.google-badge-cta-count {
  font-size: .72rem;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.google-badge-bottom {
  display: flex;
  align-items: center;
  gap: .6rem;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: .65rem;
}
.google-badge-cta-link {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,.85);
  line-height: 1.3;
  transition: color .2s;
}
.google-badge:hover .google-badge-cta-link {
  color: color-mix(in srgb, var(--accent) 80%, #fff);
}
@media (max-width: 560px) {
  .google-badge { padding: 1rem 1.25rem; }
  .google-badge-stars-row svg { width: 20px; height: 20px; }
  .google-badge-cta-link { font-size: .9rem; }
}

.testimonials {
  padding-block: var(--section-py);
  background: var(--bg);
  overflow: hidden;
}

/* ── Badge Google ─────────────────────────────────────────── */
.testi-badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.testi-badge {
  display: inline-block;
  align-items: center;
  gap: 1.5rem;
  background: var(--paper);
  border-radius: 20px;
  padding: 1.25rem 1.75rem;
  text-decoration: none;
  border: 1.5px solid var(--line);
  box-shadow: 0 4px 24px rgba(26,26,26,.09);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s;
}
.testi-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(58,171,109,.18);
  border-color: var(--accent);
}

.testi-badge-left {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.testi-score-num {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -.02em;
}

.testi-score-stars {
  color: #f5a623;
  font-size: 2.3rem;
  letter-spacing: 3px;
  line-height: 1;
}

.testi-score-sub {
  font-family: var(--sans);
  font-size: .68rem;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.testi-score-count {
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -.01em;
}

.testi-badge-sep {
  width: 1px;
  align-self: stretch;
  background: var(--line);
}

.testi-badge-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}

/* Botón "Ver todas las reseñas" — prominente en verde */
.testi-badge-cta {
  display: inline-block;
  align-items: center;
  gap: .4rem;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border-radius: 50px;
  padding: .5rem 1rem;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  transition: background .2s, transform .15s var(--ease-bounce);
}
.testi-badge:hover .testi-badge-cta {
  background: var(--accent-dark);
  transform: scale(1.04);
}

/* ── Tarjeta ──────────────────────────────────────────────── */
.testimonials-track {
  position: relative;
  min-height: 240px;
}

.testimonial-card {
  display: none;
  position: relative;
  background: var(--paper);
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 3rem);
  max-width: 780px;
  margin: 0 auto;
  border: 1px solid var(--line);
  box-shadow: 0 4px 32px rgba(26,26,26,.08);
  overflow: hidden;
  animation: testimonialIn .5s var(--ease-out);
}

/* Barra de acento superior */
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 24px 24px 0 0;
}

.testimonial-card.is-active { display: block; }

@keyframes testimonialIn {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

/* Comilla decorativa */
.testimonial-quote {
  display: block;
  font-family: var(--serif);
  font-size: 5rem;
  line-height: .7;
  color: var(--accent);
  opacity: .18;
  margin-bottom: .5rem;
  user-select: none;
}

.testimonial-text {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

/* Footer: avatar + nombre + estrellas */
.testimonial-footer {
  display: flex;
  align-items: center;
  gap: .85rem;
}

.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  letter-spacing: .03em;
}

.testimonial-name {
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
}

.testimonial-role {
  font-size: .78rem;
  color: var(--ink-mute);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
}

.testimonial-stars {
  margin-left: auto;
  color: #f5c518;
  font-size: 1rem;
  letter-spacing: 2px;
  flex-shrink: 0;
}

/* ── Dots ─────────────────────────────────────────────────── */
.testimonials-nav {
  display: flex;
  gap: .65rem;
  justify-content: center;
  margin-top: 2rem;
  align-items: center;
}

.testi-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--ink-mute);
  cursor: pointer;
  padding: 0;
  transition: background .2s, border-color .2s, width .3s var(--ease-out), border-radius .3s var(--ease-out);
}

.testi-dot.is-active {
  background: var(--accent);
  border-color: var(--accent);
  border-radius: 4px;
  width: 24px;
}

/* =============================================================
   15. BLOG
   ============================================================= */
.blog {
  padding-block: var(--section-py);
  background: var(--bg-2);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.blog-card {
  background: var(--bg);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(26,26,26,.1);
}

.blog-card-img {
  height: 180px;
  background:
    radial-gradient(ellipse 60% 80% at 30% 50%, color-mix(in srgb, var(--blog-color) 25%, transparent) 0%, transparent 60%),
    color-mix(in srgb, var(--blog-color) 8%, var(--bg-2));
  background-size: cover;
  background-position: center top;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  transition: transform .4s ease;
}
.blog-card:hover .blog-card-img {
  transform: scale(1.03);
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .6rem;
}

.blog-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: .6rem;
  line-height: 1.25;
}

.blog-title a {
  transition: color .2s;
}

.blog-title a:hover { color: var(--accent); }

.blog-excerpt {
  font-size: .875rem;
  color: var(--ink-mute);
  line-height: 1.6;
  font-weight: 300;
}

.blog-more {
  text-align: center;
}

/* =============================================================
   16. CTA SECTION
   ============================================================= */
.cta-section {
  position: relative;
  padding-block: clamp(5rem, 10vw, 10rem);
  overflow: hidden;
  background: var(--ink);
}

.cta-mesh {
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(ellipse 60% 70% at 20% 30%, rgba(58,171,109,.28) 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 80% 70%, rgba(42,122,69,.2) 0%, transparent 50%);
  filter: blur(60px) saturate(130%);
  animation: meshDrift 18s ease-in-out infinite;
}

.cta-grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-kicker {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(244,239,230,.5);
  margin-bottom: 1.25rem;
}

.cta-title {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 400;
  color: #f4efe6;
  letter-spacing: -.03em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.cta-title em {
  font-style: italic;
  color: var(--accent);
}

.cta-sub {
  font-size: 1rem;
  color: rgba(244,239,230,.6);
  margin-bottom: 2.5rem;
  max-width: 44ch;
  margin-inline: auto;
  font-weight: 300;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.cta-section .btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.cta-section .btn-ghost {
  color: #f4efe6;
  border-color: rgba(244,239,230,.3);
}

.cta-section .btn-ghost:hover {
  border-color: rgba(244,239,230,.8);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}

/* =============================================================
   17. FOOTER
   ============================================================= */
.footer {
  background: var(--ink);
  padding-top: clamp(3rem, 6vw, 5rem);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(244,239,230,.1);
}

.footer-logo {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: #f4efe6;
  margin-bottom: .75rem;
}

.footer-tagline {
  font-size: .875rem;
  color: rgba(244,239,230,.45);
  line-height: 1.6;
  font-weight: 300;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-nav-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(244,239,230,.35);
  margin-bottom: .25rem;
}

.footer-nav a {
  font-size: .875rem;
  color: rgba(244,239,230,.6);
  transition: color .2s;
}

.footer-nav a:hover { color: #f4efe6; }

.footer-social-links {
  display: flex;
  gap: 1rem;
  margin-top: .25rem;
}

.footer-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: rgba(244,239,230,.5);
  border: 1px solid rgba(244,239,230,.15);
  transition: color .2s, border-color .2s, background .2s;
}

.footer-social-links a:hover {
  color: #f4efe6;
  border-color: rgba(244,239,230,.4);
  background: rgba(244,239,230,.07);
}

.footer-bottom {
  padding-block: 1.5rem;
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
}

.footer-bottom p {
  font-size: .8rem;
  color: rgba(244,239,230,.3);
  font-weight: 300;
}

.footer-bottom a {
  color: rgba(244,239,230,.5);
  transition: color .2s;
}

.footer-bottom a:hover { color: #f4efe6; }

/* =============================================================
   18. Responsive — tablet 720px+
   ============================================================= */
@media (min-width: 720px) {
  .nav-links { display: flex; }
  .nav-burger { display: none; }
  .mobile-nav { display: none; }

  .manifesto-grid {
    grid-template-columns: 180px 1fr;
    gap: 4rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .approach-grid {
    grid-template-columns: 320px 1fr;
    gap: 5rem;
    align-items: center;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* =============================================================
   19. Responsive — desktop 1024px+
   ============================================================= */
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

/* =============================================================
   20. Hover-only interactions
   ============================================================= */
@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: perspective(800px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-4px);
    box-shadow: 0 24px 64px rgba(26,26,26,.14);
  }

  .blog-card:hover {
    transform: perspective(800px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-4px);
  }
}

/* =============================================================
   21. Reduced-motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh { animation: none; }
  .cta-mesh  { animation: none; }
  .marquee-track { animation: none; white-space: normal; flex-wrap: wrap; }
  .hero-scroll-hint { animation: none; }
}

/* =============================================================
   22. Páginas de servicio — breadcrumb
   ============================================================= */
.breadcrumb-bar {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: .65rem 0;
  margin-top: var(--nav-h);
}

/* Blog index hero — separación del nav fijo */
.blog-hero {
  padding-top: calc(var(--nav-h) + 3rem);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  color: var(--ink-mute);
}
.breadcrumb a { color: var(--ink-mute); transition: color .2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { opacity: .4; }
.breadcrumb-current { color: var(--ink); font-weight: 500; }

/* =============================================================
   23. Páginas de servicio — page hero (compacto)
   ============================================================= */
.page-hero {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
  background: var(--bg);
}
.page-hero-mesh {
  position: absolute;
  inset: -20%;
  filter: blur(50px) saturate(130%);
  animation: meshDrift 20s ease-in-out infinite;
  pointer-events: none;
}
.page-hero-grain {
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
}
.page-hero-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .85rem;
}
.page-hero-title {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 1rem;
}
.page-hero-title em { font-style: italic; color: var(--accent); }
.page-hero-sub {
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  color: var(--ink-mute);
  max-width: 52ch;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 1.75rem;
}
.page-hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.page-hero-icon {
  width: 280px;
  height: 280px;
  border-radius: 24px;
  flex-shrink: 0;
  position: relative;
  background: transparent !important;
}
.page-hero-icon::before {
  content: '';
  position: absolute;
  inset: 1rem -1rem -1rem 1rem;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  border-radius: 28px;
  z-index: 0;
}
.page-hero-icon img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 24px;
}

/* =============================================================
   24. Páginas de servicio — conditions grid
   ============================================================= */
.conditions-section { padding-block: var(--section-py); background: var(--bg-2); }
.conditions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.condition-tag {
  display: inline-block;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1.1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: .875rem;
  color: var(--ink-soft);
  font-weight: 400;
  transition: border-color .2s, color .2s, background .2s;
}
.condition-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 6%, var(--bg));
}
.condition-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* =============================================================
   25. Páginas de servicio — process timeline
   ============================================================= */
.process-section { padding-block: calc(var(--section-py) * 0.6); background: var(--bg); }
.process-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
}
.process-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.5rem;
  padding-bottom: 2rem;
  position: relative;
}
.process-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.process-num-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 12%, var(--bg));
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--accent);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.process-step-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: .4rem;
  padding-top: .65rem;
}
.process-step-desc {
  font-size: .9rem;
  color: var(--ink-mute);
  line-height: 1.65;
  font-weight: 300;
}

/* =============================================================
   26. Páginas de servicio — booking section
   ============================================================= */
/* ── Curso YouTube ─────────────────────────────────────── */
.curso-section {
  padding-block: calc(var(--section-py) * 0.6);
  background: var(--bg);
}
.curso-cta-card {
  display: flex;
  align-items: center;
  gap: 3rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2.5rem;
  margin-top: 1.5rem;
}
.curso-cta-left { flex: 1; }
.curso-cta-badge {
  display: inline-block;
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #2563eb;
  background: color-mix(in srgb,#2563eb 10%,var(--bg));
  border: 1px solid color-mix(in srgb,#2563eb 20%,transparent);
  padding: .25rem .75rem; border-radius: 999px;
  margin-bottom: .85rem;
}
.curso-cta-title {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 400; color: var(--ink);
  margin-bottom: .75rem; line-height: 1.2;
}
.curso-cta-desc {
  font-size: .92rem; color: var(--ink-mute);
  line-height: 1.7; font-weight: 300;
  max-width: 54ch; margin-bottom: 1.25rem;
}
.curso-cta-temas {
  display: flex; flex-wrap: wrap; gap: .4rem;
}
.curso-cta-temas span {
  font-size: .75rem; padding: .25rem .7rem;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 999px; color: var(--ink-mute);
}
.curso-cta-right {
  display: flex; flex-direction: column;
  align-items: center; flex-shrink: 0;
}
@media (max-width: 700px) {
  .curso-cta-card { flex-direction: column; gap: 1.5rem; }
  .curso-cta-right { width: 100%; }
  .curso-cta-right .btn { width: 100%; justify-content: center; }
}
.curso-desc {
  font-size: 1rem;
  color: var(--ink-mute);
  max-width: 56ch;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 2.5rem;
}
.curso-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.curso-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.curso-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.curso-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.curso-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.curso-info {
  padding: .9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.curso-num {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #2563eb;
}
.curso-title {
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}
.curso-dur {
  font-size: .75rem;
  color: var(--ink-mute);
}
@media (max-width: 900px) {
  .curso-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .curso-grid { grid-template-columns: 1fr; }
}

.booking-section {
  padding-block: var(--section-py);
  background: var(--bg-2);
}
.booking-quick {
  background: var(--ink);
  border-radius: 24px;
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
}
.booking-quick-mesh {
  position: absolute;
  inset: -30%;
  background: radial-gradient(ellipse 70% 70% at 30% 30%, rgba(58,171,109,.25) 0%, transparent 60%),
              radial-gradient(ellipse 60% 60% at 70% 70%, rgba(42,122,69,.18) 0%, transparent 55%);
  filter: blur(40px);
  pointer-events: none;
}
.booking-quick-inner {
  position: relative;
  z-index: 1;
}
.booking-quick-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(58,171,109,.15);
  border: 1px solid rgba(58,171,109,.3);
  border-radius: 20px;
  padding: .25rem .75rem;
  margin-bottom: 1rem;
}
.booking-quick-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--bg);
  line-height: 1.2;
  margin-bottom: .75rem;
}
.booking-quick-title em {
  color: var(--accent);
  font-style: italic;
}
.booking-quick-sub {
  font-size: .9rem;
  color: rgba(244,239,230,.65);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 1.5rem;
}
.booking-quick-btns {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
  align-items: start;
}
.booking-form-side {
  background: var(--bg);
  border-radius: 24px;
  padding: 2.25rem;
  border: 1px solid var(--line);
}
.booking-form-title {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: .5rem;
}
.booking-form-sub {
  font-size: .875rem;
  color: var(--ink-mute);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.form-label {
  font-size: .78rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: .02em;
}
.form-input,
.form-select,
.form-textarea {
  font-family: var(--sans);
  font-size: .875rem;
  color: var(--ink);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .65rem .9rem;
  transition: border-color .2s;
  width: 100%;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-textarea {
  resize: vertical;
  min-height: 100px;
}
.form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 500;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 10px;
  padding: .8rem 1.5rem;
  cursor: pointer;
  transition: background .2s;
  width: 100%;
}
.form-submit:hover {
  background: var(--accent-dark);
}
.related-section {
  padding-block: var(--section-py);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.related-grid .service-card-img { display: none; }
.related-grid .service-badge { display: none; }
.breadcrumb-bar {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: .6rem 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  color: var(--ink-mute);
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--ink-mute);
  text-decoration: none;
  transition: color .2s;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { opacity: .4; }
.breadcrumb-current { color: var(--ink-soft); font-weight: 500; }
.conditions-section {
  padding-block: var(--section-py);
  background: var(--bg-2);
}
.condition-tag {
  display: inline-block;
  align-items: center;
  gap: .5rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: .4rem .9rem;
  font-size: .83rem;
  color: var(--ink-2);
  font-weight: 400;
}
.condition-tag-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .booking-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* =============================================================
   31. Clases de contenedor — index + páginas de servicio
   ============================================================= */
.manifesto-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.approach-left {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.program-body {
  padding: 1.75rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex: 1;
}

.page-hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 768px) {
  .page-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .page-hero-actions {
    justify-content: center;
  }
  .page-hero-icon {
    width: 100%;
    height: 240px;
    border-radius: 16px;
    margin: 0 auto;
  }
  .page-hero-icon::before {
    display: none;
  }
  .page-hero-icon img {
    border-radius: 16px;
    object-position: center center;
  }
}

.sede-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 720px) {
  .sede-grid { grid-template-columns: 1fr; }
}

.btn-secondary {
  display: inline-block;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 500;
  border-radius: 100px;
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  cursor: pointer;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.btn-secondary:hover {
  background: var(--accent);
  color: #fff;
}

/* ── Test Bienestar Banner ────────────────────────────────── */
.test-banner-section { padding: 4rem 0; }
.test-banner {
  position: relative;
  background: linear-gradient(135deg, #0d3d22 0%, #1a5c35 50%, #0d3d22 100%);
  border-radius: 28px;
  padding: 3.5rem 3rem;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
}
.test-banner-deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.test-banner-blob {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58,171,109,.25) 0%, transparent 70%);
  top: -150px; left: -100px;
  pointer-events: none;
}
.test-banner-content { position: relative; z-index: 1; }
.test-banner-kicker {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #3aab6d;
  background: rgba(58,171,109,.12); border: 1px solid rgba(58,171,109,.25);
  border-radius: 999px; padding: .3rem .9rem; margin-bottom: 1.25rem;
}
.test-banner-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400; color: #fff; line-height: 1.2; margin-bottom: 1rem;
}
.test-banner-title em { color: #3aab6d; font-style: italic; }
.test-banner-sub {
  font-size: .95rem; color: rgba(255,255,255,.65);
  line-height: 1.7; max-width: 560px; margin-bottom: 0;
}
.test-banner-btn {
  display: inline-flex; align-items: center; gap: .6rem;
  background: #3aab6d; color: #fff;
  font-family: var(--sans); font-size: 1.43rem; font-weight: 700;
  padding: 1.35rem 3rem; border-radius: 999px; text-decoration: none;
  box-shadow: 0 8px 32px rgba(58,171,109,.45);
  transition: background .2s, transform .2s, box-shadow .2s; white-space: nowrap;
}
.test-banner-btn:hover {
  background: #2a9a5e; transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(58,171,109,.55);
}
.test-banner-visual { display: none; }
.test-banner-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px); border-radius: 18px;
  padding: 1.25rem 1.5rem; width: 260px;
}
.tbc-header { display: flex; gap: .4rem; margin-bottom: 1rem; }
.tbc-dot { width: 10px; height: 10px; border-radius: 50%; }
.tbc-dot--green { background: #3aab6d; }
.tbc-dot--yellow { background: #f5c842; }
.tbc-dot--red { background: #e05555; }
.tbc-q { font-size: .8rem; color: rgba(255,255,255,.8); line-height: 1.5; margin-bottom: 1rem; }
.tbc-options { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; margin-bottom: 1rem; }
.tbc-opt {
  font-size: .7rem; padding: .4rem .5rem; border-radius: 8px;
  background: rgba(255,255,255,.06); color: rgba(255,255,255,.6);
  text-align: center; border: 1px solid rgba(255,255,255,.08);
}
.tbc-opt--active {
  background: rgba(58,171,109,.2); border-color: rgba(58,171,109,.4);
  color: #3aab6d; font-weight: 600;
}
.tbc-progress {
  height: 4px; background: rgba(255,255,255,.1);
  border-radius: 999px; overflow: hidden; margin-bottom: .5rem;
}
.tbc-progress-fill { height: 100%; width: 7%; background: #3aab6d; border-radius: 999px; }
.tbc-label { font-size: .68rem; color: rgba(255,255,255,.4); }
.test-banner-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}
@media (max-width: 820px) {
  .test-banner { grid-template-columns: 1fr; padding: 2.5rem 1.75rem; gap: 1.5rem; }
  .test-banner-visual { display: none; }
  .test-banner-sub { max-width: 100%; }
  .test-banner-right { justify-content: flex-start; }
}

/* =============================================================
   WhatsApp floating button
   ============================================================= */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: .65rem;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: .75rem 1.25rem .75rem .85rem;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .25s, box-shadow .25s, padding .3s, max-width .3s;
  max-width: 220px;
  overflow: hidden;
}
.wa-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(37,211,102,.5);
}
.wa-float svg {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}
.wa-float-label {
  transition: opacity .2s, max-width .3s;
}

/* Pulse ring */
.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #25d366;
  opacity: .35;
  animation: wa-pulse 2.4s ease-out infinite;
  z-index: -1;
}
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: .35; }
  70%  { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}


@media (max-width: 600px) {
  .wa-float {
    padding: .75rem;
    max-width: 52px;
    border-radius: 50%;
  }
  .wa-float-label {
    display: none;
  }
}

/* ── WhatsApp Chat Popup ───────────────────────────────────── */
.wa-chat-popup {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  width: 320px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,.18);
  z-index: 901;
  overflow: hidden;
  transform: scale(.85) translateY(16px);
  transform-origin: bottom right;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.wa-chat-popup.is-open {
  opacity: 1;
  pointer-events: all;
  transform: scale(1) translateY(0);
}
.wa-chat-head {
  background: #075e54;
  padding: .85rem 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.wa-chat-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.wa-chat-info { flex: 1; }
.wa-chat-name {
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  font-family: var(--sans);
}
.wa-chat-status {
  color: rgba(255,255,255,.7);
  font-size: .72rem;
  font-family: var(--sans);
}
.wa-chat-close {
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  padding: .2rem;
  transition: color .2s;
}
.wa-chat-close:hover { color: #fff; }
.wa-chat-body {
  background: #ece5dd url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='200' height='200' fill='%23ece5dd'/%3E%3C/svg%3E");
  padding: 1.25rem 1rem;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.wa-bubble {
  background: #fff;
  border-radius: 0 12px 12px 12px;
  padding: .65rem .85rem;
  max-width: 88%;
  box-shadow: 0 1px 2px rgba(0,0,0,.13);
  font-size: .88rem;
  color: #111;
  font-family: var(--sans);
  line-height: 1.5;
  position: relative;
  animation: wa-bubble-in .3s ease both;
}
.wa-bubble::before {
  content: '';
  position: absolute;
  top: 0; left: -8px;
  border: 8px solid transparent;
  border-top-color: #fff;
  border-right-color: #fff;
}
.wa-bubble-time {
  display: block;
  text-align: right;
  font-size: .68rem;
  color: #999;
  margin-top: .3rem;
}
@keyframes wa-bubble-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.wa-chat-footer {
  padding: .85rem 1rem;
  background: #f0f0f0;
}
.wa-chat-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: .72rem 1.2rem;
  font-size: .88rem;
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.wa-chat-btn:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}
@media (max-width: 600px) {
  .wa-chat-popup {
    right: 1rem;
    width: calc(100vw - 2rem);
    bottom: 5rem;
  }
}

/* ── WhatsApp flujo guiado ────────────────────────────────── */
.wa-hidden { display: none !important; }

.wa-steps {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.wa-step-question,
.wa-step-confirm {
  font-size: .8rem;
  color: #555;
  font-family: var(--sans);
  margin: 0 0 .25rem;
  font-weight: 600;
}

.wa-step-btn {
  display: block;
  width: 100%;
  text-align: left;
  background: #f5f5f5;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  padding: .6rem .85rem;
  font-size: .84rem;
  font-family: var(--sans);
  color: #222;
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .1s;
  line-height: 1.4;
}

.wa-step-btn:hover {
  background: #e8faf0;
  border-color: #25d366;
  transform: translateX(3px);
}

.wa-back-btn {
  background: none;
  border: none;
  color: #999;
  font-size: .75rem;
  font-family: var(--sans);
  cursor: pointer;
  padding: .25rem 0 0;
  text-align: left;
  transition: color .15s;
}

.wa-back-btn:hover { color: #555; }

/* ── FAQ Acordeón ─────────────────────────────────────────── */
.faq-section {
  padding: 4rem 0 3rem;
}

.faq-section-kicker {
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: .75rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
}

.faq-section-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: .5rem;
  line-height: 1.25;
}

.faq-section-sub {
  font-size: .95rem;
  color: var(--ink-mute);
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.faq-item {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}

.faq-item.is-open {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(58,171,109,.1);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  transition: background .15s, color .15s;
}

.faq-trigger:hover {
  background: rgba(58,171,109,.05);
}

.faq-item.is-open .faq-trigger {
  color: var(--accent);
}

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  color: var(--ink-mute);
  transition: background .2s, border-color .2s, color .2s, transform .3s;
  line-height: 1;
}

.faq-item.is-open .faq-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(0.4,0,0.2,1);
}

.faq-answer-inner {
  padding: .9rem 1.25rem 1.1rem;
  font-size: .9rem;
  color: var(--ink-mute);
  line-height: 1.7;
  border-top: 1px solid var(--line);
}

.faq-answer-inner a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-cta-row {
  margin-top: 2rem;
  text-align: center;
}

/* ── Modal orientador de servicios ───────────────────────── */
.srv-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,26,.55);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.srv-modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.srv-modal-box {
  background: var(--paper);
  border-radius: 20px;
  padding: 2rem 2rem 1.75rem;
  max-width: 480px;
  width: 100%;
  position: relative;
  transform: translateY(24px) scale(.97);
  transition: transform .3s cubic-bezier(0.16,1,0.3,1);
  max-height: 90vh;
  overflow-y: auto;
}
.srv-modal-overlay.is-open .srv-modal-box {
  transform: translateY(0) scale(1);
}

.srv-modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--ink-mute);
  cursor: pointer;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.srv-modal-close:hover { background: var(--bg-2); color: var(--ink); }

/* Step indicator */
.srv-steps-bar {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1.5rem;
}
.srv-step-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--line);
  border: 1.5px solid var(--line);
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
}
.srv-step-dot.is-active {
  background: var(--accent);
  border-color: var(--accent);
}
.srv-step-line {
  flex: 1;
  height: 2px;
  background: var(--line);
}

.srv-hidden { display: none !important; }

.srv-step-label {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: .4rem;
}
.srv-step-title {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

/* Option buttons */
.srv-options {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-bottom: .75rem;
}
.srv-opt-btn {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .75rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s, background .15s, transform .1s;
  font-family: var(--sans);
}
.srv-opt-btn:hover {
  border-color: var(--accent);
  background: rgba(58,171,109,.05);
  transform: translateX(4px);
}
.srv-opt-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
}
.srv-opt-text {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.srv-opt-text strong {
  font-size: .9rem;
  color: var(--ink);
  font-weight: 600;
}
.srv-opt-text small {
  font-size: .76rem;
  color: var(--ink-mute);
}

.srv-back-btn {
  background: none;
  border: none;
  color: var(--ink-mute);
  font-size: .78rem;
  font-family: var(--sans);
  cursor: pointer;
  padding: .5rem 0 0;
  transition: color .15s;
}
.srv-back-btn:hover { color: var(--ink); }

/* Result */
.srv-result-badge {
  font-size: 2.5rem;
  margin-bottom: .75rem;
  line-height: 1;
}
.srv-result-label {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: .35rem;
}
.srv-result-title {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: .6rem;
  line-height: 1.2;
}
.srv-result-desc {
  font-size: .9rem;
  color: var(--ink-mute);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.srv-result-actions {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-bottom: .75rem;
}

@media (max-width: 520px) {
  .srv-modal-box { padding: 1.5rem 1.25rem 1.25rem; }
}

/* ── Programas inline (dentro de Servicios) ──────────────── */
.programs-inline-label {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  margin-bottom: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.programs-inline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.programs-inline-grid .program-card {
  transform: scale(.96);
}

/* ── Barra de confianza ──────────────────────────────────── */
.trust-bar {
  background: var(--ink);
  padding: 2.5rem 0;
  overflow: hidden;
}

.trust-bar-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 140px;
}

.trust-num {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  margin-bottom: .4rem;
  letter-spacing: -.02em;
}

.trust-label {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  font-family: var(--sans);
  letter-spacing: .04em;
  text-transform: uppercase;
  max-width: 130px;
}

.trust-item--text {
  max-width: 220px;
}

.trust-quote {
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,.85);
  line-height: 1.45;
}

.trust-divider {
  width: 1px;
  height: 52px;
  background: rgba(255,255,255,.12);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .trust-bar-grid {
    gap: 1.5rem 1rem;
    justify-content: center;
  }
  .trust-divider { display: none; }
  .trust-item { min-width: calc(50% - 1rem); }
  .trust-item--text { min-width: 100%; }
}

/* ── Badge inline (sin imagen) ──────────────────────────── */
.service-badge-inline {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .2rem .6rem;
  border-radius: 100px;
  margin-top: auto;
  margin-bottom: .6rem;
}

/* ── Hero móvil: evitar solapamiento scroll hint / botones ── */
@media (max-width: 768px) {
  .hero-scroll-hint {
    display: none;
  }
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 2rem;
  }
  .hero-title {
    margin-inline: auto;
  }
  .hero-sub {
    margin-inline: auto;
  }
  .hero-actions {
    justify-content: center;
    padding-bottom: 1.5rem;
  }
  .hero-img-wrap {
    display: block;
  }
  .hero-img-wrap::before {
    display: none;
  }
  .hero-img-wrap img {
    min-height: 260px;
    max-height: 320px;
    border-radius: 16px;
  }
  .hero-img-badge {
    font-size: .72rem;
    padding: .35rem .8rem;
  }
}
