/* ========================================
   FRUTALIA - MOBILE ONLY STYLES
   Diseño específico para dispositivos móviles
   ======================================== */

/* ========================================
   FUENTES PERSONALIZADAS
   ======================================== */

@font-face {
  font-family: 'Franklin Gothic';
  src: url('../font/Franklin Gothic Book Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Kepler Std';
  src: url('../font/Kepler Std Medium Italic Display.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* ========================================
   VARIABLES Y RESET
   ======================================== */

:root {
  --primary-green: #1a4d2e;
  --dark-green: #0f3520;
  --accent-lime: #d2e06a;
  --white: #ffffff;
  --off-white: #f7f7f7;
  --text-dark: #194023;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
  --font-primary: 'Franklin Gothic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Kepler Std', Georgia, serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-primary);
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  letter-spacing: 0.2px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* ========================================
   HEADER MOBILE
   ======================================== */

.mobile-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(25, 64, 35, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.mobile-logo {
  height: 40px;
  padding: 8px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: 'Kepler Std', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.mobile-logo img {
  height: 100%;
  width: auto;
}

.hamburger-btn {
  width: 48px;
  height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 12px;
  background: rgba(210, 224, 106, 0.2);
  border: 1px solid rgba(210, 224, 106, 0.3);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.hamburger-btn:active {
  transform: scale(0.95);
}

.hamburger-btn span {
  width: 100%;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ========================================
   MOBILE NAVIGATION
   ======================================== */

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: linear-gradient(160deg, #1a4d2e 0%, #0f3520 100%);
  z-index: 999;
  transition: right 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.4);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-inner {
  padding: 80px 24px 40px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  color: var(--white);
  font-size: 17px;
  font-weight: 600;
  border-radius: 10px;
  border-left: 3px solid transparent;
  margin-bottom: 4px;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.mobile-nav-link:active {
  transform: translateX(8px);
  background: rgba(210, 224, 106, 0.12);
  border-left-color: var(--accent-lime);
  color: var(--accent-lime);
}

.mobile-nav-link.active {
  background: rgba(210, 224, 106, 0.15);
  border-left-color: var(--accent-lime);
  color: var(--accent-lime);
}

.mobile-nav-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  margin: 16px 0;
}

.mobile-lang-switch {
  display: flex;
  gap: 10px;
  padding: 16px 20px;
}

.mobile-lang-btn {
  flex: 1;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-lang-btn.active {
  background: var(--accent-lime);
  color: var(--primary-green);
  border-color: var(--accent-lime);
}

body.mobile-menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* ========================================
   HERO SECTION
   ======================================== */

.mobile-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 24px 40px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a4d2e 0%, #0f3520 100%);
}

.mobile-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.mobile-hero-bg video,
.mobile-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.mobile-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 500px;
}

.mobile-hero-logo {
  width: 120px;
  height: auto;
  display: block;
  margin: 0 auto 24px auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.mobile-hero-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-lime);
  margin-bottom: 16px;
  opacity: 0.95;
  font-weight: 600;
}

/* If eyebrow is an image, display it very small */
img.mobile-hero-eyebrow {
  width: 120px;
  height: auto;
  display: block;
  margin: 0 auto 24px auto;
}

.mobile-hero-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  font-family: var(--font-accent);
  letter-spacing: 0.3px;
}

/* Resaltar 'valor global' en el título móvil */
.mobile-hero-title .accent-orange {
  color: #f7a35b;
}

.mobile-hero-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 32px;
  font-family: var(--font-primary);
  letter-spacing: 0.2px;
}

.mobile-cta-btn {
  font-family: var(--font-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: var(--accent-lime);
  color: var(--primary-green);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(210, 224, 106, 0.3);
  transition: all 0.3s ease;
  min-height: 52px;
}

.mobile-cta-btn:active {
  transform: translateY(2px);
  box-shadow: 0 4px 12px rgba(210, 224, 106, 0.2);
}

/* ========================================
   SECCIONES GENERALES
   ======================================== */

.mobile-section {
  padding: 60px 24px;
  background: var(--white);
}

.mobile-section.alt-bg {
  background: var(--off-white);
}

.mobile-section-header {
  text-align: center;
  margin-bottom: 32px;
}

.mobile-section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 12px;
  line-height: 1.3;
  font-family: var(--font-primary);
  letter-spacing: 0.2px;
}

.mobile-section-subtitle {
  font-size: 15px;
  color: var(--text-dark);
  opacity: 0.8;
  line-height: 1.6;
  font-family: var(--font-primary);
  letter-spacing: 0.1px;
}

/* ========================================
   CARDS Y COMPONENTES
   ======================================== */

.mobile-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 20px;
  border: 1px solid rgba(26, 77, 46, 0.1);
}

.mobile-card:active {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.mobile-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.mobile-card-content {
  padding: 20px;
}

.mobile-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 8px;
  line-height: 1.4;
  font-family: var(--font-primary);
  letter-spacing: 0.2px;
}

.mobile-card-text {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 12px;
  font-family: var(--font-primary);
  letter-spacing: 0.1px;
}

.mobile-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-green);
  font-size: 14px;
  font-weight: 600;
  transition: gap 0.3s ease;
}

.mobile-card-link:active {
  color: var(--accent-lime);
  gap: 10px;
}

/* Líneas Tabs */
.mobile-lineas-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  padding: 0 4px;
}

.mobile-linea-tab {
  flex: 1;
  padding: 12px 20px;
  background: var(--white);
  border: 2px solid #1a4d2e;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 600;
  color: #1a4d2e;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-primary);
  letter-spacing: 0.3px;
}

.mobile-linea-tab.active {
  background: #1a4d2e;
  color: var(--white);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(26, 77, 46, 0.25);
}

.mobile-lineas-content {
  animation: fadeIn 0.4s ease-in-out;
}

.mobile-linea-image {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: opacity 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Valores Grid */
.mobile-valores-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-valor-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(26, 77, 46, 0.05) 0%, rgba(45, 122, 74, 0.05) 100%);
  border-left: 4px solid #1a4d2e;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-valor-item:active {
  transform: translateX(4px);
  background: linear-gradient(135deg, rgba(26, 77, 46, 0.1) 0%, rgba(45, 122, 74, 0.1) 100%);
  border-left-width: 6px;
}

.mobile-valor-dot {
  width: 12px;
  height: 12px;
  background: #1a4d2e;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(26, 77, 46, 0.2);
}

.mobile-valor-name {
  font-size: 16px;
  font-weight: 600;
  color: #1a4d2e;
  margin: 0;
  line-height: 1.3;
  font-family: var(--font-primary);
  letter-spacing: 0.3px;
}

/* ========================================
   PRODUCTOS GRID
   ======================================== */

.mobile-productos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.mobile-producto-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mobile-producto-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.mobile-producto-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7));
  z-index: 1;
}

.mobile-producto-content {
  position: relative;
  z-index: 2;
  padding: 16px 20px;
  color: var(--primary-green);
  text-align: center;
  width: 100%;
  background: white;
}

.mobile-producto-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-lime);
  color: var(--primary-green);
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-producto-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--primary-green);
  line-height: 1.3;
}

.mobile-producto-text {
  font-size: 14px;
  line-height: 1.6;
  opacity: 1;
  color: var(--white);
}

.mobile-producto-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
  display: block;
}

/* Productos Grid Update */
.mobile-productos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 0 4px;
}

/* Section variants */
.mobile-section-green {
  background: linear-gradient(135deg, #1a4d2e 0%, #2d7a4a 100%);
  padding: 40px 24px;
}

.mobile-title-white {
  color: var(--white) !important;
}

/* Catálogo de Productos (para página de productos) */
.mobile-catalogo-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mobile-catalogo-card:hover,
.mobile-catalogo-card:active {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.mobile-catalogo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.75));
  z-index: 1;
}

.mobile-catalogo-content {
  position: relative;
  z-index: 2;
  padding: 24px 20px;
  color: var(--white);
  width: 100%;
}

.mobile-catalogo-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: var(--white);
  line-height: 1.2;
}

.mobile-catalogo-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--white);
  margin: 0;
}

/* World Map */
.mobile-map-container {
  margin-top: 24px;
  padding: 20px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.mobile-map-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 20px;
}

.mobile-map-legend {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.map-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #1a4d2e;
  font-weight: 500;
  font-family: var(--font-primary);
}

.legend-dot {
  width: 10px;
  height: 10px;
  background: #1a4d2e;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

.map-legend-item.active .legend-dot {
  background: #d2e06a;
  box-shadow: 0 0 0 3px rgba(210, 224, 106, 0.3);
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

/* Carousel - Por qué elegirnos */
.elegirnos-accent {
  color: #f7a35b;
}

.mobile-carousel {
  margin-top: 24px;
  overflow: hidden;
}

.mobile-carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;
}

.mobile-carousel-track::-webkit-scrollbar {
  display: none;
}

.mobile-elegirnos-card {
  flex: 0 0 280px;
  scroll-snap-align: center;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.mobile-elegirnos-card:active {
  transform: scale(0.98);
}

.mobile-elegirnos-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.mobile-elegirnos-card h3 {
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  color: #1a4d2e;
  margin: 0;
  text-align: center;
  font-family: var(--font-primary);
  line-height: 1.4;
}

.mobile-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

/* ========================================
   NOTICIAS Y EVENTOS
   ======================================== */

.mobile-news-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mobile-news-card:active,
.mobile-news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mobile-news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.mobile-news-content {
  padding: 20px;
}

.mobile-news-meta {
  font-size: 12px;
  color: var(--primary-green);
  opacity: 0.8;
  margin-bottom: 8px;
  font-weight: 500;
}

.mobile-news-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 8px;
  line-height: 1.4;
}

.mobile-news-excerpt {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 12px;
}

.mobile-news-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-green);
  font-size: 14px;
  font-weight: 600;
}

/* ========================================
   CONTACTO
   ======================================== */

.mobile-contact-card {
  background: var(--white);
  border: 1px solid rgba(26, 77, 46, 0.1);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.mobile-contact-card:active {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mobile-contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(26, 77, 46, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.mobile-contact-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--primary-green);
}

.mobile-contact-title {
  font-size: 19px;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 8px;
}

.mobile-contact-text {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.6;
}

.mobile-contact-link {
  color: var(--primary-green);
  font-weight: 500;
  text-decoration: underline;
}

/* ========================================
   FOOTER
   ======================================== */

.mobile-footer {
  background: var(--primary-green);
  color: var(--white);
  padding: 40px 24px 20px;
  text-align: center;
}

.mobile-footer-logo {
  height: 60px;
  margin: 0 auto 24px;
}

.mobile-footer-logos {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.mobile-footer-logos img {
  height: 55px;
  width: auto;
}

.footer-divider {
  width: 1px;
  height: 55px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3) 20%, rgba(255, 255, 255, 0.3) 80%, transparent);
  margin: 0 4px;
}

.mobile-footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.mobile-footer-link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  transition: color 0.3s ease;
}

.mobile-footer-link:active {
  color: var(--accent-lime);
}

.mobile-footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.mobile-social-link {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-social-link:active {
  background: var(--accent-lime);
  transform: scale(1.1);
}

.mobile-social-link svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.mobile-footer-copyright {
  font-size: 13px;
  opacity: 0.8;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* ========================================
   ESTILOS ESPECÍFICOS PARA MERCADOS
   ======================================== */

.mobile-map-container {
  margin-top: 32px;
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.mobile-map-image {
  width: 100%;
  margin-bottom: 24px;
  background: var(--off-white);
  border-radius: 12px;
  padding: 20px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-map-image img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  opacity: 0.9;
}

.mobile-legend {
  text-align: center;
}

.mobile-legend-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-legend-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.mobile-legend-list li {
  background: var(--primary-green);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-center {
  text-align: center;
}

.mb-16 {
  margin-bottom: 16px;
}

.mb-24 {
  margin-bottom: 24px;
}

.mb-32 {
  margin-bottom: 32px;
}

.mt-60 {
  margin-top: 60px;
}

.hide {
  display: none;
}

/* ========================================
   OPTIMIZACIÓN PARA PANTALLAS MUY PEQUEÑAS
   ======================================== */

@media (max-width: 375px) {
  .mobile-hero-title {
    font-size: 30px;
  }
  
  .mobile-section-title {
    font-size: 26px;
  }
  
  .mobile-section {
    padding: 48px 16px;
  }
  
  .mobile-nav {
    width: 90%;
  }
}


/* SVG Map Mount */
.mobile-map-mount {
  width: 100%;
  height: auto;
  position: relative;
  overflow: visible;
  border-radius: 16px;
  background: linear-gradient(135deg, #1a2332 0%, #0f1419 100%);
  padding: 20px 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.mobile-map-mount svg {
  width: 100%;
  height: auto;
  display: block;
  max-height: 250px;
}

.mobile-map-mount svg #countries path {
  fill: #2196F3;
  stroke: #1976D2;
  stroke-width: 0.3;
  transition: fill 0.3s ease;
  opacity: 0.9;
}

.mobile-map-mount svg #PE {
  fill: #FF5722 !important;
  stroke: #FFD54F;
  stroke-width: 1.5;
  filter: drop-shadow(0 0 8px rgba(255, 87, 34, 0.6));
}

.mobile-map-mount svg #routes path {
  stroke: #ffffff;
  stroke-width: 2;
  opacity: 0.9;
  stroke-dasharray: 5,5;
}

.mobile-map-mount svg #arrow path {
  fill: #ffffff;
}

.mobile-map-mount svg #pin-layer path {
  fill: #FF5722;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.mobile-map-mount svg #pin-layer circle {
  fill: #ffffff;
}

.mobile-map-legend {
  margin-top: 24px;
  padding: 20px;
  background: rgba(26, 35, 50, 0.5);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-legend-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  text-align: center;
}

.mobile-legend-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.mobile-legend-list li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 12px;
  background: rgba(33, 150, 243, 0.2);
  border-radius: 6px;
  text-align: center;
  border: 1px solid rgba(33, 150, 243, 0.3);
}

/* Mobile Modal */
.mobile-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.mobile-modal.is-open {
  display: flex;
}

.mobile-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.mobile-modal-content {
  position: relative;
  background: white;
  border-radius: 16px;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 1;
  animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-green);
  color: white;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  cursor: pointer;
  border: none;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mobile-modal-image-wrapper {
  width: 100%;
  overflow: hidden;
}

.mobile-modal-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

.mobile-modal-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-green);
  padding: 24px 24px 16px;
  margin: 0;
}

.mobile-modal-body {
  padding: 0 24px 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
}

.mobile-modal-body p {
  margin-bottom: 16px;
}

.mobile-modal-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-green);
  margin-top: 24px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-modal-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.mobile-modal-body ul li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
}

.mobile-modal-body ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-lime);
  font-weight: 700;
}

.mobile-modal-body .modal-block {
  background: var(--off-white);
  padding: 20px;
  border-radius: 12px;
  margin: 20px 0;
  border-left: 4px solid var(--primary-green);
}

body.mobile-modal-open {
  overflow: hidden;
}
