/* 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;
}

:root {
  --cream: #f6f2e7;
  --deep: #0e1a1f;
  --sunset: #f7a35b;
  --white: #ffffff;
  --green-dark: #1a4d2e;
  --green-light: #d2e06a;
  --font-primary: 'Franklin Gothic', 'Segoe UI', Tahoma, sans-serif;
  --font-accent: 'Kepler Std', Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ============================================
   ANIMACIONES PREMIUM GLOBALES
   ============================================ */

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(210, 224, 106, 0.3),
                0 0 40px rgba(210, 224, 106, 0.1);
  }
  50% {
    box-shadow: 0 0 30px rgba(210, 224, 106, 0.6),
                0 0 60px rgba(210, 224, 106, 0.3);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes rotate-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes bounce-soft {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes fade-slide-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-slide-left {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fade-slide-right {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes blur-in {
  from {
    opacity: 0;
    filter: blur(10px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes text-gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

html,
body {
  height: 100%;
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><circle cx="16" cy="16" r="12" fill="none" stroke="%23ffffff" stroke-width="2"/><circle cx="16" cy="16" r="4" fill="%23ffffff"/></svg>') 16 16, auto;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  color: var(--white);
  background: var(--deep);
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* ============================================
   EFECTO DE PARTÍCULAS DE FONDO
   ============================================ */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(210, 224, 106, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(247, 163, 91, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: float 20s ease-in-out infinite;
}

/* Cursores personalizados */
.nosotros-intro,
.nosotros-principios,
.nosotros-fortalezas,
.contacto-page,
.noticias-section,
.productos-section {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><circle cx="16" cy="16" r="12" fill="none" stroke="%231a4d2e" stroke-width="2"/><circle cx="16" cy="16" r="4" fill="%231a4d2e"/></svg>') 16 16, auto;
}

.nosotros-pilares,
.nosotros-sostenibilidad,
.mercados,
.hero {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><circle cx="16" cy="16" r="12" fill="none" stroke="%23ffffff" stroke-width="2"/><circle cx="16" cy="16" r="4" fill="%23ffffff"/></svg>') 16 16, auto;
}

/* Cursores para elementos interactivos */
.nosotros-intro a,
.nosotros-intro button,
.nosotros-principios a,
.nosotros-principios button,
.nosotros-fortalezas a,
.nosotros-fortalezas button,
.contacto-page a,
.contacto-page button,
.noticias-section a,
.noticias-section button,
.productos-section a,
.productos-section button,
.site-nav a,
.lang-btn {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><circle cx="16" cy="16" r="12" fill="none" stroke="%231a4d2e" stroke-width="2"/><circle cx="16" cy="16" r="4" fill="%231a4d2e\"/></svg>') 16 16, auto;
}

.nosotros-pilares a,
.nosotros-pilares button,
.nosotros-sostenibilidad a,
.nosotros-sostenibilidad button,
.mercados a,
.mercados button,
.hero a,
.hero button,
.hero-cta {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><circle cx="16" cy="16" r="12" fill="none" stroke="%23ffffff" stroke-width="2"/><circle cx="16" cy="16" r="4" fill="%23ffffff"/></svg>') 16 16, auto;
}

/* Pantalla de Carga */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a4d2e 0%, #0f3520 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  position: relative;
  width: 250px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-text {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: rotateLogo 8s linear infinite;
}

.circular-text {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  letter-spacing: 4px;
  color: #ffffff;
}

.loading-logo {
  width: 100px;
  height: 100px;
  opacity: 0;
  animation: fadeInLogo 2s ease-in-out 0.5s forwards;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

@keyframes rotateLogo {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeInLogo {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.page {
  height: 100vh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.free-scroll .page {
  height: auto;
  overflow: visible;
  scroll-snap-type: none;
}

.free-scroll .panel {
  min-height: auto;
  scroll-snap-align: none;
  padding: 64px 64px 80px;
}

.free-scroll .hero.hero-full {
  min-height: 100vh;
  padding: 0;
  margin-bottom: 0;
}

.free-scroll .placeholder {
  background: #f3f3f3;
  color: #194023;
}

.free-scroll .site-header {
  position: sticky;
  top: 0;
  background: #194023;
  padding: 16px 48px;
  z-index: 10;
}

.free-scroll .site-header.hero-header {
  position: absolute;
  background: var(--white);
  padding: 12px 64px;
}

.free-scroll .site-nav a {
  color: #194023;
}

.panel {
  position: relative;
  min-height: 100vh;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero {
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowZoom 20s ease-in-out infinite alternate;
}

.free-scroll .hero.hero-full {
  min-height: 100vh;
  padding: 0;
  margin-bottom: 0;
}

.nosotros-tabs {
  background: #194023;
  color: var(--white);
  padding: 200px 64px 80px;
  margin-top: -120px;
  position: relative;
  z-index: 1;
}

.nosotros-tabs-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.tabs-header {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  padding: 8px 6px;
  border-radius: 0;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.tab-btn::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d2e06a, transparent);
  transition: width 0.4s ease;
}

.tab-btn:hover::before {
  width: 100%;
}

.tab-btn:hover,
.tab-btn:focus-visible {
  background: rgba(210, 224, 106, 0.25);
  border-radius: 999px;
  padding: 10px 26px;
  border-bottom-color: transparent;
  outline: none;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 4px 12px rgba(210, 224, 106, 0.3);
}

.tab-btn.is-active {
  background: linear-gradient(135deg, #d2e06a 0%, #c5d962 100%);
  border-color: #d2e06a;
  color: #1a2a1f;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25),
              0 0 20px rgba(210, 224, 106, 0.4);
  border-radius: 999px;
  padding: 10px 26px;
  transform: translateY(-2px) scale(1.05);
  animation: pulse-glow 2s ease-in-out infinite;
}

.tab-panel {
  display: none;
  animation: fade-slide-up 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tab-panel.is-active {
  display: block;
}

.tab-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.tab-text h2 {
  font-family: var(--font-primary);
  margin: 0 0 16px;
  font-size: 32px;
  color: #d2e06a;
  letter-spacing: 0.2px;
}

.tab-text p {
  font-family: var(--font-primary);
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.1px;
}

.tab-media img {
  width: 100%;
  max-width: 520px;
  border-radius: 22px;
  display: block;
  margin-left: auto;
  box-shadow: 0 18px 40px rgba(7, 16, 20, 0.35);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tab-media img:hover {
  transform: scale(1.03) translateY(-5px);
  box-shadow: 0 24px 50px rgba(7, 16, 20, 0.45);
}

.valores-section {
  background: #f3f3f3;
  color: #194023;
  padding: 80px 64px;
}

.valores-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.valores-header {
  text-align: center;
  margin-bottom: 40px;
}

.valores-header h2 {
  margin: 0 0 10px;
  font-size: 36px;
  color: #194023;
}

.valores-underline {
  display: inline-block;
  width: 160px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #194023, rgba(25, 64, 35, 0.2));
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.valor-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 30px rgba(20, 20, 20, 0.08);
  display: grid;
  grid-template-rows: 160px 1fr;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.valor-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 48px rgba(20, 20, 20, 0.15);
}

.valor-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.valor-card:hover img {
  transform: scale(1.1);
}

.valor-body {
  padding: 20px;
}

.valor-body h3 {
  font-family: var(--font-primary);
  margin: 0 0 12px;
  font-size: 18px;
  color: #194023;
  letter-spacing: 0.2px;
}

.valor-body p {
  font-family: var(--font-primary);
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #4d4d4d;
  letter-spacing: 0.1px;
}

.productos-section {
  background: #f3f3f3;
  color: #194023;
  padding: 80px 64px;
}

.productos-section-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.productos-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.productos-info-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 16px 30px rgba(20, 20, 20, 0.08);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.productos-info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(20, 20, 20, 0.14);
}

.productos-info-card h3 {
  font-family: var(--font-primary);
  margin: 0 0 12px;
  font-size: 18px;
  color: #194023;
  letter-spacing: 0.2px;
}

.productos-info-card p {
  font-family: var(--font-primary);
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #4d4d4d;
  letter-spacing: 0.1px;
}

.productos-list-header {
  text-align: center;
  margin: 48px 0 36px;
}

.productos-list-header h2 {
  margin: 0 0 10px;
  font-size: 34px;
  color: #194023;
}

.productos-list-underline {
  display: inline-block;
  width: 180px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #194023, rgba(25, 64, 35, 0.2));
}

.productos-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.producto-card-item {
  border: none;
  padding: 0;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 16px 30px rgba(20, 20, 20, 0.08);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.producto-card-item:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 28px 55px rgba(20, 20, 20, 0.18);
}

.producto-card-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.producto-card-item:hover img {
  transform: scale(1.15);
}

.producto-card-item span {
  display: block;
  padding: 16px;
  font-size: 18px;
  font-weight: 600;
  color: #194023;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal.is-open {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.modal-card {
  position: relative;
  width: min(1100px, 92vw);
  max-height: 88vh;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  z-index: 1;
}

.modal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-height: 88vh;
}

.modal-media {
  padding: 32px;
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 88vh;
  overflow: hidden;
}

.modal-media img {
  width: 100%;
  max-width: 320px;
  height: auto;
  object-fit: contain;
}

.modal-info {
  padding: 32px 40px;
  overflow-y: auto;
  max-height: 88vh;
}

.modal-info h2 {
  font-family: var(--font-primary);
  margin: 0 0 16px;
  font-size: 28px;
  color: #1f4b2e;
  letter-spacing: 0.2px;
}

#newsBody {
  font-family: var(--font-primary);
  margin: 0;
  color: #4d4d4d;
  line-height: 1.7;
  font-size: 14px;
  letter-spacing: 0.1px;
}

.news-modal-meta {
  font-size: 13px;
  color: #6a6a6a;
  margin-bottom: 12px;
}

.modal-block {
  margin-bottom: 16px;
}

.modal-block h4 {
  font-family: var(--font-primary);
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.8px;
  color: #1f4b2e;
  font-weight: 700;
  text-transform: uppercase;
}

.modal-block p {
  font-family: var(--font-primary);
  margin: 0;
  color: #4d4d4d;
  line-height: 1.6;
  font-size: 14px;
  letter-spacing: 0.1px;
}

.modal-block ul {
  font-family: var(--font-primary);
  margin: 0;
  padding-left: 18px;
  color: #4d4d4d;
  line-height: 1.6;
  font-size: 14px;
  letter-spacing: 0.1px;
}

.modal-info > p {
  font-family: var(--font-primary);
  margin: 0 0 14px;
  color: #4d4d4d;
  line-height: 1.7;
  font-size: 14px;
  letter-spacing: 0.1px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1f4b2e;
  color: #ffffff;
  border: none;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

body.modal-open {
  overflow: hidden;
}

.aliado {
  background: #194023;
  color: var(--white);
  padding: 80px 64px;
}

.aliado-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.aliado-header {
  text-align: center;
  margin-bottom: 40px;
}

.aliado-header h2 {
  margin: 0 0 10px;
  font-size: 36px;
  color: var(--white);
}

.aliado-underline {
  display: inline-block;
  width: 180px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d2e06a, rgba(210, 224, 106, 0.2));
}

.aliado-cards {
  display: grid;
  gap: 24px;
}

.aliado-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(210, 224, 106, 0.2);
  border-radius: 20px;
  padding: 20px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.aliado-card:hover {
  transform: translateX(10px);
  box-shadow: 0 16px 35px rgba(7, 12, 9, 0.3);
  border-color: rgba(210, 224, 106, 0.5);
}

.aliado-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.aliado-card:hover img {
  transform: scale(1.05);
}

.aliado-text h3 {
  font-family: var(--font-primary);
  margin: 0 0 12px;
  font-size: 20px;
  color: #d2e06a;
  letter-spacing: 0.2px;
}

.aliado-text p {
  font-family: var(--font-primary);
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  letter-spacing: 0.1px;
}

.noticias-page {
  background: #f3f3f3;
  color: #194023;
  padding: 80px 64px;
}

.noticias-page-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.noticias-featured {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  background: #ffffff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 16px 30px rgba(20, 20, 20, 0.08);
  margin-bottom: 40px;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.noticias-featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(20, 20, 20, 0.15);
}

.featured-media {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.featured-media img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.noticias-featured:hover .featured-media img {
  transform: scale(1.08);
}

.featured-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: #f68d48;
  color: #1a2a1f;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
}

.featured-content h2 {
  font-family: var(--font-primary);
  margin: 8px 0 12px;
  font-size: 26px;
  color: #194023;
  letter-spacing: 0.2px;
}

.featured-meta {
  font-family: var(--font-primary);
  font-size: 13px;
  color: #6a6a6a;
  letter-spacing: 0.1px;
}

.featured-content p {
  font-family: var(--font-primary);
  margin: 0 0 18px;
  color: #4d4d4d;
  line-height: 1.7;
  letter-spacing: 0.1px;
}

.news-link-btn {
  font-family: var(--font-primary);
  border: 1px solid #194023;
  background: transparent;
  color: #194023;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.1px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-link-btn:hover {
  background: #194023;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(25, 64, 35, 0.25);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.news-card-item {
  border: none;
  text-align: left;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 30px rgba(20, 20, 20, 0.08);
  cursor: pointer;
  padding: 0;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-card-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(20, 20, 20, 0.15);
}

.news-card-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-card-item:hover img {
  transform: scale(1.08);
}

.news-card-content {
  padding: 18px;
}

.news-meta {
  font-size: 12px;
  color: #6a6a6a;
  margin-bottom: 8px;
}

.news-card-content h3 {
  font-family: var(--font-primary);
  margin: 0 0 10px;
  font-size: 18px;
  color: #194023;
  letter-spacing: 0.2px;
}

.news-card-content p {
  font-family: var(--font-primary);
  margin: 0 0 14px;
  color: #4d4d4d;
  line-height: 1.6;
  letter-spacing: 0.1px;
}

.news-link {
  font-family: var(--font-primary);
  color: #194023;
  font-weight: 600;
  letter-spacing: 0.1px;
}

.news-modal-meta {
  font-family: var(--font-primary);
  font-size: 13px;
  color: #6a6a6a;
  margin-bottom: 6px;
  letter-spacing: 0.1px;
}

.contacto-page {
  background: #f3f3f3;
  color: #194023;
  padding: 80px 64px;
}

.contacto-page-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.contacto-page-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.contacto-form-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 16px 30px rgba(20, 20, 20, 0.08);
}

.contacto-form-card h2 {
  font-family: var(--font-primary);
  margin: 0 0 12px;
  font-size: 28px;
  color: #194023;
  letter-spacing: 0.2px;
}

.contacto-form-card p {
  font-family: var(--font-primary);
  margin: 0 0 24px;
  color: #4d4d4d;
  letter-spacing: 0.1px;
}

.contacto-form {
  display: grid;
  gap: 16px;
}

.contacto-form label {
  font-family: var(--font-primary);
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #194023;
  letter-spacing: 0.1px;
}

.contacto-form input,
.contacto-form select,
.contacto-form textarea {
  font-family: var(--font-primary);
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(25, 64, 35, 0.2);
  padding: 12px 14px;
  font-size: 14px;
  letter-spacing: 0.1px;
  transition: border-color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contacto-form input:focus,
.contacto-form select:focus,
.contacto-form textarea:focus {
  outline: none;
  border-color: #194023;
  box-shadow: 0 0 0 3px rgba(25, 64, 35, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-submit {
  margin-top: 8px;
  background: #194023;
  color: #ffffff;
  border: none;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.form-submit:hover {
  background: #2a5a3e;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(25, 64, 35, 0.3);
}

.contacto-info-panel {
  display: grid;
  gap: 18px;
}

.contacto-info-panel h2 {
  font-family: var(--font-primary);
  margin: 0;
  font-size: 28px;
  color: #194023;
  letter-spacing: 0.2px;
}

.contacto-info-panel p {
  font-family: var(--font-primary);
  margin: 0;
  color: #4d4d4d;
  letter-spacing: 0.1px;
}

.contacto-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contacto-info-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 16px 30px rgba(20, 20, 20, 0.08);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contacto-info-card-link {
  text-decoration: none;
  cursor: pointer;
}

.contacto-info-card-link:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 45px rgba(25, 64, 35, 0.2);
}

.contacto-info-card-link .info-icon {
  background: rgba(25, 64, 35, 0.15);
  transition: background 0.3s ease;
}

.contacto-info-card-link:hover .info-icon {
  background: rgba(25, 64, 35, 0.25);
}

.contacto-info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(20, 20, 20, 0.14);
}

.contacto-info-card h3 {
  font-family: var(--font-primary);
  margin: 12px 0 8px;
  font-size: 16px;
  color: #194023;
  letter-spacing: 0.2px;
}

.contacto-info-card p {
  font-family: var(--font-primary);
  margin: 0;
  color: #4d4d4d;
  line-height: 1.5;
  letter-spacing: 0.1px;
}

.info-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(25, 64, 35, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.info-icon svg {
  width: 26px;
  height: 26px;
  fill: #194023;
}

.contacto-social {
  background: #194023;
  color: #ffffff;
  padding: 18px;
  border-radius: 18px;
  text-align: center;
}

.contacto-social h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.contacto-social a {
  color: #d2e06a;
  text-decoration: none;
  font-weight: 600;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(7, 16, 20, 0.85), rgba(7, 16, 20, 0.35));
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 64px;
  background: var(--white);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: background, backdrop-filter, box-shadow;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 999px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              filter 0.4s ease;
  position: relative;
  overflow: hidden;
  font-family: var(--font-accent);
  font-size: 24px;
  font-weight: 600;
  color: var(--green-dark);
  letter-spacing: 0.5px;
}

.logo::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(210, 224, 106, 0.1),
    transparent
  );
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.logo:hover::before {
  opacity: 1;
  animation: shimmer 1.5s ease-in-out infinite;
}

.logo:hover {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 12px 30px rgba(210, 224, 106, 0.3),
              0 8px 20px rgba(0, 0, 0, 0.2);
  filter: brightness(1.05);
}

.logo img {
  height: 56px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.site-nav a {
  font-family: var(--font-primary);
  color: #194023;
  text-decoration: none;
  text-transform: none;
  font-size: 15px;
  letter-spacing: 0.5px;
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.site-nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(210, 224, 106, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.site-nav a:hover::before {
  left: 100%;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #194023, transparent);
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 10px rgba(25, 64, 35, 0.3);
}

.site-nav a:hover::after {
  width: 100%;
}

.nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding-bottom: 0;
  border-bottom: none;
}

.nav-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.nav-group {
  display: inline-flex;
  align-items: center;
  gap: 28px;
}

.nav-divider {
  width: 1px;
  height: 28px;
  background: rgba(25, 64, 35, 0.2);
}

.lang-switch {
  display: inline-flex;
  gap: 8px;
}

.lang-btn {
  font-family: var(--font-primary);
  background: rgba(25, 64, 35, 0.08);
  border: 1px solid rgba(25, 64, 35, 0.2);
  color: #194023;
  font-size: 12px;
  letter-spacing: 2px;
  padding: 6px 10px;
  border-radius: 14px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.lang-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(210, 224, 106, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.lang-btn:hover::before {
  width: 200%;
  height: 200%;
}

.lang-btn:hover {
  background: rgba(210, 224, 106, 0.2);
  border-color: rgba(210, 224, 106, 0.5);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(210, 224, 106, 0.3);
}

.lang-btn.active {
  background: #d2e06a;
  color: #1d2a1b;
  border-color: #d2e06a;
  transform: scale(1.05);
  animation: pulse-glow 2s ease-in-out infinite;
}

.site-nav a:hover,
.site-nav a.active,
.site-nav a[aria-current="page"] {
  color: #194023;
  border-color: #194023;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 120px 64px 0;
  align-self: center;
  text-align: center;
  margin: 0 auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 12px;
  margin: 0 0 24px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  animation: fade-slide-up 1s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.hero-content h1 {
  font-size: 56px;
  line-height: 1.05;
  margin: 0 0 24px;
  color: var(--white);
  font-family: var(--font-accent);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.5px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5),
               0 8px 40px rgba(0, 0, 0, 0.3);
  animation: fade-slide-up 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s backwards;
}

/* Texto específico en hero: resaltar 'valor global' en naranja */
.hero-content h1 .accent-orange {
  color: var(--sunset);
}

.accent-italic {
  background: linear-gradient(135deg, #d2e06a 0%, #a8c956 50%, #d2e06a 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  animation: text-gradient-shift 3s ease-in-out infinite;
  display: inline-block;
}

.hero-cta {
  font-family: var(--font-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  background: linear-gradient(135deg, #f68d48 0%, #ff9a5a 100%);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.3px;
  padding: 14px 28px;
  border-radius: 999px;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 20px rgba(246, 141, 72, 0.3),
              0 0 40px rgba(246, 141, 72, 0.1);
  position: relative;
  overflow: hidden;
}

.hero-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.hero-cta:hover::before {
  width: 300%;
  height: 300%;
}

.hero-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-cta:hover::after {
  opacity: 1;
  animation: shimmer 1.5s ease-in-out infinite;
}

.hero-cta:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 20px 45px rgba(246, 141, 72, 0.5),
              0 0 60px rgba(246, 141, 72, 0.3);
  filter: brightness(1.1);
}

/* ============================
   SISTEMA DE ANIMACIONES ELEGANTE
   ============================ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1),
              filter 0.9s ease;
  will-change: opacity, transform;
}

.reveal-up {
  transform: translateY(50px);
}

.reveal-down {
  opacity: 0;
  transform: translateY(-50px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  filter: blur(5px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  filter: blur(5px);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  filter: blur(3px);
}

.reveal-scale-up {
  opacity: 0;
  transform: scale(0.8) translateY(30px);
  filter: blur(5px);
}

.reveal-blur {
  opacity: 0;
  filter: blur(15px);
  transform: translateY(20px);
  transition: opacity 1s cubic-bezier(0.34, 1.56, 0.64, 1),
              filter 1s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-rotate {
  opacity: 0;
  transform: rotate(-8deg) translateY(30px);
  filter: blur(3px);
}

/* Estados visibles */
.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1) rotate(0);
  filter: blur(0);
}

/* Delays escalonados para animaciones en secuencia */
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }
.reveal-delay-5 { transition-delay: 0.75s; }
.reveal-delay-6 { transition-delay: 0.9s; }

/* Animación de fade suave */
.fade-in {
  opacity: 0;
  transition: opacity 1.2s ease;
}

.fade-in.is-visible {
  opacity: 1;
}


.placeholder {
  background: var(--cream);
  color: var(--deep);
  font-size: 32px;
  font-weight: 600;
}

#lineas {
  background: #f3f3f3;
  color: #1a1a1a;
  padding: 0 64px;
}

.lineas-inner {
  width: 100%;
  max-width: 1400px;
}

.lineas-header {
  text-align: center;
  margin-bottom: 48px;
}

.lineas-header h2 {
  margin: 0 0 8px;
  font-size: 52px;
  color: #194023;
  font-family: var(--font-primary);
  font-weight: 400;
  letter-spacing: 0.3px;
}

.lineas-underline {
  display: inline-block;
  width: 220px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #194023, rgba(25, 64, 35, 0.2));
}

.lineas-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.lineas-tabs {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.linea-tab {
  font-family: var(--font-accent);
  width: 100%;
  text-align: left;
  padding: 22px 32px;
  border-radius: 18px;
  border: 2px solid #194023;
  background: transparent;
  color: #194023;
  font-size: 26px;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.linea-tab::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, #d2e06a, #194023);
  transition: height 0.4s ease;
}

.linea-tab:hover::before {
  height: 100%;
}

.linea-tab::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(210, 224, 106, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.linea-tab:hover::after {
  opacity: 1;
  animation: shimmer 2s ease-in-out infinite;
}

.linea-tab:hover {
  transform: translateX(12px) scale(1.02);
  border-color: #2a5a3e;
  background: rgba(210, 224, 106, 0.05);
  box-shadow: 0 4px 12px rgba(25, 64, 35, 0.15);
}

.linea-tab.is-active {
  background: linear-gradient(135deg, #194023 0%, #2a5a3e 100%);
  color: #d2e06a;
  box-shadow: 0 12px 26px rgba(25, 64, 35, 0.25),
              0 0 30px rgba(210, 224, 106, 0.2);
  transform: translateX(16px) scale(1.04);
  border-color: #d2e06a;
}

.linea-tab.is-active::before {
  height: 100%;
  width: 100%;
  background: rgba(210, 224, 106, 0.1);
}

.linea-text {
  font-size: 20px;
  line-height: 1.7;
  margin: 0;
  color: #2a2a2a;
}

.lineas-media img {
  width: 100%;
  max-width: 680px;
  display: block;
  margin-left: auto;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}

.lineas-media img:hover {
  transform: scale(1.08) rotate(2deg) translateY(-8px);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25)) brightness(1.05);
}

.productos {
  background: #194023;
  color: #1a1a1a;
  padding: 20px 64px 20px;
}

.productos-inner {
  width: 100%;
  max-width: 1200px;
}

.productos-header {
  text-align: center;
  margin-bottom: 20px;
}

.productos-header h2 {
  margin: 0 0 6px;
  font-size: 36px;
  color: #d2e06a;
  font-family: var(--font-primary);
  font-weight: 400;
}

.productos-underline {
  display: inline-block;
  width: 130px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d2e06a, rgba(210, 224, 106, 0.25));
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.producto-card {
  background: #335f42;
  border: 1px solid rgba(210, 224, 106, 0.35);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 10px 22px rgba(9, 12, 8, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.producto-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(210, 224, 106, 0.1) 50%,
    transparent 70%
  );
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.producto-card:hover::before {
  opacity: 1;
  animation: shimmer 2s ease-in-out infinite;
}

.producto-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(210, 224, 106, 0.6), rgba(247, 163, 91, 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.producto-card:hover::after {
  opacity: 1;
}

/* Efecto de brillo seguidor del mouse */
.producto-card:before {
  --mouse-x: 50%;
  --mouse-y: 50%;
}

.producto-card:hover {
  transform: translateY(-12px) scale(1.05) rotate(1deg);
  box-shadow: 0 24px 48px rgba(9, 12, 8, 0.4),
              0 0 30px rgba(210, 224, 106, 0.3);
  border-color: rgba(210, 224, 106, 0.9);
}

.producto-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #3b6a49;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-shadow: inset 0 0 0 1px rgba(210, 224, 106, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
}

.producto-card:hover .producto-image {
  box-shadow: inset 0 0 0 2px rgba(210, 224, 106, 0.5),
              0 8px 20px rgba(210, 224, 106, 0.2);
  background: #3f7350;
}

.producto-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.producto-card:hover .producto-image img {
  transform: scale(1.1) rotate(-3deg);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

.producto-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #194023;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: -8px;
  box-shadow: 0 8px 18px rgba(25, 64, 35, 0.25);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.producto-card:hover .producto-icon {
  transform: scale(1.2) rotate(360deg);
  background: linear-gradient(135deg, #194023, #2a5c3a);
  box-shadow: 0 12px 24px rgba(210, 224, 106, 0.4),
              0 0 20px rgba(210, 224, 106, 0.3);
}

.producto-icon svg {
  width: 13px;
  height: 13px;
  fill: #d2e06a;
  transition: all 0.4s ease;
}

.producto-card:hover .producto-icon svg {
  fill: #e8f07a;
  filter: drop-shadow(0 0 4px rgba(210, 224, 106, 0.6));
}

.producto-card h3 {
  font-family: var(--font-accent);
  margin: 6px 0 0;
  font-size: 12px;
  font-style: italic;
  color: #d2e06a;
  letter-spacing: 0.1px;
  background: rgba(25, 64, 35, 0.6);
  padding: 5px 8px;
  border-radius: 10px;
  width: 100%;
}

.mercados {
  background: #f3f3f3;
  color: #1a1a1a;
  padding: 20px 64px 0;
}

.mercados-inner {
  width: 100%;
  max-width: 1200px;
}

.mercados-header {
  text-align: center;
  margin-bottom: 32px;
}

.mercados-header h2 {
  font-family: var(--font-primary);
  margin: 0 0 6px;
  font-size: 40px;
  color: #194023;
  letter-spacing: 0.2px;
}

.mercados-underline {
  display: inline-block;
  width: 200px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #194023, rgba(25, 64, 35, 0.2));
}

.mercados-map {
  display: flex;
  justify-content: center;
}

.mercados-map svg {
  width: 100%;
  max-width: 980px;
  height: auto;
}

.mercados .map-section {
  width: 100%;
  padding: 0;
}

.mercados .map-wrap {
  position: relative;
  width: min(1200px, 100%);
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  background: radial-gradient(circle at 15% 15%, #0b0b0b 0%, #1a2a2a 35%, #5aa6a6 100%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  min-height: 420px;
}

.mercados .map-mount svg {
  width: 100%;
  height: auto;
  display: block;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  will-change: transform;
  shape-rendering: optimizeSpeed;
}

.mercados #countries path {
  fill: #1f86ff;
  opacity: 0.98;
  will-change: auto;
}

.mercados #countries #PE {
  fill: #ff2d2d;
}

.mercados #routes path {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  marker-end: url(#arrow);
}

.mercados #arrow path {
  fill: rgba(255, 255, 255, 0.92);
}

.mercados #routes path.route-base {
  fill: none;
  stroke: rgba(255, 255, 255, 0.45);
  stroke-width: 4;
  stroke-linecap: round;
  marker-end: url(#arrow);
}

.mercados #routes path.route-flow {
  fill: none;
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 4;
  stroke-linecap: round;
  marker-end: url(#arrow);
  stroke-dasharray: 10 16;
  animation: routeFlow 1.2s linear infinite;
  will-change: stroke-dashoffset;
}

@keyframes routeFlow {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -52;
  }
}

.mercados .map-wrap:hover #routes path.route-flow {
  stroke: rgba(255, 255, 255, 1);
  stroke-dasharray: 12 14;
}

.mercados .pin {
  will-change: auto;
}

.mercados .pin .ring {
  fill: none;
  stroke: #ffd200;
  stroke-width: 7;
  opacity: 0.95;
}

.mercados .pin .dot {
  fill: #ffd200;
}

.mercados .legend {
  position: absolute;
  left: 28px;
  top: 28px;
  z-index: 2;
  color: #fff;
  user-select: none;
}

.mercados .legend-title {
  font-weight: 900;
  font-size: clamp(20px, 3vw, 36px);
  letter-spacing: 0.2px;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.mercados .legend-list {
  margin: 0;
  padding-left: 22px;
  font-size: clamp(14px, 1.8vw, 24px);
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.mercados .legend-list li {
  margin: 6px 0;
}

.elegirnos {
  background: #194023;
  color: var(--white);
  padding: 20px 64px 0;
  overflow: hidden;
}

.elegirnos-inner {
  width: 100%;
  max-width: 1200px;
}

.elegirnos-header {
  text-align: center;
  margin-bottom: 32px;
}

.elegirnos-header h2 {
  margin: 0 0 6px;
  font-size: 40px;
  color: #f68d48;
}

.elegirnos-header .elegirnos-white {
  color: var(--white);
}

.elegirnos-underline {
  display: inline-block;
  width: 200px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f68d48, rgba(246, 141, 72, 0.2));
}

.carousel {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 28px;
  align-items: stretch;
  animation: carouselScroll 28s linear infinite;
  will-change: transform;
}

.carousel:hover .carousel-track {
  animation-play-state: paused;
}

.elegirnos-card {
  width: 420px;
  flex: 0 0 auto;
  border-radius: 18px;
  background: #2c5a3e;
  border: 1px solid rgba(210, 224, 106, 0.25);
  overflow: hidden;
  box-shadow: 0 16px 30px rgba(7, 12, 9, 0.25);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  user-select: none;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  position: relative;
}

.elegirnos-card::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(210, 224, 106, 0.15), transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.elegirnos-card:hover::before {
  opacity: 1;
}

.elegirnos-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(210, 224, 106, 0.4), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.elegirnos-card:hover::after {
  opacity: 1;
}

.elegirnos-card:hover {
  transform: translate3d(0, -15px, 0) scale(1.08) rotate(1deg);
  box-shadow: 0 30px 60px rgba(7, 12, 9, 0.5),
              0 0 40px rgba(210, 224, 106, 0.3);
  border-color: rgba(210, 224, 106, 0.6);
}

.elegirnos-card:active {
  transform: translate3d(0, -12px, 0) scale(1.05);
}

.elegirnos-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  backface-visibility: hidden;
  position: relative;
  z-index: 0;
}

.elegirnos-card:hover img {
  transform: scale(1.15) rotate(-2deg);
  filter: brightness(1.1) saturate(1.2);
}

.elegirnos-card h3 {
  font-family: var(--font-primary);
  margin: 0;
  padding: 24px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--white);
  background: rgba(25, 64, 35, 0.7);
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.elegirnos-card:hover h3 {
  background: rgba(25, 64, 35, 0.9);
  color: #d2e06a;
  letter-spacing: 0.5px;
}

@keyframes carouselScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.noticias {
  background: #f3f3f3;
  color: #1a1a1a;
  padding: 20px 64px 0;
}

.noticias-inner {
  width: 100%;
  max-width: 1200px;
}

.noticias-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.noticias-col h2,
.eventos-col h2 {
  margin: 0 0 24px;
  font-size: 36px;
  color: #194023;
}

.news-list {
  display: grid;
  gap: 20px;
}

.news-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  background: #ffffff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 16px 30px rgba(20, 20, 20, 0.08);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.news-card::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(210, 224, 106, 0.15), transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.news-card:hover::before {
  opacity: 1;
}

.news-card:hover {
  transform: translateX(12px) translateY(-4px);
  box-shadow: 0 24px 48px rgba(20, 20, 20, 0.16),
              0 0 30px rgba(210, 224, 106, 0.2);
}

.news-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 14px;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.news-card:hover img {
  transform: scale(1.15) rotate(2deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.news-content h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: #1f4b2e;
}

.news-link {
  color: #7aa688;
  font-weight: 600;
  text-decoration: none;
}

.event-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.event-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 30px rgba(20, 20, 20, 0.08);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.event-card::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(210, 224, 106, 0.2), transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.event-card:hover::before {
  opacity: 1;
}

.event-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 28px 56px rgba(20, 20, 20, 0.18),
              0 0 40px rgba(210, 224, 106, 0.25);
}

.event-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 0;
}

.event-card:hover img {
  transform: scale(1.15);
  filter: brightness(1.1) saturate(1.1);
}

.event-content {
  padding: 16px;
}

.event-content h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #1f4b2e;
}

.event-date {
  margin: 0 0 6px;
  font-weight: 700;
  color: #194023;
}

.event-place {
  margin: 0;
  color: #4d4d4d;
}

.contacto {
  background: #194023;
  color: var(--white);
  padding: 80px 64px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 60px;
}

.contacto-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.contacto-header {
  text-align: center;
  margin-bottom: 48px;
}

.contacto-header h2 {
  margin: 0 0 12px;
  font-size: 48px;
  color: #d2e06a;
  font-style: italic;
}

.contacto-underline {
  display: inline-block;
  width: 150px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d2e06a, rgba(210, 224, 106, 0.2));
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 40px;
}

.contacto-info {
  display: grid;
  gap: 32px;
}

.contacto-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  align-items: center;
  padding: 36px 28px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(210, 224, 106, 0.25);
  transition: transform 0.3s ease, background 0.3s ease;
}

.contacto-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
}

.contacto-card h3 {
  font-family: var(--font-primary);
  margin: 0 0 10px;
  font-size: 24px;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.contacto-card p {
  font-family: var(--font-primary);
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  letter-spacing: 0.1px;
}

.contacto-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contacto-icon svg {
  width: 36px;
  height: 36px;
  fill: var(--white);
}

.contacto-media img {
  width: 100%;
  max-width: 100%;
  max-height: 550px;
  object-fit: cover;
  border-radius: 24px;
  display: block;
  margin-left: auto;
  box-shadow: 0 18px 40px rgba(7, 16, 20, 0.35);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contacto-media img:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 24px 55px rgba(7, 16, 20, 0.45);
}

.contacto .site-footer,
.contacto .footer-inner,
.contacto .footer-bottom {
  max-width: none;
}

.contacto .footer-inner {
  gap: 32px;
}

.contacto .footer-brand img {
  height: 90px;
  width: auto;
}

.contacto .footer-col h3 {
  margin-bottom: 10px;
  font-size: 16px;
}

.contacto .footer-links a {
  font-size: 13px;
}

.contacto .footer-bottom {
  margin-top: 14px;
  padding-top: 10px;
  font-size: 11px;
}

.site-footer {
  background: #f3f3f3;
  color: #194023;
  border-top: 1px solid rgba(25, 64, 35, 0.12);
  padding: 60px 0 32px;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.footer-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 64px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.footer-brand {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-brand img {
  height: 90px;
  width: auto;
  display: block;
}

.footer-divider {
  width: 1px;
  height: 90px;
  background: linear-gradient(to bottom, transparent, rgba(25, 64, 35, 0.25) 20%, rgba(25, 64, 35, 0.25) 80%, transparent);
  margin: 0 4px;
}

.footer-col h3 {
  font-family: var(--font-primary);
  margin: 0 0 18px;
  font-size: 20px;
  color: #194023;
  letter-spacing: 0.2px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}

.footer-links a {
  font-family: var(--font-primary);
  color: #194023;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.1px;
}

.footer-lang-switch {
  display: grid;
  gap: 12px;
}

.contacto .footer-lang-switch .lang-btn {
  background: #ffffff;
  color: #194023;
  border-color: rgba(25, 64, 35, 0.2);
}

.contacto .footer-lang-switch .lang-btn.active {
  background: #194023;
  color: #ffffff;
  border-color: #194023;
}

.footer-bottom {
  font-family: var(--font-primary);
  border-top: 1px solid rgba(25, 64, 35, 0.15);
  margin-top: 32px;
  padding-top: 18px;
  text-align: center;
  color: rgba(25, 64, 35, 0.7);
  font-size: 14px;
  letter-spacing: 0.1px;
}

.site-footer .lang-btn {
  background: #ffffff;
  color: #194023;
  border-color: rgba(25, 64, 35, 0.2);
}

.site-footer .lang-btn.active {
  background: #194023;
  color: #ffffff;
  border-color: #194023;
}

#nosotros {
  background: #194023;
  color: var(--white);
  padding: 0 64px;
}

.nosotros {
  width: 100%;
  max-width: 1400px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
}

.nosotros-text h2 {
  font-size: 48px;
  line-height: 1.25;
  margin: 0 0 20px;
  color: var(--white);
  font-family: var(--font-primary);
  font-weight: 400;
  letter-spacing: 0.3px;
}

.nosotros-text h2 .nosotros-accent {
  background: linear-gradient(135deg, #f68d48 0%, #ff9a5a 50%, #f68d48 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  animation: text-gradient-shift 3s ease-in-out infinite;
  display: inline-block;
  white-space: nowrap;
}

.nosotros-text p {
  font-size: 19px;
  line-height: 1.6;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-primary);
  letter-spacing: 0.2px;
}

.valores {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px;
}

.valor {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: default;
}

.valor:hover {
  transform: translateX(8px);
}

.valores .valor:nth-child(1) {
  transition-delay: 0.05s;
}

.valores .valor:nth-child(2) {
  transition-delay: 0.1s;
}

.valores .valor:nth-child(3) {
  transition-delay: 0.15s;
}

.valores .valor:nth-child(4) {
  transition-delay: 0.2s;
}

.valores .valor:nth-child(5) {
  transition-delay: 0.25s;
}

.valor-icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(210, 224, 106, 0.2);
  border: 1px solid rgba(210, 224, 106, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.valor-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(210, 224, 106, 0.4);
  transform: translate(-50%, -50%);
  transition: all 0.5s ease;
}

.valor:hover .valor-icon::before {
  width: 200%;
  height: 200%;
}

.valor:hover .valor-icon {
  transform: rotate(360deg) scale(1.2);
  background: rgba(210, 224, 106, 0.4);
  border-color: #d2e06a;
  box-shadow: 0 4px 12px rgba(210, 224, 106, 0.4),
              0 0 20px rgba(210, 224, 106, 0.2);
}

.valor-icon svg {
  width: 14px;
  height: 14px;
  fill: #d2e06a;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.valor:hover .valor-icon svg {
  fill: #194023;
  filter: drop-shadow(0 0 4px rgba(210, 224, 106, 0.6));
}

.nosotros-media img {
  width: 100%;
  max-width: 750px;
  display: block;
  margin-left: auto;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  box-shadow: 0 12px 32px rgba(7, 16, 20, 0.15);
}

.nosotros-media img:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0 20px 48px rgba(7, 16, 20, 0.25);
}

/* ===================================
   NOSOTROS - NEW DESIGN STYLES
   =================================== */

/* Sección Introducción */
.nosotros-intro {
  padding: 100px 64px;
  background: linear-gradient(135deg, #fefcf8 0%, #f5f8f0 100%);
}

.nosotros-intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.intro-content h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 32px;
  color: #1a4d2e;
  line-height: 1.2;
  font-family: var(--font-primary);
  letter-spacing: 0.3px;
}

.intro-text {
  font-size: 16px;
  color: #4d4d4d;
  line-height: 1.8;
  margin-bottom: 20px;
  font-family: var(--font-primary);
  letter-spacing: 0.2px;
  transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.intro-text:hover {
  color: #1a4d2e;
}

.intro-media {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(26, 77, 46, 0.2);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.intro-media:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(26, 77, 46, 0.3);
}

.intro-media img {
  width: 100%;
  display: block;
  border-radius: 24px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.intro-media:hover img {
  transform: scale(1.08);
}

/* Sección Pilares */
.nosotros-pilares {
  padding: 120px 64px;
  background: linear-gradient(135deg, #1a4d2e 0%, #0f3520 100%);
  position: relative;
}

.nosotros-pilares::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(210, 224, 106, 0.3), transparent);
}

.nosotros-pilares-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.pilares-title {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 80px;
  color: #d2e06a;
  letter-spacing: -1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pilares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.pilar-card {
  padding: 48px;
  border-radius: 16px;
  background: #335f42;
  border: 2px solid rgba(210, 224, 106, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.pilar-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(210, 224, 106, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pilar-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border-color: rgba(210, 224, 106, 0.7);
  background: #3b6a49;
}

.pilar-card:hover::before {
  opacity: 1;
}

.pilar-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(25, 64, 35, 0.6), rgba(15, 53, 32, 0.5));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pilar-card:hover .pilar-icon {
  background: linear-gradient(135deg, rgba(25, 64, 35, 0.8), rgba(15, 53, 32, 0.7));
  transform: rotate(10deg) scale(1.1);
}

.pilar-icon svg {
  width: 32px;
  height: 32px;
  fill: #d2e06a;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pilar-card:hover .pilar-icon svg {
  transform: scale(1.15);
}

.pilar-card h3 {
  font-family: var(--font-primary);
  font-size: 22px;
  font-weight: 700;
  color: #d2e06a;
  margin-bottom: 16px;
  letter-spacing: 0.2px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pilar-card:hover h3 {
  color: #e8f4d4;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.pilar-card p {
  font-family: var(--font-primary);
  font-size: 15px;
  color: #e8f4d4;
  line-height: 1.7;
  letter-spacing: 0.1px;
  transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pilar-card:hover p {
  color: #fff;
}

/* Estilos para lista de valores */
.valores-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.valores-list li {
  font-family: var(--font-primary);
  font-size: 15px;
  color: #e8f4d4;
  line-height: 1.8;
  padding-left: 32px;
  margin-bottom: 14px;
  letter-spacing: 0.1px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.valores-list li:before {
  content: "•";
  position: absolute;
  left: 12px;
  color: #d2e06a;
  font-weight: 700;
  font-size: 20px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.valores-list li:hover {
  color: #fff;
  transform: translateX(4px);
}

.valores-list li:hover:before {
  transform: scale(1.4);
  color: #fff;
}

/* Sección Principios */
.nosotros-principios {
  padding: 120px 64px;
  background: linear-gradient(135deg, #f5f8f0 0%, #fefcf8 100%);
  position: relative;
}

.nosotros-principios::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26, 77, 46, 0.2), transparent);
}

.nosotros-principios-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.nosotros-principios-inner > h2 {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 80px;
  color: #1a4d2e;
  letter-spacing: -1px;
  text-shadow: 0 2px 4px rgba(26, 77, 46, 0.1);
}

.principios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.principio-item {
  padding: 32px;
  border-radius: 16px;
  background: #fff;
  border-left: 5px solid #1a4d2e;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  box-shadow: 0 4px 12px rgba(26, 77, 46, 0.08);
}

.principio-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #1a4d2e, transparent);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.principio-item:hover {
  transform: translateX(12px) translateY(-8px);
  box-shadow: 0 20px 40px rgba(26, 77, 46, 0.15);
  border-left-color: #0f3520;
  background: linear-gradient(135deg, #fff 0%, #f9fbf7 100%);
}

.principio-item:hover::after {
  opacity: 1;
}

.principio-number {
  font-family: var(--font-primary);
  font-size: 56px;
  font-weight: 700;
  color: rgba(26, 77, 46, 0.15);
  margin-bottom: 12px;
  line-height: 1;
  letter-spacing: -0.5px;
  transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.principio-item:hover .principio-number {
  color: rgba(26, 77, 46, 0.3);
}

.principio-item h3 {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 700;
  color: #1a4d2e;
  margin-bottom: 16px;
  letter-spacing: 0.2px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.principio-item:hover h3 {
  color: #0f3520;
  text-shadow: 0 2px 4px rgba(26, 77, 46, 0.15);
}

.principio-item p {
  font-family: var(--font-primary);
  font-size: 14px;
  color: #4d4d4d;
  line-height: 1.7;
  letter-spacing: 0.1px;
  transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.principio-item:hover p {
  color: #2d2d2d;
}

/* Sección Sostenibilidad */
.nosotros-sostenibilidad {
  padding: 100px 64px;
  background: linear-gradient(135deg, #1a4d2e 0%, #0f3520 100%);
  position: relative;
}

.nosotros-sostenibilidad::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(210, 224, 106, 0.3), transparent);
}

.nosotros-sostenibilidad-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.sostenibilidad-content h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 32px;
  color: #d2e06a;
  line-height: 1.2;
  letter-spacing: -1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.sostenibilidad-content p {
  font-size: 16px;
  color: #e8f4d4;
  line-height: 1.8;
  margin-bottom: 28px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sostenibilidad-content p:hover {
  color: #fff;
  transform: translateX(4px);
}

.sostenibilidad-content ul {
  list-style: none;
  padding: 0;
}

.sostenibilidad-content li {
  font-size: 15px;
  color: #e8f4d4;
  line-height: 1.8;
  padding-left: 28px;
  margin-bottom: 12px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sostenibilidad-content li:hover {
  color: #fff;
  transform: translateX(6px);
}

.sostenibilidad-content li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #d2e06a;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sostenibilidad-content li:hover:before {
  transform: scale(1.3);
  color: #fff;
}

.sostenibilidad-media {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.sostenibilidad-media:hover {
  transform: translateY(-12px);
  box-shadow: 0 28px 60px rgba(26, 77, 46, 0.3);
}

.sostenibilidad-media img {
  width: 100%;
  display: block;
  border-radius: 24px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sostenibilidad-media:hover img {
  transform: scale(1.1);
}

/* Sección Fortalezas */
.nosotros-fortalezas {
  padding: 120px 64px;
  background: linear-gradient(135deg, #1a4d2e 0%, #0f3520 100%);
  position: relative;
}

.nosotros-fortalezas::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(210, 224, 106, 0.3), transparent);
}

.nosotros-fortalezas-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.nosotros-fortalezas-inner > h2 {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 80px;
  color: #d2e06a;
  letter-spacing: -1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.fortalezas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.fortaleza-card {
  padding: 40px;
  border-radius: 16px;
  background: #335f42;
  border: 2px solid rgba(210, 224, 106, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

.fortaleza-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(210, 224, 106, 0.08) 0%, transparent 70%);
  transition: left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fortaleza-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border-color: rgba(210, 224, 106, 0.7);
  background: #3b6a49;
}

.fortaleza-card:hover::before {
  left: 100%;
}

.fortaleza-card h3 {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 700;
  color: #d2e06a;
  margin-bottom: 16px;
  letter-spacing: 0.2px;
  position: relative;
  z-index: 1;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fortaleza-card:hover h3 {
  color: #e8f4d4;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transform: translateX(4px);
}

.fortaleza-card p {
  font-family: var(--font-primary);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.8;
  letter-spacing: 0.1px;
  position: relative;
  z-index: 1;
  transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fortaleza-card:hover p {
  color: #fff;
}

/* Sección Certificaciones */
.certificaciones {
  padding: 120px 64px;
  background: #f8f9f4;
  position: relative;
}

.certificaciones::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26, 77, 46, 0.2), transparent);
}

.certificaciones-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.certificaciones-inner h2 {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
  color: #1a4d2e;
  font-family: var(--font-primary);
  letter-spacing: 0.3px;
}

.certificaciones-intro {
  max-width: 900px;
  margin: 0 auto 64px;
  text-align: center;
}

.certificaciones-intro p {
  font-size: 19px;
  line-height: 1.8;
  color: #2d3e3c;
  font-family: var(--font-primary);
  letter-spacing: 0.2px;
}

.certificaciones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.cert-card {
  background: white;
  padding: 40px 32px;
  border-radius: 16px;
  border: 2px solid rgba(26, 77, 46, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-align: center;
}

.cert-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(26, 77, 46, 0.15);
  border-color: #d2e06a;
}

.cert-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #1a4d2e 0%, #2d6d42 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.cert-card:hover .cert-icon {
  background: linear-gradient(135deg, #d2e06a 0%, #a8b956 100%);
  transform: scale(1.1);
}

.cert-icon svg {
  width: 32px;
  height: 32px;
  fill: white;
}

.cert-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1a4d2e;
  margin-bottom: 16px;
  line-height: 1.3;
  font-family: var(--font-primary);
  letter-spacing: 0.2px;
}

.cert-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #4a5568;
  margin: 0;
  font-family: var(--font-primary);
  letter-spacing: 0.2px;
}

.certificaciones-inner p {
  font-size: 19px;
  line-height: 1.8;
  color: #1a1a1a;
  margin-bottom: 28px;
  text-align: left;
  max-width: 100%;
}

.certificaciones-inner p:last-child {
  margin-bottom: 0;
}

/* ===================================
   MOBILE MENU HAMBURGER
   =================================== */

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 100;
  position: relative;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mobile-menu-toggle:hover span {
  background: #d2e06a;
  box-shadow: 0 0 10px rgba(210, 224, 106, 0.5);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: linear-gradient(135deg, #1a4d2e 0%, #0f3520 100%);
  z-index: 99;
  transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-inner {
  padding: 80px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  padding: 16px 20px;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: block;
  border-left: 4px solid transparent;
  position: relative;
  overflow: hidden;
}

.mobile-nav a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, rgba(210, 224, 106, 0.2), transparent);
  transition: width 0.4s ease;
}

.mobile-nav a:hover::before {
  width: 100%;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background: rgba(210, 224, 106, 0.15);
  border-left-color: #d2e06a;
  transform: translateX(12px);
  box-shadow: 0 4px 12px rgba(210, 224, 106, 0.2);
}

.mobile-nav-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 12px 0;
}

.mobile-nav .nav-icon {
  width: auto;
  height: auto;
  padding: 12px 20px;
}

.mobile-nav .nav-icon svg {
  width: 24px;
  height: 24px;
  margin-right: 12px;
}

.mobile-nav .lang-switch {
  display: flex;
  gap: 12px;
  padding: 12px 20px;
}

.mobile-nav .lang-btn {
  flex: 1;
  padding: 12px;
  font-size: 14px;
}

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 98;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-overlay.active {
  opacity: 1;
}

body.mobile-menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
  /* Tablets */
  .nosotros-intro,
  .nosotros-sostenibilidad {
    padding: 80px 48px;
  }
  
  .nosotros-intro-inner,
  .nosotros-sostenibilidad-inner {
    gap: 48px;
  }
  
  .nosotros-pilares,
  .nosotros-principios,
  .nosotros-fortalezas {
    padding: 100px 48px;
  }
  
  .pilares-grid,
  .fortalezas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  
  .principios-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .intro-content h2,
  .pilares-title,
  .nosotros-principios-inner > h2,
  .nosotros-fortalezas-inner > h2,
  .sostenibilidad-content h2 {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  /* Mobile Landscape & Portrait */
  
  /* ==== FORCE SCROLL ON MOBILE ==== */
  html {
    height: auto !important;
    min-height: 100vh;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
  }
  
  body {
    height: auto !important;
    min-height: 100vh;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    position: relative !important;
  }
  
  body.modal-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100%;
  }
  
  /* ==== FIX INDEX.HTML MOBILE ==== */
  .page {
    height: auto !important;
    min-height: 100vh;
    overflow-y: visible !important;
    overflow-x: hidden;
    scroll-snap-type: none !important;
    scroll-behavior: smooth;
    display: block !important;
  }
  
  .panel {
    min-height: auto !important;
    height: auto !important;
    scroll-snap-align: none !important;
    padding: 60px 24px;
    display: block !important;
    position: relative !important;
  }
  
  /* Hero panel EXACTAMENTE 100vh */
  .panel.hero {
    min-height: 100vh !important;
    height: 100vh !important;
    max-height: 100vh !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .panel.hero .hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }
  
  .panel.hero .hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
  }
  
  /* ==== HEADER MOBILE OPTIMIZADO ==== */
  .site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 12px 20px;
    background: rgba(25, 64, 35, 0.98) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  }
  
  /* Header en hero con fondo transparente */
  .panel.hero .site-header {
    background: rgba(25, 64, 35, 0.3) !important;
    box-shadow: none;
  }
  
  /* Logo mobile más pequeño */
  .logo {
    padding: 8px;
    background: #ffffff;
    border-radius: 50%;
  }
  
  .logo img {
    height: 36px;
    width: auto;
  }
  
  /* Ocultar navegación desktop */
  .site-nav {
    display: none !important;
  }
  
  /* Mostrar botón hamburguesa */
  .mobile-menu-toggle {
    display: flex !important;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    z-index: 1001;
    transition: all 0.3s ease;
  }
  
  .mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
  }
  
  .mobile-menu-toggle span {
    background: #ffffff;
  }
  
  /* Mostrar menú mobile y overlay */
  .mobile-nav {
    display: block !important;
  }
  
  .mobile-overlay {
    display: block !important;
  }
  
  /* Hero Section Mobile */
  .free-scroll .hero.hero-full {
    min-height: 100vh;
    margin-bottom: 0;
  }
  
  .hero-content {
    padding: 20px;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 32px !important;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 20px;
  }
  
  .hero-content .eyebrow {
    font-size: 11px !important;
    letter-spacing: 2.5px;
    margin-bottom: 12px;
  }
  
  .hero-cta {
    font-size: 15px;
    padding: 14px 28px;
    min-width: 48px;
    min-height: 48px;
  }
  
  /* ==== INDEX.HTML SECTIONS MOBILE - BIEN DISTRIBUIDO ==== */
  
  /* Sección Nosotros del Index */
  #nosotros {
    padding: 60px 24px !important;
  }
  
  .nosotros {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 0;
  }
  
  .nosotros-text {
    padding: 0;
    max-width: 100%;
    order: 2;
  }
  
  .nosotros-text h2 {
    font-size: 26px !important;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 16px;
  }
  
  .nosotros-text p {
    font-size: 15px !important;
    line-height: 1.7;
    text-align: left;
    margin-bottom: 20px;
  }
  
  .nosotros-media {
    order: 1;
    padding: 0;
    max-width: 100%;
    width: 100%;
  }
  
  .nosotros-media img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
  }
  
  /* Valores en el Index */
  .valores {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
  }
  
  .valor {
    padding: 12px 18px;
    font-size: 13px;
    min-height: 44px;
  }
  
  .valor-icon {
    width: 20px;
    height: 20px;
  }
  
  .valor-icon svg {
    width: 12px;
    height: 12px;
  }
  
  /* Sección Líneas de Negocio */
  .lineas {
    padding: 60px 24px !important;
  }
  
  .lineas-header h2 {
    font-size: 26px;
    margin-bottom: 16px;
    text-align: center;
  }
  
  .lineas-header p {
    font-size: 15px;
    text-align: center;
    margin-bottom: 28px;
    line-height: 1.6;
  }
  
  .lineas-tabs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
  }
  
  .linea-tab {
    padding: 16px 20px;
    font-size: 15px;
    text-align: center;
    min-height: 52px;
  }
  
  .lineas-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  
  .lineas-text {
    padding: 0;
    order: 2;
  }
  
  .lineas-text h3 {
    font-size: 22px !important;
    margin-bottom: 16px;
    text-align: center;
  }
  
  .lineas-text p {
    font-size: 15px !important;
    text-align: left;
    margin-bottom: 12px;
    line-height: 1.7;
  }
  
  .lineas-media {
    order: 1;
    width: 100%;
  }
  
  .lineas-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
  }
  
  /* Sección Productos Destacados */
  .productos {
    padding: 60px 24px !important;
  }
  
  .productos-header h2 {
    font-size: 26px;
    margin-bottom: 8px;
    text-align: center;
  }
  
  .productos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0;
  }
  
  .producto-card {
    border-radius: 16px;
  }
  
  .producto-card h3 {
    font-size: 20px;
  }
  
  .producto-card p {
    font-size: 13px;
  }
  
  .producto-badge {
    font-size: 11px;
    padding: 6px 12px;
  }
  
  /* Sección Elegirnos */
  .elegirnos {
    padding: 60px 24px !important;
  }
  
  .elegirnos-header h2 {
    font-size: 26px;
    margin-bottom: 8px;
    text-align: center;
  }
  
  /* Sección Noticias */
  .noticias {
    padding: 60px 24px !important;
  }
  
  .noticias-header h2 {
    font-size: 26px;
    margin-bottom: 8px;
    text-align: center;
  }
  
  /* Sección Contacto */
  .contacto {
    padding: 60px 24px 0 !important;
  }
  
  .contacto-header h2 {
    font-size: 26px;
    margin-bottom: 16px;
  }
  
  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .contacto-card {
    padding: 24px 20px;
  }
  
  .contacto-card h3 {
    font-size: 18px;
  }
  
  .contacto-card p {
    font-size: 15px;
  }
  
  .valor-card {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
  
  .valor-card img {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
  }
  
  .valor-body h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }
  
  .valor-body p {
    font-size: 13px;
    line-height: 1.6;
  }
  
  /* Sección Placeholder general */
  .placeholder {
    padding: 60px 24px !important;
    min-height: auto !important;
  }
  
  /* Ajustes generales de texto en mobile */
  h2 {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }
  
  h3 {
    font-size: 18px !important;
    line-height: 1.3 !important;
  }
  
  p {
    font-size: 13px !important;
    line-height: 1.6 !important;
  }
  
  /* Botones en mobile */
  .cta-button,
  .hero-cta,
  button[type="submit"] {
    padding: 12px 24px;
    font-size: 14px;
  }
  
  /* Carousel/Slider adjustments */
  .carousel-container {
    padding: 0;
  }
  
  .carousel-item {
    min-width: 280px;
  }
  
  /* Grid general adjustments */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  
  /* Sección Introducción Mobile */
  .nosotros-intro {
    padding: 60px 24px;
  }
  
  .nosotros-intro-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .intro-content h2 {
    font-size: 32px;
    margin-bottom: 24px;
    text-align: center;
  }
  
  .intro-text {
    font-size: 15px;
    text-align: left;
    margin-bottom: 16px;
  }
  
  .intro-media {
    order: -1; /* Imagen arriba en mobile */
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(26, 77, 46, 0.2);
  }
  
  .intro-media img {
    border-radius: 16px;
  }
  
  /* Sección Pilares Mobile */
  .nosotros-pilares {
    padding: 60px 24px;
  }
  
  .pilares-title {
    font-size: 32px;
    margin-bottom: 48px;
    text-align: center;
  }
  
  .pilares-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .pilar-card {
    padding: 32px 24px;
    border-radius: 12px;
  }
  
  .pilar-card:hover {
    transform: translateY(-4px) scale(1);
  }
  
  .pilar-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
  }
  
  .pilar-icon svg {
    width: 28px;
    height: 28px;
  }
  
  .pilar-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    text-align: center;
  }
  
  .pilar-card p {
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
  }
  
  /* Sección Principios Mobile */
  .nosotros-principios {
    padding: 60px 24px;
  }
  
  .nosotros-principios-inner > h2 {
    font-size: 32px;
    margin-bottom: 48px;
    text-align: center;
  }
  
  .principios-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .principio-item {
    padding: 24px 20px;
    border-radius: 12px;
    border-left-width: 4px;
  }
  
  .principio-item:hover {
    transform: translateX(6px) translateY(-2px);
  }
  
  .principio-number {
    font-size: 42px;
    margin-bottom: 8px;
  }
  
  .principio-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }
  
  .principio-item p {
    font-size: 13px;
    line-height: 1.6;
  }
  
  /* Sección Sostenibilidad Mobile */
  .nosotros-sostenibilidad {
    padding: 60px 24px;
  }
  
  .nosotros-sostenibilidad-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .sostenibilidad-content h2 {
    font-size: 32px;
    margin-bottom: 24px;
    text-align: center;
  }
  
  .sostenibilidad-content p {
    font-size: 15px;
    text-align: left;
    margin-bottom: 24px;
  }
  
  .sostenibilidad-content p:hover {
    transform: translateX(2px);
  }
  
  .sostenibilidad-content ul {
    margin-bottom: 32px;
  }
  
  .sostenibilidad-content li {
    font-size: 14px;
    padding-left: 24px;
    margin-bottom: 10px;
  }
  
  .sostenibilidad-content li:hover {
    transform: translateX(3px);
  }
  
  .sostenibilidad-content li:before {
    font-size: 16px;
  }
  
  .sostenibilidad-media {
    order: -1; /* Imagen arriba */
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  }
  
  .sostenibilidad-media:hover {
    transform: translateY(-4px);
  }
  
  .sostenibilidad-media img {
    border-radius: 16px;
  }
  
  /* Sección Fortalezas Mobile */
  .nosotros-fortalezas {
    padding: 60px 24px;
  }
  
  .nosotros-fortalezas-inner > h2 {
    font-size: 32px;
    margin-bottom: 48px;
    text-align: center;
  }
  
  .fortalezas-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .fortaleza-card {
    padding: 28px 24px;
    border-radius: 12px;
  }
  
  .fortaleza-card:hover {
    transform: translateY(-4px) scale(1);
  }
  
  .fortaleza-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    text-align: center;
  }
  
  .fortaleza-card:hover h3 {
    transform: translateX(0);
  }
  
  /* Sección Certificaciones Mobile */
  .certificaciones {
    padding: 60px 24px;
  }
  
  .certificaciones-inner h2 {
    font-size: 32px;
    margin-bottom: 24px;
  }
  
  .certificaciones-intro {
    margin-bottom: 40px;
  }
  
  .certificaciones-intro p {
    font-size: 16px;
  }
  
  .certificaciones-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
  }
  
  .cert-card {
    padding: 32px 24px;
  }
  
  .cert-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
  }
  
  .cert-icon svg {
    width: 28px;
    height: 28px;
  }
  
  .cert-card h3 {
    font-size: 19px;
    margin-bottom: 12px;
  }
  
  .cert-card p {
    font-size: 15px;
  }
  
  .fortaleza-card p {
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
  }
  
  /* Footer Mobile */
  .site-footer {
    padding: 48px 24px 32px;
  }
  
  .footer-inner {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }
  
  .footer-col {
    width: 100%;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
  
  .footer-bottom {
    margin-top: 32px;
    padding-top: 24px;
  }
  
  .footer-bottom p {
    font-size: 12px;
  }
  
  /* ==== PRODUCTOS PAGE MOBILE ==== */
  .productos-page {
    padding: 60px 20px !important;
  }
  
  .productos-info-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  
  .productos-info-card {
    padding: 20px 16px;
  }
  
  .productos-info-card h3 {
    font-size: 16px !important;
  }
  
  .productos-info-card p {
    font-size: 13px !important;
  }
  
  .productos-grid-page {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  
  .producto-page-card {
    flex-direction: column;
    text-align: center;
  }
  
  .producto-page-image {
    width: 100%;
    max-width: 100%;
    border-radius: 16px 16px 0 0;
  }
  
  .producto-page-content {
    padding: 24px 20px;
  }
  
  .producto-page-content h3 {
    font-size: 22px !important;
  }
  
  .producto-page-content p {
    font-size: 14px !important;
  }
  
  /* ==== MERCADOS PAGE MOBILE ==== */
  .mercados-page {
    padding: 60px 20px !important;
  }
  
  .map-section {
    padding: 32px 16px;
  }
  
  .map-wrap {
    max-width: 100%;
  }
  
  .map-legend {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    margin-top: 24px;
  }
  
  .legend-item {
    font-size: 12px !important;
  }
  
  .aliado {
    padding: 60px 20px !important;
  }
  
  .aliado-header h2 {
    font-size: 28px !important;
  }
  
  .aliado-cards {
    gap: 20px;
  }
  
  .aliado-card {
    grid-template-columns: 1fr !important;
    gap: 20px;
    padding: 20px;
  }
  
  .aliado-media {
    width: 100%;
    max-width: 100%;
  }
  
  .aliado-media img {
    border-radius: 12px;
  }
  
  .aliado-content h3 {
    font-size: 20px !important;
    text-align: center;
  }
  
  .aliado-content p {
    font-size: 14px !important;
    text-align: left;
  }
  
  /* ==== CONTACTO PAGE MOBILE ==== */
  .contacto {
    padding: 60px 20px !important;
  }
  
  .contacto-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
  
  .contacto-form {
    order: 2;
  }
  
  .contacto-info {
    order: 1;
  }
  
  .contacto-form form {
    padding: 24px 20px;
  }
  
  .form-group label {
    font-size: 13px !important;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 15px !important;
    padding: 12px 14px;
  }
  
  .form-submit {
    padding: 14px 32px;
    font-size: 15px !important;
  }
  
  .contacto-info-card {
    padding: 20px 16px;
    flex-direction: row;
    gap: 16px;
  }
  
  .contacto-info-card-icon {
    width: 48px;
    height: 48px;
  }
  
  .contacto-info-card-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .contacto-info-card-content h3 {
    font-size: 16px !important;
  }
  
  .contacto-info-card-content p {
    font-size: 14px !important;
  }
  
  /* ==== NOTICIAS PAGE MOBILE ==== */
  .noticias-page {
    padding: 60px 20px !important;
  }
  
  .noticias-featured {
    flex-direction: column;
    gap: 24px;
  }
  
  .featured-media {
    width: 100%;
    max-width: 100%;
    border-radius: 16px 16px 0 0;
  }
  
  .featured-content {
    padding: 24px 20px;
  }
  
  .featured-content h2 {
    font-size: 24px !important;
  }
  
  .featured-content p {
    font-size: 14px !important;
  }
  
  .news-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  
  .news-card-item {
    border-radius: 12px;
  }
  
  .news-card-content {
    padding: 20px 16px;
  }
  
  .news-card-content h3 {
    font-size: 18px !important;
  }
  
  .news-card-content p {
    font-size: 13px !important;
  }
  
  .noticias-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
  
  .noticias-col {
    width: 100%;
  }
  
  .noticias-col h2 {
    font-size: 28px !important;
    margin-bottom: 24px;
  }
  
  .news-list,
  .event-list {
    gap: 20px;
  }
  
  .news-card,
  .event-card {
    flex-direction: row;
    gap: 16px;
  }
  
  .news-card img,
  .event-card img {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 8px;
  }
  
  .news-content h3,
  .event-content h3 {
    font-size: 15px !important;
    margin-bottom: 8px;
  }
  
  .event-date,
  .event-place {
    font-size: 12px !important;
  }
  
  /* ==== ELEGIRNOS CAROUSEL MOBILE ==== */
  .elegirnos {
    padding: 60px 20px !important;
  }
  
  .elegirnos-header h2 {
    font-size: 28px !important;
    text-align: center;
  }
  
  .carousel {
    margin: 0 -20px;
    padding: 0 20px;
  }
  
  .elegirnos-card {
    min-width: 200px;
    padding: 16px;
  }
  
  .elegirnos-card img {
    width: 80px;
    height: 80px;
  }
  
  .elegirnos-card h3 {
    font-size: 14px !important;
  }
  
  /* ==== MODAL MOBILE ==== */
  .modal-card {
    width: 95vw;
    max-height: 92vh;
    border-radius: 16px;
  }
  
  .modal-content {
    grid-template-columns: 1fr !important;
    gap: 0;
    max-height: 92vh;
  }
  
  .modal-media {
    padding: 24px;
    max-height: 35vh;
    background: #f7f7f7;
  }
  
  .modal-media img {
    max-width: 240px;
    max-height: 30vh;
    object-fit: contain;
  }
  
  .modal-info {
    padding: 24px 20px;
    max-height: 57vh;
    overflow-y: auto;
  }
  
  .modal-info h2 {
    font-size: 22px !important;
    margin-bottom: 16px;
  }
  
  .modal-info > p {
    font-size: 14px !important;
    margin-bottom: 14px;
  }
  
  .modal-block {
    margin-bottom: 16px;
  }
  
  .modal-block h4 {
    font-size: 12px !important;
    margin-bottom: 8px;
  }
  
  .modal-block p {
    font-size: 13px !important;
  }
  
  .modal-block ul {
    font-size: 13px !important;
    padding-left: 16px;
  }
  
  .modal-block li {
    margin-bottom: 6px;
  }
  
  .modal-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
  
  #newsBody {
    font-size: 14px !important;
  }
  
  .news-modal-meta {
    font-size: 12px !important;
  }
}

@media (max-width: 480px) {
  /* Mobile Small */
  
  /* Hero Extra Small */
  .hero-content h1 {
    font-size: 28px;
    line-height: 1.2;
  }
  
  .hero-content .eyebrow {
    font-size: 11px;
    letter-spacing: 1.5px;
  }
  
  /* Secciones Extra Small */
  .nosotros-intro,
  .nosotros-sostenibilidad,
  .nosotros-pilares,
  .nosotros-principios,
  .nosotros-fortalezas {
    padding: 48px 20px;
  }
  
  .intro-content h2,
  .pilares-title,
  .nosotros-principios-inner > h2,
  .nosotros-fortalezas-inner > h2,
  .sostenibilidad-content h2 {
    font-size: 28px;
    margin-bottom: 32px;
  }
  
  /* Tarjetas más compactas */
  .pilar-card,
  .fortaleza-card {
    padding: 24px 20px;
  }
  
  .principio-item {
    padding: 20px 16px;
  }
  
  .pilar-card h3,
  .fortaleza-card h3 {
    font-size: 17px;
  }
  
  .principio-item h3 {
    font-size: 16px;
  }
  
  .pilar-card p,
  .fortaleza-card p,
  .principio-item p {
    font-size: 13px;
  }
  
  .intro-text,
  .sostenibilidad-content p {
    font-size: 14px;
  }
  
  .sostenibilidad-content li {
    font-size: 13px;
    padding-left: 22px;
  }
  
  /* Iconos y números más pequeños */
  .pilar-icon {
    width: 48px;
    height: 48px;
  }
  
  .pilar-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .principio-number {
    font-size: 36px;
  }
  
  /* ==== MOBILE EXTRA SMALL ADJUSTMENTS ==== */
  
  /* Header extra compacto */
  .site-header {
    padding: 12px 16px;
  }
  
  .logo img {
    height: 36px;
  }
  
  .mobile-menu-toggle {
    width: 36px;
    height: 36px;
  }
  
  .mobile-menu-toggle span {
    height: 2px;
  }
  
  /* Hero extra compacto */
  .free-scroll .hero.hero-full {
    min-height: 60vh;
  }
  
  .hero-content {
    padding: 0 16px;
  }
  
  .hero-content h1 {
    font-size: 32px;
  }
  
  .hero-content .eyebrow {
    font-size: 10px;
  }
  
  /* Secciones extra compactas */
  .panel,
  section.panel {
    padding: 48px 16px !important;
  }
  
  .panel.hero {
    padding: 0 !important;
  }
  
  /* Productos grid extra compacto */
  .productos-grid {
    gap: 16px;
  }
  
  .producto-card {
    padding: 6px;
  }
  
  .producto-image {
    border-radius: 10px;
    padding: 4px;
  }
  
  .producto-icon {
    width: 24px;
    height: 24px;
    margin-top: -6px;
  }
  
  .producto-icon svg {
    width: 12px;
    height: 12px;
  }
  
  .producto-card h3 {
    font-size: 11px !important;
    padding: 4px 6px;
    margin: 5px 0 0;
  }
  
  /* Elegirnos carousel extra small */
  .elegirnos-card {
    min-width: 160px;
    padding: 12px;
  }
  
  .elegirnos-card img {
    width: 64px;
    height: 64px;
  }
  
  .elegirnos-card h3 {
    font-size: 12px !important;
  }
  
  /* Modal extra small */
  .modal-card {
    width: 98vw;
    max-height: 94vh;
    border-radius: 12px;
  }
  
  .modal-media {
    padding: 16px;
    max-height: 30vh;
  }
  
  .modal-media img {
    max-width: 200px;
    max-height: 25vh;
  }
  
  .modal-info {
    padding: 20px 16px;
    max-height: 64vh;
  }
  
  .modal-info h2 {
    font-size: 20px !important;
  }
  
  .modal-info > p,
  .modal-block p,
  .modal-block ul {
    font-size: 12px !important;
  }
  
  .modal-block h4 {
    font-size: 11px !important;
  }
  
  /* Formularios extra small */
  .contacto-form form {
    padding: 20px 16px;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 14px !important;
    padding: 10px 12px;
  }
  
  /* Noticias/Eventos extra small */
  .news-card img,
  .event-card img {
    width: 80px;
    height: 80px;
  }
  
  .news-content h3,
  .event-content h3 {
    font-size: 14px !important;
  }
  
  .news-link {
    font-size: 12px !important;
  }
  
  /* Aliado section extra small */
  .aliado-card {
    padding: 16px;
    gap: 16px;
  }
  
  .aliado-content h3 {
    font-size: 18px !important;
  }
  
  .aliado-content p {
    font-size: 13px !important;
  }
  
  /* Footer extra small */
  .site-footer {
    padding: 40px 16px 24px;
  }
  
  .footer-brand img {
    max-width: 120px;
  }
  
  .footer-links a {
    font-size: 13px !important;
  }
  
  .footer-lang-switch button {
    padding: 8px 16px;
    font-size: 12px !important;
  }
  
  /* Map responsive */
  .map-mount svg {
    width: 100% !important;
    height: auto !important;
  }
  
  /* Valores en hero extra small */
  .valores {
    gap: 12px;
  }
  
  .valor {
    padding: 10px 16px;
    font-size: 11px !important;
  }
  
  .valor-icon {
    width: 18px;
    height: 18px;
  }
  
  /* Líneas tabs extra small */
  .linea-tab {
    padding: 14px 16px;
    font-size: 14px !important;
  }
  
  /* Nosotros intro extra small */
  .intro-content h2 {
    font-size: 26px !important;
  }
  
  .intro-text {
    font-size: 14px !important;
  }
  
  /* Pilares extra small */
  .pilar-card {
    padding: 20px 16px;
  }
  
  .pilar-card h3 {
    font-size: 18px !important;
  }
  
  .pilar-card p {
    font-size: 13px !important;
  }
  
  /* Principios extra small */
  .principio-item {
    padding: 18px 14px;
  }
  
  .principio-item h3 {
    font-size: 16px !important;
  }
  
  .principio-item p {
    font-size: 12px !important;
  }
  
  /* Fortalezas extra small */
  .fortaleza-card {
    padding: 24px 20px;
  }
  
  .fortaleza-card h3 {
    font-size: 16px !important;
  }
  
  .fortaleza-card p {
    font-size: 12px !important;
  }
  
  /* Productos page extra small */
  .productos-info-card {
    padding: 16px 12px;
  }
  
  .productos-info-card h3 {
    font-size: 14px !important;
  }
  
  .productos-info-card p {
    font-size: 12px !important;
  }
  
  .producto-page-content {
    padding: 20px 16px;
  }
  
  .producto-page-content h3 {
    font-size: 20px !important;
  }
  
  .producto-page-content p {
    font-size: 13px !important;
  }
  
  /* Contacto info cards extra small */
  .contacto-info-card {
    padding: 16px 12px;
  }
  
  .contacto-info-card-icon {
    width: 40px;
    height: 40px;
  }
  
  .contacto-info-card-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .contacto-info-card-content h3 {
    font-size: 14px !important;
  }
  
  .contacto-info-card-content p,
  .contacto-info-card-content a {
    font-size: 13px !important;
  }
}

/* ==== LANDSCAPE ORIENTATION (Mobile horizontal) ==== */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-content h1 {
    font-size: 28px !important;
  }
  
  .hero-content .eyebrow {
    font-size: 10px !important;
  }
  
  .free-scroll .hero.hero-full {
    min-height: 100vh;
  }
  
  .modal-card {
    max-height: 96vh;
  }
  
  .modal-content {
    grid-template-columns: 1fr 1fr !important;
  }
  
  .modal-media {
    max-height: 96vh;
  }
  
  .modal-info {
    max-height: 96vh;
  }
}

/* ==== TOUCH OPTIMIZATION ==== */
@media (hover: none) and (pointer: coarse) {
  /* Increase touch targets */
  button,
  a,
  .clickable,
  .lang-btn,
  .mobile-menu-toggle,
  .elegirnos-card,
  .producto-card,
  .news-card,
  .event-card {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Better touch feedback */
  button:active,
  a:active,
  .clickable:active {
    opacity: 0.7;
    transform: scale(0.98);
  }
  
  /* Remove hover effects on touch devices */
  .producto-card:hover,
  .elegirnos-card:hover,
  .pilar-card:hover,
  .fortaleza-card:hover,
  .principio-item:hover {
    transform: none;
  }
  
  /* Active states for touch */
  .producto-card:active,
  .elegirnos-card:active {
    transform: scale(0.98);
  }
}

/* ==== iOS SPECIFIC ==== */
@supports (-webkit-touch-callout: none) {
  /* Fix iOS Safari viewport units */
  .panel.hero {
    min-height: -webkit-fill-available;
  }
  
  /* Fix iOS input zoom */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select,
  textarea {
    font-size: 16px !important;
  }
  
  /* Fix iOS rubber band scroll */
  body {
    overscroll-behavior-y: none;
  }
}

/* ==== SAFE AREA INSETS (iPhone X+) ==== */
@supports (padding: max(0px)) {
  .site-header {
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
  }
  
  .panel {
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
  }
  
  .site-footer {
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
    padding-bottom: max(32px, env(safe-area-inset-bottom));
  }
}

/* Eyebrow logo sizing (desktop + fallback) */
.eyebrow-logo,
.mobile-hero-eyebrow {
  width: 140px;
  height: auto;
  display: block;
  margin: 0 auto 16px auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .eyebrow-logo,
  .mobile-hero-eyebrow {
    width: 90px;
  }
}

/* Variant to enlarge eyebrow logo in specific heroes */
.eyebrow-logo--large {
  width: 260px;
  display: block;
  margin: 0 auto 24px auto;
}

@media (max-width: 768px) {
  .eyebrow-logo--large {
    width: 160px;
  }
}
