/**
* Template Name: Gp
* Template URL: https://bootstrapmade.com/gp-free-multipurpose-html-bootstrap-template/
* Updated: Aug 15 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 {
  --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;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #0A3F8D; /* Color for headings, subheadings and title throughout the website - Azul profundo corporativo */
  --accent-color: #2B7CB9; /* Accent color that represents your brand on the website - Azul intermedio corporativo */
  --surface-color: #FDFDFE; /* The surface color is used as a background of boxed elements within sections - Blanco casi puro */
  --contrast-color: #0A3F8D; /* Contrast color for text - Azul profundo corporativo */
  
  /* Colores corporativos adicionales */
  --primary-color: #0A3F8D; /* Azul profundo - Color principal */
  --secondary-color: #2B7CB9; /* Azul intermedio - Detalles y brillos */
  --tertiary-color: #709DC3; /* Azul claro - Transiciones */
  --light-color: #B5CCDF; /* Celeste suave - Tonos pastel */
  --white-color: #FDFDFE; /* Blanco casi puro */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: rgba(255, 255, 255, 0.905);  /* The default color of the main navmenu links */
  --nav-hover-color: #709DC3; /* Applied to main navmenu links when they are hovered over or active - Azul claro */
  --nav-mobile-background-color: #FDFDFE; /* Used as the background color for mobile navigation menu - Blanco casi puro */
  --nav-dropdown-background-color: #FDFDFE; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #0A3F8D; /* Used for navigation links of the dropdown items in the navigation menu - Azul profundo */
  --nav-dropdown-hover-color: #2B7CB9; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over - Azul intermedio */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #B5CCDF;
  --surface-color: #FDFDFE;
}

.dark-background {
  --background-color: #0A3F8D;
  --default-color: #FDFDFE;
  --heading-color: #FDFDFE;
  --surface-color: #2B7CB9;
  --contrast-color: #709DC3;
}

/* 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);
}

/* 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 {
  --background-color: rgba(0, 0, 0, 0.8);
  --heading-color: #ffffff;
  --contrast-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 10px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
  flex: 0 0 auto;
  /* Escritorio (>1200px): ~25% más que la referencia previa */
  width: 28.75%;
  min-width: 225px;
  max-width: 400px;
}

.header .logo img {
  height: 12.5vh;
  min-height: 94px;
  max-height: 131px;
  width: auto;
  margin-right: 8px;
  object-fit: contain;
  /* Sombra blanca para destacar el logo azul sobre fondo azul oscuro */
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8))
          drop-shadow(0 0 3px rgba(255, 255, 255, 0.6))
          drop-shadow(0 0 1px rgba(255, 255, 255, 1));
  transition: filter 0.3s ease;
}

.header .logo img:hover {
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 1))
          drop-shadow(0 0 6px rgba(255, 255, 255, 0.8))
          drop-shadow(0 0 2px rgba(255, 255, 255, 1));
}

/* Ajustes responsive basados en porcentajes del navbar - agrandados 30% */
@media (max-width: 1200px) {
  .header .logo {
    width: 26%; /* Más espacio proporcional en tablets */
  }
  .header .logo img {
    height: 9vh;
    max-height: 90px;
  }
}

@media (max-width: 768px) {
  .header .logo {
    width: 32%; /* Mayor proporción en móviles */
  }
  .header .logo img {
    height: 8vh;
    max-height: 78px;
  }
}

@media (max-width: 480px) {
  .header .logo {
    width: 39%; /* Proporción prominente en móviles pequeños */
  }
  .header .logo img {
    height: 6.5vh;
    min-height: 65px;
    max-height: 72px;
  }
}

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

.header .logo span {
  color: var(--accent-color);
  font-size: 32px;
}

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

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--default-color);
  background: var(--accent-color);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

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

/* Index Page Header
------------------------------*/
.index-page .header {
  --background-color: rgba(0, 0, 0, 0);
}

/* Index Page Header on Scroll
------------------------------*/
.index-page.scrolled .header {
  --background-color: rgba(0, 0, 0, 0.8);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .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: 0;
    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 {
    background-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: 1199px) {
  .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), white 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: color-mix(in srgb, var(--accent-color), white 90%);
  }

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

  .navmenu .active i,
  .navmenu .active:focus i {
    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;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding: 50px 0;
  background-color: color-mix(in srgb, var(--footer-background-color) 90%, white 10%);
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 10px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
  color: var(--heading-color);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  background-color: color-mix(in srgb, var(--default-color) 5%, white 10%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  font-size: 16px;
  margin-right: 10px;
  transition: 0.3s;
}

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

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

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

.footer .footer-links ul i {
  margin-right: 4px;
  font-size: 12px;
  line-height: 0;
  color: var(--accent-color);
}

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

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

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

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  display: flex;
  background-color: color-mix(in srgb, var(--footer-background-color) 90%, white 15%);
  transition: 0.3s;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: color-mix(in srgb, var(--footer-background-color) 90%, white 15%);
  color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .copyright {
  padding: 25px 0;
  background: rgba(0, 0, 0, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .copyright p {
  margin-bottom: 5px;
  font-size: 14px;
}

.footer .credits {
  margin-top: 4px;
  font-size: 13px;
  opacity: 0.8;
}

/* Footer personalizado - R&M Servicios */
.footer .footer-brand {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.footer .footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin: 15px 0;
  font-size: 14px;
}

.footer .footer-contact p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.footer .footer-contact i {
  color: #25D366;
  font-size: 16px;
}

.footer .social-links a {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  border-radius: 50%;
}

.footer .social-links a:hover {
  background: linear-gradient(135deg, #128C7E, #075E54);
  transform: scale(1.1);
}

/* Franja de Colaboradores - Debajo del footer */
.colaboradores-franja {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 40px 0;
  border-top: 3px solid #dee2e6;
}

.colaboradores-titulo {
  font-size: 18px;
  font-weight: 700;
  color: #2c3e50;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
}

.colaboradores-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.colaborador-link {
  display: block;
  padding: 15px 25px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.colaborador-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.colaborador-logo-color {
  height: 60px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  transition: all 0.3s ease;
}

.colaborador-link:hover .colaborador-logo-color {
  transform: scale(1.05);
}

/* Responsive footer y colaboradores */
@media (max-width: 768px) {
  .footer .footer-about {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .footer .social-links {
    justify-content: center;
  }
  
  .footer .footer-contact p {
    justify-content: center;
  }
  
  .colaboradores-franja {
    padding: 30px 0;
  }
  
  .colaboradores-titulo {
    font-size: 16px;
  }
  
  .colaboradores-grid {
    gap: 30px;
  }
  
  .colaborador-logo-color {
    height: 50px;
    max-width: 140px;
  }
  
  .colaborador-link {
    padding: 12px 20px;
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: #000;
  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;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

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

/*--------------------------------------------------------------
# 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);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 20px 0;
}

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

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

.page-title nav 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: 80px;
  overflow: clip;
}

@media (max-width: 1199px) {

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

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

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: var(--heading-color);
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 140px 0 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Video de fondo */
.hero-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

/* Overlay para mejorar legibilidad - Reajustado sin abuso de azul */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20, 25, 35, 0.88) 0%,
    rgba(30, 35, 45, 0.82) 30%,
    rgba(10, 63, 141, 0.65) 70%,
    rgba(43, 124, 185, 0.55) 100%
  );
  z-index: 2;
}

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

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

/* Títulos del Hero */
.hero-title {
  margin: 0 0 20px 0;
  font-size: 62px;
  font-weight: 800;
  font-family: var(--heading-font);
  color: var(--white-color);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: -1px;
}

.hero-subtitle {
  margin: 0 0 15px 0;
  font-size: 26px;
  font-weight: 500;
  color: var(--white-color);
  line-height: 1.4;
}

.hero-description {
  margin: 0 0 30px 0;
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Botones del Hero */
.hero-buttons {
  margin-top: 40px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-transform: none;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-hero.btn-primary {
  background: var(--secondary-color);
  color: var(--white-color);
  border-color: var(--secondary-color);
}

.btn-hero.btn-primary:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 124, 185, 0.4);
}

.btn-hero.btn-secondary {
  background: var(--white-color);
  color: var(--primary-color);
  border-color: var(--white-color);
}

.btn-hero.btn-secondary:hover {
  background: var(--light-color);
  border-color: var(--light-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.btn-hero.btn-outline {
  background: transparent;
  color: var(--white-color);
  border-color: var(--white-color);
}

.btn-hero.btn-outline:hover {
  background: var(--white-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 48px;
  }
  
  .hero-subtitle {
    font-size: 22px;
  }
  
  .hero-description {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 80px 0;
  }
  
  .hero-title {
    font-size: 38px;
  }

  .hero-subtitle {
    font-size: 20px;
  }
  
  .hero-description {
    font-size: 16px;
  }
  
  .btn-hero {
    padding: 12px 24px;
    font-size: 15px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-buttons .btn-hero {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 18px;
  }
  
  .hero-description {
    font-size: 15px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-size: 1.75rem;
  font-weight: 700;
}

.about .content .fst-italic {
  color: color-mix(in srgb, var(--default-color), var(--contrast-color) 50%);
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding: 10px 0 0 0;
  display: flex;
}

.about .content ul i {
  color: var(--accent-color);
  margin-right: 0.5rem;
  line-height: 1.2;
  font-size: 1.25rem;
}

.about .content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Proveedores Section
--------------------------------------------------------------*/
.proveedores {
  padding: 40px 0;
  background: #f8f9fa;
}

.proveedores .section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.proveedores .section-title p {
  font-size: 16px;
  color: var(--default-color);
  margin-bottom: 30px;
}

.proveedores .swiper {
  padding: 20px 0;
}

.proveedores .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  height: 120px;
}

.proveedores .swiper-slide img {
  max-width: 140px;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: all 0.4s ease;
}

.proveedores .swiper-slide img:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.15);
}

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

.proveedores .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: var(--light-color);
  opacity: 1;
  transition: all 0.3s ease;
}

.proveedores .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--secondary-color);
  width: 25px;
  border-radius: 5px;
}

/*--------------------------------------------------------------
# Clientes Section - Tarjetas con texto e iconos
--------------------------------------------------------------*/
.clientes {
  padding: 50px 0;
  background: #fafafa;
}

.clientes .section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
}

.clientes .section-title p {
  font-size: 16px;
  color: #5a6c7d;
  margin-bottom: 40px;
}

.clientes-grid {
  margin-top: 20px;
}

.cliente-card {
  background: white;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-top: 4px solid transparent;
}

.cliente-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e0e0e0, #f5f5f5);
  transition: all 0.4s ease;
}

.cliente-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.cliente-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 30px;
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
}

.cliente-card:hover .cliente-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.cliente-card h4 {
  font-size: 19px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 8px;
  line-height: 1.3;
}

.cliente-sector {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
  opacity: 0.7;
}

.cliente-detalles {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  flex-grow: 1;
}

.cliente-detalles li {
  font-size: 14px;
  line-height: 1.6;
  color: #5a6c7d;
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
}

.cliente-detalles li i {
  font-size: 14px;
  margin-right: 8px;
  margin-top: 3px;
  flex-shrink: 0;
}

.cliente-periodo {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-top: 10px;
  background: #f0f0f0;
  color: #5a6c7d;
}

/* Colores específicos por sector - SIN AZULES */

/* Energía - Verde/Amarillo */
.cliente-energia .cliente-icon {
  background: linear-gradient(135deg, #52b788, #95d5b2);
}

.cliente-energia:hover::before {
  background: linear-gradient(90deg, #52b788, #95d5b2);
}

.cliente-energia .cliente-sector {
  color: #52b788;
}

.cliente-energia .cliente-detalles li i {
  color: #52b788;
}

/* Minería - Naranja/Tierra */
.cliente-mineria .cliente-icon {
  background: linear-gradient(135deg, #f77f00, #fcbf49);
}

.cliente-mineria:hover::before {
  background: linear-gradient(90deg, #f77f00, #fcbf49);
}

.cliente-mineria .cliente-sector {
  color: #f77f00;
}

.cliente-mineria .cliente-detalles li i {
  color: #f77f00;
}

/* Servicios - Turquesa (más verde que azul) */
.cliente-servicios .cliente-icon {
  background: linear-gradient(135deg, #06aed5, #48cae4);
}

.cliente-servicios:hover::before {
  background: linear-gradient(90deg, #06aed5, #48cae4);
}

.cliente-servicios .cliente-sector {
  color: #06aed5;
}

.cliente-servicios .cliente-detalles li i {
  color: #06aed5;
}

/* Infraestructura - Gris/Plata */
.cliente-infraestructura .cliente-icon {
  background: linear-gradient(135deg, #6c757d, #adb5bd);
}

.cliente-infraestructura:hover::before {
  background: linear-gradient(90deg, #6c757d, #adb5bd);
}

.cliente-infraestructura .cliente-sector {
  color: #6c757d;
}

.cliente-infraestructura .cliente-detalles li i {
  color: #6c757d;
}

/* Construcción - Verde oscuro/Oliva */
.cliente-construccion .cliente-icon {
  background: linear-gradient(135deg, #386641, #6a994e);
}

.cliente-construccion:hover::before {
  background: linear-gradient(90deg, #386641, #6a994e);
}

.cliente-construccion .cliente-sector {
  color: #386641;
}

.cliente-construccion .cliente-detalles li i {
  color: #386641;
}

/* Responsive */
@media (max-width: 768px) {
  .cliente-card {
    margin-bottom: 20px;
  }
  
  .cliente-card h4 {
    font-size: 17px;
  }
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .features-image {
  position: relative;
  min-height: 400px;
}

.features .features-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.features .features-item h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 5px 0;
}

.features .features-item i {
  font-size: 48px;
  color: var(--accent-color);
  margin-right: 20px;
  line-height: 0;
}

.features .features-item p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
#services.services,
.services {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  /* Fondo limpio sin abuso de azul */
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #f8f9fa 50%,
    #e9ecef 100%
  );
}

/* Contenedor de partículas - Colores neutros */
.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(200, 200, 200, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(180, 180, 180, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(10, 63, 141, 0.05) 0%, transparent 50%);
  animation: particleFloat 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes particleFloat {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0.6;
  }
  33% {
    transform: translateY(-20px) translateX(10px);
    opacity: 0.8;
  }
  66% {
    transform: translateY(10px) translateX(-15px);
    opacity: 0.7;
  }
}

/* Partículas animadas adicionales */
.services-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(200, 200, 200, 0.3);
  box-shadow: 0 0 10px rgba(180, 180, 180, 0.2);
  animation: particleMove 15s infinite ease-in-out;
}

.particle:nth-child(1) {
  width: 4px;
  height: 4px;
  left: 10%;
  top: 20%;
  animation-delay: 0s;
  animation-duration: 12s;
}

.particle:nth-child(2) {
  width: 6px;
  height: 6px;
  left: 30%;
  top: 60%;
  animation-delay: 2s;
  animation-duration: 18s;
}

.particle:nth-child(3) {
  width: 3px;
  height: 3px;
  left: 70%;
  top: 30%;
  animation-delay: 4s;
  animation-duration: 14s;
}

.particle:nth-child(4) {
  width: 5px;
  height: 5px;
  left: 50%;
  top: 80%;
  animation-delay: 1s;
  animation-duration: 16s;
}

.particle:nth-child(5) {
  width: 4px;
  height: 4px;
  left: 85%;
  top: 50%;
  animation-delay: 3s;
  animation-duration: 13s;
}

.particle:nth-child(6) {
  width: 7px;
  height: 7px;
  left: 15%;
  top: 70%;
  animation-delay: 5s;
  animation-duration: 20s;
}

.particle:nth-child(7) {
  width: 3px;
  height: 3px;
  left: 60%;
  top: 15%;
  animation-delay: 2.5s;
  animation-duration: 15s;
}

.particle:nth-child(8) {
  width: 5px;
  height: 5px;
  left: 90%;
  top: 75%;
  animation-delay: 4.5s;
  animation-duration: 17s;
}

@keyframes particleMove {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  50% {
    transform: translate(100px, -150px) scale(1.2);
    opacity: 0.8;
  }
  90% {
    opacity: 0.4;
  }
  100% {
    transform: translate(-50px, 200px) scale(0.8);
    opacity: 0;
  }
}

/* Asegurar que el contenido esté sobre las partículas */
.services .container {
  position: relative;
  z-index: 1;
}

/*--------------------------------------------------------------
# Story Parallax Section
--------------------------------------------------------------*/
.story {
  padding: 0;
}

.story-parallax {
  position: relative;
  min-height: 70vh;
  background-image: linear-gradient(135deg, rgba(10, 63, 141, 0.75), rgba(2, 17, 40, 0.85)), url('../img/parallax-nosotros.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 140px 0;
}

@media (max-width: 992px) {
  .story-parallax {
    background-attachment: scroll;
    padding: 100px 0;
  }
}

.story-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(1, 10, 24, 0.45) 0%, rgba(10, 63, 141, 0.25) 100%);
  z-index: 1;
}

.story-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 28px;
  padding: 60px 50px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.35);
  color: #fff;
}

@media (max-width: 768px) {
  .story-card {
    padding: 40px 30px;
  }
}

.story-kicker {
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
}

.story-kicker::before {
  content: '';
  width: 32px;
  height: 2px;
  background: rgba(255, 255, 255, 0.6);
}

.story-card h3 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--white-color);
  text-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.story-card p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.92);
}

.story-card p:last-child {
  margin-bottom: 0;
}

.story-highlights {
  margin-top: 35px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.story-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 16px;
  background: rgba(5, 23, 53, 0.45);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.story-item i {
  font-size: 28px;
  color: var(--accent-color);
  background: rgba(255, 255, 255, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.story-item h4 {
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--white-color);
}

.story-item p {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .story-card h3 {
    font-size: 26px;
  }

  .story-card p {
    font-size: 16px;
  }
}

/*--------------------------------------------------------------
# Reasons Section
--------------------------------------------------------------*/
.reasons {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, #ffffff, #f8f9fa);
}

.reasons::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(113, 198, 196, 0.08), transparent 60%),
              radial-gradient(circle at bottom right, rgba(243, 156, 76, 0.08), transparent 55%);
  pointer-events: none;
}

.reasons .container {
  position: relative;
  z-index: 1;
}

.reasons-header {
  text-align: center;
  margin-bottom: 40px;
}

.reasons-kicker {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 10px;
}

.reasons-header h3 {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.reasons-header p {
  max-width: 540px;
  margin: 0 auto;
  color: rgba(10, 63, 141, 0.7);
}

.reasons-grid {
  position: relative;
  z-index: 2;
}

.reason-badge {
  position: relative;
  background: linear-gradient(to bottom, #ffffff, #f8f9fa);
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.reason-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.7) 0%, transparent 35%, transparent 65%, rgba(255, 255, 255, 0.4) 100%);
  opacity: 0;
  transform: translateX(-150%);
}

.reason-badge:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.reason-badge:hover::after {
  opacity: 1;
  animation: shine 0.9s forwards;
}

.badge-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.reason-badge:hover .badge-glow {
  opacity: 1;
}

.reason-badge i {
  font-size: 30px;
  color: var(--white-color);
  display: inline-flex;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  z-index: 1;
  position: relative;
  background: linear-gradient(135deg, #6c757d, #495057);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}


@keyframes shine {
  0% {
    transform: translateX(-150%);
    opacity: 0;
  }
  30% {
    opacity: 0.8;
  }
  100% {
    transform: translateX(150%);
    opacity: 0;
  }
}

.reason-badge h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
  z-index: 1;
  position: relative;
}

.reason-badge p {
  margin: 0;
  font-size: 15px;
  color: #6c757d;
  z-index: 1;
  position: relative;
}

/* Colores diferenciados por tarjeta */
.reason-badge:nth-child(1) i,
.reason-badge:nth-child(5) i {
  background: linear-gradient(135deg, #71c6c4, #4a9d9a);
}
.reason-badge:nth-child(1):hover .badge-glow,
.reason-badge:nth-child(5):hover .badge-glow {
  background: linear-gradient(135deg, rgba(113, 198, 196, 0.15), rgba(74, 157, 154, 0.1));
  opacity: 1;
}

.reason-badge:nth-child(2) i,
.reason-badge:nth-child(6) i {
  background: linear-gradient(135deg, #f39c4c, #e6884a);
}
.reason-badge:nth-child(2):hover .badge-glow,
.reason-badge:nth-child(6):hover .badge-glow {
  background: linear-gradient(135deg, rgba(243, 156, 76, 0.15), rgba(230, 136, 74, 0.1));
  opacity: 1;
}

.reason-badge:nth-child(3) i,
.reason-badge:nth-child(7) i {
  background: linear-gradient(135deg, #5dade2, #3498db);
}
.reason-badge:nth-child(3):hover .badge-glow,
.reason-badge:nth-child(7):hover .badge-glow {
  background: linear-gradient(135deg, rgba(93, 173, 226, 0.15), rgba(52, 152, 219, 0.1));
  opacity: 1;
}

.reason-badge:nth-child(4) i,
.reason-badge:nth-child(8) i {
  background: linear-gradient(135deg, #95a5a6, #7f8c8d);
}
.reason-badge:nth-child(4):hover .badge-glow,
.reason-badge:nth-child(8):hover .badge-glow {
  background: linear-gradient(135deg, rgba(149, 165, 166, 0.15), rgba(127, 140, 141, 0.1));
  opacity: 1;
}

@media (max-width: 768px) {
  .reasons-header h3 {
    font-size: 26px;
  }

  .reason-badge {
    padding: 28px 22px;
  }
}

/*--------------------------------------------------------------
# Environmental Commitment Section
--------------------------------------------------------------*/
.environment {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #f5fbff 0%, #e4f1ff 35%, #dcf2f0 100%);
}

.environment::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(113, 198, 196, 0.25), transparent 45%),
              radial-gradient(circle at 80% 70%, rgba(43, 124, 185, 0.2), transparent 55%);
  pointer-events: none;
}

.environment .container {
  position: relative;
  z-index: 1;
}

.env-header {
  text-align: center;
  margin-bottom: 50px;
}

.env-kicker {
  text-transform: uppercase;
  letter-spacing: 4px;
  color: rgba(33, 87, 82, 0.7);
  margin-bottom: 12px;
  font-size: 14px;
}

.env-header h3 {
  font-size: 32px;
  font-weight: 800;
  color: #0e4b61;
  margin-bottom: 12px;
}

.env-header p {
  color: rgba(14, 75, 97, 0.8);
  max-width: 560px;
  margin: 0 auto;
}

.eco-orbit {
  position: relative;
  width: min(580px, 90vw);
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}

.orbit-path {
  position: absolute;
  inset: 10%;
  border: 2px dashed rgba(14, 75, 97, 0.25);
  border-radius: 50%;
  animation: orbitSpin 18s linear infinite;
}

.eco-center {
  position: absolute;
  inset: 35%;
  border-radius: 50%;
  background: rgba(3, 25, 32, 0.9);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 20px;
}

.eco-center i {
  font-size: 48px;
  margin-bottom: 10px;
  color: #7bd3a1;
}

.eco-center span {
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.eco-card {
  position: absolute;
  width: 190px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(9, 49, 60, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: pulseCard 5s ease-in-out infinite;
}

.eco-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0e4b61;
  margin-bottom: 6px;
}

.eco-card p {
  margin: 0;
  font-size: 14px;
  color: rgba(14, 75, 97, 0.8);
}

.eco-card-1 {
  top: -25px;
  left: 50%;
  transform: translate(-50%, 0);
}

.eco-card-2 {
  top: 22%;
  right: -5%;
  transform: translate(-20%, -25%);
}

.eco-card-3 {
  top: 22%;
  left: -5%;
  transform: translate(20%, -25%);
}

.eco-card-4 {
  bottom: -3%;
  left: 15%;
  transform: translate(-15%, 0);
}

.eco-card-5 {
  bottom: -3%;
  right: 15%;
  transform: translate(15%, 0);
}

@media (max-width: 768px) {
  .env-header h3 {
    font-size: 26px;
  }

  .eco-card {
    width: 150px;
    padding: 14px 16px;
  }
  .eco-card-1,
  .eco-card-2,
  .eco-card-3,
  .eco-card-4,
  .eco-card-5 {
    position: static;
    transform: none;
    width: 100%;
    margin-bottom: 15px;
    animation: none;
  }
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulseCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Estilos del título de servicios sobre el degradado */
.services .section-title {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 30px 40px;
  border-radius: 20px;
  margin-bottom: 50px;
  box-shadow: 0 8px 32px rgba(10, 63, 141, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.services .section-title h2 {
  color: var(--primary-color);
  font-weight: 600;
}

.services .section-title p {
  color: var(--primary-color);
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
  margin-top: 10px;
}

.service-card {
  background: var(--white-color);
  border-radius: 16px;
  padding: 40px 30px;
  height: 100%;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 0 25px 0;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.service-icon i {
  font-size: 36px;
  color: white;
}

/* Colores específicos por tipo de servicio */

/* Verde - Aseo Industrial */
.service-card-verde .service-icon {
  background: linear-gradient(135deg, #52b788, #95d5b2);
}

.service-card-verde:hover {
  border-color: #52b788;
  box-shadow: 0 12px 40px rgba(82, 183, 136, 0.2);
}

.service-card-verde:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(82, 183, 136, 0.4);
}

.service-card-verde::before {
  background: linear-gradient(90deg, #52b788, #95d5b2);
}

/* Naranja - Tratamientos de Pisos */
.service-card-naranja .service-icon {
  background: linear-gradient(135deg, #f77f00, #fcbf49);
}

.service-card-naranja:hover {
  border-color: #f77f00;
  box-shadow: 0 12px 40px rgba(247, 127, 0, 0.2);
}

.service-card-naranja:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(247, 127, 0, 0.4);
}

.service-card-naranja::before {
  background: linear-gradient(90deg, #f77f00, #fcbf49);
}

/* Verde Eco - Gestión de Residuos */
.service-card-verde-eco .service-icon {
  background: linear-gradient(135deg, #06aed5, #48cae4);
}

.service-card-verde-eco:hover {
  border-color: #06aed5;
  box-shadow: 0 12px 40px rgba(6, 174, 213, 0.2);
}

.service-card-verde-eco:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(6, 174, 213, 0.4);
}

.service-card-verde-eco::before {
  background: linear-gradient(90deg, #06aed5, #48cae4);
}

/* Gris - Servicios Especiales */
.service-card-gris .service-icon {
  background: linear-gradient(135deg, #6c757d, #adb5bd);
}

.service-card-gris:hover {
  border-color: #6c757d;
  box-shadow: 0 12px 40px rgba(108, 117, 125, 0.2);
}

.service-card-gris:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(108, 117, 125, 0.4);
}

.service-card-gris::before {
  background: linear-gradient(90deg, #6c757d, #adb5bd);
}

.service-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.service-card:hover h3 {
  color: var(--secondary-color);
}

.service-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
}

.service-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(10, 63, 141, 0.1);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--secondary-color);
  font-size: 15px;
  transition: gap 0.3s ease;
}

.service-card:hover .service-link {
  gap: 12px;
}

.service-link i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-link i {
  transform: translateX(4px);
}

/*--------------------------------------------------------------
# Service Modal - Glassmorphism Effect
--------------------------------------------------------------*/
.service-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.service-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 63, 141, 0.75);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  cursor: pointer;
  z-index: 1;
}

.modal-window {
  position: relative;
  width: 100%;
  max-width: 850px;
  max-height: 90vh;
  z-index: 2;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 24px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 
    0 8px 32px rgba(10, 63, 141, 0.3),
    0 20px 60px rgba(10, 63, 141, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset,
    0 2px 0 0 rgba(255, 255, 255, 1) inset;
  overflow: hidden;
  transform: scale(0.9) translateY(30px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-modal.active .modal-window {
  transform: scale(1) translateY(0);
  opacity: 1;
}


.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(10, 63, 141, 0.1);
  color: var(--primary-color);
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modal-close:hover {
  background: var(--primary-color);
  color: white;
  transform: rotate(90deg);
  box-shadow: 0 6px 20px rgba(10, 63, 141, 0.3);
}

.modal-content {
  padding: 60px 50px 50px;
  overflow-y: auto;
  max-height: 90vh;
  /* Scrollbar personalizado */
  scrollbar-width: thin;
  scrollbar-color: var(--secondary-color) rgba(10, 63, 141, 0.1);
}

.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(10, 63, 141, 0.05);
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

.modal-content h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-shadow: 0 2px 4px rgba(10, 63, 141, 0.1);
}

.modal-content h2 i {
  font-size: 48px;
  color: var(--secondary-color);
  padding: 15px;
  background: linear-gradient(135deg, rgba(43, 124, 185, 0.1), rgba(112, 157, 195, 0.1));
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(43, 124, 185, 0.15);
}

.modal-content .modal-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(43, 124, 185, 0.2);
}

.modal-content h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--primary-color);
  margin: 25px 0 15px 0;
}

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

.modal-content ul li {
  padding: 12px 0;
  padding-left: 35px;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
  color: #444;
}

.modal-content ul li::before {
  content: '\F26B';
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-size: 20px;
}

.modal-content .modal-footer {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid rgba(10, 63, 141, 0.1);
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.modal-content .btn-modal {
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.modal-content .btn-modal.btn-primary {
  background: var(--secondary-color);
  color: white;
  border: 2px solid var(--secondary-color);
}

.modal-content .btn-modal.btn-primary:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 124, 185, 0.3);
}

.modal-content .btn-modal.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

/* Responsive */
@media (max-width: 768px) {
  .modal-window {
    max-width: 95%;
    max-height: 90vh;
    border-radius: 16px;
  }
  
  .modal-content {
    padding: 40px 25px 25px;
  }
  
  .modal-content h2 {
    font-size: 26px;
  }
  
  .service-card {
    padding: 30px 25px;
  }
}

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

.call-to-action img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.call-to-action:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.call-to-action .container {
  position: relative;
  z-index: 3;
}

.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(--default-color);
  color: var(--default-color);
}

.call-to-action .cta-btn:hover {
  background: var(--accent-color);
  color: var(--background-color);
  border: 2px solid var(--accent-color);
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 20px 10px 20px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 5px;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  font-family: var(--heading-font);
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 0 10px 0;
  }
}

.portfolio .portfolio-item {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -100%;
  z-index: 3;
  transition: all ease-in-out 0.5s;
  background: color-mix(in srgb, var(--background-color), transparent 10%);
  padding: 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 14px);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: 0.3s;
  line-height: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 14px;
  font-size: 28px;
}

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

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  padding: 10px;
}

.stats .stats-item i {
  font-size: 44px;
  color: var(--accent-color);
  line-height: 0;
  margin-right: 15px;
}

.stats .stats-item .purecounter {
  color: var(--heading-color);
  font-size: 40px;
  display: block;
  font-weight: 700;
  line-height: 40px;
}

.stats .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 15px 0 0 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  padding: 80px 0;
  position: relative;
}

.testimonials:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.testimonials .testimonials-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.testimonials .container {
  position: relative;
  z-index: 3;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
}

.testimonials .testimonial-item .testimonial-img {
  width: 100px;
  border-radius: 50%;
  border: 6px solid color-mix(in srgb, var(--default-color), transparent 85%);
  margin: 0 auto;
}

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

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

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  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 auto 15px auto;
}

.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: color-mix(in srgb, var(--default-color), transparent 50%);
  opacity: 0.5;
}

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

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member {
  background-color: var(--surface-color);
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0px 2px 15px 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;
}

/*--------------------------------------------------------------
# Contact Section - Rediseñada sin formulario
--------------------------------------------------------------*/
.contact {
  padding: 60px 0;
  background: white;
}

.contact .section-title h2 {
  color: #2c3e50;
}

.contact .section-title p {
  color: #5a6c7d;
}

/* Tarjetas de información de contacto */
.contact-info-card {
  background: white;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  text-align: center;
  height: 100%;
  border-top: 4px solid #f0f0f0;
}

.contact-info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
  border-top-color: #25D366;
}

.contact-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  margin: 0 auto 20px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
  transition: all 0.4s ease;
}

.contact-info-card:hover .contact-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}

.contact-info-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}

.contact-info-card p {
  font-size: 15px;
  color: #5a6c7d;
  margin: 0;
  line-height: 1.8;
}

.contact-info-card a {
  color: #25D366;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-info-card a:hover {
  color: #128C7E;
  text-decoration: underline;
}

/* CTA WhatsApp grande en la sección de contacto */
.contact-cta {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 50px 30px;
  border-radius: 15px;
  text-align: center;
}

.contact-cta h3 {
  font-size: 28px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}

.contact-cta p {
  font-size: 16px;
  color: #5a6c7d;
  margin-bottom: 30px;
}

.btn-whatsapp-large {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  transition: all 0.4s ease;
}

.btn-whatsapp-large:hover {
  background: linear-gradient(135deg, #128C7E, #075E54);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
  color: white;
}

.btn-whatsapp-large i {
  font-size: 28px;
}

/*--------------------------------------------------------------
# Botón Flotante de WhatsApp
--------------------------------------------------------------*/
.whatsapp-float {
  position: fixed;
  width: 65px;
  height: 65px;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 35px;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 10px 40px rgba(37, 211, 102, 0.7);
  background: linear-gradient(135deg, #128C7E, #075E54);
  color: white;
}

/* Animación de pulso */
@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5), 0 0 0 15px rgba(37, 211, 102, 0.2);
  }
  100% {
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    font-size: 28px;
    bottom: 20px;
    right: 20px;
  }
  
  .btn-whatsapp-large {
    padding: 15px 30px;
    font-size: 16px;
  }
  
  .contact-cta h3 {
    font-size: 24px;
  }
}

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

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

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

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

.portfolio-details .portfolio-info {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

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

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

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

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .service-box {
  background-color: var(--surface-color);
  padding: 20px;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
}

.service-details .service-box+.service-box {
  margin-top: 30px;
}

.service-details .service-box h4 {
  font-size: 20px;
  font-weight: 700;
  border-bottom: 2px solid color-mix(in srgb, var(--default-color), transparent 92%);
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.service-details .services-list {
  background-color: var(--surface-color);
}

.service-details .services-list a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  display: flex;
  align-items: center;
  padding: 12px 15px;
  margin-top: 15px;
  transition: 0.3s;
}

.service-details .services-list a:first-child {
  margin-top: 0;
}

.service-details .services-list a i {
  font-size: 16px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .services-list a.active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.service-details .services-list a.active i {
  color: var(--contrast-color);
}

.service-details .services-list a:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
}

.service-details .download-catalog a {
  color: var(--default-color);
  display: flex;
  align-items: center;
  padding: 10px 0;
  transition: 0.3s;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .download-catalog a:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-details .download-catalog a:last-child {
  padding-bottom: 0;
}

.service-details .download-catalog a i {
  font-size: 24px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .download-catalog a:hover {
  color: var(--accent-color);
}

.service-details .help-box {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  margin-top: 30px;
  padding: 30px 15px;
}

.service-details .help-box .help-icon {
  font-size: 48px;
}

.service-details .help-box h4,
.service-details .help-box a {
  color: var(--contrast-color);
}

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

.service-details h3 {
  font-size: 26px;
  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);
}

/*--------------------------------------------------------------
# Galería Section
--------------------------------------------------------------*/
.galeria {
  padding: 60px 0;
  background: white;
}

.galeria .section-title h2 {
  color: #2c3e50;
}

.galeria .section-title p {
  color: #5a6c7d;
}

.galeria-grid {
  margin-top: 30px;
}

.galeria-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  height: 300px;
}

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

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.galeria-item:hover img {
  transform: scale(1.1);
}

.galeria-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.85), rgba(18, 140, 126, 0.85));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.galeria-item:hover .galeria-overlay {
  opacity: 1;
}

.galeria-overlay i {
  font-size: 48px;
  color: white;
  animation: zoomPulse 1.5s ease-in-out infinite;
}

@keyframes zoomPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

.galeria-item a {
  display: block;
  height: 100%;
}

/* Responsive galería */
@media (max-width: 768px) {
  .galeria-item {
    height: 250px;
  }
}

@media (max-width: 576px) {
  .galeria-item {
    height: 220px;
  }
  
  .galeria-overlay i {
    font-size: 36px;
  }
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

/*--------------------------------------------------------------
# Historia Timeline Section - Nueva sección interactiva
--------------------------------------------------------------*/
.historia-timeline {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  color: var(--default-color);
  background: linear-gradient(to bottom, #f0f4f8, #e1e8ed, #f0f4f8);
}

.historia-header {
  margin-bottom: 60px;
}

.historia-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(10, 63, 141, 0.3);
}

.historia-header h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.historia-intro {
  font-size: 18px;
  color: var(--default-color);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Timeline */
.timeline-wrapper {
  position: relative;
  padding: 40px 0;
}

.timeline-wrapper::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color), var(--tertiary-color));
  transform: translateX(-50%);
  box-shadow: 0 0 20px rgba(10, 63, 141, 0.3);
}

.timeline-item {
  display: flex;
  margin-bottom: 60px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-marker {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.timeline-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  border: 5px solid white;
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-icon {
  transform: scale(1.15) rotate(360deg);
}

/* Timeline - Colores por año */

/* 2012 - Amarillo/Dorado (Inicio) */
.timeline-amarillo .timeline-icon {
  background: linear-gradient(135deg, #f9c74f, #f3a712);
  box-shadow: 0 8px 30px rgba(249, 199, 79, 0.4);
}

.timeline-amarillo:hover .timeline-icon {
  box-shadow: 0 12px 40px rgba(249, 199, 79, 0.6);
}

.timeline-amarillo .timeline-content {
  border-left-color: #f9c74f;
}

/* 2015 - Naranja (Expansión) */
.timeline-naranja .timeline-icon {
  background: linear-gradient(135deg, #f77f00, #fcbf49);
  box-shadow: 0 8px 30px rgba(247, 127, 0, 0.4);
}

.timeline-naranja:hover .timeline-icon {
  box-shadow: 0 12px 40px rgba(247, 127, 0, 0.6);
}

.timeline-naranja .timeline-content {
  border-left-color: #f77f00;
}

/* 2016-2020 - Verde (Energía Renovable) */
.timeline-verde .timeline-icon {
  background: linear-gradient(135deg, #52b788, #95d5b2);
  box-shadow: 0 8px 30px rgba(82, 183, 136, 0.4);
}

.timeline-verde:hover .timeline-icon {
  box-shadow: 0 12px 40px rgba(82, 183, 136, 0.6);
}

.timeline-verde .timeline-content {
  border-left-color: #52b788;
}

/* 2021-2023 - Turquesa (Residuos) */
.timeline-turquesa .timeline-icon {
  background: linear-gradient(135deg, #06aed5, #48cae4);
  box-shadow: 0 8px 30px rgba(6, 174, 213, 0.4);
}

.timeline-turquesa:hover .timeline-icon {
  box-shadow: 0 12px 40px rgba(6, 174, 213, 0.6);
}

.timeline-turquesa .timeline-content {
  border-left-color: #06aed5;
}

/* 2024-Hoy - Azul corporativo (Futuro) */
.timeline-azul .timeline-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  box-shadow: 0 8px 30px rgba(10, 63, 141, 0.4);
}

.timeline-azul:hover .timeline-icon {
  box-shadow: 0 12px 40px rgba(10, 63, 141, 0.6);
}

.timeline-azul .timeline-content {
  border-left-color: var(--secondary-color);
}

.timeline-year {
  margin-top: 15px;
  background: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 16px;
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--light-color);
}

.timeline-content {
  flex: 1;
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: all 0.3s ease;
  border-left: 4px solid var(--secondary-color);
}

.timeline-item:nth-child(even) .timeline-content {
  border-left: none;
  border-right: 4px solid var(--secondary-color);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.timeline-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.timeline-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--default-color);
  margin: 0;
}

.timeline-content strong {
  color: var(--secondary-color);
  font-weight: 600;
}

/* Valores Grid - Tarjetas compactas */
.valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 80px;
}

.valor-card {
  background: white;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-align: center;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Efecto de borde animado que recorre la tarjeta */
.valor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 15px;
  padding: 3px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--tertiary-color), var(--primary-color));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  background-size: 300% 300%;
  animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.valor-card:hover::before {
  opacity: 1;
}

.valor-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 45px rgba(10, 63, 141, 0.2);
}

.valor-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  margin-bottom: 15px;
  transition: all 0.4s ease;
}

.valor-card:hover .valor-icon {
  transform: scale(1.15) rotate(360deg);
}

.valor-card h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

/* Valores - Colores específicos */

/* Azul - Misión */
.valor-azul .valor-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  box-shadow: 0 6px 20px rgba(10, 63, 141, 0.3);
}

.valor-azul:hover .valor-icon {
  box-shadow: 0 10px 30px rgba(10, 63, 141, 0.5);
}

.valor-azul h4 {
  color: var(--primary-color);
}

.valor-azul:hover h4 {
  color: var(--secondary-color);
}

/* Verde - Visión */
.valor-verde .valor-icon {
  background: linear-gradient(135deg, #52b788, #95d5b2);
  box-shadow: 0 6px 20px rgba(82, 183, 136, 0.3);
}

.valor-verde:hover .valor-icon {
  box-shadow: 0 10px 30px rgba(82, 183, 136, 0.5);
}

.valor-verde h4 {
  color: #52b788;
}

.valor-verde:hover h4 {
  color: #3a9b6f;
}

/* Naranja - Filosofía */
.valor-naranja .valor-icon {
  background: linear-gradient(135deg, #f77f00, #fcbf49);
  box-shadow: 0 6px 20px rgba(247, 127, 0, 0.3);
}

.valor-naranja:hover .valor-icon {
  box-shadow: 0 10px 30px rgba(247, 127, 0, 0.5);
}

.valor-naranja h4 {
  color: #f77f00;
}

.valor-naranja:hover h4 {
  color: #d66d00;
}

/* Gris - Valores */
.valor-gris .valor-icon {
  background: linear-gradient(135deg, #6c757d, #adb5bd);
  box-shadow: 0 6px 20px rgba(108, 117, 125, 0.3);
}

.valor-gris:hover .valor-icon {
  box-shadow: 0 10px 30px rgba(108, 117, 125, 0.5);
}

.valor-gris h4 {
  color: #6c757d;
}

.valor-gris:hover h4 {
  color: #5a6268;
}

/* Turquesa - Compromiso */
.valor-turquesa .valor-icon {
  background: linear-gradient(135deg, #06aed5, #48cae4);
  box-shadow: 0 6px 20px rgba(6, 174, 213, 0.3);
}

.valor-turquesa:hover .valor-icon {
  box-shadow: 0 10px 30px rgba(6, 174, 213, 0.5);
}

.valor-turquesa h4 {
  color: #06aed5;
}

.valor-turquesa:hover h4 {
  color: #0596ba;
}

.valor-hint {
  font-size: 13px;
  color: #888;
  margin: 0;
  font-style: italic;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.valor-card:hover .valor-hint {
  opacity: 1;
  color: var(--secondary-color);
}

/* Modal de Valores */
.valores-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.valores-modal.active {
  display: flex;
}

.valores-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.valores-modal-content {
  position: relative;
  background: white;
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10000;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.valores-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border: none;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  box-shadow: 0 4px 15px rgba(10, 63, 141, 0.3);
}

.valores-modal-close:hover {
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 6px 20px rgba(10, 63, 141, 0.5);
}

.valores-modal-body {
  padding: 50px 40px 40px;
}

.valores-modal-body .modal-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 36px;
  margin: 0 auto 25px;
  box-shadow: 0 10px 30px rgba(10, 63, 141, 0.3);
}

.valores-modal-body h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 25px;
}

.valores-modal-body p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--default-color);
  margin-bottom: 15px;
  text-align: justify;
}

.valores-modal-body ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.valores-modal-body ul li {
  padding: 12px 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--default-color);
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.valores-modal-body ul li:last-child {
  border-bottom: none;
}

.valores-modal-body ul li i {
  color: var(--secondary-color);
  margin-right: 12px;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.valores-modal-body ul li strong {
  color: var(--primary-color);
  display: block;
  margin-bottom: 3px;
}

.valores-modal-body ul li div {
  flex: 1;
}

.valores-modal-body ul li span {
  display: block;
  font-size: 14px;
  color: #666;
  margin-top: 3px;
}

/* Responsive */
@media (max-width: 992px) {
  .timeline-wrapper::before {
    left: 30px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row !important;
  }

  .timeline-marker {
    padding: 0 20px 0 0;
  }

  .timeline-content {
    border-left: 4px solid var(--secondary-color) !important;
    border-right: none !important;
  }

  .historia-header h2 {
    font-size: 32px;
  }

  .historia-intro {
    font-size: 16px;
  }

  .timeline-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .valores-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .timeline-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .timeline-year {
    font-size: 14px;
    padding: 6px 12px;
  }

  .timeline-content {
    padding: 20px;
  }

  .timeline-content h3 {
    font-size: 20px;
  }

  .historia-header h2 {
    font-size: 28px;
  }

  .valor-card {
    padding: 25px;
  }
}