/* ==========================================================================
   AGROCENTINELA ?" HIGH-CONVERTING AGTECH LANDING PAGE STYLESHEET
   Style: AgTech Premium / Technical Spec Sheet
   Mobile-First, Accessible (WCAG AA), Zero-Dependency Vanilla CSS
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. GOOGLE FONTS IMPORT
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:ital,wght@0,600;0,700;0,800;1,600;1,700&display=swap');

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & CSS VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --marine: #0B3C5D;
  --marine-dark: #072a42;
  --marine-light: #0d4a73;
  --cyan: #00B4D8;
  --cyan-light: #00C2E0;
  --cyan-glow: rgba(0, 180, 216, 0.15);
  --cyan-glow-strong: rgba(0, 180, 216, 0.35);
  --green: #2EC4B6;
  --green-dark: #25a89c;
  --whatsapp: #25D366;
  --whatsapp-dark: #1da851;
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --gray-bg: #F0F4F8;
  --gray-100: #E2E8F0;
  --gray-200: #CBD5E0;
  --text-dark: #1A202C;
  --text-mid: #4A5568;
  --text-muted: #718096;
  --text-light: #A0AEC0;

  /* Typography */
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Sizing & Spacing */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 9999px; /* pill */

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 8px 30px rgba(0, 180, 216, 0.25);
  --shadow-whatsapp: 0 8px 25px rgba(37, 211, 102, 0.35);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease;

  --nav-height: 72px;
  --section-padding: 60px 0;
  --container-max-width: 1200px;
}

@media (min-width: 1024px) {
  :root {
    --section-padding: 100px 0;
  }
}

/* --------------------------------------------------------------------------
   2. MODERN CSS RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*,
*::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);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
picture,
svg,
video {
  max-width: 100%;
  display: block;
}

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

ul,
ol {
  list-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Accessibility Focus Ring (WCAG AA) */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* Skip link for keyboard accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--marine);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 20px;
}

/* Screen reader only utility */
.sr-only,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. SHARED UTILITY & LAYOUT CLASSES
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  width: 100%;
}

.section {
  padding: var(--section-padding);
  position: relative;
}

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

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  margin-bottom: 16px;
  background-color: var(--cyan-glow);
  box-shadow: 0 1px 4px rgba(0, 180, 216, 0.1);
}

.section-label.light {
  border-color: rgba(0, 180, 216, 0.4);
  color: var(--cyan-light);
  background-color: rgba(0, 180, 216, 0.12);
}

.section-label.gold {
  border-color: #D4AF37;
  color: #D4AF37;
  background-color: rgba(212, 175, 55, 0.1);
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  text-align: center;
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.section-title.light {
  color: var(--white);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-mid);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.section-subtitle.light {
  color: rgba(255, 255, 255, 0.82);
}

/* Utility Color Helpers */
.text-cyan { color: var(--cyan); }
.text-cyan-light { color: var(--cyan-light); }
.text-marine { color: var(--marine); }
.text-green { color: var(--green); }
.text-whatsapp { color: var(--whatsapp); }
.text-white { color: var(--white); }
.text-mid { color: var(--text-mid); }
.text-muted { color: var(--text-muted); }

.bg-white { background-color: var(--white); }
.bg-off-white { background-color: var(--off-white); }
.bg-gray { background-color: var(--gray-bg); }
.bg-marine { background-color: var(--marine); }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* --------------------------------------------------------------------------
   4. NAVBAR
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background-color: transparent;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color var(--transition), box-shadow var(--transition), padding var(--transition);
}

/* Scrolled state: solid white background + shadow */
.navbar.scrolled,
.navbar.navbar-scrolled,
.navbar.nav-scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-container,
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
}

/* Logo Left */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 1002;
}

.nav-logo img,
.nav-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition);
}

.nav-logo:hover img,
.nav-logo:hover .nav-logo-img {
  transform: scale(1.03);
}

/* When navbar is transparent over dark hero, provide subtle backdrop or drop shadow */
.navbar:not(.scrolled) .nav-logo img,
.navbar:not(.scrolled) .nav-logo-img {
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.65));
}

.navbar.scrolled .nav-logo img,
.navbar.scrolled .nav-logo-img {
  filter: none;
}

/* Nav Links Center (Hidden Mobile, Shown Desktop) */
.nav-links {
  display: none;
}

.nav-links a {
  position: relative;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 0;
  color: var(--white);
  transition: color var(--transition);
}

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

.nav-links a:hover {
  color: var(--cyan);
}

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

.navbar.scrolled .nav-links a {
  color: var(--text-dark);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--cyan);
}

/* Nav Actions Right: CTA button + ICIVA badge + Hamburger */
.nav-actions,
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 1002;
}

/* ICIVA Badge */
.iciva-badge {
  display: none; /* hidden on small mobile, displayed at 640px+ */
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  transition: color var(--transition), opacity var(--transition);
}

.iciva-badge:hover {
  opacity: 1;
}

.iciva-badge img,
.iciva-badge-logo {
  height: 24px;
  width: auto;
  object-fit: contain;
}

.navbar.scrolled .iciva-badge {
  color: var(--text-mid);
}

/* Nav CTA Button */
.nav-cta,
.nav-cta button,
.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--green);
  color: var(--white);
  border: none;
  border-radius: var(--radius-xl);
  padding: 10px 22px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(46, 196, 182, 0.3);
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.nav-cta:hover,
.nav-cta button:hover,
.btn-nav:hover {
  background-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(46, 196, 182, 0.45);
}

/* Hamburger Icon (Mobile) */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1003;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), background-color var(--transition);
  transform-origin: center;
}

.navbar.scrolled .hamburger span {
  background-color: var(--marine);
}

/* Active Hamburger (X) */
.hamburger.active span:nth-child(1),
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: var(--marine);
}

.hamburger.active span:nth-child(2),
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3),
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: var(--marine);
}

/* Mobile Nav Dropdown */
@media (max-width: 1023px) {
  .nav-links {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 28px 24px 32px;
    box-shadow: var(--shadow-lg);
    border-bottom: 2px solid var(--gray-100);
    display: none;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity var(--transition), transform var(--transition);
  }

  .nav-links.active,
  .nav-links.open,
  .nav-links.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links a {
    color: var(--text-dark) !important;
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 16px;
    width: 100%;
    text-align: center;
  }

  .nav-links a:hover {
    color: var(--cyan) !important;
    background-color: var(--gray-bg);
    border-radius: var(--radius-sm);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links .mobile-iciva-badge {
    display: flex;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 640px) {
  .iciva-badge {
    display: inline-flex;
  }
}

/* Desktop Navbar Layout */
@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 0 auto;
  }

  .iciva-badge {
    display: inline-flex;
    margin-right: 8px;
  }
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  padding-top: calc(var(--nav-height) + 32px);
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--marine) 60%, var(--marine-dark) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Subtle tech-mesh background glow */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(circle at 85% 25%, rgba(0, 180, 216, 0.18) 0%, transparent 60%),
              radial-gradient(circle at 15% 85%, rgba(46, 196, 182, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid,
.hero .container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  z-index: 2;
}

/* Hero Left Content */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-badge,
.hero .section-label {
  background-color: var(--cyan);
  color: var(--white);
  border: none;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-xl);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 180, 216, 0.35);
}

.hero-title,
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-description,
.hero p.hero-subtitle,
.hero-content > p {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 580px;
}

/* Value Badges Grid: 2x2 mobile, 4x1 desktop */
.value-badges,
.hero-badges-grid,
.hero-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
  margin-bottom: 36px;
}

.value-badge,
.hero-badge-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform var(--transition), background-color var(--transition), border-color var(--transition);
}

.value-badge:hover,
.hero-badge-card:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.value-badge-icon,
.value-badge svg,
.value-badge i {
  color: var(--cyan);
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  stroke: var(--cyan);
}

.value-badge-text,
.value-badge span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

/* Dual CTA Row */
.hero-ctas,
.hero-actions,
.cta-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

/* Primary CTA (WhatsApp) */
.btn-hero-primary,
.btn-whatsapp-cta,
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--whatsapp);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--shadow-whatsapp);
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-hero-primary svg,
.btn-whatsapp-cta svg,
.btn-whatsapp svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

.btn-hero-primary:hover,
.btn-whatsapp-cta:hover,
.btn-whatsapp:hover {
  background-color: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.45);
}

/* Secondary CTA (Ghost/White Outline) */
.btn-hero-secondary,
.btn-outline-white,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--transition), border-color var(--transition), transform var(--transition);
}

.btn-hero-secondary:hover,
.btn-outline-white:hover,
.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* Hero Right: Product Image */
.hero-image,
.hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image img,
.hero-media img,
.hero-product-img {
  max-width: 100%;
  max-height: 440px;
  height: auto;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
  transition: transform 0.5s ease;
}

.hero-image:hover img,
.hero-media:hover img {
  transform: translateY(-4px) scale(1.02);
}

/* Hero Tablet & Desktop Breakpoints */
@media (min-width: 640px) {
  .hero-ctas,
  .hero-actions,
  .cta-row {
    flex-direction: row;
    align-items: center;
    width: auto;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: auto;
  }
}

@media (min-width: 1024px) {
  .hero {
    min-height: 100vh;
    padding-top: calc(var(--nav-height) + 24px);
    padding-bottom: 80px;
  }

  .hero-grid,
  .hero .container {
    display: grid;
    grid-template-columns: 55% 45%;
    align-items: center;
    gap: 48px;
  }

  .value-badges,
  .hero-badges-grid,
  .hero-features {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .hero-image img,
  .hero-media img,
  .hero-product-img {
    max-height: 600px;
    margin-bottom: -40px; /* Slight visual overflow below hero section */
  }
}

/* --------------------------------------------------------------------------
   6. PILLAR CARDS (3 COLUMNS)
   -------------------------------------------------------------------------- */
.pillars-section,
.features-section,
#pilares,
#pillars,
#caracteristicas {
  background-color: var(--white);
  padding: var(--section-padding);
}

.pillars-grid,
.pillar-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .pillars-grid,
  .pillar-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pillars-grid,
  .pillar-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar-card,
.card-pillar {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--cyan);
  border-left: 1px solid var(--gray-100);
  border-right: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}

.pillar-card:hover,
.card-pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--cyan-light);
}

.pillar-icon-wrapper,
.pillar-card .card-icon,
.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--cyan-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--cyan);
  flex-shrink: 0;
  transition: transform var(--transition), background-color var(--transition);
}

.pillar-icon-wrapper svg,
.pillar-card .card-icon svg,
.pillar-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--cyan);
  stroke-width: 2;
}

.pillar-card:hover .pillar-icon-wrapper,
.pillar-card:hover .card-icon,
.pillar-card:hover .pillar-icon {
  transform: scale(1.1);
  background-color: var(--cyan-glow-strong);
}

.pillar-title,
.pillar-card h3,
.pillar-card .card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.35;
}

.pillar-description,
.pillar-card p,
.pillar-card .card-description {
  color: var(--text-mid);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   7. SPECIES & CROPS
   -------------------------------------------------------------------------- */
.species-crops-section,
.species-section,
#especies,
#cultivos,
#especies-cultivos {
  background-color: var(--gray-bg);
  padding: var(--section-padding);
}

.sub-section {
  margin-bottom: 56px;
}

.sub-section:last-child {
  margin-bottom: 0;
}

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

.sub-section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 12px;
}

.sub-section-desc {
  font-size: 0.95rem;
  color: var(--text-mid);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* Species Cards Grid: 2-col mobile, 4-col desktop */
.species-grid,
.species-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 640px) {
  .species-grid,
  .species-cards {
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .species-grid,
  .species-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }
}

.species-card,
.card-species {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

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

/* Circle Avatar: 80px, bg var(--marine), centered Lucide bird icon in white */
.species-avatar,
.bird-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--marine);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(11, 60, 93, 0.22);
  transition: transform var(--transition), background-color var(--transition);
}

.species-avatar svg,
.species-avatar i,
.bird-avatar svg {
  width: 38px;
  height: 38px;
  stroke: var(--white);
  stroke-width: 2;
}

.species-card:hover .species-avatar,
.card-species:hover .bird-avatar {
  transform: scale(1.08);
  background-color: var(--marine-light);
}

.species-common,
.species-card .common-name,
.species-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 4px;
  line-height: 1.35;
}

.species-scientific,
.species-card .scientific-name {
  font-style: italic;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Crop Pills: Flex wrap, gap 12px */
.crop-pills,
.crops-list,
.crops-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.crop-pill,
.crop-tag,
.badge-crop {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 8px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: default;
}

.crop-pill svg,
.crop-tag svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.crop-pill:hover,
.crop-tag:hover,
.badge-crop:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 180, 216, 0.15);
}

/* --------------------------------------------------------------------------
   8. ROI SECTION
   -------------------------------------------------------------------------- */
.roi-section,
#roi,
#inversion,
#precios {
  background-color: var(--white);
  padding: var(--section-padding);
}

.roi-grid,
.roi-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 1024px) {
  .roi-grid,
  .roi-layout {
    display: grid;
    grid-template-columns: 40% 60%;
    align-items: center;
    gap: 56px;
  }
}

/* Stats Left Column (40%) */
.roi-stats,
.stats-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-item,
.roi-stat {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--gray-100);
}

.stat-item:last-child,
.roi-stat:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.stat-number,
.stat-value {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1.1;
  margin-bottom: 6px;
  display: block;
  letter-spacing: -0.02em;
}

.stat-label,
.stat-desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.5;
  display: block;
}

/* Pricing Cards Right Column (60%) */
.pricing-cards,
.pricing-column,
.roi-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pricing-card,
.roi-card {
  position: relative;
  background-color: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-100);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.pricing-card:hover,
.roi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Popular Card */
.pricing-card.popular,
.pricing-card.featured,
.roi-card.popular {
  border: 2px solid var(--cyan);
  background-color: var(--white);
  box-shadow: var(--shadow-md);
}

.popular-badge,
.badge-popular {
  position: absolute;
  top: 18px;
  right: 24px;
  background-color: var(--cyan);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-xl);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 2px 8px rgba(0, 180, 216, 0.35);
}

.pricing-icon,
.roi-card-icon {
  width: 40px;
  height: 40px;
  color: var(--marine);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.pricing-icon svg,
.pricing-icon i,
.roi-card-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--marine);
  stroke-width: 2;
}

.pricing-title,
.pricing-card h3,
.roi-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.pricing-desc,
.pricing-card p,
.roi-card p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. FIELD VALIDATION
   -------------------------------------------------------------------------- */
.validation-section,
.field-validation,
#validacion,
#field-validation {
  background-color: var(--marine);
  color: var(--white);
  padding: var(--section-padding);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle background accent */
.validation-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 180, 216, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.validation-section .container {
  position: relative;
  z-index: 2;
}

.validation-section .section-label {
  border-color: var(--cyan);
  color: var(--cyan-light);
  background-color: rgba(0, 180, 216, 0.12);
}

.validation-section .section-label.gold {
  border-color: #D4AF37;
  color: #F3E5AB;
  background-color: rgba(212, 175, 55, 0.15);
}

.validation-section .section-title {
  color: var(--white);
}

.validation-section .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

/* Highlight Card */
.highlight-card,
.validation-card {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 4px solid var(--cyan);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition), box-shadow var(--transition);
}

@media (min-width: 640px) {
  .highlight-card,
  .validation-card {
    padding: 40px;
  }
}

.highlight-card:hover,
.validation-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.highlight-card-title,
.highlight-card h3,
.validation-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.35;
}

.highlight-card-text,
.highlight-card p,
.validation-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

/* Validation CTA Button */
.btn-cyan,
.validation-cta,
.highlight-card .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--cyan);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 32px;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--shadow-glow);
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-cyan:hover,
.validation-cta:hover,
.highlight-card .btn:hover {
  background-color: var(--cyan-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 180, 216, 0.45);
}

/* --------------------------------------------------------------------------
   10. CONTACT / FOOTER SECTION
   -------------------------------------------------------------------------- */
.contact-section,
#contacto,
#contact {
  background-color: var(--gray-bg);
  padding: var(--section-padding);
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 1024px) {
  .contact-grid {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 40px;
    align-items: start;
  }
}

/* Form Left (60%) */
.contact-form-card,
.contact-form-wrapper,
.contact-form {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}

@media (min-width: 640px) {
  .contact-form-card,
  .contact-form-wrapper,
  .contact-form {
    padding: 40px 32px;
  }
}

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

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

@media (min-width: 640px) {
  .form-row,
  .form-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-input,
.form-control,
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 1rem;
  color: var(--text-dark);
  font-family: var(--font-body);
  transition: border-color var(--transition), box-shadow var(--transition);
  display: block;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-input::placeholder,
.form-control::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-light);
}

.form-input:focus,
.form-control:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-glow);
}

/* Submit Button: Full-width, bg var(--marine), white text, rounded-md, padding 16px, font-weight 700 */
.btn-submit,
.contact-form button[type="submit"] {
  width: 100%;
  background-color: var(--marine);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  padding: 16px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-submit:hover,
.contact-form button[type="submit"]:hover {
  background-color: var(--marine-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* WhatsApp Card Right (40%): bg white, rounded-lg, shadow, padding 32px, centered */
.whatsapp-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--gray-100);
}

/* Big WhatsApp icon (green) */
.whatsapp-card-icon,
.whatsapp-icon-large {
  width: 60px;
  height: 60px;
  color: var(--whatsapp);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-card-icon svg,
.whatsapp-icon-large svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.whatsapp-phone,
.whatsapp-number {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  display: block;
  text-decoration: none;
  transition: color var(--transition);
}

.whatsapp-phone:hover {
  color: var(--whatsapp-dark);
}

/* 'Chatea con nosotros' text */
.whatsapp-chat-text,
.whatsapp-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 20px;
}

/* QR placeholder: 160px square, border 2px dashed var(--gray-200), centered */
.qr-placeholder,
.whatsapp-qr {
  width: 160px;
  height: 160px;
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-md);
  margin: 0 auto 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--off-white);
  color: var(--text-muted);
  font-size: 0.8rem;
  gap: 8px;
  text-align: center;
  padding: 12px;
}

.qr-placeholder svg {
  width: 44px;
  height: 44px;
  stroke: var(--text-muted);
}

.btn-whatsapp-chat,
.whatsapp-card .btn-whatsapp {
  width: 100%;
  background-color: var(--whatsapp);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 24px;
  border-radius: var(--radius-xl);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-whatsapp-chat:hover,
.whatsapp-card .btn-whatsapp:hover {
  background-color: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

/* Footer Bar */
.footer-bar,
footer {
  background-color: var(--marine-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 24px 0;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container,
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-container,
  footer .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

.footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

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

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

/* --------------------------------------------------------------------------
   11. FLOATING WHATSAPP BUTTON (OPTIONAL HIGH-CONVERSION HELPER)
   -------------------------------------------------------------------------- */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--whatsapp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 990;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
  text-decoration: none;
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.floating-whatsapp:hover {
  background-color: var(--whatsapp-dark);
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

/* --------------------------------------------------------------------------
   12. ANIMATIONS & TRANSITIONS
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.4);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(0, 180, 216, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 180, 216, 0);
  }
}

/* Scroll reveal classes */
.fade-in-up,
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.fade-in-up.visible,
.animate-on-scroll.visible,
.visible .fade-in-up,
section.visible .fade-in-up {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Reduced motion accessibility (WCAG AA) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in-up,
  .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}


/* ==========================================================================
   13. PREMIUM UX/UI REFINEMENTS & CLASS MISMATCH FIXES
   Agrocentinela V3 High-Converting Landing Page Enhancements
   ========================================================================== */

/* --------------------------------------------------------------------------
   13.1 HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  min-height: 100vh;
  padding-top: calc(72px + 48px);
  padding-bottom: 80px;
  background: linear-gradient(135deg, #0B3C5D 60%, #072a42 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(circle at 85% 25%, rgba(0, 180, 216, 0.18) 0%, transparent 60%),
              radial-gradient(circle at 15% 85%, rgba(46, 196, 182, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.hero-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .hero-container {
    display: grid;
    grid-template-columns: 55% 45%;
    align-items: center;
    gap: 48px;
  }
}

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

.hero-image-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 180, 216, 0.3);
  max-width: 440px;
  margin: 0 auto;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-image-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}

@media (min-width: 1024px) {
  .hero-image-frame {
    max-width: 100%;
  }
}

.hero-image-frame img.hero-image {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #FFFFFF;
  padding: 16px 20px;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.caption-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25D366;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

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

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #00B4D8;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 9999px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(0, 180, 216, 0.35);
}

.badge-pill-icon {
  width: 16px;
  height: 16px;
  stroke: #FFFFFF;
  flex-shrink: 0;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 560px;
}

.badge-icon-box {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-icon-box svg,
.badge-icon-box [data-lucide],
.badge-icon-box i {
  width: 18px;
  height: 18px;
  stroke: #00B4D8;
}

.badge-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.3;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

@media (min-width: 640px) {
  .hero-cta-group {
    flex-direction: row;
    align-items: center;
    width: auto;
  }
}

/* --------------------------------------------------------------------------
   13.2 BUTTONS & ACTIONS
   -------------------------------------------------------------------------- */
.btn-primary-green {
  background: #2EC4B6;
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  padding: 14px 28px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-primary-green:hover {
  background: #25a89c;
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-hero {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: #0B3C5D;
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit:hover {
  background: #072a42;
  color: #FFFFFF;
}

.btn-accent-gold {
  background: #D4AF37;
  color: #FFFFFF;
  border-radius: 9999px;
  padding: 14px 32px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-accent-gold:hover {
  background: #c49f2f;
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-outline-marine {
  background: transparent;
  color: #0B3C5D;
  border: 2px solid #0B3C5D;
  border-radius: 9999px;
  padding: 14px 28px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-outline-marine:hover {
  background: rgba(11, 60, 93, 0.08);
}

.btn-secondary-white {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  border-radius: 9999px;
  padding: 14px 28px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-secondary-white:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

/* Accessible contrast for secondary button within white/light cards */
.pricing-card .btn-secondary-white {
  color: #0B3C5D;
  border-color: #0B3C5D;
}

.pricing-card .btn-secondary-white:hover {
  background: rgba(11, 60, 93, 0.08);
  color: #0B3C5D;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.icon-svg-whatsapp {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.icon-svg-whatsapp-large {
  width: 40px;
  height: 40px;
  fill: currentColor;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   13.3 NAVBAR & BRANDING
   -------------------------------------------------------------------------- */
.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 1002;
}

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

.nav-left {
  display: flex;
  align-items: center;
}

.nav-partner {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
}

@media (min-width: 640px) {
  .nav-partner {
    display: flex;
  }
}

.navbar.scrolled .nav-partner {
  color: #4A5568;
}

.nav-partner-text {
  white-space: nowrap;
}

.partner-logo {
  height: 24px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.navbar.scrolled .partner-logo {
  filter: none;
}

.partner-link {
  display: flex;
  align-items: center;
}

.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1003;
  padding: 0;
}

.mobile-menu-toggle svg,
.mobile-menu-toggle i {
  width: 24px;
  height: 24px;
  stroke: #FFFFFF;
  stroke-width: 2;
  transition: all 0.3s;
}

.navbar.scrolled .mobile-menu-toggle svg,
.navbar.scrolled .mobile-menu-toggle i {
  stroke: #0B3C5D;
}

.mobile-menu-toggle .icon-menu {
  display: block;
}

.mobile-menu-toggle .icon-close {
  display: none;
}

.mobile-menu-toggle.active .icon-menu {
  display: none;
}

.mobile-menu-toggle.active .icon-close {
  display: block;
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   13.4 MOBILE NAV DRAWER & OVERLAY
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .btn-nav,
  .nav-cta,
  .nav-right .btn-nav {
    display: none !important;
  }
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 42, 66, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 998;
}

body.menu-open .mobile-nav-backdrop {
  opacity: 1;
  visibility: visible;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .navbar {
  background-color: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

body.menu-open .mobile-menu-toggle svg,
body.menu-open .mobile-menu-toggle i {
  stroke: var(--marine) !important;
}

body.menu-open .navbar:not(.scrolled) .nav-brand img,
body.menu-open .navbar:not(.scrolled) .brand-logo {
  filter: none !important;
}

.mobile-nav {
  position: fixed;
  top: var(--nav-height, 72px);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.25s ease, 
              visibility 0.25s ease,
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(-8px);
  z-index: 999;
  box-shadow: 0 20px 40px -10px rgba(11, 60, 93, 0.18);
  border-bottom: 1px solid rgba(0, 180, 216, 0.15);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.mobile-nav.open {
  max-height: calc(100vh - var(--nav-height, 72px) - 20px);
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-content {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 18px 20px 24px;
  box-sizing: border-box;
}

.mobile-nav-links {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  width: 100% !important;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  text-decoration: none;
  background: rgba(240, 244, 248, 0.6);
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.mobile-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 180, 216, 0.1);
  color: var(--cyan);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.mobile-nav-icon i,
.mobile-nav-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--cyan);
  transition: stroke 0.2s ease;
}

.mobile-nav-text {
  flex-grow: 1;
  letter-spacing: 0.01em;
}

.mobile-nav-arrow {
  width: 18px;
  height: 18px;
  color: var(--text-light);
  stroke: var(--text-light);
  transition: transform 0.2s ease, stroke 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  background: rgba(0, 180, 216, 0.08);
  border-color: rgba(0, 180, 216, 0.25);
  color: var(--marine);
  transform: translateX(3px);
}

.mobile-nav-link:hover .mobile-nav-icon,
.mobile-nav-link:active .mobile-nav-icon {
  background: var(--cyan);
  color: #fff;
}

.mobile-nav-link:hover .mobile-nav-icon svg,
.mobile-nav-link:active .mobile-nav-icon svg {
  stroke: #fff;
}

.mobile-nav-link:hover .mobile-nav-arrow,
.mobile-nav-link:active .mobile-nav-arrow {
  color: var(--cyan);
  stroke: var(--cyan);
  transform: translateX(3px);
}

@media (min-width: 1024px) {
  .mobile-nav,
  .mobile-nav-backdrop {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   13.5 SECTION BACKGROUNDS
   -------------------------------------------------------------------------- */
.section-pillars {
  background: #FFFFFF;
}

.section-cultivos {
  background: #F0F4F8;
}

.section-roi {
  background: #FFFFFF;
}

.section-validation {
  background: linear-gradient(135deg, #0B3C5D 0%, #072a42 100%);
}

.section-contacto {
  background: #F0F4F8;
}

/* --------------------------------------------------------------------------
   13.6 PILLAR CARDS ENHANCEMENTS
   -------------------------------------------------------------------------- */
.pillar-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pillar-icon-box svg,
.pillar-icon-box [data-lucide],
.pillar-icon-box i {
  width: 28px;
  height: 28px;
  stroke: #00B4D8;
  stroke-width: 2;
}

.pillar-desc {
  color: #4A5568;
  line-height: 1.7;
  font-size: 0.95rem;
}

.pillar-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #E2E8F0;
}

.pillar-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #4A5568;
  line-height: 1.5;
}

.feature-icon {
  width: 16px;
  height: 16px;
  stroke: #00B4D8;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   13.7 SPECIES & CROPS
   -------------------------------------------------------------------------- */
.species-block {
  margin-bottom: 64px;
}

.crops-block {
  /* Inherits standard layout */
}

.species-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.crops-badges-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.crop-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   13.8 ROI SECTION
   -------------------------------------------------------------------------- */
.roi-stats-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.roi-models-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.roi-stat-card {
  background: #F8F9FA;
  border-radius: 16px;
  padding: 28px;
  border-left: 4px solid #00B4D8;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.roi-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.stat-number-wrapper {
  flex-shrink: 0;
}

.stat-number {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: #00B4D8;
  line-height: 1;
}

.stat-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1A202C;
  margin-bottom: 4px;
  display: block;
}

.stat-description {
  font-size: 0.85rem;
  color: #718096;
  line-height: 1.5;
}

.pricing-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 32px;
  position: relative;
  transition: all 0.3s;
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card-highlight {
  border: 2px solid #00B4D8;
  box-shadow: 0 4px 20px rgba(0, 180, 216, 0.15);
}

.pricing-card-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: #00B4D8;
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0, 180, 216, 0.35);
}

.pricing-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.pricing-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pricing-icon-box svg,
.pricing-icon-box [data-lucide],
.pricing-icon-box i {
  width: 22px;
  height: 22px;
  stroke: #0B3C5D;
}

.pricing-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #1A202C;
}

.pricing-sub {
  font-size: 0.82rem;
  color: #718096;
  display: block;
  margin-top: 2px;
}

.pricing-desc {
  font-size: 0.92rem;
  color: #4A5568;
  line-height: 1.7;
  margin-bottom: 20px;
}

.pricing-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #4A5568;
}

/* --------------------------------------------------------------------------
   13.9 VALIDATION SECTION
   -------------------------------------------------------------------------- */
.validation-content {
  text-align: center;
}

.validation-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #FFFFFF;
  margin-bottom: 16px;
  line-height: 1.2;
}

.validation-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.section-label-light {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(0, 180, 216, 0.5);
  color: #00C2E0;
  background: rgba(0, 180, 216, 0.12);
  margin-bottom: 16px;
}

.alliance-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 4px solid #00B4D8;
  border-radius: 16px;
  padding: 40px;
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.alliance-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.alliance-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.alliance-icon svg,
.alliance-icon [data-lucide],
.alliance-icon i {
  width: 22px;
  height: 22px;
  stroke: #00C2E0;
}

.alliance-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #FFFFFF;
}

.alliance-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
  margin-bottom: 24px;
}

.alliance-cta-wrap {
  display: flex;
  justify-content: flex-start;
}

/* --------------------------------------------------------------------------
   13.10 CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 1024px) {
  .contact-grid {
    display: grid;
    grid-template-columns: 58% 42%;
    gap: 48px;
    align-items: start;
  }
}

.contact-form-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #E2E8F0;
}

.contact-card-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #1A202C;
  margin-bottom: 8px;
}

.contact-card-subtitle {
  font-size: 0.9rem;
  color: #718096;
  margin-bottom: 28px;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #4A5568;
}

.required {
  color: #E53E3E;
  margin-left: 2px;
}

.input-wrapper {
  position: relative;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  font-size: 1rem;
  color: #1A202C;
  background: #FFFFFF;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.form-input:focus {
  outline: none;
  border-color: #00B4D8;
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

.contact-direct-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid #E2E8F0;
}

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

.whatsapp-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #25D366;
}

.direct-tag {
  display: inline-block;
  background: rgba(37, 211, 102, 0.12);
  color: #1da851;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 4px;
}

.direct-phone-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: #1A202C;
  line-height: 1;
}

.direct-desc {
  font-size: 0.9rem;
  color: #718096;
  line-height: 1.65;
}

.qr-code-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: #F8F9FA;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
}

.qr-code-box {
  width: 100px;
  height: 100px;
  border: 2px dashed #CBD5E0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: #FFFFFF;
}

.qr-code-box svg,
.qr-code-box [data-lucide],
.qr-code-box i {
  width: 48px;
  height: 48px;
  stroke: #A0AEC0;
}

.qr-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00B4D8, transparent);
  animation: scanLine 2s ease-in-out infinite;
}

@keyframes scanLine {
  0% {
    top: 0;
  }
  100% {
    top: 100%;
  }
}

.qr-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.qr-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #1A202C;
}

.qr-subtitle {
  font-size: 0.8rem;
  color: #718096;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   13.11 FOOTER
   -------------------------------------------------------------------------- */
.footer-bar {
  background: #072a42;
  padding: 28px 0;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

.footer-col {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-left p {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.footer-left a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-left a:hover {
  color: #00B4D8;
}

.footer-domain {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s ease;
}

.footer-domain:hover {
  color: #00B4D8;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-right {
    justify-content: flex-end;
  }
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s ease;
}

.footer-contact-link:hover {
  color: #00B4D8;
}

.footer-inline-icon {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  flex-shrink: 0;
}

.footer-separator {
  color: rgba(255, 255, 255, 0.3);
}

/* --------------------------------------------------------------------------
   13.12 FLOATING WHATSAPP
   -------------------------------------------------------------------------- */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  transition: all 0.3s;
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

.floating-whatsapp-icon {
  width: 28px;
  height: 28px;
  fill: #FFFFFF;
}

.floating-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  background: rgba(0, 0, 0, 0.85);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.25s;
  pointer-events: none;
}

.floating-whatsapp:hover .floating-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.floating-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 16px;
  border: 6px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.85);
}

/* --------------------------------------------------------------------------
   13.13 SCROLL REVEAL ANIMATION
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   LOGO BLANCO EN NAVBAR (fondo azul) + CARD WHATSAPP CENTRADA
   ============================================================ */

/* Logo blanco cuando navbar está sobre hero azul (no scrolled) */
.navbar:not(.scrolled) .brand-logo {
  filter: brightness(0) invert(1);
}

/* Logo original cuando navbar tiene fondo blanco (scrolled) */
.navbar.scrolled .brand-logo {
  filter: none;
}

/* Contacto: card WhatsApp centrada sin grid */
.contact-whatsapp-center {
  display: flex;
  justify-content: center;
}

.contact-whatsapp-center .contact-direct-card {
  max-width: 520px;
  width: 100%;
}

/* Logo más grande en navbar */
.brand-logo { height: 56px !important; }

/* =====================================================
   WA CARD — Mobile-optimized WhatsApp contact card
   ===================================================== */

.contact-whatsapp-center {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.wa-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.10), 0 2px 8px rgba(37, 211, 102, 0.08);
  padding: 36px 28px 28px;
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  border: 1px solid rgba(37, 211, 102, 0.15);
  position: relative;
  overflow: hidden;
}

/* Franja de color superior */
.wa-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, #25D366, #1da851);
  border-radius: 24px 24px 0 0;
}

/* Icono central */
.wa-card-icon-wrap {
  margin-bottom: 20px;
}

.wa-card-icon-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #1da851 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.wa-card-icon-ring svg {
  width: 46px;
  height: 46px;
  fill: #ffffff;
}

/* Body */
.wa-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
}

.wa-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 211, 102, 0.10);
  color: #1da851;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 4px;
}

.wa-card-tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25D366;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.wa-card-title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 4vw, 1.55rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin: 0;
}

.wa-card-phone {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 800;
  color: #25D366;
  letter-spacing: -0.02em;
  margin: 4px 0 0;
}

.wa-card-desc {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.6;
  max-width: 340px;
  margin: 8px 0 0;
}

/* Trust badges */
.wa-trust-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  width: 100%;
}

.wa-trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: 9999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-mid);
  white-space: nowrap;
}

.wa-trust-icon {
  width: 14px;
  height: 14px;
  stroke: #25D366;
  stroke-width: 2;
  flex-shrink: 0;
}

/* CTA Button */
.wa-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 17px 28px;
  background: linear-gradient(135deg, #25D366 0%, #1da851 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.40);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}

.wa-card-btn svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
  flex-shrink: 0;
}

.wa-card-btn:hover,
.wa-card-btn:active {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.50);
}

.wa-card-btn:active {
  transform: translateY(0);
}

/* Nota inferior */
.wa-card-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

/* === Responsive tweaks === */
@media (max-width: 480px) {
  .wa-card {
    padding: 28px 20px 22px;
    border-radius: 20px;
  }

  .wa-card-icon-ring {
    width: 76px;
    height: 76px;
  }

  .wa-card-icon-ring svg {
    width: 40px;
    height: 40px;
  }

  .wa-trust-row {
    gap: 6px;
  }

  .wa-trust-item {
    font-size: 0.72rem;
    padding: 5px 10px;
  }

  .wa-card-btn {
    padding: 15px 20px;
    font-size: 1rem;
    border-radius: 12px;
  }
}
