/**
 * Fertilana — fuentes y colores (estética Ariel Saenz)
 * Menú oscuro, hero con noticias, tema coherente
 *
 * v5: consolida en un solo archivo el CSS que antes vivía repetido (y a veces
 * en conflicto) en los <style> inline de menu.php, footer.php y varias
 * páginas de contenido. Ver sección "Componentes compartidos" y "Menú" /
 * "Footer" más abajo.
 */

:root {
  /* Paleta Fertilana */
  --fertilana-primary: #4a7c23;
  --fertilana-primary-dark: #3d6a1d;
  --fertilana-primary-light: #6b9e3a;
  --fertilana-dark: #2d5016;
  --fertilana-bg: #f7f9f5;
  --fertilana-bg-section: #f8f9fa;
  --fertilana-text: #2c2c2c;
  --fertilana-text-muted: #555;
  --fertilana-white: #fff;
  --fertilana-overlay: rgba(0, 0, 0, 0.45);
  /* Tema oscuro — marrón #5c2e23 con transparencias */
  --fertilana-dark-bg: #1a1a1a;
  --fertilana-brown: #5c2e23;
  --fertilana-dark-nav: rgba(92, 46, 35, 0.95);
  --fertilana-pill-bg: rgba(92, 46, 35, 0.9);
  --fertilana-card-bg: rgba(92, 46, 35, 0.92);
  --fertilana-subfooter-bg: rgba(92, 46, 35, 0.55);
}

/* Tipografía global — tamaño base aumentado para mejor legibilidad */
html {
  font-size: 17px !important;
}

body.layout-fluid.dark.home-page,
body.home,
body {
  font-family: 'DM Sans', 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--fertilana-text);
  background-color: var(--fertilana-bg);
  font-size: 21px;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6,
.hero-title,
.block-title-center h2,
.pilar-title {
  font-family: 'DM Sans', 'Nunito', sans-serif;
  font-weight: 700;
  color: var(--fertilana-text);
  line-height: 1.3;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.2rem; }
h6 { font-size: 1.1rem; }

p, .lead { line-height: 1.75; }
.lead { font-size: 1.35rem; }

/* ========== Menú oscuro estilo Ariel Saenz ========== */
.header-fertilana-dark.navbar-default {
  background-color: var(--fertilana-dark-nav);
  border-bottom: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.header-fertilana-dark .navbar-brand img,
.header-fertilana-dark .logo-fertilana {
  max-height: 140px;
  width: auto;
}

.header-fertilana-dark .navbar-nav.navbar-left > li > a {
  color: var(--fertilana-white);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 5px 12px;
  margin-left: 5px;
  font-size: 16px;
}

.header-fertilana-dark .navbar-nav.navbar-left > li > a:hover,
.header-fertilana-dark .navbar-nav.navbar-left > li > a:focus {
  color: rgba(255, 255, 255, 0.9);
  background-color: transparent;
}

/* Espacio entre links izquierdos y botones pill (estilo Ariel Saenz) */
.header-fertilana-dark .nav-ctas {
  margin-left: 24px;
  flex-shrink: 0;
}

.header-fertilana-dark .nav-ctas > li {
  margin-left: 10px;
}

.header-fertilana-dark .nav-ctas > li:first-child {
  margin-left: 0;
}

.header-fertilana-dark .btn-nav-pill {
  display: inline-block;
  padding: 11px 24px;
  margin: 0;
  white-space: nowrap;
  background-color: var(--fertilana-pill-bg);
  color: var(--fertilana-white) !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  transition: background-color 0.2s;
}

.header-fertilana-dark .btn-nav-pill:hover {
  background-color: rgba(92, 46, 35, 0.98);
  color: var(--fertilana-white) !important;
}

.header-fertilana-dark .navbar-toggle .icon-bar {
  background-color: var(--fertilana-white);
}

.header-fertilana-dark .container-header {
  padding-left: 20px;
  padding-right: 20px;
}

/* Dropdown moderno (menú "Sobre nosotros" / "Materiales") */
.dropdown-modern .dropdown-menu-modern {
  min-width: 240px;
  padding: 0.5rem 0;
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  margin-top: 8px;
  background: #fff;
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.dropdown-modern.open .dropdown-menu-modern {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item-modern {
  margin: 0;
}

.dropdown-item-modern > a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  font-weight: 500;
}

.dropdown-item-modern > a:hover {
  background-color: #f0f9f4;
  color: #4a7c23;
}

.dropdown-icon-left {
  width: 18px;
  color: #4a7c23;
  font-size: 1rem;
  flex-shrink: 0;
  text-align: center;
}

.dropdown-item-special .dropdown-icon-left {
  color: #666;
}

.dropdown-item-special > a:hover .dropdown-icon-left {
  color: #333;
}

.divider-modern {
  height: 1px;
  margin: 0.5rem 0;
  background: #e8e8e8;
  border: none;
}

@media (max-width: 767px) {
  .dropdown-menu-modern {
    min-width: 100%;
    border-radius: 8px;
    margin-top: 4px;
  }
  .dropdown-item-modern > a {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  .dropdown-icon-left {
    font-size: 0.95rem;
  }
}

/* Iconos sociales en navbar */
.nav-social-sep {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  margin: 8px 6px;
  padding: 0 !important;
}
.nav-social-item > a.nav-social-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 18px;
  padding: 14px 7px !important;
  transition: color 0.2s;
}
.nav-social-item > a.nav-social-link:hover {
  color: #fff !important;
  background: transparent !important;
}
.nav-social-item > a.nav-social-wa {
  color: #25d366 !important;
}
.nav-social-item > a.nav-social-wa:hover {
  color: #1ebe5d !important;
}

/* Hero estático (fallback sin slider): imagen de fondo y overlay centrado */
.hero-static {
  position: relative;
  background-image: url('../images/DSC_0060.JPG');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Hero con un solo banner (elegido al azar): imagen en .hero-bg, no en .hero-static */
.hero-static.hero-single-banner {
  background-image: none;
}
.hero-single-banner .hero-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-static .hero-overlay {
  min-height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.hero-static .hero-overlay {
  background: var(--fertilana-overlay);
}

/* Hero grid estilo Ariel Saenz: izquierda texto + CTAs, derecha noticias */
.hero-overlay-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 100px;
}

.hero-row {
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-col-left .hero-content {
  text-align: left;
  max-width: 100%;
}

.hero-title {
  color: var(--fertilana-white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 1rem;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-hero-pill {
  display: inline-block;
  padding: 14px 28px;
  background-color: var(--fertilana-pill-bg);
  color: var(--fertilana-white) !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.2s;
}

.btn-hero-pill:hover {
  background-color: rgba(92, 46, 35, 0.98);
  color: var(--fertilana-white) !important;
  transform: translateY(-1px);
}

.btn-hero {
  background-color: var(--fertilana-white);
  color: var(--fertilana-primary) !important;
  font-weight: 600;
}

.btn-hero:hover {
  background-color: var(--fertilana-white);
  color: var(--fertilana-primary-dark) !important;
}

/* Bloque Noticias/Consejos en el hero (card oscura) */
.hero-news-block {
  background: var(--fertilana-card-bg);
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(8px);
  max-width: 420px;
  margin-left: auto;
}

.hero-news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-news-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fertilana-white);
  margin: 0;
  letter-spacing: 0.05em;
}

.hero-news-title i {
  margin-right: 8px;
  opacity: 0.9;
}

.hero-news-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.hero-news-link:hover {
  color: var(--fertilana-white);
}

/* Contenedor consejos: visible aunque Owl tarde en inicializar */
#hero-news-carousel {
  min-height: 80px;
  opacity: 1;
}

.hero-news-card {
  background: transparent;
  border-radius: 8px;
  overflow: hidden;
}

.hero-news-card-inner {
  padding: 4px 0;
}

.hero-news-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fertilana-white);
  margin: 0 0 10px 0;
  line-height: 1.35;
}

.hero-news-card-snippet {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
  margin: 0;
}

.hero-news-empty {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-news-empty-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  margin: 0;
}

.hero-news-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
}

.hero-news-prev,
.hero-news-next {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--fertilana-white);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.hero-news-prev:hover,
.hero-news-next:hover {
  background: rgba(92, 46, 35, 0.6);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Owl carousel dentro del hero: ocultar nav por defecto, usar nuestros botones */
#hero-news-carousel.owl-carousel .owl-dots {
  margin-top: 8px;
}

#hero-news-carousel.owl-carousel .owl-dot span {
  background: rgba(255, 255, 255, 0.4);
  width: 8px;
  height: 8px;
}

#hero-news-carousel.owl-carousel .owl-dot.active span {
  background: var(--fertilana-primary);
}

/* Hero: altura fija 100vh, banner llena el área, barra abajo superpuesta */
.hero-fertilana {
  position: relative;
  height: 100vh;
  overflow: hidden;
  padding-bottom: 0;
}

/* Banner o hero estático llenan todo el hero (sin flex) */
.hero-fertilana > .flexslider,
.hero-fertilana > .hero-static {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.hero-fertilana .flex-viewport,
.hero-fertilana .hero-slider .slides,
.hero-fertilana .hero-slider .slides > li,
.hero-fertilana .hero-slide {
  height: 100% !important;
}

.hero-fertilana .hero-bg,
.hero-fertilana .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
}

.hero-fertilana .hero-overlay-grid {
  height: 100%;
  min-height: 100%;
}

.hero-subfooter {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 0 12px;
  width: 100%;
  background: var(--fertilana-subfooter-bg);
  backdrop-filter: blur(6px);
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  font-weight: 500;
  z-index: 10;
}

.hero-subfooter-label {
  flex-shrink: 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.hero-subfooter-marquee-wrap {
  flex: 1;
  overflow: hidden;
  margin-right: 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hero-subfooter-marquee-wrap::-webkit-scrollbar {
  display: none;
}

.hero-subfooter-scroll {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0 8px;
  padding-left: 8px;
  width: max-content;
  animation: hero-subfooter-marquee 40s linear infinite;
}

.hero-subfooter-scroll:hover {
  animation-play-state: paused;
}

@keyframes hero-subfooter-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero-subfooter-item {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 6px 14px;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s, color 0.2s;
}

.hero-subfooter-item:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* Pilares y secciones (mismo bloque oscuro que hero contacto/consejos) */
.pilares-fertilana {
  background-color: #5c2e23;
  padding: 4rem 0;
}

.pilares-fertilana .pilar-icon {
  color: #9D7C5C;
}

.pilares-fertilana .pilar-title {
  color: #9D7C5C;
}

.pilares-fertilana .pilar-desc {
  color: #9D7C5C;
}

.pilares-fertilana .pilares-cta .btn-fertilana {
  background-color: #9D7C5C;
  border-color: #9D7C5C;
  color: #fff;
}
.pilares-fertilana .pilares-cta .btn-fertilana:hover {
  background-color: #b09070;
  border-color: #b09070;
  color: #fff;
}

/* ========== Componentes compartidos (usados en 2+ páginas) ========== */

/* Botones primarios */
.btn-primary,
.btn-fertilana,
.btn-rw.btn-primary {
  background-color: var(--fertilana-primary);
  border-color: var(--fertilana-primary);
}

.btn-primary:hover,
.btn-fertilana:hover,
.btn-rw.btn-primary:hover {
  background-color: var(--fertilana-primary-dark);
  border-color: var(--fertilana-primary-dark);
}

/* Estilo "pill" grande de .btn-fertilana (home, productos, materiales, consejos) */
.btn-fertilana {
  padding: 12px 28px;
  font-weight: 600;
}
.btn-fertilana:hover {
  color: #fff;
}

.btn-outline-fertilana {
  border: 2px solid var(--fertilana-primary);
  color: var(--fertilana-primary);
  background: transparent;
  padding: 11px 26px;
  font-weight: 600;
}
.btn-outline-fertilana:hover {
  background: var(--fertilana-primary);
  color: #fff;
  border-color: var(--fertilana-primary);
}

/* Secciones tipo "ficha" (detalle de producto): mismo padding en varias páginas */
.section-fertilana { padding: 4rem 0; }
.section-fertilana-alt { padding: 4rem 0; background: #f8f9fa; }

/* Encabezados de sección (que-aportamos, sobre-nosotros) */
.section-intro { margin-bottom: 4rem; }
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #14532D;
  margin: 0 0 1rem 0;
}
.section-subtitle {
  font-size: 1.25rem;
  color: #166534;
}

/* Ola decorativa del hero (que-aportamos, sobre-nosotros) */
.hero-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* CTA final (que-aportamos, sobre-nosotros) */
.cta-section {
  padding: 5rem 0;
}
.cta-card {
  position: relative;
  background: linear-gradient(135deg, #15803D 0%, #166534 100%);
  padding: 4rem;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(21, 128, 61, 0.3);
}
.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin: 0 0 1rem 0;
}
.cta-text {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.95);
  margin: 0 0 2.5rem 0;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-cta-primary {
  background: #CA8A04;
  color: white;
  box-shadow: 0 8px 20px rgba(202, 138, 4, 0.3);
}
.btn-cta-primary:hover {
  background: #A16207;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(202, 138, 4, 0.4);
  color: white;
  text-decoration: none;
}
.btn-cta-secondary {
  background: white;
  color: #15803D;
  box-shadow: 0 8px 20px rgba(255,255,255,0.2);
}
.btn-cta-secondary:hover {
  background: #F0FDF4;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255,255,255,0.3);
  color: #15803D;
  text-decoration: none;
}
.cta-decoration {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  opacity: 0.3;
  z-index: 1;
}
.cta-decoration svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 991px) {
  .section-title { font-size: 2rem; }
}

@media (max-width: 767px) {
  .cta-section { padding: 3rem 0; }
  .section-title { font-size: 1.75rem; }
  .cta-card { padding: 2.5rem 1.5rem; }
  .cta-title { font-size: 1.75rem; }
  .cta-text { font-size: 1.05rem; }
  .cta-buttons { flex-direction: column; }
  .btn-cta { width: 100%; }
}

@media (prefers-reduced-motion: no-preference) {
  .btn-cta {
    transition-duration: 200ms;
  }
}

/* Cards / noticias */
.home-noticias-grid-card-cta .btn-ver-mas,
.home-noticias-grid-card-cta i {
  color: var(--fertilana-primary);
}

.home-noticias-grid-card:hover .btn-ver-mas,
.home-noticias-grid-card:hover .home-noticias-grid-card-cta i {
  color: var(--fertilana-primary-dark);
}

/* ========== Footer ========== */
.footer-fertilana-full {
  background: #1a1a1a;
  color: #ccc;
  font-size: 1.05rem;
}

.footer-main {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-columns { row-gap: 2rem; }

.footer-col { margin-bottom: 2rem; }

/* Brand column */
.footer-logo {
  max-width: 140px;
  height: auto;
  margin-bottom: 1rem;
  display: block;
}
.footer-tagline {
  font-size: 0.75rem;
  color: #aaa;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 200px;
}

/* Column titles */
.footer-col-title {
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin: 0 0 1.25rem 0;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid #4a7c23;
  display: inline-block;
}

/* Navigation lists */
.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav-list li {
  margin-bottom: 0.6rem;
}
.footer-nav-list a {
  color: #bbb;
  text-decoration: none;
  font-size: 1.05rem;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  line-height: 1.5;
}
.footer-nav-list a:hover {
  color: #7ec854;
  text-decoration: none;
}
.footer-nav-icon {
  font-size: 1rem;
  opacity: 0.65;
  flex-shrink: 0;
}
.footer-icon-wa { color: #25d366; opacity: 1; }

/* Contact list */
.footer-contact-list li { margin-bottom: 0.75rem; }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.footer-contact-item span {
  font-size: 1.05rem;
  word-break: break-all;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: #ccc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.footer-social-link:hover {
  background: #4a7c23;
  color: #fff;
  text-decoration: none;
}

/* Bottom bar */
.footer-bottom-bar {
  padding: 1rem 0;
  background: #111;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-copy {
  font-size: 0.8rem;
  color: #777;
}
.footer-back-top {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #4a7c23;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.2s;
  flex-shrink: 0;
}
.footer-back-top:hover { background: #3d6a1d; color: #fff; text-decoration: none; }

/* First col: show brand title before the nav list */
.footer-col:first-child .footer-col-title { display: none; }

@media (max-width: 767px) {
  .footer-main { padding: 2.5rem 0 1.5rem; }
  .footer-col { margin-bottom: 1.5rem; }
  .footer-tagline { max-width: 100%; }
  .footer-col-title { font-size: 1rem; }
  .footer-nav-list a { font-size: 1.05rem; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

/* WhatsApp flotante (estilo Ariel Saenz) */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}

.wa-float:hover {
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

/* Ajustes responsive */
@media (max-width: 991px) {
  .hero-col-right {
    margin-top: 2rem;
    margin-left: 0;
  }
  .hero-news-block {
    margin-left: 0;
    max-width: 100%;
  }
  .hero-overlay-grid {
    padding: 100px 15px 120px;
  }
}

@media (max-width: 767px) {
  /* Menú móvil: mismo marrón con buen contraste (solo en mobile) */
  .header-fertilana-dark.navbar-default,
  .header-fertilana-dark .navbar-collapse,
  .header-fertilana-dark .collapse.navbar-collapse {
    background-color: rgba(92, 46, 35, 0.98) !important;
  }
  .header-fertilana-dark .navbar-collapse {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  }
  .header-fertilana-dark .navbar-brand img,
  .header-fertilana-dark .logo-fertilana {
    max-height: 130px;
  }
  .header-fertilana-dark .nav-ctas {
    margin-left: 0;
    margin-top: 10px;
  }
  .header-fertilana-dark .nav-ctas > li {
    margin-left: 8px;
  }
  .header-fertilana-dark .btn-nav-pill {
    padding: 8px 16px;
    font-size: 13px;
  }
  .hero-ctas {
    flex-direction: column;
  }
  .btn-hero-pill {
    display: block;
    text-align: center;
  }
  /* Hero y bloque Consejos en móvil: que no se rompa el layout */
  .hero-fertilana .hero-overlay-grid {
    padding: 70px 12px 85px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    align-items: flex-start;
  }
  .hero-fertilana .hero-row {
    min-height: 0;
    align-items: flex-start;
  }
  /* Ocultar bloque Consejos en el hero en móvil (Owl no se comporta bien; se puede ir a /consejos desde el menú) */
  .hero-fertilana .hero-col-right,
  .hero-fertilana .hero-news-block {
    display: none !important;
  }
  .hero-news-header {
    flex-wrap: wrap;
    gap: 8px;
  }
  .hero-news-title {
    font-size: 0.95rem;
  }
  .hero-news-link {
    font-size: 12px;
  }
  .hero-subfooter {
    font-size: 12px;
    padding: 10px 0;
  }
  .hero-subfooter-label { padding-left: 15px; font-size: 12px; }
  .hero-subfooter-marquee-wrap { margin-right: 15px; }
  .hero-subfooter-item { padding: 6px 12px; font-size: 12px; }
  .hero-subfooter-scroll { animation-duration: 35s; }
}

/* Páginas Contacto y Puntos de venta (compartido) */
.contacto-hero {
  padding: 3rem 0 2rem;
  text-align: center;
  background-color: #5c2e23;
  border-bottom: none;
}
.contacto-title {
  font-size: 2rem;
  font-weight: 700;
  color: #9D7C5C;
  margin: 0 0 0.5rem 0;
}
.contacto-intro {
  font-size: 1.15rem;
  color: #9D7C5C;
  margin: 0;
}
.contacto-content { padding-top: 2.5rem; }
.contacto-section-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #2c2c2c;
  margin: 0 0 1rem 0;
}
.contacto-section-title a {
  color: #2c2c2c;
  text-decoration: none;
}
.contacto-section-title a:hover { color: #5c2e23; }
.contacto-map-col { margin-bottom: 2rem; }
.contacto-map-wrap {
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid #eee;
}
.contacto-map-caption {
  font-size: 1rem;
  color: #666;
  margin: 0 0 1rem 0;
}
.contacto-map {
  border-radius: 12px;
  overflow: hidden;
  height: 320px;
  background: #e8e8e8;
}
.contacto-map-leaflet { min-height: 320px; }
.contacto-map-link {
  margin: 0.75rem 0 0 0;
  font-size: 0.95rem;
}
.contacto-map-link a {
  color: #5c2e23;
  text-decoration: none;
}
.contacto-map-link a:hover { text-decoration: underline; }

@media (max-width: 767px) {
  .contacto-hero { padding: 2rem 0 1.5rem; }
  .contacto-title { font-size: 1.65rem; }
}
