/**
* Template Name: OnePage
* Template URL: https://bootstrapmade.com/onepage-multipurpose-bootstrap-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  /* Tipografías */
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;

  /* ===== COLORES GLOBALES ===== */
  --background-color: #ffffff;

  /* Texto general */
  --default-color: #226108;          /* verde oscuro corporativo */
  --heading-color: #226108;          /* títulos en verde oscuro */

  /* Marca / acciones */
  --accent-color: #3B9EE1;            /* azul principal */
  --contrast-color: #ffffff;

  /* Superficies */
  --surface-color: #ffffff;
}

/* ===== COLORES DE NAVEGACIÓN ===== */
:root {
  --nav-color: #226108;               /* verde corporativo */
  --nav-hover-color: #3B9EE1;         /* azul principal */

  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;

  --nav-dropdown-color: #226108;
  --nav-dropdown-hover-color: #1668CC; /* azul contraste */
}

/* ===== PRESETS DE SECCIÓN ===== */

.light-background {
  --background-color: #f5f9fc;        /* gris azulado suave */
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #0b2b3a;        /* azul muy oscuro elegante */
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #143f56;
  --contrast-color: #ffffff;
}

.accent-background {
  --background-color: #3B9EE1;        /* azul principal */
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #ffffff;
  --surface-color: #3B9EE1;
  --contrast-color: #ffffff;
}

/* ===== ESTADOS / CONTRASTES ÚTILES ===== */

/* Hover, links activos, detalles */
.text-accent {
  color: #1668CC;
}

/* Éxito / validaciones / estados positivos */
.text-success,
.bg-success {
  color: #ffffff;
  background-color: #5ABA0E;
}

/* ===== SMOOTH SCROLL ===== */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

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

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}




/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;      
  background: transparent;  
  padding: 15px 0;
  display: flex;
  justify-content: center; /* centrado horizontal del contenedor */
  align-items: center;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 300;
  color: var(--heading-color);
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  border-radius: 4px;
  transition: 0.3s;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

/* Menú centrado */
.navmenu {
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 500px;                    
  padding: 2px 25px;
  display: flex;
  justify-content: center;   /* enlaces centrados */
  align-items: center;
  gap: 15px;
  margin: 0 auto;            /* asegura que esté centrado */
}

.navmenu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;   /* centrado horizontal */
  gap: 10px;
}

.navmenu a {
  color: #ffffff !important;        
  font-family: var(--nav-font);
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 500px;
  transition: all 0.3s ease;
}

.navmenu a:hover,
.navmenu .active {
  color: #5ABA0E;       
  background: rgba(255, 255, 255, 0.1); 
}

.navmenu li {
  position: relative;
}

.navmenu a,
.navmenu a:focus {
  color: #ffffff !important;        /* texto blanco */
  font-family: var(--nav-font);
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 500px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus {
  color: #5ABA0E;       /* verde contraste al hover */
  background: rgba(255, 255, 255, 0.1); /* ligera iluminación */
}

/* Área privada destacada (último elemento del nav) */
.navmenu ul li:last-child a {
  color: #6bdaf5 !important;
  padding-right: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.navmenu ul li:last-child a:hover {
  background-color: rgba(255, 255, 255, 0.35);
  color: #5ABA0E; /* hover verde contraste */
}

/* Shadow + sticky al hacer scroll */
body.scrolled .header {
  border-color: transparent;
  box-shadow: none;
}

/* Header - Mobile */
@media (max-width: 1399px) {
  .header .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between; /* logo izquierda, hamburguesa derecha */
  }

  .mobile-nav-toggle {
    font-size: 28px;
    cursor: pointer;
    color: var(--nav-color);
  }
}

.header .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between; /* separa logo, menu y área privada */
  max-width: 100%;              /* evita que el contenedor supere la pantalla */
  padding: 0 15px;              /* un poco de margen a los lados */
  box-sizing: border-box;
  gap: 12px;                    /* sin overflow:hidden: recortaba el menú de idiomas */
}

/* Logo a la izquierda */
.header-logo {
  margin-right: auto;
  flex: 0 0 auto;               /* el logo nunca se comprime */
}

.header-logo img {
  display: block;
  height: 64px;
  max-width: 220px;
  object-fit: contain;
}

.scrolled .header {
  border-color: var(--contrast-color);
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Desktop: the nav shrinks fluidly so the 11 links, the logo and the language menu fit from 1400px up. */
@media (min-width: 1400px) {
  .header .navmenu {
    min-width: 0;
    padding: 2px 8px;
  }

  .header .navmenu ul {
    gap: 0;
  }

  .header .navmenu a,
  .header .navmenu a:focus {
    padding: 8px clamp(5px, 1vw - 8px, 15px);
    font-size: clamp(13px, 0.6vw + 4.6px, 16px);
  }

  .header .mobile-nav-toggle {
    display: none;
  }
}

/* The hamburger is a real <button>: drop the browser's button chrome so it looks like the icon it was. */
.header .mobile-nav-toggle {
  padding: 0;
  border: 0;
  background: none;
}

.header .mobile-nav-toggle:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 4px;
  border-radius: 4px;
}

@media (max-width: 1399px) {
  .header .navmenu {
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    margin: 0;
  }

  .header-logo img {
    height: 52px;
  }

  /* Open menu: a full-screen dark layer with the links centred in one column (no pill, no white box). */
  .mobile-nav-active .header .navmenu {
    border-radius: 0;
    background: rgba(33, 37, 41, 0.95);
  }

  .mobile-nav-active .header .navmenu > ul {
    position: static;
    inset: auto;
    max-height: 100%;
    padding: 70px 20px 30px;
    background: none;
    box-shadow: none;
    overflow-y: auto;
  }

  .mobile-nav-active .header .navmenu a:hover,
  .mobile-nav-active .header .navmenu .active {
    color: #5ABA0E !important;
  }
}

/*--------------------------------------------------------------
# Selector de idioma (x-publica.header)
--------------------------------------------------------------*/
.lang-switch {
  flex: 0 0 auto;               /* nunca se encoge: si no cabe, cede el nav */
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 50%);
  border-radius: 8px;
  background-color: #ffffff;
  color: #1f2d3d;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lang-toggle:hover,
.lang-toggle[aria-expanded="true"] {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.lang-toggle:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

.lang-code {
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.lang-caret {
  font-size: 10px;
  line-height: 0;
  transition: transform 0.2s ease;
}

.lang-toggle[aria-expanded="true"] .lang-caret {
  transform: rotate(180deg);
}

/* Own hairline on every flag: the white of several (gb, ca, eu) melts into a light background. */
.lang-toggle .fi,
.lang-item .fi {
  width: 21px;
  height: 15px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
  flex: 0 0 auto;
}

.lang-menu {
  min-width: 190px;
  margin-top: 8px !important;
  padding: 6px;
  border: 1px solid rgba(31, 45, 61, 0.12);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: #1f2d3d;
  font-family: var(--nav-font);
  font-size: 15px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.lang-item:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.lang-item:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: -2px;
}

.lang-name {
  flex: 1 1 auto;
}

.lang-item.is-active .lang-name {
  font-weight: 600;
}

.lang-check {
  font-size: 16px;
  line-height: 0;
  color: var(--accent-color);
}

@media (prefers-reduced-motion: reduce) {
  .lang-toggle,
  .lang-caret,
  .lang-item {
    transition: none;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1400px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

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

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1399px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    inset: 0;
    background: rgba(33, 37, 41, 0.95); /* fondo semitransparente oscuro */
    display: flex;
    align-items: center;
    justify-content: center; /* centra todo vertical y horizontalmente */
    overflow: hidden;
    flex-direction: column;
  }

  
  .mobile-nav-active .navmenu>ul {
    display: flex;
    flex-direction: column; /* links en columna */
    justify-content: center;
    align-items: center;    /* links centrados horizontalmente */
    gap: 12px;              /* menos espacio vertical entre links */
    list-style: none;
    padding: 0;
    margin: 0;
  }


  .mobile-nav-active .navmenu a,
  .mobile-nav-active .navmenu a:focus {
    display: block;
    text-align: center;
    padding: 10px 20px;
    color: var(--nav-dropdown-color);
    font-size: 18px;
    width: auto;
  }

  .mobile-nav-active .navmenu a i {
    display: none !important; /* quita el icono */
  }

  /* Mantener Área privada con botón azul redondeado */
  .mobile-nav-active .navmenu ul li:last-child a {
    background-color: var(--accent-color) !important; /* fuerza azul */
    color: var(--contrast-color) !important;
    padding: 6px 14px;
    border-radius: 999px;
    white-space: nowrap;
    text-align: center;
    width: auto;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15); /* opcional, le da un poco de profundidad */
  }
}




/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: #fff;
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;

  width: 50px;             /* tamaño circular */
  height: 50px;
  border-radius: 50%;      /* círculo perfecto */

  background-color: rgba(0, 0, 0, 0.4); /* fondo negro translúcido */
  backdrop-filter: blur(8px);           /* desenfoque del fondo */
  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: #ffffff; /* icono blanco */
  line-height: 0;
}

.scroll-top:hover {
  background-color: rgba(0, 0, 0, 0.6); /* más oscuro al pasar el mouse */
  color: #ffffff;
}

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


/*--------------------------------------------------------------
# Subvenciones Section
--------------------------------------------------------------*/
.subvenciones {
  background-color: #ffffff;   /* fondo blanco */
  padding: 40px 20px;          /* espacio arriba/abajo y laterales */
  text-align: center;          /* centrado de la imagen */
}

.subvenciones .container {
  max-width: 1200px;           /* opcional, limita el ancho */
  margin: 0 auto;
}

.subvenciones-img {
  width: auto;
  max-width: 100%;             /* no excede el ancho del contenedor */
  height: auto;                /* mantiene proporción */
  display: inline-block;
  margin: 20px 0;              /* márgenes arriba y abajo */
}


/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}




/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 120px 0;
  text-align: center;
  position: relative;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 100px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 76px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  height: 100vh;  /* altura = 100% de la ventana */
  min-height: calc(100vh - 100px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 60px;
  overflow: hidden;
}

/* Fondo oscurecedor */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.45);
}

/* Imagen de fondo */
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Contenido */
.hero .container {
  position: relative;
  z-index: 3;
}

.hero-content {
  padding: 60px 40px;
}

/* Título */
.hero h1 {
  margin: 0;
  font-size: 56px;
  font-weight: 700;
  line-height: 72px;
  color: #ffffff;
}

/* Subtítulo */
.hero p {
  margin-top: 10px;
  font-size: 22px;
  color: #ffffff;
}

/* Botón glass */
.btn-glass {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 42px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;

  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 1px solid rgba(0, 0, 0, 0.212);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);

  transition: all 0.3s ease;
}

.btn-glass:hover {
  background: rgba(119, 119, 119, 0.28);
  color: #6bdaf5;              /* verde contraste */
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 32px;
    line-height: 40px;
  }

  .hero p {
    font-size: 18px;
    line-height: 24px;
  }

  .hero-content {
    padding: 40px 20px;
  }

  /* Desactivar efectos hover en móvil */
  .btn-glass,
  .btn-glass::after {
    transform: none !important;
    color: #ffffff !important;       /* mantiene el color blanco */
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/

/* Título */
.about .section-title h2 {
  text-transform: none;       /* quitar mayúsculas automáticas */
  font-weight: 700;           /* negrita */
  text-align: center;         /* centrado horizontal */
  font-size: 32px;
  line-height: 1.4;
  margin: 0 auto 20px auto;
  max-width: 700px;           /* ancho del bloque del título */
}

/* Texto introductorio */
.about .content p:first-of-type {
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 40px;
  color: var(--default-color);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Bloque celeste principal */
.about-block {
  display: flex;
  flex-wrap: nowrap;          /* fuerza dos columnas en una fila */
  align-items: stretch;       /* la imagen toma la altura del texto */
  /* Imagen de fondo */
  background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                    url('/img/fondo-about.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 20px;
  padding: 30px;
  width: 95%;                 /* ancho del bloque */
  max-width: 1600px;          /* límite máximo */
  margin: 40px auto;          /* centra horizontalmente */
  color: #ffffff;              /* texto oscuro */
  gap: 20px;                  /* espacio entre columnas */
}

/* Columna de imagen */
.about-image {
  flex: 0 0 50%;              /* ocupa exactamente 50% del ancho */
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  justify-content: center;    /* centra la imagen dentro del contenedor */
  align-items: center;
}


/* Imagen dentro del bloque */
.about-image img {
  width: 65%;
  height: 80%;              /* hace que la altura sea proporcional al ancho */
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.653); /* sombra más marcada */
}

/* Columna de texto */
.about-text {
  flex: 0 0 50%;              /* ocupa exactamente 50% del ancho */
  display: flex;
  flex-direction: column;
  text-align: justify;
  justify-content: center;
  line-height: 1.6;
  padding: 20px 20px;

}

/* Responsivo: en móviles, columnas apiladas */
@media (max-width: 992px) {
  .about-block {
    flex-direction: column;
    padding: 20px;
  }

  .about-image, .about-text {
    flex: 0 0 100%;
    padding: 0;
  }

  .about-image {
    margin-bottom: 20px;
  }

  .about .section-title h2 {
    padding: 0 15px;       /* margen a los lados */
    box-sizing: border-box; /* asegura que el padding no rompa el layout */
  }

  .about .content p:first-of-type {
    padding: 0 15px;   /* deja un pequeño margen a los lados */
    box-sizing: border-box; /* asegura que el padding no rompa el layout */
  }
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats {
  width: 100%;                  /* ocupa toda la pantalla */
  background: transparent;       /* quitar imagen de fondo */
  padding: 50px 0;              /* espacio arriba y abajo */
}

.stats .stats-item {
  padding: 30px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stats .stats-item span {
  font-size: 48px;
  display: block;
  color: #226108;               /* números en verde */
  font-weight: 700;
}

.stats .stats-item p {
  color: #226108;               /* texto en blanco */
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 600;
}

@media (max-width: 992px) {
  .stats {
    padding: 10px 0;            /* menos padding vertical */
  }

  .stats .stats-item {
    flex: 1 1 25%;              /* dos en cada fila */
    padding: 10px;
  }

  .stats .stats-item span {
    font-size: 36px;            /* números más pequeños */
  }

  .stats .stats-item p {
    font-size: 14px;            /* texto más pequeño */
  }

  .stat-col {
    flex: 1 1 50%; /* dos por fila en móvil */
    max-width: 50%;
  }
}


/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services {
  background-image: url('../img/fondo-service.jpg'); /* imagen de fondo */
  background-size: cover;        /* cubre todo el bloque */
  background-position: center;   /* centrado */
  background-repeat: no-repeat;  /* no repetir */
  padding: 50px 0;               /* espacio arriba y abajo */
}

.services .service-item-bg {
  position: relative;
  width: 100%;
  padding-top: 100%;          /* mantiene cuadrado */
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0px 5px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s;
  background-image: url('img/services/service-bg.jpg'); /* misma imagen para todos */
}

.services .service-item-bg:hover {
  transform: scale(1.05);
}

/* Bloque interior */
.services .service-item-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* títulos arriba */
  padding: 15px;
}

/* Header fijo para títulos */
.service-header {
  min-height: 60px;           /* misma altura para todos los títulos */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.service-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #226108;
  margin: 0;
}

/* Contenido debajo */
.service-content {
  flex: 1;                     /* ocupa el resto del espacio */
  margin-top: 10px;
  padding: 10px;
  text-align: justify;          /* texto justificado */
  color: #226108;               /* color verde oscuro */
}

.service-content p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 800px) {
  .services .service-item-bg {
    width: 70%;             /* ocupa todo el ancho disponible del contenedor */
    padding-top: 70%;         /* altura relativa al ancho, cuadrado */
    aspect-ratio: 1 / 1;     /* fuerza un cuadrado perfecto */
    box-shadow: 0px 3px 10px rgba(0,0,0,0.2);
    margin: 0 auto 20px auto; /* centra el bloque y separa verticalmente */
  }

  .service-item-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;   /* centra verticalmente todo el contenido */
    align-items: center;       /* centra horizontalmente los hijos */
    height: 100%;
    padding: 10px;
  }

  .service-header {
    min-height: 40px;
    width: 100%;               /* título ocupa todo el ancho */
    text-align: center;        /* centrado horizontal */
  }

  .service-content {
    margin-top: 30px;   /* más espacio arriba */
    padding: 0;
    max-width: 80%;            /* ocupa menos ancho */
    text-align: justify;       /* texto justificado */
  }

  .service-content p {
    font-size: 13px;
    line-height: 1.4;
  }
}


/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio {
  background-color: #226108; /* fondo verde oscuro */
  padding: 50px 0;           /* espacio arriba y abajo */
}

.portfolio .section-title h2,
.portfolio .section-title p {
  color: #ffffff;
}

.portfolio .portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 20px;
}

/* Imagen */
.portfolio .portfolio-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  transition: filter 0.3s ease;
}

/* Hover: blur ligero + oscurecido leve */
.portfolio .portfolio-item:hover img {
  filter: brightness(0.5) blur(0.5px);
}

/* Overlay centrado */
.portfolio .portfolio-item .portfolio-info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  opacity: 0;
  text-align: center;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

/* Mostrar overlay en hover */
.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
}

/* Título del proyecto */
.portfolio .portfolio-item .portfolio-info h4 {
  margin: 0 0 10px 0;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
}

/* Lupa */
.portfolio .portfolio-item .portfolio-info .preview-link {
  font-size: 36px;
  color: #ffffff;
  line-height: 0;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .portfolio .portfolio-item img {
    height: 220px;
  }

  /* Quitar hover en móvil */
  .portfolio .portfolio-item:hover img {
    filter: none;
    transform: none;
  }

  .portfolio .portfolio-item:hover .portfolio-info {
    opacity: 0;
  }
}




/*--------------------------------------------------------------
# Noticias Section
--------------------------------------------------------------*/
.noticias {
  background-color: #ffffff; /* fondo blanco */
  padding: 60px 0;
}

.noticias .container {
  max-width: 1100px;
  margin: 0 auto;
}

/* NUEVO GRID */
.noticias-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(2, 1fr); /* 3 columnas desktop */
}

/* Tablet */
@media (max-width: 992px) {
  .noticias-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Móvil */
@media (max-width: 576px) {
  .noticias-grid {
    grid-template-columns: 1fr;
  }
}

/* Títulos sección */
.noticias .section-title h2 {
  color: #226108;
  text-align: center;
  margin-bottom: 10px;
}

.noticias .section-title p {
  color: #226108;
  text-align: center;
  margin-bottom: 20px;
}

/* Tarjetas */
.noticias .noticia-item {
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.noticias .noticia-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

/* Bloques internos */
.noticias .noticia-bloque {
  padding: 15px;
}

.noticias .noticia-bloque.titulo h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #1668cc;
  text-align: center;
}

/* Texto justificado */
.noticias .noticia-bloque.descripcion {
  flex: 1;
  display: flex;
  align-items: center;
}

.noticias .noticia-bloque.descripcion p {
  margin: 0;
  font-size: 14px;
  color: #333333;
  text-align: justify;
  hyphens: auto;
}

/* Botón siempre abajo */
.noticias .noticia-bloque.boton {
  margin-top: auto;
  text-align: center;
}

.noticias .noticia-bloque.boton a {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  background-color: #1668cc;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}

.noticias .noticia-bloque.boton a:hover {
  background-color: rgb(45, 27, 174);
}

/* Ajustes móviles */
@media (max-width: 1000px) {
  .noticia-item {
    background-image: none;
    background-color: #ffffff;
    max-width: 350px;
    margin: 0 auto;
    max-height: 250px;
    color: #134B58;
  }

  .noticia-bloque.titulo h2,
  .noticia-bloque.descripcion p {
    color: #134B58;
  }

  .noticia-bloque.boton a {
    background-color: #058BC9;
    color: #ffffff;
  }
}


/*--------------------------------------------------------------
# Descargas Section
--------------------------------------------------------------*/
.descargas {
  background-color: #ffffff; /* fondo general blanco */
  padding: 60px 0;
}

.descargas .container {
  max-width: 900px;
  margin: 0 auto;
}

.descargas .section-title h2,
.descargas .section-title p {
  color: #226108;
  text-align: center;
  margin-bottom: 20px;
}

/* Bloque de descarga */
.descargas .descarga-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1668cc; /* azul oscuro para los bloques */
  color: #ffffff;
  text-decoration: none;
  padding: 15px 20px;
  border-radius: 12px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.descargas .descarga-item:hover {
  background-color: #0f4a92; /* ligero cambio al pasar el mouse */
  transform: translateY(-2px);
}

/* Título dentro del bloque */
.descargas .descarga-item .titulo {
  font-size: 16px;
  color: #ffffff;             /* texto en blanco */
}

/* Icono de descarga */
.descargas .descarga-item .icono {
  font-size: 20px;
  color: #ffffff; /* azul representativo */
}

/* Responsive: en móvil una columna */
@media (max-width: 768px) {
  .descargas .col-lg-6,
  .descargas .col-md-6 {
    width: 100%;
  }

  .descargas .descarga-item {
    justify-content: space-between;
  }

  /* Quitar hover en móvil */
  .descargas .descarga-item:hover {
    background-color: #1668cc; /* igual que el color normal */
    transform: none;
  }
}


/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  position: relative;
  background: url('../img/contact-background.jpg') no-repeat center center/cover;
  padding: 60px 0;
}

.contact-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.contact-block {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1100px;
  overflow: hidden;
}

/* Subbloques: superior, formulario, inferior */
.contact-subblock {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1; /* cada subbloque ocupa igual espacio vertical */
  padding: 20px;
  flex-direction: column;
  text-align: center;
}

/* Título */
.contact-subblock.titulo h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #226108; /* color empresa */
}
.contact-subblock.titulo p {
  margin-top: 10px;
  color: #555555;
}

/* Formulario */
.contact-subblock.formulario .form-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 15px;
  gap: 10px;
}

.contact-subblock.formulario form {
  width: 90%;          /* ocupa el 90% del subbloque central */
  max-width: 900px;    /* límite máximo opcional */
  display: flex;
  flex-direction: column;
  gap: 15px;           /* espacio entre filas */
  margin: 0 auto;      /* centra el formulario */
}

.contact-subblock.formulario .form-row.nombre-email {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.contact-subblock.formulario .form-row input,
.contact-subblock.formulario .form-row textarea {
  flex: 1;             /* ocupa todo el espacio disponible */
  max-width: none;
  min-width: 0;
  box-sizing: border-box;
}

.contact-subblock.formulario .form-row.nombre-email input {
  width: calc(50% - 5px);
  max-width: none;
}

.contact-subblock.formulario input,
.contact-subblock.formulario textarea {
  font-size: 14px;
  padding: 10px 15px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
}

.contact-subblock.formulario button {
  padding: 10px 30px;
  border: none;
  border-radius: 50px;
  background-color: #1668cc;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.contact-subblock.formulario button:hover {
  background-color: #0d3c76;
}

/* Bloque inferior de info */
.contact-subblock.info {
  background: #ffffff;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 40px 20px;
}

.contact-subblock.info .info-item {
  flex: 1 1 22%; /* 4 bloques iguales */
  margin: 10px;
  text-align: center;
  position: relative; /* para posicionar el círculo */
}

/* Círculo con icono */
.contact-subblock.info .circle-icon {
  width: 60px;
  height: 60px;
  background-color: #1668cc; /* fondo del círculo */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 15px auto;
  font-size: 28px;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Subtítulos y párrafos */
.contact-subblock.info h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1668cc;
  margin-bottom: 5px;
}

.contact-subblock.info p {
  font-size: 14px;
  color: #226108;
  margin: 0;
}

/* Responsive */

@media (max-width: 768px) {
  /* Quitamos hovers de botones */
  .contact-subblock.formulario button:hover {
    background-color: #0d3c76; /* mismo color normal */
  }

  .contact-subblock.info .info-item .spacer {
    display: none;
  }

  /* Ajuste responsive de info-items */
  .contact-subblock.info .info-item {
    flex: 1 1 45%; /* 2 por fila en móvil */
    margin-bottom: 20px;
  }

  .contact-subblock.info .circle-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
    margin-bottom: 10px;
  }

  /* Opcional: reducir padding del formulario en móvil */
  .contact-subblock.formulario form {
    width: 95%;
    gap: 10px;
  }
}





/*--------------------------------------------------------------
# Legal pages (aviso legal, privacidad, cookies)
--------------------------------------------------------------*/
.legal-body {
  overflow-x: hidden;
}

.legal-body .header {
  position: sticky;
  background: #ffffff;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1400px) {
  .legal-body .header .navmenu {
    background: #1668cc;
  }
}

.legal-page .legal-hero {
  background-color: #f6fafd;
  padding: 48px 0 36px;
  text-align: center;
  border-bottom: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
}

.legal-page .legal-hero h1 {
  font-family: var(--heading-font);
  font-size: 32px;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0;
  padding: 0 16px;
}

.legal-page .legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 16px 56px;
  line-height: 1.7;
  font-size: 16px;
  overflow-wrap: anywhere;
}

/* Content blocks are <section>s; drop the site-wide section padding. */
.legal-page .legal-content section {
  padding: 0;
  scroll-margin-top: 90px;
}

/* Error pages reuse the legal layout: a short centered message, a way back home, the footer kept at the bottom. */
.legal-body:has(.pagina-error) {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.legal-body:has(.pagina-error) .legal-page {
  flex: 1 0 auto;
}

.legal-page .pagina-error {
  text-align: center;
}

.legal-page .legal-content a.pagina-error__volver {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 28px;
  border-radius: 50px;
  background: #1668cc;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.legal-page .legal-content a.pagina-error__volver:hover {
  background: #0d3c76;
  color: #ffffff;
}

.legal-page .legal-content h2 {
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: 700;
  color: var(--heading-color);
  margin: 2rem 0 0.75rem;
}

.legal-page .legal-content h3 {
  font-family: var(--heading-font);
  font-size: 19px;
  font-weight: 600;
  color: var(--heading-color);
  margin: 1.5rem 0 0.5rem;
}

.legal-page .legal-content p,
.legal-page .legal-content ul,
.legal-page .legal-content ol {
  margin-bottom: 1rem;
}

.legal-page .legal-content ul,
.legal-page .legal-content ol {
  padding-left: 1.5rem;
}

.legal-page .legal-content li {
  margin-bottom: 0.4rem;
}

.legal-page .legal-content .legal-prevails {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  font-size: 0.85rem;
}

.legal-page .legal-content a {
  color: var(--accent-color);
  text-decoration: underline;
}

.legal-page .legal-content .legal-table-wrap {
  overflow-x: auto;
  margin-bottom: 1rem;
}

.legal-page .legal-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.legal-page .legal-content th,
.legal-page .legal-content td {
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 55%);
  padding: 8px 10px;
  vertical-align: top;
  text-align: left;
}

.legal-page .legal-content td:first-child {
  overflow-wrap: normal;
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .legal-page .legal-hero h1 {
    font-size: 26px;
  }
}




/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
  padding: 20px 0;
}

.clients .client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.clients .client-logo img {
  padding: 20px 40px;
  max-width: 90%;
  transition: 0.3s;
  opacity: 0.5;
  filter: grayscale(100);
}

.clients .client-logo img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.1);
}

@media (max-width: 640px) {
  .clients .client-logo img {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: -40px 0 0 40px;
  position: relative;
  z-index: 2;
  border: 6px solid var(--background-color);
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 45px;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0 0 0 45px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 0 15px;
  padding: 20px 20px 60px 20px;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  position: relative;
  border-radius: 6px;
  position: relative;
  z-index: 1;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--background-color);
  opacity: 1;
  border: 1px solid var(--accent-color);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}



/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 80px 0;
  position: relative;
  clip-path: inset(0);
}

.call-to-action h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--default-color);
}

.call-to-action p {
  color: var(--default-color);
}

.call-to-action .cta-btn {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 5px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid var(--contrast-color);
  color: var(--contrast-color);
}

.call-to-action .cta-btn:hover {
  background: var(--surface-color);
  color: var(--accent-color);
}




/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member {
  background-color: var(--surface-color);
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0px 0 10px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.team .team-member .member-img {
  position: relative;
  overflow: hidden;
}

.team .team-member .social {
  position: absolute;
  left: 0;
  bottom: 30px;
  right: 0;
  opacity: 0;
  transition: ease-in-out 0.3s;
  text-align: center;
}

.team .team-member .social a {
  background: color-mix(in srgb, var(--contrast-color), transparent 25%);
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0 3px;
  border-radius: 4px;
  width: 36px;
  height: 36px;
  transition: ease-in-out 0.3s;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.team .team-member .social a:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
}

.team .team-member .social i {
  font-size: 18px;
  line-height: 0;
}

.team .team-member .member-info {
  padding: 25px 15px;
}

.team .team-member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
}

.team .team-member .member-info span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.team .team-member:hover .social {
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: var(--surface-color);
  padding: 60px 40px;
  box-shadow: 0 3px 20px -2px rgba(0, 0, 0, 0.1);
  height: 100%;
  position: relative;
}

.pricing h3 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 20px;
}

.pricing h4 {
  font-size: 48px;
  color: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 400;
}

.pricing h4 sup {
  font-size: 28px;
}

.pricing h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 18px;
}

.pricing ul {
  padding: 20px 0;
  list-style: none;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-align: left;
  line-height: 20px;
}

.pricing ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.pricing ul i {
  color: #059652;
  font-size: 24px;
  padding-right: 3px;
}

.pricing ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na i {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na span {
  text-decoration: line-through;
}

.pricing .buy-btn {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  background-color: var(--background-color);
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%);
  transition: none;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--heading-font);
  transition: 0.3s;
}

.pricing .buy-btn:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .featured {
  z-index: 10;
}

.pricing .featured .pricing-item {
  background: var(--accent-color);
}

@media (min-width: 992px) {
  .pricing .featured .pricing-item {
    transform: scale(1.02, 1.1);
  }
}

.pricing .featured h3,
.pricing .featured h4,
.pricing .featured h4 span,
.pricing .featured ul,
.pricing .featured ul .na,
.pricing .featured ul i,
.pricing .featured ul .na i {
  color: var(--contrast-color);
}

.pricing .featured .buy-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--contrast-color);
}

.pricing .featured .buy-btn:hover {
  background: color-mix(in srgb, var(--background-color), transparent 92%);
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 5px;
  overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.faq .faq-container .faq-item h3 .num {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.faq .faq-container .faq-active h3 {
  color: var(--contrast-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}



/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .swiper-wrapper {
  height: auto;
}

.portfolio-details .swiper-button-prev,
.portfolio-details .swiper-button-next {
  width: 48px;
  height: 48px;
}

.portfolio-details .swiper-button-prev:after,
.portfolio-details .swiper-button-next:after {
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(0, 0, 0, 0.15);
  font-size: 24px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.portfolio-details .swiper-button-prev:hover:after,
.portfolio-details .swiper-button-next:hover:after {
  background-color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 575px) {

  .portfolio-details .swiper-button-prev,
  .portfolio-details .swiper-button-next {
    display: none;
  }
}

.portfolio-details .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.portfolio-details .portfolio-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}

.portfolio-details .portfolio-info ul strong {
  text-transform: uppercase;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.portfolio-details .portfolio-info .btn-visit {
  padding: 8px 40px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50px;
  transition: 0.3s;
}

.portfolio-details .portfolio-info .btn-visit:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

.portfolio-details .portfolio-description .testimonial-item {
  padding: 30px 30px 0 30px;
  position: relative;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  margin-bottom: 50px;
}

.portfolio-details .portfolio-description .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  float: left;
  margin: 0 10px 0 0;
}

.portfolio-details .portfolio-description .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  padding-top: 20px;
}

.portfolio-details .portfolio-description .testimonial-item h4 {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left,
.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.portfolio-details .portfolio-description .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 0 0 0;
  padding: 0;
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/

















/*--------------------------------------------------------------
----------------------------------------------------------------
----------------------------------------------------------------
----------------------------------------------------------------
----------------------------------------------------------------
# RECOMENDACIONES LABORES DE CULTIVO
----------------------------------------------------------------
----------------------------------------------------------------
----------------------------------------------------------------
----------------------------------------------------------------
--------------------------------------------------------------*/













/*--------------------------------------------------------------
# Hero Section - Botones adicionales
--------------------------------------------------------------*/
/* Contenedor de botones */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Ajuste de botones individuales */
.hero-buttons .btn-glass {
  margin-top: 0;
  padding: 12px 28px;
  font-size: 15px;
  min-width: 160px;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .hero-buttons {
    gap: 15px;
    margin-top: 30px;
  }

  .hero-buttons .btn-glass {
    padding: 10px 20px;
    font-size: 14px;
    min-width: 140px;
  }
}

@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-buttons .btn-glass {
    width: auto;
    min-width: 180px;
    padding: 10px 24px;
  }
}


/*--------------------------------------------------------------
# Introducción Section
--------------------------------------------------------------*/
.introduccion {
  background-color: #ffffff;
  padding: 60px 0;
}

/* PRIMERA PARTE */
.introduccion-primera {
  margin-bottom: 50px;
  align-items: center;
}

.introduccion-texto p {
  font-size: 1.1rem;  /* Aumentado de 1rem a 1.1rem */
  line-height: 1.8;
  color: var(--default-color);
  text-align: justify;
  margin-bottom: 0;
}

/* Tarjeta de datos */
.introduccion-datos {
  background: linear-gradient(135deg, #f0f7f0 0%, #e8f0e8 100%);
  border-radius: 16px;
  padding: 25px;
  border-left: 4px solid #3B9EE1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.dato-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.dato-item:last-child {
  margin-bottom: 0;
}

.dato-item i {
  font-size: 28px;
  color: #3B9EE1;
  flex-shrink: 0;
  margin-top: 3px;
}

.dato-item strong {
  display: block;
  color: #226108;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.dato-item span {
  display: block;
  color: #2c3e2b;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}

/* SEGUNDA PARTE */
.introduccion-segunda {
  margin-bottom: 40px;
}

.introduccion-parrafo-centrado {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.introduccion-parrafo-centrado p {
  font-size: 1.2rem;  /* Aumentado de 1.1rem a 1.2rem */
  line-height: 1.8;
  color: #226108;
  font-weight: 500;
  font-style: italic;
  padding: 20px 0;
  border-top: 2px solid rgba(59, 158, 225, 0.2);
  border-bottom: 2px solid rgba(59, 158, 225, 0.2);
}

/* Columnas de cultivos */
.cultivos-grid {
  margin-bottom: 30px;
}

.cultivo-columna {
  background-color: #f9fbf9;
  border-radius: 16px;
  padding: 25px;
  height: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cultivo-columna:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.cultivo-columna h3 {
  color: #3B9EE1;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  font-family: var(--heading-font);
}

.cultivo-lista {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cultivo-lista li {
  padding: 12px 0;
  font-size: 1.05rem;  /* Aumentado de 1rem a 1.05rem */
  color: #226108;
  border-bottom: 1px solid rgba(34, 97, 8, 0.1);
  text-align: center;
  font-weight: 500;
}

.cultivo-lista li:last-child {
  border-bottom: none;
}

/* Frase final - MODIFICADA: texto normal, sin gris ni cursiva */
.introduccion-frase {
  text-align: center;
  margin: 20px 0 50px 0;
}

.introduccion-frase p {
  font-size: 1.05rem;  /* Aumentado de 0.95rem a 1.05rem */
  color: #2c3e2b;      /* Cambiado de #666 a color normal */
  font-style: normal;   /* Cambiado de italic a normal */
  letter-spacing: 0.3px;
  font-weight: 400;     /* Peso normal */
}

/* TERCERA PARTE */
.introduccion-tercera {
  margin-top: 30px;
  align-items: center;
}

.introduccion-texto-conservacionista p {
  font-size: 1.05rem;  /* Aumentado de 0.95rem a 1.05rem */
  line-height: 1.8;
  color: var(--default-color);
  text-align: justify;
  margin-bottom: 20px;
}

.introduccion-texto-conservacionista p:last-child {
  margin-bottom: 0;
}

/* Imagen redondeada */
.introduccion-imagen {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.introduccion-imagen:hover {
  transform: scale(1.02);
}

.rounded-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 992px) {
  .introduccion-primera {
    margin-bottom: 40px;
  }

  .introduccion-texto p {
    margin-bottom: 25px;
  }

  .cultivo-columna {
    margin-bottom: 20px;
  }

  .introduccion-tercera {
    margin-top: 20px;
  }

  .introduccion-imagen {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .introduccion {
    padding: 40px 0;
  }

  .introduccion-parrafo-centrado p {
    font-size: 1.1rem;  /* Ajustado para móvil */
    padding: 15px 0;
  }

  .cultivo-columna h3 {
    font-size: 1.4rem;
  }

  .cultivo-lista li {
    font-size: 0.95rem;
    padding: 10px 0;
  }

  .dato-item i {
    font-size: 24px;
  }

  .dato-item span {
    font-size: 0.9rem;
  }

  .introduccion-texto-conservacionista p {
    font-size: 0.95rem;
  }

  .introduccion-frase p {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .introduccion-datos {
    padding: 20px;
  }

  .dato-item {
    gap: 10px;
  }
}





/*--------------------------------------------------------------
# Erosión Section
--------------------------------------------------------------*/
.erosion {
  background-color: #ffffff;
  padding: 60px 0;
}

.erosion .section-title h2 {
  color: #226108;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 25px;
}

.erosion .section-title p {
  color: var(--default-color);
  font-size: 1.05rem;
  line-height: 1.8;
  text-align: justify;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Bloques generales */
.bloque-erosion {
  margin-bottom: 60px;
}

.bloque-erosion h3 {
  color: #3B9EE1;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid rgba(59, 158, 225, 0.3);
}

.subtitulo-bloque {
  font-size: 1.1rem;
  color: #226108;
  font-weight: 500;
  margin-bottom: 30px;
}

.texto-introductorio {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--default-color);
  margin-bottom: 30px;
  text-align: justify;
}

/* BLOQUE 1: Principios */
.principios-grid {
  display: flex;
  flex-wrap: wrap;
}

.principio-ficha {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #f9fbf9;
  padding: 15px 20px;
  border-radius: 12px;
  margin-bottom: 15px;
  border-left: 4px solid #3B9EE1;
  transition: transform 0.2s ease;
}

.principio-ficha:hover {
  transform: translateX(5px);
}

.principio-ficha i {
  font-size: 24px;
  color: #5ABA0E;
  flex-shrink: 0;
}

.principio-ficha p {
  margin: 0;
  font-size: 1rem;
  color: #2c3e2b;
  line-height: 1.4;
}

.principio-ficha.centrada {
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
}

/* BLOQUE 2: Cubiertas */
.cubiertas-grid {
  display: flex;
  flex-wrap: wrap;
}

.cubierta-ficha {
  background: linear-gradient(135deg, #f0f7f0 0%, #e8f0e8 100%);
  padding: 25px;
  border-radius: 16px;
  height: 100%;
  transition: transform 0.3s ease;
}

.cubierta-ficha:hover {
  transform: translateY(-5px);
}

.cubierta-ficha h4 {
  color: #3B9EE1;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.cubierta-ficha p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #2c3e2b;
  text-align: justify;
  margin: 0;
}

/* BLOQUE 3: Aplicación por cultivo */
.cultivo-aplicacion-ficha {
  background: #ffffff;
  border: 1px solid rgba(34, 97, 8, 0.1);
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.cultivo-aplicacion-ficha:last-child {
  margin-bottom: 0;
}

.cultivo-aplicacion-ficha h4 {
  color: #226108;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 15px;
  padding-left: 15px;
  border-left: 4px solid #3B9EE1;
}

.cultivo-aplicacion-ficha p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--default-color);
  text-align: justify;
  margin: 0;
}

/* BLOQUE 4: Funcionalidad y Mantenimiento */
.funcionalidad-grid {
  margin-bottom: 50px;
}

.funcionalidad-ficha {
  background: #f9fbf9;
  padding: 30px 25px;
  border-radius: 16px;
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease;
}

.funcionalidad-ficha:hover {
  transform: translateY(-5px);
}

.funcionalidad-ficha h4 {
  color: #3B9EE1;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.funcionalidad-ficha p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--default-color);
  text-align: justify;
  margin: 0;
}

/* BLOQUE 5: Limitaciones */
.limitaciones-ficha {
  background: #ffffff;
  border: 1px solid rgba(34, 97, 8, 0.1);
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 20px;
}

.limitaciones-ficha:last-child {
  margin-bottom: 0;
}

.limitaciones-ficha h4 {
  color: #226108;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.limitaciones-ficha p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--default-color);
  text-align: justify;
  margin: 0;
}

/* BLOQUE 6: Pendiente */
.pendiente-grid {
  display: flex;
  flex-wrap: wrap;
}

.pendiente-ficha {
  background: #fff9e6;
  border-radius: 16px;
  padding: 25px;
  height: 100%;
  text-align: center;
  border: 1px solid #ffe5a3;
  transition: transform 0.3s ease;
}

.pendiente-ficha:hover {
  transform: translateY(-5px);
}

.pendiente-ficha i {
  font-size: 48px;
  margin-bottom: 15px;
}

.pendiente-ficha.peligro i {
  color: #e67e22;
}

.pendiente-ficha.advertencia i {
  color: #f39c12;
}

.pendiente-ficha h4 {
  color: #e67e22;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.pendiente-ficha p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #2c3e2b;
  text-align: justify;
  margin: 0;
}

/* BLOQUE 7: Texto final */
.texto-final {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--default-color);
  text-align: justify;
  background: #f9fbf9;
  padding: 30px;
  border-radius: 16px;
  border-left: 4px solid #3B9EE1;
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 992px) {
  .erosion .section-title h2 {
    font-size: 24px;
  }
  
  .bloque-erosion h3 {
    font-size: 1.5rem;
  }
  
  .principio-ficha.centrada {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .erosion {
    padding: 40px 0;
  }
  
  .erosion .section-title h2 {
    font-size: 20px;
  }
  
  .erosion .section-title p {
    font-size: 0.95rem;
  }
  
  .bloque-erosion h3 {
    font-size: 1.3rem;
  }
  
  .subtitulo-bloque {
    font-size: 1rem;
  }
  
  .principio-ficha {
    padding: 12px 15px;
  }
  
  .principio-ficha i {
    font-size: 20px;
  }
  
  .principio-ficha p {
    font-size: 0.9rem;
  }
  
  .cubierta-ficha h4 {
    font-size: 1.1rem;
  }
  
  .cultivo-aplicacion-ficha h4 {
    font-size: 1.1rem;
  }
  
  .funcionalidad-ficha h4 {
    font-size: 1.2rem;
  }
  
  .pendiente-ficha i {
    font-size: 36px;
  }
  
  .texto-final {
    padding: 20px;
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .principio-ficha {
    flex-direction: column;
    text-align: center;
  }
  
  .principio-ficha i {
    margin-bottom: 10px;
  }
  
  .cultivo-aplicacion-ficha h4 {
    padding-left: 0;
    border-left: none;
    border-bottom: 2px solid #3B9EE1;
    padding-bottom: 8px;
  }
}



/*--------------------------------------------------------------
# Fertilización Section
--------------------------------------------------------------*/
.fertilizacion {
  background-color: #ffffff;
  padding: 60px 0;
}

.fertilizacion .section-title h2 {
  color: #226108;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 25px;
}

.fertilizacion .section-title p {
  color: var(--default-color);
  font-size: 1.05rem;
  line-height: 1.8;
  text-align: justify;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Bloques generales */
.bloque-fertilizacion {
  margin-bottom: 60px;
}

.bloque-fertilizacion:last-child {
  margin-bottom: 0;
}

.bloque-fertilizacion h3 {
  color: #3B9EE1;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid rgba(59, 158, 225, 0.3);
}

.texto-introductorio-fertilizacion {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--default-color);
  margin-bottom: 30px;
  text-align: justify;
}

/* Tabla de dosis */
.tabla-responsive {
  overflow-x: auto;
  margin-top: 20px;
}

.tabla-dosis {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.tabla-dosis thead tr {
  background: linear-gradient(135deg, #226108 0%, #2d7a0e 100%);
  color: #ffffff;
}

.tabla-dosis th {
  padding: 15px 20px;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
}

.tabla-dosis td {
  padding: 12px 20px;
  font-size: 0.95rem;
  color: #2c3e2b;
  border-bottom: 1px solid rgba(34, 97, 8, 0.1);
  text-align: left;
}

.tabla-dosis tbody tr:hover {
  background-color: rgba(59, 158, 225, 0.05);
}

.tabla-dosis tbody tr:last-child td {
  border-bottom: none;
}

/* Responsive de tabla */
@media (max-width: 768px) {
  .tabla-dosis th,
  .tabla-dosis td {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
  
  .tabla-dosis td:first-child,
  .tabla-dosis th:first-child {
    font-weight: 600;
    background-color: rgba(34, 97, 8, 0.05);
  }
}

@media (max-width: 576px) {
  .tabla-dosis th,
  .tabla-dosis td {
    padding: 8px 10px;
    font-size: 0.75rem;
  }
}

/* BLOQUE 2: Obligaciones */
.obligaciones-grid {
  display: flex;
  flex-wrap: wrap;
}

.obligacion-ficha {
  background: linear-gradient(135deg, #f0f7f0 0%, #e8f0e8 100%);
  border-radius: 16px;
  padding: 30px 25px;
  height: 100%;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(34, 97, 8, 0.1);
}

.obligacion-ficha:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.obligacion-ficha i {
  font-size: 48px;
  color: #3B9EE1;
  margin-bottom: 20px;
  display: inline-block;
}

.obligacion-ficha h4 {
  color: #226108;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.obligacion-ficha p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #2c3e2b;
  margin: 0;
  text-align: justify;
}

/* Responsive */
@media (max-width: 992px) {
  .fertilizacion .section-title h2 {
    font-size: 24px;
  }
  
  .bloque-fertilizacion h3 {
    font-size: 1.5rem;
  }
  
  .obligacion-ficha {
    padding: 25px 20px;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .fertilizacion {
    padding: 40px 0;
  }
  
  .fertilizacion .section-title h2 {
    font-size: 20px;
  }
  
  .fertilizacion .section-title p {
    font-size: 0.95rem;
  }
  
  .bloque-fertilizacion h3 {
    font-size: 1.3rem;
  }
  
  .texto-introductorio-fertilizacion {
    font-size: 0.95rem;
  }
  
  .obligacion-ficha i {
    font-size: 40px;
  }
  
  .obligacion-ficha h4 {
    font-size: 1.1rem;
  }
  
  .obligacion-ficha p {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .obligacion-ficha {
    padding: 20px 15px;
  }
  
  .obligacion-ficha i {
    font-size: 36px;
    margin-bottom: 15px;
  }
}


/*--------------------------------------------------------------
# Plaguicidas Section
--------------------------------------------------------------*/
.plaguicidas {
  background-color: #ffffff;
  padding: 60px 0;
}

.plaguicidas .section-title h2 {
  color: #226108;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 25px;
}

.plaguicidas .section-title p {
  color: var(--default-color);
  font-size: 1.05rem;
  line-height: 1.8;
  text-align: justify;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Grid de fichas */
.plaguicidas-grid {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* Fichas individuales */
.plaguicida-ficha {
  background: linear-gradient(135deg, #f0f7f0 0%, #e8f0e8 100%);
  border-radius: 20px;
  padding: 35px 25px;
  height: 100%;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(34, 97, 8, 0.08);
  position: relative;
  overflow: hidden;
}

.plaguicida-ficha::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #3B9EE1, #5ABA0E);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.plaguicida-ficha:hover::before {
  transform: scaleX(1);
}

.plaguicida-ficha:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Iconos */
.plaguicida-ficha i {
  font-size: 52px;
  color: #3B9EE1;
  margin-bottom: 25px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.plaguicida-ficha:hover i {
  transform: scale(1.05);
}

/* Títulos */
.plaguicida-ficha h3 {
  color: #226108;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* Párrafos */
.plaguicida-ficha p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #2c3e2b;
  margin: 0;
  text-align: justify;
}

/* Responsive */
@media (max-width: 992px) {
  .plaguicidas .section-title h2 {
    font-size: 24px;
  }
  
  .plaguicida-ficha {
    padding: 30px 20px;
    margin-bottom: 25px;
  }
  
  .plaguicida-ficha i {
    font-size: 46px;
    margin-bottom: 20px;
  }
  
  .plaguicida-ficha h3 {
    font-size: 1.25rem;
  }
}

@media (max-width: 768px) {
  .plaguicidas {
    padding: 40px 0;
  }
  
  .plaguicidas .section-title h2 {
    font-size: 20px;
  }
  
  .plaguicidas .section-title p {
    font-size: 0.95rem;
  }
  
  .plaguicida-ficha {
    padding: 25px 18px;
  }
  
  .plaguicida-ficha i {
    font-size: 40px;
    margin-bottom: 18px;
  }
  
  .plaguicida-ficha h3 {
    font-size: 1.15rem;
    margin-bottom: 15px;
  }
  
  .plaguicida-ficha p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}

@media (max-width: 576px) {
  .plaguicida-ficha {
    padding: 22px 15px;
  }
  
  .plaguicida-ficha i {
    font-size: 36px;
  }
  
  .plaguicida-ficha h3 {
    font-size: 1.1rem;
  }
}


/*--------------------------------------------------------------
# Conclusiones Section
--------------------------------------------------------------*/
.conclusiones {
  background: linear-gradient(135deg, #226108 0%, #2d7a0e 100%);
  padding: 70px 0;
  position: relative;
}

/* Decoración superior */
.conclusiones::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #3B9EE1, #5ABA0E, #3B9EE1);
}

/* Decoración inferior */
.conclusiones::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
}

.conclusiones .section-title {
  margin-bottom: 0;
}

.conclusiones .section-title h2 {
  color: #ffffff;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  text-transform: none;
  letter-spacing: 1px;
}

.conclusiones .section-title p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

/* Responsive */
@media (max-width: 992px) {
  .conclusiones {
    padding: 60px 0;
  }
  
  .conclusiones .section-title h2 {
    font-size: 28px;
    margin-bottom: 25px;
  }
  
  .conclusiones .section-title p {
    font-size: 1rem;
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .conclusiones {
    padding: 50px 0;
  }
  
  .conclusiones .section-title h2 {
    font-size: 22px;
    margin-bottom: 20px;
  }
  
  .conclusiones .section-title p {
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 0 15px;
  }
}

@media (max-width: 576px) {
  .conclusiones {
    padding: 40px 0;
  }
  
  .conclusiones .section-title h2 {
    font-size: 18px;
  }
  
  .conclusiones .section-title p {
    font-size: 0.9rem;
    padding: 0 12px;
  }
}