/* ============================================================
   La Pregunta — sitio público
   Tokens y estilos trasladados 1:1 del prototipo de diseño.
   ============================================================ */

:root {
  --bg: #f7f4ef;
  --paper: #ffffff;
  --beige: #efe9e0;
  --plum: #2d1f31;
  --ink: #1b1b1f;
  --terracotta: #c47a63;
  --terracotta-hover: #b96b53;
  --sage: #8fa08c;
  --rose: #c8a2a8;
  --muted: #5a5257;
  --muted-2: #8a807f;
  --eyebrow: #a28f8d;
  --body-copy: #4a4247;
  --plum-copy: #d8ccc9;
  --plum-copy-2: #b7a9a6;
  --hairline: rgba(27, 27, 31, 0.08);
  --hairline-strong: rgba(27, 27, 31, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
section[id] { scroll-margin-top: 82px; }
::selection { background: var(--terracotta); color: var(--bg); }
input, textarea, select, button { font-family: inherit; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--terracotta) !important; }

@keyframes lpfloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.lp-page { overflow-x: hidden; }
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: clamp(24px, 5vw, 52px);
  padding-right: clamp(24px, 5vw, 52px);
}

/* Reveal on scroll (el runtime aplica/remueve .is-hidden) */
[data-reveal].is-hidden {
  opacity: 0;
  transform: translateY(26px);
}
[data-reveal] {
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal].is-hidden { opacity: 1; transform: none; transition: none; }
  .hero-mark { animation: none !important; }
}

/* ================= NAV ================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 239, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow 0.3s;
}
.nav.is-scrolled { box-shadow: 0 8px 30px -18px rgba(20, 15, 10, 0.45); }
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px clamp(20px, 5vw, 52px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.brand-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terracotta);
  display: inline-block;
  margin-bottom: -2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 32px);
  font-size: 14.5px;
  font-weight: 500;
  color: #3a3438;
}
@media (max-width: 640px) {
  .nav-links a[data-navlink] { display: none; }
}
.nav-cta {
  padding: 10px 19px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 3px;
  font-weight: 600;
  font-size: 13.5px;
}

/* ================= HERO ================= */
.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) clamp(24px, 5vw, 52px) clamp(48px, 6vw, 72px);
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}
.hero-copy { flex: 1 1 480px; min-width: 320px; }
.eyebrow-row { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--eyebrow);
}
.eyebrow-line { flex: 1; height: 1px; background: var(--terracotta); max-width: 120px; }
.hero-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 300;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
}
.accent-italic { font-style: italic; font-weight: 300; color: var(--terracotta); }
.accent-color { color: var(--terracotta); }
.hero-sub {
  font-size: clamp(16px, 1.5vw, 18.5px);
  line-height: 1.58;
  color: var(--body-copy);
  max-width: 48ch;
  margin: 0 0 34px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.btn-solid {
  padding: 15px 26px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 3px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s, background 0.2s;
  display: inline-block;
}
.btn-solid:hover { background: var(--plum); transform: translateY(-2px); }
.btn-outline {
  padding: 15px 26px;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(27, 27, 31, 0.25);
  border-radius: 3px;
  font-weight: 600;
  font-size: 15px;
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--ink); background: rgba(27, 27, 31, 0.04); }
.hero-method { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.hero-method .label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--eyebrow);
  margin-right: 6px;
}
.hero-method .step { font-size: 13.5px; font-weight: 600; color: var(--plum); }
.hero-method .arrow { color: var(--rose); }

.hero-visual {
  flex: 1 1 380px;
  min-width: 300px;
  position: relative;
  height: clamp(340px, 34vw, 440px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-mark {
  font-family: 'Archivo', sans-serif;
  font-weight: 300;
  font-size: clamp(280px, 34vw, 420px);
  line-height: 1;
  color: transparent;
  background-image: radial-gradient(var(--terracotta) 30%, transparent 32%);
  background-size: 15px 15px;
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  animation: lpfloat 8s ease-in-out infinite;
}
.hero-constellation { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ================= SECCIONES (base) ================= */
.section { border-top: 1px solid var(--hairline); }
.section-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) clamp(24px, 5vw, 52px);
}
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 300;
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 16px 0 14px;
}
.section-text { font-size: 17px; line-height: 1.6; color: var(--body-copy); margin: 0; }

/* ================= NOSOTROS ================= */
.about-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) clamp(24px, 5vw, 52px);
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
}
.about-copy { flex: 1 1 440px; min-width: 300px; }
.about-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 300;
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 16px 0 24px;
}
.about-rich p { font-size: 17px; line-height: 1.6; color: var(--body-copy); max-width: 52ch; margin: 0 0 18px; }
.about-rich p:last-child { margin-bottom: 0; }
.about-rich h2, .about-rich h3 { font-family: 'Archivo', sans-serif; font-weight: 400; letter-spacing: -0.01em; margin: 22px 0 10px; }
.about-rich ul { margin: 0 0 18px; padding-left: 20px; }
.about-rich li { font-size: 17px; line-height: 1.6; color: var(--body-copy); }
.about-rich a { color: var(--terracotta); text-decoration: underline; }
.about-facts { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 34px; }
.about-fact-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--plum);
}
.about-fact-sub { font-size: 13px; color: var(--eyebrow); margin-top: 2px; }
.about-fact-sep { width: 1px; background: var(--hairline-strong); }
.about-visual { flex: 1 1 380px; min-width: 300px; position: relative; }
.about-photo {
  display: block;
  width: 100%;
  height: clamp(320px, 32vw, 420px);
  object-fit: cover;
  border-radius: 10px;
}
.about-card {
  position: absolute;
  left: -14px;
  bottom: -14px;
  background: var(--plum);
  color: var(--bg);
  padding: 16px 20px;
  border-radius: 8px;
  max-width: 220px;
  box-shadow: 0 16px 40px -18px rgba(45, 31, 49, 0.7);
}
.about-card-mark { font-family: 'Archivo', sans-serif; font-weight: 500; font-size: 26px; }
.about-card-text { font-size: 13px; color: var(--rose); line-height: 1.45; margin-top: 4px; }

/* ================= SERVICIOS ================= */
.services { background: var(--beige); border-top: 1px solid var(--hairline); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}
.svc-card {
  background: var(--bg);
  border: 1px solid rgba(27, 27, 31, 0.1);
  border-radius: 10px;
  padding: 30px 28px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px -24px rgba(20, 15, 10, 0.4);
  border-color: var(--terracotta);
}
.svc-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.svc-num { font-family: 'Archivo', sans-serif; font-weight: 500; font-size: 14px; color: var(--terracotta); }
.svc-arrow { color: var(--rose); font-size: 18px; }
.svc-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 21px;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.svc-desc { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 0; }
.svc-card.featured { background: var(--plum); color: var(--bg); border-color: var(--plum); }
.svc-card.featured:hover { box-shadow: 0 20px 44px -24px rgba(45, 31, 49, 0.6); border-color: var(--plum); }
.svc-card.featured .svc-arrow { color: var(--terracotta); }
.svc-card.featured .svc-desc { color: var(--plum-copy); }

/* ================= MÉTODO ================= */
.method { background: var(--plum); color: var(--bg); }
.method .eyebrow { color: var(--terracotta); }
.method .section-title { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.04; }
.method .section-head { max-width: 680px; margin-bottom: 52px; }
.method .section-text { color: var(--plum-copy); }
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px;
  background: rgba(247, 244, 239, 0.12);
  border-radius: 10px;
  overflow: hidden;
}
.method-step { background: var(--plum); padding: 30px 26px 34px; }
.method-num {
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 42px;
  color: var(--terracotta);
  line-height: 1;
}
.method-name { font-family: 'Archivo', sans-serif; font-weight: 500; font-size: 19px; margin: 14px 0 8px; }
.method-desc { font-size: 14px; line-height: 1.5; color: var(--plum-copy-2); margin: 0; }

/* ================= PORTAFOLIO ================= */
.chip {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 40px;
  display: inline-block;
}
.chip-sage { color: var(--sage); border: 1px solid var(--sage); }
.chip-muted { color: var(--eyebrow); border: 1px solid rgba(162, 143, 141, 0.5); }
.case-featured {
  border: 1px solid var(--hairline-strong);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  background: var(--paper);
}
.case-featured-media { flex: 1 1 360px; min-width: 300px; position: relative; min-height: 320px; }
.case-featured-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.case-featured-body { flex: 1 1 380px; min-width: 300px; padding: clamp(28px, 3vw, 44px); }
.case-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.case-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}
.case-rows { display: flex; flex-direction: column; gap: 16px; }
.case-row { display: flex; gap: 14px; }
.case-row-label {
  flex: 0 0 84px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  padding-top: 2px;
}
.case-row p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--body-copy); }
.case-row.result p { color: var(--plum); font-weight: 500; }
.case-sep { height: 1px; background: var(--hairline); }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.case-card {
  border: 1px solid var(--hairline-strong);
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper);
  transition: transform 0.25s, box-shadow 0.25s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px -24px rgba(20, 15, 10, 0.4); }
.case-card img { display: block; width: 100%; height: 200px; object-fit: cover; }
.case-card-body { padding: 22px 24px; }
.case-card-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 19px;
  margin: 14px 0 8px;
  letter-spacing: -0.01em;
}
.case-card-text { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0; }

/* ================= PROPUESTA DE VALOR ================= */
.value { background: var(--terracotta); color: var(--bg); }
.value-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) clamp(24px, 5vw, 52px);
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}
.value-copy { flex: 1 1 380px; min-width: 300px; }
.value .eyebrow { color: var(--plum); opacity: 0.75; }
.value-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 300;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 16px 0 22px;
}
.value-text { font-size: 17px; line-height: 1.6; color: #fbeeea; max-width: 44ch; margin: 0; }
.value-list { flex: 1 1 380px; min-width: 300px; align-self: center; display: flex; flex-direction: column; gap: 2px; }
.value-q {
  padding: 16px 0;
  border-top: 1px solid rgba(247, 244, 239, 0.35);
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: clamp(17px, 1.9vw, 22px);
  letter-spacing: -0.01em;
}
.value-q:last-of-type { border-bottom: 1px solid rgba(247, 244, 239, 0.35); }
.value-close {
  font-family: 'Archivo', sans-serif;
  font-style: italic;
  font-weight: 600;
  font-size: 18px;
  margin: 22px 0 0;
  color: var(--plum);
}

/* ================= CONTACTO ================= */
.contact { background: var(--bg); }
.contact-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) clamp(24px, 5vw, 52px);
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
}
.contact-copy { flex: 1 1 380px; min-width: 300px; }
.contact-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 300;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 16px 0 20px;
}
.contact-text { font-size: 17px; line-height: 1.6; color: var(--body-copy); max-width: 46ch; margin: 0 0 32px; }
.contact-badge { display: flex; align-items: center; gap: 12px; color: var(--plum); font-weight: 600; font-size: 15px; }
.contact-badge-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--plum);
  color: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  flex: none;
}
.contact-form-wrap { flex: 1 1 400px; min-width: 300px; }
.contact-thanks {
  background: var(--plum);
  color: var(--bg);
  border-radius: 12px;
  padding: 44px 36px;
  text-align: center;
}
.contact-thanks-title { font-family: 'Archivo', sans-serif; font-weight: 500; font-size: 40px; color: var(--terracotta); }
.contact-thanks-text { font-size: 16px; line-height: 1.6; color: var(--plum-copy); margin: 14px 0 0; }
.contact-form {
  background: var(--paper);
  border: 1px solid var(--hairline-strong);
  border-radius: 12px;
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hp-field {
  position: absolute !important;
  left: -6000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--eyebrow);
}
.field input, .field select, .field textarea {
  padding: 13px 15px;
  border: 1.5px solid rgba(27, 27, 31, 0.18);
  border-radius: 6px;
  font-size: 15px;
  background: #faf8f4;
  transition: border-color 0.2s;
  color: var(--ink);
}
.field textarea { resize: vertical; }
.contact-submit {
  margin-top: 4px;
  padding: 16px;
  background: var(--ink);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 15.5px;
  cursor: pointer;
  transition: background 0.2s;
}
.contact-submit:hover { background: var(--terracotta); }
.contact-submit[disabled] { opacity: 0.6; cursor: default; }
.contact-error { font-size: 13.5px; color: #b4432f; margin: 0; }

/* ================= CTA ================= */
.cta { background: #1f1822; color: var(--bg); }
.cta-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) clamp(24px, 5vw, 52px);
  text-align: center;
}
.cta-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 300;
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 30px;
}
.cta-btn {
  display: inline-block;
  padding: 15px 28px;
  background: var(--terracotta);
  color: #1f1822;
  border-radius: 3px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s, transform 0.2s;
}
.cta-btn:hover { background: var(--terracotta-hover); transform: translateY(-2px); }

/* ================= GALERÍA ================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.gallery-item { border-radius: 10px; overflow: hidden; position: relative; }
.gallery-item img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.35s;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 16px 12px;
  background: linear-gradient(transparent, rgba(27, 27, 31, 0.62));
  color: var(--bg);
  font-size: 13px;
  font-weight: 500;
}

/* ================= TESTIMONIOS ================= */
.testimonials { background: var(--beige); border-top: 1px solid var(--hairline); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.testimonial-card {
  background: var(--bg);
  border: 1px solid rgba(27, 27, 31, 0.1);
  border-radius: 10px;
  padding: 28px;
}
.testimonial-mark {
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 30px;
  color: var(--terracotta);
  line-height: 1;
}
.testimonial-text { font-size: 15.5px; line-height: 1.6; color: var(--body-copy); margin: 12px 0 16px; }
.testimonial-name {
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--plum);
}

/* ================= FOOTER ================= */
.footer { background: var(--ink); color: var(--bg); }
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(44px, 5vw, 64px) clamp(24px, 5vw, 52px);
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand { flex: 1 1 280px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.footer-logo .brand-dot { width: 8px; height: 8px; }
.footer-lema {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--rose);
  margin: 0;
  max-width: 34ch;
  line-height: 1.4;
}
.footer-cols { display: flex; gap: clamp(28px, 5vw, 64px); flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a7d7a;
  margin-bottom: 2px;
}
.footer-col a { font-size: 14.5px; color: var(--plum-copy); transition: color 0.15s; }
.footer-col a:hover { color: var(--terracotta); }
.footer-bottom { border-top: 1px solid rgba(247, 244, 239, 0.12); }
.footer-bottom-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px clamp(24px, 5vw, 52px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 12.5px;
  color: #8a7d7a;
}

/* ================= INTRO (portada de entrada) ================= */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: clamp(24px, 5vw, 52px);
  transition: opacity 0.6s ease, visibility 0.6s;
}
.intro.is-dismissed { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-ciruela { background: var(--plum); color: var(--bg); }
.intro-ciruela .eyebrow { color: var(--terracotta); }
.intro-ciruela .intro-text { color: var(--plum-copy); }
.intro-terracota { background: var(--terracotta); color: #fbeeea; }
.intro-terracota .eyebrow { color: var(--plum); }
.intro-terracota .accent-italic { color: var(--plum); }
.intro-terracota .intro-text { color: #fbeeea; }
.intro-terracota .intro-btn { background: var(--plum); color: var(--bg); }
.intro-claro { background: var(--bg); color: var(--ink); }
.intro-claro .intro-text { color: var(--body-copy); }
.intro-mark {
  font-family: 'Archivo', sans-serif;
  font-weight: 300;
  font-size: clamp(160px, 24vw, 280px);
  line-height: 1;
  color: transparent;
  background-image: radial-gradient(var(--terracotta) 30%, transparent 32%);
  background-size: 13px 13px;
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  animation: lpfloat 8s ease-in-out infinite;
}
.intro-terracota .intro-mark { background-image: radial-gradient(var(--plum) 30%, transparent 32%); }
.intro-body { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 640px; }
.intro-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 300;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
}
.intro-text { font-size: clamp(15px, 1.6vw, 18px); line-height: 1.55; margin: 0; }
.intro-btn {
  margin-top: 16px;
  padding: 15px 30px;
  background: var(--terracotta);
  color: #1f1822;
  border: none;
  border-radius: 3px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}
.intro-btn:hover { transform: translateY(-2px); background: var(--terracotta-hover); }
@media (prefers-reduced-motion: reduce) {
  .intro { transition: none; }
  .intro-mark { animation: none; }
}

/* ================= INTRO — modo paneles ================= */
.intro-paneles { padding: 0; gap: 0; justify-content: flex-start; }
.intro-head { padding: clamp(32px, 5vh, 56px) 24px 22px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.intro-paneles .intro-title { font-size: clamp(28px, 3.6vw, 44px); }
.intro-paneles .intro-text { font-size: clamp(14px, 1.4vw, 16px); }
.intro-panels { flex: 1; display: flex; width: 100%; min-height: 0; }
.intro-panel {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding: clamp(20px, 3vw, 36px);
  background-color: rgba(27, 27, 31, 0.25);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: flex 0.45s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.intro-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31, 24, 34, 0.78) 0%, rgba(31, 24, 34, 0.25) 45%, rgba(31, 24, 34, 0.15) 100%);
  transition: background 0.3s;
}
.intro-panel:hover { flex: 1.55; }
.intro-panel:hover::before {
  background: linear-gradient(to top, rgba(31, 24, 34, 0.85) 0%, rgba(31, 24, 34, 0.2) 55%, rgba(196, 122, 99, 0.18) 100%);
}
.intro-panel + .intro-panel { border-left: 1px solid rgba(247, 244, 239, 0.18); }
.intro-panel-label {
  position: relative;
  z-index: 1;
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: clamp(19px, 2.2vw, 26px);
  letter-spacing: -0.01em;
  color: #f7f4ef;
  display: flex;
  align-items: center;
  gap: 10px;
}
.intro-panel-arrow { color: var(--terracotta); font-size: 0.85em; transition: transform 0.25s; }
.intro-panel:hover .intro-panel-arrow { transform: translate(3px, -3px); }
.intro-skip {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(31, 24, 34, 0.55);
  color: #ede8e0;
  border: 1px solid rgba(247, 244, 239, 0.25);
  border-radius: 20px;
  padding: 9px 18px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(6px);
  z-index: 2;
}
.intro-skip:hover { background: rgba(31, 24, 34, 0.8); }
@media (max-width: 720px) {
  .intro-panels { flex-direction: column; }
  .intro-panel + .intro-panel { border-left: none; border-top: 1px solid rgba(247, 244, 239, 0.18); }
  .intro-panel:hover { flex: 1.3; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-panel, .intro-panel-arrow { transition: none; }
}

/* ================= REDES SOCIALES (footer) ================= */
.footer-social { display: flex; gap: 14px; margin-top: 18px; }
.footer-social a {
  color: var(--plum-copy);
  transition: color 0.15s, transform 0.15s;
  display: inline-flex;
}
.footer-social a:hover { color: var(--terracotta); transform: translateY(-2px); }
.footer-social svg { width: 19px; height: 19px; }

/* ================= ENLACE A CASOS ================= */
.case-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--terracotta);
  transition: gap 0.2s;
}
.case-link:hover { gap: 11px; }
.case-link-arrow { font-size: 16px; }
.case-card.is-link { display: block; cursor: pointer; }
.case-card-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  font-size: 13px;
  color: var(--terracotta);
}
