/* =========================================================
   Parador El Tipicón · Sitio público
   Paleta tomada del logo: amarillo, rojo y verde
   ========================================================= */
:root {
  --amarillo: #FFED00;
  --amarillo-2: #FFD400;
  --amarillo-suave: #FFF8C2;
  --rojo: #CC0A10;
  --rojo-2: #A3070C;
  --verde: #4EA52B;
  --verde-2: #3A8A1C;
  --verde-noche: #173B0C;
  --crema: #FFFBEA;
  --tinta: #1D2616;
  --gris: #5F6B57;
  --linea: #EDE7CF;
  --radio: 20px;
  --sombra: 0 10px 30px -12px rgba(29, 38, 22, .25);
  --sombra-hover: 0 22px 40px -16px rgba(29, 38, 22, .35);
  --fuente-titulo: 'Lilita One', 'Arial Black', sans-serif;
  --fuente: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; }
body {
  font-family: var(--fuente);
  color: var(--tinta);
  background: #fff;
  overflow-x: hidden;
}
a { color: var(--rojo); }
img { max-width: 100%; }

/* ---------- Tipografía ---------- */
.titulo, .titulo-xl, h1, .ed-titulo {
  font-family: var(--fuente-titulo);
  font-weight: 400;
  letter-spacing: .3px;
  line-height: 1.05;
}
.titulo { font-size: clamp(2rem, 4vw, 2.9rem); color: var(--tinta); margin: 0; text-transform: uppercase; }
.titulo-sm { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.titulo-xl { font-size: clamp(2.2rem, 4.5vw, 3.3rem); text-transform: uppercase; margin: 0; }
.titulo-xl span { color: var(--rojo); }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--rojo);
  margin-bottom: .5rem;
}
.eyebrow-amarillo { color: var(--amarillo); }

/* ---------- Botones ---------- */
.btn { white-space: nowrap; font-weight: 700; letter-spacing: .3px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; transition: all .2s ease; }
.btn-pill { border-radius: 999px; padding: .7rem 1.5rem; }
.btn-lg.btn-pill { padding: .9rem 1.9rem; font-size: 1rem; }
.btn-rojo { background: var(--rojo); color: #fff; border: 2px solid var(--rojo); text-transform: uppercase; font-size: .88rem; }
.btn-rojo:hover, .btn-rojo:focus { background: var(--rojo-2); border-color: var(--rojo-2); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 20px -8px rgba(204, 10, 16, .6); }
.btn-amarillo { background: var(--amarillo); color: var(--tinta); border: 2px solid var(--amarillo); text-transform: uppercase; font-size: .88rem; }
.btn-amarillo:hover, .btn-amarillo:focus { background: var(--amarillo-2); border-color: var(--amarillo-2); color: var(--tinta); transform: translateY(-2px); box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .35); }
.btn-verde { background: var(--verde); color: #fff; border: 2px solid var(--verde); text-transform: uppercase; font-size: .88rem; }
.btn-verde:hover, .btn-verde:focus { background: var(--verde-2); border-color: var(--verde-2); color: #fff; transform: translateY(-2px); }
.btn-outline-blanco { color: #fff; border: 2px solid rgba(255, 255, 255, .8); text-transform: uppercase; font-size: .88rem; }
.btn-outline-blanco:hover { background: #fff; color: var(--verde-noche); }
.btn-outline-verde { color: var(--verde-2); border: 2px solid var(--verde); text-transform: uppercase; font-size: .88rem; background: transparent; }
.btn-outline-verde:hover { background: var(--verde); color: #fff; }

/* ---------- Barra de anuncio ---------- */
.topbar {
  background: var(--rojo);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: .45rem 0;
}
.topbar-texto { text-align: center; }
.topbar-btn {
  align-items: center; gap: .4rem;
  background: var(--amarillo); color: var(--tinta);
  padding: .25rem .9rem; border-radius: 999px;
  text-decoration: none; font-size: .75rem;
}
.topbar-btn:hover { background: #fff; color: var(--rojo); }

/* ---------- Navegación ---------- */
.nav-tipicon {
  background: #fff;
  padding: .55rem 0;
  box-shadow: 0 2px 0 var(--amarillo), 0 6px 20px -10px rgba(0, 0, 0, .2);
  transition: padding .25s ease;
  z-index: 1030;
}
.nav-tipicon .navbar-brand { padding: 0; margin-right: 2rem; position: relative; height: 56px; width: 92px; }
.brand-logo {
  position: absolute; top: -6px; left: 0;
  width: 92px; height: 92px;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .35);
  transition: all .25s ease;
}
.nav-tipicon.compacta .brand-logo { width: 62px; height: 62px; top: -3px; }
.nav-tipicon .nav-link {
  font-weight: 800;
  text-transform: uppercase;
  font-size: .88rem;
  letter-spacing: .8px;
  color: var(--tinta);
  padding: .5rem 1rem !important;
  position: relative;
}
.nav-tipicon .nav-link::after {
  content: ''; position: absolute; left: 1rem; right: 1rem; bottom: .2rem;
  height: 3px; border-radius: 3px; background: var(--rojo);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-tipicon .nav-link:hover, .nav-tipicon .nav-link.active { color: var(--rojo); }
.nav-tipicon .nav-link:hover::after, .nav-tipicon .nav-link.active::after { transform: scaleX(1); }
.navbar-toggler { border: 0; font-size: 2rem; color: var(--tinta); padding: 0 .25rem; }
.navbar-toggler:focus { box-shadow: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  color: #fff;
  padding: 6.5rem 0 8rem;
  background:
    radial-gradient(circle at 85% 30%, rgba(255, 237, 0, .25), transparent 40%),
    radial-gradient(rgba(255, 255, 255, .08) 1.5px, transparent 1.6px) 0 0 / 22px 22px,
    linear-gradient(135deg, var(--verde) 0%, var(--verde-2) 45%, var(--verde-noche) 100%);
  overflow: hidden;
}
.hero.hero-foto {
  background:
    linear-gradient(100deg, rgba(23, 59, 12, .92) 0%, rgba(23, 59, 12, .7) 45%, rgba(23, 59, 12, .15) 100%),
    var(--hero-img) center / cover no-repeat;
}
.hero::before {
  content: '';
  position: absolute; right: -120px; top: -140px;
  width: 520px; height: 520px; border-radius: 50%;
  border: 50px solid rgba(255, 237, 0, .12);
}
.hero-eyebrow {
  display: inline-block;
  background: var(--amarillo); color: var(--rojo);
  font-weight: 800; text-transform: uppercase; letter-spacing: 2px; font-size: .78rem;
  padding: .4rem 1rem; border-radius: 999px; margin-bottom: 1.2rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-shadow: 0 4px 0 rgba(0, 0, 0, .15);
}
.hero .lead { font-size: 1.2rem; font-weight: 500; max-width: 540px; opacity: .95; margin-bottom: 2rem; }
.hero-datos { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 2.2rem; font-size: .92rem; font-weight: 600; opacity: .92; }
.hero-datos i { color: var(--amarillo); margin-right: .3rem; }
.hero-sello { position: relative; max-width: 420px; margin-left: auto; }
.hero-sello img {
  width: 100%; border-radius: 50%;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55), 0 0 0 12px rgba(255, 255, 255, .12);
  animation: flotar 6s ease-in-out infinite;
}
@keyframes flotar { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
.hero-proximo {
  position: absolute; left: -40px; bottom: 10px;
  display: flex; align-items: center; gap: .9rem;
  background: #fff; color: var(--tinta); text-decoration: none;
  padding: .7rem 1rem .7rem .7rem; border-radius: 18px;
  box-shadow: var(--sombra-hover); max-width: 320px;
  transition: transform .2s ease;
}
.hero-proximo:hover { transform: translateY(-3px); color: var(--tinta); }
.hp-fecha {
  background: var(--rojo); color: #fff; border-radius: 12px;
  width: 54px; height: 58px; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 800; letter-spacing: 1px;
}
.hp-fecha b { font-family: var(--fuente-titulo); font-weight: 400; font-size: 1.6rem; line-height: 1; letter-spacing: 0; }
.hp-txt { font-weight: 800; line-height: 1.2; font-size: .95rem; }
.hp-txt small { display: block; font-size: .7rem; color: var(--verde-2); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: .15rem; }
.hero-proximo > i { color: var(--rojo); font-size: 1.6rem; }
.hero-ola {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 70px;
  background: #fff;
  clip-path: ellipse(75% 100% at 50% 100%);
}

/* ---------- Secciones ---------- */
.seccion { padding: 5rem 0; }
.seccion-crema { background: var(--crema); }
.seccion-verde {
  background:
    radial-gradient(rgba(255, 255, 255, .07) 1.5px, transparent 1.6px) 0 0 / 22px 22px,
    linear-gradient(160deg, var(--verde-2), var(--verde-noche));
  color: #fff;
}
.seccion-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.link-mas { font-weight: 800; text-transform: uppercase; font-size: .85rem; letter-spacing: 1px; color: var(--rojo); text-decoration: none; align-items: center; gap: .4rem; }
.link-mas:hover { color: var(--rojo-2); }
.link-mas:hover i { transform: translateX(4px); }
.link-mas i { transition: transform .2s ease; }
.btn-flecha {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--linea); background: #fff; color: var(--tinta);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem;
  transition: all .2s ease;
}
.btn-flecha:hover { background: var(--amarillo); border-color: var(--amarillo); }

/* ---------- Placeholder sin foto ---------- */
.ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(rgba(255, 255, 255, .35) 1.5px, transparent 1.6px) 0 0 / 16px 16px,
    linear-gradient(135deg, var(--amarillo) 0%, var(--amarillo-2) 100%);
  color: var(--rojo);
  font-size: 3.4rem;
}
.ph-evento {
  background:
    radial-gradient(rgba(255, 255, 255, .12) 1.5px, transparent 1.6px) 0 0 / 18px 18px,
    linear-gradient(135deg, var(--verde) 0%, var(--verde-noche) 100%);
  color: var(--amarillo);
}

/* ---------- Tarjeta evento ---------- */
.card-evento {
  display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radio); overflow: hidden;
  text-decoration: none; color: var(--tinta);
  box-shadow: var(--sombra);
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
}
.card-evento:hover { transform: translateY(-6px); box-shadow: var(--sombra-hover); color: var(--tinta); }
.card-evento-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--crema); }
.card-evento-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card-evento:hover .card-evento-media img { transform: scale(1.06); }
.fecha-badge {
  position: absolute; left: 14px; top: 14px;
  background: var(--rojo); color: #fff;
  border-radius: 14px; width: 62px; padding: .45rem 0;
  display: flex; flex-direction: column; align-items: center;
  box-shadow: 0 8px 18px -6px rgba(0, 0, 0, .45);
  border: 3px solid #fff;
}
.fecha-badge .dia { font-family: var(--fuente-titulo); font-size: 1.75rem; line-height: 1; }
.fecha-badge .mes { font-size: .7rem; font-weight: 800; letter-spacing: 1.5px; }
.fecha-badge.grande { width: 84px; left: 20px; top: 20px; }
.fecha-badge.grande .dia { font-size: 2.4rem; }
.fecha-badge.grande .mes { font-size: .85rem; }
.cuando-badge {
  position: absolute; right: 14px; top: 14px;
  background: var(--amarillo); color: var(--tinta);
  font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  padding: .35rem .75rem; border-radius: 999px;
}
.cuando-badge.static { position: static; display: inline-block; margin-bottom: .8rem; }
.cuando-badge.gris { background: #e9e9e9; color: #666; }
.card-evento-body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card-evento-body h3 { font-family: var(--fuente-titulo); font-size: 1.45rem; text-transform: uppercase; margin-bottom: .6rem; line-height: 1.1; }
.card-evento-body .meta { display: flex; flex-wrap: wrap; gap: .35rem 1rem; font-size: .85rem; color: var(--gris); font-weight: 600; margin-bottom: 1rem; }
.card-evento-body .meta i { color: var(--verde); margin-right: .3rem; }
.card-evento-body .mas { margin-top: auto; font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--rojo); }
.card-evento-body .mas i { transition: transform .2s ease; display: inline-block; }
.card-evento:hover .mas i { transform: translateX(5px); }

/* Riel horizontal (como carrusel de ofertas) */
.riel {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3rem) / 3);
  gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .5rem .25rem 1.5rem; margin: 0 -.25rem;
  scrollbar-width: none;
}
.riel::-webkit-scrollbar { display: none; }
.riel-item { scroll-snap-align: start; }

.grid-eventos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-eventos.pasados .card-evento { opacity: .75; }
.grid-eventos.pasados .card-evento-media img, .grid-eventos.pasados .ph { filter: grayscale(.6); }
.grid-eventos.pasados .cuando-badge { background: #eee; color: #666; }

/* ---------- Banda amarilla ---------- */
.banda-amarilla {
  background:
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .18) 0 14px, transparent 14px 28px),
    var(--amarillo);
  padding: 3.5rem 0;
  border-top: 6px solid var(--rojo);
  border-bottom: 6px solid var(--verde);
  font-weight: 600;
  font-size: 1.02rem;
}

/* ---------- Categorías ---------- */
.grid-categorias { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.25rem; }
.tile-categoria {
  background: #fff; border-radius: var(--radio);
  padding: 1.8rem 1rem 1.5rem; text-align: center; text-decoration: none; color: var(--tinta);
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  border: 2px solid transparent;
  box-shadow: var(--sombra);
  transition: all .25s ease;
}
.tile-categoria:hover { transform: translateY(-6px); border-color: var(--amarillo); color: var(--tinta); }
.tile-icono {
  width: 76px; height: 76px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--amarillo); color: var(--rojo); font-size: 2rem;
  margin-bottom: .6rem;
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .08);
  transition: all .25s ease;
}
.tile-categoria:hover .tile-icono { background: var(--rojo); color: var(--amarillo); transform: rotate(-8deg) scale(1.05); }
.tile-categoria strong { font-weight: 800; line-height: 1.2; }
.tile-categoria small { color: var(--gris); font-weight: 600; }

/* ---------- Tarjeta plato ---------- */
.grid-platos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.card-plato {
  background: #fff; border-radius: var(--radio); overflow: hidden; cursor: pointer;
  box-shadow: var(--sombra);
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
  outline: none;
}
.card-plato:hover, .card-plato:focus-visible { transform: translateY(-6px); box-shadow: var(--sombra-hover); }
.card-plato:focus-visible { box-shadow: 0 0 0 3px var(--amarillo), var(--sombra-hover); }
.card-plato-media { position: relative; aspect-ratio: 1 / .8; overflow: hidden; }
.card-plato-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card-plato:hover .card-plato-media img { transform: scale(1.07); }
.chip-fav, .chip-agotado {
  position: absolute; left: 12px; top: 12px;
  font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .8px;
  padding: .3rem .7rem; border-radius: 999px;
}
.chip-fav { background: var(--rojo); color: #fff; }
.chip-agotado { left: auto; right: 12px; background: var(--tinta); color: #fff; }
.card-plato.agotado .card-plato-media img, .card-plato.agotado .ph { filter: grayscale(1); opacity: .7; }
.card-plato-body { padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.card-plato-body h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: .35rem; line-height: 1.25; }
.card-plato-body p { font-size: .87rem; color: var(--gris); margin-bottom: .9rem; line-height: 1.45; }
.card-plato-pie { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.precio {
  font-family: var(--fuente-titulo); font-size: 1.35rem; color: var(--rojo); letter-spacing: .3px;
}
.card-plato .ver {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--amarillo); color: var(--tinta);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem;
  transition: all .2s ease;
}
.card-plato:hover .ver { background: var(--verde); color: #fff; transform: rotate(90deg); }

/* ---------- Pasos reservar ---------- */
.paso {
  position: relative; text-align: center; height: 100%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radio);
  padding: 2.2rem 1.2rem 1.6rem;
  backdrop-filter: blur(4px);
  transition: transform .25s ease, background .25s ease;
}
.paso:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .13); }
.paso-num {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--rojo); color: #fff; font-family: var(--fuente-titulo); font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--verde-2);
}
.paso > i { font-size: 2.6rem; color: var(--amarillo); display: block; margin-bottom: .6rem; }
.paso h4 { font-family: var(--fuente-titulo); text-transform: uppercase; font-size: 1.3rem; margin-bottom: .4rem; }
.paso p { font-size: .9rem; opacity: .85; margin: 0; }

/* ---------- Ubicación ---------- */
.card-ubicacion {
  background: var(--crema); border-radius: var(--radio); padding: 2.5rem; height: 100%;
  border-left: 8px solid var(--amarillo);
}
.card-ubicacion .titulo { margin-bottom: 1.5rem; }
.lista-info { list-style: none; padding: 0; margin: 0 0 1.8rem; }
.lista-info li { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.1rem; font-weight: 600; }
.lista-info li > i {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px;
  background: var(--verde); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
}
.lista-info small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gris); font-weight: 800; }
.lista-info a { color: var(--tinta); text-decoration: none; }
.mapa { border-radius: var(--radio); overflow: hidden; height: 100%; min-height: 380px; box-shadow: var(--sombra); }
.mapa iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.mapa-ph {
  height: 100%; min-height: 380px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem;
  background:
    linear-gradient(rgba(78, 165, 43, .07) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(78, 165, 43, .07) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--crema);
  color: var(--verde-2); font-weight: 700; text-align: center; padding: 2rem;
}
.mapa-ph i { font-size: 4rem; color: var(--rojo); }

/* ---------- Encabezado de páginas internas ---------- */
.page-hero {
  position: relative;
  padding: 4.5rem 0 5rem;
  color: #fff; text-align: center;
  background:
    radial-gradient(rgba(255, 255, 255, .08) 1.5px, transparent 1.6px) 0 0 / 22px 22px,
    linear-gradient(135deg, var(--verde) 0%, var(--verde-noche) 100%);
  border-bottom: 8px solid var(--amarillo);
}
.page-hero-rojo {
  background:
    radial-gradient(rgba(255, 255, 255, .08) 1.5px, transparent 1.6px) 0 0 / 22px 22px,
    linear-gradient(135deg, var(--rojo) 0%, #6E0306 100%);
}
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); text-transform: uppercase; margin-bottom: .6rem; }
.page-hero p { font-size: 1.1rem; opacity: .92; max-width: 560px; margin: 0 auto; }
.buscador { position: relative; max-width: 520px; margin: 2rem auto 0; }
.buscador i { position: absolute; left: 1.3rem; top: 50%; transform: translateY(-50%); color: var(--gris); font-size: 1.1rem; }
.buscador input {
  width: 100%; border: 0; border-radius: 999px;
  padding: 1rem 1.4rem 1rem 3.2rem;
  font-weight: 600; font-size: 1rem; color: var(--tinta);
  box-shadow: 0 15px 30px -12px rgba(0, 0, 0, .4);
  outline: 3px solid transparent; transition: outline-color .2s ease;
}
.buscador input:focus { outline-color: var(--amarillo); }

/* ---------- Menú: pestañas de categorías ---------- */
.menu-tabs {
  position: sticky; top: 74px; z-index: 1020;
  background: #fff; border-bottom: 1px solid var(--linea);
  box-shadow: 0 8px 16px -14px rgba(0, 0, 0, .3);
}
.menu-tabs-riel { display: flex; gap: .5rem; overflow-x: auto; padding: .9rem 0; scrollbar-width: none; }
.menu-tabs-riel::-webkit-scrollbar { display: none; }
.menu-tab {
  flex-shrink: 0; white-space: nowrap;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem 1.1rem; border-radius: 999px;
  background: var(--crema); color: var(--tinta);
  font-weight: 700; font-size: .88rem; text-decoration: none;
  border: 2px solid transparent; transition: all .2s ease;
}
.menu-tab i { color: var(--rojo); }
.menu-tab:hover { border-color: var(--amarillo); color: var(--tinta); }
.menu-tab.activo { background: var(--rojo); color: #fff; }
.menu-tab.activo i { color: var(--amarillo); }

.menu-categoria { margin-bottom: 3.5rem; }
.menu-categoria-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; padding-bottom: 1rem; border-bottom: 3px dashed var(--linea); }
.mc-icono {
  width: 60px; height: 60px; border-radius: 18px; flex-shrink: 0;
  background: var(--amarillo); color: var(--rojo);
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
  transform: rotate(-6deg);
}
.menu-categoria-head h2 { font-family: var(--fuente-titulo); text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; line-height: 1.1; }
.menu-categoria-head p { margin: .15rem 0 0; color: var(--gris); font-weight: 500; }

/* ---------- Modal plato ---------- */
.modal-plato { border: 0; border-radius: 26px; overflow: hidden; }
.modal-plato-media { height: 100%; min-height: 320px; }
.modal-plato-media img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 320px; }
.modal-plato-media .ph { min-height: 320px; font-size: 5rem; }
.modal-plato-body { padding: 2.5rem 2.2rem; display: flex; flex-direction: column; height: 100%; justify-content: center; }
.modal-plato-body h3 { font-family: var(--fuente-titulo); text-transform: uppercase; font-size: 2rem; line-height: 1.1; margin-bottom: .8rem; }
.modal-plato-body p { color: var(--gris); font-size: 1rem; }
.precio-grande { font-family: var(--fuente-titulo); font-size: 2.2rem; color: var(--rojo); }
.alerta-agotado { margin-top: .6rem; background: #f4f4f4; border-radius: 12px; padding: .6rem .9rem; font-weight: 700; font-size: .9rem; color: #555; }
.btn-close-modal {
  position: absolute; right: 14px; top: 14px; z-index: 5;
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: #fff; color: var(--tinta); font-size: 1rem;
  box-shadow: 0 6px 14px -4px rgba(0, 0, 0, .3);
}
.btn-close-modal:hover { background: var(--amarillo); }

/* ---------- Eventos: principal y detalle ---------- */
.evento-principal {
  display: grid; grid-template-columns: 1.15fr 1fr;
  background: #fff; border-radius: 28px; overflow: hidden;
  box-shadow: var(--sombra-hover); text-decoration: none; color: var(--tinta);
  transition: transform .25s ease;
}
.evento-principal:hover { transform: translateY(-4px); color: var(--tinta); }
.ep-media { min-height: 380px; }
.ep-media img { width: 100%; height: 100%; object-fit: cover; }
.ep-media .ph { font-size: 6rem; }
.ep-body { padding: 3rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.ep-body h2 { font-family: var(--fuente-titulo); text-transform: uppercase; font-size: clamp(2rem, 3.5vw, 2.8rem); line-height: 1.05; margin-bottom: 1rem; }
.ep-meta { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-direction: column; gap: .35rem; font-weight: 700; }
.ep-meta i { color: var(--verde); margin-right: .5rem; }
.ep-body p { color: var(--gris); margin-bottom: 1.6rem; }

.evento-detalle { padding: 3rem 0 5rem; }
.volver { font-weight: 800; text-transform: uppercase; font-size: .82rem; letter-spacing: 1px; color: var(--gris); text-decoration: none; }
.volver:hover { color: var(--rojo); }
.ed-media { position: relative; border-radius: 26px; overflow: hidden; box-shadow: var(--sombra-hover); background: var(--crema); }
.ed-media.sin-img { aspect-ratio: 4 / 3; }
.ed-media img { width: 100%; height: auto; display: block; }
.ed-media .ph { font-size: 7rem; }
.ed-titulo { font-size: clamp(2.2rem, 4.5vw, 3.4rem); text-transform: uppercase; margin-bottom: 1.6rem; }
.ed-descripcion { font-size: 1.02rem; line-height: 1.7; color: #3d4636; border-top: 3px dashed var(--linea); padding-top: 1.3rem; }

/* ---------- CTA roja ---------- */
.cta-roja {
  background:
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .05) 0 14px, transparent 14px 28px),
    var(--rojo);
  color: #fff; padding: 3rem 0;
}
.cta-roja h2 { font-family: var(--fuente-titulo); text-transform: uppercase; font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: .2rem; }

/* ---------- Vacío ---------- */
.vacio { text-align: center; padding: 3.5rem 1rem; background: var(--crema); border-radius: var(--radio); color: var(--gris); font-weight: 600; }
.vacio i { font-size: 3.2rem; color: var(--verde); display: block; margin-bottom: .6rem; }

/* ---------- Footer ---------- */
.footer { background: var(--verde-noche); color: rgba(255, 255, 255, .78); padding: 0 0 1.5rem; position: relative; }
.footer-franja { display: flex; height: 8px; margin-bottom: 4rem; }
.footer-franja span:nth-child(1) { flex: 2; background: var(--amarillo); }
.footer-franja span:nth-child(2) { flex: 1; background: var(--rojo); }
.footer-franja span:nth-child(3) { flex: 2; background: var(--verde); }
.footer-logo { width: 110px; height: 110px; border-radius: 50%; background: #fff; padding: 3px; }
.footer-texto { font-size: .92rem; line-height: 1.7; max-width: 340px; }
.footer-titulo { font-family: var(--fuente-titulo); color: var(--amarillo); text-transform: uppercase; font-size: 1.15rem; letter-spacing: .5px; margin-bottom: 1.1rem; font-weight: 400; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .65rem; font-size: .93rem; }
.footer-links a { color: rgba(255, 255, 255, .78); text-decoration: none; transition: color .2s ease; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--amarillo); }
.footer-contacto li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contacto i { color: var(--amarillo); margin-top: .1rem; }
.footer-redes { display: flex; gap: .6rem; }
.footer-redes a {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem;
  transition: all .2s ease;
}
.footer-redes a:hover { background: var(--amarillo); color: var(--rojo); transform: translateY(-3px); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 3.5rem; padding-top: 1.5rem; font-size: .84rem;
}
.footer-bottom strong { color: #fff; }

/* ---------- WhatsApp flotante ---------- */
.wa-flotante {
  position: fixed; right: 22px; bottom: 22px; z-index: 1040;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; font-size: 1.9rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, .45);
  transition: transform .2s ease;
}
.wa-flotante::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 3px solid #25D366; animation: pulso 2s infinite;
}
@keyframes pulso { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-flotante:hover { transform: scale(1.08); color: #fff; }

/* ---------- Animación de aparición ---------- */
.revelar { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.revelar.visible { opacity: 1; transform: none; }

/* ---------- Menú: categorías con imagen grande ---------- */
.grid-menu-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.cat-banner {
  position: relative; display: block; overflow: hidden;
  border-radius: 26px; aspect-ratio: 16 / 11;
  color: #fff; text-decoration: none;
  box-shadow: var(--sombra);
  isolation: isolate;
  transition: transform .3s ease, box-shadow .3s ease;
}
.cat-banner:hover { transform: translateY(-6px); box-shadow: var(--sombra-hover); color: #fff; }
.cat-banner-media { position: absolute; inset: 0; z-index: -2; }
.cat-banner-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.cat-banner:hover .cat-banner-media img { transform: scale(1.07); }
.cat-banner::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15, 35, 8, 0) 30%, rgba(15, 35, 8, .55) 60%, rgba(15, 35, 8, .92) 100%);
}
/* Sin foto: fondo de la marca con el ícono grande */
.cat-banner-ph {
  width: 100%; height: 100%;
  display: flex; align-items: flex-start; justify-content: flex-end;
  padding: 1.5rem 2rem; overflow: hidden;
}
.cat-banner-ph i { font-size: clamp(9rem, 18vw, 15rem); line-height: 1; opacity: .9; transform: rotate(-10deg) translate(8%, -6%); transition: transform .5s ease; }
.cat-banner:hover .cat-banner-ph i { transform: rotate(0deg) translate(8%, -6%) scale(1.05); }
.tono-0 .cat-banner-ph { background: radial-gradient(rgba(255, 255, 255, .1) 1.5px, transparent 1.6px) 0 0 / 20px 20px, linear-gradient(135deg, var(--verde), var(--verde-noche)); color: var(--amarillo); }
.tono-1 .cat-banner-ph { background: radial-gradient(rgba(255, 255, 255, .1) 1.5px, transparent 1.6px) 0 0 / 20px 20px, linear-gradient(135deg, var(--rojo), #6E0306); color: var(--amarillo); }
.tono-2 .cat-banner-ph { background: radial-gradient(rgba(255, 255, 255, .35) 1.5px, transparent 1.6px) 0 0 / 20px 20px, linear-gradient(135deg, var(--amarillo), var(--amarillo-2)); color: var(--rojo); }

.cat-banner-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 2.2rem; }
.cat-banner-count {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--amarillo); color: var(--tinta);
  font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  padding: .35rem .8rem; border-radius: 999px; margin-bottom: .8rem;
}
.cat-banner-count i { color: var(--rojo); }
.cat-banner h2 {
  font-family: var(--fuente-titulo); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1; margin: 0 0 .4rem;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .35);
}
.cat-banner p { margin: 0 0 1.1rem; font-weight: 500; opacity: .92; max-width: 440px; }
.cat-banner-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff; color: var(--rojo);
  font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .8px;
  padding: .65rem 1.3rem; border-radius: 999px;
  transition: all .25s ease;
}
.cat-banner:hover .cat-banner-btn { background: var(--rojo); color: #fff; }
.cat-banner-btn i { transition: transform .25s ease; }
.cat-banner:hover .cat-banner-btn i { transform: translateX(4px); }

/* Versión pequeña (otras categorías) */
.riel-cats { grid-auto-columns: calc((100% - 4.5rem) / 4); }
.cat-banner-sm { aspect-ratio: 4 / 3.4; border-radius: 20px; }
.cat-banner-sm .cat-banner-info { padding: 1.2rem 1.3rem; }
.cat-banner-sm h2 { font-size: 1.5rem; margin-bottom: .7rem; }
.cat-banner-sm .cat-banner-btn { padding: .45rem .95rem; font-size: .72rem; }
.cat-banner-sm .cat-banner-ph i { font-size: 7.5rem; }

/* Encabezado de una categoría */
.cat-hero {
  position: relative; color: #fff;
  padding: 3rem 0 3.5rem;
  background:
    radial-gradient(rgba(255, 255, 255, .08) 1.5px, transparent 1.6px) 0 0 / 22px 22px,
    linear-gradient(135deg, var(--verde) 0%, var(--verde-noche) 100%);
  border-bottom: 8px solid var(--amarillo);
}
.cat-hero.con-foto {
  padding: 7rem 0 3.5rem;
  background:
    linear-gradient(180deg, rgba(15, 35, 8, .25) 0%, rgba(15, 35, 8, .85) 100%),
    var(--cat-img) center / cover no-repeat;
}
.migas { display: flex; align-items: center; gap: .6rem; font-size: .85rem; font-weight: 700; margin-bottom: 1.4rem; }
.migas a { color: var(--amarillo); text-decoration: none; }
.migas a:hover { color: #fff; }
.migas > i { font-size: .7rem; opacity: .7; }
.cat-hero-fila { display: flex; align-items: center; gap: 1.3rem; }
.cat-hero-icono {
  width: 84px; height: 84px; border-radius: 24px; flex-shrink: 0;
  background: var(--amarillo); color: var(--rojo);
  display: flex; align-items: center; justify-content: center; font-size: 2.6rem;
  transform: rotate(-6deg); box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .5);
}
.cat-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); text-transform: uppercase; margin: 0; text-shadow: 0 4px 0 rgba(0, 0, 0, .15); }
.cat-hero p { font-size: 1.1rem; margin: .3rem 0 0; opacity: .92; }

.menu-tab-todas { background: var(--tinta); color: #fff; }
.menu-tab-todas i { color: var(--amarillo); }
.menu-tab-todas:hover { color: #fff; border-color: var(--tinta); }
.menu-tabs .menu-tabs-riel { flex: 1; min-width: 0; }

.filtro-cat { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.buscador-sm { margin: 0; max-width: 340px; width: 100%; }
.buscador-sm input { padding: .75rem 1.2rem .75rem 2.9rem; font-size: .92rem; box-shadow: none; background: var(--crema); outline: 2px solid var(--linea); }
.buscador-sm i { left: 1.1rem; }
.buscador-btn {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--rojo); color: #fff; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.buscador-btn i { position: static; transform: none; color: #fff; }
.buscador-btn:hover { background: var(--rojo-2); }
.page-hero-sm { padding: 3.5rem 0 4rem; }

@media (max-width: 991.98px) {
  .riel-cats { grid-auto-columns: calc((100% - 1.5rem) / 2); }
  .cat-banner-info { padding: 1.6rem 1.7rem; }
}
@media (max-width: 767.98px) {
  .grid-menu-cats { grid-template-columns: 1fr; gap: 1.2rem; }
  .cat-banner { aspect-ratio: 4 / 3.3; border-radius: 22px; }
  .cat-banner-info { padding: 1.4rem 1.4rem; }
  .cat-banner p { font-size: .92rem; margin-bottom: .9rem; }
  .riel-cats { grid-auto-columns: 62%; }
  .cat-banner-sm { aspect-ratio: 1 / 1; }
  .cat-banner-sm h2 { font-size: 1.25rem; }
  .cat-hero.con-foto { padding-top: 5rem; }
  .cat-hero-icono { width: 64px; height: 64px; font-size: 2rem; border-radius: 18px; }
  .filtro-cat .buscador-sm { max-width: none; }
}

/* ---------- Carrusel de portada (v1.2) ---------- */
.seccion-carrusel { padding: .5rem 0 0; }
.carrusel-tipicon { border-radius: 28px; overflow: hidden; box-shadow: var(--sombra-hover); background: var(--verde-noche); }
.carrusel-tipicon .carousel-item { position: relative; height: clamp(400px, 40vw, 540px); }
.carrusel-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.carrusel-capa {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(15, 35, 8, .9) 0%, rgba(15, 35, 8, .6) 40%, rgba(15, 35, 8, .05) 75%);
}
.alinear-centro .carrusel-capa {
  background: radial-gradient(ellipse at center, rgba(15, 35, 8, .55) 0%, rgba(15, 35, 8, .75) 100%);
}
.carrusel-texto {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  max-width: 660px; padding: 3rem 5rem; color: #fff;
}
.alinear-centro .carrusel-texto { align-items: center; text-align: center; margin: 0 auto; max-width: 780px; }
.alinear-centro .carrusel-texto .d-flex { justify-content: center; }
.carrusel-etiqueta {
  display: inline-block; background: var(--amarillo); color: var(--rojo);
  font-size: .75rem; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase;
  padding: .4rem .95rem; border-radius: 999px; margin-bottom: 1rem;
}
.carrusel-texto h2 {
  font-family: var(--fuente-titulo); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.1rem, 4.4vw, 3.7rem); line-height: 1.02; margin: 0 0 .8rem;
  text-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}
.carrusel-texto p { font-size: 1.12rem; font-weight: 500; opacity: .95; margin: 0 0 1.6rem; max-width: 520px; }
.alinear-centro .carrusel-texto p { margin-left: auto; margin-right: auto; }

.carrusel-tipicon .carousel-indicators { margin-bottom: 1.2rem; z-index: 3; }
.carrusel-tipicon .carousel-indicators [data-bs-target] {
  width: 10px; height: 10px; border-radius: 999px; border: 0; margin: 0 4px;
  background: #fff; opacity: .55; transition: all .3s ease;
}
.carrusel-tipicon .carousel-indicators .active { width: 34px; background: var(--amarillo); opacity: 1; }
.carrusel-tipicon .carousel-control-prev, .carrusel-tipicon .carousel-control-next { width: 76px; opacity: 1; z-index: 3; }
.carrusel-tipicon .carousel-control-prev span, .carrusel-tipicon .carousel-control-next span {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .35);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #fff;
  transition: all .2s ease;
}
.carrusel-tipicon .carousel-control-prev:hover span, .carrusel-tipicon .carousel-control-next:hover span { background: var(--amarillo); border-color: var(--amarillo); color: var(--tinta); }

@media (max-width: 991.98px) {
  /* Logo visible en el celular, arriba del texto */
  .hero { padding: 2.2rem 0 6rem; }
  .hero-texto { text-align: center; }
  .hero-texto .d-flex, .hero-datos { justify-content: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-sello { max-width: none; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
  .hero-sello img { width: 230px; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .55), 0 0 0 8px rgba(255, 255, 255, .12); }
  .hero-proximo { position: relative; left: auto; bottom: auto; margin-top: -22px; max-width: 320px; }
  .carrusel-texto { padding: 2.5rem 4.5rem; }
}
@media (max-width: 767.98px) {
  .hero-sello img { width: 190px; }
  .hero h1 { font-size: clamp(2.3rem, 10vw, 3rem); }
  .carrusel-tipicon { border-radius: 22px; }
  .carrusel-tipicon .carousel-item { height: auto; aspect-ratio: 4 / 5; max-height: 560px; }
  .carrusel-capa, .alinear-centro .carrusel-capa {
    background: linear-gradient(180deg, rgba(15, 35, 8, .05) 20%, rgba(15, 35, 8, .7) 55%, rgba(15, 35, 8, .95) 100%);
  }
  .carrusel-texto, .alinear-centro .carrusel-texto {
    justify-content: flex-end; align-items: flex-start; text-align: left;
    padding: 1.6rem 1.4rem 3.2rem; max-width: none;
  }
  .alinear-centro .carrusel-texto { align-items: center; text-align: center; }
  .carrusel-texto p { font-size: .98rem; margin-bottom: 1.2rem; }
  .carrusel-texto .btn-pill { padding: .65rem 1.2rem; font-size: .8rem; }
  .carrusel-tipicon .carousel-control-prev, .carrusel-tipicon .carousel-control-next { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .grid-platos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991.98px) {
  html { scroll-padding-top: 130px; }
  .nav-tipicon .navbar-brand { height: 48px; width: 70px; }
  .brand-logo, .nav-tipicon.compacta .brand-logo { width: 70px; height: 70px; top: -6px; }
  .navbar-collapse { padding: 1.5rem 0 .5rem; }
  .nav-tipicon .nav-link::after { display: none; }
  .navbar-collapse .btn { width: 100%; margin-top: .8rem; }
  .hero { padding: 4.5rem 0 6rem; }
  .riel { grid-auto-columns: calc((100% - 1.5rem) / 2); }
  .grid-eventos { grid-template-columns: repeat(2, 1fr); }
  .evento-principal { grid-template-columns: 1fr; }
  .ep-media { min-height: 0; aspect-ratio: 16 / 9; }
  .ep-media .ph { font-size: 4rem; }
  .ep-body { padding: 2rem; }
  .menu-tabs { top: 66px; }
  .modal-plato-body { padding: 2rem 1.6rem; }
}
@media (max-width: 767.98px) {
  .seccion { padding: 3.5rem 0; }
  .grid-platos { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .card-plato-body { padding: .9rem; }
  .card-plato-body h3 { font-size: .95rem; }
  .card-plato-body p { display: none; }
  .precio { font-size: 1.15rem; }
  .card-plato .ver { width: 30px; height: 30px; font-size: .9rem; }
  .riel { grid-auto-columns: 82%; }
  .grid-eventos { grid-template-columns: 1fr; }
  .grid-categorias { grid-template-columns: repeat(2, 1fr); gap: .9rem; }
  .tile-icono { width: 64px; height: 64px; font-size: 1.7rem; }
  .card-ubicacion { padding: 1.8rem; }
  .mapa, .mapa iframe, .mapa-ph { min-height: 280px; }
  .modal-plato-media, .modal-plato-media img, .modal-plato-media .ph { min-height: 220px; max-height: 260px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .wa-flotante { width: 54px; height: 54px; font-size: 1.6rem; right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .revelar { opacity: 1; transform: none; }
}

/* ---------- Carrusel: diapositiva sin imagen (v1.3) ---------- */
.carrusel-tipicon .carousel-item.sin-imagen {
  background:
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .2) 0 16px, transparent 16px 32px),
    var(--amarillo);
}
.carousel-item.sin-imagen::before {
  content: ''; position: absolute; right: -90px; top: 50%; transform: translateY(-50%);
  width: 460px; height: 460px; border-radius: 50%;
  background: url('../img/logo.png') center / contain no-repeat;
  opacity: .95; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .45);
}
.carousel-item.sin-imagen.alinear-centro::before { opacity: .12; right: 50%; transform: translate(50%, -50%); box-shadow: none; }
.carousel-item.sin-imagen .carrusel-capa { display: none; }
.carousel-item.sin-imagen .carrusel-texto { color: var(--tinta); max-width: 700px; }
.carousel-item.sin-imagen .carrusel-texto h2 { text-shadow: none; color: var(--tinta); }
.carousel-item.sin-imagen .carrusel-texto p { opacity: 1; font-weight: 600; max-width: 560px; }
.carousel-item.sin-imagen .carrusel-etiqueta { background: var(--rojo); color: #fff; }
.carrusel-tipicon .carousel-indicators [data-bs-target] { box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
.carrusel-tipicon .carousel-item.sin-imagen { border-bottom: 6px solid var(--verde); }

@media (max-width: 991.98px) {
  .carousel-item.sin-imagen::before { width: 340px; height: 340px; right: -110px; opacity: .35; box-shadow: none; }
}
@media (max-width: 767.98px) {
  .carousel-item.sin-imagen::before { width: 300px; height: 300px; top: 26%; right: -90px; opacity: .16; box-shadow: none; }
  .carousel-item.sin-imagen.alinear-centro::before { top: 30%; right: 50%; opacity: .16; }
  .carousel-item.sin-imagen .carrusel-texto { justify-content: flex-end; }
}

/* ---------- Carrusel a todo el ancho, pegado bajo la curva (v1.4) ---------- */
:root { --curva: 70px; }
.hero.con-carrusel .hero-ola { display: none; }
.seccion-carrusel { padding: 0; margin-top: calc(var(--curva) * -1); position: relative; z-index: 2; }
.carrusel-tipicon {
  border-radius: 0; box-shadow: none;
  /* El borde superior sigue la misma curva de la portada */
  -webkit-mask:
    radial-gradient(75% var(--curva) at 50% var(--curva), #000 calc(100% - 1px), transparent 100%) top / 100% var(--curva) no-repeat,
    linear-gradient(#000 0 0) 0 var(--curva) / 100% calc(100% - var(--curva)) no-repeat;
          mask:
    radial-gradient(75% var(--curva) at 50% var(--curva), #000 calc(100% - 1px), transparent 100%) top / 100% var(--curva) no-repeat,
    linear-gradient(#000 0 0) 0 var(--curva) / 100% calc(100% - var(--curva)) no-repeat;
}
.carrusel-tipicon .carousel-item { height: clamp(520px, 44vw, 660px); }
.carrusel-contenedor { position: relative; z-index: 2; height: 100%; padding-top: var(--curva); }
.carrusel-texto { padding: 3rem 0 3.6rem; max-width: 620px; }
.alinear-centro .carrusel-texto { max-width: 780px; margin: 0 auto; }
.carrusel-tipicon .carousel-control-prev,
.carrusel-tipicon .carousel-control-next { padding-top: var(--curva); width: 90px; }
.carrusel-tipicon .carousel-indicators { margin-bottom: 1.6rem; }
.carrusel-tipicon .carousel-item.sin-imagen { border-bottom: 0; }
.carousel-item.sin-imagen::before { right: 7%; top: calc(50% + var(--curva) / 2); width: 440px; height: 440px; }
.seccion-carrusel + .seccion { padding-top: 4.5rem; }

@media (max-width: 1199.98px) {
  .carousel-item.sin-imagen::before { right: 3%; width: 380px; height: 380px; }
}
@media (max-width: 991.98px) {
  .carrusel-texto { padding: 2.5rem 0 3.4rem; max-width: 560px; }
  .carousel-item.sin-imagen::before { right: -80px; width: 340px; height: 340px; }
}
@media (max-width: 767.98px) {
  :root { --curva: 50px; }
  .carrusel-tipicon { border-radius: 0; }
  .carrusel-tipicon .carousel-item { aspect-ratio: auto; max-height: none; height: 600px; }
  .carrusel-texto, .alinear-centro .carrusel-texto { padding: 1.5rem 0 3.4rem; max-width: none; }
  .carousel-item.sin-imagen::before { right: -70px; top: 34%; width: 300px; height: 300px; }
  .carousel-item.sin-imagen.alinear-centro::before { right: 50%; }
  .seccion-carrusel + .seccion { padding-top: 3.5rem; }
}