/* ═══════════════════════════════════════════
   TOKENS
═══════════════════════════════════════════ */
:root {
  /* Colors */
  --c-bg: #fcf5ec;
  --c-bg-2: #fcecf8;
  --c-surface: #ffffff;
  --c-border: rgba(27 29 33 / 0.1);
  --c-text: #1b1d21;
  --c-muted: rgba(27 29 33 / 0.5);
  --c-accent: #ffce78; /* dorado */
  --c-accent-dark: #ffb73b; /* dorado */
  --c-accent-2: #ae7aa6; /* morado */
  --c-accent-2-dark: #b551a6; /* morado */
  --c-glow: rgba(174 122 166 / 0.3);

  /* Typography */
  --f-serif: "Cormorant Garamond", Georgia, serif;
  --f-sans: "Inter", system-ui, sans-serif;

  /* Spacing */
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 2rem;
  --sp-lg: 4rem;
  --sp-xl: 7rem;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 200ms;
  --t-med: 500ms;
  --t-slow: 900ms;

  /* Layout */
  --container: 1160px;
  --nav-h: 72px;
}

/* ═══════════════════════════════════════════
   CUSTOM CURSOR
═══════════════════════════════════════════ */
@media (pointer: fine) {
  * {
    cursor: none !important;
  }

  .cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    will-change: transform;
    transition: opacity var(--t-fast);
  }

  .cursor.is-visible {
    opacity: 1;
  }

  .cursor-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--c-accent-2);
    pointer-events: none;
    z-index: 9998;
    will-change: transform, opacity;
    filter: blur(8px);
    opacity: 0;
  }

  .cursor svg {
    display: block;
    filter: drop-shadow(0 0 4px rgb(209, 148, 200))
      drop-shadow(0 0 12px rgba(174, 122, 166, 0.65))
      drop-shadow(0 0 24px rgba(246, 195, 108, 0.434));
  }
}

/* ═══════════════════════════════════════════
   BASE
═══════════════════════════════════════════ */
html {
  font-size: 16px;
}

body {
  font-family: var(--f-sans);
  background-color: var(--c-bg);
  color: var(--c-text);
  overflow-x: hidden;
}

.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* ═══════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════ */
.section__label {
  font-family: var(--f-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent-dark);
  margin-bottom: var(--sp-sm);
}

.section__title {
  font-family: var(--f-serif);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--c-text);
}

.section__title em {
  font-style: italic;
  color: var(--c-accent-2);
}

.section__header {
  text-align: center;
  margin-bottom: var(--sp-lg);
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 100px;
  font-family: var(--f-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition:
    transform var(--t-fast) var(--ease-out-expo),
    box-shadow var(--t-fast) var(--ease-out-expo);
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--c-accent);
  color: #1b1d21;
}

.btn--primary:hover {
  box-shadow: 0 0 32px rgba(240 193 112 / 0.5);
  transform: translateY(-2px);
}

.btn--ghost {
  border: 1px solid var(--c-border);
  color: var(--c-text);
}

.btn--ghost:hover {
  border-color: rgba(27 29 33 / 0.25);
  background: rgba(27 29 33 / 0.04);
}

.btn--full {
  width: 100%;
}

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  transition:
    background var(--t-med) var(--ease-in-out),
    backdrop-filter var(--t-med) var(--ease-in-out);
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--c-border);
}

.nav__logo {
  display: flex;
  align-items: center;
  color: var(--c-accent-2);
}

.nav__logo-img {
  height: 22px;
  width: auto;
  display: block;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}

.nav__link {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--c-muted);
  transition: color var(--t-fast);
}

.nav__link:hover {
  color: var(--c-text);
}

.nav__link--cta {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--c-accent);
  border-radius: 100px;
  color: var(--c-accent);
}

.nav__link--cta:hover {
  background: rgba(240 193 112 / 0.15);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
}

.nav__toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--c-text);
  transition:
    transform var(--t-fast),
    opacity var(--t-fast);
}

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

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}

.hero__orb--1 {
  width: 600px;
  height: 600px;
  background: rgba(174 122 166 / 0.2);
  top: -10%;
  left: -15%;
}

.hero__orb--2 {
  width: 400px;
  height: 400px;
  background: rgba(240 193 112 / 0.18);
  bottom: 5%;
  right: -10%;
}

.hero__orb--3 {
  width: 300px;
  height: 300px;
  background: rgba(174 122 166 / 0.15);
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
}

.hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__content {
  position: relative;
  text-align: center;
  padding: var(--sp-lg) var(--sp-sm);
  max-width: 860px;
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-accent-dark);
  margin-bottom: var(--sp-sm);
}

.hero__title {
  font-family: var(--f-serif);
  font-size: clamp(2.5rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1;
  margin-bottom: var(--sp-md);
}

.hero__title em {
  font-style: italic;
  color: var(--c-accent-2);
  /* gradient removido: background-clip no se hereda en child .char spans */
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--c-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-lg);
}

.br--desktop {
  display: none;
}
@media (min-width: 768px) {
  .br--desktop {
    display: inline;
  }
}

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

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--c-accent), transparent);
  animation: scrollLine 1.8s var(--ease-in-out) infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ═══════════════════════════════════════════
   EVENT PROMO
═══════════════════════════════════════════ */
.event-promo {
  padding-block: var(--sp-xl);
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(174 122 166 / 0.07) 20%,
    rgba(174 122 166 / 0.07) 80%,
    transparent
  );
}

.event-promo__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
  align-items: center;
}

@media (min-width: 768px) {
  .event-promo__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.event-promo__image-wrap {
  position: relative;
  max-width: 480px;
  margin-inline: auto;
}

.event-promo__image {
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
  aspect-ratio: 4/5;
}

@media (max-width: 767px) {
  .event-promo__image {
    max-height: 420px;
  }
}

.event-promo__badge {
  position: absolute;
  top: var(--sp-sm);
  left: var(--sp-sm);
  background: var(--c-accent);
  color: #1b1d21;
  font-family: var(--f-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
}

.event-promo__urgency-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--f-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #c0392b;
  background: rgba(192 57 43 / 0.1);
  border: 1px solid rgba(192 57 43 / 0.3);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
  margin-bottom: var(--sp-sm);
}

.event-promo__urgency-chip::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c0392b;
  animation: urgency-pulse 1.6s ease-in-out infinite;
}

@keyframes urgency-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.event-promo__title {
  font-family: var(--f-serif);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 0.375rem;
}

.event-promo__therapy {
  font-family: var(--f-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent-2-dark);
  margin-bottom: 0.5rem;
}

.event-promo__tagline {
  font-family: var(--f-serif);
  font-size: 1.25rem;
  color: var(--c-accent-2);
  margin-bottom: var(--sp-md);
}

.event-promo__tagline em {
  font-style: italic;
}

.event-promo__details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  margin-bottom: var(--sp-md);
}

.event-promo__details li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--c-text);
}

.event-promo__icon {
  flex-shrink: 0;
  color: var(--c-accent-2);
  margin-top: 2px;
  display: flex;
}

.event-promo__price {
  font-family: var(--f-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--c-accent-2-dark);
}

.event-promo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.event-promo__price-label {
  color: #ae7aa6;
  font-family: var(--f-sans);
  font-size: 1rem;
  font-weight: 400
}

.event-promo__price {
  color: #b551a6;
  background-color: #ae7aa634;
  font-family: var(--f-sans);
  padding: 0.1rem 1rem;
  border-radius: 50px;
  border: 1px solid #ae7aa6;
  font-size: .9rem;
  font-weight: 600
}

.flex {
  display: flex;
}

.flex-row {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}


/* ═══════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════ */
.about {
  padding-block: var(--sp-xl);
  background: linear-gradient(
    to bottom,
    transparent,
    var(--c-bg-2) 20%,
    var(--c-bg-2) 80%,
    transparent
  );
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
  align-items: center;
}

@media (min-width: 768px) {
  .about__grid {
    grid-template-columns: 1fr 1fr;
  }

  .about__image-wrap {
    order: 2;
  }

  .about__text {
    order: 1;
  }
}

.about__image-wrap {
  position: relative;
  max-width: 480px;
  margin-inline: auto;
}

.about__image {
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
  aspect-ratio: 4/5;
}

@media (max-width: 767px) {
  .about__image {
    max-height: 420px;
  }
}

.about__image-accent {
  position: absolute;
  inset: -12px -12px 12px 12px;
  border: 1px solid var(--c-accent);
  border-radius: 4px;
  opacity: 0.35;
  pointer-events: none;
}

.about__body {
  color: var(--c-muted);
  line-height: 1.75;
  margin-top: var(--sp-sm);
}

.about__stats {
  display: flex;
  gap: var(--sp-md);
  margin-top: var(--sp-md);
  padding-top: var(--sp-md);
  border-top: 1px solid var(--c-border);
}

.about__stats li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.about__stats strong {
  font-family: var(--f-serif);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--c-accent-2-dark);
  line-height: 1;
}

.about__stats span {
  font-size: 0.75rem;
  color: var(--c-muted);
}

/* ═══════════════════════════════════════════
   CERTIFICATIONS
═══════════════════════════════════════════ */
.certs__label {
  font-family: var(--f-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--c-accent-2-dark);
  margin-top: var(--sp-lg);
  margin-bottom: var(--sp-sm);
}

.certs__grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .certs__grid {
    flex-direction: row;
  }
  .cert-card {
    flex: 1;
  }
}

.cert-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  background: #ffffff8e;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 1.25rem 1rem;
  transition: all var(--t-med);
}

.cert-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(174, 122, 166, 0.12);
  background: var(--c-surface);
}

.cert-card__img-wrap {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-card__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cert-card__title {
  font-family: var(--f-sans);
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--c-muted);
}

/* ═══════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════ */
.services {
  padding-block: var(--sp-xl);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  transition:
    border-color var(--t-med),
    transform var(--t-med) var(--ease-out-expo),
    box-shadow var(--t-med);
}

.service-card:hover {
  border-color: rgba(174 122 166 / 0.4);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(27 29 33 / 0.1);
}

.service-card__icon {
  width: 120px;
  height: 120px;
  margin-bottom: var(--sp-sm);
}

.service-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card__title {
  font-family: var(--f-serif);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.service-card__subtitle {
  font-family: var(--f-serif);
  font-size: 1.2rem;
  font-weight: 700;
  /* font-style: italic; */
  color: var(--c-accent-2);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.service-card__desc {
  font-size: 0.875rem;
  color: var(--c-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.service-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 1.25rem;
}

.service-card__chip {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--c-accent-2);
  border: 1px solid rgba(174 122 166 / 0.4);
  border-radius: 100px;
  padding: 0.2rem 0.65rem;
}

.service-card__duration {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--c-accent-dark);
  border: 1px solid rgba(240 193 112 / 0.5);
  border-radius: 100px;
  padding: 0.25rem 0.75rem;
}

/* ═══════════════════════════════════════════
   PROCESS
═══════════════════════════════════════════ */
.process {
  padding-block: var(--sp-xl);
  background: linear-gradient(
    to bottom,
    transparent,
    var(--c-bg-2) 20%,
    var(--c-bg-2) 80%,
    transparent
  );
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  counter-reset: steps;
}

.process__step {
  position: relative;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--c-border);
  background: rgba(255, 255, 255, 0.2);
  transition: all ease-in-out var(--t-med);
}

.process__step:hover {
  border-color: rgb(255, 255, 255);
  background: transparent;
}

.process__number {
  font-family: var(--f-serif);
  font-size: 4rem;
  font-weight: 300;
  line-height: 1;
  color: rgba(174 122 166 / 0.3);
  display: block;
  margin-bottom: var(--sp-sm);
}

.process__step-title {
  font-family: var(--f-serif);
  font-size: 1.375rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.process__step-desc {
  font-size: 0.875rem;
  color: var(--c-muted);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════ */
.testimonials {
  padding-block: var(--sp-xl);
  overflow: hidden;
}

.testimonials__track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 1rem;
}

.testimonials__track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 min(480px, 85vw);
  scroll-snap-align: start;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 2.5rem;
}

.testimonial-card blockquote p {
  font-family: var(--f-serif);
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.65;
  color: var(--c-text);
  margin-bottom: 1.5rem;
}

.testimonial-card__author {
  font-size: 0.8125rem;
  color: var(--c-accent);
  font-style: normal;
}

.testimonials__nav {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: var(--sp-md);
}

.testimonials__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  color: var(--c-text);
  font-size: 1.125rem;
  transition:
    border-color var(--t-fast),
    background var(--t-fast);
}

.testimonials__btn:hover {
  border-color: var(--c-accent);
  background: rgba(240 193 112 / 0.15);
}

/* ═══════════════════════════════════════════
   GALLERY MARQUEE
═══════════════════════════════════════════ */
.gallery {
  padding-block: var(--sp-lg);
  overflow: hidden;
  /* border-block: 1px solid var(--c-border); */
}

.gallery__track {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.gallery__track img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity var(--t-fast);
  flex-shrink: 0;
}

.gallery__track img.img--sm {
  width: 70px;
  height: 70px;
}

.gallery__track img.img--lg {
  width: 155px;
  height: 155px;
}

.gallery__track img:hover {
  opacity: 1;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery__track {
    animation: none;
  }
}

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
.contact {
  padding-block: var(--sp-xl);
  background: linear-gradient(
    to bottom,
    transparent,
    var(--c-bg-2) 20%,
    var(--c-bg-2) 80%,
    transparent
  );
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
  align-items: start;
}

@media (min-width: 768px) {
  .contact__inner {
    grid-template-columns: 1fr 1fr;
  }
}

.contact__body {
  color: var(--c-muted);
  line-height: 1.75;
  margin-top: var(--sp-sm);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.field__label {
  font-size: 0.8125rem;
  color: var(--c-muted);
  letter-spacing: 0.04em;
}

.field__input {
  background: rgba(27 29 33 / 0.04);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 0.875rem 1rem;
  color: var(--c-text);
  font-size: 0.9375rem;
  outline: none;
  transition:
    border-color var(--t-fast),
    box-shadow var(--t-fast);
  -webkit-appearance: none;
}

.field__input:focus {
  border-color: var(--c-accent-2);
  box-shadow: 0 0 0 3px rgba(174 122 166 / 0.2);
}

.field__input::placeholder {
  color: rgba(27 29 33 / 0.3);
}

.field__input--textarea {
  resize: vertical;
  min-height: 120px;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--c-border);
  padding-block: var(--sp-lg);
}

.footer__grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--sp-md);
}

.footer__logo-img {
  height: 56px;
  width: auto;
  display: block;
  margin-bottom: 0.75rem;
  color: var(--c-accent-2);
}

.footer__tagline {
  font-size: 0.8125rem;
  color: var(--c-muted);
}

.footer__nav,
.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--c-muted);
}

.footer__nav a:hover,
.footer__social a:hover {
  color: var(--c-text);
}

.footer__social a {
  display: flex;
  align-items: center;
}

.footer__copy {
  font-size: 0.75rem;
  color: rgba(27 29 33 / 0.35);
  text-align: center;
}

/* ═══════════════════════════════════════════
   MOBILE NAV
═══════════════════════════════════════════ */
@media (max-width: 767px) {
  .nav__toggle {
    display: flex;
  }

  /* Logo y toggle siempre por encima del menú desplegado */
  .nav__logo,
  .nav__toggle {
    position: relative;
    z-index: 1;
  }

  .nav__menu {
    position: fixed;
    inset: 0;
    background: var(--c-bg);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    font-size: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t-med) var(--ease-in-out);
    z-index: 0;
    overflow-y: auto;
  }

  .nav__menu.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  /* Cuando el menú está abierto, neutralizar el fondo blanco del estado is-scrolled */
  .nav:has(.nav__menu.is-open) {
    background: var(--c-bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
    transition:
      background 0ms,
      backdrop-filter 0ms,
      border-color 0ms;
  }

  .nav__link {
    font-size: 1.375rem;
    color: var(--c-text);
  }
  .nav__link--cta {
    border: none;
    padding: 0;
  }

  .nav__toggle.is-open span:first-child {
    transform: translateY(6px) rotate(45deg);
  }
  .nav__toggle.is-open span:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }
}

/* ═══════════════════════════════════════════
   COOKIE BANNER
═══════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  box-shadow: 0 -4px 32px rgba(27 29 33 / 0.1);
  padding: 1rem 1.5rem;
}

.cookie-banner__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1;
  min-width: 200px;
  font-family: var(--f-sans);
  font-size: 0.8125rem;
  color: var(--c-text);
  line-height: 1.6;
}

.cookie-banner__link {
  color: var(--c-accent-2);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.cookie-banner__link:hover {
  color: var(--c-accent-2-dark);
}

.cookie-banner__actions {
  display: flex;
  gap: 0.625rem;
  flex-shrink: 0;
}

.cookie-banner__btn {
  font-family: var(--f-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  line-height: 1;
  letter-spacing: 0.01em;
}

.cookie-banner__btn--accept {
  background: var(--c-accent);
  color: #1b1d21;
  border-color: var(--c-accent);
}

.cookie-banner__btn--accept:hover {
  background: var(--c-accent-dark);
  border-color: var(--c-accent-dark);
}

.cookie-banner__btn--reject {
  background: transparent;
  color: var(--c-muted);
  border-color: rgba(27 29 33 / 0.2);
}

.cookie-banner__btn--reject:hover {
  color: var(--c-text);
  border-color: rgba(27 29 33 / 0.35);
}

.footer__policy-link {
  color: var(--c-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--t-fast);
}

.footer__policy-link:hover {
  color: var(--c-accent-2);
}

@media (max-width: 540px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .cookie-banner__actions {
    justify-content: stretch;
  }

  .cookie-banner__btn {
    flex: 1;
    padding: 0.625rem;
    text-align: center;
  }
}

/* ═══════════════════════════════════════════
   PRIVACY PAGE
═══════════════════════════════════════════ */
.privacy-page {
  padding: 8rem 1.5rem 6rem;
}

.privacy-page__inner {
  max-width: 720px;
  margin: 0 auto;
}

.privacy-page__eyebrow {
  font-family: var(--f-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent-2);
  margin-bottom: 0.75rem;
}

.privacy-page__title {
  font-family: var(--f-serif);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--c-text);
  margin-bottom: 1rem;
}

.privacy-page__title em {
  font-style: italic;
  color: var(--c-accent-2);
}

.privacy-page__meta {
  font-family: var(--f-sans);
  font-size: 0.8125rem;
  color: var(--c-muted);
  margin-bottom: 3.5rem;
}

.privacy-page__body {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.privacy-page__body section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.privacy-page__body h2 {
  font-family: var(--f-serif);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--c-text);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--c-border);
}

.privacy-page__body h3 {
  font-family: var(--f-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-text);
  margin-top: 0.5rem;
}

.privacy-page__body p,
.privacy-page__body li {
  font-family: var(--f-sans);
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--c-text);
}

.privacy-page__body ul {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.privacy-page__body a {
  color: var(--c-accent-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-page__body a:hover {
  color: var(--c-accent-2-dark);
}

.privacy-page__body code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.8125rem;
  background: rgba(174 122 166 / 0.1);
  color: var(--c-accent-2-dark);
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
}

.privacy-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--f-sans);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.privacy-table th,
.privacy-table td {
  text-align: left;
  padding: 0.6rem 0.875rem;
  border: 1px solid var(--c-border);
}

.privacy-table th {
  background: rgba(174 122 166 / 0.08);
  font-weight: 500;
  color: var(--c-text);
}

.privacy-table td {
  color: var(--c-text);
  vertical-align: top;
}

.privacy-page__revoke {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.privacy-page__back {
  margin-top: 1rem;
}

@media (max-width: 600px) {
  .privacy-table {
    font-size: 0.75rem;
  }

  .privacy-table th,
  .privacy-table td {
    padding: 0.5rem 0.625rem;
  }
}
