/* -------------------------------------------------------------------
 * SOLDINAMIC - ESTILO CORPORATIVO INDUSTRIAL / B2B (MOBILE-FIRST)
 * Farolas Solares, Fotovoltaica y Cargadores de Vehículos Eléctricos
 * Arquitectura CSS Mobile-First (min-width Media Queries)
 * ------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --font-primary: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  
  /* Paleta Corporativa Industrial B2B */
  --color-bg-main: #F8FAFC;
  --color-bg-card: #FFFFFF;
  --color-bg-alt: #F1F5F9;
  --color-bg-dark: #0F172A;
  
  --color-navy: #0F172A;
  --color-navy-light: #1E293B;
  --color-blue-primary: #1E3A8A;
  --color-blue-accent: #2563EB;
  --color-blue-light: #EFF6FF;
  
  --color-green-primary: #059669;
  --color-green-accent: #10B981;
  --color-green-light: #ECFDF5;
  
  --color-text-main: #1E293B;
  --color-text-muted: #64748B;
  --color-text-light: #94A3B8;
  
  --color-border: #E2E8F0;
  --color-border-hover: #CBD5E1;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.12), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --touch-target: 48px;
}

/* Reset & Base Mobile-First */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg-main);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--color-blue-accent);
  text-decoration: none;
  transition: var(--transition);
  min-height: 24px;
}

a:hover {
  color: var(--color-blue-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Contenedor Base - Mobile Padding */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* -------------------------------------------------------------------
 * TOP BAR (Oculto en pantallas pequeñas, visible en tablet/desktop)
 * ------------------------------------------------------------------- */
.top-bar {
  display: none;
  background-color: var(--color-navy);
  color: #94A3B8;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-info item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-info a {
  color: #E2E8F0;
}

.top-bar-badge {
  background-color: rgba(16, 185, 129, 0.15);
  color: var(--color-green-accent);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* -------------------------------------------------------------------
 * NAVBAR (MOBILE-FIRST)
 * ------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

/* Mobile Toggle Hamburger (min 48px touch target) */
.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--touch-target);
  height: var(--touch-target);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 1.35rem;
  color: var(--color-navy);
  cursor: pointer;
  transition: var(--transition);
}

.mobile-toggle:active {
  transform: scale(0.95);
  background: var(--color-border);
}

/* Menu de Navegación Móvil (Drawer deslizable) */
.nav-menu {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background-color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem 2rem 1.5rem;
  box-shadow: var(--shadow-xl);
  border-bottom: 2px solid var(--color-green-primary);
  transform: translateY(-150%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  list-style: none;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}

.nav-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav-link {
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-navy);
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid var(--color-bg-alt);
  border-radius: var(--radius-sm);
  min-height: var(--touch-target);
}

.nav-link:hover, .nav-link:focus {
  color: var(--color-green-primary);
  background-color: var(--color-green-light);
  padding-left: 0.85rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-actions .btn-primary {
  display: none; /* En móvil se accede desde el CTA del menú o hero */
}

/* -------------------------------------------------------------------
 * BOTONES & CTAs (MOBILE-FIRST TOUCH FRIENDLY)
 * ------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem;
  min-height: var(--touch-target);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  width: 100%; /* Botón de ancho completo en móvil */
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #007A3D 0%, #004D25 100%);
  color: #FFFFFF;
  border: 1px solid rgba(141, 198, 63, 0.35);
  box-shadow: 0 4px 12px rgba(0, 122, 61, 0.25);
}

.btn-primary:active, .btn-primary:hover {
  background: linear-gradient(135deg, #00964B 0%, #005E2E 100%);
  color: #FFFFFF;
  border-color: #8DC63F;
  box-shadow: 0 6px 16px rgba(0, 122, 61, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: linear-gradient(135deg, #007A3D 0%, #004D25 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 122, 61, 0.25);
  border: 1px solid rgba(141, 198, 63, 0.35);
}

.btn-secondary:active, .btn-secondary:hover {
  background: linear-gradient(135deg, #00964B 0%, #005E2E 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(0, 122, 61, 0.35);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-border-hover);
  color: var(--color-navy);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
  font-weight: 700;
}

.btn-whatsapp:hover, .btn-whatsapp:active {
  background-color: #1EBE57;
  color: #FFFFFF;
}

.btn-sm {
  min-height: 40px;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
}

/* -------------------------------------------------------------------
 * HERO SECTION (MOBILE-FIRST)
 * ------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #09120D 0%, #0F2218 50%, #153224 100%);
  color: #FFFFFF;
  padding: 2.5rem 0 3.5rem 0;
  overflow: hidden;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--color-green-accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: #8DC63F;
  background: linear-gradient(90deg, #8DC63F, #A3E635);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 0.975rem;
  color: #CBD5E1;
  margin-bottom: 1.5rem;
  line-height: 1.55;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.1rem;
}

.stat-item p {
  font-size: 0.7rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hero-image-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  box-shadow: var(--shadow-xl);
}

.hero-image-card img {
  border-radius: var(--radius-md);
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.floating-badge {
  position: absolute;
  bottom: -15px;
  left: 10px;
  right: 10px;
  background: #FFFFFF;
  color: var(--color-navy);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--color-border);
}

.floating-badge .icon-box {
  width: 38px;
  height: 38px;
  background-color: var(--color-green-light);
  color: var(--color-green-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.floating-badge .text-box h4 {
  font-size: 0.875rem;
}

.floating-badge .text-box p {
  font-size: 0.725rem;
  color: var(--color-text-muted);
}

/* -------------------------------------------------------------------
 * SECCIONES (MOBILE-FIRST)
 * ------------------------------------------------------------------- */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.section-dark {
  background: linear-gradient(135deg, #09120D 0%, #0F2218 50%, #153224 100%);
  color: #FFFFFF;
}

.section-dark .section-title {
  color: #FFFFFF;
}

.section-dark .section-description {
  color: #CBD5E1;
}

.section-dark .solution-features li {
  color: #E2E8F0;
}

.section-header {
  text-align: left;
  margin-bottom: 2.25rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-green-primary);
  background-color: var(--color-green-light);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: 1.65rem;
  margin-bottom: 0.75rem;
}

.section-description {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* -------------------------------------------------------------------
 * CARDS GRID - LÍNEAS DE NEGOCIO (MOBILE 1-COL)
 * ------------------------------------------------------------------- */
.solutions-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.solution-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.solution-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
  background-color: var(--color-navy-light);
}

.solution-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-category-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(15, 23, 42, 0.88);
  color: #FFFFFF;
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.solution-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.solution-title {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.solution-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.solution-features {
  list-style: none;
  margin-bottom: 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--color-border);
}

.solution-features li {
  font-size: 0.85rem;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.solution-features li i {
  color: var(--color-green-primary);
}

.solution-footer {
  margin-top: auto;
}

/* -------------------------------------------------------------------
 * FICHAS TÉCNICAS (SPEC TABS & RESPONSIVE TABLE)
 * ------------------------------------------------------------------- */
.tech-specs-box {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem;
}

.spec-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 1.25rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.spec-tab-btn {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  padding: 0.6rem 0.9rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  min-height: 40px;
}

.spec-tab-btn.active {
  color: var(--color-green-primary);
  background-color: var(--color-green-light);
  border-color: var(--color-green-primary);
}

.spec-content {
  display: none;
}

.spec-content.active {
  display: block;
}

.spec-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.25rem;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 320px;
}

.spec-table th, .spec-table td {
  padding: 0.75rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.85rem;
}

.spec-table th {
  background-color: var(--color-bg-alt);
  color: var(--color-navy);
  font-weight: 600;
  width: 40%;
}

.spec-table td {
  color: var(--color-text-main);
}

/* -------------------------------------------------------------------
 * STRIP DE CERTIFICACIONES (MOBILE 2-COL / DESKTOP 4-COL)
 * ------------------------------------------------------------------- */
.certs-strip {
  background-color: #060B08;
  border-bottom: 1px solid rgba(141, 198, 63, 0.2);
  color: #FFFFFF;
  padding: 2.5rem 0;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.cert-item {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  text-align: center;
}

.cert-icon {
  font-size: 1.75rem;
  color: var(--color-green-accent);
  margin-bottom: 0.5rem;
}

.cert-item h4 {
  color: #FFFFFF;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.cert-item p {
  font-size: 0.75rem;
  color: #94A3B8;
  line-height: 1.4;
}

/* -------------------------------------------------------------------
 * FORMULARIO B2B & CONTACTO (MOBILE-FIRST)
 * ------------------------------------------------------------------- */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  background-color: var(--color-navy);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
}

.contact-info-card h3 {
  color: #FFFFFF;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.contact-info-card p {
  color: #94A3B8;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-item .icon {
  width: 42px;
  height: 42px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--color-green-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item h5 {
  color: #E2E8F0;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 0.1rem;
}

.contact-item a, .contact-item span {
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 500;
}

.contact-form-wrapper {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 0.9rem;
  font-size: 0.95rem;
  font-family: var(--font-primary);
  color: var(--color-text-main);
  background-color: var(--color-bg-main);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  min-height: var(--touch-target);
  -webkit-appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-blue-accent);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-response {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  display: none;
}

/* -------------------------------------------------------------------
 * FOOTER & FLOATING WHATSAPP
 * ------------------------------------------------------------------- */
.footer {
  background-color: #09140E;
  border-top: 3px solid #8DC63F;
  color: #94A3B8;
  padding: 3rem 0 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--color-green-accent);
  margin-top: 0.4rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.875rem;
}

.footer-map img {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  max-height: 140px;
  width: 100%;
  object-fit: cover;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.8rem;
  text-align: center;
}

/* Botón Flotante de WhatsApp para Móvil */
.whatsapp-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 54px;
  height: 54px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 999;
}

/* ===================================================================
 * PROGRESSIVE ENHANCEMENT MEDIA QUERIES (MOBILE-FIRST min-width)
 * =================================================================== */

/* Tablet Pequena / Phablet (min-width: 640px) */
@media (min-width: 640px) {
  .hero-title {
    font-size: 2.25rem;
  }
  .hero-ctas {
    flex-direction: row;
  }
  .hero-ctas .btn {
    width: auto;
  }
  .solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet Media / Desktop Pequeno (min-width: 768px) */
@media (min-width: 768px) {
  .top-bar {
    display: block;
  }
  .navbar .container {
    height: 80px;
  }
  .brand-logo img {
    height: 50px;
  }
  .mobile-toggle {
    display: none; /* Ocultar hamburguesa en escritorio */
  }
  .nav-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
    padding: 0;
    box-shadow: none;
    border: none;
    background: transparent;
  }
  .nav-link {
    padding: 0.5rem 0;
    border: none;
    font-size: 0.95rem;
    min-height: auto;
  }
  .nav-link:hover, .nav-link:focus {
    background: transparent;
    padding-left: 0;
  }
  .nav-actions .btn-primary {
    display: inline-flex;
    width: auto;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 3rem;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-image-card img {
    height: 350px;
  }
  .section {
    padding: 4.5rem 0;
  }
  .section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem auto;
  }
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
  }
  .contact-info-card, .contact-form-wrapper {
    padding: 2.5rem;
  }
  .tech-specs-box {
    padding: 2.25rem;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Pantalla de Escritorio Grande (min-width: 1024px) */
@media (min-width: 1024px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .hero-title {
    font-size: 2.85rem;
  }
  .solutions-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .certs-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

/* ===================================================================
 * 10. ESTILOS DE CATÁLOGO DE PRODUCTOS B2B
 * =================================================================== */
.catalog-hero {
  background: linear-gradient(135deg, #09120D 0%, #0F2218 50%, #153224 100%);
  padding: 3.5rem 0 3rem 0;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.catalog-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 75% 30%, rgba(141, 198, 63, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #94A3B8;
  margin-bottom: 1.25rem;
}

.breadcrumbs a {
  color: #CBD5E1;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
  color: var(--color-green-accent);
}

.breadcrumbs span {
  color: #64748B;
}

.catalog-title {
  font-size: 2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.catalog-title span {
  color: #8DC63F;
  background: linear-gradient(90deg, #8DC63F, #A3E635);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.catalog-description {
  font-size: 1rem;
  color: #CBD5E1;
  max-width: 800px;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #E2E8F0;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.filter-tag:hover, .filter-tag.active {
  background: linear-gradient(135deg, #007A3D 0%, #004D25 100%);
  border-color: #8DC63F;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 122, 61, 0.3);
}

/* Rejilla de Productos */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .catalog-title {
    font-size: 2.5rem;
  }
}

/* Tarjeta de Producto */
.product-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-green-accent);
}

.product-img-box {
  background: #FFFFFF;
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 280px;
  border-bottom: 1px solid var(--color-border);
}

.product-img-box img {
  max-height: 220px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.product-card:hover .product-img-box img {
  transform: scale(1.05);
}

.product-badge-float {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--color-navy-dark);
  color: var(--color-green-accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.product-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.product-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Micro Ficha de Especificaciones en la Tarjeta */
.product-specs-list {
  background: #F1F5F9;
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  list-style: none;
}

.product-specs-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  padding: 0.3rem 0;
  border-bottom: 1px dashed #CBD5E1;
  color: var(--color-text-main);
}

.product-specs-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.product-specs-list li span.spec-label {
  color: #64748B;
  font-weight: 500;
}

.product-specs-list li span.spec-val {
  font-weight: 700;
  color: var(--color-navy-dark);
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.product-card-actions .btn {
  padding: 0.65rem 0.5rem;
  font-size: 0.825rem;
  justify-content: center;
  text-align: center;
}

.btn-pdf-download {
  background: #FFFFFF;
  color: #DC2626;
  border: 1px solid #FCA5A5;
  font-weight: 600;
}

.btn-pdf-download:hover {
  background: #FEF2F2;
  border-color: #DC2626;
  color: #B91C1C;
}

/* Strip de Ventajas Técnicas B2B */
.catalog-benefits {
  background: #FFFFFF;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 3rem 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.benefit-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy-dark);
  margin-bottom: 0.25rem;
}

.benefit-info p {
  font-size: 0.825rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* ===================================================================
 * 11. ESTILOS DE FICHA DETALLE DE PRODUCTO B2B
 * =================================================================== */
.product-detail-section {
  padding: 3rem 0;
  background: var(--color-bg-light);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .product-detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
  }
}

/* Galería de Producto */
.product-gallery {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  box-shadow: 0 4px 25px rgba(15, 23, 42, 0.04);
}

.gallery-stage {
  width: 100%;
  height: 340px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  overflow: hidden;
  position: relative;
  border: none;
}

@media (min-width: 992px) {
  .gallery-stage {
    height: 485px;
  }
}

.gallery-stage img {
  max-height: 98%;
  max-width: 98%;
  object-fit: contain;
  background: #FFFFFF;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-stage:hover img {
  transform: scale(1.02);
}

.gallery-thumbnails {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.thumb-item {
  width: 75px;
  height: 75px;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  padding: 0.35rem;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.thumb-item:hover, .thumb-item.active {
  border-color: var(--color-green-primary);
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 122, 61, 0.15);
}

.thumb-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #FFFFFF;
}

/* Información Principal de Producto */
.product-summary {
  display: flex;
  flex-direction: column;
}

.product-ref-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-green-primary);
  background: rgba(16, 185, 129, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  width: fit-content;
  margin-bottom: 0.75rem;
}

.product-heading-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-navy-dark);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.product-power-tag {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-green-primary);
  margin-bottom: 1.25rem;
}

.product-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--color-text-main);
  font-weight: 600;
}

.product-downloads-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding: 1.25rem;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.btn-download-ies {
  background: #0B132B;
  color: #FFFFFF;
  border: 1px solid #1C2541;
  font-weight: 600;
}

.btn-download-ies:hover {
  background: #1C2541;
  color: var(--color-green-accent);
}

/* Resumen Técnico Rápido */
.fast-specs-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.fast-specs-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fast-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.5rem;
}

.fast-spec-row {
  display: flex;
  flex-direction: column;
}

.fast-spec-row .label {
  font-size: 0.75rem;
  color: #64748B;
  font-weight: 500;
}

.fast-spec-row .value {
  font-size: 0.95rem;
  color: var(--color-navy-dark);
  font-weight: 700;
}

/* Pestañas Técnicas de Detalle (Tabs B2B) */
.product-tabs-section {
  margin-top: 3.5rem;
}

.tabs-nav-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 2rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tabs-nav-modern::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.tab-btn-modern {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  margin-bottom: -2px;
}

.tab-btn-modern:hover {
  color: var(--color-navy-dark);
}

.tab-btn-modern.active {
  color: var(--color-green-primary);
  border-bottom-color: var(--color-green-primary);
}

.tab-pane-content {
  display: none;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.tab-pane-content.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tabla de Especificaciones Técnicas */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table th, .specs-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid #E2E8F0;
  font-size: 0.9rem;
}

.specs-table th {
  width: 35%;
  background: #F8FAFC;
  color: var(--color-navy-dark);
  font-weight: 600;
  text-align: left;
}

.specs-table td {
  color: var(--color-text-main);
  font-weight: 500;
}

.specs-table tr:last-child th, .specs-table tr:last-child td {
  border-bottom: none;
}

/* ===================================================================
 * 12. ESTILOS DE PANEL DE ADMINISTRACIÓN (ADMIN)
 * =================================================================== */
.admin-login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F0F4F8;
  padding: 1.5rem;
}

.admin-login-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 440px;
  padding: 2.5rem;
  text-align: center;
}

.admin-login-logo {
  max-width: 180px;
  margin: 0 auto 1.5rem auto;
}

.admin-layout {
  display: flex;
  min-height: 100vh;
  background: #F4F6F9;
}

.admin-sidebar {
  width: 260px;
  background: #0B132B;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transition: all var(--transition-normal);
}

.admin-sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-sidebar-nav {
  padding: 1.5rem 1rem;
  list-style: none;
  flex-grow: 1;
}

.admin-nav-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #64748B;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 1.25rem 0 0.5rem 0.5rem;
}

.admin-nav-item a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  color: #CBD5E1;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.admin-nav-item a:hover, .admin-nav-item a.active {
  background: var(--color-green-primary);
  color: #FFFFFF;
}

.admin-main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.admin-topbar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-body {
  padding: 2rem;
  flex-grow: 1;
}

.admin-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  margin-bottom: 2rem;
}

.admin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #E2E8F0;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th, .admin-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #E2E8F0;
  text-align: left;
  font-size: 0.9rem;
}

.admin-table th {
  background: #F8FAFC;
  color: var(--color-navy-dark);
  font-weight: 700;
}

.admin-thumb-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: #F8FAFC;
  border-radius: var(--radius-sm);
  border: 1px solid #E2E8F0;
  padding: 4px;
}

/* Botón Distribuidores en Cabecera */
.btn-distribuidores {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #FFFFFF;
  color: #007A3D;
  border: 1.5px solid #007A3D;
  padding: 0.45rem 0.95rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-distribuidores:hover {
  background: #007A3D;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 91, 148, 0.2);
  transform: translateY(-1px);
}

/* Página de Contacto Independiente B2B */
.contact-page-hero {
  padding: 3.5rem 0 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
}

.contact-page-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.contact-page-subtitle {
  font-size: 1.05rem;
  color: #64748B;
  max-width: 650px;
  margin: 0 auto 2.5rem;
  line-height: 1.5;
}

.contact-box-container {
  max-width: 980px;
  margin: 0 auto 4.5rem;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.08), 0 0 1px rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 360px 1fr;
  overflow: hidden;
  border: 1px solid #E2E8F0;
}

.contact-box-sidebar {
  background: #007A3D;
  background: linear-gradient(160deg, #007A3D 0%, #003F66 100%);
  color: #FFFFFF;
  padding: 3rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.75rem;
}

.contact-box-sidebar h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.contact-office-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-office-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #FFFFFF;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-office-details {
  display: flex;
  flex-direction: column;
}

.contact-office-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.2rem;
}

.contact-office-val {
  font-size: 0.88rem;
  color: #FFFFFF;
  line-height: 1.4;
}

.contact-office-val a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
}

.contact-office-val a:hover {
  text-decoration: underline;
}

.contact-box-form {
  padding: 3rem 2.5rem;
  background: #FFFFFF;
}

.contact-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.contact-field-group {
  margin-bottom: 1.25rem;
}

.contact-field-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.45rem;
}

.contact-field-group input,
.contact-field-group textarea,
.contact-field-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 0.925rem;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  outline: none;
  background: #FFFFFF;
  color: #1E293B;
  transition: all 0.2s ease;
  font-family: inherit;
  box-sizing: border-box;
}

.contact-field-group input:focus,
.contact-field-group textarea:focus,
.contact-field-group select:focus {
  border-color: #007A3D;
  box-shadow: 0 0 0 3px rgba(0, 91, 148, 0.12);
}

.btn-contact-submit {
  width: 100%;
  background: #007A3D;
  background: linear-gradient(135deg, #007A3D 0%, #004570 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 0.95rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: all 0.2s ease;
  margin-top: 0.5rem;
}

.btn-contact-submit:hover {
  opacity: 0.93;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 91, 148, 0.25);
}

@media (max-width: 820px) {
  .contact-box-container {
    grid-template-columns: 1fr;
    margin: 0 1rem 3rem;
  }
  .contact-box-sidebar {
    padding: 2.25rem 1.5rem;
  }
  .contact-box-form {
    padding: 2rem 1.5rem;
  }
  .contact-form-grid-2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}





/* ===================================================================
 * SELECTOR DE IDIOMAS MULTILINGÜE
 * =================================================================== */
.lang-selector-wrapper {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  z-index: 1001 !important;
}

.lang-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: #FFFFFF !important;
  color: #1E293B !important;
  border: 1px solid #CBD5E1 !important;
  padding: 0 10px !important;
  height: 38px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  user-select: none !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
}

.lang-btn:hover {
  border-color: #007A3D !important;
  color: #007A3D !important;
  background: #F8FAFC !important;
}

.lang-dropdown {
  position: absolute !important;
  top: calc(100% + 5px) !important;
  right: 0 !important;
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2), 0 5px 10px -5px rgba(0, 0, 0, 0.1) !important;
  min-width: 155px !important;
  padding: 5px 0 !important;
  margin: 0 !important;
  list-style: none !important;
  z-index: 99999 !important;
  display: none !important;
}

.lang-dropdown.show {
  display: block !important;
}

.lang-option {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  list-style: none !important;
  margin: 0 !important;
}

.lang-option:hover {
  background: #F1F5F9 !important;
  color: #007A3D !important;
}

.lang-option.active {
  background: #EFF6FF !important;
  color: #007A3D !important;
  font-weight: 700 !important;
}

/* Banderas PNG en selector de idioma */
.flag-img {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
  display: inline-block;
  vertical-align: middle;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

/* =========================================================================
 * REGLAS DE ALTA NITIDEZ, CONTRASTE Y PRIMER RELIEVE (3D SHADOWS)
 * ========================================================================= */
img {
  image-rendering: -webkit-optimize-contrast;
}

.product-card .product-card-img img,
.solution-card .solution-img img,
.gallery-thumbnails .thumb-item img {
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.1)) contrast(1.06);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.product-card:hover .product-card-img img,
.solution-card:hover .solution-img img {
  transform: scale(1.05) translateY(-5px);
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.18)) contrast(1.1);
}

.gallery-stage {
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.03), 0 10px 25px -5px rgba(0, 0, 0, 0.08);
}


/* Campo de Mensaje en Contacto - Ampliado para Cotizaciones */
#contact_message,
.contact-form-white textarea {
  min-height: 160px;
  line-height: 1.55;
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  resize: vertical;
}
