/*
 * brand/cy-animaciones.css — Capa de animación compartida por todas las páginas de cilindroya.com.
 *
 * Efectos con los nombres de Animate.css (entradas) y Hover.css (estados al pasar el mouse), escritos aquí para no
 * cargar 80 KB de librerías: solo lo que el sitio usa. Todo el movimiento vive dentro de
 * `prefers-reduced-motion: no-preference`; sin JavaScript el contenido se ve completo y quieto.
 * La imagen principal de Cili en los héroes solo aparece con un fundido; la invitación de Cili sí tiene movimiento.
 */

/* ── Tipografía común: Plus Jakarta Sans en todas las páginas, títulos con el mismo trazo de la portada ── */
body { font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { letter-spacing: -0.02em; text-wrap: balance; }
p, li { text-wrap: pretty; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  /* ── Entradas (Animate.css) ─────────────────────────────────────────────── */
  @keyframes cyFadeInUp { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }
  @keyframes cyFadeInDown { from { opacity: 0; transform: translate3d(0, -16px, 0); } to { opacity: 1; transform: none; } }
  @keyframes cyFadeInLeft { from { opacity: 0; transform: translate3d(-40px, 0, 0); } to { opacity: 1; transform: none; } }
  @keyframes cyFadeInRight { from { opacity: 0; transform: translate3d(40px, 0, 0); } to { opacity: 1; transform: none; } }
  @keyframes cyZoomIn { from { opacity: 0; transform: scale3d(.92, .92, .92); } to { opacity: 1; transform: none; } }
  @keyframes cyFadeIn { from { opacity: 0; } to { opacity: 1; } }
  @keyframes cyHeadShake {
    0% { transform: translateX(0); } 6.5% { transform: translateX(-6px) rotateY(-9deg); }
    18.5% { transform: translateX(5px) rotateY(7deg); } 31.5% { transform: translateX(-3px) rotateY(-5deg); }
    43.5% { transform: translateX(2px) rotateY(3deg); } 50% { transform: translateX(0); }
  }
  @keyframes cyPulsoAnillo { 0% { box-shadow: 0 0 0 0 rgba(255, 158, 58, .55); } 70% { box-shadow: 0 0 0 14px rgba(255, 158, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 158, 58, 0); } }
  @keyframes cyBrillo { from { transform: translateX(-120%) skewX(-20deg); } to { transform: translateX(260%) skewX(-20deg); } }

  /* Encabezado y héroe de cada página: entran escalonados al cargar */
  .barra { animation: cyFadeInDown .5s ease-out both; }
  .cy-heroe-interior h1, .portada-a h1, .registro-lado h1 { animation: cyFadeInUp .7s cubic-bezier(.2, .7, .2, 1) .08s both; }
  .cy-heroe-interior .migas, .cy-heroe-interior .cy-insignia, .portada-a__insignia { animation: cyFadeInUp .6s ease-out both; }
  .cy-heroe-interior p, .cy-heroe-interior .respuesta-rapida, .cy-heroe-interior [class*="rapida"] { animation: cyFadeInUp .7s ease-out .18s both; }
  .cy-heroe-interior .boton, .cy-heroe-interior .botones, .cy-heroe-interior [class*="acciones"] { animation: cyFadeInUp .7s ease-out .28s both; }
  .cy-heroe-interior img, .cili3d-poster, .registro-lado figure img { animation: cyFadeIn .9s ease-out .2s both; }

  /* Aparición al desplazarse (cy-animaciones.js marca .cy-anima y luego .cy-visto, con retraso escalonado) */
  .js .cy-anima { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .6s ease-out, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--cy-retraso, 0s); }
  .js .cy-anima.cy-visto { opacity: 1; transform: none; }

  /* ── Botones (Hover.css: sweep, float, icon-forward) ───────────────────── */
  .boton, .btn-primary, button.boton, a.boton { position: relative; overflow: hidden; isolation: isolate;
    transition: transform .2s ease, box-shadow .25s ease, background-color .25s ease, filter .25s ease; }
  .boton::after, .btn-primary::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 40%; z-index: -1; pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .38), rgba(255, 255, 255, 0)); transform: translateX(-120%) skewX(-20deg); }
  .boton:hover::after, .btn-primary:hover::after, .boton:focus-visible::after { animation: cyBrillo .75s ease-out; }
  .boton:hover, .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 22px -12px rgba(9, 41, 74, .55); }
  .boton:active, .btn-primary:active { transform: translateY(0) scale(.97); }
  /* El botón principal de cada página llama la atención cada pocos segundos, sin moverse de su sitio */
  .barra > .boton, .boton-naranja, .boton-sf-naranja { animation: cyPulsoAnillo 2.6s ease-out 1.5s 3; }

  /* Menú: subrayado que crece desde el centro (hvr-underline-from-center) */
  .barra nav a { position: relative; }
  .barra nav a::before { content: ""; position: absolute; left: 50%; right: 50%; bottom: -4px; height: 2px; border-radius: 2px;
    background: #FF9E3A; transition: left .25s ease, right .25s ease; }
  .barra nav a:hover::before, .barra nav a[aria-current="page"]::before { left: 0; right: 0; }

  /* Tarjetas: flotan al pasar el mouse (hvr-float + sombra) */
  .tarjeta, .ficha, .cy-tarjeta, .cy-paso, .paso-card, [class*="tarjeta"]:not(body), .cyx-confianza li {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
  .tarjeta:hover, .ficha:hover, .cy-tarjeta:hover, .cy-paso:hover, .paso-card:hover {
    transform: translateY(-4px); box-shadow: 0 18px 32px -20px rgba(9, 41, 74, .45); border-color: rgba(28, 170, 217, .45); }

  /* Preguntas frecuentes: el contenido baja con suavidad y la flecha gira */
  details > summary { transition: color .2s ease; }
  details[open] > *:not(summary) { animation: cyFadeInDown .35s ease-out both; }
  details > summary::marker { transition: transform .2s; }

  /* Campos: foco con anillo azul; error con sacudida (Animate.css headShake) */
  input, select, textarea { transition: border-color .2s ease, box-shadow .2s ease; }
  input:focus, select:focus, textarea:focus { box-shadow: 0 0 0 4px rgba(28, 170, 217, .18); }
  .cy-sacude { animation: cyHeadShake .8s ease-in-out; }

  /* ── Registro de distribuidores: diseño de las referencias de ingreso ───────── */
  /* Computador: el panel de degradado entra desde la izquierda y el formulario desde la derecha. */
  @media (min-width: 900px) {
    .registro-lado .pegado { animation: cyFadeInLeft .8s cubic-bezier(.2, .7, .2, 1) both; }
    .columna-form { animation: cyFadeInRight .8s cubic-bezier(.2, .7, .2, 1) .12s both; }
  }
  /* Celular: cabecera de degradado con borde inferior curvo y el formulario que sube encima. */
  @media (max-width: 899px) {
    .registro-lado .pegado { border-radius: 0 0 32px 32px; animation: cyFadeInDown .7s ease-out both; }
    .columna-form { animation: cyFadeInUp .7s ease-out .15s both; }
  }
  /* Cada paso del asistente entra deslizándose, como el cambio de panel de la referencia */
  #contenido > section:not(.quieto) { animation: cyFadeInRight .45s cubic-bezier(.2, .7, .2, 1) both; }
  #contenido > section.listo { animation: cyZoomIn .5s cubic-bezier(.2, .7, .2, 1) both; }
  #contenido > section.listo svg circle { transform-origin: center; animation: cyZoomIn .45s ease-out .1s both; }
  #contenido > section.listo svg path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: cyTrazo .5s ease-out .45s forwards; }
  @keyframes cyTrazo { to { stroke-dashoffset: 0; } }
  /* Barra de avance con brillo que recorre */
  .progreso #barra { background-image: linear-gradient(90deg, #1CAAD9, #2EC3FB, #FF9E3A, #2EC3FB, #1CAAD9);
    background-size: 300% 100%; animation: cyFlujo 3s linear infinite; transition: width .5s cubic-bezier(.2, .7, .2, 1); }
  @keyframes cyFlujo { to { background-position: 300% 0; } }

  /* ── Botón de pedido (referencia «Complete Order»): al pulsar, el camión sale con el cilindro ── */
  .cy-despega { pointer-events: none; color: transparent !important; transition: color .2s ease; }
  .cy-despega > * { animation: cyDesvanece .25s ease-in forwards; }
  .cy-despega .cy-camion { position: absolute; top: 50%; left: -48px; width: 40px; height: 24px; margin-top: -12px; z-index: 2;
    animation: cyCamion 1s cubic-bezier(.55, 0, .3, 1) .1s forwards; opacity: 1 !important; }
  .cy-despega .cy-via { position: absolute; left: 0; right: 0; top: calc(50% + 13px); height: 2px; z-index: 1; opacity: .7 !important;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .9) 0 10px, transparent 10px 18px); background-size: 36px 2px;
    animation: cyVia .35s linear infinite !important; }
  @keyframes cyDesvanece { to { opacity: 0; transform: translateY(-8px); } }
  @keyframes cyCamion { 0% { transform: translateX(0); } 60% { transform: translateX(calc(var(--cy-ancho, 240px) * .55)); } 100% { transform: translateX(calc(var(--cy-ancho, 240px) + 60px)); } }
  @keyframes cyVia { to { background-position: -36px 0; } }

  /* En la app de pedidos, mientras se envía: rayas en movimiento y el camión de ida y vuelta */
  #submitOrderBtn.cy-enviando { background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .14) 0 12px, transparent 12px 24px) !important;
    background-size: 34px 34px; animation: cyRayas .6s linear infinite; }
  @keyframes cyRayas { to { background-position: 34px 0; } }
  #submitOrderBtn.cy-listo { animation: cyZoomIn .4s ease-out; }
}

/* Sin movimiento: el contenido queda quieto y visible */
@media (prefers-reduced-motion: reduce) {
  .js .cy-anima { opacity: 1; transform: none; }
}

/* ── Cili, asistente en la página: invitación al pedido o al registro (inyectada por cy-animaciones.js) ── */
.cy-invita { padding: clamp(36px, 6vw, 72px) 16px; background: linear-gradient(180deg, #F7F9FC 0%, #FFFFFF 100%); }
.cy-invita__caja { position: relative; max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: minmax(150px, 260px) 1fr;
  align-items: end; gap: clamp(16px, 4vw, 48px); padding: clamp(22px, 4vw, 40px) clamp(18px, 4vw, 44px) 0;
  background: linear-gradient(45deg, #09294A 0%, #0A59DA 55%, #2EC3FB 100%); border-radius: 22px; overflow: hidden;
  box-shadow: 0 28px 60px -34px rgba(9, 41, 74, .7); color: #FFFFFF; }
.cy-invita__caja::before { content: ""; position: absolute; inset: auto -10% -60% 30%; height: 120%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(46, 195, 251, .45), rgba(46, 195, 251, 0)); pointer-events: none; }
.cy-invita__cili { position: relative; align-self: end; margin: 0; }
.cy-invita__cili img { display: block; width: 100%; height: auto; max-height: 340px; object-fit: contain; object-position: bottom;
  filter: drop-shadow(0 20px 26px rgba(3, 18, 44, .45)); transform-origin: 50% 100%; }
.cy-invita__texto { position: relative; padding-bottom: clamp(22px, 4vw, 40px); }
.cy-invita__globo { position: relative; display: inline-block; max-width: 560px; margin: 0 0 18px; padding: 16px 20px;
  background: #FFFFFF; color: #09294A; border-radius: 18px 18px 18px 4px; font-size: clamp(16px, 2vw, 19px); font-weight: 600; line-height: 1.45;
  box-shadow: 0 16px 30px -18px rgba(3, 18, 44, .6); min-height: 3.2em; }
.cy-invita__globo::before { content: ""; position: absolute; left: -9px; bottom: 10px; border: 10px solid transparent; border-right-color: #FFFFFF; border-left: 0; }
.cy-invita__nombre { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #1CAAD9; margin-bottom: 4px; }
.cy-invita__cursor { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: #1CAAD9; }
.cy-invita__botones { display: flex; flex-wrap: wrap; gap: 10px; }
.cy-invita__botones .boton { min-height: 48px; }
@media (max-width: 640px) {
  .cy-invita__caja { grid-template-columns: 1fr; text-align: left; padding-top: 22px; }
  .cy-invita__cili { order: 2; justify-self: center; width: 62%; max-width: 230px; }
  .cy-invita__texto { padding-bottom: 0; }
  .cy-invita__botones .boton { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes cyBounceInUp { 0% { opacity: 0; transform: translate3d(0, 120px, 0) scaleY(1.06); }
    60% { opacity: 1; transform: translate3d(0, -14px, 0) scaleY(.98); } 75% { opacity: 1; transform: translate3d(0, 6px, 0) scaleY(1.01); }
    90% { opacity: 1; transform: translate3d(0, -3px, 0); } 100% { opacity: 1; transform: none; } }
  @keyframes cyRespira { 0%, 100% { transform: scale(1, 1) translateY(0); } 50% { transform: scale(1.015, .985) translateY(-5px); } }
  @keyframes cyTada { 0%, 100% { transform: none; } 10%, 20% { transform: scale(.96) rotate(-3deg); }
    30%, 50%, 70% { transform: scale(1.04) rotate(3deg); } 40%, 60% { transform: scale(1.04) rotate(-3deg); } }
  @keyframes cyGlobo { from { opacity: 0; transform: translate3d(-12px, 10px, 0) scale(.94); } to { opacity: 1; transform: none; } }
  @keyframes cyParpadeo { 50% { opacity: 0; } }
  .cy-invita .cy-invita__cili img { opacity: 0; }
  .cy-invita.cy-entra .cy-invita__cili img { animation: cyBounceInUp .9s cubic-bezier(.2, .7, .2, 1) both, cyRespira 4.5s ease-in-out 1.1s infinite; }
  .cy-invita.cy-entra .cy-invita__cili:hover img { animation: cyTada .9s ease-in-out; }
  .cy-invita .cy-invita__globo, .cy-invita .cy-invita__botones { opacity: 0; }
  .cy-invita.cy-entra .cy-invita__globo { animation: cyGlobo .5s ease-out .55s both; }
  .cy-invita.cy-entra .cy-invita__botones { animation: cyFadeInUp .5s ease-out .9s both; }
  .cy-invita__cursor { animation: cyParpadeo .9s steps(1) infinite; }
}
.cy-invita--ancha .cy-invita__caja { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.cy-invita--ancha .cy-invita__cili img { max-height: 300px; }
@media (max-width: 640px) {
  .cy-invita--ancha .cy-invita__caja { grid-template-columns: 1fr; }
  .cy-invita--ancha .cy-invita__cili { width: 100%; max-width: 420px; }
}

/* ── App de pedidos: ventana de registro e ingreso ─────────────────────────────── */
#welcomeAuthModal > div { overflow-x: hidden; overflow-y: auto; max-height: calc(100vh - 32px); }
#welcomeAuthModal > div > .text-center:first-of-type {
  margin: -28px -28px 0; padding: 30px 24px 22px; color: #FFFFFF;
  background: linear-gradient(45deg, #09294A 0%, #0A59DA 55%, #2EC3FB 100%); border-radius: 0 0 28px 28px; }
#welcomeAuthModal > div > .text-center:first-of-type h3 { color: #FFFFFF; }
#welcomeAuthModal > div > .text-center:first-of-type p { color: rgba(255, 255, 255, .88); }
#welcomeAuthModal .cy-auth-avatar { width: 76px !important; height: 76px !important; padding: 0 !important; overflow: hidden; border-radius: 50% !important;
  background: radial-gradient(circle at 50% 35%, #2F7BEA, #09294A) !important; box-shadow: 0 0 0 4px rgba(255, 255, 255, .35) !important; }
#welcomeAuthModal .cy-auth-avatar img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; }
#modalAuthCloseBtn { z-index: 2; background: rgba(255, 255, 255, .22); color: #FFFFFF; }
#welcomeAuthModal button[type="submit"] { position: relative; overflow: hidden; }
@media (max-width: 640px) {
  #welcomeAuthModal { align-items: flex-end; padding: 0; }
  #welcomeAuthModal > div { border-radius: 28px 28px 0 0; max-height: 94vh; }
  #welcomeAuthModal > div > .text-center:first-of-type { margin: -24px -24px 0; border-radius: 0 0 36px 36px; padding-top: 34px; }
}
@media (prefers-reduced-motion: no-preference) {
  #welcomeAuthModal:not(.hidden) { animation: cyFadeIn .25s ease-out both; }
  #welcomeAuthModal:not(.hidden) > div { animation: cyZoomIn .4s cubic-bezier(.2, .7, .2, 1) both; }
  #welcomeAuthModal:not(.hidden) .cy-auth-avatar { animation: cyBounceInUp .8s cubic-bezier(.2, .7, .2, 1) .1s both; }
  #authRegisterForm:not(.hidden) { animation: cyFadeInLeft .4s cubic-bezier(.2, .7, .2, 1) both; }
  #authLoginForm:not(.hidden) { animation: cyFadeInRight .4s cubic-bezier(.2, .7, .2, 1) both; }
  #tabAuthRegister, #tabAuthLogin { transition: background-color .3s ease, color .3s ease, box-shadow .3s ease, transform .2s ease; }
  #tabAuthRegister:active, #tabAuthLogin:active { transform: scale(.96); }
  #welcomeAuthModal button[type="submit"]::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 40%; pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .4), rgba(255, 255, 255, 0)); transform: translateX(-120%) skewX(-20deg); }
  #welcomeAuthModal button[type="submit"]:hover::after { animation: cyBrillo .75s ease-out; }
  @media (max-width: 640px) { #welcomeAuthModal:not(.hidden) > div { animation: cyFadeInUp .45s cubic-bezier(.2, .7, .2, 1) both; } }
}

/* Botones principales con relieve: se hunden al pulsarlos */
.boton-naranja, .barra > .boton, .cy-invita .boton-naranja, #submitOrderBtn { box-shadow: 0 4px 0 #C86A10, 0 10px 18px -10px rgba(9, 41, 74, .6); }
.boton-sf-azul, .cy-invita__chat { box-shadow: 0 4px 0 #11799E, 0 10px 18px -10px rgba(9, 41, 74, .6); }
@media (prefers-reduced-motion: no-preference) {
  .boton-naranja:active, .barra > .boton:active, .boton-sf-azul:active, #submitOrderBtn:active {
    transform: translateY(4px) !important; box-shadow: 0 0 0 #C86A10, 0 4px 10px -8px rgba(9, 41, 74, .6); }
}

/* ── Efectos de texto: títulos que se enfocan palabra por palabra, insignias con destello y acentos con degradado ── */
@media (prefers-reduced-motion: no-preference) {
  @keyframes cyEnfoca { from { opacity: 0; filter: blur(10px); transform: translate3d(0, 10px, 0); } to { opacity: 1; filter: blur(0); transform: none; } }
  .cy-palabra { display: inline-block; opacity: 0; animation: cyEnfoca .6s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: var(--cy-p, 0s); }
  h1.cy-enfocado { animation: none !important; }
  @keyframes cyDestello { from { background-position: 150% 0; } to { background-position: -50% 0; } }
  .cy-insignia, .portada-a__insignia {
    background-image: linear-gradient(110deg, rgba(255, 255, 255, .14) 40%, rgba(255, 255, 255, .42) 50%, rgba(255, 255, 255, .14) 60%);
    background-size: 220% 100%; animation: cyDestello 3.2s linear infinite; }
  @keyframes cyDegradado { to { background-position: 200% center; } }
  .cy-heroe-interior h1 span:not(.cy-palabra) {
    background: linear-gradient(90deg, #2EC3FB, #8FE3FF, #FF9E3A, #2EC3FB); background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: cyDegradado 5s linear infinite; }
}
/* Las palabras del título conservan el color del H1; solo el acento lleva color propio */
.cy-heroe-interior h1 .cy-palabra { color: inherit; text-shadow: none; }
@media (prefers-reduced-motion: no-preference) { .cy-heroe-interior h1 span:not(.cy-palabra) { text-shadow: none; } }

/* ── Formularios: un mismo estilo de campo en todas las páginas ───────────────── */
:where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="hidden"]), select, textarea) {
  min-height: 48px; padding: 12px 14px; border: 2px solid #D5DFEA; border-radius: 12px; background-color: #FFFFFF;
  color: #09294A; font: inherit; font-size: 16px; line-height: 1.4; width: 100%; box-sizing: border-box;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
:where(textarea) { min-height: 96px; resize: vertical; }
:where(input, select, textarea)::placeholder { color: #7A8BA0; opacity: 1; }
:where(input, select, textarea):hover:not(:disabled):not(:focus) { border-color: #9DB3C9; }
:where(input, select, textarea):focus-visible, :where(input, select, textarea):focus {
  outline: none; border-color: #1CAAD9; box-shadow: 0 0 0 4px rgba(28, 170, 217, .2); background-color: #FFFFFF; }
:where(input, select, textarea):user-invalid { border-color: #C2410C; box-shadow: 0 0 0 4px rgba(194, 65, 12, .14); }
:where(input, select, textarea):disabled { background-color: #F1F5F9; color: #7A8BA0; cursor: not-allowed; }
:where(input[type="range"]) { min-height: 44px; accent-color: #0A59DA; width: 100%; }
:where(input[type="checkbox"], input[type="radio"]) { accent-color: #0A59DA; width: 20px; height: 20px; }
:where(label) { cursor: pointer; }
.campo { display: grid; gap: 6px; }
.campo + .campo { margin-top: 14px; }
/* Botones y enlaces de teclado: anillo de foco visible y consistente */
:where(a, button, [role="button"], summary):focus-visible { outline: 3px solid #FF9E3A; outline-offset: 3px; border-radius: 6px; }
.cy-icono-chip { font-size: 16px; line-height: 1; vertical-align: -3px; margin-right: 4px; }

/* ── Contraste de lectura (texto normal ≥ 4,5:1) ─────────────────────────────── */
.boton-sf-azul, .cy-invita__chat { background-color: #0872A0 !important; color: #FFFFFF !important; }
.boton-sf-azul:hover, .cy-invita__chat:hover { background-color: #065E84 !important; }
.boton-sf-azul, .cy-invita__chat { box-shadow: 0 4px 0 #054A69, 0 10px 18px -10px rgba(9, 41, 74, .6); }
.boton-sec-claro, a.boton-borde { color: #0A6E95; }
.dist-etiqueta { color: #A34E00 !important; }
footer a:not(.boton):not(.contacto) { color: #CFEFFF; }
footer a:not(.boton):not(.contacto):hover { color: #FFFFFF; }
.boton-linea { color: #0A6E95 !important; border-color: #0A6E95 !important; }
.boton-linea:hover { background-color: #0A6E95 !important; color: #FFFFFF !important; }
/* Celeste de acción con contraste suficiente para texto blanco y para texto sobre fondo claro */
:root { --sf-azul: #0872A0; --sf-azul-hover: #065E84; }

/* Campos de las páginas públicas (la app de pedidos conserva su propio estilo de campo) */
body:not(:has(#submitOrderBtn)) :is(input[type="text"], input[type="tel"], input[type="email"], input[type="number"],
  input[type="password"], input[type="search"], input:not([type]), select, textarea) {
  min-height: 48px; padding: 12px 14px; border: 2px solid #D5DFEA; border-radius: 12px; background-color: #FFFFFF; color: #09294A; font-size: 16px; }
body:not(:has(#submitOrderBtn)) :is(input, select, textarea):hover:not(:focus):not(:disabled) { border-color: #9DB3C9; }
body:not(:has(#submitOrderBtn)) :is(input, select, textarea):focus { outline: none; border-color: #1CAAD9; box-shadow: 0 0 0 4px rgba(28, 170, 217, .22); }
/* App de pedidos: mismo anillo de foco sobre sus campos */
#submitOrderBtn ~ * input:focus, body:has(#submitOrderBtn) :is(input, select, textarea):focus { box-shadow: 0 0 0 4px rgba(28, 170, 217, .22) !important; border-color: #1CAAD9 !important; }

/* Registro en el celular: el panel azul queda compacto para que el formulario se vea sin desplazarse */
@media (max-width: 899px) {
  .registro-lado { padding: 0; }
  .registro-lado .pegado { position: static; padding: 18px 18px 16px; }
  .registro-lado ul, .registro-lado figure { display: none; }
  .registro-lado h1 { font-size: 26px; margin-bottom: 6px; }
  .registro-lado .lead { font-size: 15px; margin-bottom: 0; }
}
