/* ==========================================================================
   AGROINTEGRA - Design System & Modern Stylesheet
   Palette: Light & Natural Organic Tones
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;700;800&family=IBM+Plex+Mono:ital,wght@0,400;0,600;1,400&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Design Tokens - Tunnel Innova México Brand Palette */
  --paper: #FBFAF6;
  --paper-2: #F1F5EC;
  
  /* Brand Green (from logo #039B34) */
  --leaf: #039B34;
  --leaf-dark: #004D07;
  --leaf-pale: #E7F4EA;
  
  /* Brand Orange Accent (from logo #F07D14) */
  --gold: #F07D14;
  --gold-hover: #D96D0C;
  --gold-light: #FFF4EA;

  /* Neutral Text & Slogan Gray (#858585) */
  --ink: #1F2820;
  --ink-soft: #525D54;
  --slogan-gray: #858585;
  --line: #E1E6DC;
  --white: #FFFFFF;

  /* Elevation Shadows */
  --shadow-sm: 0 2px 8px rgba(3, 155, 52, 0.05);
  --shadow-md: 0 8px 24px rgba(3, 155, 52, 0.08);
  --shadow-lg: 0 16px 36px rgba(3, 155, 52, 0.12);
  --shadow-gold: 0 8px 20px rgba(240, 125, 20, 0.28);

  /* Typography */
  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* Layout Constants */
  --max-width: 1240px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

/* Base Typography Classes */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--leaf-dark);
  line-height: 1.15;
  font-weight: 700;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--leaf-pale);
  color: var(--leaf);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--leaf);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 680px;
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
  white-space: nowrap;
}

.btn-gold {
  background-color: var(--gold);
  color: var(--leaf-dark);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background-color: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(227, 167, 60, 0.38);
}

.btn-outline-leaf {
  background-color: transparent;
  color: var(--leaf-dark);
  border: 2px solid var(--leaf);
}

.btn-outline-leaf:hover {
  background-color: var(--leaf);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn-leaf:hover {
  background-color: var(--leaf-dark);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* Header & Sticky Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(251, 250, 246, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
}

.header.scrolled {
  background-color: rgba(251, 250, 246, 0.96);
  box-shadow: var(--shadow-sm);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  color: var(--ink);
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--leaf);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--leaf);
  transition: var(--transition);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.phone-quicklink {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--leaf-dark);
  background: var(--leaf-pale);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.phone-quicklink:hover {
  background: var(--leaf);
  color: var(--white);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--leaf-dark);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  background-color: var(--paper-2);
  position: relative;
  overflow: hidden;
}

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

.hero-content h1 {
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  color: var(--leaf-dark);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--ink-soft);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--leaf);
}

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

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-card {
  position: relative;
  background: var(--white);
  padding: 16px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  width: 100%;
}

.hero-image-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.hero-badge {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--leaf-pale);
  color: var(--leaf);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.hero-badge-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--leaf-dark);
}

.hero-badge-text span {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* Barra de Confianza (Trust Bar) */
.trust-bar {
  background-color: var(--leaf-pale);
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  color: var(--leaf);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.trust-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--leaf-dark);
  line-height: 1.3;
}

/* Quiénes Somos Section */
.about-section {
  padding: 100px 0;
  background-color: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
  line-height: 1.7;
}

.placeholder-tag {
  background-color: rgba(227, 167, 60, 0.15);
  border-bottom: 2px dashed var(--gold);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
  color: var(--leaf-dark);
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-bullet-card {
  background-color: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
}

.about-bullet-card:hover {
  transform: translateX(6px);
  border-color: var(--leaf);
  box-shadow: var(--shadow-md);
}

.bullet-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--leaf-pale);
  color: var(--leaf);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.bullet-content h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  font-family: var(--font-body);
}

.bullet-content p {
  font-size: 0.925rem;
  color: var(--ink-soft);
}

/* Barra de Catálogo (Category Nav Pills) */
.catalog-bar {
  background-color: var(--paper-2);
  padding: 24px 0 20px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 80px;
  z-index: 900;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 90px;
}

.catalog-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--leaf-dark);
  cursor: pointer;
  transition: var(--transition);
}

.pill-btn:hover, .pill-btn.active {
  background-color: var(--leaf);
  color: var(--white);
  border-color: var(--leaf);
  box-shadow: var(--shadow-sm);
}

/* Scroll Offset Fix for Fixed Header + Sticky Catalog Bar */
.product-section,
.cert-section {
  scroll-margin-top: 185px;
}

.about-section,
.contact-section,
.workflow-section {
  scroll-margin-top: 115px;
}


/* Product Line Sections */
.product-section {
  padding: 90px 0;
  border-bottom: 1px solid var(--line);
}

.product-section:nth-child(even) {
  background-color: var(--paper);
}

.product-section:nth-child(odd) {
  background-color: var(--paper-2);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.product-grid.reverse {
  grid-template-areas: "img content";
}

.product-image-box {
  position: relative;
  background: var(--white);
  padding: 16px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  overflow: hidden;
}

.product-image-box img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform 0.5s ease;
}

.product-image-box:hover img {
  transform: scale(1.03);
}

.product-tag {
  position: absolute;
  top: 28px;
  right: 28px;
  background: var(--leaf-dark);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.product-info h3 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.product-info .product-code {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--leaf);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 16px;
  background: var(--leaf-pale);
  padding: 4px 12px;
  border-radius: 6px;
}

.product-info .product-desc {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
  line-height: 1.65;
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.925rem;
}

.feature-item i {
  color: var(--leaf);
  font-size: 1rem;
  margin-top: 3px;
}

.feature-item strong {
  color: var(--leaf-dark);
}

/* Technical Specs Box (IBM Plex Mono) */
.tech-specs-box {
  background-color: var(--leaf-pale);
  border-left: 4px solid var(--leaf);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 28px;
}

.tech-specs-header {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--leaf);
  margin-bottom: 6px;
  font-weight: 600;
}

.tech-specs-content {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--leaf-dark);
  font-weight: 500;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Respaldo / Fabricante PQA Section */
.cert-section {
  background-color: var(--leaf-pale);
  padding: 80px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pqa-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pqa-stat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--paper-2);
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  transition: var(--transition);
}

.pqa-stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--leaf);
  box-shadow: var(--shadow-sm);
}

.pqa-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.pqa-stat-card strong {
  display: block;
  font-size: 0.95rem;
  color: var(--leaf-dark);
}

.pqa-stat-card span {
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.3;
  display: block;
}

.cert-card {
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.cert-content h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.cert-content p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
  line-height: 1.7;
}

.cert-guarantee-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background-color: var(--leaf-pale);
  border: 1px solid var(--line);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-top: 16px;
}

.cert-guarantee-box i {
  color: var(--leaf);
  font-size: 1.25rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.cert-guarantee-box strong {
  display: block;
  font-size: 0.95rem;
  color: var(--leaf-dark);
}

.cert-guarantee-box span {
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.cert-badges {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--paper-2);
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.cert-badge-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  transition: var(--transition);
}

.cert-badge-item:hover {
  transform: translateX(4px);
  border-color: var(--leaf);
  box-shadow: var(--shadow-sm);
}

.cert-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--leaf-pale);
  color: var(--leaf);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.cert-badge-text h4 {
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--leaf-dark);
}

.cert-badge-text p {
  font-size: 0.825rem;
  color: var(--ink-soft);
  margin: 0;
}

/* Cómo Trabajamos (Dark Section Contrast) */
.workflow-section {
  background-color: var(--leaf-dark);
  color: var(--white);
  padding: 100px 0;
  position: relative;
}

.workflow-section .section-title {
  color: var(--white);
  text-align: center;
}

.workflow-section .section-desc {
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  margin: 0 auto 60px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.step-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 32px 24px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  position: relative;
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-6px);
  border-color: var(--gold);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 12px;
  font-family: var(--font-body);
}

.step-card p {
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

/* Contacto Section & Interactive Quote Form */
.contact-section {
  padding: 100px 0;
  background-color: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-card {
  background-color: var(--leaf-pale);
  padding: 44px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

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

.contact-card p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 32px;
}

.phone-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.phone-card-option {
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  transition: var(--transition);
}

.phone-card-option:hover {
  border-color: var(--leaf);
  box-shadow: var(--shadow-sm);
}

.phone-number-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--leaf-dark);
}

.phone-number-info i {
  color: var(--leaf);
}

.phone-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.phone-item i {
  color: var(--leaf);
}

.quote-calculator {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.quote-calculator h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.quote-calculator p {
  font-size: 0.925rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--leaf-dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background-color: var(--paper);
  color: var(--ink);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--leaf);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(62, 124, 62, 0.15);
}

/* Footer */
.footer {
  background-color: var(--leaf-dark);
  color: var(--white);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 60px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  max-width: 400px;
  line-height: 1.6;
}

.footer-links h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Modal for PDF Preview */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(31, 61, 34, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--white);
  width: 90%;
  max-width: 900px;
  height: 85vh;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  padding: 18px 24px;
  background: var(--leaf-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.1rem;
  color: var(--white);
  font-family: var(--font-body);
}

.modal-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-body {
  flex: 1;
  background: #525659;
}

.modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-grid, .about-grid, .product-grid, .cert-card, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-grid.reverse {
    grid-template-areas: none;
  }

  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-badge {
    left: 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pqa-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hero-ctas {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .pqa-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* 13. Selector de Necesidad ("¿Qué necesitas proteger?") */
.necessity-section {
  background-color: var(--paper);
  padding: 70px 0;
  border-bottom: 1px solid var(--line);
}

.necessity-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.necessity-card {
  background: var(--white);
  padding: 24px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  transition: var(--transition);
}

.necessity-card:hover {
  transform: translateY(-4px);
  border-color: var(--leaf);
  box-shadow: var(--shadow-md);
}

.necessity-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--leaf-pale);
  color: var(--leaf);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.necessity-card h4 {
  font-size: 1.05rem;
  margin: 0;
  color: var(--leaf-dark);
}

.necessity-card span {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.3;
}

/* 14. Red Operativa PQA (4 Nodos: Zamora, Mazatlán, Manizales, Quito) */
.pqa-network-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.pqa-network-card {
  background: var(--paper-2);
  padding: 22px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  position: relative;
  transition: var(--transition);
}

.pqa-network-card:hover {
  border-color: var(--leaf);
  box-shadow: var(--shadow-sm);
}

.pqa-network-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.pqa-network-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.pqa-network-card h4 {
  font-size: 1.05rem;
  color: var(--leaf-dark);
  margin: 0;
}

.pqa-network-card p {
  font-size: 0.875rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.4;
}

/* 15. FAQ Accordion Section */
.faq-section {
  background-color: var(--paper-2);
  padding: 80px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.faq-accordion {
  max-width: 860px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--leaf-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 24px 20px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--leaf);
}

@media (max-width: 992px) {
  .necessity-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pqa-network-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .necessity-grid {
    grid-template-columns: 1fr;
  }

  .pqa-network-grid {
    grid-template-columns: 1fr;
  }
}
