/* ============================================================
   LINA — Worker landing page
   Mobile-first. Every rule below is written for a ~390px
   viewport first; clamp()/flex-wrap let it scale up to desktop
   rather than the other way around.
   ============================================================ */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--respiro);
}

body {
  color: var(--raiz);
  font-family: var(--font-primary);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

a { color: var(--equipo); }
a:hover { color: var(--equipo-hover); }

img { max-width: 100%; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Scroll-reveal (progressive enhancement) ───────────────── */
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
@supports (animation-timeline: view()) {
  [data-reveal] {
    animation: reveal-up both;
    animation-timeline: view();
    animation-range: entry 0% entry 55%;
  }
}

/* ── Grain overlay ──────────────────────────────────────────── */
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  25%      { transform: translate(-2%, 1%); }
  50%      { transform: translate(1%, -2%); }
  75%      { transform: translate(-1%, -1%); }
}
.grain-overlay {
  position: fixed;
  inset: -10%;
  width: 120%;
  height: 120%;
  pointer-events: none;
  z-index: 90;
  opacity: 0.07;
  animation: grain 8s steps(4) infinite;
  background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22240%22 height=%22240%22%3E%3Cfilter id=%22n%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.8%22 numOctaves=%222%22/%3E%3C/filter%3E%3Crect width=%22240%22 height=%22240%22 filter=%22url(%23n)%22/%3E%3C/svg%3E');
}

/* ── Shared buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-primary);
  font-weight: 700;
  border: 2px solid var(--raiz);
  border-radius: var(--radius-xl);
  min-height: 44px;
  cursor: pointer;
}
.btn:hover { color: inherit; }

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--raiz);
  font-size: 16px;
  padding: 15px 22px;
  border-width: 2.5px;
  box-shadow: var(--shadow-brutal);
  transition: transform var(--duration-fast) var(--ease-spring), box-shadow var(--duration-fast) var(--ease-out);
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: none; }

.btn-secondary {
  background: var(--white);
  color: var(--raiz);
  font-weight: 500;
  font-size: 15px;
  padding: 14px 20px;
  transition: background var(--duration-fast) var(--ease-out);
}
.btn-secondary:hover { background: var(--gray-100); }

.btn-nav {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  padding: 8px 10px;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  min-height: 40px;
}

.icon-whatsapp { flex-shrink: 0; }

/* ── Nav ─────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--equipo);
  border-bottom: 2px solid var(--raiz);
}
.nav__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.nav__logo {
  height: 30px;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  flex-wrap: wrap;
}
.nav__link {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.nav__cta {
  font-size: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  box-shadow: 3px 3px 0 var(--raiz);
}

/* ── Hero (photo/video behind, floating compose bar over it) ── */
.hero {
  position: relative;
  border-bottom: 2px solid var(--raiz);
  overflow: hidden;
  background: var(--gray-200);
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: rgba(45, 44, 43, 0.35);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(64px, 10vw, 140px) 20px clamp(88px, 13vw, 170px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero__copy {
  flex: 1 1 320px;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.hero__title {
  font-size: clamp(36px, 9vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(45, 44, 43, 0.45);
}
.hero__subhead {
  margin: 0;
  font-size: clamp(16px, 4.2vw, 19px);
  color: rgba(255, 255, 255, 0.92);
  max-width: 42ch;
  text-wrap: pretty;
  text-shadow: 0 1px 12px rgba(45, 44, 43, 0.5);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding-top: 2px;
}
.hero__microline {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 10px rgba(45, 44, 43, 0.5);
}

/* Floating compose column */
.hero__compose-col {
  flex: 1 1 300px;
  max-width: 480px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  padding: 40px 0 64px;
}

@keyframes bob-a { from { transform: translateY(-5px) rotate(-5deg); } to { transform: translateY(7px) rotate(-5deg); } }
@keyframes bob-b { from { transform: translateY(6px) rotate(3deg); } to { transform: translateY(-6px) rotate(3deg); } }

.hero__fragment {
  position: absolute;
  z-index: 3;
  background: var(--white);
  border: 2px solid var(--raiz);
  border-radius: var(--radius-xl);
  box-shadow: 4px 4px 0 var(--raiz);
  padding: 9px 13px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero__fragment--reto {
  top: -8px;
  right: 4px;
  animation: bob-a 3.2s ease-in-out infinite alternate;
}
.hero__fragment--cv {
  bottom: -12px;
  left: 18px;
  animation: bob-b 3.6s ease-in-out infinite alternate;
}
.hero__fragment-icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-lg);
  align-items: center;
  justify-content: center;
}
.hero__fragment-icon--sabio { background: rgba(142, 90, 255, 0.14); color: var(--sabio); }
.hero__fragment-icon--logro { background: rgba(6, 150, 65, 0.12); color: var(--logro); }
.hero__fragment-text { display: flex; flex-direction: column; line-height: 1.25; }
.hero__fragment-title { font-size: 13px; font-weight: 700; }
.hero__fragment-sub { font-size: 12px; color: var(--gray-400); }

.lina-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  border: 2px solid var(--raiz);
  border-radius: 999px;
  padding: 6px 14px 6px 7px;
  box-shadow: 3px 3px 0 var(--raiz);
}
.lina-chip__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--respiro);
}
.lina-chip__name { font-size: 14px; font-weight: 700; }
.lina-chip__status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--gray-500);
}
.lina-chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: inline-block;
}

.compose-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
}
.compose-bar {
  flex: 1;
  min-width: 0;
  background: var(--white);
  border: 2.5px solid var(--raiz);
  border-radius: 999px;
  box-shadow: var(--shadow-brutal);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.compose-bar__emoji { flex-shrink: 0; }
.compose-bar__text {
  font-size: 16px;
  color: var(--raiz);
  white-space: nowrap;
  overflow: hidden;
}
@keyframes caret-blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
.compose-bar__caret {
  width: 2px;
  height: 20px;
  background: var(--whatsapp);
  border-radius: 1px;
  animation: caret-blink 1s step-end infinite;
  flex-shrink: 0;
  margin-left: -4px;
}
.compose-send {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--whatsapp);
  border: 2.5px solid var(--raiz);
  box-shadow: 4px 4px 0 var(--raiz);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

/* ── Section rhythm ─────────────────────────────────────────── */
.section {
  padding: 0 20px clamp(64px, 10vw, 110px);
}
.section-tight { max-width: 620px; margin: 0 auto; text-align: center; }
.section-title {
  margin: 0;
  font-size: clamp(30px, 7.5vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}
.section-title--md { font-size: clamp(28px, 7vw, 44px); }
.section-body {
  margin: 0;
  font-size: clamp(17px, 4.5vw, 19px);
  color: var(--gray-500);
  text-wrap: pretty;
}

/* ── Problem ─────────────────────────────────────────────────── */
.section-problem {
  padding-top: clamp(72px, 12vw, 130px);
}
.section-problem__inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── Guide ───────────────────────────────────────────────────── */
.section-guide__inner {
  max-width: 940px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.guide-card {
  background: var(--white);
  border: 2.5px solid var(--raiz);
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-brutal);
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px;
}
.guide-card__image {
  width: clamp(120px, 22vw, 190px);
  height: clamp(200px, 34vw, 290px);
  flex-shrink: 0;
  align-self: flex-end;
  overflow: hidden;
}
.guide-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transform: translateX(-3%);
  display: block;
}
.guide-card__body {
  flex: 1 1 260px;
  padding: clamp(24px, 5vw, 40px) clamp(20px, 4vw, 36px) clamp(24px, 5vw, 40px) 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.guide-card__title {
  margin: 0;
  font-size: clamp(26px, 6.5vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}
.guide-card__text { margin: 0; font-size: 17px; color: var(--gray-500); text-wrap: pretty; }

.proof-grid { display: flex; flex-wrap: wrap; gap: 18px; }
.partner-logos-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
  padding: 20px 0;
  transform: translateX(-4%);
}
@media (max-width: 640px) {
  .partner-logos-row {
    justify-content: space-evenly;
    transform: none;
    padding: 20px 8px;
  }
}
.partner-logos-row img {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  flex-shrink: 0;
}
.partner-logos-row img[alt="Mercado Libre"] {
  height: 112px;
}
.partner-logos-row img[alt="Yves Rocher"] {
  height: 24px;
}
.partner-logos-row img[alt="Aer"] {
  height: 32px;
  filter: grayscale(100%) brightness(0.40);
}
.partner-logos-row img[alt="Amorino"] {
  height: 32px;
}
.partner-logos-row img[alt="Stori"] {
  height: 25px;
}
.partner-logos-row img:hover {
  filter: none;
  opacity: 1;
  transition: all 0.2s;
}
.proof-card {
  flex: 1 1 240px;
  border: 2px solid var(--raiz);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-brutal);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.proof-card--amancer { background: var(--amancer); }
.proof-card--calma { background: var(--calma); }
.proof-card--fiesta { background: var(--fiesta); }
.proof-card__title { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.proof-card__text { font-size: 15px; line-height: 1.45; }

/* ── How it works (journey strip) ───────────────────────────── */
.section-steps { padding: 0 0 clamp(64px, 10vw, 110px); }
.section-steps__inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.steps__title {
  margin: 0 auto;
  padding: 0 20px 28px;
  max-width: 560px;
  text-align: center;
}
.steps__track { position: relative; }
@keyframes dashflow { to { stroke-dashoffset: -26; } }
.steps__line {
  position: absolute;
  top: 44px;
  left: 6%;
  width: 88%;
  height: 3px;
  z-index: 0;
}
.steps__line path { animation: dashflow 1.6s linear infinite; }
.steps__list {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 20px 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.step-card {
  flex: 1 1 260px;
  min-width: min(260px, 74vw);
  box-sizing: border-box;
  scroll-snap-align: center;
  background: var(--white);
  border: 2px solid var(--raiz);
  border-radius: var(--radius-2xl);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.step-card--01 { box-shadow: var(--shadow-brutal-amancer); }
.step-card--02 { box-shadow: var(--shadow-brutal-calma); }
.step-card--03 { box-shadow: var(--shadow-brutal-sabio); }
.step-card__num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
  color: #8A8985;
}
.step-card__title { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.step-card__text { font-size: 15px; color: var(--gray-500); line-height: 1.5; }

.steps__loop-arrow {
  width: min(92%, 900px);
  height: 48px;
  margin: -4px auto 0;
  display: block;
}
.steps__loop-arrow path { animation: dashflow 1.6s linear infinite; }
.steps__loop-arrow path.steps__loop-head { animation: none; }
.steps__loop-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  text-align: center;
}
.steps__loop-icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(57, 57, 255, 0.1);
  color: var(--equipo);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.steps__loop-caption em { font-size: 15px; color: var(--gray-500); font-style: italic; }
.steps__cta { display: flex; justify-content: center; padding: 28px 20px 0; }
.steps__cta .btn { font-size: 17px; padding: 16px 24px; }

/* ── Thesis ──────────────────────────────────────────────────── */
.section-thesis__inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── What stays (alternating feature blocks) ────────────────── */
.section-stays__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 5vw, 48px);
}
.stays__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
}
.stays__row--reverse { flex-wrap: wrap-reverse; }
.stays__media {
  flex: 1 1 280px;
  min-height: 340px;
  background: var(--white);
  border: 2.5px solid var(--raiz);
  border-radius: var(--radius-3xl);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stays__media:not(.stays__media--cover) img { width: 100%; max-width: 300px; display: block; }

/* Cover variant: image fills the box, no padding */
.stays__media--cover {
  padding: 0;
  overflow: hidden;
  position: relative;
  min-height: 340px;
}
.stays__cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
  display: block;
  border-radius: calc(var(--radius-3xl) - 2px);
}

/* WhatsApp bubble overlay, lower-right of media box, no background */
.stays__chat-overlay {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: 72%;
}

/* Hero-fragment style pill for conversation */
.stays__pill {
  background: var(--white);
  border: 2px solid var(--raiz);
  border-radius: var(--radius-xl);
  box-shadow: 3px 3px 0 var(--raiz);
  padding: 7px 11px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.stays__pill-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-lg);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stays__pill-icon--user {
  background: rgba(0,0,0,0.07);
  color: var(--gray-500);
}
.stays__pill-icon--lina {
  background: rgba(142, 90, 255, 0.14);
  color: var(--sabio);
}
.stays__pill-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}
.stays__pill-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stays__pill-sub {
  font-size: 11px;
  color: var(--gray-400);
}
.stays__text {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stays__title {
  margin: 0;
  font-size: clamp(24px, 6vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--ink);
}
.stays__body { margin: 0; font-size: 17px; color: var(--gray-500); text-wrap: pretty; }

/* Phone mockup (WhatsApp chat, moved into "Someone to talk to") */
.stays__phone-wrap {
  flex: 1 1 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
}
.phone {
  width: min(280px, 80vw);
  border: 3px solid var(--raiz);
  border-radius: var(--radius-3xl);
  box-shadow: 8px 8px 0 var(--raiz);
  overflow: hidden;
  background: #ece5dd;
  display: flex;
  flex-direction: column;
}
.phone__header {
  background: #075e54;
  color: #ffffff;
  padding: 12px 12px 10px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.phone__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--respiro);
  flex-shrink: 0;
}
.phone__who { flex: 1; min-width: 0; line-height: 1.25; }
.phone__name { font-weight: 700; font-size: 15px; }
.phone__status { font-size: 11px; opacity: 0.85; }
.phone__thread {
  padding: 14px 11px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bubble {
  max-width: 82%;
  border-radius: 10px;
  padding: 7px 10px 5px;
  font-size: 13.5px;
  line-height: 1.4;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}
.bubble--out {
  align-self: flex-end;
  max-width: 82%;
  background: #dcf8c6;
  border-radius: 10px 10px 2px 10px;
}
.bubble--in {
  align-self: flex-start;
  max-width: 86%;
  background: #ffffff;
  border-radius: 10px 10px 10px 2px;
}
.bubble__time {
  float: right;
  margin: 2px 0 0 8px;
  font-size: 10px;
  line-height: 1;
}
.bubble--out .bubble__time { color: #7a9c76; }
.bubble--in .bubble__time { color: var(--gray-400); }

/* ── Testimonials ────────────────────────────────────────────── */
.section-testimonials__inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.testimonials__title {
  margin: 0 auto;
  max-width: 520px;
  text-align: center;
}
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.testimonial-card {
  flex: 1 1 280px;
  max-width: 360px;
  margin: 0;
  background: var(--white);
  border: 2px solid var(--raiz);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-brutal);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-card blockquote {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--raiz);
  flex: 1;
}
.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-photo {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
}
.testimonial-who { display: flex; flex-direction: column; line-height: 1.3; }
.testimonial-name { font-size: 15px; font-weight: 700; }
.testimonial-role { font-size: 13px; color: var(--gray-400); }

/* ── Parade (mascot marquee) ─────────────────────────────────── */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.parade {
  overflow: hidden;
  padding: 8px 0 clamp(56px, 9vw, 90px);
  position: relative;
}
.parade__track {
  display: flex;
  gap: clamp(40px, 8vw, 90px);
  width: max-content;
  animation: marquee 28s linear infinite;
  align-items: flex-end;
}
.parade__track img { height: clamp(90px, 18vw, 130px); }
.parade__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--respiro), transparent 12%, transparent 88%, var(--respiro));
  pointer-events: none;
}

/* ── Closing ─────────────────────────────────────────────────── */
.section-closing { padding: 0 20px clamp(80px, 12vw, 130px); }
.section-closing__inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.section-closing .section-title { font-size: clamp(32px, 8vw, 52px); line-height: 1.1; }
.closing__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  padding-top: 6px;
}
.cta-stack {
  position: relative;
  display: inline-flex;
}
.cta-stack__layer {
  position: absolute;
  inset: 0;
  border: 2.5px solid var(--raiz);
  border-radius: var(--radius-xl);
}
.cta-stack__layer--coral { transform: translate(10px, 10px) rotate(2deg); background: var(--fiesta-coral); }
.cta-stack__layer--sabio { transform: translate(6px, 6px) rotate(-1deg); background: var(--sabio); }
.cta-stack .btn { position: relative; border-width: 2.5px; padding: 16px 24px; font-size: 17px; }
.cta-stack .btn:hover { transform: translateY(-2px); }

/* ── Card-stack hover effect ─────────────────────────────────── */
.card-stack { position: relative; display: inline-flex; }
.card-stack .stack-layer {
  position: absolute;
  inset: 0;
  border-radius: 0.75rem;
  border: 2.5px solid rgba(3, 3, 13, 0.9);
  opacity: 0;
  transition: all 0.3s;
}
.card-stack:hover .stack-layer:nth-child(1) { opacity: 1; transform: translate(24px, 24px); }
.card-stack:hover .stack-layer:nth-child(2) { opacity: 1; transform: translate(16px, 16px); }
.card-stack:hover .stack-layer:nth-child(3) { opacity: 1; transform: translate(8px, 8px); }

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--equipo);
  border-top: 2px solid var(--raiz);
  color: #ffffff;
  padding: 40px 20px 48px;
}
.footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}
.footer__logo { height: 34px; filter: brightness(0) invert(1); }
.footer__social { display: flex; align-items: center; gap: 18px; }
.footer__social a { color: #ffffff; display: inline-flex; opacity: 0.9; transition: opacity var(--duration-fast) var(--ease-out); }
.footer__social a:hover { opacity: 1; }
.footer__links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer__link { color: #ffffff; text-decoration: none; font-size: 14px; font-weight: 500; }
.footer__link:hover { text-decoration: underline; }
.footer__link--muted { color: rgba(255, 255, 255, 0.75); text-decoration: none; font-size: 14px; }
.footer__link--muted:hover { text-decoration: underline; }
