:root {
  --default-font: "Open Sans",  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: "Roboto",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

:root { 
  --background-color: #ffffff; /* Color de fondo para todo el sitio web, incluidas las secciones individuales */
  --default-color: #364d59; /* Color predeterminado usado para la mayoría del contenido de texto en todo el sitio web */
  --heading-color: #244f6e; /* Color para los encabezados, subtítulos y títulos a lo largo del sitio web */
  --accent-color: #209475; /* Color de acento que representa tu marca en el sitio web. Se utiliza en botones, enlaces y otros elementos que necesitan destacar */
  --surface-color: #ffffff; /* El color de superficie se usa como fondo de elementos encuadrados dentro de secciones, como tarjetas, iconos u otros elementos que requieren una separación visual del fondo global. */
  --contrast-color: #ffffff; /* Color de contraste para el texto, asegurando la legibilidad contra fondos de colores de acento, encabezados o colores predeterminados. */
  
  /* Responsive Typography */
  --font-size-base: 16px;
  --font-size-sm: 14px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  
  /* Spacing Variables */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;
  
  /* Border Radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

:root {
  --nav-color: rgba(255, 255, 255, 0.55);  /* El color predeterminado de los enlaces del menú de navegación principal */
  --nav-hover-color: #ffffff; /* Aplicado a los enlaces del menú de navegación principal cuando se pasa el cursor sobre ellos o están activos */
  --nav-mobile-background-color: #ffffff; /* Usado como el color de fondo para el menú de navegación móvil */
  --nav-dropdown-background-color: #ffffff; /* Usado como el color de fondo para los elementos desplegables que aparecen al pasar el cursor sobre los elementos principales de navegación */
  --nav-dropdown-color: #244f6e; /* Usado para los enlaces de navegación de los elementos desplegables en el menú de navegación. */
  --nav-dropdown-hover-color: #209475; /* Similar a --nav-hover-color, este color se aplica a los enlaces desplegables de navegación cuando se pasa el cursor sobre ellos. */
}


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

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* 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);
  line-height: 1.2;
  font-weight: 700;
}

/* Responsive Typography */
h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: var(--spacing-lg);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: var(--spacing-md);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: var(--spacing-md);
}

h4 {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  margin-bottom: var(--spacing-sm);
}

h5 {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: var(--spacing-sm);
}

h6 {
  font-size: clamp(0.875rem, 1.5vw, 1.125rem);
  margin-bottom: var(--spacing-sm);
}

/* Responsive text and spacing */
p {
  font-size: clamp(var(--font-size-sm), 2.5vw, var(--font-size-base));
  line-height: 1.6;
  margin-bottom: var(--spacing-sm);
}

/* Responsive container improvements */
.container {
  padding-left: var(--spacing-sm);
  padding-right: var(--spacing-sm);
}

@media (min-width: 576px) {
  .container {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
  }
}

@media (min-width: 768px) {
  .container {
    padding-left: var(--spacing-lg);
    padding-right: var(--spacing-lg);
  }
}

/* Section padding improvements */
.section {
  padding: var(--spacing-xl) 0;
}

@media (max-width: 768px) {
  .section {
    padding: var(--spacing-lg) 0;
  }
}

@media (max-width: 576px) {
  .section {
    padding: var(--spacing-md) 0;
  }
}


/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(255, 255, 255, 0);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
}


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

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: rgba(255, 255, 255, 0.95);
  --heading-color: #3c3c3c;
  --nav-color: #3c3c3c;
  --nav-hover-color: #3c3c3c;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@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;
  }

  /* Usuario + logout */
  .navmenu .auth-user-badge {
    background:#244f6e;
    color:#fff;
    padding:6px 12px;
    border-radius:20px;
    font-size:12px;
    font-weight:600;
    margin-left:6px;
  }
  .navmenu .logout-link {
    color:#fff;
    background:#a02e2e;
    padding:6px 14px;
    border-radius:20px;
    font-size:13px;
    font-weight:600;
    margin-left:6px;
    display:inline-block;
  }
  .navmenu .logout-link:hover { background:#7a1f1f; color:#fff; }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

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

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 14px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
    text-transform: uppercase;
  }

  /* Accesibilidad: quitar el cuadro (box-shadow) por defecto de Bootstrap en focus-visible y usar subrayado animado existente */
  .navmenu a:focus-visible {
    outline: none; /* evitamos contorno por defecto */
    box-shadow: none; /* elimina halo azul/verde */
  }

  /* Provide a subtle accessible indicator: reforzar barra inferior y cambio de color cuando navega con teclado */
  .navmenu a:focus-visible:before {
    visibility: visible;
    width: 100%;
  }

  /* Para usuarios que prefieren reducción de movimiento, sin animaciones bruscas */
  @media (prefers-reduced-motion: reduce) {
    .navmenu a:focus-visible:before { transition: none; }
  }

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

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--accent-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .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;
    font-weight: 400;
    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;
  }
}

/*--------------------------------------------------------------
# Campaign Link Styles
--------------------------------------------------------------*/
.navmenu .campaign-link {
  background: linear-gradient(45deg, #209475, #16a085) !important;
  color: white !important;
  border-radius: 20px !important;
  padding: 8px 16px !important;
  margin: 0 5px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 2px 8px rgba(32, 148, 117, 0.3) !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
  border: none !important;
}

.navmenu .campaign-link::before {
  content: '🏠 ' !important;
  margin-right: 5px !important;
}

.navmenu .campaign-link:hover {
  background: linear-gradient(45deg, #1a7f63, #209475) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 15px rgba(32, 148, 117, 0.4) !important;
  color: white !important;
}

.navmenu .campaign-link.active {
  background: linear-gradient(45deg, #1a7f63, #147a5f) !important;
  box-shadow: 0 2px 8px rgba(26, 127, 99, 0.4) !important;
  color: white !important;
}

.navmenu .campaign-link.active::before {
  content: '✓ ' !important;
}

/* Responsive para enlace de campaña */
@media (max-width: 1200px) {
  .navmenu .campaign-link {
    font-size: 0.8rem !important;
    padding: 6px 12px !important;
  }
}

@media (max-width: 992px) {
  .navmenu .campaign-link {
    margin: 5px 0 !important;
    display: inline-block !important;
    width: auto !important;
  }
}

/* Mobile Navigation */
@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);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .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);
    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);
  background: url("../img/footer-bg.jpg") top center no-repeat;
  background-size: cover;
  font-size: 14px;
  position: relative;
}

.footer .container {
  position: relative;
}

.footer:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 20%);
  position: absolute;
  inset: 0;
}

.footer .footer-top {
  padding-top: 50px;
  padding-bottom: 30px;
}
/* Ocultar columnas de enlaces y servicios en móviles */
@media (max-width: 768px){
  .footer-hide-mobile {display:none !important;}
}

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

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

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

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

/* Estilos para el logo principal del footer */
.footer .footer-main-logo {
  text-align: center;
  margin-bottom: 1rem;
  padding: 10px 0;
}

.footer .footer-main-logo img {
  height: 100px !important;
  max-height: none !important;
  width: auto !important;
  filter: brightness(1.4);
  transition: all 0.3s ease;
  display: block !important;
  margin: 0 auto !important;
}

.footer .footer-main-logo img:hover {
  filter: brightness(1.6);
  transform: scale(1.1);
}

/* Responsividad para el logo del footer */
@media (max-width: 992px) {
  .footer .footer-main-logo img {
    height: 100px !important;
  }
}

@media (max-width: 768px) {
  .footer .footer-main-logo img {
    height: 90px !important;
  }
}

@media (max-width: 576px) {
  .footer .footer-main-logo img {
    height: 80px !important;
  }
}

@media (max-width: 480px) {
  .footer .footer-main-logo img {
    height: 75px !important;
  }
}

@media (max-width: 360px) {
  .footer .footer-main-logo img {
    height: 70px !important;
  }
}

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

.footer .social-links a:hover {
  color: var(--accent-color);
  border-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 {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.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;
}

/* Asegurar centrado del bloque de contacto también en escritorio */
.footer .footer-contact,
.footer .footer-contact h4,
.footer .footer-contact p {
  text-align: center;
}
.footer .footer-contact .social-links {
  justify-content: center;
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 8px;
  font-size: 13px;
}

/* Centrar textos del footer en móviles - Versión mejorada */
@media (max-width: 768px) {
  /* Centrar todas las columnas del footer */
  .footer .footer-top .row > div {
    text-align: center !important;
  }
  
  .footer .footer-about {
    text-align: center !important;
  }
  
  .footer .footer-about h4 {
    text-align: center !important;
  }
  
  .footer .footer-about p {
    text-align: center !important;
  }
  
  .footer .footer-about .footer-logo {
    text-align: center !important;
  }
  
  .footer .footer-about .footer-logo h5 {
    text-align: center !important;
  }
  
  .footer .footer-contact {
    text-align: center !important;
  }
  
  .footer .footer-contact h4 {
    text-align: center !important;
  }
  
  .footer .footer-contact p {
    text-align: center !important;
  }
  
  .footer .footer-facebook {
    text-align: center !important;
  }
  
  .footer .footer-facebook h4 {
    text-align: center !important;
  }
  
  .footer .social-links {
    justify-content: center !important;
    display: flex !important;
  }
  
  .footer .copyright {
    text-align: center !important;
  }
  
  .footer .copyright p {
    text-align: center !important;
  }
  
  .footer .credits {
    text-align: center !important;
  }
  
  /* Asegurar que todos los h4 estén centrados */
  .footer h4 {
    text-align: center !important;
  }
  
  /* Centrar iconos de teléfono y ubicación */
  .footer .bi {
    text-align: center !important;
  }
}

/* Para móviles muy pequeños, aplicar centrado más agresivo */
@media (max-width: 576px) {
  .footer * {
    text-align: center !important;
  }
  
  .footer .social-links {
    justify-content: center !important;
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  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(--default-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);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 220px 0 120px 0;
  text-align: center;
  position: relative;
}

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

.page-title h1 {
  font-size: 56px;
  font-weight: 500;
  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: 500;
}

.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 20%);
}

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

@media (max-width: 1199px) {

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

  .page-title {
    padding: 180px 0 80px 0;
  }

  .page-title h1 {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .page-title {
    padding: 140px 0 60px 0;
  }

  .page-title h1 {
    font-size: 36px;
  }
}



/* General: Asegurar el tamaño uniforme de las tarjetas */
.card-item {
  background: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%; /* Todas las tarjetas tendrán la misma altura */
}

/* Contenedor de imagen */
/* Ajuste: asegurar que la imagen no se recorte excesivamente y conserve proporción visible */
.card-item .card-bg {
  position: relative;
  height: 100%;
  min-height: 190px; /* altura mínima consistente */
  display: flex;
  align-items: stretch;
}

/* For grid inside constructions section ensure left image column stretches like in servicios page */
.constructions .card-item .row {height:100%;}
.constructions .card-item .col-xl-5 {display:flex;}
.constructions .card-item .card-bg {width:100%;}

/* Desktop: keep consistent fixed height to avoid vertical jump */
@media (min-width:992px){
  .constructions .card-item .card-bg{min-height:220px;}
}

.card-item .card-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Antes: cover. Usamos contain para mostrar la imagen completa */
  object-position: center center;
  border-radius: 8px 0 0 8px;
  background: #f5f7f8; /* fondo neutro para áreas vacías si hay espacios */
  padding: 6px; /* pequeño espacio para que no toque bordes al usar contain */
}

/* Contenedor de contenido */
.card-item .card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%; /* Asegurar que todo el contenido ocupe el mismo espacio */
}

.card-item .card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.card-item p {
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}

/* Uniformidad en la fila */
.row.gy-4 > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

/* Responsividad */
@media (max-width: 768px) {
  .card-item {
    flex-direction: column; /* Cambiar dirección a columna para dispositivos pequeños */
  }

  .card-item .card-bg {
    height: 200px; /* Tamaño fijo para imágenes en móviles */
  }

  .card-item .card-body {
    padding: 15px;
  }

  .card-item .card-title {
    font-size: 16px;
  }

  .card-item p {
    font-size: 13px;
  }
}


/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .nav-tabs {
  border: 0;
}

.features .nav-link {
  color: var(--heading-color);
  padding: 15px 0;
  transition: 0.3s;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  height: 100%;
  border: 0;
  border-bottom: 4px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.features .nav-link i {
  padding-right: 15px;
  font-size: 48px;
}

.features .nav-link h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

@media (max-width: 575px) {
  .features .nav-link h4 {
    font-size: 16px;
  }
}

.features .nav-link:hover {
  color: var(--accent-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.features .nav-link.active {
  background-color: var(--background-color);
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.features .tab-content {
  margin-top: 30px;
}

.features .tab-pane h3 {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 32px;
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.features .tab-pane h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.features .tab-pane ul {
  list-style: none;
  padding: 0;
}

.features .tab-pane ul li {
  padding-top: 10px;
}

.features .tab-pane ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.features .tab-pane p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
Estilos principales para la sección de proyectos
--------------------------------------------------------------*/
.projects .portfolio-content {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease; /* Transición suave para animaciones */
}

.projects .portfolio-content img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease-in-out; /* Transición más fluida */
}

.projects .portfolio-content .portfolio-info {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(0, 0, 0, 0.6); /* Fondo semitransparente */
  display: flex;
  justify-content: center; /* Centrar contenido horizontalmente */
  align-items: center; /* Centrar contenido verticalmente */
  flex-direction: column; /* Disposición en columna */
  padding: 15px;
  opacity: 1; /* Ocultar por defecto */
  transition: opacity 0.3s ease-in-out; /* Suavizar la transición de visibilidad */
}

.projects .portfolio-content .portfolio-info h4 {
  font-family: 'Poppins', sans-serif; /* Fuente moderna */
  font-size: 16px; /* Tamaño ajustado para mejor legibilidad */
  padding: 8px 12px;
  font-weight: 600;
  color: #ffffff;
  background-color: var(--accent-color);
  border-radius: 5px; /* Bordes redondeados */
  margin: 10px 0; /* Separación del texto */
}

.projects .portfolio-content .portfolio-info p {
  font-family: 'Open Sans', sans-serif; /* Fuente secundaria */
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  margin: 5px 0;
  text-align: center;
  line-height: 1.5; /* Espaciado entre líneas */
}

.projects .portfolio-content .portfolio-info .details-link {
  font-size: 26px;
  color: #ffffff;
  margin-top: 15px; /* Separación del ícono */
  transition: transform 0.3s ease-in-out;
}

.projects .portfolio-content:hover img {
  transform: scale(1.1); /* Zoom suave en hover */
}

.projects .portfolio-content:hover .portfolio-info {
  opacity: 1; /* Mostrar contenido al pasar el mouse */
}

/* Ajustar imágenes dentro de la tarjeta */
.projects .carousel-inner img {
  width: 100%;
  height: auto;
  object-fit: contain; /* Mantener proporciones sin recortar */
  border-radius: 5px; /* Bordes redondeados para una apariencia más moderna */
}

/*--------------------------------------------------------------
Estilos para dispositivos móviles
--------------------------------------------------------------*/
@media (max-width: 768px) {
  .projects .portfolio-content {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto; /* Habilitar desplazamiento horizontal */
    scroll-snap-type: x mandatory; /* Scroll más suave */
    gap: 15px;
    padding-bottom: 10px;
  }

  .projects .portfolio-content img {
    scroll-snap-align: start; /* Alinear cada imagen al inicio */
    flex: 0 0 85%;
    max-width: 100%;
    margin-right: 10px;
    border-radius: 5px;
  }

  .projects .portfolio-info {
    opacity: 1; /* Mostrar contenido por defecto en móviles */
    position: static; /* Posición estándar */
    background: none; /* Quitar fondo semitransparente */
    text-align: center;
    padding: 10px;
  }

  .projects .portfolio-info h4 {
    font-size: 16px; /* Tamaño más grande para mejor visibilidad */
    margin-bottom: 10px;
  }

  .projects .portfolio-info p {
    font-size: 14px; /* Tamaño ajustado */
    margin-bottom: 10px;
  }

  .projects .portfolio-content::-webkit-scrollbar {
    display: none; /* Ocultar barra de desplazamiento */
  }
}



/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item {
  background-color: var(--surface-color);
  padding: 20px 0 30px 0;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  width: 56px;
  height: 56px;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  border-radius: 50%;
  border: 2px dotted color-mix(in srgb, var(--accent-color), transparent 40%);
}

.contact .info-item h3 {
  font-size: 20px;
  font-size: 18px;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .php-email-form {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}





.logo-large {
  width: 250px;
  height: auto;
  display: block;
  margin: 0 auto;  
  transition: filter 0.3s ease;
}

/* Quitar marco/outline del enlace del logo al hacer click */
header .logo:focus,
header .logo:active,
header .logo:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}



/* General */
.services {
  padding: 60px 0;
}

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

.service-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.service-card .icon {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.service-card .title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.service-card .description {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.service-card .btn {
  background-color: #244f6e;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
}

.service-card .btn:hover {
  background-color: #209475;
  color: #fff;
}

/* Responsividad */
@media (max-width: 768px) {
  .service-card .title {
    font-size: 16px;
  }

  .service-card .description {
    font-size: 13px;
  }

  .service-card .btn {
    font-size: 12px;
  }
}


/* General Styles */
.icon-box {
  background-color: white; /* Background remains white */
  color: black; /* Text remains black */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%; /* Ensures all cards are of the same height */
}

.icon-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.icon-box .icon {
  font-size: 3rem;
  color: #244f6e; /* Icon color is corporate blue */
}

.icon-box h4 {
  font-weight: bold;
  margin-top: 15px;
  color: black; /* Title text remains black */
}

.icon-box p {
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
  color: black; /* Paragraph text remains black */
}

/* VMV (Visión, Misión, Valores) improved uniform layout */
.vmv-row .icon-box {
  position: relative;
  padding: 60px 42px 50px; /* extra breathing space */
  border-radius: 18px;
  background: linear-gradient(180deg,#ffffff 0%,#f9fbfd 100%);
  box-shadow: 0 14px 34px -6px rgba(0,0,0,0.10),0 4px 10px -2px rgba(0,0,0,0.05);
  display:flex;
  flex-direction:column;
  align-items:center;
  min-height:520px; /* consistent height */
}
.vmv-row .icon-box .icon {
  width: 135px;
  height: 135px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.9rem;
  color: #fff;
  margin: 0 0 28px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.15);
  position:relative;
  isolation:isolate;
}
.vmv-row .icon-box .icon::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:0 0 0 10px rgba(255,255,255,0.15) inset,0 0 0 2px rgba(255,255,255,0.35);mix-blend-mode:overlay;}
.vmv-row .icon-box .vision-icon { background: #3779b8; }
.vmv-row .icon-box .mission-icon { background: #c14937; }
.vmv-row .icon-box .values-icon { background: #3b8d47; }

.vmv-row .icon-box h4 {
  letter-spacing: .5px;
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #102b3f;
  text-transform: uppercase;
}
.vmv-row .icon-box p {
  font-size: 0.94rem;
  line-height: 1.75;
  text-align: justify;
  color: #2a3944;
  margin: 0;
  flex-grow:1; /* fill vertical space so cards align */
  display:block; /* ensure full text visible */
}
.vmv-row .icon-box:last-child {margin-bottom:0;}

@media (max-width: 991.98px) {
  .vmv-row .icon-box { min-height:auto; padding:50px 34px 40px; }
  .vmv-row .icon-box .icon { width:120px; height:120px; font-size:2.5rem; margin-bottom:22px; }
}
@media (max-width: 575.98px) {
  .vmv-row .icon-box { padding:40px 26px 34px; }
  .vmv-row .icon-box .icon { width:105px; height:105px; font-size:2.2rem; margin-bottom:20px; }
  .vmv-row .icon-box h4 { font-size:1.15rem; }
  .vmv-row .icon-box p { font-size:0.9rem; line-height:1.6; }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .icon-box {
    padding: 15px;
    text-align: center;
  }

  .icon-box .icon {
    font-size: 2.5rem;
  }

  .icon-box p {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .icon-box {
    padding: 10px;
  }

  .icon-box .icon {
    font-size: 2rem;
  }

  .icon-box p {
    font-size: 0.85rem;
  }
}
/* General Styles */
.inner-title {
  color: #244f6e; /* Azul corporativo */
  font-weight: bold;
  margin-bottom: 20px;
}

/* Tarjetas de equipo */
.team-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.team-image {
  width: 100%;
  height: 220px; /* altura uniforme para todas las tarjetas */
  object-fit: cover; /* asegura cobertura completa; cambiar a contain si quieres ver todo el logo */
  object-position: center center;
  display: block;
  background:#f5f7f8; /* fondo neutro si hay transparencia o espacios */
}

/* Variante para logos horizontales: si se detecta archivo con 'logo-7-Torres' se podría aplicar contain via clase adicional si se agrega en HTML */
.team-image.logo-wide { object-fit: contain; padding:14px; }

.team-content {
  padding: 20px;
}

.team-content h4 {
  color: #244f6e; /* Azul corporativo */
  margin-bottom: 10px;
}

.team-content p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

/* Responsiveness */
@media (max-width: 768px) {
  .team-card {
    padding: 15px;
  }

  .team-content p {
    font-size: 0.85rem;
  }
}



/* General Styles */
.downloads-section {
  padding: 50px 0;
  background-color: #f9f9f9;
}

.inner-title {
  color: #244f6e;
  font-weight: bold;
}

.subtitle {
  color: #666;
  font-size: 1rem;
  margin-bottom: 20px;
}

/* Botones */
.toggle-btn {
  background-color: #209475;
  color: white;
  border: none;
  padding: 15px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.toggle-btn:hover {
  background-color: #176c53;
  transform: scale(1.05);
}

/* Contenidos */
.toggle-content {
  display: none;
  margin-top: 20px;
}

.toggle-content.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Descargas */
.download-item {
  background: white;
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.download-item h4 {
  color: #244f6e;
  margin-bottom: 10px;
}

.download-item a {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 15px;
  background-color: #209475;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.download-item a:hover {
  background-color: #176c53;
}
/* Botones en dispositivos móviles */
@media (max-width: 768px) {
  .toggle-btn {
    width: 100%; /* Botones ocupan todo el ancho */
    margin-bottom: 20px; /* Aumentar el espacio entre botones */
  }
}







/* Estilo para los enlaces telefónicos */
.phone-link {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  display: inline-block;
  margin-left: 5px;
  transition: transform 0.2s ease, color 0.3s ease; /* Suaviza la transformación y el color */
}

.phone-link:hover {
  color: #00ffcc; /* Color llamativo al pasar el ratón */
  transform: scale(1.1); /* Amplía ligeramente el texto */
}


/* Estilo para los íconos de teléfono */
.phone-icon {
  color: white;
  font-size: 1.5rem;
  margin-right: 5px;
  transition: transform 0.2s ease, color 0.3s ease; /* Suaviza los efectos */
}

.phone-icon:hover {
  color: #00ffcc; /* Cambia de color al pasar el ratón */
}

.phone-icon:active {
  transform: rotate(20deg) scale(1.2); /* Gira y amplía al presionar */
  color: #244f6e; /* Color vibrante al presionar */
}

/* Estilo general del Hero */
.custom-hero {
  width: 100%;
  height: 100vh; /* Ocupa la altura total de la ventana */
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #060606; /* Fondo oscuro */
}

/* Imágenes del carrusel */
.custom-hero .carousel-item img {
  width: 100%; /* Asegura que ocupe todo el ancho */
  height: 100%; /* Asegura que ocupe toda la altura */
  object-fit: cover; /* Evita distorsión */
  display: block;
}

.custom-hero .carousel-caption {
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  text-align:center;
  color:#fff;
  width:100%;
  max-width:900px;
  padding:0 20px;
  text-shadow:0 2px 6px rgba(0,0,0,.55);
  /* pointer-events:none;  Eliminado para permitir click en botones del hero */
}

/* Títulos */
.custom-hero .carousel-caption h3 {
  font-size: 3rem; /* Tamaño predeterminado */
  line-height: 1.3;
  font-weight: bold;
  margin-bottom: 10px;
}

.custom-hero .carousel-caption h3 .text-white {
  color: #ffffff;
}

.custom-hero .carousel-caption h3 .text-green {
  color: #209475;
}

/* Subtítulos */
.custom-hero .carousel-caption p {
  font-size: 1.2rem; /* Más grande en pantallas grandes */
  margin-top: 10px;
  color: #f1f1f1;
  line-height: 1.5;
}

/* Botón personalizado */
.custom-hero .carousel-caption .btn {
  background-color: #209475;
  color: white;
  padding: 15px 30px;
  border-radius: 5px;
  text-transform: uppercase;
  font-size: 1.2rem; /* Botón más grande */
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.custom-hero .carousel-caption .btn:hover {
  background-color: #176c53;
}

/* Controles del carrusel */
.custom-hero .carousel-control-prev,
.custom-hero .carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 11;
}

.custom-hero .carousel-control-prev-icon,
.custom-hero .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background-size: 60%;
}

/* Responsividad */

/* Pantallas muy grandes */
@media (min-width: 1200px) {
  .custom-hero .carousel-caption {top:50%; left:50%; transform:translate(-50%, -50%); max-width:60%;}

  .custom-hero .carousel-caption h3 {
    font-size: 3.5rem; /* Más grande para pantallas grandes */
  }

  .custom-hero .carousel-caption p {
    font-size: 1.5rem; /* Ajusta el subtítulo */
  }

  .custom-hero .carousel-caption .btn {
    font-size: 0.9rem; /* Botón más prominente */
    padding: 18px 35px;
  }
}

/* Pantallas medianas */
@media (max-width: 992px) {
  .custom-hero {
    height: 80vh;
  }

  .custom-hero .carousel-caption h3 {
    font-size: 1rem;
  }

  .custom-hero .carousel-caption p {
    font-size: 1rem;
  }

  .custom-hero .carousel-caption .btn {
    font-size: 1rem;
    padding: 10px 20px;
  }

  .custom-hero .carousel-control-prev,
  .custom-hero .carousel-control-next {
    width: 40px;
    height: 40px;
  }

  .custom-hero .carousel-control-prev-icon,
  .custom-hero .carousel-control-next-icon {
    width: 30px;
    height: 30px;
  }
}
/* Pantallas pequeñas (móviles) */
@media (max-width: 576px) {
  .custom-hero {height:100vh;}
  .custom-hero .carousel-item img {width:100%; height:100vh; object-fit:cover;}
  .custom-hero .carousel-caption {top:50%; left:50%; transform:translate(-50%, -50%); max-width:90%; padding:0 12px; text-align:center;}

  /* Títulos */
  .custom-hero .carousel-caption h3 {
    font-size: 1.5rem; /* Ajusta el tamaño del título */
    line-height: 1.2;
    font-weight: bold;
  }

  .custom-hero .carousel-caption h3 .text-white {
    font-size: 1.2rem; /* Texto blanco más pequeño */
  }

  .custom-hero .carousel-caption h3 .text-green {
    font-size: 1.8rem; /* Texto verde ligeramente más grande */
  }

  /* Subtítulos */
  .custom-hero .carousel-caption p {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-top: 10px;
    color: #e6e6e6; /* Gris claro para mejor visibilidad */
  }

  /* Botones */
  .custom-hero .carousel-caption .btn {
    font-size: 0.85rem; /* Botón más pequeño */
    padding: 8px 12px; /* Reduce el tamaño del botón */
    border-radius: 5px; /* Bordes redondeados */
  }

  /* Controles del carrusel */
  .custom-hero .carousel-control-prev,
  .custom-hero .carousel-control-next {
    width: 30px;
    height: 30px;
  }

  .custom-hero .carousel-control-prev-icon,
  .custom-hero .carousel-control-next-icon {
    width: 25px;
    height: 25px;
  }
}

/* Sección de Contacto */
.contact-section {
  background-color: #f5f5f5; /* Fondo claro */
  padding: 60px 0; /* Espaciado arriba y abajo */
}

/* Tarjeta de Contacto */
.contact-card {
  background-color: #ffffff; /* Fondo blanco */
  border: none; /* Sin bordes */
  border-top: 4px solid #209475; /* Borde superior verde */
  border-radius: 10px; /* Bordes redondeados */
  max-width: 800px; /* Tamaño máximo en dispositivos grandes */
  padding: 30px; /* Espaciado interno */
}

.contact-card .card-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #209475; /* Título con color corporativo verde */
  margin-bottom: 15px;
}

.contact-card .card-text {
  font-size: 1.1rem;
  color: #333333; /* Texto en gris oscuro */
  margin-bottom: 20px;
}

/* Botón de Contacto - Verde */
.btn-custom-green {
  background-color: #209475; /* Verde corporativo */
  color: #ffffff; /* Texto blanco */
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 50px; /* Bordes redondeados */
  padding: 10px 30px; /* Espaciado interno */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Sombra */
  transition: all 0.3s ease-in-out; /* Transición suave */
}

.btn-custom-green:hover {
  background-color: #176c53; /* Verde más oscuro en hover */
  transform: scale(1.05); /* Efecto de escalado */
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3); /* Sombra más pronunciada */
}

/* Botón de Contacto - Azul */
.btn-custom-blue {
  background-color: #244f6e; /* Azul corporativo */
  color: #ffffff; /* Texto blanco */
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 50px; /* Bordes redondeados */
  padding: 10px 30px; /* Espaciado interno */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Sombra */
  transition: all 0.3s ease-in-out; /* Transición suave */
}

.btn-custom-blue:hover {
  background-color: #1c3b52; /* Azul más oscuro en hover */
  transform: scale(1.05); /* Efecto de escalado */
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3); /* Sombra más pronunciada */
}

/* Responsividad */

/* Pantallas grandes */
@media (min-width: 992px) {
  .contact-section {
    padding: 80px 0; /* Más espaciado en pantallas grandes */
  }

  .contact-card {
    max-width: 100%; /* Ocupa todo el ancho */
    padding: 50px 60px; /* Más espaciado interno */
    margin: 0 auto; /* Centrado */
  }

  .contact-card .card-title {
    font-size: 2rem; /* Títulos más grandes */
  }

  .contact-card .card-text {
    font-size: 1.3rem; /* Texto más grande */
  }

  .btn-custom-green,
  .btn-custom-blue {
    font-size: 1.1rem; /* Botón más prominente */
    padding: 12px 40px; /* Más espaciado interno */
  }
}

/* Pantallas pequeñas */
@media (max-width: 576px) {
  .contact-card {
    max-width: 100%; /* Mantiene el tamaño completo en móviles */
    padding: 20px; /* Reduce el espaciado interno */
  }

  .contact-card .card-title {
    font-size: 1.5rem; /* Reduce el tamaño del título */
  }

  .contact-card .card-text {
    font-size: 1rem; /* Reduce el tamaño del texto */
  }

  .btn-custom-green,
  .btn-custom-blue {
    font-size: 0.9rem; /* Botón más pequeño */
    padding: 10px 20px;
  }
}

/*--------------------------------------------------------------
# Contact Form Styles - Mobile First Design
--------------------------------------------------------------*/
.contact-form {
  background: var(--surface-color);
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), rgba(32, 148, 117, 0.7));
  border-radius: 15px 15px 0 0;
}

/* Labels mejorados */
.contact-form .form-label {
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 8px;
  display: block;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.contact-form .focused .form-label {
  color: var(--accent-color);
}

/* Inputs y campos del formulario */
.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 16px; /* Evita zoom en iOS */
  transition: all 0.3s ease;
  background: #fff;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(32, 148, 117, 0.1);
  background: #fff;
  transform: translateY(-1px);
}

.contact-form input:valid,
.contact-form select:valid,
.contact-form textarea:valid {
  border-color: #28a745;
}

/* Placeholder mejorado */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #6c757d;
  font-style: italic;
  opacity: 0.8;
}

/* Select específico */
.contact-form select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
}

/* Textarea específico */
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

/* Botón de envío mejorado */
.contact-form .btn-submit {
  background: linear-gradient(45deg, var(--accent-color), rgba(32, 148, 117, 0.8));
  color: var(--contrast-color);
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(32, 148, 117, 0.3);
  position: relative;
  overflow: hidden;
  min-width: 200px;
}

.contact-form .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(32, 148, 117, 0.4);
  background: linear-gradient(45deg, rgba(32, 148, 117, 0.9), var(--accent-color));
}

.contact-form .btn-submit:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(32, 148, 117, 0.3);
}

/* Estados del formulario mejorados */
.contact-form .loading {
  display: none;
  background: linear-gradient(45deg, var(--accent-color), rgba(32, 148, 117, 0.8));
  text-align: center;
  padding: 20px;
  color: var(--contrast-color);
  border-radius: 12px;
  margin-bottom: 20px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(32, 148, 117, 0.3);
  animation: pulse 1.5s ease-in-out infinite alternate;
}

.contact-form .error-message {
  display: none;
  background: linear-gradient(45deg, #dc3545, #ff6b6b);
  text-align: center;
  padding: 20px;
  color: #ffffff;
  border-radius: 12px;
  margin-bottom: 20px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
  border-left: 5px solid #c82333;
}

.contact-form .sent-message {
  display: none;
  background: linear-gradient(45deg, #28a745, #4ade80);
  text-align: center;
  padding: 20px;
  color: #ffffff;
  border-radius: 12px;
  margin-bottom: 20px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
  border-left: 5px solid #218838;
}

/* Google Map responsivo */
.google-map {
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Animaciones */
@keyframes pulse {
  from { 
    box-shadow: 0 4px 15px rgba(32, 148, 117, 0.3); 
    transform: scale(1);
  }
  to { 
    box-shadow: 0 6px 20px rgba(32, 148, 117, 0.5); 
    transform: scale(1.02);
  }
}

/* Validación visual en tiempo real */
.contact-form input.valid,
.contact-form select.valid,
.contact-form textarea.valid {
  border-color: #28a745;
  box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.1);
}

.contact-form input.invalid,
.contact-form select.invalid,
.contact-form textarea.invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
}

/* Efectos táctiles mejorados para móviles */
.contact-form .btn-submit:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 8px rgba(32, 148, 117, 0.3);
}

/* Indicador de campo requerido */
.contact-form .form-label::after {
  content: " *";
  color: #dc3545;
  font-weight: bold;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tabletas grandes */
@media (max-width: 992px) {
  .contact-form {
    margin-top: 30px;
  }
  
  .google-map {
    height: 300px !important;
    margin-bottom: 20px;
  }
}

/* Tabletas */
@media (max-width: 768px) {
  .contact-form {
    padding: 20px;
    margin: 20px 0;
    border-radius: 12px;
  }
  
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 14px 16px;
    font-size: 16px; /* Mantener 16px para evitar zoom */
    border-radius: 8px;
  }
  
  .contact-form .btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    border-radius: 12px;
  }
  
  .google-map {
    height: 250px !important;
    border-radius: 12px;
  }
  
  /* Hacer que en tablet los campos sean de ancho completo */
  .col-sm-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Móviles */
@media (max-width: 576px) {
  .contact-form {
    padding: 15px;
    margin: 15px -15px;
    border-radius: 0;
    box-shadow: none;
    border-top: 4px solid var(--accent-color);
  }
  
  .contact-form .form-label {
    font-size: 0.9rem;
    margin-bottom: 6px;
  }
  
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 12px 14px;
    font-size: 16px; /* Crucial para evitar zoom en móviles */
    border-radius: 6px;
    border-width: 1px;
  }
  
  .contact-form textarea {
    min-height: 100px;
  }
  
  .contact-form .btn-submit {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    border-radius: 8px;
    min-width: auto;
  }
  
  .contact-form .loading,
  .contact-form .error-message,
  .contact-form .sent-message {
    padding: 15px;
    font-size: 0.9rem;
    border-radius: 8px;
    margin-bottom: 15px;
  }
  
  .google-map {
    height: 200px !important;
    border-radius: 0;
    margin: 0 -15px 20px -15px;
  }
  
  /* Mejorar botones en mensajes de error para móvil */
  .contact-form .error-message .btn {
    font-size: 0.8rem;
    padding: 8px 16px;
    margin: 5px 3px;
    border-radius: 20px;
    display: inline-block;
  }
}

/* Móviles muy pequeños */
@media (max-width: 375px) {
  .contact-form {
    padding: 12px;
  }
  
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 10px 12px;
    font-size: 16px;
  }
  
  .contact-form .btn-submit {
    padding: 12px;
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Nueva Página de Contacto - Diseño Moderno y Limpio
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Tipos de Proyectos (alineación unificada)
--------------------------------------------------------------*/
#tipos-proyectos .display-6 {
  text-align: center !important;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
#tipos-proyectos .lead {
  text-align: center !important;
  max-width: 1050px; /* unificado con proceso-trabajo */
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}
#tipos-proyectos .text-center { /* refuerzo */
  text-align: center !important;
}
#tipos-proyectos .service-type-card {
  transition: transform .3s ease, box-shadow .3s ease;
  border: 1px solid #e5e7eb;
}
#tipos-proyectos .service-type-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

/* Proceso de Trabajo (centrar título y descripción) */
#proceso-trabajo .display-6,
#proceso-trabajo .lead {
  text-align: center !important;
}
#proceso-trabajo .lead {
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* Blog intro centrado */
.page-title .blog-intro {
  text-align: center;
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
  line-height: 1.5;
}

/* Blog section subtitle centrado (más específico) */
#blog .section-subtitle {
  text-align: center !important;
  max-width: 1000px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Títulos de sección */
.section-title {
  font-size: 2.8rem;
  color: var(--heading-color);
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  text-align: center;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--heading-color));
  border-radius: 2px;
}

/* Alinear texto descriptivo bajo títulos de sección */
.section-title + p, .section-title p, .section-title-description, #services .section-title + p {
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
  max-width: 1100px;
  line-height: 1.5;
}

/* Ajustes específicos servicios */
#services .section-title {
  margin-top: 10px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--default-color);
  opacity: 0.8;
  max-width: 650px;
  margin: 0 auto 0.5rem;
  line-height: 1.6;
}


/* Tarjetas de contacto */
.contact-card {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.03);
  height: 100%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--heading-color));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

.contact-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.contact-card-header h4 {
  margin: 0;
  margin-left: 1.2rem;
  color: var(--heading-color);
  font-weight: 650;
  font-size: 1.4rem;
}

/* Iconos de contacto */
.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.contact-icon:hover {
  transform: scale(1.05);
}

.phone-icon {
  background: linear-gradient(135deg, #28a745, #20c997);
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.email-icon {
  background: linear-gradient(135deg, #007bff, #6610f2);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* Items de contacto */
.contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(32, 148, 117, 0.03);
  margin: 0 -1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  border-radius: 8px;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item strong {
  color: var(--heading-color);
  min-width: 90px;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Enlaces de contacto */
.contact-number, .contact-email {
  color: var(--default-color);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  padding: 0.5rem;
  border-radius: 8px;
}

.contact-number:hover {
  color: #28a745;
  background: rgba(40, 167, 69, 0.08);
  transform: translateX(4px);
}

.contact-email:hover {
  color: #007bff;
  background: rgba(0, 123, 255, 0.08);
  transform: translateX(4px);
}

.contact-address {
  color: var(--default-color);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
}

/* Botón mini de WhatsApp */
.whatsapp-btn-mini {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  padding: 0.6rem;
  border-radius: 50%;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 3px 12px rgba(37, 211, 102, 0.3);
  position: relative;
  overflow: hidden;
}

.whatsapp-btn-mini::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: all 0.3s ease;
  transform: translate(-50%, -50%);
}

.whatsapp-btn-mini:hover {
  background: linear-gradient(135deg, #128c7e, #25d366);
  color: white;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn-mini:hover::before {
  width: 100%;
  height: 100%;
}

/* Botón de mapa */
.map-btn {
  background: var(--accent-color);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.85rem;
  margin-left: 1rem;
  transition: all 0.3s ease;
}

.map-btn:hover {
  background: var(--heading-color);
  color: white;
  transform: translateY(-2px);
}

/* Tarjeta de horarios */
.schedule-card {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--heading-color) 100%);
  color: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(32, 148, 117, 0.25);
  position: relative;
  overflow: hidden;
}

.schedule-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.3s ease;
}

.schedule-card:hover::before {
  animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.schedule-card h4 {
  color: white;
  margin-bottom: 2rem;
  font-weight: 650;
  font-size: 1.5rem;
  position: relative;
  z-index: 2;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.schedule-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.schedule-item:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.schedule-day {
  display: block;
  font-weight: 650;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.schedule-time {
  display: block;
  font-size: 1.2rem;
  opacity: 0.95;
  font-weight: 500;
}

/* Contenedor del formulario */
.form-container {
  background: var(--surface-color);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--heading-color));
}

.form-container h4 {
  color: var(--heading-color);
  font-weight: 650;
  font-size: 1.6rem;
}

.form-container p {
  margin-bottom: 2rem;
}

/* Formulario moderno */
.modern-contact-form .form-label {
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
}

.modern-contact-form .form-control,
.modern-contact-form .form-select {
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--surface-color);
  font-size: 1rem;
  font-weight: 500;
}

.modern-contact-form .form-control:focus,
.modern-contact-form .form-select:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.25rem rgba(32, 148, 117, 0.15);
  outline: none;
  transform: translateY(-2px);
}

.modern-contact-form .form-control::placeholder {
  color: rgba(0, 0, 0, 0.4);
  font-weight: 400;
}

/* Botón de envío */
.btn-send {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--heading-color) 100%);
  color: white;
  border: none;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  font-weight: 650;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(32, 148, 117, 0.3);
}

.btn-send::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.5s;
}

.btn-send:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(32, 148, 117, 0.4);
  color: white;
}

.btn-send:hover::before {
  left: 100%;
}

.btn-send:active {
  transform: translateY(-1px);
}

/* Estados del formulario */
.form-status .loading,
.form-status .error-message,
.form-status .sent-message {
  display: none;
  padding: 0.75rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
}

.form-status .loading {
  background: #d4edda;
  color: #155724;
}

.form-status .error-message {
  background: #f8d7da;
  color: #721c24;
}

.form-status .sent-message {
  background: #d4edda;
  color: #155724;
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  
  .section-title::after {
    width: 60px;
    height: 3px;
  }
  
  .contact-card {
    margin-bottom: 2rem;
  }
  
  .contact-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .whatsapp-btn-mini, .map-btn {
    margin-left: 0;
    margin-top: 0.5rem;
  }
  
  .schedule-grid {
    grid-template-columns: 1fr;
  }
  
  .form-container {
    margin-bottom: 2rem;
    padding: 1.5rem;
  }
  
  .form-container h4 {
    font-size: 1.3rem;
  }
}


/*--------------------------------------------------------------
# Nuevo Formulario de Contacto Rediseñado
--------------------------------------------------------------*/
.contact-form-section {
  margin: 60px 0;
}

.contact-form-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(36, 79, 110, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(32, 148, 117, 0.1);
}

.contact-form-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 80px rgba(36, 79, 110, 0.15);
}

.contact-form-header {
  background: linear-gradient(135deg, #209475 0%, #1a7a61 100%);
  color: white;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-form-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

.form-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
  color: white;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.contact-form-header h3 {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 10px;
  font-family: var(--heading-font);
}

.form-subtitle {
  font-size: 1.1rem;
  margin: 0;
  opacity: 0.9;
  font-weight: 300;
}

.contact-form-body {
  padding: 50px 40px;
}

.professional-contact-form {
  max-width: 900px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.form-group {
  position: relative;
}

.form-group.full-width {
  grid-column: 1 / -1;
  margin-bottom: 30px;
}

.input-group {
  display: flex;
  align-items: flex-start;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 15px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.input-group:hover {
  border-color: #209475;
  background: #f0fdf4;
}

.input-group:focus-within {
  border-color: #209475;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(32, 148, 117, 0.1);
}

.input-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 60px;
  color: #64748b;
  font-size: 18px;
  transition: all 0.3s ease;
  background: #e2e8f0;
  border-radius: 13px 0 0 13px;
}

.input-group:focus-within .input-icon {
  color: #209475;
  background: #209475;
  color: white;
}

.input-field {
  flex: 1;
  position: relative;
  padding: 0;
}

.floating-label {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 16px;
  color: #64748b;
  font-weight: 500;
  transition: all 0.3s ease;
  pointer-events: none;
  background: transparent;
  z-index: 2;
}

.form-input {
  width: 100%;
  padding: 20px 20px 8px 20px;
  border: none;
  background: transparent;
  font-size: 16px;
  color: #1e293b;
  font-weight: 500;
  outline: none;
  font-family: var(--default-font);
  resize: none;
}

.form-input:focus + .floating-label,
.form-input:not(:placeholder-shown) + .floating-label,
.form-input:valid + .floating-label {
  top: 8px;
  font-size: 12px;
  color: #209475;
  font-weight: 600;
}

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23374151' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 20px center;
  background-repeat: no-repeat;
  background-size: 16px 12px;
  cursor: pointer;
}

.form-status-area {
  margin: 30px 0;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-message,
.error-message,
.success-message {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 15px 25px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 16px;
  animation: slideIn 0.3s ease;
}

.loading-message {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.error-message {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.success-message {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

.loading-message.show,
.error-message.show,
.success-message.show {
  display: flex;
}

.spin {
  animation: spin 1s linear infinite;
}

.form-submit-area {
  text-align: center;
  margin-top: 40px;
}

.submit-button {
  background: linear-gradient(135deg, #209475 0%, #1a7a61 100%);
  color: white;
  border: none;
  padding: 18px 50px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(32, 148, 117, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  min-width: 220px;
}

.submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(32, 148, 117, 0.4);
  background: linear-gradient(135deg, #1a7a61 0%, #166252 100%);
}

.submit-button:active {
  transform: translateY(-1px);
}

.button-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: opacity 0.3s ease;
}

.button-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.submit-button.loading .button-content {
  opacity: 0;
}

.submit-button.loading .button-loader {
  opacity: 1;
}

/* Animaciones */
@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

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

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-form-header {
    padding: 30px 20px;
  }
  
  .contact-form-header h3 {
    font-size: 1.8rem;
  }
  
  .contact-form-body {
    padding: 30px 20px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .input-group {
    border-radius: 12px;
  }
  
  .input-icon {
    width: 45px;
    height: 55px;
    border-radius: 10px 0 0 10px;
  }
  
  .form-input {
    padding: 18px 15px 8px 15px;
  }
  
  .floating-label {
    left: 15px;
    top: 18px;
  }
  
  .submit-button {
    padding: 16px 40px;
    font-size: 16px;
    min-width: 200px;
  }
}

@media (max-width: 480px) {
  .contact-form-card {
    border-radius: 15px;
    margin: 0 10px;
  }
  
  .contact-form-header {
    padding: 25px 15px;
  }
  
  .form-icon {
    width: 60px;
    height: 60px;
  }
  
  /* Mejorar área táctil para móviles */
  .form-input, .form-textarea, .form-select {
    font-size: 16px !important; /* Previene zoom en iOS */
    min-height: 44px; /* Mínimo recomendado para área táctil */
  }
  
  /* Asegurar que los enlaces telefónicos sean fáciles de tocar */
  .contact-details a[href^="tel:"] {
    padding: 8px 4px;
    margin: -8px -4px;
    display: inline-block;
    min-height: 44px;
    line-height: 28px;
  }
  
  .contact-form-header h3 {
    font-size: 1.5rem;
  }
  
  .form-subtitle {
    font-size: 1rem;
  }
  
  .contact-form-body {
    padding: 25px 15px;
  }
  
  .submit-button {
    width: 100%;
    min-width: auto;
  }
}

/*--------------------------------------------------------------
# Sección de Contacto Simple
--------------------------------------------------------------*/
.contact-info-simple {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 20px;
  height: 100%;
}

.contact-info-simple h4 {
  color: #495057;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #209475;
}

.contact-info-simple h4 i {
  color: #209475;
  margin-right: 10px;
}

.contact-details p {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.5;
}

.contact-details strong {
  color: #495057;
  font-weight: 600;
}

.contact-details a {
  color: #209475;
  text-decoration: none;
}

.contact-details a:hover {
  color: #1a7a61;
  text-decoration: underline;
}

/* Botón WhatsApp mejorado */
.whatsapp-btn {
  background: linear-gradient(135deg, #25d366, #128c7e) !important;
  border: none !important;
  border-radius: 20px !important;
  padding: 8px 16px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3) !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
}

.whatsapp-btn:hover {
  background: linear-gradient(135deg, #128c7e, #075e54) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4) !important;
  color: white !important;
}

.whatsapp-btn i {
  font-size: 16px !important;
  color: white !important;
}

.whatsapp-btn:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3) !important;
}

/* Responsividad del botón WhatsApp */
@media (max-width: 768px) {
  .whatsapp-btn {
    padding: 8px 14px !important;
    font-size: 13px !important;
    border-radius: 18px !important;
    margin-top: 5px !important;
    display: block !important;
  }
  
  .whatsapp-btn i {
    font-size: 15px !important;
  }
  
  /* Mejorar espacio entre teléfono y botón en móviles */
  .contact-details p {
    margin-bottom: 10px;
    line-height: 1.6;
  }
}

@media (max-width: 576px) {
  .whatsapp-btn {
    padding: 10px 16px !important;
    font-size: 14px !important;
    border-radius: 20px !important;
    width: 100% !important;
    margin-top: 10px !important;
    margin-left: 0 !important;
    justify-content: center !important;
  }
  
  .whatsapp-btn i {
    font-size: 16px !important;
  }
  
  /* En móviles muy pequeños, poner el botón en línea separada */
  .contact-details p {
    display: block;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .contact-info-simple {
    padding: 20px;
  }
  
  .contact-info-simple h4 {
    font-size: 1.1rem;
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .contact-info-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 30px;
  }
  
  .schedule-content {
    grid-template-columns: 1fr;
  }
  
  .schedule-card {
    padding: 25px 20px;
  }
}

@media (max-width: 768px) {
  .contact-info-container {
    padding: 30px 20px;
    border-radius: 20px;
  }
  
  .contact-method {
    padding: 20px;
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .whatsapp-floating-btn,
  .map-floating-btn {
    position: static;
    transform: none;
    margin-top: 10px;
  }
  
  .whatsapp-floating-btn:hover,
  .map-floating-btn:hover {
    transform: scale(1.1);
  }
  
  .schedule-section {
    padding: 40px 20px;
    border-radius: 20px;
  }
  
  .schedule-card {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .schedule-card-content {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  
  .contact-section-header h3 {
    font-size: 1.5rem;
  }
  
  .method-value {
    font-size: 16px;
  }
  
  .schedule-header h3 {
    font-size: 1.6rem;
  }
}

/*--------------------------------------------------------------
# Enhanced Responsive Styles
--------------------------------------------------------------*/

/* ===== IMPROVED BUTTON STYLES ===== */

.btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: var(--font-size-base);
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--border-radius-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
  background: linear-gradient(45deg, var(--accent-color), #209475);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: white;
  background: linear-gradient(45deg, #1a7a5e, #1a7a5e);
}

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

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

.btn-outline:hover {
  background: var(--accent-color);
  color: white;
}

.btn-lg {
  padding: 15px 40px;
  font-size: var(--font-size-lg);
}

.btn-sm {
  padding: 8px 20px;
  font-size: var(--font-size-sm);
}

/* ===== CARD ENHANCEMENTS ===== */

.card {
  background: var(--surface-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  overflow: hidden;
}

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

.card-body {
  padding: var(--spacing-lg);
}

.card-img-top {
  transition: transform var(--transition-slow);
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

/* ===== ENHANCED FORMS ===== */

.form-control {
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: var(--border-radius-md);
  font-size: var(--font-size-base);
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(32, 148, 117, 0.25);
  outline: none;
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: var(--spacing-xs);
}

/* ===== SECTION ENHANCEMENTS ===== */

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xxl);
}

/* ===== IMPROVED ANIMATIONS ===== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeInLeft {
  animation: fadeInLeft 0.6s ease forwards;
}

.animate-fadeInRight {
  animation: fadeInRight 0.6s ease forwards;
}

/* ===== UTILITY CLASSES ===== */

.text-gradient {
  background: linear-gradient(45deg, var(--accent-color), #209475);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}

.shadow-md {
  box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

.rounded-sm {
  border-radius: var(--border-radius-sm) !important;
}

.rounded-md {
  border-radius: var(--border-radius-md) !important;
}

.rounded-lg {
  border-radius: var(--border-radius-lg) !important;
}

.rounded-xl {
  border-radius: var(--border-radius-xl) !important;
}

.transition-fast {
  transition: all var(--transition-fast) !important;
}

.transition-normal {
  transition: all var(--transition-normal) !important;
}

.transition-slow {
  transition: all var(--transition-slow) !important;
}

/* ===== ENHANCED RESPONSIVE BREAKPOINTS ===== */

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .section {
    padding: var(--spacing-md) 0;
  }
  
  .container {
    padding-left: var(--spacing-sm);
    padding-right: var(--spacing-sm);
  }
  
  .btn {
    width: 100%;
    margin-bottom: var(--spacing-sm);
  }
  
  .btn-group .btn {
    width: auto;
    margin-bottom: 0;
  }
  
  .card-body {
    padding: var(--spacing-md);
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: var(--font-size-base);
  }
  
  .form-control {
    font-size: 16px; /* Prevent zoom on iOS */
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .section {
    padding: calc(var(--spacing-xl) * 0.75) 0;
  }
  
  .btn-group .btn {
    flex: 1;
  }
  
  .card-deck .card {
    margin-bottom: var(--spacing-lg);
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .section {
    padding: calc(var(--spacing-xl) * 0.9) 0;
  }
  
  .container {
    padding-left: var(--spacing-lg);
    padding-right: var(--spacing-lg);
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .section {
    padding: var(--spacing-xxl) 0;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* ===== IMPROVED ACCESSIBILITY ===== */

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

/* Focus styles */
.btn:focus,
.form-control:focus,
a:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Excepción: enlaces del menú principal sin marco verde; usamos la barra inferior como indicador */
.navmenu a:focus,
.navmenu a:active,
.navmenu a:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .btn {
    border: 2px solid currentColor;
  }
  
  .card {
    border: 1px solid currentColor;
  }
}

/* =====================================================================
   Dark Mode (Desactivado por estrategia: sitio forzado en modo claro)
   -----------------------------------------------------------------
   Motivo: El diseño actual está optimizado para fondo claro y la
   implementación parcial de dark podía degradar contraste en imágenes.
   Cómo activar en el futuro:
   1. Quitar los comentarios del bloque @media.
   2. Ajustar variables adicionales (accent, bordes, sombras, overlays).
   3. Probar componentes: header scrolled, .dark-background, cards, footer.
   4. (Opcional) Añadir clase .force-dark en <html> para override manual.
*/
/*
  @media (prefers-color-scheme: dark) {
    :root {
      --background-color: #101416;
      --surface-color: #1b2326;
      --default-color: #e6eef1;
      --heading-color: #ffffff;
      --accent-color: #27b491;
      --shadow-sm: 0 2px 4px rgba(0,0,0,.55);
      --shadow-md: 0 4px 12px rgba(0,0,0,.6);
      --shadow-lg: 0 8px 28px rgba(0,0,0,.65);
    }
    .card { background: var(--surface-color); color: var(--default-color); }
    body.dark-background, .dark-background { background-color:#060606; }
  }
*/

/* ===== PERFORMANCE OPTIMIZATIONS ===== */

/* GPU acceleration for animations */
.card,
.btn,
.animate-fadeInUp,
.animate-fadeInLeft,
.animate-fadeInRight {
  will-change: transform;
}

/* Contain layout shifts */
img {
  max-width: 100%;
  height: auto;
}

/* Optimize rendering */
.section {
  contain: layout;
}

/* ===== PRINT STYLES ===== */

@media print {
  .btn,
  .navbar,
  .footer,
  .animate-fadeInUp,
  .animate-fadeInLeft,
  .animate-fadeInRight {
    display: none !important;
  }
  
  .section {
    padding: 20px 0 !important;
  }
  
  .card {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
  
  a[href]:after {
    content: " (" attr(href) ")";
  }
}

/*--------------------------------------------------------------
# Botón flotante de WhatsApp
--------------------------------------------------------------*/
#whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  animation: bounce 2s infinite;
}

#whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: all 0.3s ease;
}

#whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

#whatsapp-float i {
  font-size: 28px;
  color: #ffffff;
}

/* Animación de rebote */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Responsividad para dispositivos móviles */
@media (max-width: 768px) {
  #whatsapp-float {
    bottom: 15px;
    left: 15px;
  }
  
  #whatsapp-float a {
    width: 55px;
    height: 55px;
  }
  
  #whatsapp-float i {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  #whatsapp-float {
    bottom: 10px;
    left: 10px;
  }
  
  #whatsapp-float a {
    width: 50px;
    height: 50px;
  }
  
  #whatsapp-float i {
    font-size: 22px;
  }
}
