/* ============================================
   GUIDE VIEWER CSS - COPIA EXACTA DEL TEST-VIEWER
   Traducido de Tailwind a CSS puro
   Escala 65% para phone mockup 244x404px (244/375 = 0.65)

   Valores Tailwind base (sin sm:) × 0.65:
   - text-xs (12px) → 8px
   - text-sm (14px) → 9px
   - text-base (16px) → 10px
   - text-lg (18px) → 12px
   - text-xl (20px) → 13px
   - text-2xl (24px) → 16px
   - text-3xl (30px) → 20px
   - p-3 (12px) → 8px
   - p-4 (16px) → 10px
   - p-6 (24px) → 16px
   - gap-3 (12px) → 8px
   - gap-4 (16px) → 10px
   - w-12/h-12 (48px) → 31px
   - rounded-xl (12px) → 8px
   - rounded-2xl (16px) → 10px
   ============================================ */

/* Variables y Base */
:root {
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

.guide-section {
  width: 100%;
  height: 100%;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 10px;
  line-height: 1.4;
  overflow: hidden;
}

/* Reset de headings para evitar estilos del navegador */
.guide-section h1,
.guide-section h2,
.guide-section h3,
.guide-section h4 {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  margin: 0;
  padding: 0;
}

/* ========== ANIMACIONES (del test-viewer) ========== */
@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-6px) scale(1.01); }
}

@keyframes borderPulse {
  0%, 100% {
    border-color: #ff6b35;
    box-shadow: 0 0 8px rgba(255,107,53,0.4);
  }
  50% {
    border-color: #2196F3;
    box-shadow: 0 0 12px rgba(33,150,243,0.6);
  }
}

@keyframes shimmer {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@keyframes shootingStar {
  0% { transform: translate(0, 0) rotate(-45deg); opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translate(-100px, 100px) rotate(-45deg); opacity: 0; }
}

@keyframes borderShine {
  0%, 100% { border-color: #ff6b35; box-shadow: 0 0 6px rgba(255,107,53,0.4); }
  50% { border-color: #2196F3; box-shadow: 0 0 10px rgba(33,150,243,0.6); }
}

/* ========== PORTADA ========== */
.cover-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
}

.cover-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, #000, #111827, #000);
}

.cover-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  animation: float 8s ease-in-out infinite;
}

.cover-orb-orange {
  top: 13px;
  left: 13px;
  width: 52px;
  height: 52px;
  background: rgba(249, 115, 22, 0.1);
}

.cover-orb-blue {
  bottom: 13px;
  right: 13px;
  width: 62px;
  height: 62px;
  background: rgba(59, 130, 246, 0.1);
  animation-delay: 2s;
}

.cover-content {
  position: relative;
  z-index: 20;
  height: 100%;
  display: flex;
  flex-direction: column;
  /* test-viewer: p-4 = 16px → 10px */
  padding: 10px;
}

.cover-logo-row {
  display: flex;
  justify-content: flex-end;
  /* test-viewer: mb-2 = 8px → 5px */
  margin-bottom: 5px;
}

.cover-logo {
  /* test-viewer: h-8 = 32px → 21px */
  height: 21px;
  object-fit: contain;
}

.cover-image-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
}

.cover-image-frame {
  position: relative;
  max-width: 220px;
  width: 100%;
  animation: float 8s ease-in-out infinite;
}

.cover-image-border {
  position: relative;
  border: 3px solid;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.5);
  animation: borderPulse 3s ease-in-out infinite;
}

.cover-main-image {
  width: 100%;
  height: auto;
  display: block;
}

.cover-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent, transparent);
  pointer-events: none;
}

.cover-flag-floating {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  animation: shimmer 2s ease-in-out infinite;
}

.cover-flag-glow {
  position: absolute;
  inset: -4px;
  background: linear-gradient(to bottom right, var(--orange-500), var(--blue-500));
  border-radius: 5px;
  filter: blur(8px);
  opacity: 0.5;
}

.cover-flag-border {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  border: 2px solid var(--orange-500);
  box-shadow: 0 3px 10px rgba(0,0,0,0.5);
  animation: borderPulse 3s ease-in-out infinite;
}

.cover-flag-img {
  height: 21px;
  width: auto;
  object-fit: contain;
}

.cover-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--orange-500), transparent);
  margin: 8px 0;
}

.cover-text-section {
  text-align: center;
}

.cover-title-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 5px;
}

.cover-title-glow {
  position: absolute;
  inset: -3px;
  background: linear-gradient(to bottom right, var(--orange-600), var(--blue-600));
  border-radius: 5px;
  filter: blur(13px);
  opacity: 0.4;
  animation: shimmer 2s ease-in-out infinite;
}

.cover-country-title {
  position: relative;
  /* test-viewer: text-5xl = 48px → 31px (65% scale) */
  font-size: 31px !important;
  font-weight: 900 !important;
  background: linear-gradient(to right, #fb923c, #ef4444, #fb923c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
  /* test-viewer: drop-shadow-2xl */
  filter: drop-shadow(0 16px 16px rgba(0,0,0,0.15));
  letter-spacing: -0.02em;
  line-height: 1.1 !important;
}

.cover-duration {
  color: #fff;
  /* test-viewer: text-xl = 20px → 13px (65% scale) */
  font-size: 13px !important;
  font-weight: 700 !important;
  /* test-viewer: py-2 px-6 */
  padding: 5px 16px;
}

.cover-footer {
  text-align: center;
  /* test-viewer: mt-4 = 16px → 10px */
  margin-top: 10px;
  color: rgba(255,255,255,0.4);
  /* test-viewer: text-xs = 12px → 8px */
  font-size: 8px;
}

/* ========== ÍNDICE ========== */
.index-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  /* test-viewer: from-gray-400 via-gray-200 to-gray-400 */
  background: linear-gradient(to bottom right, #9ca3af, #e5e7eb, #9ca3af);
  overflow: auto;
}

.index-gradient-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255,107,53,0.12) 0%, transparent 40%),
              radial-gradient(circle at 80% 70%, rgba(33,150,243,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.index-content {
  position: relative;
  /* test-viewer: p-4 = 16px → 10px */
  padding: 10px;
}

.index-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* test-viewer: bg-gray-500/50 */
  background: rgba(107, 114, 128, 0.5);
  border-radius: 8px;
  /* test-viewer: p-3 = 12px → 8px */
  padding: 8px;
  /* test-viewer: mb-6 = 24px → 16px */
  margin-bottom: 16px;
}

.index-flag {
  /* test-viewer: h-8 = 32px → 21px */
  height: 21px;
  width: auto;
  object-fit: contain;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.index-main-title {
  flex: 1;
  text-align: center;
  /* test-viewer: text-2xl = 24px → 16px */
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  padding-bottom: 2px;
}

.index-logo {
  /* test-viewer: w-12 h-8 = 48px x 32px → 31px x 21px */
  width: 31px;
  height: 21px;
  object-fit: contain;
}

.index-subtitle {
  /* test-viewer: text-xl = 20px → 13px */
  font-size: 13px;
  font-weight: 700;
  color: var(--orange-600);
  /* test-viewer: mb-6 = 24px → 16px */
  margin: 0 0 16px 0;
  text-transform: uppercase;
  /* IZQUIERDA */
  text-align: left;
}

.index-list {
  display: flex;
  flex-direction: column;
  /* test-viewer: space-y-3 = 12px → 8px */
  gap: 8px;
}

.index-item {
  position: relative;
  background: #fff;
  /* test-viewer: border-2 */
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  /* test-viewer: p-3 = 12px → 8px */
  padding: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.index-item:hover {
  border-color: var(--orange-500);
  background: linear-gradient(to bottom right, var(--orange-500), var(--orange-600));
}

.index-item:hover .index-day-circle {
  background: #fff;
  color: var(--orange-600);
}

.index-item:hover .index-item-title {
  color: #fff;
}

.index-item-inner {
  display: flex;
  align-items: center;
  /* test-viewer: gap-4 = 16px → 10px */
  gap: 10px;
}

.index-day-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.index-day-label {
  /* test-viewer: text-xs = 12px → 8px */
  font-size: 8px;
  color: #9ca3af;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 2px;
}

.index-day-circle {
  /* test-viewer: w-10 h-10 = 40px → 26px */
  width: 26px;
  height: 26px;
  background: linear-gradient(to bottom right, var(--orange-500), var(--orange-600));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  /* test-viewer: text-xl = 20px → 13px */
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.index-item-title {
  flex: 1;
  /* test-viewer: text-sm = 14px → 9px */
  font-size: 9px;
  font-weight: 600;
  color: #1f2937;
  /* IZQUIERDA */
  text-align: left;
}

.index-arrow {
  /* test-viewer: w-5 h-5 = 20px → 13px */
  width: 13px;
  height: 13px;
  color: #9ca3af;
}

/* ========== TIPS ========== */
/* test-viewer: from-gray-800 via-gray-600 to-gray-800 */
.tips-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom right, #1f2937, #4b5563, #1f2937);
  overflow: auto;
}

.tips-bg-pattern {
  position: absolute;
  inset: 0;
  /* test-viewer: 20px 20px → 13px at 65% */
  background-image: radial-gradient(circle at 13px 13px, rgba(255,107,53,0.03) 1px, transparent 0);
  background-size: 26px 26px;
  pointer-events: none;
}

.tips-content {
  position: relative;
  /* test-viewer: p-3 = 12px → 8px */
  padding: 8px;
}

.tips-border-box {
  /* test-viewer: border-2 border-orange-500 rounded-xl p-4 */
  border: 2px solid var(--orange-500);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.tips-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* test-viewer: from-gray-700 to-gray-600, border-2 border-orange-500 */
  background: linear-gradient(to right, #374151, #4b5563);
  border-radius: 8px;
  /* test-viewer: p-3 = 12px → 8px */
  padding: 8px;
  /* test-viewer: mb-4 = 16px → 10px */
  margin-bottom: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
  border: 2px solid var(--orange-500);
}

.tips-flag {
  /* test-viewer: h-7 = 28px → 18px */
  height: 18px;
  width: auto;
  object-fit: contain;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.tips-main-title {
  flex: 1;
  text-align: center;
  /* test-viewer: text-xl = 20px → 13px */
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.tips-logo {
  /* test-viewer: w-[70px] h-[40px] → 45px x 26px */
  width: 45px;
  height: 26px;
  object-fit: contain;
}

.tips-list {
  display: flex;
  flex-direction: column;
  /* test-viewer: space-y-4 = 16px → 10px */
  gap: 10px;
}

.tip-card {
  /* test-viewer: from-gray-800 via-gray-700 to-gray-600 */
  background: linear-gradient(to bottom right, #1f2937, #374151, #4b5563);
  border-radius: 8px;
  /* test-viewer: p-4 = 16px → 10px */
  padding: 10px;
  border-left: 3px solid var(--orange-500);
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  transition: all 0.3s;
}

.tip-card:hover {
  box-shadow: 0 5px 12px rgba(0,0,0,0.3);
  transform: scale(1.02);
}

.tip-header {
  display: flex;
  align-items: center;
  /* test-viewer: gap-3 = 12px → 8px */
  gap: 8px;
  /* test-viewer: mb-3 = 12px → 8px */
  margin-bottom: 8px;
  /* IZQUIERDA */
  justify-content: flex-start;
}

.tip-icon-circle {
  /* test-viewer: w-12 h-12 = 48px → 31px */
  width: 31px;
  height: 31px;
  background: rgba(249, 115, 22, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tip-emoji {
  /* test-viewer: text-3xl = 30px → 20px */
  font-size: 20px;
}

.tip-title {
  /* test-viewer: text-base = 16px → 10px */
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
  margin: 0;
  /* IZQUIERDA */
  text-align: left;
}

.tip-content {
  /* test-viewer: text-sm = 14px → 9px */
  font-size: 9px;
  color: #fff;
  line-height: 1.6;
  text-align: justify;
  text-indent: 2em;
  margin: 0;
}

.tip-content strong {
  font-weight: 700;
}

/* ========== CLIMA ========== */
.clima-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  background: #fff;
  overflow: auto;
}

.clima-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 13px 13px, rgba(59,130,246,0.03) 1px, transparent 0);
  background-size: 26px 26px;
  pointer-events: none;
}

.clima-content {
  position: relative;
  /* test-viewer: p-3 = 12px → 8px */
  padding: 8px;
}

.clima-border-box {
  /* test-viewer: border-2 border-blue-500 rounded-xl p-4 */
  border: 2px solid var(--blue-500);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.clima-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* test-viewer: from-blue-700 to-blue-600 */
  background: linear-gradient(to right, #1d4ed8, #2563eb);
  border-radius: 8px;
  /* test-viewer: p-3 = 12px → 8px */
  padding: 8px;
  /* test-viewer: mb-4 = 16px → 10px */
  margin-bottom: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.clima-flag {
  /* test-viewer: h-7 = 28px → 18px */
  height: 18px;
  width: auto;
  object-fit: contain;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.clima-main-title {
  flex: 1;
  text-align: center;
  /* test-viewer: text-xl = 20px → 13px */
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.clima-logo {
  /* test-viewer: w-[70px] h-[40px] → 45px x 26px */
  width: 45px;
  height: 26px;
  object-fit: contain;
}

.clima-list {
  display: flex;
  flex-direction: column;
  /* test-viewer: space-y-4 = 16px → 10px */
  gap: 10px;
}

.clima-card {
  border-radius: 8px;
  /* test-viewer: p-4 = 16px → 10px */
  padding: 10px;
  border-left: 3px solid var(--blue-500);
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

.clima-card:hover {
  box-shadow: 0 5px 12px rgba(0,0,0,0.2);
  transform: scale(1.02);
}

/* test-viewer: from-pink-50 to-green-50, from-yellow-50 to-orange-50, etc */
.season-spring { background: linear-gradient(to bottom right, #fce7f3, #dcfce7); }
.season-summer { background: linear-gradient(to bottom right, #fef9c3, #fed7aa); }
.season-autumn { background: linear-gradient(to bottom right, #fed7aa, #fecaca); }
.season-winter { background: linear-gradient(to bottom right, #dbeafe, #eff6ff); }
.season-default { background: linear-gradient(to bottom right, #dbeafe, #fff); }

.clima-header {
  display: flex;
  align-items: center;
  /* test-viewer: gap-3 = 12px → 8px */
  gap: 8px;
  /* test-viewer: mb-3 = 12px → 8px */
  margin-bottom: 8px;
  /* IZQUIERDA */
  justify-content: flex-start;
}

.clima-icon-circle {
  /* test-viewer: w-12 h-12 = 48px → 31px */
  width: 31px;
  height: 31px;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clima-emoji {
  /* test-viewer: text-3xl = 30px → 20px */
  font-size: 20px;
}

.clima-season-title {
  /* test-viewer: text-base = 16px → 10px */
  font-size: 10px;
  font-weight: 700;
  color: #1f2937;
  text-decoration: underline;
  margin: 0;
  /* IZQUIERDA */
  text-align: left;
}

.clima-temp {
  /* test-viewer: text-sm = 14px → 9px */
  font-size: 9px;
  color: #374151;
  /* test-viewer: mb-2 = 8px → 5px */
  margin: 0 0 5px 0;
  /* IZQUIERDA */
  text-align: left;
}

.clima-advice-box {
  /* test-viewer: mt-3 = 12px → 8px */
  margin-top: 8px;
}

.clima-advice-label {
  /* test-viewer: text-sm = 14px → 9px */
  font-size: 9px;
  font-weight: 700;
  color: #374151;
  /* test-viewer: mb-1 = 4px → 3px */
  margin: 0 0 3px 0;
  /* IZQUIERDA */
  text-align: left;
}

.clima-advice-text {
  /* test-viewer: text-sm = 14px → 9px */
  font-size: 9px;
  color: #374151;
  line-height: 1.6;
  text-align: justify;
  text-indent: 2em;
  margin: 0;
}

/* ========== INFO PAGE ========== */
.info-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  background: #fff;
  overflow: auto;
}

.info-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 13px 13px, rgba(255,107,53,0.03) 1px, transparent 0);
  background-size: 26px 26px;
  pointer-events: none;
}

.info-content {
  position: relative;
  /* test-viewer: p-3 = 12px → 8px */
  padding: 8px;
}

.info-border-box {
  /* test-viewer: border-2 border-orange-500 rounded-xl p-4 */
  border: 2px solid var(--orange-500);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.info-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* test-viewer: from-orange-600 to-orange-500 */
  background: linear-gradient(to right, var(--orange-600), var(--orange-500));
  border-radius: 8px;
  /* test-viewer: p-3 = 12px → 8px */
  padding: 8px;
  /* test-viewer: mb-4 = 16px → 10px */
  margin-bottom: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.info-flag {
  /* test-viewer: h-7 = 28px → 18px */
  height: 18px;
  width: auto;
  object-fit: contain;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.info-main-title {
  flex: 1;
  text-align: center;
  /* test-viewer: text-xl = 20px → 13px */
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.info-logo {
  /* test-viewer: w-[70px] h-[40px] → 45px x 26px */
  width: 45px;
  height: 26px;
  object-fit: contain;
}

.info-sections {
  display: flex;
  flex-direction: column;
  /* test-viewer: space-y-6 = 24px → 16px */
  gap: 16px;
}

.info-section-group {
  margin-bottom: 0;
}

.info-section-title {
  /* test-viewer: text-lg = 18px → 12px */
  font-size: 12px;
  font-weight: 700;
  color: var(--orange-600);
  text-decoration: underline;
  /* test-viewer: mb-3 = 12px → 8px */
  margin: 0 0 8px 0;
  /* IZQUIERDA */
  text-align: left;
}

.info-items-list {
  display: flex;
  flex-direction: column;
  /* test-viewer: space-y-2 = 8px → 5px */
  gap: 5px;
}

.info-desc-card {
  /* test-viewer: bg-gray-50 rounded-lg p-3 border border-orange-300 */
  background: #f9fafb;
  border-radius: 5px;
  /* test-viewer: p-3 = 12px → 8px */
  padding: 8px;
  border: 1px solid #fdba74;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.info-desc-header {
  display: flex;
  align-items: center;
  /* test-viewer: gap-3 = 12px → 8px */
  gap: 8px;
  /* test-viewer: mb-3 in flex-col → 8px */
  margin-bottom: 8px;
  /* IZQUIERDA */
  justify-content: flex-start;
}

.info-desc-icon-circle {
  /* test-viewer: w-10 h-10 = 40px → 26px */
  width: 26px;
  height: 26px;
  background: rgba(249, 115, 22, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-desc-icon-circle span {
  /* test-viewer: text-2xl = 24px → 16px */
  font-size: 16px;
}

.info-desc-title {
  /* test-viewer: text-sm = 14px → 9px */
  font-size: 9px;
  color: #111827;
  /* IZQUIERDA */
  text-align: left;
}

.info-desc-text {
  /* test-viewer: text-sm = 14px → 9px */
  font-size: 9px;
  color: #374151;
  line-height: 1.6;
  text-align: justify;
  text-indent: 2em;
  margin: 0;
}

.info-item-row {
  /* test-viewer: bg-white border-2 border-gray-200 rounded-lg p-3 */
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 5px;
  /* test-viewer: p-3 = 12px → 8px */
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: all 0.3s;
}

.info-item-row:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.info-item-label {
  /* test-viewer: text-sm = 14px → 9px */
  font-size: 9px;
  color: #1f2937;
  font-weight: 500;
  /* IZQUIERDA */
  text-align: left;
}

.info-chevron {
  /* test-viewer: w-5 h-5 = 20px → 13px */
  width: 13px;
  height: 13px;
  color: #6b7280;
  transition: transform 0.3s;
}

/* ========== FINAL PAGE ========== */
.final-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #000, #000, #1d4ed8);
  overflow: hidden;
}

.final-sunrise-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 16.67%;
  background: linear-gradient(to top, rgba(253, 186, 116, 0.4), rgba(249, 115, 22, 0.2), transparent);
  pointer-events: none;
  z-index: -10;
}

.final-stars-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.final-star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle 3s ease-in-out infinite;
}

.final-shooting-star {
  position: absolute;
  width: 1px;
  height: 1px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 4px 1px rgba(255, 255, 255, 0.8);
  animation: shootingStar 5s ease-out infinite;
}

.final-shooting-star::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, white, transparent);
}

.final-moon {
  position: absolute;
  bottom: 40%;
  left: 20%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #1e40af;
  box-shadow:
    0 0 20px rgba(255,248,220,0.8),
    0 0 40px rgba(255,248,220,0.4),
    inset 7px 0px 0px 0px #FFF8DC,
    inset 7px -5px 1px 0px rgba(0,0,0,0.2),
    inset 12px 3px 1px 0px rgba(0,0,0,0.15),
    inset 10px -10px 1px 0px rgba(0,0,0,0.12);
  z-index: 0;
}

.final-content {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  height: calc(100% - 52px);
}

.final-glow {
  position: absolute;
  inset: -10px;
  background: linear-gradient(to right, #fb923c, #facc15, #fb923c);
  opacity: 0.4;
  filter: blur(40px);
}

.final-card {
  position: relative;
  background: linear-gradient(to bottom right, #fbbf24, #fde047, #d97706);
  border-radius: 10px;
  padding: 10px 16px;
  border: 1px solid;
  animation: borderPulse 9s ease-in-out infinite;
  box-shadow: 0 10px 26px rgba(0,0,0,0.5);
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /%3E%3CfeColorMatrix values='0 0 0 0 0.9 0 0 0 0 0.85 0 0 0 0 0.7 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.9'/%3E%3C/svg%3E");
  background-size: 33px 33px;
}

.final-flag-container {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
}

.final-flag-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, var(--orange-500), #facc15);
  border-radius: 50%;
  filter: blur(7px);
  opacity: 0.2;
  animation: shimmer 2s ease-in-out infinite;
}

.final-flag {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--orange-500);
  box-shadow: 0 3px 10px rgba(0,0,0,0.5);
}

.final-flag img {
  height: 21px;
  width: auto;
  object-fit: contain;
}

.final-quote-section {
  text-align: center;
  /* test-viewer: mt-8 = 32px → 21px */
  margin-top: 21px;
}

.final-quote-text {
  /* test-viewer: text-lg = 18px → 12px */
  font-size: 12px;
  color: #d1d5db;
  line-height: 1.6;
  /* test-viewer: mb-6 = 24px → 16px */
  margin: 0 0 16px 0;
  font-family: Georgia, serif;
}

.final-divider {
  /* test-viewer: w-48 = 192px → 125px */
  width: 125px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--orange-600), transparent);
  /* test-viewer: my-6 = 24px → 16px */
  margin: 16px auto;
}

.final-quote-author {
  /* test-viewer: text-base = 16px → 10px */
  font-size: 10px;
  color: #f59e0b;
  font-style: italic;
  font-family: Georgia, serif;
  margin: 0;
}

.final-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #000;
  /* test-viewer: py-3 = 12px → 8px */
  padding: 8px 0 5px 0;
  text-align: center;
  z-index: 10;
}

.final-mountains {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  /* test-viewer: -top-32 ≈ -120px → 78px */
  top: -78px;
  height: 91px;
  z-index: -5;
}

.final-mountains svg {
  width: 100%;
  height: 100%;
}

.final-tagline {
  /* test-viewer: text-sm = 14px → 9px */
  font-size: 9px;
  color: #9ca3af;
  margin: 0 0 5px 0;
}

.final-copyright {
  /* test-viewer: text-xs = 12px → 8px */
  font-size: 8px;
  color: #6b7280;
  margin: 0;
}

/* ========== CONTENIDO DE DÍA ========== */
/* test-viewer: from-gray-900 via-black to-gray-900 */
.day-header {
  background: linear-gradient(to right, #111827, #000, #111827);
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

.day-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* test-viewer: px-2 py-2 = 8px → 5px */
  padding: 5px 5px;
  position: relative;
}

.day-header-left {
  display: flex;
  align-items: center;
  /* test-viewer: gap-2 = 8px → 5px */
  gap: 5px;
}

.day-flag {
  /* test-viewer: h-5 = 20px → 13px */
  height: 13px;
  width: auto;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.day-label-number {
  color: rgba(255,255,255,0.7);
  /* test-viewer: text-sm = 14px → 9px */
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.day-title-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  /* test-viewer: text-lg = 18px → 12px */
  font-size: 12px;
  font-weight: 700;
  margin: 0;
  white-space: nowrap;
}

.day-header-right {
  width: 39px;
}

.day-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--orange-500), transparent);
}

.day-subtitle-row {
  display: flex;
  align-items: center;
  justify-content: center;
  /* test-viewer: px-2 py-2 */
  padding: 5px 5px;
  position: relative;
}

.day-subtitle-text {
  color: rgba(255,255,255,0.9);
  /* test-viewer: text-sm = 14px → 9px */
  font-size: 9px;
  font-weight: 300;
  text-align: center;
}

.day-weather-link {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 2px;
  /* test-viewer: px-1.5 py-0.5 */
  padding: 3px 5px;
  background: #7dd3fc;
  color: #111827;
  border-radius: 5px;
  /* test-viewer: text-[0.65rem] ≈ 10px → 7px */
  font-size: 7px;
  font-weight: 600;
  text-decoration: none;
}

/* Lugares destacados */
.featured-places-section {
  /* test-viewer: mb-4 = 16px → 10px */
  margin-bottom: 10px;
  position: relative;
  border-radius: 8px;
  /* test-viewer: p-4 = 16px → 10px */
  padding: 10px;
  /* test-viewer: border-2 */
  border: 2px solid var(--orange-500);
  overflow: hidden;
  /* test-viewer: from-orange-400/20 to-yellow-400/20 */
  background: linear-gradient(to bottom right, rgba(251, 146, 60, 0.2), rgba(250, 204, 21, 0.2));
  box-shadow: 0 10px 26px rgba(255,107,53,0.3);
}

.featured-places-header {
  position: relative;
  z-index: 10;
  text-align: center;
  /* test-viewer: mb-4 = 16px → 10px */
  margin-bottom: 10px;
}

.featured-places-title {
  color: var(--orange-500);
  /* test-viewer: text-xs = 12px → 8px */
  font-size: 8px;
  font-weight: 600;
  margin: 0 0 2px 0;
}

.featured-places-subtitle {
  color: #fb923c;
  /* test-viewer: text-base = 16px → 10px */
  font-size: 10px;
  font-weight: 700;
  margin: 0;
}

.featured-places-carousel {
  position: relative;
  z-index: 10;
  display: flex;
  /* test-viewer: gap-4 = 16px → 10px */
  gap: 10px;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* Auto-scroll animation for video showcase */
  animation: carouselScroll 8s linear infinite;
}

@keyframes carouselScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    /* Scroll to 50% (where duplicated items start) */
    transform: translateX(-50%);
  }
}

.featured-places-carousel::-webkit-scrollbar {
  display: none;
}

.featured-place-card {
  flex-shrink: 0;
  /* test-viewer: w-[280px] → 65% = ~70px */
  width: 70px;
}

.featured-place-img-wrapper {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  /* test-viewer: border-4 → 2px */
  border: 2px solid #1f2937;
  /* test-viewer: h-[400px] → 65% = ~100px (ratio 7:10) */
  height: 100px;
}

.featured-place-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Evitar distorsión */
  object-position: center;
}

.featured-place-caption {
  color: #1f2937;
  /* test-viewer: text-xs = 12px → 8px */
  font-size: 8px;
  text-align: center;
  /* test-viewer: mt-2 = 8px → 5px */
  margin: 5px 0 0 0;
  font-weight: 500;
}

/* Tarjeta de sección */
.section-card {
  position: relative;
  border-radius: 10px;
  /* test-viewer: p-4 = 16px → 10px */
  padding: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  /* test-viewer: border-2 */
  border: 2px solid #374151;
}

.section-card-night {
  border-color: #374151;
}

.night-stars-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 10px;
  pointer-events: none;
}

.night-star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle 3s ease-in-out infinite;
}

.section-header-box {
  /* test-viewer: mb-4 = 16px → 10px */
  margin-bottom: 10px;
  position: relative;
  z-index: 10;
  /* IMPORTANTE: Todo a la IZQUIERDA como en test-viewer */
  text-align: left;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  /* test-viewer: gap-2 = 8px → 5px */
  gap: 5px;
  color: #fff;
  /* test-viewer: px-3 py-1.5 = 12px 6px → 8px 4px */
  padding: 4px 8px;
  border-radius: 5px;
  font-weight: 600;
  /* test-viewer: mb-3 = 12px → 8px */
  margin-bottom: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  /* IZQUIERDA */
}

.section-badge-emoji {
  /* test-viewer: text-lg = 18px → 12px */
  font-size: 12px;
}

.section-badge-text {
  /* test-viewer: text-sm = 14px → 9px */
  font-size: 9px;
}

.section-subtitle,
h3.section-subtitle {
  /* test-viewer línea 3274: text-base = 16px → 10px */
  font-size: 10px !important;
  /* test-viewer: font-bold = 700 */
  font-weight: 700 !important;
  text-transform: uppercase;
  /* test-viewer: mb-4 = 16px → 10px */
  margin: 0 0 10px 0 !important;
  /* IZQUIERDA */
  text-align: left;
  /* Reset completo para h3 */
  line-height: 1.3;
  letter-spacing: 0.02em;
  padding: 0;
  font-family: inherit;
}

.section-maps-link {
  display: inline-flex;
  align-items: center;
  /* test-viewer: gap-1 = 4px → 3px */
  gap: 3px;
  /* test-viewer: px-3 py-1.5 */
  padding: 4px 8px;
  /* test-viewer: text-xs = 12px → 8px */
  font-size: 8px;
  background: #2c5aa0;
  color: #fff;
  border-radius: 26px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  /* IZQUIERDA */
}

/* Content Items */
.section-content-items {
  display: flex;
  flex-direction: column;
  /* test-viewer: space-y-4 = 16px → 10px */
  gap: 10px;
  position: relative;
  z-index: 10;
}

.content-item {
  background: #fff;
  /* test-viewer: border-2 */
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  /* test-viewer: p-4 = 16px → 10px */
  padding: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.content-item-night {
  background: rgba(17, 24, 39, 0.7);
  border-color: #374151;
}

.content-item-header {
  display: flex;
  align-items: center;
  /* test-viewer: gap-3 = 12px → 8px */
  gap: 8px;
  /* test-viewer: mb-3 = 12px → 8px */
  margin-bottom: 8px;
  /* IZQUIERDA */
  justify-content: flex-start;
}

.content-emoji-circle {
  flex-shrink: 0;
  /* test-viewer: w-10 h-10 = 40px → 26px */
  width: 26px;
  height: 26px;
  background: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.emoji-circle-night {
  background: #1f2937;
}

.content-emoji {
  /* test-viewer: text-2xl = 24px → 16px */
  font-size: 16px;
}

.content-item-title {
  color: #1f2937;
  /* test-viewer: text-sm = 14px → 9px */
  font-size: 9px;
  font-weight: 700;
  margin: 0;
  /* IZQUIERDA */
  text-align: left;
}

.title-night {
  color: #e5e7eb;
}

.content-item-text {
  color: #1f2937;
  /* test-viewer: text-sm = 14px → 9px */
  font-size: 9px;
  line-height: 1.6;
  /* test-viewer usa text-justify */
  text-align: justify;
}

.text-night {
  color: #e5e7eb;
}

.content-item-text strong {
  font-weight: 700;
}

.content-links {
  /* test-viewer: mt-3 = 12px → 8px */
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  /* test-viewer: gap-2 = 8px → 5px */
  gap: 5px;
}

.content-link {
  display: inline-flex;
  align-items: center;
  /* test-viewer: gap-1 = 4px → 3px */
  gap: 3px;
  /* test-viewer: px-3 py-1.5 = 12px 6px → 8px 4px */
  padding: 4px 8px;
  background: #dbeafe;
  color: #2563eb;
  border-radius: 5px;
  /* test-viewer: text-xs = 12px → 8px */
  font-size: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}

.content-link:hover {
  background: #bfdbfe;
}

/* Imágenes */
.content-image-only,
.content-image-after {
  /* test-viewer: mt-4 = 16px → 10px */
  margin-top: 10px;
}

.content-image-frame {
  position: relative;
  /* test-viewer: max-w-lg = 512px → 333px (pero limitamos a 220px para el phone) */
  max-width: 220px;
  margin: 0 auto;
}

.content-image-border-animated {
  position: relative;
  /* test-viewer: border-4 */
  border: 3px solid;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  animation: borderShine 3s ease-in-out infinite;
}

.content-image {
  width: 100%;
  height: auto;
  display: block;
}

.content-image-caption {
  background: #f3f4f6;
  color: #1f2937;
  /* test-viewer: py-2 = 8px → 5px */
  padding: 5px 8px;
  text-align: center;
  /* test-viewer: text-xs = 12px → 8px */
  font-size: 8px;
  font-weight: 500;
}

.caption-night {
  background: #111827;
  color: #e5e7eb;
}
