/*
  Skin temporal: Navidad
  Se carga después de styles.css y solo sobrescribe el diseño.
  Para quitarla, elimina el <link> de este archivo en index.html.
*/

:root {
  --red: #c8102e;
  --red-dark: #9e0b23;
  --black: #10241a;
  --surface: #f6f3ec;
  --surface-red: #fdecee;
  --surface-dark: #0a1710;
  --border: #e6dfd0;
  --border-dark: #3d5a48;
  --pino: #1e6b43;
  --pino-light: #2f9a5f;
  --dorado: #c9971c;
  --dorado-light: #f5c542;
  --guirnalda: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='30' viewBox='0 0 240 30'%3E%3Cpath d='M0 3Q30 17 60 3T120 3T180 3T240 3' fill='none' stroke='%231f5c3a' stroke-width='1.6'/%3E%3Cg fill='%23c9ccd1'%3E%3Crect x='28' y='9' width='4' height='3' rx='.6'/%3E%3Crect x='88' y='9' width='4' height='3' rx='.6'/%3E%3Crect x='148' y='9' width='4' height='3' rx='.6'/%3E%3Crect x='208' y='9' width='4' height='3' rx='.6'/%3E%3C/g%3E%3Cellipse cx='30' cy='16.5' rx='3.4' ry='5' fill='%23e30613'/%3E%3Cellipse cx='90' cy='16.5' rx='3.4' ry='5' fill='%2322a35a'/%3E%3Cellipse cx='150' cy='16.5' rx='3.4' ry='5' fill='%23f5c542'/%3E%3Cellipse cx='210' cy='16.5' rx='3.4' ry='5' fill='%239fd8ff'/%3E%3Cg fill='%23fff' opacity='.55'%3E%3Cellipse cx='28.8' cy='14.6' rx='.9' ry='1.6'/%3E%3Cellipse cx='88.8' cy='14.6' rx='.9' ry='1.6'/%3E%3Cellipse cx='148.8' cy='14.6' rx='.9' ry='1.6'/%3E%3Cellipse cx='208.8' cy='14.6' rx='.9' ry='1.6'/%3E%3C/g%3E%3C/svg%3E");
  --guirnalda-brillo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='30' viewBox='0 0 240 30'%3E%3Ccircle cx='30' cy='16.5' r='9' fill='%23ff4d5e' opacity='.32'/%3E%3Ccircle cx='150' cy='16.5' r='9' fill='%23ffd966' opacity='.36'/%3E%3C/svg%3E");
  --guirnalda-brillo-alt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='30' viewBox='0 0 240 30'%3E%3Ccircle cx='90' cy='16.5' r='9' fill='%2345d483' opacity='.32'/%3E%3Ccircle cx='210' cy='16.5' r='9' fill='%23bfe6ff' opacity='.38'/%3E%3C/svg%3E");
  --franja-navidad: repeating-linear-gradient(90deg,
      var(--red) 0 1.1rem,
      var(--pino) 1.1rem 2.2rem,
      var(--dorado-light) 2.2rem 3.3rem);
  --baston: repeating-linear-gradient(135deg,
      var(--red) 0 .55rem,
      #fff .55rem 1.1rem);
  --nieve-1: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .9) 0 1.6px, transparent 2.6px);
  --nieve-2: radial-gradient(circle at 65% 70%, rgba(255, 255, 255, .75) 0 2.4px, transparent 3.6px);
  --nieve-3: radial-gradient(circle at 80% 15%, rgba(255, 255, 255, .6) 0 1px, transparent 1.8px)
}

body {
  background: #fffdf8
}

a:focus-visible,
button:focus-visible,
.review-card[data-google-review]:focus-visible {
  outline-color: rgba(200, 16, 46, .4)
}

/* Navegación con guirnalda de luces */
.navbar {
  background: rgba(16, 36, 26, .95)
}

.navbar::before,
.navbar::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 30px;
  background-repeat: repeat-x;
  background-position: 0 0;
  background-size: 240px 30px;
  pointer-events: none
}

.navbar::after {
  background-image: var(--guirnalda);
  filter: drop-shadow(0 .3rem .35rem rgba(0, 0, 0, .18))
}

.navbar::before {
  background-image: var(--guirnalda-brillo), var(--guirnalda-brillo-alt);
  background-repeat: repeat-x;
  background-size: 240px 30px
}

@keyframes luces-parpadeo {

  0%,
  100% {
    opacity: .35
  }

  50% {
    opacity: 1
  }
}

.motion-ready .navbar::before {
  animation: luces-parpadeo 2.4s ease-in-out infinite
}

@media(max-width:575.98px) {

  .navbar::before,
  .navbar::after {
    height: 24px;
    background-size: 192px 24px
  }
}

/* Hero: noche nevada */
.hero-section::after {
  background-image:
    var(--nieve-1),
    var(--nieve-2),
    var(--nieve-3),
    radial-gradient(ellipse at 12% 100%, rgba(245, 197, 66, .28), transparent 55%),
    linear-gradient(90deg,
      rgba(8, 26, 17, .66) 0,
      rgba(16, 44, 29, .42) 45%,
      rgba(200, 16, 46, .12) 100%);
  background-size: 180px 180px, 260px 260px, 110px 110px, 100% 100%, 100% 100%;
  background-repeat: repeat, repeat, repeat, no-repeat, no-repeat
}

@media(max-width:767.98px) {
  .hero-section::after {
    background-image:
      var(--nieve-1),
      var(--nieve-2),
      var(--nieve-3),
      radial-gradient(ellipse at 10% 100%, rgba(245, 197, 66, .26), transparent 60%),
      linear-gradient(90deg,
        rgba(8, 26, 17, .72) 0,
        rgba(16, 44, 29, .55) 62%,
        rgba(200, 16, 46, .2) 100%)
  }
}

@media(max-width:575.98px) {
  .hero-section::after {
    background-image:
      var(--nieve-1),
      var(--nieve-2),
      var(--nieve-3),
      radial-gradient(ellipse at 10% 100%, rgba(245, 197, 66, .26), transparent 60%),
      linear-gradient(rgba(8, 26, 17, .6), rgba(8, 26, 17, .6))
  }
}

@keyframes nevada {
  from {
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0
  }

  to {
    background-position: 0 180px, 0 260px, 0 110px, 0 0, 0 0
  }
}

.motion-ready .hero-section::after {
  animation: nevada 14s linear infinite
}

/* Camino con esferas navideñas */
.hero-section::before {
  background-color: var(--black);
  background-image:
    radial-gradient(circle at 1.4rem 42%, var(--red) 0 .34rem, transparent .4rem),
    radial-gradient(circle at 2.9rem 66%, var(--dorado-light) 0 .2rem, transparent .26rem),
    radial-gradient(circle at 4.3rem 38%, var(--pino-light) 0 .26rem, transparent .32rem);
  background-position: 0 50%;
  background-size: 5.75rem 100%;
  border-top: 3px solid var(--dorado-light)
}

.hero-title span {
  color: var(--dorado-light)
}

/* Saludo de temporada */
@keyframes saludo-in {
  from {
    opacity: 0;
    transform: translateY(-.75rem)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.hero-section .container::before {
  content: "\2744  Feliz Navidad y próspero 2027  \2744";
  display: inline-block;
  margin-bottom: 1.4rem;
  padding: .45rem 1rem;
  color: #fff;
  font-family: var(--heading);
  font-size: clamp(.95rem, 1.6vw, 1.15rem);
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: pre-wrap;
  border: 1px solid rgba(245, 197, 66, .7);
  border-radius: 999px;
  background: rgba(158, 11, 35, .72);
  box-shadow: 0 0 1.5rem rgba(245, 197, 66, .25);
  animation: saludo-in .8s .2s both var(--ease-out)
}

@media(max-width:575.98px) {
  .hero-section .container::before {
    margin-bottom: 1.1rem;
    padding: .4rem .85rem;
    font-size: .85rem;
    letter-spacing: .05em
  }
}

@media(hover:hover) and (pointer:fine) {
  .hero-title:hover span {
    text-shadow: 0 .5rem 1.8rem rgba(245, 197, 66, .45)
  }

}

/* Franja de colores bajo los títulos */
.benefits-heading h2::after,
.courses-heading h2::after,
.process-intro h2::after,
.reels-heading h2::after,
.reviews-heading h2::after,
#ubicacion-title::after,
#faq-title::after,
.final-cta h2::after {
  content: "";
  display: block;
  width: 5.5rem;
  height: 6px;
  margin-top: 1rem;
  background: var(--franja-navidad)
}

.final-cta h2::after {
  margin-right: auto;
  margin-left: auto
}

/* Beneficios */
.benefit-item h3::before {
  content: "\2744";
  display: block;
  margin-bottom: .6rem;
  color: var(--red);
  font-size: 1.6rem;
  line-height: 1
}

.benefits-strip>div:nth-child(2) .benefit-item h3::before {
  content: "\2605";
  color: var(--dorado)
}

.benefits-strip>div:nth-child(3) .benefit-item h3::before {
  color: var(--pino)
}

.benefits-section .section-after-content {
  border-left-color: var(--red)
}

/* Tarjetas de cursos */
.price-card {
  border-top: 4px solid var(--red)
}

.swiper-slide:nth-child(3n+2) .price-card {
  border-top-color: var(--pino)
}

.swiper-slide:nth-child(3n) .price-card {
  border-top-color: var(--dorado-light)
}

.recommended-label {
  color: var(--black);
  background: var(--dorado-light)
}

.recommended-label::before {
  content: "\2605  "
}

.courses-note a,
.reviews-footer .google-link {
  border-bottom-color: rgba(200, 16, 46, .3)
}

/* Proceso */
.process-step:nth-child(3) .process-icon {
  color: #fff;
  background: var(--pino)
}

.process-link {
  border-bottom-color: rgba(200, 16, 46, .3)
}

/* Reels: noche de luces */
.reels-section {
  background:
    radial-gradient(ellipse at 85% 0, rgba(200, 16, 46, .22), transparent 50%),
    radial-gradient(ellipse at 10% 100%, rgba(245, 197, 66, .16), transparent 55%),
    var(--black)
}

.reel-frame {
  border-color: rgba(245, 197, 66, .35)
}

/* Opiniones */
.review-stars {
  color: var(--dorado)
}

/* Preguntas frecuentes */
.accordion-button:focus {
  box-shadow: 0 0 0 .25rem rgba(200, 16, 46, .14)
}

/* Cierre con guirnalda */
.final-cta {
  position: relative;
  background:
    radial-gradient(ellipse at 50% 115%, rgba(245, 197, 66, .4), transparent 60%),
    linear-gradient(165deg, #6e0718 0%, var(--red-dark) 50%, var(--red) 100%)
}

.final-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: var(--guirnalda) repeat-x 0 0 / 240px 30px;
  pointer-events: none
}

.final-cta .btn-light {
  color: var(--black)
}

/* Footer */
.footer-brand span,
.footer-contact-link:hover {
  color: var(--dorado-light)
}

.site-footer {
  border-top: 6px solid transparent;
  border-image: var(--baston) 1
}
