/* =========================================================
   ReaApex — Ambientación Navideña (100% Aislada)
   Todas las reglas están encapsuladas bajo .modo-navidad
   ========================================================= */

/* Variables locales del tema navideño */
.modo-navidad {
  --navidad-rojo: #d90429;
  --navidad-oro: #ffd700;
  --navidad-blanco: #ffffff;
  --navidad-hielo: #e0f7fa;
  --navidad-verde: #2dc653;
}

/* =========================================================
   1. NIEVE MINIMALISTA EN SEGUNDO PLANO (COPOS SVG CRISTALINOS)
   ========================================================= */
.modo-navidad .nieve-contenedor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
  transition: opacity 0.4s ease;
}

.modo-navidad .copo {
  position: absolute;
  top: -12%;
  display: block;
  /* Ocultar el carácter de texto para mostrar el cristal SVG geométrico de 6 puntas */
  font-size: 0 !important;
  color: transparent !important;
  text-shadow: none !important;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  user-select: none;
  pointer-events: none;
  will-change: transform;
  animation-name: navidadCaidaNieve;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* Cristal geométrico de 6 puntas ramificadas en azul hielo (#bae6fd y #7dd3fc) */
.modo-navidad .copo:nth-child(odd) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%237dd3fc' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg stroke-width='2.2'%3E%3Cline x1='32' y1='4' x2='32' y2='60'/%3E%3Cline x1='7.75' y1='18' x2='56.25' y2='46'/%3E%3Cline x1='7.75' y1='46' x2='56.25' y2='18'/%3E%3C/g%3E%3Cg stroke-width='1.8'%3E%3Cpath d='M26 11 L32 16 L38 11 M24 19 L32 25 L40 19 M26 53 L32 48 L38 53 M24 45 L32 39 L40 45'/%3E%3Cpath d='M26 11 L32 16 L38 11 M24 19 L32 25 L40 19 M26 53 L32 48 L38 53 M24 45 L32 39 L40 45' transform='rotate(60 32 32)'/%3E%3Cpath d='M26 11 L32 16 L38 11 M24 19 L32 25 L40 19 M26 53 L32 48 L38 53 M24 45 L32 39 L40 45' transform='rotate(120 32 32)'/%3E%3Cpolygon points='32,24 38.9,28 38.9,36 32,40 25.1,36 25.1,28' stroke='%23bae6fd' stroke-width='1.6'/%3E%3C/g%3E%3Ccircle cx='32' cy='32' r='2.5' fill='%23bae6fd'/%3E%3C/svg%3E");
  filter: drop-shadow(0 0 4px rgba(125, 211, 252, 0.35));
}

.modo-navidad .copo:nth-child(even) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23bae6fd' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg stroke-width='2'%3E%3Cline x1='32' y1='4' x2='32' y2='60'/%3E%3Cline x1='7.75' y1='18' x2='56.25' y2='46'/%3E%3Cline x1='7.75' y1='46' x2='56.25' y2='18'/%3E%3C/g%3E%3Cg stroke-width='1.7' stroke='%237dd3fc'%3E%3Cpath d='M27 10 L32 15 L37 10 M23 18 L32 24 L41 18 M27 54 L32 49 L37 54 M23 46 L32 40 L41 46'/%3E%3Cpath d='M27 10 L32 15 L37 10 M23 18 L32 24 L41 18 M27 54 L32 49 L37 54 M23 46 L32 40 L41 46' transform='rotate(60 32 32)'/%3E%3Cpath d='M27 10 L32 15 L37 10 M23 18 L32 24 L41 18 M27 54 L32 49 L37 54 M23 46 L32 40 L41 46' transform='rotate(120 32 32)'/%3E%3C/g%3E%3Ccircle cx='32' cy='32' r='3' stroke='%237dd3fc' stroke-width='1.6'/%3E%3C/svg%3E");
  filter: drop-shadow(0 0 4px rgba(186, 230, 253, 0.4));
}

@keyframes navidadCaidaNieve {
  0% {
    transform: translate3d(0, -12vh, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(18px, 50vh, 0) rotate(180deg);
  }
  100% {
    transform: translate3d(-12px, 112vh, 0) rotate(360deg);
  }
}

/* Distribución de copos SVG combinando tamaños y opacidades:
   - 4 grandes y delicados (48px a 68px, opacity: 0.35)
   - 7 medianos (22px a 32px, opacity: 0.45)
   - 5 pequeños (12px a 16px, opacity: 0.55) */
.modo-navidad .copo:nth-child(1)  { left: 4%;  width: 26px; height: 26px; opacity: 0.45; animation-duration: 18s; animation-delay: 0s; }
.modo-navidad .copo:nth-child(2)  { left: 10%; width: 54px; height: 54px; opacity: 0.35; animation-duration: 25s; animation-delay: -4s; }
.modo-navidad .copo:nth-child(3)  { left: 16%; width: 14px; height: 14px; opacity: 0.55; animation-duration: 15s; animation-delay: -7s; }
.modo-navidad .copo:nth-child(4)  { left: 22%; width: 30px; height: 30px; opacity: 0.45; animation-duration: 20s; animation-delay: -2s; }
.modo-navidad .copo:nth-child(5)  { left: 28%; width: 64px; height: 64px; opacity: 0.35; animation-duration: 28s; animation-delay: -11s; }
.modo-navidad .copo:nth-child(6)  { left: 35%; width: 16px; height: 16px; opacity: 0.55; animation-duration: 16s; animation-delay: -5s; }
.modo-navidad .copo:nth-child(7)  { left: 41%; width: 24px; height: 24px; opacity: 0.45; animation-duration: 19s; animation-delay: -13s; }
.modo-navidad .copo:nth-child(8)  { left: 48%; width: 12px; height: 12px; opacity: 0.55; animation-duration: 14s; animation-delay: -6s; }
.modo-navidad .copo:nth-child(9)  { left: 54%; width: 48px; height: 48px; opacity: 0.35; animation-duration: 24s; animation-delay: -3s; }
.modo-navidad .copo:nth-child(10) { left: 61%; width: 22px; height: 22px; opacity: 0.45; animation-duration: 17s; animation-delay: -9s; }
.modo-navidad .copo:nth-child(11) { left: 67%; width: 32px; height: 32px; opacity: 0.45; animation-duration: 21s; animation-delay: -5.5s; }
.modo-navidad .copo:nth-child(12) { left: 73%; width: 15px; height: 15px; opacity: 0.55; animation-duration: 15s; animation-delay: -12s; }
.modo-navidad .copo:nth-child(13) { left: 79%; width: 68px; height: 68px; opacity: 0.35; animation-duration: 29s; animation-delay: -8s; }
.modo-navidad .copo:nth-child(14) { left: 85%; width: 28px; height: 28px; opacity: 0.45; animation-duration: 19s; animation-delay: -10s; }
.modo-navidad .copo:nth-child(15) { left: 91%; width: 22px; height: 22px; opacity: 0.45; animation-duration: 18s; animation-delay: -1.5s; }
.modo-navidad .copo:nth-child(16) { left: 96%; width: 13px; height: 13px; opacity: 0.55; animation-duration: 14s; animation-delay: -6.5s; }

/* Optimización móvil: ocultar la mitad de los copos */
@media (max-width: 768px) {
  .modo-navidad .copo:nth-child(even) {
    display: none;
  }
}

/* =========================================================
   2. GUIRNALDA NAVIDEÑA FRONDOSA BAJO EL MENÚ SUPERIOR
   ========================================================= */
.modo-navidad .site-header {
  position: sticky;
  overflow: visible;
}

.modo-navidad .guirnalda-navidad,
.modo-navidad .guirnalda-luces {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 72px;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding: 0;
  margin: 0;
  list-style: none;
  pointer-events: none;
  overflow: visible;
  background: transparent;
  z-index: 1001;
}

/* Follaje denso de pino en SVG repetible (viewBox 0 0 360 72, curva M0,6 Q180,42 360,6) con 3 capas superpuestas */
.modo-navidad .guirnalda-navidad::before,
.modo-navidad .guirnalda-luces::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 100%;
  height: 72px;
  pointer-events: none;
  z-index: 0;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 72' width='360' height='72' fill='none'%3E%3C!-- 1. Capa base (volumen): trazo grueso en verde pino muy oscuro (%23052e16) --%3E%3Cpath d='M0,6 Q180,42 360,6' stroke='%23052e16' stroke-width='16' stroke-linecap='round'/%3E%3C!-- 2. Capa media (follaje): 45 pares de agujas inclinadas en %2314532d y %23166534 --%3E%3Cpath d='M4,7 L-4,0 M4,7 L0,17 M12,8 L4,1 M12,8 L8,19 M20,10 L12,2 M20,10 L16,21 M28,11 L20,3 M28,11 L24,22 M36,13 L28,5 M36,13 L32,24 M44,14 L36,6 M44,14 L40,25 M52,15 L44,7 M52,15 L48,26 M60,17 L52,9 M60,17 L56,28 M68,18 L60,10 M68,18 L64,29 M76,19 L68,11 M76,19 L72,30 M84,20 L76,12 M84,20 L80,31 M92,21 L84,13 M92,21 L88,32 M100,22 L92,14 M100,22 L96,33 M108,22 L100,14 M108,22 L104,34 M116,23 L108,15 M116,23 L112,34 M124,23 L116,15 M124,23 L120,35 M132,24 L124,16 M132,24 L128,35 M140,24 L132,16 M140,24 L136,36 M148,24 L140,16 M148,24 L144,36 M156,24 L148,16 M156,24 L152,36 M164,24 L156,16 M164,24 L160,36 M172,24 L164,16 M172,24 L168,36 M180,24 L173,15 M180,24 L180,37' stroke='%2314532d' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M188,24 L196,16 M188,24 L192,36 M196,24 L204,16 M196,24 L200,36 M204,24 L212,16 M204,24 L208,36 M212,24 L220,16 M212,24 L216,36 M220,24 L228,16 M220,24 L224,36 M228,24 L236,16 M228,24 L232,35 M236,23 L244,15 M236,23 L240,35 M244,23 L252,15 M244,23 L248,34 M252,22 L260,14 M252,22 L256,34 M260,22 L268,14 M260,22 L264,33 M268,21 L276,13 M268,21 L272,32 M276,20 L284,12 M276,20 L280,31 M284,19 L292,11 M284,19 L288,30 M292,18 L300,10 M292,18 L296,29 M300,17 L308,9 M300,17 L304,28 M308,15 L316,7 M308,15 L312,26 M316,14 L324,6 M316,14 L320,25 M324,13 L332,5 M324,13 L328,24 M332,11 L340,3 M332,11 L336,22 M340,10 L348,2 M340,10 L344,21 M348,8 L356,1 M348,8 L352,19 M356,7 L364,0 M356,7 L360,17' stroke='%2314532d' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M8,8 L15,1 M8,8 L13,18 M16,9 L23,2 M16,9 L21,20 M24,11 L31,4 M24,11 L29,21 M32,12 L39,5 M32,12 L37,23 M40,13 L47,6 M40,13 L45,24 M48,15 L55,8 M48,15 L53,26 M56,16 L63,9 M56,16 L61,27 M64,17 L71,10 M64,17 L69,28 M72,19 L79,11 M72,19 L77,30 M80,20 L87,12 M80,20 L85,31 M88,21 L95,13 M88,21 L93,32 M96,21 L103,14 M96,21 L101,33 M104,22 L111,15 M104,22 L109,33 M112,23 L119,15 M112,23 L117,34 M120,23 L127,16 M120,23 L125,35 M128,24 L135,16 M128,24 L133,35 M136,24 L143,16 M136,24 L141,35 M144,24 L151,16 M144,24 L149,36 M152,24 L159,16 M152,24 L157,36 M160,24 L167,16 M160,24 L165,36 M168,24 L175,16 M168,24 L173,36 M176,24 L183,16 M176,24 L181,36 M184,24 L177,16 M184,24 L179,36 M192,24 L185,16 M192,24 L187,36 M200,24 L193,16 M200,24 L195,36 M208,24 L201,16 M208,24 L203,36 M216,24 L209,16 M216,24 L211,36 M224,24 L217,16 M224,24 L219,35 M232,24 L225,16 M232,24 L227,35 M240,23 L233,16 M240,23 L235,35 M248,23 L241,15 M248,23 L243,34 M256,22 L249,15 M256,22 L251,33 M264,21 L257,14 M264,21 L259,33 M272,21 L265,13 M272,21 L267,32 M280,20 L273,12 M280,20 L275,31 M288,19 L281,11 M288,19 L283,30 M296,17 L289,10 M296,17 L291,28 M304,16 L297,9 M304,16 L299,27 M312,15 L305,8 M312,15 L307,26 M320,13 L313,6 M320,13 L315,24 M328,12 L321,5 M328,12 L323,23 M336,11 L329,4 M336,11 L331,21 M344,9 L337,2 M344,9 L339,20 M352,8 L345,1 M352,8 L347,18' stroke='%23166534' stroke-width='3' stroke-linecap='round'/%3E%3C!-- 3. Capa frontal (relieve): agujas finas en %2315803d y %2322c55e con opacidad 0.75 --%3E%3Cpath d='M0,6 Q180,42 360,6' stroke='%2315803d' stroke-width='6' stroke-linecap='round' stroke-dasharray='5 7'/%3E%3Cpath d='M10,8 L3,3 M10,8 L14,16 M26,11 L19,5 M26,11 L30,19 M42,14 L35,8 M42,14 L46,22 M58,16 L51,10 M58,16 L62,25 M74,19 L67,13 M74,19 L78,27 M90,21 L83,15 M90,21 L94,29 M106,22 L99,16 M106,22 L110,31 M122,23 L115,17 M122,23 L126,32 M138,24 L131,18 M138,24 L142,33 M154,24 L147,18 M154,24 L158,33 M170,24 L163,18 M170,24 L174,33 M186,24 L193,18 M186,24 L182,33 M202,24 L209,18 M202,24 L198,33 M218,24 L225,18 M218,24 L214,33 M234,23 L241,17 M234,23 L230,32 M250,22 L257,16 M250,22 L246,31 M266,21 L273,15 M266,21 L262,29 M282,19 L289,13 M282,19 L278,27 M298,16 L305,10 M298,16 L294,25 M314,14 L321,8 M314,14 L310,22 M330,11 L337,5 M330,11 L326,19 M346,8 L353,3 M346,8 L342,16' stroke='%2315803d' stroke-width='2.2' stroke-linecap='round' opacity='0.75'/%3E%3Cpath d='M6,7 L12,3 M18,9 L12,16 M34,12 L40,7 M50,15 L44,22 M66,18 L72,12 M82,20 L76,27 M98,21 L104,16 M114,23 L108,30 M130,24 L136,18 M146,24 L140,32 M162,24 L168,19 M178,24 L172,32 M194,24 L188,19 M210,24 L216,32 M226,24 L220,18 M242,23 L248,30 M258,21 L252,16 M274,20 L280,27 M290,18 L284,12 M306,15 L312,22 M322,12 L316,7 M338,9 L344,16 M354,7 L348,3' stroke='%2322c55e' stroke-width='1.8' stroke-linecap='round' opacity='0.75'/%3E%3C!-- Cable festivo entrelazado en la rama --%3E%3Cpath d='M0,6 Q180,42 360,6' stroke='%230f172a' stroke-width='1.8' stroke-opacity='0.7'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: top left;
  background-size: 360px 72px;
  filter: drop-shadow(0 5px 7px rgba(0, 0, 0, 0.45));
}

/* Bombilla navideña tipo gota/óvalo con casquillo y brillo interior */
.modo-navidad .guirnalda-navidad li,
.modo-navidad .guirnalda-luces li {
  position: relative;
  z-index: 1;
  width: 9px;
  height: 15px;
  border-radius: 50% 50% 50% 50% / 35% 35% 65% 65%;
  pointer-events: none;
  transform-origin: top center;
  animation-duration: 2.8s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

/* Distribución en onda (siguiendo la caída curva del follaje, no en línea recta) y parpadeo escalonado */
.modo-navidad .guirnalda-luces li:nth-child(8n+1) { margin-top: 9px;  transform: rotate(-6deg); animation-delay: 0.1s; }
.modo-navidad .guirnalda-luces li:nth-child(8n+2) { margin-top: 15px; transform: rotate(-4deg); animation-delay: 0.55s; }
.modo-navidad .guirnalda-luces li:nth-child(8n+3) { margin-top: 21px; transform: rotate(-2deg); animation-delay: 1.05s; }
.modo-navidad .guirnalda-luces li:nth-child(8n+4) { margin-top: 25px; transform: rotate(-1deg); animation-delay: 1.6s; }
.modo-navidad .guirnalda-luces li:nth-child(8n+5) { margin-top: 25px; transform: rotate(1deg);  animation-delay: 0.35s; }
.modo-navidad .guirnalda-luces li:nth-child(8n+6) { margin-top: 21px; transform: rotate(2deg);  animation-delay: 0.85s; }
.modo-navidad .guirnalda-luces li:nth-child(8n+7) { margin-top: 15px; transform: rotate(4deg);  animation-delay: 1.35s; }
.modo-navidad .guirnalda-luces li:nth-child(8n+8) { margin-top: 9px;  transform: rotate(6deg);  animation-delay: 1.9s; }

/* Casquillo metálico oscuro arriba de cada bombilla */
.modo-navidad .guirnalda-navidad li::before,
.modo-navidad .guirnalda-luces li::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 4px;
  background: #1e293b;
  border-radius: 1px;
  box-shadow: 0 -2px 0 0 #052e16;
}

/* Punto de luz blanco interior para simular cristal encendido */
.modo-navidad .guirnalda-navidad li::after,
.modo-navidad .guirnalda-luces li::after {
  content: "";
  position: absolute;
  top: 2.5px;
  left: 2px;
  width: 3px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 0 3px #ffffff;
  transform: rotate(-10deg);
}

/* 1. Dorado cálido (#fbbf24) */
.modo-navidad .guirnalda-luces li:nth-child(4n+1) {
  background: radial-gradient(circle at 40% 35%, #fffbeb 0%, #fbbf24 55%, #b45309 100%);
  box-shadow:
    0 0 8px 2px rgba(251, 191, 36, 0.85),
    0 4px 16px 4px rgba(251, 191, 36, 0.45);
  animation-name: luzParpadeoOro;
}

/* 2. Rojo navideño (#ef4444) */
.modo-navidad .guirnalda-luces li:nth-child(4n+2) {
  background: radial-gradient(circle at 40% 35%, #fee2e2 0%, #ef4444 55%, #991b1b 100%);
  box-shadow:
    0 0 8px 2px rgba(239, 68, 68, 0.85),
    0 4px 16px 4px rgba(239, 68, 68, 0.45);
  animation-name: luzParpadeoRojo;
}

/* 3. Verde esmeralda (#10b981) */
.modo-navidad .guirnalda-luces li:nth-child(4n+3) {
  background: radial-gradient(circle at 40% 35%, #d1fae5 0%, #10b981 55%, #065f46 100%);
  box-shadow:
    0 0 8px 2px rgba(16, 185, 129, 0.85),
    0 4px 16px 4px rgba(16, 185, 129, 0.45);
  animation-name: luzParpadeoEsmeralda;
}

/* 4. Cian ReaApex (#22d3ee) */
.modo-navidad .guirnalda-luces li:nth-child(4n+4) {
  background: radial-gradient(circle at 40% 35%, #cffafe 0%, #22d3ee 55%, #0369a1 100%);
  box-shadow:
    0 0 8px 2px rgba(34, 211, 238, 0.9),
    0 4px 16px 4px rgba(34, 211, 238, 0.5);
  animation-name: luzParpadeoCian;
}

@keyframes luzParpadeoOro {
  0%, 100% {
    opacity: 1;
    filter: brightness(1.12);
    box-shadow: 0 0 10px 2px rgba(251, 191, 36, 0.9), 0 4px 18px 4px rgba(251, 191, 36, 0.55);
  }
  50% {
    opacity: 0.45;
    filter: brightness(0.85);
    box-shadow: 0 0 4px 1px rgba(251, 191, 36, 0.3);
  }
}

@keyframes luzParpadeoRojo {
  0%, 100% {
    opacity: 1;
    filter: brightness(1.12);
    box-shadow: 0 0 10px 2px rgba(239, 68, 68, 0.9), 0 4px 18px 4px rgba(239, 68, 68, 0.55);
  }
  50% {
    opacity: 0.45;
    filter: brightness(0.85);
    box-shadow: 0 0 4px 1px rgba(239, 68, 68, 0.3);
  }
}

@keyframes luzParpadeoEsmeralda {
  0%, 100% {
    opacity: 1;
    filter: brightness(1.12);
    box-shadow: 0 0 10px 2px rgba(16, 185, 129, 0.9), 0 4px 18px 4px rgba(16, 185, 129, 0.55);
  }
  50% {
    opacity: 0.48;
    filter: brightness(0.85);
    box-shadow: 0 0 4px 1px rgba(16, 185, 129, 0.3);
  }
}

@keyframes luzParpadeoCian {
  0%, 100% {
    opacity: 1;
    filter: brightness(1.14);
    box-shadow: 0 0 10px 2px rgba(34, 211, 238, 0.92), 0 4px 18px 4px rgba(34, 211, 238, 0.58);
  }
  50% {
    opacity: 0.5;
    filter: brightness(0.85);
    box-shadow: 0 0 4px 1px rgba(34, 211, 238, 0.3);
  }
}

@media (max-width: 768px) {
  .modo-navidad .guirnalda-luces li:nth-child(even) {
    display: none;
  }
}

/* =========================================================
   3. MICRO-INTERACCIONES: HERO, BRANDING, TARJETAS Y BOTONES
   ========================================================= */

/* 3.0 Sección Hero: Badge/píldora dorada con copo decorativo y marco invernal en la foto */
.modo-navidad .hero .eyebrow {
  position: relative;
  border-color: #fbbf24;
  box-shadow:
    0 0 12px rgba(251, 191, 36, 0.32),
    inset 0 0 8px rgba(251, 191, 36, 0.14);
}

.modo-navidad .hero .eyebrow::after {
  content: "❄";
  display: inline-block;
  margin-left: 0.35rem;
  color: #fbbf24;
  font-size: 0.88rem;
  line-height: 1;
  text-shadow: 0 0 6px rgba(251, 191, 36, 0.75);
  pointer-events: none;
}

.modo-navidad .hero .hero-photo {
  position: relative;
  border: 1.5px solid rgba(186, 230, 253, 0.55);
  box-shadow:
    0 0 0 4px rgba(125, 211, 252, 0.12),
    0 0 28px rgba(56, 189, 248, 0.32),
    0 20px 45px rgba(11, 27, 43, 0.35);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.modo-navidad .hero .hero-photo:hover {
  border-color: rgba(251, 191, 36, 0.65);
  box-shadow:
    0 0 0 4px rgba(251, 191, 36, 0.14),
    0 0 32px rgba(56, 189, 248, 0.4),
    0 20px 45px rgba(11, 27, 43, 0.4);
}

/* 3.1 Gorro navideño en el logotipo sin desalinear el navbar */
.modo-navidad .navbar-brand .brand-mark {
  position: relative;
  overflow: visible;
}

.modo-navidad .navbar-brand .brand-mark::after {
  content: "";
  position: absolute;
  top: -12px;
  left: -9px;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M12 44 C16 20, 38 10, 54 24 C44 26, 36 32, 34 44 Z' fill='%23d90429'/%3E%3Crect x='8' y='41' width='32' height='9' rx='4.5' fill='%23ffffff'/%3E%3Ccircle cx='54' cy='24' r='6' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transform: rotate(-18deg);
  pointer-events: none;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
  z-index: 2;
}

/* 3.2 Tarjetas de "Servicios", "Trabajos Recientes" y "Reseñas":
   Acabado de nieve acumulada en el borde superior y resplandor dorado cálido en :hover */
.modo-navidad .service-card,
.modo-navidad .work-card,
.modo-navidad .review-card,
.modo-navidad .image-gallery {
  position: relative;
  border-top: 4px solid #e0f2fe;
  box-shadow:
    inset 0 3px 8px rgba(255, 255, 255, 0.95),
    0 -3px 12px rgba(186, 230, 253, 0.55),
    0 14px 32px rgba(11, 27, 43, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-top-color 0.25s ease;
}

/* Capa sutil de nieve acumulada en el borde superior de las tarjetas */
.modo-navidad .service-card::before,
.modo-navidad .work-card::before,
.modo-navidad .review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(224, 242, 254, 0.9) 50%,
    rgba(255, 255, 255, 0.96) 100%
  );
  border-radius: 0 0 8px 8px;
  box-shadow: 0 2px 6px rgba(125, 211, 252, 0.45);
  pointer-events: none;
  z-index: 2;
}

/* Resplandor dorado cálido al pasar el cursor (:hover) sobre las tarjetas */
.modo-navidad .service-card:hover,
.modo-navidad .work-card:hover,
.modo-navidad .review-card:hover {
  border-top-color: #fde68a;
  box-shadow:
    0 -4px 18px rgba(255, 215, 0, 0.38),
    0 12px 28px rgba(251, 191, 36, 0.18),
    0 18px 40px rgba(11, 27, 43, 0.12);
}

/* Brillo dorado sutil en las estrellas de calificación de Reseñas (.review-card .stars) */
.modo-navidad .review-card .stars,
.modo-navidad .review-card .stars i {
  color: #fbbf24;
  text-shadow:
    0 0 8px rgba(255, 215, 0, 0.65),
    0 0 14px rgba(251, 191, 36, 0.35);
  transition: transform 0.2s ease, text-shadow 0.2s ease;
}

.modo-navidad .review-card:hover .stars i {
  text-shadow:
    0 0 10px rgba(255, 215, 0, 0.9),
    0 0 18px rgba(251, 191, 36, 0.55);
}

/* 3.3 Tarjeta del Formulario ("Solicitar Mi Servicio" -> .quote-ticket):
   Capa gruesa y ondulada de nieve acumulada en el borde superior y lazo navideño rojo/dorado en esquina */
.modo-navidad .quote-ticket {
  position: relative;
  overflow: visible !important;
  border-top: none;
  box-shadow:
    0 -6px 20px rgba(186, 230, 253, 0.38),
    0 20px 45px rgba(0, 0, 0, 0.35);
}

/* Capa gruesa y ondulada de nieve acumulada en el borde superior */
.modo-navidad .quote-ticket::before {
  content: "";
  display: block;
  position: absolute;
  top: -12px;
  left: -2px;
  right: -2px;
  width: auto;
  height: 34px;
  transform: none;
  border-radius: 16px 16px 0 0;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 34' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='snowGrad' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%23ffffff'/%3E%3Cstop offset='68%25' stop-color='%23f8fafc'/%3E%3Cstop offset='100%25' stop-color='%23e0f2fe'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0,14 Q16,2 38,8 Q62,1 92,9 Q124,2 156,7 Q188,1 222,8 Q256,2 292,7 Q328,1 364,8 Q398,2 434,7 Q470,1 506,8 Q542,2 574,7 Q590,4 600,12 L600,22 Q582,31 560,23 Q536,16 514,27 Q490,34 466,22 Q442,15 418,26 Q392,33 368,21 Q342,14 316,28 Q290,34 266,22 Q240,15 214,27 Q188,33 162,21 Q136,14 110,27 Q84,34 58,22 Q32,15 14,26 Q5,30 0,23 Z' fill='url(%23snowGrad)'/%3E%3Cpath d='M0,22 Q18,29 36,21 Q60,15 86,28 Q112,33 138,21 Q164,15 190,27 Q216,32 242,21 Q268,15 294,28 Q320,33 346,21 Q372,15 398,26 Q424,32 450,21 Q476,15 502,27 Q528,33 554,21 Q578,16 600,22' stroke='%23bae6fd' stroke-width='1.4' fill='none' opacity='0.85'/%3E%3C/svg%3E");
  background-size: 100% 34px;
  background-repeat: no-repeat;
  filter: drop-shadow(0 4px 5px rgba(100, 116, 139, 0.45));
  pointer-events: none;
  z-index: 15;
}

/* Desactivar el ::after directo del formulario para evitar desbordes sin overflow:hidden */
.modo-navidad .quote-ticket::after {
  content: none !important;
  display: none !important;
}

/* Contenedor de esquina insertado por navidad.js para el lazo rojo y dorado */
.modo-navidad .navidad-lazo-esquina {
  position: absolute;
  top: 0;
  right: 0;
  width: 145px;
  height: 145px;
  overflow: hidden;
  border-top-right-radius: inherit;
  z-index: 16;
  pointer-events: none;
}

.modo-navidad .navidad-lazo-esquina span {
  position: absolute;
  top: 28px;
  right: -44px;
  width: 195px;
  height: 32px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #991b1b 0%, #dc2626 50%, #b91c1c 100%);
  border-top: 3px solid #fbbf24;
  border-bottom: 3px solid #fbbf24;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Brillo satinado y detalle dorado central en el lazo */
.modo-navidad .navidad-lazo-esquina span::before {
  content: "✦  ❄  ✦";
  color: #fde68a;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45), 0 0 8px rgba(251, 191, 36, 0.75);
}

/* Ajuste específico para budget-card sobre fondo oscuro */
.modo-navidad .budget-card {
  position: relative;
  border-top: 3px solid rgba(224, 242, 254, 0.75);
  box-shadow:
    0 -4px 18px rgba(125, 211, 252, 0.25),
    0 20px 50px rgba(0, 0, 0, 0.4);
}

/* 3.4 Pasos 1, 2, 3, 4 ("Cómo Funciona" -> .step-card .step-num) y Barra de Garantías (.trust-strip) */
.modo-navidad .section-steps,
.modo-navidad .section-steps .container,
.modo-navidad .section-steps .row,
.modo-navidad .section-steps [class*="col-"],
.modo-navidad .step-card {
  overflow: visible !important;
}

.modo-navidad .step-card .step-num {
  position: relative;
  overflow: visible !important;
  box-shadow:
    inset -4px -5px 10px rgba(11, 27, 43, 0.32),
    inset 4px 4px 10px rgba(255, 255, 255, 0.42),
    0 6px 16px rgba(37, 99, 235, 0.25);
}

/* Casquillo dorado de la esfera */
.modo-navidad .step-card .step-num::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 5px;
  background: linear-gradient(90deg, #b45309, #fbbf24, #b45309);
  border-radius: 2px;
  pointer-events: none;
  z-index: 1;
}

/* Argolla metálica superior en la base + tira dorada fina (1.5px) subiendo hasta el borde superior de la sección */
.modo-navidad .step-card .step-num::after {
  content: "";
  position: absolute;
  top: -215px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 211px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 211' width='10' height='211' fill='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%23d97706' stop-opacity='0.35'/%3E%3Cstop offset='25%25' stop-color='%23fbbf24' stop-opacity='1'/%3E%3Cstop offset='100%25' stop-color='%23d97706' stop-opacity='1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='4.25' y='0' width='1.5' height='203' fill='url(%23g)'/%3E%3Ccircle cx='5' cy='206.5' r='3.5' stroke='%23d97706' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 10px 211px;
  pointer-events: none;
  z-index: 1;
}

/* Halo dorado sutil al pasar el cursor sobre cada ícono de la barra de garantías (.trust-strip) */
.modo-navidad .trust-strip i {
  transition: transform 0.25s ease, color 0.25s ease, text-shadow 0.25s ease, filter 0.25s ease;
}

.modo-navidad .trust-strip .col-6:hover i,
.modo-navidad .trust-strip i:hover {
  color: var(--navidad-oro);
  transform: translateY(-2px) scale(1.08);
  text-shadow:
    0 0 12px rgba(255, 215, 0, 0.75),
    0 0 22px rgba(251, 191, 36, 0.45);
}

/* 3.5 Botones importantes (CTA) y botón "Solicitar Mi Cotización Gratis" (#btnCotizar):
   Borde luminoso y resplandor dorado cálido que se intensifica en :hover conservando su degradado original */
.modo-navidad .btn-accent,
.modo-navidad .btn-solicitar-lg,
.modo-navidad .btn-success-custom {
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.25s ease;
}

.modo-navidad #btnCotizar {
  position: relative;
  box-shadow:
    0 0 0 1.5px rgba(251, 191, 36, 0.7),
    0 8px 22px rgba(251, 191, 36, 0.28),
    0 10px 25px rgba(34, 211, 199, 0.22);
  transition: transform 0.22s ease, box-shadow 0.25s ease;
}

.modo-navidad .btn-accent:hover,
.modo-navidad .btn-accent:focus-visible,
.modo-navidad .btn-solicitar-lg:hover,
.modo-navidad .btn-solicitar-lg:focus-visible,
.modo-navidad .btn-success-custom:hover,
.modo-navidad .btn-success-custom:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 2px rgba(255, 215, 0, 0.9),
    0 6px 20px rgba(255, 215, 0, 0.5),
    0 12px 30px rgba(217, 4, 41, 0.4);
}

.modo-navidad #btnCotizar:hover,
.modo-navidad #btnCotizar:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 2px #fbbf24,
    0 8px 26px rgba(251, 191, 36, 0.58),
    0 14px 34px rgba(217, 4, 41, 0.35);
}

/* 3.6 Gorro navideño en el botón flotante de WhatsApp (.whatsapp-float) sin recortes */
.modo-navidad .whatsapp-float,
.modo-navidad #whatsappLink {
  position: fixed;
  overflow: visible !important;
}

.modo-navidad .whatsapp-float::after,
.modo-navidad #whatsappLink::after {
  content: "";
  position: absolute;
  top: -17px;
  right: -4px;
  width: 46px;
  height: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 52' fill='none'%3E%3C!-- Copa roja del gorro (%23dc2626) inclinada hacia la derecha --%3E%3Cpath d='M8 36 C12 12, 34 4, 54 22 C44 21, 38 26, 42 36 Z' fill='%23dc2626'/%3E%3Cpath d='M12 35 C16 17, 32 10, 48 21 C41 21, 36 26, 39 35 Z' fill='%23ef4444' opacity='0.45'/%3E%3C!-- Borde inferior blanco esponjoso (%23ffffff) --%3E%3Crect x='4' y='32' width='40' height='11' rx='5.5' fill='%23e2e8f0'/%3E%3Crect x='4' y='31' width='40' height='10' rx='5' fill='%23ffffff'/%3E%3C!-- Pompón blanco en la punta derecha --%3E%3Ccircle cx='55' cy='24' r='6.5' fill='%23e2e8f0'/%3E%3Ccircle cx='55' cy='23.2' r='6' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(10deg);
  pointer-events: none;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.32));
  z-index: 20;
}

/* =========================================================
   5. INTERRUPTOR SUTIL DE CONTROL (UX)
   ========================================================= */
.modo-navidad .btn-toggle-navidad {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(11, 27, 43, 0.88);
  color: var(--navidad-oro);
  border: 1.5px solid rgba(255, 215, 0, 0.45);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 9998;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.modo-navidad .btn-toggle-navidad:hover {
  transform: scale(1.08);
  border-color: var(--navidad-oro);
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.4);
}

.modo-navidad .btn-toggle-navidad .icono-nieve {
  display: inline-block;
  line-height: 1;
  transition: transform 0.4s ease;
}

.modo-navidad .btn-toggle-navidad:hover .icono-nieve {
  transform: rotate(45deg);
}

/* Estado pausado por el usuario */
.modo-navidad.navidad-pausada .nieve-contenedor {
  opacity: 0;
  visibility: hidden;
}

.modo-navidad.navidad-pausada .copo,
.modo-navidad.navidad-pausada .guirnalda-luces li {
  animation-play-state: paused !important;
}

.modo-navidad.navidad-pausada .guirnalda-luces li {
  opacity: 0.3;
  box-shadow: none;
}

.modo-navidad.navidad-pausada .btn-toggle-navidad {
  color: #94a3b8;
  border-color: rgba(148, 163, 184, 0.35);
  opacity: 0.72;
}

.modo-navidad.navidad-pausada .btn-toggle-navidad::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--navidad-rojo);
  transform: rotate(-45deg);
  border-radius: 2px;
}
