/*
 * brand/cy-paginas.css — Piel unificada para todas las páginas interiores de cilindroya.com
 * Replica el sistema estético aprobado de la portada (/hogar/):
 * - Degradado del héroe #09294A → #0A59DA → #2EC3FB
 * - Cinta de avisos superior (#061C36)
 * - Header.barra corporativo con logo blanco, menú y botón naranja «PEDIR GAS»
 * - Botones estilo Sketchfab (celeste #1CAAD9 y naranja #FF9E3A)
 * - Tarjetas con bordes suaves, sombras sutiles y franjas alternadas
 * - FAQ en <details> limpias y accesibles
 * - Renders nítidos de Cili (sin recortes circulares que corten la cara)
 * - Pie de página unificado #09294A
 */

:root {
  --noche-profunda: #051428;
  --noche: #09294A;
  --azul: #0A59DA;
  --azul-oscuro: #0743A6;
  --celeste: #2EC3FB;
  --sf-azul: #1CAAD9;
  --sf-azul-hover: #1593BD;
  --sf-naranja: #FF9E3A;
  --sf-naranja-hover: #F08A20;
  --llama: #FF8A00;
  --verde: #0B7A43;
  --verde-bg: #E8F7EF;
  --rojo: #B42318;
  --gris-titulo: #1E293B;
  --gris-texto: #475569;
  --gris-borde: #E2E8F0;
  --franja-alt: #F8FAFC;
  --degradado-heroe: linear-gradient(45deg, #09294A 0%, #0A59DA 55%, #2EC3FB 100%);
  --degradado-barra: linear-gradient(90deg, #09294A 0%, #0A469E 65%, #0E6CC4 100%);
  --radio-sf: 4px;
  --radio-card: 12px;
  --radio-pill: 999px;
  --m: clamp(16px, 4vw, 48px);
  --s-display: clamp(30px, 4.5vw, 52px);
  --s-h2: clamp(24px, 3.2vw, 36px);
  --s-lead: clamp(16px, 1.4vw, 20px);
  --s-body: 16px;
  --s-small: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: #FFFFFF;
  color: var(--gris-texto);
  font: 500 var(--s-body)/1.6 "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--azul); transition: color .15s ease; }
a:hover { color: var(--sf-azul); }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; color: var(--noche); }
p { margin: 0; }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--sf-naranja); outline-offset: 3px; }

/* ── Cinta superior de avisos (idéntica a la portada) ─────────────────────── */
.cinta {
  position: relative;
  z-index: 6;
  overflow: hidden;
  background: #061C36;
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.cinta-pista {
  display: inline-flex;
  gap: 36px;
  padding: 8px 0;
  animation: cyCinta 40s linear infinite;
}
.cinta-pista span::after {
  content: "●";
  color: var(--sf-naranja);
  margin-left: 36px;
  font-size: 7px;
  vertical-align: 2px;
}
@keyframes cyCinta {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Barra de cabecera corporativa ────────────────────────────────────────── */
header.barra,
.barra {
  position: relative;
  z-index: 20;
  top: 0;
  background: #09294A;
  background-image: var(--degradado-barra);
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px var(--m);
  min-height: 64px;
}
header.barra > a:first-child,
.barra > a:first-child {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
header.barra img,
.barra img {
  height: 36px;
  width: auto;
  display: block;
}
header.barra nav,
.barra nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
header.barra nav a,
.barra nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  transition: color 0.15s ease;
  white-space: nowrap;
}
header.barra nav a:hover,
header.barra nav a[aria-current="page"],
.barra nav a:hover,
.barra nav a[aria-current="page"] {
  color: #FFFFFF;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}
header.barra .boton,
.barra .boton {
  background: var(--sf-naranja);
  color: #09294A !important;
  min-height: 40px;
  padding: 0 18px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radio-sf);
  box-shadow: none;
  text-decoration: none;
  white-space: nowrap;
}
header.barra .boton:hover,
.barra .boton:hover {
  background: var(--sf-naranja-hover);
  color: #09294A !important;
  transform: translateY(-1px);
}

/* ── Botones del sistema ─────────────────────────────────────────────────── */
.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radio-sf);
  background: var(--sf-azul);
  color: #FFFFFF !important;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(9, 41, 74, 0.14);
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  text-align: center;
}
.boton:hover {
  background: var(--sf-azul-hover);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(9, 41, 74, 0.2);
}
.boton:active { transform: translateY(0); }

.boton-naranja,
.boton.naranja,
.boton--naranja {
  background: var(--sf-naranja);
  color: #09294A !important;
  box-shadow: 0 2px 8px rgba(255, 158, 58, 0.3);
}
.boton-naranja:hover,
.boton.naranja:hover,
.boton--naranja:hover {
  background: var(--sf-naranja-hover);
  color: #09294A !important;
}

.boton-linea,
.boton.linea,
.boton--linea {
  background: transparent;
  color: #FFFFFF !important;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7);
}
.boton-linea:hover,
.boton.linea:hover,
.boton--linea:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1.5px #FFFFFF;
}

.boton-wa,
.boton--wa {
  background: #FFFFFF;
  color: #0B7A43 !important;
  border: 1.5px solid #0B7A43;
  box-shadow: none;
}
.boton-wa:hover,
.boton--wa:hover {
  background: var(--verde-bg);
  color: #085D32 !important;
}

.boton-sec,
.btn-sec {
  background: #EAF2FB;
  color: var(--noche) !important;
  box-shadow: none;
}
.boton-sec:hover,
.btn-sec:hover {
  background: #D8E7F8;
}

/* ── Héroe unificado de páginas interiores ───────────────────────────────── */
.cy-heroe-interior {
  position: relative;
  background: var(--degradado-heroe);
  color: #FFFFFF;
  padding: clamp(32px, 5vw, 64px) var(--m);
  overflow: hidden;
  border-bottom: 0;
}
.cy-heroe-interior::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(45% 55% at 76% 46%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(35% 45% at 18% 85%, rgba(9, 41, 74, 0.35) 0%, rgba(9, 41, 74, 0) 70%);
  pointer-events: none;
}

.cy-heroe-interior__grid {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.cy-heroe-interior__texto {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cy-insignia,
.portada-a__insignia {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--radio-sf);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.cy-insignia i,
.portada-a__insignia i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3DDC97;
  display: inline-block;
}

.cy-heroe-interior h1 {
  font-size: var(--s-display);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -.035em;
  line-height: 1.12;
  margin: 0 0 16px;
  max-width: 22ch;
}
.cy-heroe-interior h1 span {
  color: #2EC3FB;
  text-shadow: 0 2px 14px rgba(46, 195, 251, 0.4);
}

.cy-respuesta-rapida,
.respuesta-rapida {
  position: relative;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.96);
  color: #09294A;
  border-left: 4px solid var(--sf-naranja);
  border-radius: var(--radio-sf);
  padding: 16px 20px;
  font-size: 15.5px;
  line-height: 1.55;
  box-shadow: 0 12px 28px -10px rgba(5, 20, 40, 0.35);
  max-width: 60ch;
}
.cy-respuesta-rapida strong,
.respuesta-rapida strong {
  color: #0A59DA;
}

.cy-heroe-interior__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.cy-heroe-interior__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.cy-heroe-interior__visual img {
  max-height: 440px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(5, 20, 40, 0.35));
}

/* ── Migas de pan ────────────────────────────────────────────────────────── */
.migas,
.cy-migas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 12px;
}
.migas a,
.cy-migas a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  opacity: 0.9;
}
.migas a:hover,
.cy-migas a:hover {
  text-decoration: underline;
  opacity: 1;
}
.migas span.separador,
.cy-migas span.separador {
  opacity: 0.5;
}

/* ── Contenedores y Franjas ──────────────────────────────────────────────── */
.contenedor,
.cy-contenedor {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px) var(--m);
}
.franja-blanca {
  background: #FFFFFF;
}
.franja-gris {
  background: var(--franja-alt);
  border-top: 1px solid var(--gris-borde);
  border-bottom: 1px solid var(--gris-borde);
}

/* ── Tarjetas ────────────────────────────────────────────────────────────── */
.tarjeta,
.tarjeta-canton,
.tarjeta-guia,
.ficha-pregunta {
  background: #FFFFFF;
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio-card);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: 0 4px 16px rgba(9, 41, 74, 0.05);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.tarjeta:hover,
.tarjeta-canton:hover,
.tarjeta-guia:hover,
.ficha-pregunta:hover {
  transform: translateY(-3px);
  border-color: var(--azul);
  box-shadow: 0 10px 24px rgba(9, 41, 74, 0.1);
}
.tarjeta h2, .tarjeta-canton h2, .tarjeta-guia h2, .ficha-pregunta h3 {
  font-size: clamp(20px, 2.5vw, 26px);
  color: var(--noche);
  margin-top: 8px;
}
.tarjeta p, .tarjeta-canton p, .tarjeta-guia p, .ficha-pregunta p {
  color: var(--gris-texto);
  font-size: 15px;
  line-height: 1.55;
  margin-top: 10px;
}
.tarjeta .estado,
.tarjeta-canton .estado {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--verde);
  background: var(--verde-bg);
  padding: 4px 10px;
  border-radius: var(--radio-sf);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tarjeta-canton .ir,
.tarjeta-guia .leer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  color: var(--azul);
  margin-top: 14px;
  text-decoration: none;
}

/* ── FAQ y Acordeones (<details>) ────────────────────────────────────────── */
.preguntas details,
.bloque-faq details,
details.cy-faq {
  background: #FFFFFF;
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio-sf);
  padding: 0 18px;
  margin-bottom: 12px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.preguntas details[open],
.bloque-faq details[open],
details.cy-faq[open] {
  background: #F8FAFC;
  border-color: #CBD5E1;
  padding-bottom: 16px;
}
.preguntas summary,
.bloque-faq summary,
details.cy-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--noche);
  min-height: 48px;
}
.preguntas summary::-webkit-details-marker,
.bloque-faq summary::-webkit-details-marker,
details.cy-faq summary::-webkit-details-marker {
  display: none;
}
.preguntas summary::after,
.bloque-faq summary::after,
details.cy-faq summary::after {
  content: "";
  flex: 0 0 8px;
  height: 8px;
  border-right: 2px solid var(--noche);
  border-bottom: 2px solid var(--noche);
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease);
}
.preguntas details[open] summary::after,
.bloque-faq details[open] summary::after,
details.cy-faq[open] summary::after {
  transform: rotate(-135deg);
}
.preguntas details p,
.bloque-faq details p,
details.cy-faq p {
  color: var(--gris-texto);
  font-size: 15.5px;
  line-height: 1.6;
  margin-top: 6px;
}

/* ── Bloque CTA de Cierre ────────────────────────────────────────────────── */
.cierre-guia,
.cierre,
.caja-cta {
  margin: clamp(40px, 6vw, 72px) 0 0;
  border-radius: var(--radio-card);
  padding: clamp(32px, 5vw, 56px);
  color: #FFFFFF;
  background: var(--degradado-heroe);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  box-shadow: 0 16px 36px -12px rgba(9, 41, 74, 0.4);
}
.cierre-guia h2,
.cierre h2,
.caja-cta h2 {
  color: #FFFFFF;
  font-size: var(--s-h2);
}
.cierre-guia h2 span,
.cierre h2 span,
.caja-cta h2 span {
  color: var(--sf-naranja);
}
.cierre-guia p,
.cierre p,
.caja-cta p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--s-lead);
  max-width: 48ch;
}
.cierre-guia .acciones,
.cierre .acciones,
.caja-cta .acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Formulario de Registro Estilizado ───────────────────────────────────── */
.registro-marco {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 56px);
  padding: 0 var(--m);
  max-width: 1240px;
  margin: 0 auto;
}
.registro-lado {
  padding: 40px 0;
}
.registro-lado .pegado {
  position: sticky;
  top: 100px;
}
.registro-lado h1 {
  font-size: clamp(28px, 3.5vw, 40px);
  color: var(--noche);
  margin-bottom: 12px;
}
.registro-lado .lead {
  font-size: 17px;
  color: var(--gris-texto);
  line-height: 1.5;
  margin-bottom: 24px;
}
.registro-lado ul {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.registro-lado li {
  background: var(--franja-alt);
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio-sf);
  padding: 12px 16px;
  font-weight: 700;
  color: var(--noche);
}
.registro-lado li b {
  color: var(--azul);
}
.registro-lado figure {
  margin: 20px 0 0;
  display: flex;
  align-items: center;
  gap: 16px;
}
.registro-lado figure img {
  width: 90px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(9, 41, 74, 0.15));
}
.registro-lado figcaption {
  font-size: 14px;
  color: var(--gris-texto);
}

.progreso {
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}
.progreso span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--sf-naranja);
  transition: width 0.35s var(--ease);
}
.meta {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #CFE0FA;
  font-size: 13.5px;
  font-weight: 700;
  min-height: 20px;
}
.meta b { color: #FFFFFF; }

.chat {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  margin-bottom: 16px;
}
.cili-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: 0 0 44px;
  background: #EAF4FA;
  border: 1.5px solid var(--sf-azul);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cili-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.burbuja {
  background: #FFFFFF;
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio-card);
  padding: 16px 18px;
  font-size: 17px;
  line-height: 1.45;
  color: var(--noche);
  box-shadow: 0 4px 12px rgba(9, 41, 74, 0.05);
}
.burbuja b { color: var(--azul); }
.burbuja small { display: block; color: var(--gris-texto); font-size: 14px; margin-top: 6px; }

.animo {
  display: block;
  background: #FFF5E0;
  border-left: 3px solid var(--sf-naranja);
  color: #7A4A00;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 14px 56px;
  border-radius: 0 var(--radio-sf) var(--radio-sf) 0;
}

input[type=text], input[type=tel], input[type=email], input[type=number], input[type=password], select {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid var(--gris-borde);
  border-radius: var(--radio-sf);
  padding: 10px 14px;
  font: 600 16px/1.3 "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--noche);
  background: #FFFFFF;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus {
  border-color: var(--azul);
  box-shadow: 0 0 0 3px rgba(10, 89, 218, 0.15);
}
input.malo { border-color: var(--rojo); }
input.bien {
  border-color: var(--verde);
  padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%230B7A43'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' stroke='white' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center / 20px;
}
.error { color: var(--rojo); font-size: 14px; font-weight: 700; margin-top: 6px; min-height: 20px; }

.opciones { display: grid; gap: 8px; margin-top: 14px; }
.opcion {
  display: block; width: 100%; text-align: left; cursor: pointer; background: #FFFFFF;
  border: 1.5px solid var(--gris-borde); border-radius: var(--radio-sf);
  padding: 14px 16px; min-height: 56px; font: 700 16px/1.3 "Plus Jakarta Sans", system-ui, sans-serif; color: var(--noche);
  transition: transform .12s var(--ease), border-color .15s, background .15s;
}
.opcion small { display: block; font-weight: 500; color: var(--gris-texto); font-size: 14px; margin-top: 2px; }
.opcion:hover { background: #F8FAFC; border-color: var(--azul); }
.opcion[aria-pressed=true] { border-color: var(--sf-naranja); background: #FFF9F0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  border: 1.5px solid var(--gris-borde); background: #FFFFFF; border-radius: var(--radio-sf);
  padding: 8px 16px; min-height: 42px; font: 700 14.5px/1 "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--noche); cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.chip:hover { border-color: var(--azul); background: #F8FAFC; }
.chip[aria-pressed=true] { background: var(--azul); color: #FFFFFF; border-color: var(--azul); }

.contador { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.contador button {
  width: 48px; height: 48px; border-radius: var(--radio-sf); border: 1.5px solid var(--gris-borde);
  background: #FFFFFF; font: 800 22px/1 "Plus Jakarta Sans", system-ui, sans-serif; color: var(--azul); cursor: pointer;
}
.contador button:last-child { background: var(--azul); color: #FFFFFF; border-color: var(--azul); }
.contador output { font-size: 28px; font-weight: 800; min-width: 40px; text-align: center; }

/* ── Pie de página unificado (idéntico a /hogar/) ────────────────────────── */
footer {
  background: #09294A;
  color: rgba(255, 255, 255, 0.88);
  min-height: 0;
  padding: 48px var(--m) 36px;
  display: flex;
  flex-direction: column;
  margin-top: clamp(40px, 6vw, 80px);
}
footer .arriba {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: var(--s-small);
  flex-wrap: wrap;
}
footer .arriba img {
  height: 34px;
  width: auto;
  margin-bottom: 14px;
}
footer .arriba p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.5;
}
footer .arriba a {
  font-weight: 700;
  text-decoration: none;
  color: #FFFFFF;
}
footer .arriba a:hover {
  text-decoration: underline;
}
footer .contacto {
  margin-top: 24px;
  font-size: clamp(34px, 6vw, 68px);
  font-weight: 300;
  letter-spacing: -.03em;
  line-height: .95;
  text-decoration: none;
  display: block;
  padding-top: 24px;
  color: #2EC3FB;
  transition: color .18s ease;
}
footer .contacto:hover {
  color: #FFFFFF;
}
footer .meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  font-size: 13.5px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.7);
}
footer .meta a {
  margin-right: 18px;
  text-decoration: none;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
footer .meta a:hover {
  text-decoration: underline;
  color: #FFFFFF;
}

/* ── Animaciones al hacer scroll (IntersectionObserver) ──────────────────── */
/* El contenido es visible por defecto si JS no corre o reduced-motion */
.cy-reveal {
  opacity: 1;
  transform: none;
}
html.js .cy-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
html.js .cy-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cinta-pista { animation: none !important; }
  .cy-reveal, html.js .cy-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .boton, .tarjeta, .chip, .opcion { transition: none !important; }
}

/* ── Responsive Tablet y Móvil ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  header.barra nav,
  .barra nav {
    display: none;
  }
  header.barra .boton,
  .barra .boton {
    margin-left: auto;
  }
}

@media (max-width: 900px) {
  .cy-heroe-interior__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .cy-heroe-interior__visual {
    order: 3;
    margin-top: 12px;
  }
  .cy-heroe-interior__visual img {
    max-height: 280px;
  }
  .cierre-guia, .cierre, .caja-cta {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .registro-marco {
    grid-template-columns: 1fr;
  }
  .registro-lado {
    padding: 24px 0 0;
  }
  .registro-lado .pegado {
    position: static;
  }
}

@media (max-width: 600px) {
  header.barra, .barra {
    padding: 10px 14px;
  }
  header.barra img, .barra img {
    height: 30px;
  }
  .cy-heroe-interior {
    padding: 24px 16px 36px;
  }
  .cy-heroe-interior h1 {
    font-size: clamp(24px, 6.8vw, 32px);
  }
  .cy-respuesta-rapida, .respuesta-rapida {
    font-size: 14.5px;
    padding: 14px 16px;
  }
  .cy-heroe-interior__cta .boton {
    width: 100%;
  }
  footer {
    padding: 36px 16px 24px;
  }
  footer .arriba, footer .meta {
    flex-direction: column;
    align-items: flex-start;
  }
  footer .meta div {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  footer .contacto {
    font-size: clamp(28px, 8vw, 42px);
  }
}

/* ── Ajustes del registro y de la cabecera de la app de pedidos ── */
/* Registro: el panel lateral usa el mismo degradado de héroe que el resto de páginas. */
.registro-lado .pegado {
  background: var(--degradado-heroe);
  color: #FFFFFF;
  border-radius: 16px;
  padding: 28px 26px 0;
  overflow: hidden;
  box-shadow: 0 18px 40px -22px rgba(9, 41, 74, 0.55);
}
.registro-lado h1 { color: #FFFFFF; }
.registro-lado .lead { color: rgba(255, 255, 255, 0.9); }
.registro-lado li {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.26);
  color: #FFFFFF;
}
.registro-lado li b { color: #8FE3FF; }
.registro-lado figure { align-items: flex-end; margin: 22px 0 0; }
.registro-lado figure img { width: 140px; filter: drop-shadow(0 14px 22px rgba(3, 18, 44, 0.45)); }
.registro-lado figcaption { color: rgba(255, 255, 255, 0.92); padding-bottom: 26px; }

/* App de pedidos: el avatar oculto no se muestra y el nombre del usuario no se recorta. */
.barra .hidden,
#headerUserAvatar.hidden { display: none !important; }
#headerUserAvatar { width: 20px; height: 20px; }
#headerUserBtn { white-space: nowrap; }
#headerUserName { max-width: none; }
