/* css/styles.css */
@import url('./variables.css');

/* ==========================================================================
   Estilos Base y Reseteo
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  background-image: var(--grad-dark);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: 0; /* Se ajustará con media-queries para móviles */
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5em;
  color: var(--text-primary);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-secondary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, textarea, select {
  font-family: inherit;
}

/* Ocultar barra de desplazamiento por defecto pero estilizarla */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* ==========================================================================
   Componentes de Diseño Reutilizables (UI)
   ========================================================================== */
.glass-panel {
  background: var(--panel-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
}

.glass-panel:hover {
  border-color: var(--panel-border-hover);
}

/* Botones Premium */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
}

.btn-primary {
  background: var(--grad-primary);
  color: white;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-primary);
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--panel-border);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--panel-border-hover);
}

.btn-export {
  background: var(--grad-export);
  color: white;
}
.btn-export:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-export);
}

.btn-import {
  background: var(--grad-import);
  color: white;
}
.btn-import:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-import);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-xs {
  padding: 6px 12px;
  font-size: 0.75rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.badge-export {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.badge-import {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

/* Formularios */
.form-group {
  margin-bottom: 15px;
}
.form-control, input[type="text"], input[type="email"], input[type="password"], textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(6, 8, 20, 0.6);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  color: white;
  font-size: 0.95rem;
  transition: all var(--transition-normal);
}
.form-control:focus, input:focus, textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.2);
}

/* ==========================================================================
   Estructura General de la Página (Layout)
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Cabecera / Header */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(6, 8, 20, 0.75);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--panel-border);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-logo-img {
  height: 46px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.logo-link:hover .header-logo-img {
  transform: scale(1.04);
}

/* Menú Escritorio */
.desktop-nav {
  display: flex;
  gap: 8px;
}

.desktop-nav a {
  padding: 8px 16px;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.desktop-nav a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.desktop-nav a.active {
  color: var(--text-primary);
  background: var(--bg-tertiary);
  border: 1px solid var(--panel-border);
}

/* Menú Móvil Fijo (Bottom Navigation) */
.bottom-nav {
  display: none; /* Oculto en PC */
}

/* ==========================================================================
   Menú Móvil Desplegable (Mobile Drawer & Hamburger)
   ========================================================================== */
.mobile-menu-btn {
  display: none; /* Oculto en PC */
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: var(--text-primary);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.mobile-menu-btn:hover {
  background: rgba(195, 194, 139, 0.15);
  border-color: var(--color-1);
  color: var(--color-1);
}

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: min(85vw, 320px);
  height: 100vh;
  height: 100dvh;
  background: linear-gradient(180deg, #0d1a0e 0%, #060814 100%);
  border-left: 1px solid var(--panel-border);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
  z-index: 999;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  padding: 1.5rem;
}

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

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(195, 194, 139, 0.2);
  margin-bottom: 1.25rem;
}

.mobile-drawer-logo {
  height: 36px;
  width: auto;
}

.mobile-drawer-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--panel-border);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-drawer-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-1);
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.mobile-drawer-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.mobile-drawer-links a:hover,
.mobile-drawer-links a.active {
  background: rgba(37, 84, 38, 0.35);
  border-color: rgba(195, 194, 139, 0.3);
  color: var(--color-1);
}

.mobile-drawer-footer {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(195, 194, 139, 0.15);
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-drawer-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background: rgba(195, 194, 139, 0.1);
  border: 1px solid var(--color-1);
  border-radius: var(--radius-full);
  color: var(--color-1);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 992px) {
  .desktop-nav {
    display: none !important;
  }
  
  .mobile-menu-btn {
    display: inline-flex !important;
  }
}

/* Secciones SPA */
.app-section {
  padding: 40px 0 80px 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition-normal) ease, transform var(--transition-normal) ease;
}

.app-section.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Sección Inicio (Portada)
   ========================================================================== */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--panel-border);
  background: var(--panel-bg);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-lg);
  margin-top: 20px;
}

/* Hero Slider Background */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.hero-slider .slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slider .slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(6, 8, 20, 0.75) 0%, rgba(6, 8, 20, 0.85) 100%);
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

/* Reflejo dorado sobre la imagen principal del slider */
.hero-slider::after {
  content: '';
  position: absolute;
  top: -100%;
  left: -120%;
  width: 60%;
  height: 300%;
  background: linear-gradient(
    90deg,
    rgba(255, 215, 0, 0) 0%,
    rgba(255, 215, 0, 0.25) 35%,
    rgba(255, 245, 180, 0.65) 50%,
    rgba(255, 215, 0, 0.25) 65%,
    rgba(255, 215, 0, 0) 100%
  );
  transform: rotate(25deg);
  animation: goldSheen 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 3;
}

.hero-logo-wrapper {
  position: relative;
  display: inline-block;
  padding: 10px;
}

.hero-logo-img {
  max-width: clamp(260px, 45vw, 480px);
  height: auto;
  display: block;
  filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.6));
}

@keyframes goldSheen {
  0% {
    left: -120%;
  }
  60% {
    left: 160%;
  }
  100% {
    left: 160%;
  }
}

/* Brillo sutil para la cabecera de importadores */
.subtle-shine-overlay {
  position: absolute;
  top: -100%;
  left: -120%;
  width: 50%;
  height: 300%;
  background: linear-gradient(
    90deg,
    rgba(255, 215, 0, 0) 0%,
    rgba(255, 215, 0, 0.15) 40%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 215, 0, 0.15) 60%,
    rgba(255, 215, 0, 0) 100%
  );
  transform: rotate(25deg);
  animation: subtleShine 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes subtleShine {
  0% {
    left: -120%;
  }
  60% {
    left: 180%;
  }
  100% {
    left: 180%;
  }
}

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(13, 17, 39, 0.6);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--panel-border);
  color: var(--text-primary);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  padding: 0;
}

.slider-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: var(--glow-primary);
}

.slider-btn.prev {
  left: 20px;
}

.slider-btn.next {
  right: 20px;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 20px;
  }
  .slider-btn {
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }
  .slider-btn.prev {
    left: 10px;
  }
  .slider-btn.next {
    right: 10px;
  }
}

.hero-glow {
  position: absolute;
  top: -100px;
  width: 500px;
  height: 500px;
  background: var(--grad-glow);
  z-index: -1;
  pointer-events: none;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-1, #c3c28b);
  display: inline-block;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 25px;
}

.hero-desc {
  max-width: 700px;
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
}

/* Redes Destacadas (Inicio) */
.network-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
  width: 100%;
}

.teaser-card {
  padding: 40px;
  text-align: left;
}

.teaser-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.teaser-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.teaser-card p {
  color: var(--text-secondary);
  margin-bottom: 25px;
  font-size: 1rem;
}

.card-teaser-export:hover {
  box-shadow: var(--glow-export);
  border-color: rgba(16, 185, 129, 0.4);
}

.card-teaser-import:hover {
  box-shadow: var(--glow-import);
  border-color: rgba(6, 182, 212, 0.4);
}

/* ==========================================================================
   Sección Quiénes Somos
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-highlight {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 20px;
  font-weight: 500;
  border-left: 4px solid var(--color-accent-green);
  padding-left: 15px;
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.stat-box {
  padding: 20px;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent-green);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.about-visual {
  position: relative;
}

.about-image {
  border-radius: var(--radius-lg);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow-lg);
}

.about-card-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  padding: 20px;
  max-width: 250px;
}

/* ==========================================================================
   Sección Portafolio
   ========================================================================== */
.landscape-slider-container {
  height: 250px;
  position: relative;
}

.landscape-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.landscape-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.landscape-slide.active {
  opacity: 1;
  z-index: 1;
}

.landscape-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.portfolio-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 45px auto;
}

.portfolio-intro .hero-subtitle {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #dfdeac !important;
  -webkit-text-fill-color: #dfdeac !important;
  background: rgba(0, 0, 0, 0.8) !important;
  -webkit-background-clip: border-box !important;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(195, 194, 139, 0.5);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  margin-bottom: 14px;
}

.portfolio-intro h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.portfolio-intro .portfolio-tagline {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-1, #c3c28b);
  margin-bottom: 12px;
  font-weight: 400;
}

.portfolio-intro .portfolio-desc {
  font-size: 0.95rem;
  color: var(--text-muted, #8a9a8b);
  line-height: 1.6;
}

/* Fila Principal de Especialidades (2 Columnas: Jamón y Queso) */
.portfolio-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 50px;
}

.portfolio-featured-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--panel-border);
  background: var(--panel-bg);
  backdrop-filter: var(--glass-blur);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
}

.portfolio-featured-card:hover {
  transform: translateY(-6px);
  border-color: var(--panel-border-hover);
  box-shadow: 0 16px 35px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(195, 194, 139, 0.15);
}

.portfolio-featured-img-wrapper {
  height: 300px;
  overflow: hidden;
  position: relative;
}

.portfolio-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio-featured-card:hover .portfolio-featured-img {
  transform: scale(1.06);
}

.portfolio-featured-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: var(--color-1, #c3c28b);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(195, 194, 139, 0.35);
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.portfolio-featured-info {
  padding: 28px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.portfolio-featured-info-header {
  margin-bottom: 20px;
}

.portfolio-featured-info h3 {
  font-size: 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.portfolio-featured-info p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.portfolio-featured-cta-box {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(195, 194, 139, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portfolio-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-1, #c3c28b);
  background: rgba(195, 194, 139, 0.1);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--panel-border);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.portfolio-btn-cta:hover {
  background: var(--color-1, #c3c28b);
  color: #000000;
  border-color: var(--color-1, #c3c28b);
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(195, 194, 139, 0.25);
}

.portfolio-btn-cta span.arrow {
  font-size: 1.1rem;
  transition: transform var(--transition-fast);
}

.portfolio-btn-cta:hover span.arrow {
  transform: translateX(3px);
}

/* Sección Secundaria de Productos */
.portfolio-secondary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--panel-border);
}

.portfolio-secondary-header h3 {
  font-size: 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.portfolio-secondary-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.portfolio-secondary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.portfolio-secondary-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--panel-border);
  background: var(--panel-bg);
  backdrop-filter: var(--glass-blur);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.portfolio-secondary-card:hover {
  transform: translateY(-4px);
  border-color: var(--panel-border-hover);
}

.portfolio-secondary-img-wrapper {
  height: 140px;
  overflow: hidden;
  position: relative;
}

.portfolio-secondary-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio-secondary-card:hover .portfolio-secondary-img {
  transform: scale(1.08);
}

.portfolio-secondary-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-secondary-tag {
  color: var(--color-2, #658E66);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.portfolio-secondary-info h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 6px 0;
  color: var(--text-primary);
}

.portfolio-secondary-info p {
  font-size: 0.82rem;
  color: var(--text-muted, #8a9a8b);
  line-height: 1.5;
  margin: 0;
}

/* Responsive Portfolio */
@media (max-width: 900px) {
  .portfolio-featured-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .portfolio-featured-img-wrapper {
    height: 260px;
  }
}

@media (max-width: 640px) {
  .portfolio-secondary-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .portfolio-secondary-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-featured-img-wrapper {
    height: 220px;
  }
  
  .portfolio-featured-info {
    padding: 20px;
  }
}

/* ==========================================================================
   Quiosco Editorial / Revistas Especializadas en Portada
   ========================================================================== */
.kiosk-section {
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
  padding: 3.5rem 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--panel-border);
  background: radial-gradient(circle at 50% 10%, rgba(37, 84, 38, 0.25) 0%, rgba(6, 8, 20, 0.95) 80%);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.kiosk-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(195, 194, 139, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.kiosk-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3rem auto;
  position: relative;
  z-index: 2;
}

.kiosk-header .hero-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.8) !important;
  -webkit-background-clip: border-box !important;
  color: #dfdeac !important;
  -webkit-text-fill-color: #dfdeac !important;
  border: 1px solid rgba(195, 194, 139, 0.5);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.kiosk-header h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.1rem, 3.8vw, 2.9rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.kiosk-header p {
  font-size: 1.05rem;
  color: var(--color-1, #c3c28b);
  line-height: 1.6;
}

.kiosk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  position: relative;
  z-index: 2;
}

.kiosk-magazine-card {
  background: linear-gradient(145deg, rgba(16, 28, 18, 0.85) 0%, rgba(6, 10, 7, 0.95) 100%);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

.kiosk-magazine-card.jamon-theme {
  background: linear-gradient(145deg, rgba(35, 12, 22, 0.85) 0%, rgba(10, 4, 7, 0.95) 100%);
}

.kiosk-magazine-card:hover {
  transform: translateY(-8px);
  border-color: var(--panel-border-hover);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.9), 0 0 30px rgba(195, 194, 139, 0.2);
}

.kiosk-magazine-cover {
  height: 280px;
  position: relative;
  overflow: hidden;
  background: #000000;
}

.kiosk-magazine-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.kiosk-magazine-card:hover .kiosk-magazine-img {
  transform: scale(1.06);
}

.kiosk-cover-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.75) 100%);
}

.kiosk-spine-effect {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 12px;
  background: linear-gradient(90deg, rgba(255,255,255,0.2) 0%, rgba(0,0,0,0.6) 100%);
  z-index: 5;
}

.kiosk-cover-badges {
  position: absolute;
  top: 18px;
  left: 24px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
}

.kiosk-badge-vol {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-1, #c3c28b);
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(195, 194, 139, 0.4);
}

.kiosk-badge-format {
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.kiosk-cover-bottom-title {
  position: absolute;
  bottom: 18px;
  left: 24px;
  right: 20px;
  z-index: 3;
}

.kiosk-dop-tags {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-1, #c3c28b);
  margin-bottom: 4px;
}

.kiosk-cover-bottom-title h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.25;
}

.kiosk-card-body {
  padding: 26px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.kiosk-card-excerpt {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 20px;
}

.kiosk-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  font-size: 0.88rem;
}

.kiosk-features-list li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
}

.kiosk-features-list li span.bullet {
  color: var(--color-1, #c3c28b);
  font-size: 1.1rem;
}

.kiosk-card-footer {
  padding-top: 18px;
  border-top: 1px solid rgba(195, 194, 139, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kiosk-btn-read {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #000000;
  background: var(--color-1, #c3c28b);
  padding: 11px 24px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(195, 194, 139, 0.3);
}

.kiosk-btn-read:hover {
  background: #dfdeac;
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(195, 194, 139, 0.5);
}

.kiosk-btn-read span.arrow {
  font-size: 1.15rem;
  transition: transform var(--transition-fast);
}

.kiosk-btn-read:hover span.arrow {
  transform: translateX(4px);
}

.kiosk-footer-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.kiosk-features-bar {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(195, 194, 139, 0.2);
  position: relative;
  z-index: 2;
}

.kiosk-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--color-1, #c3c28b);
  font-weight: 600;
}

.kiosk-feature-item span.icon {
  font-size: 1.3rem;
}

@media (max-width: 900px) {
  .kiosk-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .kiosk-section {
    padding: 2.5rem 1.5rem;
  }
}

/* ==========================================================================
   Banner Destacado: Red de Fabricantes Exportadores
   ========================================================================== */
.manufacturers-banner-section {
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
  padding: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--panel-border);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  background: #060a08;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
}

.manufacturers-banner-section:hover {
  border-color: rgba(195, 194, 139, 0.6);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85), 0 0 30px rgba(37, 84, 38, 0.35);
  transform: translateY(-2px);
}

.manufacturers-banner-link {
  display: block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.manufacturers-banner-img-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0d1a0e;
}

.manufacturers-banner-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.manufacturers-banner-link:hover .manufacturers-banner-img {
  transform: scale(1.015);
  filter: brightness(1.04);
}

/* ==========================================================================
   Redes Social / Directorio de Contactos
   ========================================================================== */
.directory-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  gap: 20px;
}

.search-bar-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.search-input {
  padding-left: 45px;
}

.search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

/* Tarjetas */
.card {
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-image-wrapper {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: white;
  border-radius: var(--radius-full);
}

.bg-export {
  background: var(--grad-export);
}
.bg-import {
  background: var(--grad-import);
}

.card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-category {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.text-glow-green {
  color: #34d399;
  text-shadow: 0 0 10px rgba(52, 211, 153, 0.3);
}

.text-glow-blue {
  color: #22d3ee;
  text-shadow: 0 0 10px rgba(34, 211, 238, 0.3);
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 8px;
  line-height: 1.2;
}

.card-location {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.card-desc-short {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-footer {
  margin-top: auto;
  border-top: 1px solid var(--panel-border);
  padding-top: 16px;
}

.card-export:hover {
  box-shadow: var(--glow-export);
  border-color: rgba(16, 185, 129, 0.3);
}

.card-import:hover {
  box-shadow: var(--glow-import);
  border-color: rgba(6, 182, 212, 0.3);
}

.no-results {
  grid-column: 1 / -1;
  padding: 40px;
  text-align: center;
  color: var(--text-secondary);
}

/* ==========================================================================
   Modales y Perfiles Detallados
   ========================================================================== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 200;
  overflow-y: auto;
  background: rgba(6, 8, 20, 0.85);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  max-width: 1100px;
  margin: 50px auto;
  padding: 0 15px;
}

.modal-body-container {
  background: var(--bg-secondary);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.profile-detail-header {
  padding: 30px;
  border-bottom: 1px solid var(--panel-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.profile-detail-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
}

.theme-export .profile-detail-header::after {
  background: var(--grad-export);
}

.theme-import .profile-detail-header::after {
  background: var(--grad-import);
}

.profile-header-info h2 {
  font-size: 2rem;
  margin-bottom: 4px;
}

.category-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--text-primary);
}

.profile-detail-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 30px;
  padding: 30px;
}

.profile-hero-image-wrapper {
  height: 350px;
  overflow: hidden;
  margin-bottom: 30px;
}

.profile-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-section {
  padding: 24px;
  margin-bottom: 30px;
}

.profile-section h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-full-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

/* Reproductor de Vídeo Integrado */
.profile-video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* Relación de aspecto 16:9 */
  margin-top: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--panel-border);
  background: #000;
}

.profile-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Galería de imágenes detalladas */
.profile-gallery-container {
  margin-bottom: 30px;
}

.profile-gallery-container h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.profile-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
}

.gallery-item {
  height: 120px;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

/* Ficha Lateral de Contacto */
.contact-details-card {
  position: sticky;
  top: 100px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0;
}

.contact-info-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.3rem;
  color: var(--color-primary);
  width: 24px;
  display: inline-block;
  text-align: center;
}

.contact-info-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.contact-info-item span, .contact-info-item a {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.contact-info-item a:hover {
  text-decoration: underline;
}

.contact-separator {
  border: 0;
  height: 1px;
  background: var(--panel-border);
  margin: 25px 0;
}

.modal-form .form-group {
  margin-bottom: 12px;
}

/* ==========================================================================
   Área Segura con Contraseña (Carpeta Privada)
   ========================================================================== */
.secure-folder-section {
  border-style: dashed;
}

.theme-export .secure-folder-section {
  border-color: rgba(16, 185, 129, 0.3);
}

.theme-import .secure-folder-section {
  border-color: rgba(6, 182, 212, 0.3);
}

.locked-folder-wrapper, .unlocked-folder-wrapper {
  text-align: center;
  padding: 10px;
}

.secure-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--panel-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
}

.secure-shield-icon {
  font-size: 2.2rem;
}

.secure-help-text, .secure-success-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 20px auto;
}

.secure-password-form {
  display: flex;
  gap: 10px;
  max-width: 400px;
  margin: 0 auto;
}

.secure-pwd-input {
  text-align: center;
}

.dev-hint-banner {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-md);
  padding: 10px 15px;
  margin: 15px auto 0 auto;
  max-width: 420px;
  font-size: 0.8rem;
  color: var(--color-accent-amber);
}

.dev-password-code {
  background: rgba(245, 158, 11, 0.2);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

/* Animaciones del candado */
.unlock-pulse {
  animation: unlockPulseAnim 0.4s ease-out;
}
@keyframes unlockPulseAnim {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); color: #10b981; }
  100% { transform: scale(1); }
}

.shake-animation {
  animation: shake 0.3s;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

/* Estado Desbloqueado */
.unlocked-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--panel-border);
  padding-bottom: 12px;
}

.unlocked-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.unlocked-title-group h4 {
  margin-bottom: 0;
}

.document-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.document-item {
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.doc-icon-desc {
  display: flex;
  gap: 12px;
  align-items: center;
}

.doc-icon {
  font-size: 1.6rem;
  color: var(--color-primary);
}

.doc-meta-info {
  display: flex;
  flex-direction: column;
}

.doc-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.doc-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.doc-action-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

.doc-size {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Sección Mapa Interactivo
   ========================================================================== */
.map-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 30px auto;
}

.map-layout-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 30px;
  align-items: start;
}

.map-container-outer {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at center, rgba(13, 17, 39, 0.4) 0%, rgba(6, 8, 20, 0.9) 100%);
}

.world-map-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Animaciones del mapa en SVG */
.hub-pulse {
  transform-origin: center;
  animation: hubPulseAnim 2.5s infinite ease-in-out;
}

@keyframes hubPulseAnim {
  0% { r: 5; opacity: 0.7; }
  50% { r: 18; opacity: 0; }
  100% { r: 5; opacity: 0; }
}

.trade-line {
  animation: dashTrade 35s linear infinite;
}

@keyframes dashTrade {
  to {
    stroke-dashoffset: -1000;
  }
}

/* Tooltip flotante del mapa */
.map-tooltip {
  position: absolute;
  padding: 15px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  z-index: 300;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast) ease, visibility var(--transition-fast) ease;
  max-width: 250px;
}

.map-tooltip h4 {
  font-size: 1rem;
  margin-bottom: 5px;
  color: white;
}

.map-tooltip p {
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 8px;
}

.tooltip-action {
  font-size: 0.75rem;
  color: var(--color-accent-blue);
  font-weight: 700;
  text-transform: uppercase;
}

/* Panel de Información del Mapa */
.map-info-panel-container {
  height: 100%;
  min-height: 350px;
  display: flex;
  flex-direction: column;
}

.map-info-panel-container h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--panel-border);
  padding-bottom: 10px;
}

#map-info-panel {
  transition: opacity var(--transition-normal) ease;
  flex-grow: 1;
}

.partner-detail-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
  height: 100%;
}

.partner-detail-card h3 {
  font-size: 1.8rem;
  margin-bottom: 0;
  border: 0;
  padding: 0;
}

.partner-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255,255,255,0.02);
  padding: 15px;
  border-radius: var(--radius-md);
  border: 1px solid var(--panel-border);
}

.meta-item {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
}

.meta-item strong {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.partner-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

/* ==========================================================================
   Sección Contacto
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-visual-card {
  padding: 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-visual-card h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.contact-visual-card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.contact-channels {
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.channel-icon {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-primary);
}

.channel-info h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.channel-info span, .channel-info a {
  font-size: 1rem;
  color: white;
}

.trade-offices {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-form-card {
  padding: 40px;
}

.contact-form-card h3 {
  font-size: 1.6rem;
  margin-bottom: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 15px;
}





/* ==========================================================================
   Diseño de Aplicación Móvil (Responsive / PWA styling)
   ========================================================================== */
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  body {
    padding-bottom: calc(var(--nav-bottom-height) + 15px); /* Espacio para barra inferior */
  }

  /* Ocultar elementos de escritorio */
  .desktop-nav {
    display: none;
  }

  /* Mostrar y configurar Bottom Navigation para Móviles */
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--nav-bottom-height);
    background: rgba(6, 8, 20, 0.9);
    backdrop-filter: var(--glass-blur);
    border-top: 1px solid var(--panel-border);
    z-index: 100;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  }

  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.7rem;
    font-family: var(--font-display);
    font-weight: 500;
    height: 100%;
    width: 20%;
    cursor: pointer;
    transition: all var(--transition-fast);
  }

  .bottom-nav-item .nav-icon {
    font-size: 1.35rem;
    margin-bottom: 2px;
    transition: transform var(--transition-fast);
  }

  .bottom-nav-item.active {
    color: var(--text-primary);
  }

  .bottom-nav-item.active .nav-icon {
    transform: translateY(-3px) scale(1.1);
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
  }

  /* Adaptación de layouts a 1 columna */
  .network-teaser-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .teaser-card {
    padding: 24px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-visual {
    order: -1; /* Poner la imagen arriba en móvil */
  }

  .about-card-badge {
    bottom: -10px;
    right: 10px;
    left: 10px;
    max-width: none;
    text-align: center;
  }

  .directory-header {
    flex-direction: column;
    align-items: stretch;
  }

  .search-bar-wrapper {
    max-width: none;
  }

  .map-layout-grid {
    grid-template-columns: 1fr;
  }

  .map-info-panel-container {
    min-height: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-visual-card, .contact-form-card {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* Modales en Móviles (Pantalla Completa) */
  .modal-dialog {
    margin: 0;
    padding: 0;
    height: 100%;
    max-width: none;
  }

  .modal-body-container {
    border-radius: 0;
    border: none;
    min-height: 100vh;
  }

  .profile-detail-header {
    padding: 20px 15px;
  }

  .profile-detail-grid {
    grid-template-columns: 1fr;
    padding: 15px;
    gap: 20px;
  }

  .profile-hero-image-wrapper {
    height: 220px;
    margin-bottom: 20px;
  }

  .contact-details-card {
    position: static;
  }
  

}

/* Dispositivos muy pequeños */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  
  .hero-actions .btn {
    width: 100%;
  }

  .directory-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Admin Panel Styles
   ========================================================================== */
.admin-login-container {
  max-width: 450px;
  margin: 60px auto;
  padding: 40px;
  text-align: center;
}

.admin-login-container h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.admin-login-container p {
  color: var(--text-secondary);
  margin-bottom: 25px;
}

.admin-login-container .form-group {
  text-align: left;
  margin-bottom: 20px;
}

.admin-dashboard {
  width: 100%;
}

.admin-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--panel-border);
  padding-bottom: 20px;
}

.admin-title-group h2 {
  font-size: 2.2rem;
  margin-bottom: 5px;
}

.admin-title-group p {
  color: var(--text-secondary);
}

.admin-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
}

.admin-tabs .btn {
  padding: 10px 24px;
}

.admin-tabs .btn.active {
  background: var(--grad-primary);
  color: white;
  border-color: transparent;
  box-shadow: var(--glow-primary);
}

.admin-list-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.admin-client-card {
  padding: 25px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 25px;
}

@media (max-width: 950px) {
  .admin-client-card {
    grid-template-columns: 1fr;
  }
}

.admin-client-info h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.admin-client-info .client-meta {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.admin-doc-list-title {
  font-size: 1.05rem;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--text-primary);
}

.admin-client-docs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 250px;
  overflow-y: auto;
  margin-bottom: 15px;
  padding-right: 5px;
}

.admin-doc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  gap: 10px;
}

.admin-doc-name-desc {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex-grow: 1;
}

.admin-doc-name {
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  color: var(--text-primary);
}

.admin-doc-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.admin-doc-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.admin-doc-size {
  color: var(--text-secondary);
  font-size: 0.75rem;
}

.admin-upload-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid var(--panel-border);
  padding-left: 25px;
  gap: 15px;
}

@media (max-width: 950px) {
  .admin-upload-panel {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--panel-border);
    padding-top: 25px;
  }
}

.drop-zone {
  border: 2px dashed var(--panel-border);
  border-radius: var(--radius-md);
  padding: 25px 20px;
  text-align: center;
  cursor: pointer;
  background: rgba(6, 8, 20, 0.4);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.drop-zone:hover {
  border-color: var(--color-primary);
  background: rgba(99, 102, 241, 0.05);
}

.drop-zone.drop-zone--over {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.08);
  transform: scale(1.01);
}

.drop-zone-icon {
  font-size: 2.2rem;
}

.drop-zone-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.drop-zone-subtext {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.shake-animation {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* ==========================================================================
   Estilos Prototipo Productor (Exportadores)
   ========================================================================== */
.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--panel-border-hover) !important;
  box-shadow: 0 8px 25px -5px rgba(37, 84, 38, 0.4);
}

.map-route-line {
  stroke-dasharray: 6, 4;
  animation: mapDashFlow 25s linear infinite;
}

@keyframes mapDashFlow {
  from {
    stroke-dashoffset: 200;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.producer-form .form-control:focus {
  outline: none;
  border-color: var(--color-1) !important;
  box-shadow: 0 0 12px rgba(195, 194, 139, 0.3);
}

/* ==========================================================================
   Estilos Página Quiénes Somos / Nosotros (Boutique Editorial)
   ========================================================================== */

/* Top Slider Banner Nosotros */
.nosotros-slider-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  border: 1px solid rgba(195, 194, 139, 0.35);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  background: #000000;
  aspect-ratio: 21 / 9;
  min-height: 260px;
  max-height: 480px;
}

.nosotros-slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  animation: subtleZoom 20s ease-in-out infinite alternate;
  transform-origin: center center;
}

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

.nosotros-slider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 8, 20, 0.2) 0%,
    rgba(0, 0, 0, 0) 40%,
    rgba(0, 0, 0, 0.6) 75%,
    rgba(6, 8, 20, 0.95) 100%
  );
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 2rem;
}

.nosotros-slider-top-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(195, 194, 139, 0.4);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  color: var(--color-1);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nosotros-slider-caption {
  align-self: flex-start;
  max-width: 800px;
}

.nosotros-slider-title {
  color: #ffffff;
  font-size: clamp(1.2rem, 2.8vw, 1.8rem);
  font-weight: 800;
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.nosotros-slider-desc {
  color: var(--text-primary);
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  margin-bottom: 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

/* Hero Nosotros */
.nosotros-hero {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  margin-top: 0;
  margin-bottom: 3.5rem;
  background: linear-gradient(135deg, rgba(37, 84, 38, 0.4) 0%, rgba(13, 26, 14, 0.95) 60%, rgba(0, 0, 0, 0.98) 100%);
  border: 1px solid rgba(195, 194, 139, 0.3);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.nosotros-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(101, 142, 102, 0.2) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
  z-index: 0;
}

.nosotros-hero-content {
  position: relative;
  z-index: 1;
  max-width: 950px;
}

.nosotros-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(195, 194, 139, 0.12);
  border: 1px solid var(--color-1);
  border-radius: var(--radius-full);
  color: var(--color-1);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
}

.nosotros-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.nosotros-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 2rem;
  font-weight: 400;
}

.nosotros-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.5rem;
}

.nosotros-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(195, 194, 139, 0.25);
  border-radius: var(--radius-full);
  color: var(--color-1);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.nosotros-tag:hover {
  background: rgba(195, 194, 139, 0.15);
  border-color: var(--color-1);
  transform: translateY(-2px);
}

/* Sección Fundadora */
.founder-section {
  margin-bottom: 4rem;
}

.founder-intro-card {
  padding: 3rem;
  margin-bottom: 3.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(13, 26, 14, 0.9) 0%, rgba(6, 8, 20, 0.95) 100%);
  border: 1px solid rgba(195, 194, 139, 0.25);
  box-shadow: var(--shadow-lg);
}

.founder-header-tag {
  color: var(--color-1);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 0.75rem;
}

.founder-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.founder-intro-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.founder-intro-lead {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-1);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--color-2);
  padding-left: 1.25rem;
}

/* Showcase de Fotos Principales */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.showcase-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(195, 194, 139, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.showcase-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-1);
  box-shadow: 0 20px 45px rgba(37, 84, 38, 0.4);
}

.showcase-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #000000;
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform var(--transition-slow);
}

.showcase-card:hover .showcase-img {
  transform: scale(1.04);
}

.showcase-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: var(--color-1);
  border: 1px solid rgba(195, 194, 139, 0.4);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.showcase-caption {
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(13, 26, 14, 0.9) 0%, rgba(0, 0, 0, 0.95) 100%);
  border-top: 1px solid rgba(195, 194, 139, 0.15);
  flex-grow: 1;
}

.showcase-caption h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.showcase-caption p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Cuadrícula de Hitos y Credenciales */
.credentials-section {
  margin-bottom: 3.5rem;
}

.credentials-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  justify-content: center;
}

.credential-card {
  padding: 1.75rem;
  border-radius: var(--radius-md);
  background: rgba(13, 26, 14, 0.6);
  border: 1px solid rgba(195, 194, 139, 0.2);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.credential-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-1);
  background: rgba(37, 84, 38, 0.25);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.credential-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(195, 194, 139, 0.12);
  border: 1px solid rgba(195, 194, 139, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-1);
}

.credential-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.credential-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Galería Polaroid Editorial */
.polaroids-section {
  margin-bottom: 4rem;
  padding: 3rem 2rem;
  background: radial-gradient(circle at center, rgba(37, 84, 38, 0.15) 0%, rgba(0, 0, 0, 0.4) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(195, 194, 139, 0.15);
}

.polaroids-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

.polaroids-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem 2rem;
  justify-items: center;
  padding: 1rem 0;
}

.polaroid-card {
  background: #fdfbf7;
  padding: 12px 12px 20px 12px;
  border-radius: 4px;
  box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.7), 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  width: 100%;
  max-width: 280px;
  cursor: pointer;
}

.polaroid-card:nth-child(1) {
  transform: rotate(-2.5deg);
}

.polaroid-card:nth-child(2) {
  transform: rotate(2deg);
}

.polaroid-card:nth-child(3) {
  transform: rotate(-1.5deg);
}

.polaroid-card:nth-child(4) {
  transform: rotate(2.5deg);
}

.polaroid-card:hover {
  transform: rotate(0deg) translateY(-10px) scale(1.05);
  box-shadow: 0 25px 45px -5px rgba(0, 0, 0, 0.9), 0 0 20px rgba(195, 194, 139, 0.3);
  z-index: 10;
}

.polaroid-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e2e8f0;
  border-radius: 2px;
}

.polaroid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.polaroid-caption {
  margin-top: 14px;
  text-align: center;
}

.polaroid-caption-country {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a202c;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.polaroid-caption-text {
  font-size: 0.78rem;
  color: #4a5568;
  line-height: 1.35;
  margin: 0;
}

/* Bloque Destacado de Cierre ("Conocer el origen...") */
.highlight-quote-card {
  padding: 3.5rem 2.5rem;
  margin-bottom: 4rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(118, 31, 74, 0.25) 0%, rgba(37, 84, 38, 0.35) 50%, rgba(0, 0, 0, 0.9) 100%);
  border: 1px solid var(--color-1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(195, 194, 139, 0.15);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.highlight-quote-card::after {
  content: '“';
  position: absolute;
  top: 10px;
  left: 25px;
  font-size: 8rem;
  font-family: serif;
  color: rgba(195, 194, 139, 0.12);
  line-height: 1;
  pointer-events: none;
}

.highlight-quote-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--color-1);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.highlight-quote-text {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.8;
  color: var(--text-primary);
  max-width: 900px;
  margin: 0 auto;
}

/* Cierre con CTA */
.nosotros-cta-card {
  padding: 3.5rem 2.5rem;
  margin-bottom: 4rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(37, 84, 38, 0.4) 0%, rgba(13, 26, 14, 0.95) 100%);
  border: 1px solid rgba(195, 194, 139, 0.35);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.nosotros-cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.nosotros-cta-desc {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-primary);
  max-width: 750px;
  margin: 0 auto 2rem auto;
}

.nosotros-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
}

.btn-cta-primary {
  background: linear-gradient(135deg, var(--color-1) 0%, #a8a66a 100%);
  color: #000000;
  font-weight: 700;
  padding: 14px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 20px rgba(195, 194, 139, 0.35);
  transition: all var(--transition-normal);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-cta-primary:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(195, 194, 139, 0.5);
}

.btn-cta-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(195, 194, 139, 0.4);
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-cta-secondary:hover {
  background: rgba(195, 194, 139, 0.2);
  border-color: var(--color-1);
  color: var(--color-1);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .nosotros-hero {
    padding: 2.25rem 1.5rem;
  }
  
  .founder-intro-card {
    padding: 2rem 1.5rem;
  }
  
  .highlight-quote-card,
  .nosotros-cta-card {
    padding: 2.25rem 1.5rem;
  }
  
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  
  .polaroids-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }
}



