/**
* VAGFAS — Capa de rediseño
* Se carga después de main.css y moderniza tipografía, colores,
* tarjetas, botones y comportamiento responsive de todo el sitio.
*/

/*--------------------------------------------------------------
# Variables de marca
--------------------------------------------------------------*/
:root {
  --default-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --heading-font: "Manrope", system-ui, sans-serif;
  --nav-font: "Inter", system-ui, sans-serif;

  --background-color: #ffffff;
  --default-color: #333f38;
  --heading-color: #10321e;
  --accent-color: #157a3f;
  --accent-dark: #0b4a25;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;

  --nav-color: #24352b;
  --nav-hover-color: #157a3f;

  --vg-radius: 16px;
  --vg-shadow-sm: 0 2px 8px rgba(16, 50, 30, 0.07);
  --vg-shadow-md: 0 12px 32px rgba(16, 50, 30, 0.12);

  /* Ritmo vertical unificado de todas las secciones */
  --vg-section-pad: 96px;
  --vg-title-gap: 48px;
  --vg-card-pad: 28px 24px;
}

@media (max-width: 767px) {
  :root {
    --vg-section-pad: 56px;
    --vg-title-gap: 32px;
    --vg-card-pad: 24px 20px;
  }
}

/* Todas las secciones comparten el mismo espaciado, en desktop y mobile */
section,
.section {
  padding: var(--vg-section-pad) 0;
}

/* Excepción: el hero es el video a pantalla completa, sin relleno */
.hero,
.hero.section {
  padding: 0;
}

.light-background {
  --background-color: #f4f7f4;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #0b2517;
  --default-color: #e8f0ea;
  --heading-color: #ffffff;
  --accent-color: #4cc07a;
  --surface-color: #12301e;
  --contrast-color: #ffffff;
}

body {
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent-color), transparent 40%);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* AOS dejaba secciones invisibles cuando el layout cambiaba después de cargar
   (video + carrusel corren los cálculos de scroll). El contenido siempre visible. */
[data-aos] {
  opacity: 1 !important;
  transform: none !important;
}

/*--------------------------------------------------------------
# Botones unificados
--------------------------------------------------------------*/
.btn-vagfas,
.btn-success,
.btn-cta,
.hero .btn-get-started {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent-color);
  color: #ffffff !important;
  border: 2px solid var(--accent-color);
  border-radius: 999px;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 15px 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(21, 122, 63, 0.28);
}

.btn-vagfas:hover,
.btn-success:hover,
.btn-cta:hover,
.hero .btn-get-started:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(11, 74, 37, 0.32);
  color: #ffffff !important;
}

.btn-vagfas-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: 15px 30px;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  backdrop-filter: blur(4px);
}

.btn-vagfas-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-vagfas i,
.btn-vagfas-outline i,
.btn-success i {
  font-size: 1.15em;
  line-height: 0;
}

/* El botón CTA del template (subrayado) pasa a ser botón sólido */
.about-3 .btn-cta {
  border-bottom: 2px solid var(--accent-color);
  padding: 15px 30px;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(16, 50, 30, 0.06);
}

.scrolled .header {
  box-shadow: 0 4px 24px rgba(16, 50, 30, 0.1);
}

.header img[alt="VAGFAS"] {
  width: auto;
  height: 56px;
  object-fit: contain;
}

@media (min-width: 1200px) {
  .navmenu a,
  .navmenu a:focus {
    font-weight: 600;
    font-size: 15px;
    position: relative;
  }

  .navmenu > ul > li > a::after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 10px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
  }

  .navmenu > ul > li > a.active::after,
  .navmenu > ul > li:hover > a::after {
    transform: scaleX(1);
  }

  .navmenu li:last-child a {
    padding-right: 15px;
  }
}

/* CTA del menú */
.navmenu .nav-cta a {
  background: var(--accent-color);
  color: #ffffff !important;
  border-radius: 999px;
  padding: 10px 22px !important;
  margin-left: 12px;
  font-weight: 700;
}

.navmenu .nav-cta a:hover {
  background: var(--accent-dark);
}

@media (min-width: 1200px) {
  .navmenu .nav-cta a::after {
    display: none;
  }
}

@media (max-width: 1199px) {
  .navmenu .nav-cta a {
    margin: 10px 20px 0;
    justify-content: center;
  }

  .mobile-nav-toggle {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: color-mix(in srgb, var(--accent-color), transparent 92%);
    color: var(--accent-dark);
  }
}

/* Nav transparente sobre el hero (solo la home, antes de hacer scroll) */
.index-page .header {
  background-color: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.index-page.scrolled .header {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: rgba(16, 50, 30, 0.06);
  box-shadow: 0 4px 24px rgba(16, 50, 30, 0.1);
}

@media (min-width: 1200px) {
  .index-page:not(.scrolled) .navmenu a,
  .index-page:not(.scrolled) .navmenu a:focus,
  .index-page:not(.scrolled) .navmenu .active,
  .index-page:not(.scrolled) .navmenu .active:focus,
  .index-page:not(.scrolled) .navmenu li:hover > a {
    color: #ffffff;
  }

  .index-page:not(.scrolled) .navmenu > ul > li > a::after {
    background: #ffffff;
  }
}

@media (max-width: 1199px) {
  .index-page:not(.scrolled) .mobile-nav-toggle {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
  }
}

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
/* El hero ocupa la pantalla completa apenas se abre la página */
.hero .carousel {
  min-height: 100svh;
}

/* Video de fondo del hero (vertical en mobile, horizontal en desktop) */
.hero .hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: #0b2517;
}

.hero .hero-video-bg video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Transición suave (fundido cruzado real) entre los slides del hero */
.hero .carousel.carousel-fade .carousel-item {
  transition: opacity 1.4s ease-in-out;
}

/* El slide que sale se desvanece a la vez que entra el nuevo */
.hero .carousel.carousel-fade .active.carousel-item-start,
.hero .carousel.carousel-fade .active.carousel-item-end {
  z-index: 0;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

/* El texto del slide nuevo entra deslizándose suave una vez terminado el fundido */
.hero .carousel-item .carousel-container {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.hero .carousel-item.active .carousel-container {
  opacity: 1;
  transform: translateY(0);
}

.hero h1,
.hero h2,
.hero p {
  animation: none;
}

.hero .carousel-item:before {
  background: linear-gradient(
    180deg,
    rgba(5, 25, 14, 0.55) 0%,
    rgba(5, 25, 14, 0.45) 45%,
    rgba(5, 25, 14, 0.72) 100%
  );
}

.hero .carousel-container {
  inset: 100px 24px 96px 24px;
  text-align: center;
}

.hero h1,
.hero h2 {
  color: #ffffff;
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 18px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  text-wrap: balance;
}

.hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(15px, 2vw, 19px);
  max-width: 720px;
  margin-bottom: 28px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

@media (min-width: 1024px) {
  .hero h1,
  .hero h2,
  .hero p {
    max-width: 760px;
  }
}

.hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* Flechas: ocultas en mobile (se navega con gestos/indicadores) */
@media (max-width: 767px) {
  .hero .carousel-control-prev,
  .hero .carousel-control-next {
    display: none;
  }
}

.hero .carousel-indicators {
  z-index: 4;
  margin-bottom: 28px;
  gap: 6px;
}

.hero .carousel-indicators li {
  width: 26px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  border: 0;
  transition: background-color 0.3s, width 0.3s;
  list-style: none;
}

.hero .carousel-indicators li.active {
  background: #ffffff;
  width: 40px;
}

/*--------------------------------------------------------------
# Títulos de sección
--------------------------------------------------------------*/
.section-title {
  padding-bottom: var(--vg-title-gap);
}

.section-title h2 {
  font-family: var(--nav-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent-color);
  margin: 12px auto 0;
}

.section-title p {
  font-family: var(--heading-font);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--heading-color);
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 760px;
  margin-inline: auto;
  text-wrap: balance;
}

/* El título de "Insumos destacados" venía alineado a la izquierda: lo centramos como el resto */
.services-2 .section-title {
  text-align: center;
}

.dark-background .section-title p {
  color: #ffffff;
}

/*--------------------------------------------------------------
# Tarjetas de insumos (Services)
--------------------------------------------------------------*/
.services .content .row {
  gap: 16px 0;
}

.services .content .service-item {
  background: var(--surface-color);
  border: 1px solid rgba(16, 50, 30, 0.08);
  border-radius: var(--vg-radius);
  box-shadow: var(--vg-shadow-sm);
  margin: 0 8px;
  padding: 22px 20px;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.services .content .service-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--vg-shadow-md);
  border-color: color-mix(in srgb, var(--accent-color), transparent 60%);
}

.services .content .service-item .number {
  color: color-mix(in srgb, var(--accent-color), transparent 55%);
  font-family: var(--heading-font);
  font-weight: 800;
}

.services .content .service-item .service-item-icon {
  color: var(--accent-color);
  margin-bottom: 12px;
}

/* Los SVG inline vienen con width/height 80: los achicamos */
.services .content .service-item .service-item-icon svg {
  width: 44px;
  height: 44px;
}

.services .content .service-item .number {
  font-size: 14px;
  color: color-mix(in srgb, var(--accent-color), transparent 55%);
  font-family: var(--heading-font);
  font-weight: 800;
}

.services .content .service-item .service-item-content .service-heading {
  font-size: 17px;
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 6px;
}

.services .content .service-item .service-item-content p {
  font-size: 14px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 0;
}

/* Tarjeta CTA dentro de la grilla de insumos */
.services .service-item.service-item-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  background: linear-gradient(160deg, var(--accent-color), var(--accent-dark));
  border: 0;
}

.services .service-item.service-item-cta h3 {
  color: #ffffff;
  font-size: 18px;
  margin: 0;
}

.services .service-item.service-item-cta p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  margin: 0;
}

.services .service-item.service-item-cta .btn-vagfas {
  padding: 12px 24px;
  font-size: 14px;
}

.services .service-item.service-item-cta .btn-vagfas {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--accent-dark) !important;
  box-shadow: none;
}

.services .service-item.service-item-cta .btn-vagfas:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

/*--------------------------------------------------------------
# ¿Por qué elegirnos? (minimal tech)
--------------------------------------------------------------*/
.vg-why {
  --background-color: #081c11;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(76, 192, 122, 0.12), transparent 60%),
    #081c11;
}

.vg-eyebrow {
  display: inline-block;
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4cc07a;
  margin-bottom: 14px;
}

.vg-why-head {
  margin-bottom: var(--vg-title-gap);
  text-align: center;
}

.vg-why-head h2 {
  color: #ffffff;
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  margin: 0 auto;
  max-width: 760px;
  text-wrap: balance;
}

.vg-why-head p {
  color: rgba(232, 240, 234, 0.65);
  font-size: 16px;
  margin: 14px auto 0;
  max-width: 620px;
}

.vg-why-card {
  height: 100%;
  padding: var(--vg-card-pad);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--vg-radius);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.vg-why-card:hover {
  border-color: rgba(76, 192, 122, 0.55);
  background: rgba(76, 192, 122, 0.06);
  transform: translateY(-4px);
}

.vg-why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(76, 192, 122, 0.45);
  border-radius: 12px;
  color: #4cc07a;
  font-size: 22px;
  margin-bottom: 20px;
}

.vg-why-card h4 {
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.vg-why-card p {
  color: rgba(232, 240, 234, 0.6);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 767px) {
  .vg-why {
    padding: 56px 0;
  }

  .vg-why-head {
    margin-bottom: 32px;
  }
}

/*--------------------------------------------------------------
# Secciones About / About-3
--------------------------------------------------------------*/
.about .content {
  background-color: #0b2517;
  border-radius: 0;
}

.about .content-title {
  font-size: clamp(26px, 3.5vw, 36px);
}

.about .content .img-overlap {
  border-radius: var(--vg-radius);
  box-shadow: var(--vg-shadow-md);
}

.about-3 img.img-fluid {
  border-radius: var(--vg-radius);
  box-shadow: var(--vg-shadow-md);
}

.about-3 .content-title {
  font-size: clamp(26px, 3.5vw, 36px);
}

.about-3 .list-check li {
  font-weight: 500;
}

/*--------------------------------------------------------------
# Carrusel de productos (Services 2)
--------------------------------------------------------------*/
/* El template dejaba un hueco de 200px debajo de esta sección: lo anulamos */
.services-2 {
  margin-bottom: 0;
  overflow: clip;
}

.services-2 .services-carousel-wrap {
  margin-bottom: 0;
}

/* Título de la sección sobre fondo claro (el template lo pintaba blanco) */
.services-2 .section-title h2 {
  color: var(--accent-color);
  text-transform: uppercase;
  font-size: 14px;
}

.services-2 .section-title p {
  color: var(--heading-color);
}

/* Tarjeta de producto minimalista: igual lenguaje que las tarjetas de Insumos */
.services-2 .service-item {
  background: var(--surface-color);
  border: 1px solid rgba(16, 50, 30, 0.08);
  border-radius: var(--vg-radius);
  overflow: hidden;
  box-shadow: var(--vg-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.services-2 .service-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--vg-shadow-md);
  border-color: color-mix(in srgb, var(--accent-color), transparent 60%);
}

/* Sin gradiente oscuro encima de la foto */
.services-2 .service-item:before {
  display: none;
}

/* Producto completo, mismo tamaño en todas */
.services-2 .service-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #ffffff;
  padding: 16px;
}

.services-2 .service-item:hover img {
  transform: scale(1.03);
}

/* Nombre del producto debajo de la foto, no encima */
.services-2 .service-item .service-item-contents {
  position: static;
  transform: none;
  opacity: 1;
  visibility: visible;
  text-align: center;
  padding: 14px 16px 18px;
  border-top: 1px solid rgba(16, 50, 30, 0.06);
}

.services-2 .service-item .service-item-contents .service-item-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--heading-color);
  margin: 0;
}

.services-2 .service-item .service-item-contents .service-item-title:hover {
  color: var(--accent-color);
}

.services-2 .navigation-prev,
.services-2 .navigation-next {
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid rgba(16, 50, 30, 0.12);
  color: var(--heading-color);
  box-shadow: var(--vg-shadow-sm);
  transition: all 0.25s ease;
}

.services-2 .navigation-prev:hover,
.services-2 .navigation-next:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #ffffff;
}

@media (max-width: 767px) {
  .services-2 .navigation-prev,
  .services-2 .navigation-next {
    display: none;
  }
}

.services-2 .swiper-pagination .swiper-pagination-bullet {
  border-radius: 999px;
  background-color: rgba(16, 50, 30, 0.18) !important;
  transition: width 0.3s;
}

.services-2 .swiper-pagination .swiper-pagination-bullet-active {
  width: 28px;
  background-color: var(--accent-color) !important;
}

/*--------------------------------------------------------------
# Sección de contacto (tarjetas)
--------------------------------------------------------------*/
.vg-contact-cards .vg-card {
  background: var(--surface-color);
  border: 1px solid rgba(16, 50, 30, 0.08);
  border-radius: var(--vg-radius);
  box-shadow: var(--vg-shadow-sm);
  padding: var(--vg-card-pad);
  text-align: center;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vg-contact-cards a.vg-card {
  display: block;
  color: inherit;
}

.vg-contact-cards .vg-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--vg-shadow-md);
}

.vg-contact-cards .vg-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  font-size: 26px;
  margin-bottom: 18px;
}

.vg-contact-cards .vg-card h4 {
  font-size: 17px;
  margin-bottom: 6px;
}

.vg-contact-cards .vg-card p {
  margin: 0;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  overflow-wrap: anywhere;
}

/*--------------------------------------------------------------
# Nuestra operación diaria (galería de fotos reales)
--------------------------------------------------------------*/
.vg-ops-item {
  position: relative;
  margin: 0;
  border-radius: var(--vg-radius);
  overflow: hidden;
  border: 1px solid rgba(16, 50, 30, 0.08);
  box-shadow: var(--vg-shadow-sm);
  background: #000;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vg-ops-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--vg-shadow-md);
}

.vg-ops-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.vg-ops-item:hover img {
  transform: scale(1.05);
}

.vg-ops-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 16px 14px;
  background: linear-gradient(180deg, rgba(5, 25, 14, 0) 0%, rgba(5, 25, 14, 0.75) 100%);
  color: #ffffff;
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 767px) {
  .vg-ops-item figcaption {
    font-size: 12.5px;
    padding: 18px 10px 10px;
  }
}

/*--------------------------------------------------------------
# Cómo trabajamos (pasos)
--------------------------------------------------------------*/
.vg-step-card {
  position: relative;
  height: 100%;
  background: var(--surface-color);
  border: 1px solid rgba(16, 50, 30, 0.08);
  border-radius: var(--vg-radius);
  box-shadow: var(--vg-shadow-sm);
  padding: var(--vg-card-pad);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vg-step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--vg-shadow-md);
}

.vg-step-number {
  display: inline-block;
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 800;
  color: var(--accent-color);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 55%);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 18px;
}

.vg-step-card h4 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}

.vg-step-card p {
  font-size: 14px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin: 0;
}

/*--------------------------------------------------------------
# Preguntas frecuentes (FAQ)
--------------------------------------------------------------*/
.vg-faq .accordion-item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(16, 50, 30, 0.1);
}

.vg-faq .accordion-button {
  background: transparent;
  font-family: var(--heading-font);
  font-size: 17px;
  font-weight: 700;
  color: var(--heading-color);
  padding: 20px 8px;
  box-shadow: none;
}

.vg-faq .accordion-button:not(.collapsed) {
  color: var(--accent-color);
  background: transparent;
}

.vg-faq .accordion-button:focus {
  box-shadow: none;
}

.vg-faq .accordion-button::after {
  filter: grayscale(1);
}

.vg-faq .accordion-button:not(.collapsed)::after {
  filter: none;
}

.vg-faq .accordion-body {
  padding: 0 8px 22px;
  font-size: 14.5px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 12%);
}

@media (max-width: 767px) {
  .vg-faq .accordion-button {
    font-size: 15.5px;
    padding: 16px 4px;
  }

  .vg-faq .accordion-body {
    padding: 0 4px 18px;
  }

  .vg-cta-banner p {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .vg-cta-banner .btn-vagfas,
  .vg-cta-banner .btn-vagfas-outline {
    width: 100%;
    max-width: 340px;
  }
}

/*--------------------------------------------------------------
# Banner CTA (home)
--------------------------------------------------------------*/
/* CTA minimalista: tarjeta clara con borde fino, mismo lenguaje que Insumos */
.vg-cta-banner {
  background: var(--background-color);
}

.vg-cta-banner > .container {
  background: #f4f7f4;
  border: 1px solid rgba(16, 50, 30, 0.08);
  border-radius: 24px;
  padding: 56px 32px;
}

.vg-cta-banner h2 {
  color: var(--heading-color);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  margin-bottom: 12px;
  text-wrap: balance;
}

.vg-cta-banner p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 16px;
  max-width: 640px;
  margin: 0 auto 30px;
}

.vg-cta-banner .btn-vagfas-outline {
  background: transparent;
  border-color: rgba(16, 50, 30, 0.3);
  color: var(--heading-color) !important;
  backdrop-filter: none;
}

.vg-cta-banner .btn-vagfas-outline:hover {
  background: rgba(16, 50, 30, 0.05);
  border-color: var(--heading-color);
}

@media (max-width: 767px) {
  .vg-cta-banner > .container {
    padding: 40px 20px;
    border-radius: var(--vg-radius);
  }
}

/*--------------------------------------------------------------
# Footer (verde degradado, como la tarjeta del catálogo)
--------------------------------------------------------------*/
.footer.dark-background {
  --default-color: #e9f4ec;
  --heading-color: #ffffff;
  --accent-color: #bfe8cd;
  --surface-color: transparent;
}

.footer {
  font-size: 15px;
  background: linear-gradient(160deg, #157a3f, #0b4a25);
}

.footer .footer-main {
  padding: 56px 0 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer .footer-brand img {
  height: 64px;
  width: auto;
  margin-bottom: 14px;
  background: #ffffff;
  border-radius: 12px;
  padding: 6px 10px;
}

.footer .footer-brand p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  max-width: 320px;
}

.footer h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer h4::after {
  background: rgba(255, 255, 255, 0.6);
}

.footer ul a:hover,
.footer .footer-contact a:hover {
  color: #ffffff;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer ul li {
  padding: 6px 0;
}

.footer ul a {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.footer ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.footer .footer-contact i {
  color: var(--accent-color);
  margin-top: 3px;
}

.footer .copyright {
  padding: 22px 0;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Botón flotante de WhatsApp
--------------------------------------------------------------*/
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: vg-pulse 2s ease-out infinite;
}

@keyframes vg-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Scroll top
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  right: 24px;
  bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  z-index: 1040;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-dark);
  color: #ffffff;
  font-size: 24px;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s;
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

.scroll-top:hover {
  background: var(--accent-color);
  color: #ffffff;
}

/*--------------------------------------------------------------
# Página de contacto
--------------------------------------------------------------*/
.page-title {
  padding: 96px 0 72px;
}

.page-title:before {
  background: linear-gradient(180deg, rgba(5, 25, 14, 0.72), rgba(5, 25, 14, 0.55));
}

.page-title h1 {
  color: #ffffff;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
}

.page-title .breadcrumbs ol {
  color: rgba(255, 255, 255, 0.85);
}

.page-title .breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
}

.page-title .breadcrumbs .current {
  color: #ffffff;
  font-weight: 600;
}

/*--------------------------------------------------------------
# Ajustes mobile generales
--------------------------------------------------------------*/
@media (max-width: 767px) {
  section,
  .section {
    padding: 44px 0;
  }

  /* El hero nunca lleva relleno: el video ocupa todo el alto */
  .hero.section {
    padding: 0;
  }

  .section-title {
    padding-bottom: 32px;
  }

  .services .content .service-item {
    margin: 0 4px;
    padding: 26px 20px;
  }

  .hero .carousel {
    min-height: 100svh;
  }

  .hero .carousel-container {
    inset: 84px 20px 84px 20px;
  }

  .hero .hero-actions .btn-vagfas,
  .hero .hero-actions .btn-vagfas-outline {
    width: 100%;
    max-width: 340px;
  }

  .vg-cta-banner {
    padding: 52px 0;
  }

  .footer .footer-main {
    text-align: center;
  }

  .footer .footer-brand p {
    margin-inline: auto;
  }

  .footer .footer-contact li {
    justify-content: center;
  }
}
