/*

TemplateMo 574 Mexant

https://templatemo.com/tm-574-mexant

*/

/* ---------------------------------------------
Table of contents
------------------------------------------------
01. font & reset css
02. reset
03. global styles
04. header
05. banner
06. features
07. testimonials
08. contact
09. footer
10. preloader
11. search
12. portfolio

--------------------------------------------- */
/* 
---------------------------------------------
font & reset css
--------------------------------------------- 
*/
/* 
---------------------------------------------
reset
--------------------------------------------- 
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, div
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q,
s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
figure, header, nav, section, article, aside, footer, figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clearfix {
  display: inline-block;
}

html[xmlns] .clearfix {
  display: block;
}

* html .clearfix {
  height: 1%;
}

ul, li {
  padding: 0;
  margin: 0;
  list-style: none;
}

header, nav, section, article, aside, footer, hgroup {
  display: block;
}

* {
  box-sizing: border-box;
}

html, body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  background-color: #fff;
  font-size: 16px;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none !important;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0px;
  margin-bottom: 0px;
  color: #dab71f;
}

ul {
  margin-bottom: 0px;
}

p {
  font-size: 15px;
  line-height: 26px;
  color: #212741;
}

img {
  width: 100%;
  overflow: hidden;
}

/* 
---------------------------------------------
global styles
--------------------------------------------- 
*/
html,
body {
  background: #fff;
  font-family: 'Poppins', sans-serif;
}

::selection {
  background: #ff511a;
  color: #fff;
}

::-moz-selection {
  background: #ff511a;
  color: #fff;
}

@media (max-width: 991px) {
  html, body {
    overflow-x: hidden;
  }
  .mobile-top-fix {
    margin-top: 30px;
    margin-bottom: 0px;
  }
  .mobile-bottom-fix {
    margin-bottom: 30px;
  }
  .mobile-bottom-fix-big {
    margin-bottom: 60px;
  }
}

.green-button a {
  font-size: 14px;
  color: #fff;
  background-color: #43ba7f;
  padding: 12px 30px;
  display: inline-block;
  border-radius: 5px;
  font-weight: 500;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  transition: all .3s;
}

.green-button a:hover {
  opacity: 0.9;
}

.orange-button a {
  font-size: 14px;
  color: #fff;
  background-color: #ff511a;
  padding: 12px 30px;
  display: inline-block;
  border-radius: 5px;
  font-weight: 500;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  transition: all .3s;
}

.orange-button a:hover {
  opacity: 0.9;
}

section {
  margin-top: 120px;
}

.section-heading {
  position: relative;
  z-index: 2;
  margin-top: 0px;
  text-align: center;
  margin-bottom: 70px;
}

.section-heading h6 {
  font-size: 20px;
  text-transform: uppercase;
  color: #3460A0;
  font-weight: 700;
}

.section-heading h4 {
  margin-top: 10px;
  line-height: 40px;
  font-size: 36px;
  font-weight: 700;
  text-transform: capitalize;
  color: #212741;
}

.section-heading p {
  margin-top: 30px;
}


/* 
---------------------------------------------
header
--------------------------------------------- 
*/
/* =========================
   HEADER BASE
========================= */

.background-header,
.header-area.scrolled {
  background-color: #14532d !important;
  height: 80px !important;
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3) !important;
}

.header-area {
  background-image: url(../images/header-bg.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  height: 110px;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  transition: background 0.4s ease, height 0.4s ease;
}

.header-area.header-sticky {
  position: fixed;
}
body.contact .header-area {
  background-color: #5D5D38 !important;
  padding: 10px 0; /* mismo tamaño que cuando hace scroll */
}
/* =========================
   NAV CON FLEX
========================= */

.header-area .main-nav {
  min-height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 25px;
}

/* =========================
   LOGO
========================= */

.header-area .main-nav .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
}

.header-area .main-nav .logo img {
  height: 38px;
  width: auto;
}

.header-area .main-nav .logo span {
  display: inline-block;
  margin-left: 4px;
  font-size: 16px;
  letter-spacing: 1px;
}

/* =========================
   NAV DESKTOP
========================= */

.header-area .main-nav .nav {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-area .main-nav .nav li {
  list-style: none;
}

.header-area .main-nav .nav li a {
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.header-area .main-nav .nav li a:hover,
.header-area .main-nav .nav li a.active {
  background-color: rgba(255,255,255,0.15);
  color: #8CC63F;
}

/* BOTÓN */
.header-area .main-nav .nav li:last-child a {
  background-color: #8CC63F;
  color: #0A4D2E;
  padding: 8px 18px;
  border-radius: 20px;
}

.header-area .main-nav .nav li:last-child a:hover {
  background-color: #76ad32;
}

/* =========================
   SUBMENU
========================= */

.header-area .main-nav .nav li.has-sub {
  position: relative;
}

.header-area .main-nav .nav li.has-sub > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  padding: 10px 18px 10px 16px;
  border-radius: 24px;
  background: #8CC63F;
  color: #0A4D2E;
  font-weight: 600;
  white-space: nowrap;
  transition: background .3s ease, color .3s ease;
}

.header-area .main-nav .nav li.has-sub > a:hover,
.header-area .main-nav .nav li.has-sub > a:focus {
  background: #76ad32;
  color: #092a10;
}

.header-area .main-nav .nav li.has-sub > a::after {
  content: "\25BE";
  font-size: 0.75rem;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: inherit;
  transition: transform .3s ease;
}

.header-area .main-nav .nav li.has-sub.is-open-sub > a::after {
  transform: translateY(-50%) rotate(-180deg);
}

.header-area .main-nav .nav li.has-sub ul {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border-radius: 14px;
  padding: 8px 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s ease;
  box-shadow: 0px 18px 35px rgba(0,0,0,0.14);
  z-index: 9999;
}

.header-area .main-nav .nav li.has-sub:hover ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-area .main-nav .nav li.has-sub ul li a {
  color: #0A4D2E;
  padding: 10px 16px;
  display: block;
  font-size: 15px;
}

.header-area .main-nav .nav li.has-sub ul li a:hover {
  background: #f0f8ea;
  color: #0A4D2E;
}

.header-area .main-nav .nav li.has-sub .language-label {
  font-weight: 600;
}


/* =========================
   HAMBURGUESA MODERNA
========================= */

.menu-trigger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-trigger span {
  width: 25px;
  height: 6px;
  background: #fff;
  border-radius: 5px;
  transition: all 0.3s ease;
}

/* ANIMACIÓN */
.menu-trigger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-trigger.active span:nth-child(2) {
  opacity: 0;
}
.menu-trigger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* =========================
   MOBILE / TABLET
========================= */

@media (max-width: 992px) {

  .menu-trigger {
    display: flex;
  }

  .header-area .main-nav {
    padding: 0 15px;
  }

  .header-area .main-nav .nav {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #0A4D2E;
    flex-direction: column;
    align-items: center;
    gap: 0;
    display: none;
    padding: 20px 0;
  }

  .header-area .main-nav .nav.active {
    display: flex;
  }

  .header-area .main-nav .nav li {
    width: 100%;
    text-align: center;
  }

  .header-area .main-nav .nav li a {
    width: 100%;
    padding: 15px;
    display: block;
    font-size: 16px;
  }

  .header-area .main-nav .nav li:last-child a {
    border-radius: 25px;
    width: auto;
    margin-top: 10px;
  }
}

/* =========================
   MOBILE EXTRA
========================= */

@media (max-width: 767px) {

  .header-area {
    height: 80px;
  }

  .header-area .main-nav .logo img {
    height: 45px;
  }

}

/* =========================
   FIX GLOBAL IMÁGENES
========================= */

img {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  overflow-x: hidden;
  height: 100%;
}
/* 
---------------------------------------------
banner
--------------------------------------------- 

/* =========================
   SWIPER
========================= */
.swiper-container {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.swiper-wrapper {
  height: 100%;
}

.swiper-slide {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* =========================
   SLIDE
========================= */
.slide-inner {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   IMAGEN
========================= */
.bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* =========================
   OVERLAY (FIX IMPORTANTE)
========================= */
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;

  background: linear-gradient(
    to right,
    rgba(20, 35, 25, 0.85) 30%,
    rgba(20, 35, 25, 0.4) 60%,
    rgba(20, 35, 25, 0.2) 100%
  );

  z-index: 1;

  pointer-events: none; /* 👈 SOLUCION CLAVE */
}

/* =========================
   CONTENIDO
========================= */
.hero-content {
  position: relative;
  z-index: 2;
}

/* =========================
   TEXTO
========================= */
.hero-text {
  color: #fff;
}

.subtitle {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 2px;
  color: #a8d5a2;
  margin-bottom: 15px;
  text-transform: uppercase;
}

/* TITULO */
.hero-text h1 {
  font-size: 60px;
  font-weight: 800;
  line-height: 70px;
  margin-bottom: 20px;
}

.hero-text h1 span {
  display: block;
  color: #8fd14f;
}

/* DESCRIPCIÓN */
.hero-desc {
  font-size: 18px;
  color: #dcdcdc;
  margin-bottom: 30px;
  max-width: 500px;
}

/* BOTÓN */
.hero-btn {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(135deg, #4CAF50, #8BC34A);
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* =========================
   LOGO
========================= */
.hero-logo-box {
  display: flex;
  justify-content: left;
  align-items: left;
  max-width: 100%;
}

.hero-logo-big {
  width: 900px;
  max-width: 100%;
  filter: drop-shadow(0px 10px 25px rgba(0,0,0,0.5));
  opacity: 0.95;
}

/* =========================
   NAVBAR (FIX PRINCIPAL)
========================= */
.header-area {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: 0.4s;

  background: transparent; /* 👈 arriba */
}

.header-area.scrolled {
  background: #14532d !important; /* 👈 scroll */
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}
/* =========================
   LINKS
========================= */

.header-area .nav li a {
  color: #fff;
  transition: 0.3s;
}

/* =========================
   BOTÓN IDIOMA
========================= */

.header-area .main-button {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 20px;
  padding: 8px 18px;
  transition: 0.3s;
}

.header-area.scrolled .main-button {
  background: #84cc16;
  color: #fff;
}

/* =========================
   EFECTO HOVER LINKS
========================= */

.header-area .nav li a:hover {
  color: #A3E635;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 767px) {
  .header-area {
    backdrop-filter: none;
  }
}
/* .slide-inner .header-text img{
  width: 500px;
} */
/* =========================
   CONTENEDOR TEXTO HERO
========================= */

/* =========================
   CONTENEDOR PRINCIPAL
========================= */

.header-text {
  /* display: flex; */
  position: relative;
  align-items: center;
  justify-content: flex-start;
  gap: 50px;
  flex-wrap: wrap; /* evita que se rompa en pantallas medianas */
}

/* =========================
   LOGO HERO PREMIUM
========================= */

.hero-logo {
  display: block;

  width: 100%;
  max-width: 300px;
  height: auto;

  margin-left: 0;
  margin-right: auto;

  /* 🎬 ESTADO INICIAL */
  opacity: 0;
  transform: scale(0.8);

  /* ✨ SOMBRA + PROFUNDIDAD */
  filter: blur(8px) drop-shadow(0px 10px 25px rgba(0,0,0,0.35));

  /* 🚀 ANIMACIONES */
  animation: logoReveal 1.2s ease forwards,
             floatLogo 4s ease-in-out infinite 1.2s;

  will-change: transform, opacity;
}

/* =========================
   ANIMACIÓN ENTRADA
========================= */

@keyframes logoReveal {
  0% {
    opacity: 0;
    transform: scale(0.8);
    filter: blur(8px);
  }

  60% {
    opacity: 1;
    transform: scale(1.05);
    filter: blur(2px);
  }

  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

/* =========================
   EFECTO FLOTANTE
========================= */

@keyframes floatLogo {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* =========================
   HOVER LOGO
========================= */

.hero-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0px 15px 35px rgba(0,0,0,0.5));
  transition: all 0.4s ease;
}

/* =========================
   CAJA TEXTO PREMIUM
========================= */

.text-box {
  background: linear-gradient(
    135deg,
    rgba(34, 139, 34, 0.85),
    rgba(0, 100, 0, 0.75)
  );

  padding: 30px 40px;
  border-radius: 16px;

  backdrop-filter: blur(8px);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.4),
    inset 0 1px 1px rgba(255,255,255,0.15);

  max-width: 520px;

  position: relative;
  z-index: 2;
}

/* brillo sutil */
.text-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.15),
    transparent
  );
  pointer-events: none;
}

/* =========================
   TEXTO
========================= */

.text-box h2 {
  color: #fff;
  font-size: 38px;
  margin: 0;
  line-height: 1.3;
  font-weight: 700;
}

.text-box h2 em {
  color: #A3E635;
  font-style: normal;
}

/* =========================
   RESPONSIVE TABLET
========================= */

@media (max-width: 992px) {
  .header-text {
    gap: 30px;
  }

  .hero-logo {
    max-width: 220px;
  }

  .text-box h2 {
    font-size: 30px;
  }
}

/* =========================
   RESPONSIVE MOBILE
========================= */

@media (max-width: 767px) {

  .header-text {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-logo {
    max-width: 180px;
    margin: 0 auto;
  }

  .text-box {
    padding: 20px;
  }

  .text-box h2 {
    font-size: 24px;
  }
}

/* =========================
   FIX GLOBAL IMÁGENES
========================= */

img {
  max-width: 100%;
  height: auto;
  display: block;
}


/* TEXTO CON COLOR DEL LOGO */
.slide-inner .header-text h2 em {
  font-style: normal;
  background: linear-gradient(90deg, #4CAF50, #FFC107);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* LINEA DECORATIVA */
.slide-inner .header-text .div-dec {
  width: 90px;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, #4CAF50, #FFC107);
  margin: 25px 0;
}

/* BOTONES */
.buttons {
  margin-top: 20px;
}

/* BOTON VERDE */
.green-button a {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(45deg, #2e7d32, #4CAF50);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.green-button a:hover {
  transform: translateY(-3px);
  background: linear-gradient(45deg, #1b5e20, #388e3c);
}

/* BOTON NARANJA */
.orange-button a {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(45deg, #f57c00, #ff9800);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  margin-left: 15px;
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.orange-button a:hover {
  transform: translateY(-3px);
  background: linear-gradient(45deg, #e65100, #fb8c00);
}

/* FLECHAS */
.swiper-button-next,
.swiper-button-prev {
  color: #fff !important;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: background 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(0, 0, 0, 0.65);
}

.swiper-button-next {
  right: 24px;
}

.swiper-button-prev {
  left: 24px;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .slide-inner .header-text {
    width: 90%;
  }

  .hero-text h1,
  .slide-inner .header-text h2 {
    font-size: 42px;
    line-height: 1.1;
  }

  .hero-desc {
    font-size: 16px;
    max-width: 100%;
  }

  .hero-logo {
    width: 100px;
  }
}

@media (max-width: 767px) {
  .slide-inner {
    min-height: 75vh;
  }

  .hero-text h1 {
    font-size: 32px;
    line-height: 42px;
  }

  .hero-desc {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 40px;
    height: 40px;
    right: 16px;
    left: 16px;
  }

  .swiper-button-next {
    right: 16px;
  }

  .swiper-button-prev {
    left: 16px;
  }
}

@media (max-width: 1200px) {
  .hero-text h1 {
    font-size: 48px;
    line-height: 1.05;
  }
}

@media (max-width: 991px) {
  .slide-inner {
    min-height: 70vh;
  }

  .hero-text h1 {
    font-size: 40px;
  }

  .hero-desc {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .slide-inner {
    min-height: 60vh;
  }

  .hero-text h1 {
    font-size: 30px;
    line-height: 40px;
  }

  .hero-desc {
    font-size: 15px;
    max-width: 100%;
  }

  .section-heading {
    text-align: center;
  }

  .footer-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .footer-links ul {
    padding-left: 0;
  }

  .contact-us-form textarea {
    min-height: 160px;
  }

  .videos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery-card {
    width: 100%;
    margin-bottom: 20px;
  }
}
/*
---------------------------------------------
about intro section
---------------------------------------------
*/

.about-intro {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #fff 100%);
  position: relative;
  margin-top: -5px;
}

.about-images {
  position: relative;
  height: 500px;
  margin-bottom: 30px;
}

.about-images img{
  position:absolute;
  width:100%;
  object-fit: cover;
  border-radius:10px;

  opacity:0;
  transform:scale(0.9) translateX(-60px);
  transition:all 0.9s ease;
}

.about-images .img-1 {
  width: 65%;
  height: 380px;
  top: 0;
  left: 0;
  z-index: 3;
}

.about-images .img-2 {
  width: 60%;
  height: 340px;
  bottom: 0;
  right: 0;
  z-index: 2;
  transform:scale(0.9) translateX(60px);
}
.about-images img.show{
  opacity:1;
  transform:scale(1) translateX(0);
}

.about-content {
  position: relative;
  z-index: 1;
}

.about-content .section-tag {
  font-size: 14px;
  color: #3460A0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 15px;
}

.about-content .section-title {
  font-size: 42px;
  font-weight: 700;
  color: #212741;
  margin-bottom: 20px;
  line-height: 50px;
}

.about-content .section-description {
  font-size: 16px;
  color: #666;
  line-height: 28px;
  margin-bottom: 40px;
}

.about-content .qhacemos-title {
  font-size: 24px;
  font-weight: 700;
  color: #212741;
  margin-bottom: 30px;
  margin-top: 30px;
}

.services-list {
  display: grid;
  gap: 20px;
}

.service-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  border-left: 4px solid #43ba7f;
  transition: all 0.3s ease;
}

.service-box:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transform: translateX(5px);
}

.service-icon {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #43ba7f 0%, #2a8a5f 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
}

.service-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: #212741;
  margin-bottom: 5px;
}

.service-text p {
  font-size: 14px;
  color: #666;
  line-height: 22px;
  margin: 0;
}

@media (max-width: 991px) {
  .about-intro {
    padding: 60px 0;
  }
  
  .about-images {
    height: 350px;
    margin-bottom: 40px;
  }
  
  .about-images .img-1 {
    width: 70%;
    height: 280px;
  }
  
  .about-images .img-2 {
    width: 65%;
    height: 250px;
  }
  
  .about-content .section-title {
    font-size: 32px;
    line-height: 40px;
  }
  
  .ps-4 {
    padding-left: 0 !important;
  }
}

@media (max-width: 767px) {
  .about-intro {
    padding: 40px 0;
  }
  
  .about-images {
    height: 280px;
    margin-bottom: 30px;
  }
  
  .about-images .img-1 {
    width: 100%;
    height: 250px;
    top: 0;
    right: 0;
    left: auto;
  }
  
  .about-images .img-2 {
    display: none;
  }
  
  .about-content .section-title {
    font-size: 24px;
    line-height: 32px;
  }
}

/*
---------------------------------------------
services
---------------------------------------------
*/

section.services {
  margin-top: 0px;
}

.services .service-item {
  border-radius: 5px;
  padding: 40px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
}

.services .service-item:hover i {
  margin-top: 15px;
}

.services .service-item h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
}

.services .service-item i {
  transition: all .5s;
  float: left;
  font-size: 64px;
  color: #43ba7f;
  margin-bottom: 30px;
  margin-right: 30px;
}



/*
---------------------------------------------
cta
---------------------------------------------
*/

/* BASE ORIGINAL  */
/* ====== SECCION SIMPLE CTA ====== */

section.simple-cta{
  width:100%;
  padding:0;
  position:relative;
}

/* ====== MITADES ====== */
.vision-section,
.mission-section{
  min-height:380px;
  background-size:cover;
  background-position:center;
  position:relative;
}

/* IMAGENES */
.vision-section{
  background-image:url('../images/DSC04269.jpg');
}

.mission-section{
  background-image:url('../images/DSC04405.jpg');
}

/* OSCURECER IMAGEN */
.vision-section::before,
.mission-section::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.45);
}

/* ====== CARD BASE ====== */
.card-box{
  position:absolute;
  z-index:2;

  width:520px;
  padding:35px 40px;

  border-radius:8px;

  color:#fff;

  /* ANIMACION */
  opacity:0;
  transform:translateY(80px);
  transition:all 0.8s ease;
}
.card-box.show{
  opacity:1;
  transform:translateY(0);
}

/* ====== CARD VISION ====== */
.vision-section .card-box{
  background:#3b3b3b;
  top:-100px;
  left:25%;
}

/* ====== CARD MISION ====== */
.mission-section .card-box{
  background:#4e6f58;
  bottom:-40px;
  right:20%;
}

/* TITULO */
.tag-title{
  font-size:32px;
  font-weight:700;
  margin-bottom:15px;
  color:#fff;
}

/* TEXTO */
.card-box p{
  font-size:15px;
  line-height:1.8;
  color:#fff;
}

/* ICONO COMILLAS */
.card-box p::before{
  content:"\f10d";
  font-family:"Font Awesome 6 Free";
  font-weight:900;

  font-size:26px;
  margin-right:10px;

  color:#8bc34a;
}

/* RESPONSIVE */
@media(max-width:992px){

  .vision-section .card-box,
  .mission-section .card-box{
    position:relative;
    width:90%;
    margin:40px auto;

    top:auto;
    bottom:auto;
    left:auto;
    right:auto;
  }

}
/*
---------------------------------------------
about us
---------------------------------------------
*/

section.about-us {
  margin-top: 90px;
}


section.about-us .section-heading {
  padding-top: 30px;
}

section.about-us .naccs {
  position: relative;
}

section.about-us .naccs .menu div {
  padding: 15px 30px;
  display: inline-block;
  text-align: center;
  border-radius: 5px !important;
  margin-right: 30px;
  font-size: 18px;
  color: #04053f;
  background-color: #fff;
  cursor: pointer;
  vertical-align: middle;
  font-weight: 600;
  transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}

section.about-us .naccs .menu div.active {
  color: #0f721c;
}

section.about-us ul.nacc {
  margin-top: 50px !important;
  position: relative;
  min-height: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

section.about-us ul.nacc li {
  background-color: #fff;
  overflow: hidden;
  opacity: 0;
  transform: translateX(50px);
  position: absolute;
  list-style: none;
  transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

section.about-us ul.nacc li .main-list,
section.about-us ul.nacc li .list-item {
  border-bottom: 1px solid #eee;
  margin-bottom: 25px;
  padding-bottom: 25px;
}

section.about-us ul.nacc li .last-item {
  margin-bottom: 0px;
}

section.about-us ul.nacc li span.title {
  font-size: 15px;
  color: #212741;
  font-weight: 600;
  display: inline-block;
  width: 24%;
}

section.about-us ul.nacc li span.item-title {
  color: #43ba7f !important;
  font-weight: 600 !important;
}

section.about-us ul.nacc li span.item {
  font-size: 15px;
  color: #212741;
  font-weight: 400;
  display: inline-block;
  width: 24%;
}

section.about-us ul.nacc li.active {
  position: relative;
  transition-delay: 0.3s;
  z-index: 2;
  opacity: 1;
  transform: translateX(0px);
}

section.about-us .right-content {
  margin-left: 60px;
}

section.about-us .right-content h4 {
  font-size: 22px;
  font-weight: 700;
  line-height: 40px;
  margin-bottom: 40px;
}

section.about-us .right-content p {
  margin-bottom: 50px;
}

/* 
---------------------------------------------
testimonials
--------------------------------------------- 
*/

section.testimonials {
  margin-top: 90px;
}

section.testimonials .section-heading {
  padding-top: 30px;
}

.testimonials .item {
  border-radius: 15px;
  padding: 50px 320px 50px 50px;
  background-color: #fff;
  position: relative;
  overflow: hidden;
  margin: 15px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
  padding-top: 35px;
}

.testimonials .item i {
  width: 70px;
  height: 70px;
  background-color: #43ba7f;
  display: inline-block;
  text-align: center;
  line-height: 70px;
  color: #fff;
  font-size: 44px;
  border-radius: 5px;
  margin-bottom: 30px;
}

.testimonials .item p {
  font-size: 16px;
  font-style: italic;
}

.testimonials .item h4 {
  margin-top: 30px;
  font-size: 22px;
  font-weight: 600;
  position: relative;
}

.testimonials .item span {
  margin-top: 5px;
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #43ba7f;
}

.testimonials .item img {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  max-width: 300px;
  border-radius: 5px;
}

.testimonials .owl-dots {
  text-align: center;
  margin-top: 30px;
}

.testimonials .owl-dots .owl-dot {
  width: 10px;
  height: 10px;
  background-color: #ffa88c;
  border-radius: 50%;
  margin: 0px 4px;
}

.testimonials .owl-dots .active {
  background-color: #ff511a;
}



/* 
---------------------------------------------
partners
--------------------------------------------- 
*/

section.partners {
  background-color: #212741;
  padding: 80px 0px;
}

section.partners .item {
  margin: 0px 15px;
  cursor: pointer;
  transition: all .3s;
}

section.partners .item:hover {
  opacity: 0.75;
}



/* 
---------------------------------------------
footer 
--------------------------------------------- 
*/

/* /* ===== FOOTER ===== */

/* ===== FOOTER GENERAL ===== */
.main-footer{
  background:#1f1f1f;
  color:#ccc;
  padding-top:70px;
  font-size:14px;
}

/* CONTENIDO */
.footer-content{
  padding-bottom:40px;
}

/* ===== LOGO ===== */
.footer-logo{
  width:160px;
  margin-bottom:15px;
}

/* TEXTO DESCRIPCIÓN */
.footer-about p{
  color:#bbb;
  line-height:1.6;
  margin-bottom:20px;
}

/* ===== TITULOS ===== */
.footer-links h4{
  color:#fff;
  font-size:18px;
  margin-bottom:20px;
  font-weight:700;
  position:relative;
}

/* LINEA DECORATIVA */
.footer-links h4::after{
  content:"";
  display:block;
  width:40px;
  height:3px;
  background:#E5AB0A;
  margin-top:8px;
}

/* ===== LISTAS ===== */
.footer-links ul{
  list-style:none;
  padding:0;
  margin:0;
}

.footer-links ul li{
  margin-bottom:10px;
}

/* LINKS */
.footer-links ul li a{
  color:#ccc;
  text-decoration:none;
  transition:all 0.3s;
}

.footer-links ul li a:hover{
  color:#E5AB0A;
  padding-left:5px;
}

/* ===== CONTACTO ===== */
.footer-contact{
  list-style:none;
  padding:0;
  margin-top:10px;
}

.footer-contact li{
  margin-bottom:10px;
  color:#bbb;
}

.footer-contact i{
  color:#E5AB0A;
  margin-right:8px;
  width:18px;
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom{
  background:#151515;
  padding:20px 0;
  text-align:center;
}

.footer-bottom p{
  margin:0;
  font-size:13px;
  color:#aaa;
}

.footer-bottom a{
  color:#E5AB0A;
  text-decoration:none;
  font-weight:600;
}

.footer-bottom a:hover{
  text-decoration:underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width:991px){

  .footer-content{
    text-align:center;
  }

  .footer-logo{
    margin:auto;
    margin-bottom:20px;
  }

  .footer-links{
    margin-top:30px;
  }

}

/* 
---------------------------------------------
page heading
--------------------------------------------- 
*/

.page-heading {
  position: relative;

  background-image: url(../images/DSC04738.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  height: 600px; /* 👈 CLAVE: altura fija para que no se corte */
  
  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  overflow: hidden; /* 👈 CLAVE */
}

.page-heading h2 {
  font-size: 56px;
  color: #fff;
  font-weight: 700;
}

.page-heading .div-dec {
  width: 80px;
  height: 6px;
  border-radius: 3px;
  background-color: #fff;
  margin: 20px auto 0 auto;
}

/* MASCARA */
.cut-image{
  position:absolute;
  bottom:0;       /* pega la imagen abajo */
  left:0;
  width:100%;
  z-index:3;
  pointer-events: none;
}


/* 
---------------------------------------------
about us page
--------------------------------------------- 
*/

section.top-section .left-image img {
  border-radius: 10px;
}

.about-us-image-grid {
  display: grid;
  gap: 20px;
}

.about-us-image-grid .image-large img,
.about-us-image-grid .image-small img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  height: auto;
  display: block;
}

.about-us-image-grid .image-small {
  max-width: 70%;
  margin-left: auto;
}

.about-us-text .section-tag,
.what-we-do .left-content .section-tag {
  display: inline-block;
  color: #43ba7f;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.about-us-text h2 {
  font-size: 42px;
  line-height: 1.05;
  margin-bottom: 25px;
}

.about-us-text p,
.what-we-do .left-content p {
  color: #4a4a4a;
  line-height: 1.8;
  margin-bottom: 30px;
}

.about-us-highlights {
  display: grid;
  gap: 20px;
}

.highlight {
  background: #f7f7f7;
  border-radius: 15px;
  padding: 25px;
}

.highlight h5 {
  margin-bottom: 12px;
  font-size: 18px;
  color: #212741;
}

.highlight p {
  margin: 0;
  color: #5c5c5c;
}

section.top-section .accordions {
  border-radius: 5px;
  padding: 50px 40px;
  background-color: #fff;
  margin-left: 30px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}
.accordions .accordion {
  border-bottom: 1px solid #eee;
}
.accordions .last-accordion {
  border-bottom: none;
}
.accordion-head {
  padding: 35px 0px !important;  
  font-size: 22px;
  font-weight: 600;
  color: #212741;
  cursor: pointer;
  transition: color 200ms ease-in-out;
  
}
@media screen and (min-width: 768px) {
  .accordion-head {
    padding: 1rem;
    font-size: 1.2rem;
  }
}
.accordion-head .icon {
  float: right;
  transition: transform 200ms ease-in-out;
}
.accordion-head.is-open {
  color: #43ba7f;
  border-bottom: none;
}
.accordion-head.is-open .icon {
  transform: rotate(45deg);
}
.accordion-body {
  padding: 0px;
  overflow: hidden;
  height: 0;
  transition: height 300ms ease-in-out;
  border-bottom: 1px solid #fff;
}
.accordion-body > .content p {
  padding: 0px 0px 30px 0px;
  padding-top: 0;
}

section.what-we-do {
  margin-bottom: -30px;
}

.what-we-do .left-content {
  margin-right: 60px;
}

.what-we-do .left-content h4 {
  font-size: 22px;
  font-weight: 700;
  line-height: 40px;
  margin-bottom: 40px;
}

.what-we-do .left-content p {
  margin-bottom: 40px;
}

.what-we-do .right-items .item {
  border-radius: 5px;
  padding: 40px 30px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  position: relative;
}

.what-we-do .right-items .item em {
  position: absolute;
  font-style: normal;
  font-size: 44px;
  color: #43ba7f;
  font-weight: 600;
  right: 15px;
  top: 5px;
  transition: all .3s;
}

.what-we-do .right-items .item h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 22px;
}

.what-we-do .right-items .item:hover em {
  top: 10px;
}


/* ===== GALERÍA COLLAGE ===== */

.services-gallery {
  padding: 40px 0;
}

/* CONTENEDOR MASONRY */
.masonry-gallery {
  column-count: 3;
  column-gap: 10px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .masonry-gallery {
    column-count: 2;
  }
}

@media (max-width: 576px) {
  .masonry-gallery {
    column-count: 1;
  }
}

/* CARD */
.gallery-card {
  position: relative;
  margin-bottom: 10px;
  break-inside: avoid;
  border-radius: 12px;
  overflow: hidden;
}

/* IMAGEN (IMPORTANTE 🔥) */
.gallery-card img {
  width: 100%;
  height: auto; /* 👈 CLAVE: no se recorta */
  display: block;
}

/* OVERLAY */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  padding: 15px;
  color: #fff;

  opacity: 0;
  transition: 0.3s ease;
}

/* TEXTO */
.gallery-overlay h4 {
  font-size: 16px;
  margin-bottom: 5px;
}

.gallery-overlay p {
  font-size: 13px;
}

/* HOVER */
.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-card:hover img {
  transform: scale(1.03);
  transition: 0.3s;
}

/* 
---------------------------------------------
contact us page
--------------------------------------------- 
*/

section.map .info-item {
  text-align: center;
  padding: 40px 30px;
  border-radius: 5px;
  background-color: #fff;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
  margin-top: -60px;
  margin-left: 15px;
  margin-right: 15px;
  position: relative;
  z-index: 2;
  transition: all .5s;
}

section.map .info-item:hover {
  margin-top: -70px;
}

section.map .info-item i {
  font-size: 36px;
  color: #43ba7f;
  margin-bottom: 25px;
}

section.map .info-item h4 {
  font-size: 18px;
  color: #212741;
  font-weight: 600;
  margin-bottom: 12px;
}

section.map .info-item a {
  font-size: 15px;
  font-weight: 600;
  color: #43ba7f;
  transition: all 0.3s;
}

section.map .info-item a:hover {
  color: #ff511a;
}

#contact input {
  width: 100%;
  height: 50px;
  background-color: #f7f7f7;
  color: #212741;
  border-radius: 5px;
  border: none;
  padding: 0px 15px;
  font-size: 14px;
  outline: none;
  margin-bottom: 30px;
}

#contact textarea {
  width: 100%;
  height: 180px;
  max-height: 24px;
  min-height: 150px;
  background-color: #f7f7f7;
  color: #212741;
  border-radius: 5px;
  border: none;
  padding: 15px 15px;
  font-size: 14px;
  outline: none;
  margin-bottom: 30px;
}

#contact input::placeholder, 
#contact textarea::placeholder {
  color: #212741;
}
#contact button.orange-button {
  font-size: 14px;
  color: #fff;
  background-color: #123609;
  padding: 12px 30px;
  display: inline-block;
  border-radius: 5px;
  font-weight: 500;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  border: none;
  transition: all .3s;
}

#contact button.orange-button:hover {
  background-color: #43ba7f;
}


/* 
---------------------------------------------
responsive
--------------------------------------------- 
*/


body {
  overflow-x: hidden;
}

@media (max-width: 992px) {
  .header-area {
    background-color: #212741;
  }
  .header-area .main-nav .nav li.has-sub > a {
    width: 100%;
  }
  .header-area .main-nav .nav li.has-sub ul.sub-menu {
    position: static;
    top: auto;
    left: auto;
    background: transparent;
    border-radius: 0;
    padding: 0;
    min-width: auto;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .header-area .main-nav .nav li.has-sub.is-open-sub ul.sub-menu {
    display: block;
  }
  .header-area .main-nav .nav li.has-sub .sub-menu li a {
    color: #fff;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    margin: 6px 12px;
    padding: 12px 16px;
    display: block;
    font-weight: 500;
  }
  .header-area .main-nav .nav li.has-sub .sub-menu li a:hover {
    background: rgba(255,255,255,0.16);
    color: #A3E635;
  }
  .header-area .main-nav .nav li.has-sub > a::after {
    right: 18px;
  }
  .slide-inner .header-text {
    width: 80%;
  }
  .simple-cta {
    text-align: center;
  }
  section.simple-cta .buttons {
    justify-content: center;
  }
  section.about-us .naccs .menu div,
  section.service-details .naccs .menu div {
    margin-right: 15px;
    font-size: 15px;
    padding: 15px 20px;
  }
  section.about-us .right-content {
    margin-left: 0px;
    margin-top: 60px;
  }
  section.calculator .left-image {
    display: none;
  }
  .testimonials .item img {
    max-width: 200px;
    right: 50px;
  }
  section.partners .item {
    margin:15px; 
  }
  section.top-section .accordions {
    margin-left: 0px;
    margin-top: 45px;
  }
  .what-we-do .left-content {
    margin-right: 0px;
    margin-bottom: 45px;
  }
  .main-services .left-image {
    margin-right: 0px;
    margin-bottom: 30px;
  }
  .main-services .right-text-content {
    margin-left: 0px;
  }
  .main-services .right-image {
    margin-left: 0px;
    margin-top: 30px;
  }
  section.service-details ul.nacc li .left-image {
    position: relative;
    margin-right: 0px;
    transform: translateY(0px);
  }
  section.service-details ul.nacc li .left-image img {
    border-radius: 15px;
  }
  section.service-details ul.nacc li .right-content {
    padding: 50px;
    margin-left: 0px;
  }
  section.service-details ul.nacc li .right-content h4 {
    margin-right: 0px;
  }
  section.service-details ul.nacc li.active {
    display: inline-block;
  }
  section.service-details ul.nacc li {
    display: none;
  }
  section.map .info-item {
    margin-top: 30px;
  }
}

@media (max-width: 767px) {
  .header-area .main-nav .logo {
    line-height: 100px;
  }
  .background-header .main-nav .logo {
    line-height: 80px;
  }
  .header-area .main-nav .nav li.has-sub ul.sub-menu {
    position: static;
    top: auto;
    left: auto;
    background: transparent;
    border-radius: 0;
    padding: 0;
    min-width: auto;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .header-area .main-nav .nav li.has-sub.is-open-sub ul.sub-menu {
    display: block;
  }
  .header-area .main-nav .nav li.has-sub .sub-menu li a {
    color: #0A4D2E;
    background: #fff;
    border-radius: 12px;
    margin: 6px 12px;
    padding: 12px 16px;
    display: block;
    font-weight: 500;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
  }
  .header-area .main-nav .nav li.has-sub .sub-menu li a:hover {
    background: #f0f8ea;
    color: #0A4D2E;
  }
  .header-area .main-nav .nav li.has-sub > a {
    width: 100%;
  }
  .header-area .main-nav .nav li.has-sub > a::after {
    right: 18px;
  }
  .slide-inner .header-text p {
    display: none;
  }
  .slide-inner .header-text {
    text-align: center;
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
  }
  .slide-inner .header-text .div-dec {
    margin-left: auto;
    margin-right: auto;
  }
  .slide-inner .header-text .buttons {
    display: inline-flex;
  }
  .slide-inner .header-text .buttons .green-button {
    float: none;
  }
  .services .service-item i {
    margin-bottom: 35px;
  }
  section.about-us ul.nacc li span.item-title {
    font-size: 14px !important;
  }
  section.about-us ul.nacc li span.item {
    font-size: 13px;
  }
  .testimonials .item i {
    margin-bottom: 60px;
  }
  .testimonials .item img {
    max-width: 100px;
    right: 50px;
    top: 35px;
    transform: translateY(0);
  }
  .testimonials .item {
    padding: 50px;
  }
}

/*
---------------------------------------------
locations section
---------------------------------------------
*/

.locations-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #fff 100%);
}

.locations-map {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 18px;
}

.locations-content h3 {
  font-size: 28px;
  font-weight: 700;
  color: #212741;
  margin-bottom: 30px;
  text-align: center;
}

.locations-list {
  margin-bottom: 40px;
}

.location-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.location-item:last-child {
  border-bottom: none;
}

.location-pin {
  font-size: 24px;
  flex-shrink: 0;
}

.location-info h5 {
  font-size: 18px;
  font-weight: 600;
  color: #212741;
  margin-bottom: 5px;
}

.location-info p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.locations-map {
  position: relative;
  width: 100%;
  height: 420px;
  min-height: 420px;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  background-color: #f0f0f0;
  overflow: hidden;
  z-index: 1;
}

.locations-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.location-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.location-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 12px;
  border-radius: 10px;
  border: 1px solid rgba(67, 186, 127, 0.25);
  background: #f5fff8;
  color: #1f4d3c;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.location-button:hover,
.location-button:focus {
  background: #e6f9eb;
  border-color: #43ba7f;
  color: #1a3f30;
}

.locations-content .locations-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin-top: 10px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.16);
}

.gallery-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

@media (max-width: 991px) {
  .location-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .locations-content .locations-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .location-buttons {
    grid-template-columns: 1fr;
  }

  .locations-content .locations-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-image {
    height: 200px;
  }
}

@media (max-width: 991px) {
  .locations-section {
    padding: 60px 0;
  }
  
  .locations-map {
    height: 300px;
    margin-bottom: 40px;
  }
  
  .locations-content h3 {
    font-size: 24px;
  }
  
  .locations-gallery {
    max-width: 250px;
  }
  
  .gallery-image {
    height: 150px;
  }
}

@media (max-width: 767px) {
  .locations-section {
    padding: 40px 0;
  }
  
  .locations-map {
    height: 250px;
    margin-bottom: 30px;
  }
  
  .locations-content h3 {
    font-size: 20px;
  }
  
  .locations-gallery {
    max-width: 200px;
  }
  
  .gallery-image {
    height: 120px;
  }
  
  .gallery-item:nth-child(2) {
    margin-left: 10px;
  }
  
  .gallery-item:nth-child(3) {
    margin-left: 5px;
  }
}
/* galeria index */
/* =========================
   SECCION GENERAL
========================= */
.testimonios-video {
  position: relative;
  padding: 70px 0;
  overflow: hidden;
  color: #fff;
  margin-top: 0;
}

/* FONDO */
.bg-section {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url("assets/images/DJI_0501.jpg") center/cover no-repeat;
  top: 0;
  left: 0;
  z-index: 0;
}

.bg-section::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(10, 20, 15, 0.9),
    rgba(10, 20, 15, 0.7)
  );
}

/* CONTENIDO */
.testimonios-video .container {
  position: relative;
  z-index: 2;
}

/* TITULO */
.section-heading h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 0;
}

.section-heading p {
  color: #ccc;
  margin-bottom: 40px; /* 👈 menos espacio */
}

/* GRID */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* VIDEO CARD */
.video-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16/9;
}

.video-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* OVERLAY CARD */
.video-item::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.4);
}

/* HOVER */
.video-item:hover img {
  transform: scale(1.1);
}

/* BOTON PLAY */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  width: 70px;
  height: 70px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 26px;
  color: #fff;

  z-index: 2;
  transition: 0.3s;

  animation: pulse 2s infinite;
}

.video-item:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: #4CAF50;
}

/* EFECTO PULSO */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.6);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(76, 175, 80, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
  }
}

/* =========================
   MODAL (CORREGIDO 🔥)
========================= */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* 👈 antes estaba mal */
  background: rgba(0,0,0,0.9);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;

  transition: opacity 0.4s ease;
  z-index: 99999;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

/* CONTENIDO MODAL */
.video-modal-content {
  position: relative;
  width: 96%;
  max-width: 1200px;
  max-height: 90vh;

  transform: scale(0.9);
  opacity: 0;

  transition: all 0.4s ease;
}

.video-modal.active .video-modal-content {
  transform: scale(1);
  opacity: 1;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}

.video-wrapper iframe,
.video-modal iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal iframe {
  background: #000;
}


/* CERRAR */
.close-modal {
  position: absolute;
  top: -45px;
  right: 0;
  font-size: 35px;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.close-modal:hover {
  transform: scale(1.2);
}

/* =========================
   RESPONSIVE 🔥
========================= */

/* TABLET */
@media (max-width: 992px) {
  .videos-grid {
    grid-template-columns: 1fr 1fr;
  }

  .video-modal video {
    max-height: 70vh;
  }
}

/* CELULAR */
@media (max-width: 576px) {
  .videos-grid {
    grid-template-columns: 1fr;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .video-modal video {
    max-height: 60vh;
  }
}

/* GLOBAL RESPONSIVE ADICIONAL */
@media (max-width: 991px) {
  .page-heading {
    height: 420px;
  }

  .page-heading h2 {
    font-size: 42px;
  }

  section.top-section .accordions {
    margin-left: 0;
    padding: 30px 20px;
  }

  .what-we-do .left-content {
    margin-right: 0;
  }

  .what-we-do .right-items .item {
    padding: 28px 20px;
  }

  .footer-content {
    flex-wrap: wrap;
    justify-content: center;
  }

  section.map .info-item {
    margin-left: 0;
    margin-right: 0;
    padding: 30px 20px;
  }

  .contact-us-form .row {
    margin-left: -10px;
    margin-right: -10px;
  }

  .contact-us-form .row > div {
    padding-left: 10px;
    padding-right: 10px;
  }

  .contact-us-form input,
  .contact-us-form textarea,
  .contact-us-form button {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .page-heading {
    height: 320px;
  }

  .page-heading h2 {
    font-size: 30px;
  }

  .section-heading {
    margin-bottom: 20px;
  }

  .about-content .section-title {
    font-size: 28px;
  }

  section.top-section .left-image,
  section.top-section .accordions {
    width: 100%;
  }

  section.top-section .accordions {
    margin-left: 0;
    margin-top: 30px;
    padding: 25px 18px;
  }

  .what-we-do .left-content {
    margin-right: 0;
  }

  .what-we-do .left-content h4 {
    font-size: 20px;
  }

  .what-we-do .right-items .item {
    padding: 22px 18px;
  }

  .services-gallery {
    padding: 30px 0;
  }

  .masonry-gallery {
    column-count: 1;
  }

  .footer-links {
    width: 100%;
  }

  .footer-bottom p {
    font-size: 14px;
  }
}

/* ===========================
PROVEEDORES
=========================== */

.proveedores {
  padding: 60px 0 40px 0;
  margin-top: -40px;
}

/* TITULO */

.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-size: 36px;
  font-weight: 700;
}

.line-dec {
  width: 70px;
  height: 4px;
  background: #2a6c3f;
  margin: 12px auto 15px;
  border-radius: 5px;
}

/* GRID */

.proveedores-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

/* ITEM */

.proveedor-item {
  overflow: hidden;
  border-radius: 10px;
  height: 300px;
  position: relative;
}

.proveedor-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* HOVER EFECTO */

.proveedor-item:hover img {
  transform: scale(1.1) rotate(1deg);
}

/* BOTON */

.proveedores-btn {
  text-align: center;
  margin-top: 30px;
}

.btn-galeria {
  background: #2a6c3f;
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-galeria:hover {
  background: #1f4f2e;
}

/* Certifications Carousel */
.testimonials .certifications {
  padding-bottom: 6px;
}

.testimonials .certifications .owl-item {
  display: flex;
  justify-content: center;
  padding: 0 !important;
}

.testimonials .certifications .item {
  padding: 0 !important;
  margin: 0 6px !important;
  border-radius: 0 !important;
  background: transparent !important;
  overflow: visible !important;
  min-height: 0 !important;
  height: auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  box-shadow: none !important;
}

.testimonials .certifications .item img {
  position: relative !important;
  width: auto !important;
  max-width: 100% !important;
  max-height: 140px !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  margin: 0 auto !important;
  display: inline-block !important;
  bottom: auto !important;
  right: auto !important;
}

.testimonials .certifications .owl-stage-outer {
  padding-bottom: 4px !important;
}

.testimonials .certifications .owl-dots {
  margin-top: 16px !important;
}

@media (max-width: 767px) {
  .testimonials .certifications .item {
    height: auto !important;
    min-height: 0 !important;
  }

  .testimonials .certifications .item img {
    max-height: 250px !important; 
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }

  .container,
  .container-fluid {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .section-heading,
  .page-heading,
  .contact-us-form,
  .about-intro,
  .services-gallery,
  .providers-section,
  .testimonios-video {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .footer-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    justify-content: center;
  }

  .row {
    margin-left: -10px !important;
    margin-right: -10px !important;
  }

  .row > [class*="col-"] {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  body {
    overflow-x: hidden;
  }
}
.whatsapp-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: white; /* Fondo blanco para el ícono */
  border-radius: 50%; /* Bordes redondeados */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  padding: 10px; /* Espacio alrededor del ícono */
  z-index: 1000; /* Asegúrate de que esté por encima de otros elementos */
  transition: background-color 0.3s; /* Suaviza la transición del color de fondo */
}

.whatsapp-icon img {
  width: 50px; /* Ajusta el tamaño del ícono */
  height: auto; /* Mantiene la proporción de la imagen */
}

/* Efecto hover */
.whatsapp-icon:hover {
  background-color: #e0e0e0; /* Color de fondo al pasar el mouse */
}

/* Media query para pantallas más pequeñas */
@media (max-width: 600px) {
  .whatsapp-icon {
      width: 50px; /* Ancho del botón */
      height: 50px; /* Altura del botón */
      padding: 5px; /* Espacio alrededor del ícono */
  }

  .whatsapp-icon img {
      width: 40px; /* Tamaño más pequeño del ícono */
  }
}