/* ==========================================================================
   ROSARIO INSUMOS AGROPECUARIOS - PWA DESIGN SYSTEM
   38+ Años de Sanidad y Bienestar Animal
   ========================================================================== */

:root {
  --primary: #0f5132;
  --primary-hover: #0b3d26;
  --primary-light: #198754;
  --primary-soft: #e8f5e9;
  --secondary: #0d9488;
  --secondary-soft: #f0fdfa;
  --accent-gold: #d97706;
  --accent-gold-soft: #fef3c7;
  --dark: #0f172a;
  --dark-surface: #1e293b;
  --gray-700: #334155;
  --gray-600: #475569;
  --gray-500: #64748b;
  --gray-400: #94a3b8;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --gray-50: #f8fafc;
  --white: #ffffff;

  --wa-green: #25d366;
  --wa-green-hover: #1ebc59;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-primary: 0 10px 20px -5px rgba(15, 81, 50, 0.3);

  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s ease;
  --transition-slow: 0.5s ease;
}

/* CSS Reset & Base */
*, *::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-body);
  background-color: var(--gray-50);
  color: var(--gray-700);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button, input, textarea, select {
  font: inherit;
  outline: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ==========================================================================
   TOP BAR (Quick Contact & Business Hours)
   ========================================================================== */
.top-bar {
  background: var(--dark);
  color: var(--gray-200);
  font-size: 0.84rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-items {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--gray-300);
}

.top-bar-item svg {
  width: 15px;
  height: 15px;
  fill: var(--secondary);
}

.top-bar-item strong {
  color: var(--white);
  font-weight: 600;
}

.top-bar-badge {
  background: rgba(217, 119, 6, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-200);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 78px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo img {
  height: 48px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--gray-700);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-fast);
  border-radius: var(--radius-full);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Primary and Outline Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1.5px);
  box-shadow: 0 12px 24px -5px rgba(15, 81, 50, 0.4);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background: #0f766e;
  transform: translateY(-1.5px);
}

.btn-wa {
  background: var(--wa-green);
  color: var(--white);
  box-shadow: 0 6px 14px -3px rgba(37, 211, 102, 0.35);
}

.btn-wa:hover {
  background: var(--wa-green-hover);
  transform: translateY(-1.5px);
}

.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.btn-pwa-install {
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-700);
  font-size: 0.82rem;
  padding: 0.5rem 1rem;
}

.btn-pwa-install:hover {
  background: var(--gray-100);
  border-color: var(--primary);
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  padding: 0.5rem;
  color: var(--dark);
}

/* ==========================================================================
   HERO SECTION (High Prestige, Informative - NO TOP BANNER SLIDER)
   ========================================================================== */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(232, 245, 233, 0.85) 0%, rgba(255, 255, 255, 1) 90%);
  padding: 4.5rem 0 5rem 0;
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--white);
  border: 1px solid rgba(15, 81, 50, 0.2);
  box-shadow: var(--shadow-sm);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--primary);
}

.hero-badge .pulse-dot {
  width: 9px;
  height: 9px;
  background: var(--primary-light);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.7);
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(25, 135, 84, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(25, 135, 84, 0); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1.4rem;
  letter-spacing: -0.02em;
}

.hero-title span.highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-lead {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-lead strong {
  color: var(--dark);
  font-weight: 600;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-guarantee {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-700);
}

.guarantee-item svg {
  width: 20px;
  height: 20px;
  fill: var(--primary);
  flex-shrink: 0;
}

/* Hero Media / Visual Card */
.hero-visual-card {
  position: relative;
  z-index: 2;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 6px solid var(--white);
  background: var(--white);
}

.hero-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(15, 81, 50, 0.75) 100%);
  pointer-events: none;
}

.hero-floating-stat {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 3;
}

.floating-stat-1 {
  bottom: 25px;
  left: -20px;
  animation: floatSlow 4s ease-in-out infinite alternate;
}

.floating-stat-2 {
  top: 30px;
  right: -20px;
  animation: floatSlow 4.5s ease-in-out 1s infinite alternate-reverse;
}

@keyframes floatSlow {
  from { transform: translateY(0px); }
  to { transform: translateY(-8px); }
}

.floating-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
}

.floating-stat-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--primary);
}

.floating-stat-text .num {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
}

.floating-stat-text .label {
  font-size: 0.78rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ==========================================================================
   METRICS & TRUST COUNTERS
   ========================================================================== */
.stats-section {
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
  margin-bottom: 4rem;
}

.stats-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.stat-box {
  background: var(--white);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.stat-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.stat-box-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-box.gold .stat-box-number {
  color: var(--accent-gold);
}

.stat-box-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.35rem;
}

.stat-box-desc {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.4;
}

/* ==========================================================================
   SECTION COMMON HEADINGS
   ========================================================================== */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.section-badge {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ==========================================================================
   MISIÓN, VISIÓN & VALORES SECTION
   ========================================================================== */
.mision-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.mv-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.mv-card.vision::before {
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent-gold) 100%);
}

.mv-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.mv-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mv-card.vision .mv-icon {
  background: var(--secondary-soft);
}

.mv-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--primary);
}

.mv-card.vision .mv-icon svg {
  fill: var(--secondary);
}

.mv-header h3 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.mv-body p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
}

.mv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-100);
}

.mv-tag {
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

/* Sectores Atendidos */
.target-audience-strip {
  background: linear-gradient(135deg, var(--primary) 0%, #064e3b 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.5rem;
  margin-top: 1rem;
  box-shadow: var(--shadow-xl);
}

.target-audience-strip h4 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  text-align: center;
}

.target-audience-strip p.desc {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.98rem;
  margin-bottom: 2rem;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.audience-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
  backdrop-filter: blur(6px);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

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

.audience-card .icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.audience-card h5 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.audience-card span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   SOLUCIONES Y VADEMÉCUM INTEGRAL
   ========================================================================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.solution-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.sol-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.sol-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--primary);
}

.solution-card h4 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.solution-card p {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.solution-card ul {
  list-style: none;
  margin-bottom: 1.75rem;
}

.solution-card ul li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: var(--gray-700);
  margin-bottom: 0.45rem;
}

.solution-card ul li svg {
  width: 14px;
  height: 14px;
  fill: var(--primary-light);
  flex-shrink: 0;
}

.solution-card .action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--primary);
  margin-top: auto;
}

.solution-card .action-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* ==========================================================================
   REQUERIMIENTO CLAVE:
   "Arriba del banner que haya un banner carrusel con logos de las marcas que trabajamos"
   ========================================================================== */
.brands-section {
  padding: 4.5rem 0 3rem 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
}

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

.brands-header h3 {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.brands-header p {
  font-size: 0.98rem;
  color: var(--gray-500);
}

.brand-ticker-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0.5rem 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.brand-ticker-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: max-content;
  animation: tickerAnimation 75s linear infinite;
}

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

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

.brand-card {
  width: 175px;
  height: 82px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.brand-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.brand-card img {
  max-width: 100%;
  max-height: 52px;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

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

/* ==========================================================================
   REQUERIMIENTO CLAVE:
   "Pero que el banner de imágenes de arriba reemplace el de abajo y arriba no haya banner"
   ========================================================================== */
.image-slider-section {
  padding: 3.5rem 0 5.5rem 0;
  background: var(--gray-50);
}

.slider-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--white);
}

.slider-track {
  display: flex;
  width: 100%;
  height: 520px;
  transition: transform var(--transition-slow);
}

.slide-item {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(15, 81, 50, 0.45) 50%, rgba(10, 30, 20, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem;
  color: var(--white);
}

.slide-caption {
  max-width: 720px;
}

.slide-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.slide-caption h3 {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.slide-caption p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 10;
  transition: all var(--transition-fast);
}

.slider-btn:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-50%) scale(1.08);
}

.slider-prev {
  left: 20px;
}

.slider-next {
  right: 20px;
}

.slider-indicators {
  position: absolute;
  bottom: 25px;
  right: 35px;
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-dot.active {
  width: 32px;
  border-radius: var(--radius-full);
  background: var(--white);
}

/* ==========================================================================
   CONTACTO & UBICACIÓN (Datos provistos por el usuario)
   ========================================================================== */
.contact-section {
  padding: 5rem 0 6rem 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.contact-info-panel {
  background: linear-gradient(145deg, #0f5132 0%, #0a3622 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-panel h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.contact-info-panel p.intro {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  margin-bottom: 2.25rem;
  line-height: 1.6;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-box svg {
  width: 24px;
  height: 24px;
  fill: #6ee7b7;
}

.contact-detail-text h5 {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #a7f3d0;
  margin-bottom: 0.2rem;
}

.contact-detail-text p, .contact-detail-text a {
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 500;
}

.contact-detail-text a:hover {
  text-decoration: underline;
  color: #6ee7b7;
}

.hours-highlight-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.hours-highlight-box .hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  padding: 0.35rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
}

.hours-highlight-box .hours-row:last-child {
  border-bottom: none;
}

/* Contact Interactive Form & Map Container */
.contact-interactive-panel {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.quick-contact-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.quick-contact-card h4 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.quick-contact-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-300);
  background: var(--white);
  font-size: 0.92rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 81, 50, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 85px;
}

.form-submit-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* Facility & Building Photo */
.facility-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  height: 220px;
  position: relative;
  background: var(--dark);
}

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

.facility-card:hover img {
  transform: scale(1.03);
}

.facility-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 81, 50, 0.92);
  color: var(--white);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: var(--shadow-md);
}

/* Map Frame */
.map-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  height: 240px;
  position: relative;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--dark);
  color: var(--gray-400);
  padding: 4.5rem 0 2rem 0;
  border-top: 1px solid var(--dark-surface);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand img {
  height: 44px;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--gray-400);
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--gray-400);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 3px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
}

/* ==========================================================================
   FLOATING WHATSAPP CHAT WIDGET
   ========================================================================== */
.floating-wa-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.floating-wa-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--wa-green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
}

.floating-wa-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.55);
}

.floating-wa-btn svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.wa-online-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: #10b981;
  border: 2.5px solid var(--white);
  border-radius: 50%;
}

.floating-wa-popup {
  width: 320px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  margin-bottom: 14px;
  overflow: hidden;
  display: none;
  animation: popupSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--gray-200);
}

.floating-wa-popup.active {
  display: block;
}

@keyframes popupSlideIn {
  from { opacity: 0; transform: translateY(15px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.wa-popup-header {
  background: var(--primary);
  color: var(--white);
  padding: 1.25rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wa-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wa-header-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-header-avatar img {
  width: 100%;
  height: 100%;
}

.wa-header-text h5 {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.1;
}

.wa-header-text span {
  font-size: 0.75rem;
  opacity: 0.85;
}

.wa-popup-close {
  color: var(--white);
  font-size: 1.3rem;
  padding: 0.2rem;
  opacity: 0.8;
  cursor: pointer;
}

.wa-popup-close:hover {
  opacity: 1;
}

.wa-popup-body {
  padding: 1rem;
  background: #ece5dd;
  background-image: radial-gradient(#d3c6b8 1px, transparent 1px);
  background-size: 16px 16px;
  max-height: 260px;
  overflow-y: auto;
}

.wa-bubble {
  background: var(--white);
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border-top-left-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  font-size: 0.88rem;
  color: var(--dark);
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

.wa-quick-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wa-quick-btn {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-700);
  text-align: left;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wa-quick-btn:hover {
  border-color: var(--wa-green);
  color: var(--primary);
  background: #f7fee7;
}

.wa-popup-footer {
  padding: 0.75rem;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

/* ==========================================================================
   PWA INSTALL MODAL & OFFLINE BANNER
   ========================================================================== */
.pwa-install-banner {
  position: fixed;
  bottom: 95px;
  left: 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-xl);
  display: none;
  align-items: center;
  gap: 1rem;
  z-index: 9999;
  max-width: 380px;
  animation: popupSlideIn 0.3s ease;
}

.pwa-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.pwa-banner-text h5 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.15rem;
}

.pwa-banner-text p {
  font-size: 0.78rem;
  color: var(--gray-500);
}

.offline-alert {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #dc2626;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 0.4rem 1rem;
  z-index: 100000;
  display: none;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-title {
    font-size: 2.6rem;
  }
  .hero-image-wrapper img {
    height: 400px;
  }
  .stats-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mision-vision-grid {
    grid-template-columns: 1fr;
  }
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .nav-menu {
    position: fixed;
    top: 78px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-xl);
    border-bottom: 1px solid var(--gray-200);
    display: none;
    gap: 1.25rem;
  }
  .nav-menu.open {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.15rem;
  }
  .hero-lead {
    font-size: 1.05rem;
  }
  .hero-image-wrapper img {
    height: 320px;
  }
  .floating-stat-1 {
    left: 10px;
    bottom: 10px;
  }
  .floating-stat-2 {
    right: 10px;
    top: 10px;
  }
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  .audience-grid {
    grid-template-columns: 1fr;
  }
  .slider-track {
    height: 400px;
  }
  .slide-caption h3 {
    font-size: 1.5rem;
  }
  .slide-overlay {
    padding: 1.5rem;
  }
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .stats-card-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}
