/* ═══════════════════════════════════════════════════════════════════════════
   EXTENSIONES MULTI-PÁGINA · Web Principal
   Se carga DESPUÉS de style.css para añadir componentes de la web completa
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Nav extendido con links a otras páginas ────────────────────────────── */
nav.nav-multipage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 3rem;
  gap: 1.5rem;
}
.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
  transition: color .3s ease;
  position: relative;
  padding: .3rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--salmon);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: .4rem;
  cursor: pointer;
  color: var(--white);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  nav.nav-multipage { padding: 1rem 1.4rem; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(19,19,19,.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s;
    z-index: 99;
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: all;
  }
  .nav-links a { font-size: 1.05rem; letter-spacing: .3em; }
  .nav-toggle { display: inline-flex; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   DIFERENCIACIÓN DEL STUDIO. · Pasarela editorial + oro suave + statement xl
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Statement oversized (Aman/Hermes style) ────────────────────────────── */
.statement-grande {
  padding: 11rem 2rem 11rem;
  background: var(--dark);
  text-align: center;
  position: relative;
}
.statement-grande-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.5rem;
}
.statement-grande-text {
  font-family: 'Cormorant Infant', 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.8rem, 5vw, 4.5rem);
  line-height: 1.18;
  letter-spacing: -0.005em;
  max-width: 1100px;
  margin: 0 auto 2.6rem;
  color: var(--white);
  font-feature-settings: "kern", "liga";
}
.statement-grande-text em {
  color: var(--salmon);
  font-style: italic;
  font-weight: 400;
}
.statement-grande-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

@media (max-width: 900px) {
  .statement-grande { padding: 6rem 1.4rem; }
  .statement-grande-eyebrow { font-size: .62rem; margin-bottom: 1.6rem; }
  .statement-grande-sub { font-size: .68rem; letter-spacing: .22em; }
}

/* ── Pasarela editorial de proyectos (4 bandas alternadas) ───────────────── */
.pasarela-wrapper {
  padding-top: 7rem;
  padding-bottom: 9rem;
}
.proyectos-pasarela {
  max-width: 1320px;
  margin: 4rem auto 0;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}
.proyecto-banda {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
/* Invertir lado para bandas pares (2 y 4) */
.proyecto-banda:nth-child(even) {
  grid-template-columns: 1fr 1.35fr;
}
.proyecto-banda:nth-child(even) .banda-img {
  order: 2;
}
.proyecto-banda:nth-child(even) .banda-info {
  order: 1;
  text-align: right;
  padding-left: 0;
  padding-right: 1.5rem;
}
.proyecto-banda:hover {
  transform: translateY(-6px);
}
.banda-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.banda-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 60%, rgba(0,0,0,.25) 100%);
  pointer-events: none;
  z-index: 1;
}
.banda-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(.2,.7,.2,1), filter .8s;
  filter: brightness(.88) saturate(.96);
}
.proyecto-banda:hover .banda-img img {
  transform: scale(1.04);
  filter: brightness(1) saturate(1);
}
.banda-info {
  padding-left: 1.5rem;
}
.banda-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1.8rem;
  line-height: 1;
  letter-spacing: -0.01em;
}
.banda-meta {
  font-family: 'DM Sans', sans-serif;
  font-size: .66rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: rgba(255,255,255,.52);
  margin-bottom: 1rem;
  font-weight: 400;
}
.banda-name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  font-weight: 400;
  line-height: 1.02;
  color: var(--white);
  margin-bottom: 1.4rem;
  letter-spacing: -0.012em;
}
.banda-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: .96rem;
  line-height: 1.65;
  color: rgba(255,255,255,.62);
  margin-bottom: 2rem;
  font-weight: 300;
  max-width: 380px;
}
.proyecto-banda:nth-child(even) .banda-desc { margin-left: auto; }
.banda-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .72rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--salmon);
  padding-bottom: .45rem;
  border-bottom: 1px solid var(--salmon);
  transition: gap .4s, letter-spacing .4s;
}
.banda-link svg { width: 14px; height: 14px; }
.proyecto-banda:hover .banda-link {
  gap: 1.1rem;
  letter-spacing: .4em;
}

@media (max-width: 900px) {
  .pasarela-wrapper { padding-top: 4rem; padding-bottom: 5rem; }
  .proyectos-pasarela { gap: 3.5rem; padding: 0 1rem; }
  .proyecto-banda,
  .proyecto-banda:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    text-align: left;
  }
  .proyecto-banda:nth-child(even) .banda-img { order: 0; }
  .proyecto-banda:nth-child(even) .banda-info {
    order: 1;
    text-align: left;
    padding-right: 0;
    padding-left: 0;
  }
  .proyecto-banda:nth-child(even) .banda-desc { margin-left: 0; }
  .banda-info { padding-left: 0; }
  .banda-num { font-size: 2.2rem; margin-bottom: 1rem; }
  .banda-name { font-size: 2rem; }
  .banda-desc { font-size: .9rem; margin-bottom: 1.4rem; }
}

/* ── Project preview cards (legacy - mantener por compatibilidad) ─────── */
.project-item.linked {
  cursor: pointer;
}
.project-item.linked::after {
  content: '\2192';
  position: absolute;
  top: 1.4rem; right: 1.6rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--white);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .4s, transform .4s;
  z-index: 3;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.project-item.linked:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* ── Reseñas destacadas en home ─────────────────────────────────────────── */
.resenas-destacadas {
  padding: 6rem 3rem 7rem;
  background: var(--dark2);
  position: relative;
}
.resenas-grid {
  max-width: 1180px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 2.5rem;
}
.resena-card {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.08);
  padding: 3rem 2.6rem;
  position: relative;
}
.resena-card::before {
  content: '\201C';
  position: absolute;
  top: -1.4rem; left: 1.4rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 7rem;
  line-height: 1;
  color: var(--accent);
  opacity: .42;
}
.resena-card.featured {
  background: rgba(232,197,188,.05);
  border-color: rgba(232,197,188,.22);
}
.resena-card.featured::before { color: var(--salmon); opacity: .38; }
.resena-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.55;
  color: var(--white);
  margin-bottom: 2rem;
}
.resena-card.featured .resena-text { font-size: 1.7rem; }
.resena-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.resena-stars {
  display: flex;
  gap: .2rem;
  color: var(--accent);
  font-size: .95rem;
  letter-spacing: .1em;
}
.resena-card.featured .resena-stars { color: var(--salmon); }
.resena-author {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--white);
}
.resena-date {
  font-size: .7rem;
  letter-spacing: .2em;
  color: var(--mute);
  text-transform: uppercase;
  margin-left: auto;
}
.resenas-cta {
  text-align: center;
  margin-top: 3rem;
}
.resenas-cta a {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--salmon);
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--salmon);
  transition: letter-spacing .4s, color .3s;
}
.resenas-cta a:hover {
  letter-spacing: .42em;
  color: var(--white);
  border-bottom-color: var(--white);
}

@media (max-width: 900px) {
  .resenas-destacadas { padding: 4rem 1.4rem 5rem; }
  .resenas-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .resena-card { padding: 2.4rem 1.8rem; }
  .resena-text { font-size: 1.2rem; }
  .resena-card.featured .resena-text { font-size: 1.35rem; }
}

/* ── Footer expandido multi-página ──────────────────────────────────────── */
footer.footer-extended {
  background: var(--dark2);
  padding: 5rem 3rem 2.5rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: .7rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.4rem;
  font-weight: 500;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.footer-col a {
  font-family: 'DM Sans', sans-serif;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  transition: color .3s, letter-spacing .3s;
  letter-spacing: .03em;
}
.footer-col a:hover {
  color: var(--white);
  letter-spacing: .08em;
}
.footer-brand .footer-logo-big {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  letter-spacing: .32em;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer-brand .footer-logo-big span { color: var(--salmon); }
.footer-brand p {
  font-size: .82rem;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
  max-width: 280px;
}
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .3s, border-color .3s, color .3s;
}
.footer-social a:hover {
  background: var(--salmon);
  border-color: var(--salmon);
  color: var(--dark);
}
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom {
  max-width: 1240px;
  margin: 2.2rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom-text {
  font-size: .72rem;
  letter-spacing: .15em;
  color: var(--mute);
}
.footer-libro {
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mute);
  padding-bottom: .3rem;
  border-bottom: 1px solid transparent;
  transition: color .3s, border-color .3s;
}
.footer-libro:hover {
  color: var(--salmon);
  border-bottom-color: var(--salmon);
}

@media (max-width: 900px) {
  footer.footer-extended { padding: 3.5rem 1.4rem 1.8rem; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.2rem;
    padding-bottom: 2.5rem;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── Sección "Por qué Geometrika" preview en home ────────────────────────── */
.porque-geometrika {
  padding: 7rem 3rem 8rem;
  background: var(--dark);
  position: relative;
}
.porque-grid {
  max-width: 1180px;
  margin: 4rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.porque-card {
  border: 1px solid rgba(255,255,255,.08);
  padding: 2.6rem 2rem;
  position: relative;
  transition: border-color .4s, transform .4s;
}
.porque-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.porque-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 2.4rem;
  color: var(--accent);
  margin-bottom: 1.4rem;
  line-height: 1;
}
.porque-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--white);
}
.porque-card p {
  font-size: .92rem;
  line-height: 1.65;
  color: rgba(255,255,255,.6);
}

@media (max-width: 900px) {
  .porque-geometrika { padding: 5rem 1.4rem; }
  .porque-grid { grid-template-columns: 1fr; gap: 1.4rem; }
}

/* ── Ver todos los proyectos / testimonios CTAs ─────────────────────────── */
.section-cta {
  text-align: center;
  margin-top: 3.5rem;
}
.section-cta a {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .75rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--salmon);
  padding: .6rem 0;
  border-bottom: 1px solid var(--salmon);
  transition: gap .4s, letter-spacing .4s;
}
.section-cta a:hover {
  gap: 1.1rem;
  letter-spacing: .38em;
}
.section-cta svg { width: 14px; height: 14px; }

/* ═══════════════════════════════════════════════════════════════════════════
   HERO PRINCIPAL · Transparencias diferenciadoras del studio.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Slideshow más oscuro y desaturado para sensación editorial */
.hero-principal .hero-slide {
  filter: brightness(.42) saturate(.78) contrast(1.04);
}

/* Overlay base — gradiente más sofisticado (radial + vertical) */
.hero-principal .hero-overlay {
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 100%),
    linear-gradient(180deg, rgba(26,24,22,.55) 0%, rgba(26,24,22,.25) 45%, rgba(26,24,22,.78) 100%);
  z-index: 2;
}

/* Tinte rosa MUY sutil para diferenciar del studio (que es más neutro) */
.hero-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232,197,188,.04) 0%, transparent 35%, rgba(107,170,155,.025) 100%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 3;
}

/* Grain/noise sutil — textura analógica luxury */
.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  opacity: .25;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
  animation: grainShift 8s steps(6) infinite;
}

@keyframes grainShift {
  0%, 100% { transform: translate(0, 0); }
  20%      { transform: translate(-3%, 4%); }
  40%      { transform: translate(2%, -3%); }
  60%      { transform: translate(-2%, -4%); }
  80%      { transform: translate(4%, 2%); }
}

/* Hero content siempre encima de todas las capas */
.hero-principal .hero-content {
  z-index: 10;
  position: relative;
}
.hero-principal .hero-scroll {
  z-index: 10;
}

/* Logo "ME" en rosa palo (override explícito por si --accent cambia) */
.hero-principal .hero-title span {
  color: var(--salmon);
}

/* Eyebrow del hero en verde menta (único micro-acento verde) */
.hero-principal .hero-eyebrow {
  color: var(--mint);
  opacity: .85;
}

/* Hero scroll line en verde menta (micro detalle) */
.hero-principal .hero-scroll .scroll-line {
  background: var(--mint);
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO COMPOSICIÓN REGLA DE TERCIOS · Logo abajo-izq + ficha técnica abajo-der
   ═══════════════════════════════════════════════════════════════════════════ */

/* Override del centrado heredado de .hero */
.hero-principal {
  display: block;
  position: relative;
  height: 100vh;
  min-height: 640px;
}

/* Contenido anclado al tercio inferior izquierdo */
.hero-principal .hero-content.hero-content-anchored {
  position: absolute;
  bottom: 9vh;
  left: 5%;
  top: auto;
  right: auto;
  text-align: left;
  /* Sin max-width: el logo es dominante. Limitamos por viewport para no chocar con la ficha. */
  max-width: min(70vw, 900px);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.hero-content-anchored .hero-eyebrow {
  margin-bottom: 1.6rem;
  font-size: .68rem;
  letter-spacing: .4em;
}
.hero-content-anchored .hero-title {
  /* Tamaño que cabe junto a la ficha sin cortarse */
  font-size: clamp(2.6rem, 6vw, 6rem);
  letter-spacing: .1em;
  margin-bottom: .5rem;
  line-height: 1;
  text-align: left;
  white-space: nowrap;
}
.hero-content-anchored .hero-tagline {
  margin-bottom: 1.4rem;
  font-size: 1.05rem;
}
.hero-content-anchored .hero-desc {
  margin-bottom: 2.4rem;
  font-size: .98rem;
  max-width: 420px;
  text-align: left;
}
.hero-content-anchored .hero-btn {
  align-self: flex-start;
}

/* Ficha técnica abajo-derecha — tipo "marca de página" editorial */
.hero-ficha {
  position: absolute;
  bottom: 9vh;
  right: 5%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 1rem;
  padding: 1.6rem 1.4rem;
  border-left: 1px solid rgba(255,255,255,.14);
  border-right: 1px solid rgba(255,255,255,.14);
  min-width: 220px;
  backdrop-filter: blur(6px);
  background: rgba(26,24,22,.18);
}
.ficha-block {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  align-items: flex-end;
}
.ficha-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.7rem;
  color: var(--salmon);
  line-height: 1;
  letter-spacing: .04em;
}
.ficha-year {
  font-family: 'DM Sans', sans-serif;
  font-size: .66rem;
  letter-spacing: .36em;
  text-transform: uppercase;
  color: var(--mint);
  margin-top: .3rem;
}
.ficha-label {
  font-family: 'DM Sans', sans-serif;
  font-size: .6rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
  font-weight: 400;
}
.ficha-value {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
}
.ficha-meta {
  font-family: 'DM Sans', sans-serif;
  font-size: .58rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-top: .3rem;
}
.ficha-divider {
  width: 26px;
  height: 1px;
  background: rgba(255,255,255,.14);
  margin: .15rem 0;
}
.ficha-proyecto {
  transition: opacity .5s ease;
}
.ficha-proyecto.changing { opacity: .25; }

/* Hero scroll reposicionado abajo-centro */
.hero-principal .hero-scroll {
  position: absolute;
  bottom: 2.5vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

/* ── Responsive: stack y simplifica en mobile ──────────────────────────── */
@media (max-width: 900px) {
  .hero-principal { height: 100svh; min-height: 560px; }

  /* Contenido centrado verticalmente, alineado a la izquierda */
  .hero-content-anchored,
  .hero-principal .hero-content.hero-content-anchored {
    position: absolute;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    left: 1.4rem;
    right: 1.4rem;
    max-width: none;
    align-items: flex-start;
  }
  /* Logo: tamaño que SIEMPRE cabe en 375px sin cortarse */
  .hero-content-anchored .hero-title {
    font-size: clamp(2rem, 12vw, 3rem);
    letter-spacing: .03em;
    white-space: nowrap;
  }
  .hero-content-anchored .hero-eyebrow { font-size: .54rem; letter-spacing: .26em; margin-bottom: 1rem; }
  .hero-content-anchored .hero-tagline { font-size: .9rem; margin-bottom: .9rem; }
  .hero-content-anchored .hero-desc { font-size: .85rem; margin-bottom: 1.4rem; max-width: none; }
  .hero-content-anchored .hero-btn { font-size: .62rem; padding: .8rem 1.3rem; }

  /* Scroll decorativo: fuera en mobile (estorba) */
  .hero-principal .hero-scroll { display: none; }

  /* Ficha técnica: barra slim ABAJO, por encima del botón de libro */
  .hero-ficha,
  html[dir="rtl"] .hero-ficha {
    position: absolute;
    bottom: 4.2rem;
    left: 1.4rem;
    right: 1.4rem;
    min-width: 0;
    gap: .5rem;
    padding: .7rem .9rem;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    border-top: 1px solid rgba(255,255,255,.14);
    border-bottom: 1px solid rgba(255,255,255,.14);
    border-left: 0;
    border-right: 0;
    backdrop-filter: blur(6px);
    background: rgba(0,0,0,.28);
  }
  .hero-ficha .ficha-block:not(.ficha-proyecto) { display: none; }
  .hero-ficha .ficha-divider { display: none; }
  .ficha-proyecto,
  html[dir="rtl"] .ficha-proyecto { align-items: flex-start; text-align: left; }
}

@media (max-width: 420px) {
  .hero-content-anchored .hero-title { font-size: clamp(1.7rem, 11vw, 2.4rem); }
  .ficha-proyecto .ficha-meta { font-size: .52rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   LIBRO DE RECLAMACIONES · Botón fixed bottom-left siempre visible
   Obligatorio por INDECOPI Perú · presente en todas las páginas
   ═══════════════════════════════════════════════════════════════════════════ */

.libro-reclamaciones-fixed {
  position: fixed;
  bottom: 1.4rem;
  left: 1.4rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .75rem 1.1rem .75rem .85rem;
  background: rgba(31,31,31,.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  font-family: 'DM Sans', sans-serif;
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
  transition: all .4s cubic-bezier(.4,0,.2,1);
  text-decoration: none;
  line-height: 1;
}
.libro-reclamaciones-fixed:hover {
  background: var(--salmon);
  color: var(--dark);
  border-color: var(--salmon);
  padding-right: 1.3rem;
  letter-spacing: .3em;
}
.libro-reclamaciones-fixed .libro-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.libro-reclamaciones-fixed .libro-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 600px) {
  .libro-reclamaciones-fixed {
    bottom: 1rem;
    left: 1rem;
    padding: .65rem .9rem .65rem .75rem;
    font-size: .56rem;
    gap: .5rem;
  }
  .libro-reclamaciones-fixed .libro-icon { width: 15px; height: 15px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RTL (árabe) · Fixes para hero regla de tercios + componentes nuevos
   ═══════════════════════════════════════════════════════════════════════════ */

html[dir="rtl"] .hero-content-anchored,
html[dir="rtl"] .hero-principal .hero-content.hero-content-anchored {
  left: auto;
  right: 5%;
  text-align: right;
  align-items: flex-end;
}
html[dir="rtl"] .hero-content-anchored .hero-title,
html[dir="rtl"] .hero-content-anchored .hero-desc,
html[dir="rtl"] .hero-content-anchored .hero-tagline {
  text-align: right;
}
html[dir="rtl"] .hero-content-anchored .hero-btn { align-self: flex-end; }

html[dir="rtl"] .hero-ficha {
  right: auto;
  left: 5%;
  align-items: flex-start;
  text-align: left;
}
html[dir="rtl"] .ficha-block { align-items: flex-start; }

/* Pasarela editorial en RTL: invertir lados */
html[dir="rtl"] .proyecto-banda:nth-child(even) .banda-info { text-align: left; }
html[dir="rtl"] .proyecto-banda .banda-info { text-align: right; }
html[dir="rtl"] .banda-link { flex-direction: row-reverse; }
html[dir="rtl"] .banda-link svg { transform: scaleX(-1); }

/* Secciones info / CTA en RTL */
html[dir="rtl"] .sd-features li { padding-left: 0; padding-right: 1.4rem; }
html[dir="rtl"] .sd-features li::before { left: auto; right: 0; }

/* Libro de reclamaciones fixed → derecha en RTL */
html[dir="rtl"] .libro-reclamaciones-fixed {
  left: auto;
  right: 1.4rem;
}

/* Mobile RTL: contenido alineado a la derecha (natural en árabe)
   Especificidad alta para ganar a la regla LTR .hero-principal .hero-content.hero-content-anchored */
@media (max-width: 900px) {
  html[dir="rtl"] .hero-principal .hero-content.hero-content-anchored {
    left: 1.4rem;
    right: 1.4rem;
    align-items: flex-end;
    text-align: right;
  }
  html[dir="rtl"] .hero-principal .hero-content-anchored .hero-title,
  html[dir="rtl"] .hero-principal .hero-content-anchored .hero-tagline,
  html[dir="rtl"] .hero-principal .hero-content-anchored .hero-desc { text-align: right; width: 100%; }
  html[dir="rtl"] .hero-principal .hero-content-anchored .hero-btn { align-self: flex-end; }
  html[dir="rtl"] .hero-principal .hero-ficha { justify-content: flex-end; text-align: right; }
  html[dir="rtl"] .hero-principal .ficha-proyecto { align-items: flex-end; text-align: right; }
}
