/* Burbujas: tres fotos redondas de distintos tamaños flotan suavemente en la cabecera sobre un degradado alegre */
:root{ --fondo:#fff9f4; --acento:#e4572e; --cab-fondo:#ffb703; --cab-texto:#1d3557; --menu-fondo:#1d3557; --menu-texto:#f1faee; --menu-activo:#ffb703; --menu-activo-texto:#1d3557;
  --pie-fondo:#1d3557; --radio:24px; --borde:#f3e6da; }

.cab{ overflow:hidden; background:radial-gradient(circle at 80% 20%,#ffd166,transparent 50%),linear-gradient(120deg,#ffb703,#fb8500); }
.cab::before, .cab::after, .cab-in::after{ content:""; position:absolute; border-radius:50%; background-size:cover; background-position:center; border:6px solid #fff; box-shadow:0 12px 30px rgba(0,0,0,.2); }
.cab::before{ width:250px; height:250px; right:9%; top:40px; background-image:url(fotos/burbuja1.jpg); animation:flotar 6s ease-in-out infinite; }
.cab::after{ width:150px; height:150px; right:32%; top:170px; background-image:url(fotos/burbuja2.jpg); animation:flotar 7s ease-in-out infinite reverse; }
.cab-in::after{ width:100px; height:100px; right:calc(27% - 20px); top:30px; background-image:url(fotos/burbuja3.jpg); animation:flotar 5s ease-in-out infinite; }
@keyframes flotar{ 50%{ transform:translateY(-12px); } }
/* Foto propia del centro (cabecera.jpg): va en la burbuja grande y las otras dos se quedan */
.cab.con-imagen{ background-image:radial-gradient(circle at 80% 20%,#ffd166,transparent 50%),linear-gradient(120deg,#ffb703,#fb8500) !important; }
.cab.con-imagen::before{ inset:auto; width:250px; height:250px; right:9%; top:40px; border:6px solid #fff; border-radius:50%; box-shadow:0 12px 30px rgba(0,0,0,.2);
  background:var(--foto-centro) center/cover; animation:flotar 6s ease-in-out infinite; }
.cab.con-imagen .marca-nombre, .cab.con-imagen .lema{ color:#1d3557 !important; text-shadow:none; }
.cab-in, .cab.con-imagen .cab-in{ min-height:360px; display:flex; flex-direction:column; justify-content:center; padding-right:50%; }
.marca-nombre{ font-size:clamp(1.8rem,3.6vw,2.8rem); font-weight:800; }
.lema{ font-weight:600; }
.menu-lista{ justify-content:center; gap:6px; padding:6px 0; }
.menu-lista a{ border-radius:999px; }
.pagina{ border:0; border-radius:28px; }
.pagina-titulo{ color:#1d3557; }
.pagina-titulo::before{ content:""; display:inline-block; width:18px; height:18px; border-radius:50%; background:#fb8500; margin-right:10px; box-shadow:26px 0 0 -4px #ffb703,46px 0 0 -7px #219ebc; vertical-align:middle; }
.pagina-titulo{ padding-left:0; }
.caja{ border:0; border-radius:24px; }
.caja h3{ color:#e4572e; }
@media (max-width:860px){
  .cab::before, .cab.con-imagen::before{ width:120px; height:120px; right:14px; top:20px; } .cab::after{ width:80px; height:80px; right:130px; top:90px; } .cab-in::after{ display:none; }
  .cab-in, .cab.con-imagen .cab-in{ min-height:260px; padding:150px 20px 24px; justify-content:flex-end; }
}
@media (prefers-reduced-motion:reduce){ .cab::before, .cab::after, .cab-in::after{ animation:none; } }
