:root {
  --color-brown: #4A3428;
  --color-copper: #B87333;
  --color-brown-deep: #2f211a;
  --color-brown-soft: #70574a;
  --color-ink: #3c2b22;
  --color-text: #58463b;
  --color-muted: #7a6759;
  --color-bg: #f7f1eb;
  --color-bg-strong: #efe4d8;
  --color-surface: #fffdfb;
  --color-line: rgba(74, 52, 40, 0.12);
  --color-line-strong: rgba(74, 52, 40, 0.24);
  --color-white: #ffffff;
  --shadow-sm: 0 8px 24px rgba(74, 52, 40, 0.06);
  --shadow-md: 0 18px 44px rgba(74, 52, 40, 0.10);
  --shadow-lg: 0 28px 70px rgba(47, 33, 26, 0.14);
  --radius-xs: 0;
  --radius-sm: 0;
  --radius-md: 0;
  --header-h: 88px;
  --container: min(1180px, calc(100% - 40px));
  --section-y: clamp(68px, 9vw, 116px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Transición elegante entre páginas internas · fondo institucional por imagen */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 115;
  pointer-events: none;
  background: #24150d url("../img/intro/transition-bg.webp") center center / cover no-repeat;
  opacity: 1;
  visibility: visible;
  transition:
    opacity .34s cubic-bezier(.16, 1, .3, 1),
    visibility 0s linear .34s;
}

body.page-ready::before {
  opacity: 0;
  visibility: hidden;
}

body.page-leaving::before {
  opacity: 1;
  visibility: visible;
  transition:
    opacity .22s cubic-bezier(.16, 1, .3, 1),
    visibility 0s linear 0s;
}

/* Home y Agenda usan sus propias intros iniciales desde sus CSS/JS locales.
   La transición global solo cubre la navegación general entre páginas internas. */

/* Estilo base reutilizable para loaders locales de Home. */
.ths-page-loader-ring {
  position: relative;
  width: clamp(58px, 4.4vw, 78px);
  height: clamp(58px, 4.4vw, 78px);
  border-radius: 999px;
  border: clamp(4px, .38vw, 6px) solid rgba(245, 196, 130, .16);
  border-top-color: rgba(245, 196, 130, .98);
  border-right-color: rgba(184, 115, 51, .92);
  border-bottom-color: rgba(245, 196, 130, .26);
  background:
    radial-gradient(circle, rgba(245, 196, 130, .09), transparent 58%);
  box-shadow:
    0 0 0 1px rgba(245, 196, 130, .18),
    0 0 22px rgba(232, 176, 111, .24),
    0 12px 30px rgba(0, 0, 0, .28);
  animation: thsPageRingSpin .66s linear infinite;
  will-change: transform;
}

.ths-page-loader-ring::before,
.ths-page-loader-ring::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.ths-page-loader-ring::before {
  inset: clamp(8px, .7vw, 12px);
  border: 1px solid rgba(245, 196, 130, .28);
  box-shadow: inset 0 0 12px rgba(245, 196, 130, .10);
}

.ths-page-loader-ring::after {
  inset: clamp(-9px, -.62vw, -6px);
  border: 1px solid rgba(245, 196, 130, .24);
  opacity: .58;
  animation: thsPageRingPulse 1.18s ease-in-out infinite;
}

.ths-page-loader-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(245, 196, 130, .86);
  font-size: clamp(10px, .74vw, 12px);
  font-weight: 750;
  letter-spacing: .13em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(232, 176, 111, .16);
  white-space: nowrap;
}

.ths-page-loader-ms {
  min-width: 58px;
  color: rgba(255, 239, 213, .94);
  font-variant-numeric: tabular-nums;
  text-align: left;
}

@keyframes thsPageRingSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes thsPageRingPulse {

  0%,
  100% {
    opacity: .30;
    transform: scale(.94);
  }

  50% {
    opacity: .72;
    transform: scale(1.05);
  }
}

@media (max-width: 680px) {
  .ths-page-loader-ring {
    width: 58px;
    height: 58px;
    border-width: 4px;
  }

  .ths-page-loader-status {
    font-size: 9.5px;
    letter-spacing: .105em;
  }
}


@media (prefers-reduced-motion: reduce) {
  body::before {
    display: none;
  }
}

@media (scripting: none) {
  body::before {
    display: none;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.narrow {
  width: min(860px, var(--container));
  margin: 0 auto;
}

main {
  overflow: clip;
}

.section {
  padding: var(--section-y) 0;
}

.section-white {
  background: var(--color-surface);
}

.section-soft {
  background: linear-gradient(180deg, rgba(184, 115, 51, .05), rgba(184, 115, 51, .02));
}

.section-dark {
  background: var(--color-brown);
  color: var(--color-white);
}

.section-contact-cta {
  background: linear-gradient(180deg, rgba(184, 115, 51, .07), rgba(184, 115, 51, .02));
}

.centered {
  text-align: center;
}

.align-center {
  text-align: center;
  justify-content: center;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.split-focus {
  align-items: stretch;
}

.image-panel,
.service-photo {
  background: linear-gradient(180deg, #fff, #f8f1ea);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-md);
  padding: clamp(18px, 2vw, 28px);
}

.prose h2,
.section-head h2,
.page-hero h1,
.hero h1,
.step-card h3,
.faq-preview-box h3,
.service-card h3,
.reason-card h3,
.info-card h3,
.contact-info-card h3,
.service-row h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  color: var(--color-brown);
  line-height: 1.2;
  margin: 0 0 18px;
}

.section-dark .section-head h2,
.section-dark .process-card h3,
.section-dark h2,
.site-footer h4,
.site-footer p,
.site-footer a,
.site-footer span {
  color: var(--color-white);
}

.prose p {
  margin: 0 0 16px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  color: var(--color-copper);
  font-weight: 800;
  letter-spacing: .24em;
  font-size: 12px;
  text-transform: uppercase;
}

.text-link {
  color: var(--color-copper);
  font-weight: 700;
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.text-link::after {
  content: "→";
  transition: transform .2s ease;
}

.text-link:hover::after {
  transform: translateX(3px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform .22s ease, background-color .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-copper);
  color: var(--color-white);
  box-shadow: 0 14px 28px rgba(184, 115, 51, .28);
}

.btn-primary:hover {
  background: #a96629;
}

.btn-secondary {
  background: rgba(184, 115, 51, .08);
  color: var(--color-brown);
  border-color: rgba(184, 115, 51, .38);
}

.btn-secondary:hover {
  background: var(--color-copper);
  color: var(--color-white);
  border-color: var(--color-copper);
  box-shadow: 0 14px 30px rgba(184, 115, 51, .22);
}

.hero .btn-secondary {
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .96);
  border-color: rgba(184, 115, 51, .82);
}

.hero .btn-secondary:hover {
  background: var(--color-copper);
  color: var(--color-white);
  border-color: var(--color-copper);
}

.btn-light {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, .4);
}

.btn-light:hover {
  background: rgba(255, 255, 255, .08);
}

/* Header premium · fondo propio sin opacidad pesada ni cambio a marrón plano al hacer scroll */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  --ths-header-inner-min: var(--header-h);
  --ths-header-logo-h: clamp(48px, 4.4vw, 72px);
  --ths-header-layout-gap: clamp(14px, 1.8vw, 34px);
  --ths-header-nav-gap: clamp(8px, 1vw, 18px);
  --ths-header-nav-min: 58px;
  --ths-header-nav-size: 9.8px;
  --ths-header-nav-number-size: 19px;
  --ths-header-nav-number-top: 10px;
  --ths-header-nav-line-w: 40px;
  --ths-header-nav-line-bottom: 7px;
  --ths-header-nav-dot-size: 4px;
  --ths-header-nav-dot-bottom: 0px;
  --ths-header-nav-dot-offset: -2px;
  --ths-header-cta-h: 46px;
  --ths-header-cta-px: 20px;
  --ths-header-cta-size: 12px;
  --ths-header-divider-h: 0px;
  --ths-header-divider-opacity: 0;
  --ths-header-toggle-size: 42px;
  background-color: #21130d;
  background-image: url("../img/brand/header-bg-premium.webp");
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  backdrop-filter: none;
  border-bottom: 0;
  transition: box-shadow .18s ease, border-color .18s ease;
}

@media (min-width: 921px) {
  body {
    padding-top: var(--header-h);
  }

  .site-header {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
  }
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--ths-header-divider-h);
  pointer-events: none;
  display: none;
  background: none;
  box-shadow: none;
  opacity: 0;
  transition: none;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 34px rgba(35, 24, 19, .22);
}

.site-header-inner {
  width: min(1760px, calc(100% - clamp(40px, 4vw, 72px)));
  margin: 0 auto;
  min-height: var(--ths-header-inner-min);
  display: grid;
  grid-template-columns: minmax(104px, 1fr) minmax(0, auto) minmax(248px, 1fr);
  align-items: center;
  gap: var(--ths-header-layout-gap);
  transition: min-height .26s cubic-bezier(.22, 1, .36, 1), gap .24s cubic-bezier(.22, 1, .36, 1);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
}

.brand img {
  height: var(--ths-header-logo-h);
  width: auto;
  transition: height .26s cubic-bezier(.22, 1, .36, 1), filter .18s ease, transform .18s cubic-bezier(.22, 1, .36, 1);
}

.brand:focus-visible {
  outline: 2px solid rgba(232, 176, 111, .72);
  outline-offset: 6px;
}

/* Logo del header · levantamiento premium al pasar el mouse */
@media (hover: hover) and (pointer: fine) {

  .brand:hover img,
  .brand:focus-visible img {
    transform: translateY(-2px) scale(1.018);
    filter:
      drop-shadow(0 10px 18px rgba(232, 176, 111, .14)) drop-shadow(0 5px 12px rgba(0, 0, 0, .16));
  }

  .site-header.is-compact .brand:hover img,
  .site-header.is-compact .brand:focus-visible img {
    transform: translateY(-1.5px) scale(1.014);
    filter:
      drop-shadow(0 8px 14px rgba(232, 176, 111, .12)) drop-shadow(0 4px 10px rgba(0, 0, 0, .14));
  }
}

.main-nav {
  counter-reset: ths-header-nav;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--ths-header-nav-gap);
  transition: gap .24s cubic-bezier(.22, 1, .36, 1);
}

.nav-link {
  counter-increment: ths-header-nav;
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: var(--ths-header-nav-min);
  color: rgba(255, 255, 255, .43);
  font-size: var(--ths-header-nav-size);
  font-weight: 820;
  letter-spacing: .105em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 18px 2px 14px;
  transition: min-height .22s cubic-bezier(.22, 1, .36, 1), font-size .22s cubic-bezier(.22, 1, .36, 1), color .18s ease, text-shadow .18s ease;
}

.nav-link::after {
  content: counter(ths-header-nav, decimal-leading-zero);
  position: absolute;
  left: 50%;
  top: var(--ths-header-nav-number-top);
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .34);
  font-family: "Inter", system-ui, sans-serif;
  font-size: var(--ths-header-nav-number-size);
  font-weight: 500;
  letter-spacing: .035em;
  line-height: 1;
  transition: color .18s ease, text-shadow .18s ease, transform .18s ease, font-size .22s cubic-bezier(.22, 1, .36, 1), top .22s cubic-bezier(.22, 1, .36, 1);
}

.nav-link::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: var(--ths-header-nav-line-bottom);
  width: var(--ths-header-nav-line-w);
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(184, 115, 51, .82) 22%, rgba(245, 196, 130, 1) 50%, rgba(184, 115, 51, .82) 78%, transparent 100%);
  box-shadow: 0 0 10px rgba(232, 176, 111, .26);
  transform: translateX(-50%) scaleX(.34);
  opacity: 0;
  transform-origin: center;
  transition: bottom .22s cubic-bezier(.22, 1, .36, 1), width .22s cubic-bezier(.22, 1, .36, 1), transform .22s cubic-bezier(.16, 1, .3, 1), opacity .18s ease, box-shadow .2s ease;
}

.nav-link span {
  position: absolute;
  left: 50%;
  bottom: var(--ths-header-nav-dot-bottom);
  width: var(--ths-header-nav-dot-size);
  height: var(--ths-header-nav-dot-size);
  margin-left: var(--ths-header-nav-dot-offset);
  border-radius: 999px;
  background: rgba(245, 196, 130, .98);
  box-shadow:
    0 0 0 4px rgba(184, 115, 51, .09),
    0 0 13px rgba(232, 176, 111, .52);
  opacity: 0;
  transform: scale(.72);
  transition: bottom .22s cubic-bezier(.22, 1, .36, 1), width .22s cubic-bezier(.22, 1, .36, 1), height .22s cubic-bezier(.22, 1, .36, 1), margin-left .22s cubic-bezier(.22, 1, .36, 1), opacity .18s ease, transform .2s cubic-bezier(.16, 1, .3, 1), box-shadow .2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: rgba(245, 196, 130, .98);
  text-shadow: 0 0 14px rgba(232, 176, 111, .14);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  color: rgba(245, 196, 130, .98);
  text-shadow: 0 0 14px rgba(232, 176, 111, .22);
}

.nav-link.is-active::after {
  font-weight: 500;
}

@media (hover: hover) and (pointer: fine) {
  .nav-link:hover::after {
    transform: translateX(-50%) translateY(-3px) scale(1.04);
  }
}

.nav-link:hover::before,
.nav-link.is-active::before {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.nav-link:hover span,
.nav-link.is-active span {
  opacity: 1;
  transform: scale(1);
}

.nav-link.is-active::before {
  animation: thsNavActiveLineBreath 4.8s ease-in-out infinite;
}

.nav-link.is-active span {
  animation: thsNavActiveDotBreath 4.8s ease-in-out infinite;
}

@keyframes thsNavActiveLineBreath {

  0%,
  100% {
    opacity: .86;
    transform: translateX(-50%) scaleX(.94);
    box-shadow: 0 0 8px rgba(232, 176, 111, .20);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scaleX(1.08);
    box-shadow: 0 0 16px rgba(232, 176, 111, .38);
  }
}

@keyframes thsNavActiveDotBreath {

  0%,
  100% {
    transform: scale(.96);
    box-shadow:
      0 0 0 4px rgba(184, 115, 51, .08),
      0 0 11px rgba(232, 176, 111, .42);
  }

  50% {
    transform: scale(1.14);
    box-shadow:
      0 0 0 6px rgba(184, 115, 51, .10),
      0 0 18px rgba(232, 176, 111, .64);
  }
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--ths-header-cta-h);
  padding: 0 var(--ths-header-cta-px);
  border: 1px solid rgba(184, 115, 51, .75);
  color: var(--color-copper);
  font-size: var(--ths-header-cta-size);
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: var(--radius-xs);
  transition: min-height .22s cubic-bezier(.22, 1, .36, 1), padding .22s cubic-bezier(.22, 1, .36, 1), font-size .22s cubic-bezier(.22, 1, .36, 1), transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, filter .18s ease;
}

.header-cta:hover {
  background: var(--color-copper);
  color: var(--color-white);
  transform: translateY(-2px);
}

body:not(.agenda-page) .header-cta[href="agenda.html"] {
  background: #25D366;
  color: var(--color-white);
  border-color: #25D366;
  box-shadow: 0 11px 26px rgba(37, 211, 102, .22), 0 0 0 0 rgba(37, 211, 102, .14);
  animation: thsHeaderWhatsappPulse 4.2s ease-in-out infinite;
}

body:not(.agenda-page) .header-cta[href="agenda.html"]::after {
  content: "›";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-left: 2px;
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
  transform: translate3d(0, -1px, 0);
  opacity: .9;
  transition: transform .24s ease, opacity .24s ease;
}

.header-cta[href="agenda.html"] {
  inline-size: clamp(208px, 12.6vw, 238px);
}

body:not(.agenda-page) .header-cta[href="agenda.html"]:hover,
body:not(.agenda-page) .header-cta[href="agenda.html"]:focus-visible {
  background: #168f49;
  color: var(--color-white);
  border-color: #168f49;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 16px 32px rgba(37, 211, 102, .28);
  filter: saturate(1.04);
}

body:not(.agenda-page) .header-cta[href="agenda.html"]:hover::after,
body:not(.agenda-page) .header-cta[href="agenda.html"]:focus-visible::after {
  opacity: 1;
  transform: translate3d(4px, -1px, 0);
}

@keyframes thsHeaderWhatsappPulse {

  0%,
  100% {
    box-shadow: 0 11px 26px rgba(37, 211, 102, .22), 0 0 0 0 rgba(37, 211, 102, .14);
    filter: saturate(1);
  }

  50% {
    box-shadow: 0 15px 34px rgba(37, 211, 102, .29), 0 0 0 7px rgba(37, 211, 102, 0);
    filter: saturate(1.06);
  }
}

@media (max-width: 1180px) and (min-width: 921px) {
  .site-header-inner {
    width: min(100% - 30px, 1760px);
    grid-template-columns: minmax(74px, .52fr) minmax(0, auto) minmax(186px, .68fr);
    gap: 12px;
  }

  .main-nav {
    gap: clamp(5px, .72vw, 9px);
  }

  .nav-link {
    font-size: 8.4px;
    letter-spacing: .044em;
  }

  .nav-link[href="por-que-elegirnos.html"] {
    max-width: 92px;
    line-height: 1.05;
    white-space: normal;
  }

  .nav-link::after {
    font-size: 14.5px;
    top: 8px;
  }

  .header-cta {
    padding-left: 12px;
    padding-right: 12px;
    font-size: 10px;
  }
}

@media (max-width: 920px) {
  .site-header-inner {
    width: min(100% - 28px, 1320px);
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .main-nav {
    counter-reset: none;
  }

  .nav-link {
    counter-increment: none;
    flex-direction: row;
    justify-content: center;
    min-height: 48px;
    padding: 0 3px;
    font-size: 13px;
    letter-spacing: .015em;
    text-transform: none;
  }

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

  .nav-link::before,
  .nav-link span {
    display: none;
  }
}


.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  background: transparent;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex-direction: column;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(86vh, 820px);
  padding: clamp(38px, 5vw, 68px) 0 clamp(58px, 7vw, 94px);
  display: grid;
  align-items: center;
  color: var(--color-white);
  background: var(--color-brown);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(47, 33, 26, .18);
  pointer-events: none;
}

.hero-visual {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: clamp(30px, 8vw, 120px);
  opacity: .18;
}

.hero-visual img {
  width: min(640px, 58vw);
  animation: heroFloat 9s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 20px;
  font-size: clamp(38px, 5vw, 64px);
  color: var(--color-white);
}

.hero p {
  max-width: 760px;
  margin: 0 0 14px;
  font-size: clamp(17px, 1.6vw, 20px);
  color: rgba(255, 255, 255, .88);
}

.hero-actions,
.centered-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.centered-cta {
  justify-content: center;
}

.hero-meta {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
}

.hero-meta li::before {
  content: "•";
  color: var(--color-copper);
  margin-right: 8px;
}

/* Páginas internas · encabezado superior equilibrado */
.page-hero {
  padding: clamp(62px, 7vw, 88px) 0 clamp(58px, 6vw, 78px);
  background: linear-gradient(180deg, rgba(184, 115, 51, .06), rgba(184, 115, 51, .02));
  text-align: center;
}

.page-hero .narrow {
  width: min(980px, var(--container));
}

.page-hero h1 {
  max-width: 980px;
  margin: 0 auto 18px;
  font-size: clamp(32px, 4.1vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.018em;
}

.page-hero p {
  max-width: 780px;
  margin: 0 auto;
  font-size: 18px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 36px;
}

.section-head h2 {
  max-width: 760px;
  font-size: clamp(28px, 3vw, 44px);
}

.section-head p {
  max-width: 520px;
}

.service-grid,
.benefit-list,
.reason-grid,
.info-mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card,
.benefit-item,
.reason-card,
.info-card,
.faq-preview-box,
.contact-sidebar,
.contact-main,
.agenda-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-sm);
}

.service-card,
.benefit-item,
.reason-card,
.info-card {
  padding: 26px;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background-color .24s ease;
}

.service-card:hover,
.benefit-item:hover,
.reason-card:hover,
.info-card:hover,
.step-card:hover,
.faq-item:hover,
.contact-method:hover,
.contact-quick-item:hover,
.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(74, 52, 40, .13);
  border-color: rgba(184, 115, 51, .34);
}

.service-card h3,
.benefit-item h3,
.reason-card h3,
.info-card h3 {
  font-size: 23px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 26px;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background-color .24s ease;
}

.process-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .075);
  border-color: rgba(184, 115, 51, .48);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .16);
}

.process-number {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--color-copper);
  font-weight: 800;
  letter-spacing: .1em;
}

.faq-preview-box {
  padding: 24px;
}

.faq-preview-item+.faq-preview-item {
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid var(--color-line);
}

.contact-quick-list {
  display: grid;
  gap: 14px;
  margin: 22px 0 26px;
}

.contact-quick-item,
.contact-method,
.footer-contact,
.contact-info-card {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-quick-item,
.contact-method {
  padding: 16px 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
}

.contact-quick-item:hover,
.contact-method:hover {
  border-color: var(--color-line-strong);
  box-shadow: var(--shadow-sm);
}

.contact-whatsapp svg,
.footer-contact-whatsapp svg {
  color: #25D366;
}

.contact-instagram svg,
.footer-contact-instagram svg {
  color: #d44f83;
}

.contact-quick-item svg,
.contact-method svg,
.footer-contact svg,
.contact-info-card svg,
.icon-wrap svg,
.whatsapp-float svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.site-footer {
  background: var(--color-brown);
  color: rgba(255, 255, 255, .86);
  padding-top: 46px;
}

.footer-grid {
  width: min(calc(100% - clamp(34px, 6vw, 88px)), 1500px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(225px, .78fr) minmax(300px, .88fr) minmax(190px, .70fr) minmax(360px, 1.20fr);
  column-gap: clamp(42px, 4.4vw, 76px);
  row-gap: 32px;
  align-items: start;
}

@media (max-width: 1240px) and (min-width: 921px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(42px, 7vw, 78px);
  }
}

.footer-brand-col {
  min-height: clamp(205px, 15vw, 244px);
  width: min(100%, 285px);
  justify-self: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-logo {
  width: clamp(138px, 8.8vw, 166px);
  margin: 0 auto 14px;
}

.site-footer .footer-brand-col p {
  width: min(245px, 100%);
  margin: 0 auto;
  color: rgba(255, 255, 255, .76);
  font-size: clamp(12px, .82vw, 13px);
  font-weight: 500;
  line-height: 1.52;
  letter-spacing: .005em;
  text-align: center;
  text-align-last: center;
}

.site-footer h4 {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-white);
}

.site-footer p {
  display: block;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, .72);
}

.site-footer a {
  display: block;
  margin: 0 0 12px;
  color: rgba(232, 176, 111, .92);
  transition: color .22s ease;
}

.site-footer a.footer-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 34px;
  line-height: 1.45;
  width: fit-content;
  max-width: 100%;
}

.site-footer a.footer-contact svg {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: block;
  padding: 8px;
  margin: 0;
  color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(232, 176, 111, .20);
  transition: color .22s ease, background-color .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.site-footer a.footer-contact span {
  position: relative;
  display: inline-block;
  min-width: 0;
  max-width: 340px;
  color: inherit;
  transition: color .22s ease;
}

.site-footer a.footer-contact:not(.footer-contact-whatsapp):not(.footer-contact-instagram):not(.footer-contact-location) svg {
  color: rgba(255, 255, 255, .72);
}

.contact-whatsapp svg,
.footer-contact-whatsapp svg {
  color: #25D366;
}

.contact-instagram svg,
.footer-contact-instagram svg {
  color: #d44f83;
}

.footer-contact-location svg {
  color: var(--color-copper);
}

.footer-sections-col a {
  position: relative;
  width: fit-content;
  color: rgba(232, 176, 111, .92);
}

.footer-contact-col a {
  color: rgba(232, 176, 111, .92);
}

.footer-attention-col p {
  max-width: 360px;
  color: rgba(255, 255, 255, .66);
  font-size: 14px;
  line-height: 1.55;
}

/* Footer · separación homogénea entre Contacto, Secciones y Atención */
.footer-contact-col,
.footer-sections-col,
.footer-attention-col {
  padding-top: 2px;
}

@media (min-width: 1241px) {

  .footer-contact-col,
  .footer-sections-col,
  .footer-attention-col {
    transform: translateX(clamp(52px, 4.6vw, 96px));
  }
}

.site-footer a.footer-contact,
.footer-sections-col a,
.footer-attention-col p {
  min-height: 34px;
  margin-bottom: 14px;
  line-height: 1.45;
}

.footer-sections-col a,
.footer-attention-col p {
  display: flex;
  align-items: center;
}

.site-footer a.footer-contact:last-child,
.footer-sections-col a:last-child,
.footer-attention-col p:last-child {
  margin-bottom: 0;
}

@media (min-width: 1081px) {
  .footer-attention-col p {
    white-space: nowrap;
  }
}

.site-footer a:not(.footer-contact) {
  position: relative;
  width: fit-content;
}

.site-footer a:not(.footer-contact)::after,
.site-footer a.footer-contact span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: var(--color-copper);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .24s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer a:hover span,
.site-footer a:focus-visible span {
  color: var(--color-white);
}

.site-footer a:not(.footer-contact):hover::after,
.site-footer a:not(.footer-contact):focus-visible::after,
.site-footer a.footer-contact:hover span::after,
.site-footer a.footer-contact:focus-visible span::after {
  transform: scaleX(1);
}

.site-footer a:focus-visible {
  outline: 2px solid rgba(184, 115, 51, .75);
  outline-offset: 4px;
}

.footer-bottom {
  margin-top: 28px;
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  text-align: center;
  font-size: 13px;
  line-height: 1.55;
}

.footer-bottom span {
  color: rgba(255, 255, 255, .82);
}

.footer-bottom [data-current-year] {
  color: var(--color-white);
  font-weight: 800;
}

@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-attention-col p {
    white-space: normal;
  }
}


@media (prefers-reduced-motion: reduce) {

  .nav-link.is-active::before,
  .nav-link.is-active span,
  body:not(.agenda-page) .header-cta[href="agenda.html"] {
    animation: none;
  }
}

@media (max-width: 920px) {
  .footer-brand-col {
    width: 100%;
    justify-self: center;
    align-items: center;
    text-align: center;
  }

  .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer .footer-brand-col p {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    text-align-last: center;
  }
}

@media (max-width: 680px) {
  .footer-brand-col {
    align-items: center;
    text-align: center;
  }

  .footer-logo {
    width: min(158px, 58vw);
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer .footer-brand-col p {
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    font-size: 12px;
    text-align: center;
    text-align-last: center;
  }

  .site-footer a.footer-contact {
    width: 100%;
  }

  .site-footer a.footer-contact span {
    max-width: 100%;
  }

  .site-footer a.footer-contact svg {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    padding: 7px;
  }
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #fff;
  box-shadow: 0 18px 34px rgba(37, 211, 102, .34);
  z-index: 60;
  transition: transform .22s ease, box-shadow .22s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 46px rgba(37, 211, 102, .42);
}

.back-to-top {
  position: fixed;
  right: 88px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(184, 115, 51, .65);
  background: rgba(74, 52, 40, .96);
  color: var(--color-white);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  box-shadow: 0 16px 34px rgba(47, 33, 26, .24);
  transition: opacity .22s ease, transform .22s ease, background .22s ease, border-color .22s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-copper);
  border-color: var(--color-copper);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity .48s ease, transform .56s ease;
  transition-delay: var(--reveal-delay, 0s);
}

[data-reveal="left"] {
  transform: translate3d(-28px, 20px, 0);
}

[data-reveal="right"] {
  transform: translate3d(28px, 20px, 0);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Pantalla inicial del Home · imagen completa sin logo superpuesto */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: block;
  overflow: hidden;
  background: #24150d url("../img/intro/intro-home-bg.webp") center center / cover no-repeat;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .42s cubic-bezier(.16, 1, .3, 1), visibility .42s ease;
}

.intro-overlay.is-fading {
  opacity: 0;
}

.intro-overlay.is-done {
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 680px) {
  .intro-overlay {
    background-position: center center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-overlay {
    transition: none;
  }
}

@keyframes heroFloat {
  from {
    transform: translateY(-6px);
  }

  to {
    transform: translateY(10px);
  }
}

@media (max-width: 1080px) {

  .process-grid,
  .service-grid,
  .benefit-list,
  .reason-grid,
  .info-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 920px) {
  .site-header-inner {
    grid-template-columns: auto auto auto;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - var(--header-h) - 18px);
    overflow-y: auto;
    scrollbar-width: thin;
    background-color: #21130d;
    background-image:
      linear-gradient(180deg, rgba(15, 8, 5, .34), rgba(22, 12, 8, .46)),
      url("../img/brand/header-bg-premium.webp");
    background-size: auto, 100% 100%;
    background-position: center center, center center;
    border: 1px solid rgba(232, 176, 111, .18);
    padding: 10px 14px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-link {
    min-height: 48px;
  }

  .nav-link::before,
  .nav-link span {
    display: none;
  }

  .two-col,
  .footer-grid,
  .process-grid,
  .service-grid,
  .benefit-list,
  .reason-grid,
  .info-mosaic {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 680px) {
  .back-to-top {
    right: 80px;
    bottom: 14px;
    width: 48px;
    height: 48px;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-visual {
    opacity: .1;
    padding-right: 0;
    justify-content: center;
  }

  .hero-actions,
  .centered-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    right: 14px;
    bottom: 14px;
  }

  .page-hero {
    padding: 56px 0 48px;
  }

  .page-hero h1 {
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.12;
  }

  .page-hero p {
    font-size: 16px;
    line-height: 1.72;
  }
}

/* Flujo único hacia Agenda WhatsApp · hover verde en accesos de agendamiento */
a.btn[href="agenda.html"]:hover,
a.btn[href="agenda.html"]:focus-visible,
.header-cta[href="agenda.html"]:hover,
.header-cta[href="agenda.html"]:focus-visible {
  background: #25D366;
  color: var(--color-white);
  border-color: #25D366;
  box-shadow: 0 14px 30px rgba(37, 211, 102, .24);
}

a.btn[href="agenda.html"]:active,
.header-cta[href="agenda.html"]:active {
  background: #168f49;
  border-color: #168f49;
}

.site-footer a.footer-contact-whatsapp span::after {
  background: #25D366;
}

.site-footer a.footer-contact-whatsapp:hover,
.site-footer a.footer-contact-whatsapp:focus-visible,
.site-footer a.footer-contact-whatsapp:hover span,
.site-footer a.footer-contact-whatsapp:focus-visible span {
  color: #25D366;
}

.site-footer a.footer-contact:hover svg,
.site-footer a.footer-contact:focus-visible svg {
  background: rgba(255, 255, 255, .075);
  border-color: rgba(232, 176, 111, .34);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}

.site-footer a.footer-contact-whatsapp:hover svg,
.site-footer a.footer-contact-whatsapp:focus-visible svg {
  color: #25D366;
  background: rgba(37, 211, 102, .10);
  border-color: rgba(37, 211, 102, .34);
}

.site-footer a.footer-contact-instagram:hover svg,
.site-footer a.footer-contact-instagram:focus-visible svg {
  color: #d44f83;
  background: rgba(212, 79, 131, .10);
  border-color: rgba(212, 79, 131, .30);
}

.site-footer a.footer-contact-location:hover svg,
.site-footer a.footer-contact-location:focus-visible svg {
  color: var(--color-copper);
  background: rgba(184, 115, 51, .10);
  border-color: rgba(184, 115, 51, .30);
}

.site-footer a.footer-contact-whatsapp:focus-visible {
  outline-color: rgba(37, 211, 102, .72);
}



/* Botones · esquinas rectas en todo el sitio */
.btn,
.header-cta,
.menu-toggle,
.back-to-top,
.whatsapp-float,
.calendar-nav,
.calendar-day {
  border-radius: 0;
}

/* Botones flotantes · tamaño homogéneo */
.whatsapp-float,
.back-to-top {
  width: 56px;
  height: 56px;
}

/* Flecha de volver arriba · alineada visualmente con WhatsApp */
.back-to-top {
  right: 88px;
  bottom: 18px;
  font-size: 21px;
  line-height: 1;
}

/* Si la flecha usa SVG */
.back-to-top svg {
  width: 20px;
  height: 20px;
  transform: translateY(1px);
}

/* Ícono de WhatsApp */
.whatsapp-float svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 680px) {

  .whatsapp-float,
  .back-to-top {
    width: 52px;
    height: 52px;
  }

  .back-to-top {
    right: 78px;
    bottom: 14px;
    font-size: 20px;
  }

  .back-to-top svg {
    width: 19px;
    height: 19px;
    transform: translateY(1px);
  }

  .whatsapp-float svg {
    width: 23px;
    height: 23px;
  }
}

/* Responsive final · navegación móvil, footer y animaciones homogéneas */
@media (max-width: 920px) {
  .site-header-inner {
    width: min(100% - 28px, 1320px);
    min-height: 74px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    position: relative;
  }

  .brand {
    grid-column: 1;
    justify-self: start;
  }

  .brand img {
    height: clamp(46px, 9vw, 58px);
  }

  .menu-toggle {
    grid-column: 3;
    justify-self: end;
    align-self: center;
  }

  .main-nav {
    left: 0;
    right: 0;
    top: calc(100% + var(--ths-header-mobile-nav-offset, 8px));
    padding: 10px 14px;
    box-shadow: 0 18px 38px rgba(35, 24, 19, .28);
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-link {
    justify-content: center;
    text-align: center;
  }

  [data-reveal],
  [data-reveal="left"],
  [data-reveal="right"] {
    transform: translate3d(0, 18px, 0);
  }

  [data-reveal].is-visible {
    transform: translate3d(0, 0, 0);
  }

  .site-footer {
    padding-top: 42px;
  }

  .footer-grid {
    text-align: center;
    justify-items: center;
    gap: 30px;
  }

  .footer-brand-col,
  .footer-contact-col,
  .footer-sections-col,
  .footer-attention-col {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer .footer-brand-col p,
  .footer-attention-col p {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .site-footer a.footer-contact {
    justify-content: center;
    text-align: center;
    width: fit-content;
  }

  .site-footer a.footer-contact span {
    max-width: min(340px, 84vw);
  }

  .site-footer a:not(.footer-contact),
  .footer-sections-col a {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(1180px, calc(100% - 28px));
    --section-y: clamp(54px, 13vw, 76px);
  }

  .site-header-inner {
    width: min(100% - 24px, 1320px);
  }

  .main-nav {
    left: 0;
    right: 0;
  }

  .footer-grid {
    gap: 28px;
  }

  .site-footer h4 {
    margin-bottom: 10px;
  }

  .footer-bottom {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* Header compacto · estado estable sin parpadeo y sin resistencia al scroll */
.site-header.is-compact {
  --ths-header-inner-min: 68px;
  --ths-header-logo-h: clamp(40px, 3.2vw, 52px);
  --ths-header-layout-gap: clamp(14px, 1.8vw, 30px);
  --ths-header-nav-gap: clamp(10px, 1.35vw, 22px);
  --ths-header-nav-min: 50px;
  --ths-header-nav-size: 9.6px;
  --ths-header-nav-number-size: 15px;
  --ths-header-nav-number-top: 7px;
  --ths-header-nav-line-w: 36px;
  --ths-header-nav-line-bottom: 6px;
  --ths-header-nav-dot-size: 3.5px;
  --ths-header-nav-dot-bottom: 0px;
  --ths-header-nav-dot-offset: -1.75px;
  --ths-header-cta-h: 40px;
  --ths-header-cta-px: 16px;
  --ths-header-cta-size: 11px;
  --ths-header-divider-h: 0px;
  --ths-header-divider-opacity: 0;
  --ths-header-toggle-size: 40px;
  background-color: #21130d;
  background-image: url("../img/brand/header-bg-premium.webp");
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  border-bottom-color: transparent;
  box-shadow: 0 14px 36px rgba(35, 24, 19, .28);
}

.site-header.is-compact::after {
  box-shadow:
    0 4px 12px rgba(232, 176, 111, .16),
    0 1px 8px rgba(184, 115, 51, .14);
}

@media (max-width: 920px) {
  .site-header {
    --ths-header-inner-min: 74px;
    --ths-header-logo-h: clamp(46px, 9vw, 58px);
    --ths-header-layout-gap: 14px;
    --ths-header-nav-gap: 0px;
    --ths-header-nav-min: 48px;
    --ths-header-nav-size: 13px;
    --ths-header-toggle-size: 42px;
  }

  .site-header.is-compact {
    --ths-header-inner-min: 64px;
    --ths-header-logo-h: clamp(38px, 8vw, 48px);
    --ths-header-layout-gap: 14px;
    --ths-header-nav-gap: 0px;
    --ths-header-nav-min: 48px;
    --ths-header-nav-size: 13px;
    --ths-header-toggle-size: 40px;
  }

  .site-header .main-nav {
    top: calc(100% + var(--ths-header-mobile-nav-offset, 8px));
  }

  .site-header.is-compact .main-nav {
    top: calc(100% + var(--ths-header-mobile-nav-offset, 7px));
  }
}

@media (prefers-reduced-motion: reduce) {

  .site-header,
  .site-header::after,
  .site-header-inner,
  .brand img,
  .main-nav,
  .nav-link,
  .nav-link::before,
  .nav-link::after,
  .nav-link span,
  .header-cta,
  .menu-toggle {
    transition-duration: .01ms !important;
  }
}

/* Refinamiento visual institucional · fondos con líneas finas y acentos cobre */
:root {
  --ths-line-light: rgba(74, 52, 40, .045);
  --ths-line-warm: rgba(184, 115, 51, .075);
  --ths-line-dark: rgba(245, 196, 130, .045);
  --ths-corner-soft: rgba(184, 115, 51, .30);
  --ths-corner-bright: rgba(232, 176, 111, .52);
}

body {
  background:
    radial-gradient(circle at 8% 8%, rgba(184, 115, 51, .055), transparent 28%),
    radial-gradient(circle at 92% 16%, rgba(74, 52, 40, .035), transparent 30%),
    linear-gradient(90deg, transparent 0 94px, rgba(74, 52, 40, .022) 95px, transparent 96px),
    var(--color-bg);
  background-size: auto, auto, 96px 100%, auto;
}

.section,
.page-hero,
.hero,
.site-footer {
  position: relative;
  isolation: isolate;
}

.section>.container,
.page-hero>.container,
.site-footer>.container,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.section-white {
  --ths-section-line: var(--ths-line-light);
  --ths-section-glow-a: rgba(184, 115, 51, .045);
  --ths-section-glow-b: rgba(74, 52, 40, .025);
  background:
    linear-gradient(180deg, #fffdfb 0%, #fbf5ef 100%);
}

.section-soft,
.section-contact-cta {
  --ths-section-line: var(--ths-line-warm);
  --ths-section-glow-a: rgba(184, 115, 51, .075);
  --ths-section-glow-b: rgba(74, 52, 40, .03);
  background:
    linear-gradient(180deg, rgba(184, 115, 51, .075) 0%, rgba(255, 253, 251, .88) 46%, rgba(184, 115, 51, .035) 100%);
}

.section-dark {
  --ths-section-line: var(--ths-line-dark);
  --ths-section-glow-a: rgba(184, 115, 51, .13);
  --ths-section-glow-b: rgba(255, 255, 255, .035);
  background:
    radial-gradient(circle at 12% 20%, rgba(184, 115, 51, .14), transparent 32%),
    linear-gradient(135deg, #35241c 0%, var(--color-brown) 48%, #241710 100%);
}

.section::before,
.section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.section::before {
  background-image:
    linear-gradient(90deg, transparent 0 86px, var(--ths-section-line, rgba(74, 52, 40, .04)) 87px, transparent 88px);
  background-size: 88px 100%;
  background-position: center top;
  opacity: .96;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.section::after {
  background:
    radial-gradient(circle at 8% 18%, var(--ths-section-glow-a, rgba(184, 115, 51, .05)), transparent 30%),
    radial-gradient(circle at 92% 82%, var(--ths-section-glow-b, rgba(74, 52, 40, .025)), transparent 34%);
  opacity: .85;
}

.page-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(184, 115, 51, .085), transparent 33%),
    radial-gradient(circle at 88% 22%, rgba(74, 52, 40, .045), transparent 28%),
    linear-gradient(180deg, rgba(184, 115, 51, .065), rgba(255, 253, 251, .78));
}

.page-hero::before,
.page-hero::after,
.hero::before,
.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-hero::before {
  z-index: 0;
  background-image:
    linear-gradient(90deg, transparent 0 92px, rgba(184, 115, 51, .07) 93px, transparent 94px);
  background-size: 94px 100%;
  background-position: center top;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 87%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 87%, transparent 100%);
}

.page-hero::after {
  z-index: 0;
  background:
    linear-gradient(90deg, transparent, rgba(184, 115, 51, .34), transparent) left 18% top 28px / 160px 1px no-repeat,
    linear-gradient(180deg, rgba(184, 115, 51, .22), transparent) left calc(18% + 160px) top 28px / 1px 44px no-repeat,
    linear-gradient(90deg, transparent, rgba(184, 115, 51, .28), transparent) right 15% bottom 30px / 150px 1px no-repeat,
    linear-gradient(180deg, transparent, rgba(184, 115, 51, .18)) right calc(15% + 150px) bottom 30px / 1px 42px no-repeat;
  opacity: .74;
}

.page-hero .narrow,
.page-hero .container {
  position: relative;
  z-index: 1;
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 26%, rgba(184, 115, 51, .16), transparent 32%),
    linear-gradient(135deg, #3b281f 0%, var(--color-brown) 52%, #241710 100%);
}

.hero::before {
  z-index: 0;
  background-image:
    linear-gradient(90deg, transparent 0 92px, rgba(245, 196, 130, .045) 93px, transparent 94px),
    radial-gradient(circle at 84% 22%, rgba(232, 176, 111, .10), transparent 30%);
  background-size: 94px 100%, auto;
  background-position: center top, center center;
  opacity: .85;
}

.hero::after {
  z-index: 0;
}

.hero-content {
  position: relative;
}

.section-head {
  position: relative;
  padding-top: 10px;
}

.section-head::before,
.section-head::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: .72;
}

.section-head::before {
  left: 0;
  top: 0;
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, var(--color-copper), transparent);
  box-shadow: 0 0 12px rgba(184, 115, 51, .18);
}

.section-head::after {
  right: 0;
  top: -3px;
  width: clamp(74px, 10vw, 136px);
  height: 28px;
  border-top: 1px solid rgba(184, 115, 51, .26);
  border-right: 1px solid rgba(184, 115, 51, .16);
}

.section-dark .section-head::before {
  background: linear-gradient(90deg, rgba(245, 196, 130, .86), transparent);
  box-shadow: 0 0 14px rgba(232, 176, 111, .20);
}

.section-dark .section-head::after {
  border-color: rgba(245, 196, 130, .20);
}

.split-focus .prose,
.faq-preview-layout .prose,
.section-contact-cta .prose {
  position: relative;
}

.split-focus .prose::after,
.faq-preview-layout .prose::after,
.section-contact-cta .prose::after {
  content: "";
  position: absolute;
  left: 0;
  top: -18px;
  width: 72px;
  height: 14px;
  border-top: 1px solid rgba(184, 115, 51, .34);
  border-left: 1px solid rgba(184, 115, 51, .18);
  pointer-events: none;
  opacity: .64;
}

.service-card,
.benefit-item,
.reason-card,
.info-card,
.faq-preview-box,
.contact-sidebar,
.contact-main,
.contact-info-card,
.contact-quick-item,
.contact-method,
.image-panel,
.service-photo,
.process-card,
.step-card,
.faq-item,
.service-row,
.agenda-panel,
.agenda-copy-card,
.agenda-direct-card,
.agenda-calendar-card,
.agenda-option-card {
  position: relative;
  overflow: hidden;
}

.service-card::after,
.benefit-item::after,
.reason-card::after,
.info-card::after,
.faq-preview-box::after,
.contact-sidebar::after,
.contact-main::after,
.contact-info-card::after,
.contact-quick-item::after,
.contact-method::after,
.image-panel::after,
.service-photo::after,
.step-card::after,
.faq-item::after,
.service-row::after,
.agenda-copy-card::after,
.agenda-direct-card::after,
.agenda-calendar-card::after,
.agenda-option-card::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 54px;
  height: 38px;
  border-top: 1px solid var(--ths-corner-soft);
  border-right: 1px solid rgba(184, 115, 51, .18);
  pointer-events: none;
  opacity: .55;
  transform: translate3d(0, 0, 0);
  transition: opacity .24s ease, transform .24s ease, border-color .24s ease;
}

.process-card::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 52px;
  height: 36px;
  border-top: 1px solid rgba(245, 196, 130, .26);
  border-right: 1px solid rgba(245, 196, 130, .16);
  pointer-events: none;
  opacity: .54;
  transition: opacity .24s ease, transform .24s ease, border-color .24s ease;
}

.service-card:hover::after,
.benefit-item:hover::after,
.reason-card:hover::after,
.info-card:hover::after,
.faq-preview-box:hover::after,
.contact-sidebar:hover::after,
.contact-main:hover::after,
.contact-info-card:hover::after,
.contact-quick-item:hover::after,
.contact-method:hover::after,
.image-panel:hover::after,
.service-photo:hover::after,
.step-card:hover::after,
.faq-item:hover::after,
.service-row:hover::after,
.agenda-copy-card:hover::after,
.agenda-direct-card:hover::after,
.agenda-calendar-card:hover::after,
.agenda-option-card:hover::after,
.process-card:hover::after {
  opacity: .92;
  transform: translate3d(-3px, 3px, 0);
  border-top-color: var(--ths-corner-bright);
  border-right-color: rgba(232, 176, 111, .34);
}

.service-card,
.benefit-item,
.reason-card,
.info-card,
.faq-preview-box,
.contact-sidebar,
.contact-main,
.image-panel,
.service-photo,
.step-card,
.faq-item,
.service-row,
.agenda-copy-card,
.agenda-direct-card,
.agenda-calendar-card,
.agenda-option-card {
  box-shadow:
    var(--shadow-sm),
    inset 0 1px 0 rgba(255, 255, 255, .54);
}

.process-card {
  background:
    linear-gradient(90deg, transparent 0 70px, rgba(245, 196, 130, .035) 71px, transparent 72px),
    rgba(255, 255, 255, .06);
  background-size: 72px 100%, auto;
}

.section-dark .process-card:hover {
  background:
    linear-gradient(90deg, transparent 0 70px, rgba(245, 196, 130, .045) 71px, transparent 72px),
    rgba(255, 255, 255, .082);
}

.site-footer {
  overflow: hidden;
  background-color: #27170f;
  background-image:
    linear-gradient(180deg, rgba(17, 9, 6, .22) 0%, rgba(28, 15, 10, .34) 48%, rgba(17, 9, 6, .58) 100%),
    radial-gradient(circle at 50% -10%, rgba(232, 176, 111, .20), transparent 34%),
    url("../img/brand/footer-bg-premium.webp"),
    linear-gradient(135deg, #3a271e 0%, var(--color-brown) 48%, #241710 100%);
  background-size: auto, auto, cover, auto;
  background-position: center top, center top, center top, center;
  background-repeat: no-repeat;
}

.site-footer::before {
  z-index: 0;
  background-image:
    linear-gradient(90deg, transparent 0 92px, rgba(245, 196, 130, .040) 93px, transparent 94px);
  background-size: 94px 100%;
  background-position: center top;
  opacity: .30;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 87%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 87%, transparent 100%);
}

.site-footer::after {
  z-index: 0;
  background:
    linear-gradient(90deg, transparent, rgba(232, 176, 111, .30), transparent) left 10% top 30px / 155px 1px no-repeat,
    linear-gradient(180deg, rgba(232, 176, 111, .14), transparent) left calc(10% + 155px) top 30px / 1px 38px no-repeat,
    linear-gradient(90deg, transparent, rgba(232, 176, 111, .20), transparent) right 10% bottom 54px / 140px 1px no-repeat;
  opacity: .42;
}

@media (max-width: 920px) {

  .section-head::after,
  .page-hero::after {
    opacity: .42;
  }

  .section::before,
  .page-hero::before,
  .hero::before,
  .site-footer::before {
    background-size: 78px 100%;
  }
}

@media (max-width: 680px) {
  .section-head {
    padding-top: 8px;
  }

  .section-head::after,
  .page-hero::after,
  .split-focus .prose::after,
  .faq-preview-layout .prose::after,
  .section-contact-cta .prose::after {
    display: none;
  }

  .service-card::after,
  .benefit-item::after,
  .reason-card::after,
  .info-card::after,
  .faq-preview-box::after,
  .contact-sidebar::after,
  .contact-main::after,
  .contact-info-card::after,
  .contact-quick-item::after,
  .contact-method::after,
  .image-panel::after,
  .service-photo::after,
  .step-card::after,
  .faq-item::after,
  .service-row::after,
  .agenda-copy-card::after,
  .agenda-direct-card::after,
  .agenda-calendar-card::after,
  .agenda-option-card::after,
  .process-card::after {
    width: 38px;
    height: 28px;
    top: 12px;
    right: 12px;
    opacity: .42;
  }
}

/* Responsive QA · ajuste transversal para tablet y móvil sin alterar escritorio */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

@supports not (overflow: clip) {

  html,
  body {
    overflow-x: hidden;
  }
}

.container,
.narrow,
.two-col>*,
.section-head>*,
.footer-grid>*,
.service-card,
.benefit-item,
.reason-card,
.info-card,
.process-card,
.step-card,
.faq-item,
.contact-method,
.contact-info-card,
.agenda-panel,
.agenda-copy-card,
.agenda-direct-card,
.agenda-calendar-card,
.agenda-option-card {
  min-width: 0;
}

@media (max-width: 920px) {
  .main-nav {
    max-height: calc(100dvh - 96px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav .nav-link {
    padding-left: 10px;
    padding-right: 10px;
  }

  .section-head {
    gap: 10px;
  }

  .section-head h2,
  .section-head p {
    max-width: 100%;
  }

  .hero-actions .btn,
  .centered-cta .btn {
    min-width: min(100%, 230px);
  }

  .site-footer a.footer-contact {
    max-width: min(420px, 100%);
  }
}

@media (max-width: 680px) {
  .btn {
    width: 100%;
    min-width: 0;
  }

  .page-hero {
    padding-top: 52px;
    padding-bottom: 44px;
  }

  .page-hero .eyebrow,
  .page-hero h1,
  .page-hero p {
    text-align: center;
    text-align-last: center;
  }

  .page-hero p {
    max-width: 34rem;
    margin-left: auto;
    margin-right: auto;
  }

  .section-head {
    align-items: center;
    text-align: center;
  }

  .section-head p {
    text-align: center;
    text-align-last: center;
  }

  .contact-quick-item,
  .contact-method,
  .footer-contact {
    min-width: 0;
  }

  .whatsapp-float,
  .back-to-top {
    bottom: max(14px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 420px) {
  :root {
    --container: min(1180px, calc(100% - 22px));
  }

  .site-header-inner {
    width: min(100% - 20px, 1320px);
  }

  .main-nav {
    left: 0;
    right: 0;
    padding: 8px 10px;
  }

  .footer-bottom {
    font-size: 12px;
  }

  .ths-page-loader-status {
    gap: 6px;
    white-space: normal;
    text-align: center;
  }

  .ths-page-loader-ms {
    min-width: 48px;
  }
}


/* Responsive específico · menú móvil premium sin cajas y estados táctiles limpios */
.agenda-mobile-nav-link {
  display: none !important;
}

@media (max-width: 920px) {
  .main-nav {
    counter-reset: ths-mobile-nav;
  }

  .main-nav .nav-link {
    min-height: 74px;
    padding: 12px 8px 16px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .095em;
    font-size: 12px;
    font-weight: 840;
    line-height: 1;
    color: rgba(255, 255, 255, .58);
    background: transparent !important;
    border: 0;
    box-shadow: none !important;
    transform: none;
  }

  .main-nav .nav-link:not(.agenda-mobile-nav-link) {
    counter-increment: ths-mobile-nav;
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
  }

  .main-nav .nav-link:not(.agenda-mobile-nav-link)::after {
    content: counter(ths-mobile-nav, decimal-leading-zero);
    display: block;
    position: absolute;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .34);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: .035em;
    line-height: 1;
  }

  .main-nav .nav-link:not(.agenda-mobile-nav-link)::before {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    bottom: 14px;
    width: 46px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(184, 115, 51, .82) 22%, rgba(245, 196, 130, 1) 50%, rgba(184, 115, 51, .82) 78%, transparent 100%);
    box-shadow: 0 0 10px rgba(232, 176, 111, .26);
    opacity: 0;
    transform: translateX(-50%) scaleX(.34);
    transform-origin: center;
  }

  .main-nav .nav-link:not(.agenda-mobile-nav-link)>span {
    display: block;
    position: absolute;
    left: 50%;
    bottom: 8px;
    width: 5px;
    height: 5px;
    margin-left: -2.5px;
    border-radius: 999px;
    background: rgba(245, 196, 130, .98);
    box-shadow: 0 0 0 4px rgba(184, 115, 51, .09), 0 0 13px rgba(232, 176, 111, .52);
    opacity: 0;
    transform: scale(.72);
  }

  .main-nav .nav-link:not(.agenda-mobile-nav-link).is-active,
  .main-nav .nav-link:not(.agenda-mobile-nav-link):focus-visible {
    color: rgba(245, 196, 130, .98);
    text-shadow: 0 0 14px rgba(232, 176, 111, .18);
  }

  .main-nav .nav-link:not(.agenda-mobile-nav-link).is-active::after,
  .main-nav .nav-link:not(.agenda-mobile-nav-link):focus-visible::after {
    color: rgba(245, 196, 130, .98);
    text-shadow: 0 0 14px rgba(232, 176, 111, .22);
  }

  .main-nav .nav-link:not(.agenda-mobile-nav-link).is-active::before,
  .main-nav .nav-link:not(.agenda-mobile-nav-link):focus-visible::before {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
    animation: thsNavActiveLineBreath 4.8s ease-in-out infinite;
  }

  .main-nav .nav-link:not(.agenda-mobile-nav-link).is-active>span,
  .main-nav .nav-link:not(.agenda-mobile-nav-link):focus-visible>span {
    opacity: 1;
    transform: scale(1);
    animation: thsNavActiveDotBreath 4.8s ease-in-out infinite;
  }

  .main-nav .agenda-mobile-nav-link {
    display: inline-flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 56px;
    margin-top: 10px;
    padding: 12px 8px 10px;
    color: #25D366;
    font-size: 12.5px;
    font-weight: 900;
    letter-spacing: .065em;
    line-height: 1.15;
    text-shadow: 0 0 14px rgba(37, 211, 102, .14);
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .main-nav .agenda-mobile-nav-link::before {
    display: none !important;
  }

  .main-nav .agenda-mobile-nav-link::after {
    content: "›";
    display: inline-block;
    position: static;
    transform: none;
    color: currentColor;
    font-size: 21px;
    font-weight: 950;
    line-height: 1;
    margin-left: 2px;
    text-shadow: 0 0 14px rgba(37, 211, 102, .20);
  }

  .main-nav .agenda-mobile-nav-link>span {
    display: none;
  }

  body.agenda-page .main-nav .agenda-mobile-nav-link {
    color: #25D366;
    text-shadow:
      0 0 12px rgba(37, 211, 102, .34),
      0 0 26px rgba(37, 211, 102, .18);
    animation: thsMobileAgendaTextHalo 3.6s ease-in-out infinite;
  }

  body.agenda-page .main-nav .agenda-mobile-nav-link::after {
    content: "";
    width: 21px;
    height: 21px;
    margin-left: 1px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.05 4.94A9.86 9.86 0 0 0 12.02 2C6.55 2 2.1 6.44 2.1 11.91c0 1.75.46 3.46 1.33 4.97L2 22l5.28-1.39a9.9 9.9 0 0 0 4.74 1.21h.01c5.47 0 9.92-4.44 9.92-9.91 0-2.65-1.03-5.14-2.9-6.97ZM12.03 20.14h-.01a8.2 8.2 0 0 1-4.18-1.14l-.3-.18-3.13.82.84-3.05-.2-.31a8.16 8.16 0 0 1-1.27-4.37c0-4.52 3.69-8.21 8.23-8.21 2.2 0 4.27.85 5.82 2.39a8.16 8.16 0 0 1 2.41 5.82c0 4.53-3.69 8.22-8.21 8.22Zm4.5-6.16c-.25-.13-1.48-.73-1.7-.82-.22-.08-.38-.13-.54.13-.16.25-.62.82-.76.98-.14.16-.28.18-.53.06-.25-.13-1.04-.38-1.98-1.22-.73-.65-1.23-1.46-1.37-1.7-.14-.25-.01-.38.11-.5.11-.11.25-.28.37-.42.12-.14.16-.25.25-.42.08-.16.04-.3-.02-.42-.06-.13-.54-1.29-.74-1.76-.19-.46-.39-.4-.54-.41h-.46c-.16 0-.42.06-.64.3-.22.25-.84.82-.84 2 0 1.18.86 2.32.98 2.48.12.16 1.69 2.58 4.1 3.62.57.25 1.02.4 1.37.51.58.18 1.11.15 1.52.09.46-.07 1.48-.61 1.69-1.2.21-.59.21-1.1.15-1.2-.06-.1-.22-.16-.47-.29Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.05 4.94A9.86 9.86 0 0 0 12.02 2C6.55 2 2.1 6.44 2.1 11.91c0 1.75.46 3.46 1.33 4.97L2 22l5.28-1.39a9.9 9.9 0 0 0 4.74 1.21h.01c5.47 0 9.92-4.44 9.92-9.91 0-2.65-1.03-5.14-2.9-6.97ZM12.03 20.14h-.01a8.2 8.2 0 0 1-4.18-1.14l-.3-.18-3.13.82.84-3.05-.2-.31a8.16 8.16 0 0 1-1.27-4.37c0-4.52 3.69-8.21 8.23-8.21 2.2 0 4.27.85 5.82 2.39a8.16 8.16 0 0 1 2.41 5.82c0 4.53-3.69 8.22-8.21 8.22Zm4.5-6.16c-.25-.13-1.48-.73-1.7-.82-.22-.08-.38-.13-.54.13-.16.25-.62.82-.76.98-.14.16-.28.18-.53.06-.25-.13-1.04-.38-1.98-1.22-.73-.65-1.23-1.46-1.37-1.7-.14-.25-.01-.38.11-.5.11-.11.25-.28.37-.42.12-.14.16-.25.25-.42.08-.16.04-.3-.02-.42-.06-.13-.54-1.29-.74-1.76-.19-.46-.39-.4-.54-.41h-.46c-.16 0-.42.06-.64.3-.22.25-.84.82-.84 2 0 1.18.86 2.32.98 2.48.12.16 1.69 2.58 4.1 3.62.57.25 1.02.4 1.37.51.58.18 1.11.15 1.52.09.46-.07 1.48-.61 1.69-1.2.21-.59.21-1.1.15-1.2-.06-.1-.22-.16-.47-.29Z'/%3E%3C/svg%3E") center / contain no-repeat;
    filter: drop-shadow(0 0 8px rgba(37, 211, 102, .34));
  }
}

@media (max-width: 520px) {
  .main-nav .nav-link {
    min-height: 66px;
    font-size: 11px;
    letter-spacing: .08em;
  }

  .main-nav .nav-link:not(.agenda-mobile-nav-link)::after {
    top: 8px;
    font-size: 21px;
  }

  .main-nav .agenda-mobile-nav-link {
    min-height: 50px;
    font-size: 11px;
    letter-spacing: .055em;
  }
}

@keyframes thsMobileAgendaTextHalo {

  0%,
  100% {
    text-shadow:
      0 0 10px rgba(37, 211, 102, .24),
      0 0 20px rgba(37, 211, 102, .12);
    filter: saturate(1);
  }

  50% {
    text-shadow:
      0 0 15px rgba(37, 211, 102, .42),
      0 0 32px rgba(37, 211, 102, .20);
    filter: saturate(1.08);
  }
}

@media (hover: none),
(pointer: coarse) {

  .back-to-top:hover,
  .back-to-top:focus,
  .back-to-top.is-touch-resetting {
    background: rgba(74, 52, 40, .96);
    border-color: rgba(184, 115, 51, .65);
    color: var(--color-white);
    transform: translateY(0);
  }

  .back-to-top:active {
    background: var(--color-copper);
    border-color: var(--color-copper);
    transform: translateY(-1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.agenda-page .main-nav .agenda-mobile-nav-link {
    animation: none;
  }
}

/* Footer · ubicación institucional con mapa · versión premium interactiva */
.site-footer {
  padding-top: clamp(24px, 2.4vw, 42px);
}

.footer-grid-with-map {
  position: relative;
  width: min(calc(100% - clamp(30px, 4.2vw, 82px)), 1740px);
  display: grid;
  grid-template-columns:
    minmax(230px, .70fr) minmax(315px, .86fr) minmax(230px, .58fr) minmax(580px, 1.48fr);
  column-gap: clamp(30px, 3vw, 58px);
  row-gap: clamp(24px, 2.6vw, 40px);
  align-items: start;
  padding: clamp(14px, 1.4vw, 22px) 0 clamp(20px, 1.8vw, 30px);
  border: 0;
}

.footer-grid-with-map .footer-brand-col,
.footer-grid-with-map .footer-contact-col,
.footer-grid-with-map .footer-sections-col,
.footer-grid-with-map .footer-map-col {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding-top: 0;
  align-self: start;
}

.footer-grid-with-map .footer-brand-col {
  width: min(100%, 290px);
  min-height: 0;
  justify-self: center;
  justify-content: flex-start;
}

.footer-grid-with-map .footer-contact-col,
.footer-grid-with-map .footer-sections-col,
.footer-grid-with-map .footer-map-col {
  transform: none;
}

.footer-grid-with-map .footer-brand-col::before,
.footer-grid-with-map .site-footer-logo-line {
  display: none;
}

.footer-grid-with-map .footer-brand-col::after {
  content: "";
  display: block;
  width: min(148px, 58%);
  height: 1px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, transparent, rgba(232, 176, 111, .68), transparent);
  box-shadow: 0 0 14px rgba(232, 176, 111, .13);
}

.footer-grid-with-map h4 {
  position: relative;
  display: inline-block;
  width: fit-content;
  padding-bottom: 14px;
  margin: 0 0 22px;
  color: var(--color-white);
  font-size: 16px;
  letter-spacing: .01em;
}

.footer-grid-with-map h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(232, 176, 111, .56), rgba(245, 196, 130, .74), rgba(232, 176, 111, .56), transparent);
  box-shadow: 0 0 12px rgba(232, 176, 111, .12);
}

.footer-grid-with-map h4::before {
  content: none;
}

.footer-grid-with-map .footer-contact-col,
.footer-grid-with-map .footer-sections-col {
  text-align: left;
}

.footer-grid-with-map .footer-contact,
.footer-grid-with-map .footer-section-link {
  min-height: 36px;
  margin-bottom: 14px;
}

.footer-grid-with-map .footer-contact span {
  max-width: 350px;
}

.footer-grid-with-map .footer-contact svg,
.footer-grid-with-map .footer-section-link svg {
  border-radius: 0;
}

.footer-grid-with-map .footer-contact svg {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025);
  transform: translate3d(0, 0, 0);
  will-change: transform, box-shadow;
  transition:
    color .24s cubic-bezier(.22, 1, .36, 1),
    background-color .24s cubic-bezier(.22, 1, .36, 1),
    border-color .24s cubic-bezier(.22, 1, .36, 1),
    box-shadow .24s cubic-bezier(.22, 1, .36, 1),
    transform .24s cubic-bezier(.22, 1, .36, 1);
}

.footer-grid-with-map .footer-contact span::after {
  display: block !important;
  background: linear-gradient(90deg, rgba(232, 176, 111, .90), rgba(232, 176, 111, .38));
}

.footer-grid-with-map .footer-contact:hover svg,
.footer-grid-with-map .footer-contact:focus-visible svg {
  color: rgba(255, 255, 255, .92);
  background: rgba(184, 115, 51, .14);
  border-color: rgba(232, 176, 111, .54);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .055),
    0 0 0 1px rgba(232, 176, 111, .18),
    0 0 16px rgba(232, 176, 111, .16),
    0 8px 18px rgba(0, 0, 0, .18);
  transform: translate3d(0, -1px, 0);
}

.footer-grid-with-map .footer-contact-whatsapp:hover svg,
.footer-grid-with-map .footer-contact-whatsapp:focus-visible svg {
  color: #25D366;
  background:
    linear-gradient(180deg, rgba(37, 211, 102, .11), rgba(184, 115, 51, .075));
  border-color: rgba(232, 176, 111, .54);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .050),
    0 0 0 1px rgba(232, 176, 111, .18),
    0 0 16px rgba(232, 176, 111, .16),
    0 0 12px rgba(37, 211, 102, .12),
    0 8px 18px rgba(0, 0, 0, .18);
}

.footer-grid-with-map .footer-contact-instagram:hover svg,
.footer-grid-with-map .footer-contact-instagram:focus-visible svg {
  color: #d44f83;
  background:
    linear-gradient(180deg, rgba(212, 79, 131, .11), rgba(184, 115, 51, .075));
  border-color: rgba(232, 176, 111, .54);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .050),
    0 0 0 1px rgba(232, 176, 111, .18),
    0 0 16px rgba(232, 176, 111, .16),
    0 0 12px rgba(212, 79, 131, .11),
    0 8px 18px rgba(0, 0, 0, .18);
}

.footer-grid-with-map .footer-contact-location:hover svg,
.footer-grid-with-map .footer-contact-location:focus-visible svg {
  color: var(--color-copper);
  background: rgba(184, 115, 51, .14);
  border-color: rgba(232, 176, 111, .56);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .055),
    0 0 0 1px rgba(232, 176, 111, .18),
    0 0 16px rgba(232, 176, 111, .17),
    0 8px 18px rgba(0, 0, 0, .18);
}

.footer-grid-with-map .footer-section-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  line-height: 1.45;
  color: rgba(232, 176, 111, .92);
}

.footer-grid-with-map .footer-section-link::after {
  display: none !important;
}

.footer-grid-with-map .footer-section-link svg {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: block;
  padding: 8px;
  color: var(--color-copper);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(232, 176, 111, .22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025);
  transition:
    color .22s ease,
    background-color .22s ease,
    border-color .22s ease,
    box-shadow .22s ease,
    transform .22s ease;
}

.footer-grid-with-map .footer-section-link span {
  position: relative;
  display: inline-block;
  color: inherit;
  transition: color .22s ease;
}

.footer-grid-with-map .footer-section-link span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: linear-gradient(90deg, rgba(232, 176, 111, .90), rgba(232, 176, 111, .38));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .24s ease;
}

.footer-grid-with-map .footer-section-link:hover svg,
.footer-grid-with-map .footer-section-link:focus-visible svg {
  color: rgba(255, 255, 255, .92);
  background: rgba(184, 115, 51, .16);
  border-color: rgba(232, 176, 111, .54);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .055),
    0 0 18px rgba(232, 176, 111, .12);
  transform: translateY(-1px);
}

.footer-grid-with-map .footer-section-link:hover span::after,
.footer-grid-with-map .footer-section-link:focus-visible span::after {
  transform: scaleX(1);
}

.footer-grid-with-map .footer-map-col {
  display: flex;
  min-height: 0;
}

.footer-map-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: clamp(330px, 21.5vw, 390px);
  padding: 8px;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(145deg, rgba(82, 45, 23, .94), rgba(20, 10, 5, .98));
  box-shadow:
    0 22px 48px rgba(0, 0, 0, .34),
    0 0 20px rgba(232, 176, 111, .065),
    inset 0 0 0 1px rgba(232, 176, 111, .42),
    inset 0 0 24px rgba(0, 0, 0, .24);
}

.footer-map-card::before,
.footer-map-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.footer-map-card::before {
  z-index: 2;
  inset: 8px;
  border: 1px solid rgba(232, 176, 111, .58);
  box-shadow:
    inset 0 0 0 1px rgba(12, 7, 4, .34),
    inset 0 0 18px rgba(0, 0, 0, .18);
}

.footer-map-card::after {
  z-index: 3;
  inset: 8px;
  background:
    linear-gradient(180deg, rgba(18, 10, 6, .12), transparent 30%, rgba(18, 10, 6, .16)),
    linear-gradient(90deg, rgba(18, 10, 6, .10), transparent 35%, rgba(18, 10, 6, .10));
  mix-blend-mode: multiply;
  opacity: .30;
}

.footer-map-embed {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
  border-radius: 0;
  filter: sepia(.14) saturate(.86) contrast(.96) brightness(.90);
  opacity: .98;
  pointer-events: auto;
}

.footer-grid-with-map+.footer-bottom {
  position: relative;
  display: block;
  margin-top: 0;
  padding: clamp(8px, .70vw, 10px) clamp(18px, 2vw, 24px) clamp(9px, .78vw, 11px);
  border-top: 0;
  text-align: center;
  color: rgba(255, 255, 255, .82);
}

.footer-grid-with-map+.footer-bottom::before {
  content: "";
  position: absolute;
  left: clamp(30px, 4.2vw, 82px);
  right: clamp(30px, 4.2vw, 82px);
  top: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(232, 176, 111, .18), transparent);
}

.footer-grid-with-map+.footer-bottom::after {
  display: none;
}

.footer-grid-with-map+.footer-bottom span {
  display: inline;
}

@media (max-width: 1480px) and (min-width: 1081px) {
  .footer-grid-with-map {
    grid-template-columns:
      minmax(205px, .66fr) minmax(285px, .80fr) minmax(220px, .56fr) minmax(500px, 1.32fr);
    column-gap: clamp(24px, 2.3vw, 42px);
  }

  .footer-map-card {
    min-height: clamp(315px, 22vw, 365px);
  }
}

@media (max-width: 1240px) and (min-width: 1081px) {
  .footer-grid-with-map {
    grid-template-columns:
      minmax(200px, .76fr) minmax(285px, .92fr) minmax(220px, .68fr);
    width: min(calc(100% - 54px), 1120px);
  }

  .footer-grid-with-map .footer-map-col {
    grid-column: 1 / -1;
  }

  .footer-map-card {
    min-height: 360px;
  }
}

@media (max-width: 1080px) {
  .site-footer {
    padding-top: 36px;
  }

  .footer-grid-with-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(calc(100% - 34px), 820px);
    text-align: center;
    justify-items: center;
    padding-top: 22px;
  }

  .footer-grid-with-map .footer-brand-col,
  .footer-grid-with-map .footer-contact-col,
  .footer-grid-with-map .footer-sections-col,
  .footer-grid-with-map .footer-map-col {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .footer-grid-with-map h4,
  .footer-grid-with-map .footer-section-link,
  .footer-grid-with-map .footer-contact {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-grid-with-map h4::after {
    left: 50%;
    transform: translateX(-50%);
  }


  .footer-grid-with-map .footer-map-col {
    grid-column: 1 / -1;
  }

  .footer-map-card {
    min-height: 340px;
  }
}

@media (max-width: 680px) {
  .footer-grid-with-map {
    grid-template-columns: 1fr;
    width: min(calc(100% - 28px), 480px);
  }

  .footer-grid-with-map .footer-map-col,
  .footer-map-card {
    min-height: 330px;
  }

  .footer-grid-with-map+.footer-bottom {
    padding-left: 14px;
    padding-right: 14px;
  }

  .footer-grid-with-map+.footer-bottom::before {
    left: 14px;
    right: 14px;
  }
}

/* Header desktop · 9 secciones en una sola línea, compacto, legible y homogéneo */
@media (min-width: 921px) {
  .site-header {
    --ths-header-layout-gap: clamp(10px, 1vw, 18px);
    --ths-header-nav-size: 10.2px;
    --ths-header-nav-number-size: 19.5px;
    --ths-header-nav-line-w: 36px;
  }

  .site-header-inner {
    width: min(1760px, calc(100% - clamp(24px, 3vw, 52px)));
    grid-template-columns: minmax(86px, 1fr) max-content minmax(206px, 1fr);
    gap: clamp(10px, 1vw, 18px);
  }

  .main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    width: auto;
    inline-size: auto;
    gap: clamp(16px, .92vw, 24px);
  }

  .nav-link {
    flex: 0 0 auto;
    width: auto;
    inline-size: auto;
    min-width: 0;
    min-inline-size: clamp(58px, 3.55vw, 74px);
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
    font-size: var(--ths-header-nav-size);
    letter-spacing: .064em;
    white-space: nowrap;
  }

  .nav-link[href="metodologia.html"],
  .nav-link[href="honorarios.html"] {
    font-size: var(--ths-header-nav-size);
    letter-spacing: .046em;
  }

  .nav-link[href="por-que-elegirnos.html"] {
    min-inline-size: 104px;
    max-width: 104px;
    font-size: 9.35px;
    line-height: 1.05;
    letter-spacing: .01em;
    white-space: normal;
  }

  .header-cta {
    justify-self: end;
  }

  .header-cta[href="agenda.html"] {
    inline-size: clamp(206px, 12vw, 236px);
  }
}

@media (min-width: 1181px) and (max-width: 1500px) {
  .site-header {
    --ths-header-nav-size: 9.65px;
    --ths-header-nav-number-size: 17.5px;
    --ths-header-nav-line-w: 34px;
  }

  .site-header-inner {
    grid-template-columns: minmax(78px, 1fr) max-content minmax(198px, 1fr);
    gap: 10px;
  }

  .main-nav {
    gap: clamp(10px, .68vw, 16px);
  }

  .nav-link {
    min-inline-size: clamp(53px, 3.25vw, 66px);
    letter-spacing: .046em;
  }

  .nav-link[href="metodologia.html"],
  .nav-link[href="honorarios.html"] {
    font-size: 9.45px;
    letter-spacing: .034em;
  }

  .nav-link[href="por-que-elegirnos.html"] {
    min-inline-size: 94px;
    max-width: 94px;
    font-size: 8.55px;
    line-height: 1.04;
    letter-spacing: 0;
  }

  .header-cta[href="agenda.html"] {
    inline-size: 210px;
  }
}

@media (min-width: 921px) and (max-width: 1180px) {
  .site-header {
    --ths-header-nav-size: 8.75px;
    --ths-header-nav-number-size: 15.8px;
    --ths-header-nav-line-w: 30px;
  }

  .site-header-inner {
    width: min(100% - 24px, 1760px);
    grid-template-columns: 72px max-content 178px;
    gap: 8px;
  }

  .main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    width: auto;
    inline-size: auto;
    gap: 5px;
  }

  .nav-link {
    flex: 0 0 auto;
    width: auto;
    inline-size: auto;
    min-width: 0;
    min-inline-size: 44px;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    font-size: 8.75px;
    letter-spacing: .016em;
    white-space: nowrap;
  }

  .nav-link[href="metodologia.html"],
  .nav-link[href="honorarios.html"] {
    min-inline-size: 64px;
    font-size: 8.5px;
    letter-spacing: .008em;
  }

  .nav-link[href="por-que-elegirnos.html"] {
    min-inline-size: 76px;
    max-width: 76px;
    font-size: 7.7px;
    line-height: 1.03;
    letter-spacing: 0;
    white-space: normal;
  }

  .header-cta {
    font-size: 9.4px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .header-cta[href="agenda.html"] {
    inline-size: 178px;
  }
}
