/**
* Template Name: Ecoalza Facility Templates
* Template URL: https://ecoalza.es
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: Ecoalza.es
* License: https://ecoalza.es
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://ecoalza.es
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --heading-font: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --nav-font: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}


/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root{
  --accent-color: #052E16;     /* tu verde corporativo real */
  --heading-color: #052E16;

  /* opcional: si quieres que el texto en zonas verdes sea blanco */
  --contrast-color: #ffffff;
}


/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #ffffff;  /* The default color of the main navmenu links */
  --nav-hover-color: #008374; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #01433c; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #008374; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

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

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

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

.accent-background{
  --background-color: #052E16;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #ffffff;

  /* un “verde secundario” para superficies, sombras o detalles */
  --surface-color: #0A3A1D;
  --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);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: #008374;
  --heading-color: #ffffff;
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 997;
  background-color: var(--background-color);
}

.header .topbar {
  background-color: color-mix(in srgb, var(--accent-color) 90%, black 10%);
  height: 40px;
  padding: 0;
  font-size: 14px;
  transition: all 0.5s;
}

.header .topbar .contact-info i {
  font-style: normal;
  color: var(--contrast-color);
}

.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
  padding-left: 5px;
  color: var(--contrast-color);
}

@media (max-width: 575px) {

  .header .topbar .contact-info i a,
  .header .topbar .contact-info i span {
    font-size: 13px;
  }
}

.header .topbar .contact-info i a {
  line-height: 0;
  transition: 0.3s;
}

.header .topbar .contact-info i a:hover {
  color: var(--contrast-color);
  text-decoration: underline;
}

.header .topbar .social-links a {
  color: color-mix(in srgb, var(--contrast-color), transparent 40%);
  line-height: 0;
  transition: 0.3s;
  margin-left: 20px;
}

.header .topbar .social-links a:hover {
  color: var(--contrast-color);
}

.header .branding {
  min-height: 60px;
  padding: 10px 0;
}

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

.header .logo img {
  max-height: 150px;   /* aquí decides el tamaño máximo */
  height: 70px;       /* fuerza la altura real */
  margin-right: 8px;
}


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

.header .logo span {
  font-size: 32px;
  margin-left: 2px;
  color: var(--nav-hover-color);
}

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

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

  .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: 15px;
    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;
  }

  .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(--nav-hover-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-color);
  }

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

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

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

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

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

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

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

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

/* 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);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
}

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

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

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

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

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

.footer .social-links a:hover {
  color: var(--default-color);
  border-color: var(--default-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(--default-color);
}

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

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

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

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

/*--------------------------------------------------------------
# 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: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

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

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

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

/*--------------------------------------------------------------
# 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 {
  --background-color: var(--accent-color);
  --default-color: #fff;
  --heading-color: #fff;
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

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

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

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

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

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

.page-title nav ol a:hover {
  color: var(--default-color);
}

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

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

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

@media (max-width: 1199px) {

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

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

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

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

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  position: relative;
  padding: 140px 0 0 0;
}

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

.hero h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero h2 .accent {
  color: var(--conrast-color);
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-weight: 400;
  margin-bottom: 30px;
}

.hero .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 14px 40px;
  border-radius: 50px;
  transition: 0.3s;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
  background-color: color-mix(in srgb, var(--default-color), transparent 90%);
}

.hero .btn-get-started:hover {
  border-color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.hero .btn-watch-video {
  font-size: 16px;
  transition: 0.5s;
  margin-left: 25px;
  font-weight: 600;
  color: var(--default-color);
}

.hero .btn-watch-video i {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 32px;
  transition: 0.3s;
  line-height: 0;
  margin-right: 8px;
}

.hero .btn-watch-video:hover i {
  color: var(--default-color);
}

@media (max-width: 640px) {
  .hero h2 {
    font-size: 36px;
  }

  .hero .btn-get-started,
  .hero .btn-watch-video {
    font-size: 14px;
  }
}

.hero .icon-boxes {
  padding-bottom: 60px;
  z-index: 4;
}

@media (min-width: 1200px) {
  .hero .icon-boxes:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(50% + 20px);
    background-color: var(--default-color);
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  }
}

.hero .icon-box {
  padding: 60px 30px;
  position: relative;
  overflow: hidden;
  background: var(--background-color);
  box-shadow: 0 0 29px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  border-radius: 8px;
  z-index: 1;
  height: 100%;
  width: 100%;
  text-align: center;
}

.hero .icon-box .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 24px;
}

.hero .icon-box .title a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.hero .icon-box .icon {
  margin-bottom: 20px;
  padding-top: 10px;
  display: inline-block;
  transition: all 0.3s ease-in-out;
  font-size: 48px;
  line-height: 1;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.hero .icon-box:hover {
  background-color: color-mix(in srgb, var(--background-color), white 10%);
}

.hero .icon-box:hover .title a,
.hero .icon-box:hover .icon {
  color: var(--contrast-color);
}



/* Animación título Hero Ecoalza */

.hero-title {
  margin-bottom: 20px;
  overflow: hidden; /* por si alguna línea “se sale” mientras entra */
}

.hero-title-line {
  display: block;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.1;
  transform: translateX(-60px);
  opacity: 0;
  animation: heroSlideIn 2.9s ease-out forwards;
}

/* segunda línea con ligero retardo */
.hero-title-line:nth-child(2) {
  animation-delay: 0.80s;
}

/* si quieres que la versión móvil sea más pequeña */
@media (max-width: 640px) {
  .hero-title-line {
    font-size: 32px;
  }
}

@keyframes heroSlideIn {
  0% {
    transform: translateX(-60px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}



/* --- Efecto escritura hero Ecoalza --- */

#hero-typing {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

#hero-typing .typing-cursor {
  display: inline-block;
  width: 1px;
  background-color: currentColor;
  margin-left: 2px;
  animation: heroCursorBlink 0.7s steps(1) infinite;
}


/* Forzar salto de línea del texto del hero sin romper el tipo de letra */
@media (min-width: 992px) {
  #hero-typing {
    max-width: 520px; /* Ajusta si quieres que el salto sea antes o después */
    white-space: normal; /* Permite que el navegador corte la frase */
    display: block;
  }
}


/* Parpadeo del cursor */
@keyframes heroCursorBlink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}



/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about h3{
  font-weight: 700;
  font-size: 28px;
  margin-top: 80px;
  margin-bottom: 20px;
}

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

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

.about .content ul li {
  padding: 0 0 10px 30px;
  position: relative;
}

.about .content ul i {
  position: absolute;
  font-size: 20px;
  left: 0;
  top: -3px;
  color: var(--accent-color);
}

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

.about .pulsating-play-btn {
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
}

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

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

.clients .swiper-slide img {
  transition: 0.3s;
}

.clients .swiper-slide img:hover {
  transform: scale(1.1);
}

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

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

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

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

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  background-color: transparent;
}

.call-to-action .container {
  padding-top: 80px;
  padding-bottom: 80px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  clip-path: inset(0 round 15px);
}

.call-to-action .container img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  border-radius: 15px;
  overflow: hidden;
}

.call-to-action .container:before {
  content: "";
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  inset: 0;
  z-index: 2;
}

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

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

.call-to-action p {
  color: var(--default-color);
  margin-bottom: 20px;
}

.call-to-action .play-btn {
  width: 94px;
  height: 94px;
  margin-bottom: 20px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 60%) 52%);
  border-radius: 50%;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

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

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

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

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

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

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

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

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

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  padding: 40px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.services .service-item .icon {
  width: 48px;
  height: 48px;
  position: relative;
  margin-bottom: 50px;
}

.services .service-item .icon i {
  color: color-mix(in srgb, var(--heading-color), transparent 30%);
  font-size: 56px;
  transition: ease-in-out 0.3s;
  z-index: 2;
  position: relative;
}

.services .service-item .icon:before {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  background: color-mix(in srgb, var(--heading-color), transparent 95%);
  border-radius: 50px;
  z-index: 1;
  top: 10px;
  right: -20px;
  transition: 0.3s;
}

.services .service-item h3 {
  color: color-mix(in srgb, var(--heading-color), transparent 20%);
  font-weight: 700;
  margin: 0 0 20px 0;
  padding-bottom: 8px;
  font-size: 22px;
  position: relative;
  display: inline-block;
  border-bottom: 4px solid color-mix(in srgb, var(--heading-color), transparent 90%);
  transition: 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item .readmore {
  margin-top: 15px;
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.services .service-item:hover .icon i {
  color: var(--heading-color);
}

.services .service-item:hover .icon:before {
  background: color-mix(in srgb, var(--accent-color), transparent 50%);
}

.services .service-item:hover h3 {
  border-color: color-mix(in srgb, var(--accent-color), transparent 10%);
  color: var(--heading-color);
}

.services .service-item:hover .readmore {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-item {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  box-sizing: content-box;
  padding: 30px;
  margin: 30px 15px;
  position: relative;
  height: 100%;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  margin-right: 15px;
}

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

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

.testimonials .testimonial-item .stars {
  margin: 10px 0;
}

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

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

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

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

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 15px auto 15px auto;
}

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

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

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

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

@media (max-width: 767px) {
  .testimonials .testimonial-wrap {
    padding-left: 0;
  }

  .testimonials .testimonial-item {
    padding: 30px;
    margin: 15px;
  }

  .testimonials .testimonial-item .testimonial-img {
    position: static;
    left: auto;
  }
}

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

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  margin: 0 10px;
  line-height: 1;
  transition: all 0.3s ease-in-out;
}

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

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

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

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

.portfolio .portfolio-content {
  background-color: var(--surface-color);
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
  height: 100%;
  overflow: hidden;
}

.portfolio .portfolio-content img {
  transition: 0.3s;
  position: relative;
  z-index: 1;
}

.portfolio .portfolio-content .portfolio-info {
  background-color: var(--background-color);
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 25px 20px;
  position: relative;
  z-index: 2;
}

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

.portfolio .portfolio-content .portfolio-info h4 a {
  color: var(--heading-color);
  transition: 0.3s;
}

.portfolio .portfolio-content .portfolio-info h4 a:hover {
  color: var(--accent-color);
}

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

.portfolio .portfolio-content:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .member {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  border-radius: 15px;
  padding: 15px;
  overflow: hidden;
}

.team .member img {
  border-radius: 15px;
  overflow: hidden;
}

.team .member .member-content {
  padding: 0 20px 30px 20px;
}

.team .member h4 {
  font-weight: 700;
  margin-top: 16px;
  margin-bottom: 2px;
  font-size: 20px;
}

.team .member span {
  font-style: italic;
  display: block;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.team .member .social {
  margin-top: 15px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.team .member .social a {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  transition: 0.3s;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%);
}

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

.team .member .social i {
  font-size: 18px;
  margin: 0 2px;
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing {
  padding: 60px 0 120px 0;
}

.pricing .section-title {
  margin-bottom: 40px;
}

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

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

.pricing .icon {
  margin: 30px auto 20px auto;
  width: 70px;
  height: 70px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  transform-style: preserve-3d;
}

.pricing .icon i {
  color: var(--background-color);
  font-size: 28px;
  transition: ease-in-out 0.3s;
  line-height: 0;
}

.pricing .icon::before {
  position: absolute;
  content: "";
  height: 86px;
  width: 86px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 80%);
  transition: all 0.3s ease-out 0s;
  transform: translateZ(-1px);
}

.pricing .icon::after {
  position: absolute;
  content: "";
  height: 102px;
  width: 102px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  transition: all 0.3s ease-out 0s;
  transform: translateZ(-2px);
}

.pricing h4 {
  font-size: 48px;
  color: var(--accent-color);
  font-weight: 700;
  font-family: var(--heading-font);
  margin-bottom: 25px;
  text-align: center;
}

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

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

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

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

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

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

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

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

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

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

.pricing .featured {
  z-index: 10;
  border: 3px solid var(--accent-color);
}

@media (min-width: 992px) {
  .pricing .featured {
    transform: scale(1.15);
  }
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .content h3 {
  font-weight: 400;
  font-size: 34px;
}

.faq .content p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

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

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

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

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

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

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

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

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

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

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

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

/*--------------------------------------------------------------
# Recent Posts Section
--------------------------------------------------------------*/
.recent-posts article {
  background: var(--surface-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.recent-posts .post-img {
  max-height: 240px;
  margin: -30px -30px 15px -30px;
  overflow: hidden;
}

.recent-posts .post-category {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-bottom: 10px;
}

.recent-posts .title {
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.recent-posts .title a {
  color: var(--heading-color);
  transition: 0.3s;
}

.recent-posts .title a:hover {
  color: var(--accent-color);
}

.recent-posts .post-author-img {
  width: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.recent-posts .post-author {
  font-weight: 600;
  margin-bottom: 5px;
}

.recent-posts .post-date {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-container {
  background-color: var(--accent-color);
  height: 100%;
  padding: 20px;
}

.contact .info-item {
  width: 100%;
  margin-bottom: 20px;
  padding: 20px;
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--contrast-color), transparent 90%);
}

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

.contact .info-item i {
  font-size: 20px;
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--contrast-color), transparent 80%);
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  color: var(--contrast-color);
  font-size: 20px;
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

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

.contact .info-item:hover i {
  background: var(--contrast-color);
  color: var(--accent-color);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@media (max-width: 575px) {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/*--------------------------------------------------------------
# Blog Posts Section
--------------------------------------------------------------*/
.blog-posts article {
  background-color: var(--surface-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.blog-posts .post-img {
  max-height: 240px;
  margin: -30px -30px 15px -30px;
  overflow: hidden;
}

.blog-posts .post-category {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 10px;
}

.blog-posts .title {
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.blog-posts .title a {
  color: var(--heading-color);
  transition: 0.3s;
}

.blog-posts .title a:hover {
  color: var(--accent-color);
}

.blog-posts .post-author-img {
  width: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.blog-posts .post-author {
  font-weight: 600;
  margin-bottom: 5px;
}

.blog-posts .post-date {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Blog Pagination Section
--------------------------------------------------------------*/
.blog-pagination {
  padding-top: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog-pagination li {
  margin: 0 5px;
  transition: 0.3s;
}

.blog-pagination li a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-pagination li a.active,
.blog-pagination li a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.blog-pagination li a.active a,
.blog-pagination li a:hover a {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details {
  padding-bottom: 30px;
}

.blog-details .article {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-details .post-img {
  margin: -30px -30px 20px -30px;
  overflow: hidden;
}

.blog-details .title {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 700;
  padding: 0;
  margin: 30px 0;
}

.blog-details .content {
  margin-top: 20px;
}

.blog-details .content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}

.blog-details .content blockquote {
  overflow: hidden;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.blog-details .content blockquote p {
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}

.blog-details .content blockquote:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--accent-color);
  margin-top: 20px;
  margin-bottom: 20px;
}

.blog-details .meta-top {
  margin-top: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog-details .meta-top ul li+li {
  padding-left: 20px;
}

.blog-details .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog-details .meta-bottom {
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.blog-details .meta-bottom i {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  display: inline;
}

.blog-details .meta-bottom a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  transition: 0.3s;
}

.blog-details .meta-bottom a:hover {
  color: var(--accent-color);
}

.blog-details .meta-bottom .cats {
  list-style: none;
  display: inline;
  padding: 0 20px 0 0;
  font-size: 14px;
}

.blog-details .meta-bottom .cats li {
  display: inline-block;
}

.blog-details .meta-bottom .tags {
  list-style: none;
  display: inline;
  padding: 0;
  font-size: 14px;
}

.blog-details .meta-bottom .tags li {
  display: inline-block;
}

.blog-details .meta-bottom .tags li+li::before {
  padding-right: 6px;
  color: var(--default-color);
  content: ",";
}

.blog-details .meta-bottom .share {
  font-size: 16px;
}

.blog-details .meta-bottom .share i {
  padding-left: 5px;
}

/*--------------------------------------------------------------
# Blog Author Section
--------------------------------------------------------------*/
.blog-author {
  padding: 10px 0 40px 0;
}

.blog-author .author-container {
  background-color: var(--surface-color);
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-author img {
  max-width: 120px;
  margin-right: 20px;
}

.blog-author h4 {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 0px;
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-author .social-links {
  margin: 0 10px 10px 0;
}

.blog-author .social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  margin-right: 5px;
}

.blog-author p {
  font-style: italic;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Blog Comments Section
--------------------------------------------------------------*/
.blog-comments {
  padding: 10px 0;
}

.blog-comments .comments-count {
  font-weight: bold;
}

.blog-comments .comment {
  margin-top: 30px;
  position: relative;
}

.blog-comments .comment .comment-img {
  margin-right: 14px;
}

.blog-comments .comment .comment-img img {
  width: 60px;
}

.blog-comments .comment h5 {
  font-size: 16px;
  margin-bottom: 2px;
}

.blog-comments .comment h5 a {
  font-weight: bold;
  color: var(--default-color);
  transition: 0.3s;
}

.blog-comments .comment h5 a:hover {
  color: var(--accent-color);
}

.blog-comments .comment h5 .reply {
  padding-left: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-comments .comment h5 .reply i {
  font-size: 20px;
}

.blog-comments .comment time {
  display: block;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 5px;
}

.blog-comments .comment.comment-reply {
  padding-left: 40px;
}

/*--------------------------------------------------------------
# Comment Form Section
--------------------------------------------------------------*/
.comment-form {
  padding-top: 10px;
}

.comment-form form {
  background-color: var(--surface-color);
  margin-top: 30px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.comment-form form h4 {
  font-weight: bold;
  font-size: 22px;
}

.comment-form form p {
  font-size: 14px;
}

.comment-form form input {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  font-size: 14px;
  border-radius: 4px;
  padding: 10px 10px;
}

.comment-form form input:focus {
  color: var(--default-color);
  background-color: var(--surface-color);
  box-shadow: none;
  border-color: var(--accent-color);
}

.comment-form form input::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form textarea {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
  height: 120px;
}

.comment-form form textarea:focus {
  color: var(--default-color);
  box-shadow: none;
  border-color: var(--accent-color);
  background-color: var(--surface-color);
}

.comment-form form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form .form-group {
  margin-bottom: 25px;
}

.comment-form form .btn-primary {
  border-radius: 4px;
  padding: 10px 20px;
  border: 0;
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.comment-form form .btn-primary:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}



/* ===========================
   CUADRO COOKIES ECOALZA
=========================== */
.cookie-box {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 340px;
  background: #ffffff;
  color: #222222;
  padding: 16px 18px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  font-size: 13px;
  line-height: 1.5;
  z-index: 9999;
}

.cookie-box p {
  margin: 0 0 10px 0;
}

.cookie-box a.cookie-link {
  color: #00856b;
  font-weight: 600;
  text-decoration: underline;
}

.cookie-box-buttons {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.cookie-box button {
  flex: 1;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* Botón ACEPTAR (verde Ecoalza) */
#cookie-accept {
  background: #00856b;
  color: #ffffff;
  border-color: #00856b;
}

/* Botón RECHAZAR (gris) */
#cookie-reject {
  background: #f5f5f5;
  color: #333333;
  border-color: #cccccc;
}

/* Versión móvil: más ancho y centrado */
@media (max-width: 768px) {
  .cookie-box {
    right: 10px;
    left: 10px;
    bottom: 10px;
    max-width: none;
  }
}


/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widgets-container {
  background-color: var(--surface-color);
  padding: 30px;
  margin: 60px 0 30px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.widget-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.widget-item {
  margin-bottom: 40px;
}

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

.search-widget form {
  background: var(--background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  padding: 3px 10px;
  position: relative;
  transition: 0.3s;
}

.search-widget form input[type=text] {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  width: calc(100% - 40px);
  background-color: var(--background-color);
  color: var(--default-color);
}

.search-widget form input[type=text]:focus {
  outline: none;
}

.search-widget form button {
  background: var(--accent-color);
  color: var(--contrast-color);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  font-size: 16px;
  padding: 0 15px;
  margin: -1px;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  line-height: 0;
}

.search-widget form button i {
  line-height: 0;
}

.search-widget form button:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.search-widget form:is(:focus-within) {
  border-color: var(--accent-color);
}

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

.categories-widget ul li {
  padding-bottom: 10px;
}

.categories-widget ul li:last-child {
  padding-bottom: 0;
}

.categories-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

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

.categories-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.recent-posts-widget .post-item {
  display: flex;
  margin-bottom: 15px;
}

.recent-posts-widget .post-item:last-child {
  margin-bottom: 0;
}

.recent-posts-widget .post-item img {
  width: 80px;
  margin-right: 15px;
}

.recent-posts-widget .post-item h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
  color: var(--default-color);
  transition: 0.3s;
}

.recent-posts-widget .post-item h4 a:hover {
  color: var(--accent-color);
}

.recent-posts-widget .post-item time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.tags-widget {
  margin-bottom: -10px;
}

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

.tags-widget ul li {
  display: inline-block;
}

.tags-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  padding: 6px 14px;
  margin: 0 6px 8px 0;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%);
  display: inline-block;
  transition: 0.3s;
}

.tags-widget ul a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 1px solid var(--accent-color);
}

.tags-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 14px;
}



/* ===== Logo Ecoalza en el menú ===== */
.logo-img {
  height: 180px;      /* AJUSTA EL TAMAÑO AQUÍ */
  width: auto;
  object-fit: contain;
  display: block;
}

/* Alinear alturas de cada tarjeta del portfolio */
.portfolio .portfolio-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.portfolio .portfolio-info {
  flex: 1; /* ocupa altura flexible */
  display: flex;
  flex-direction: column;
}

.portfolio .portfolio-info p {
  flex: 1; /* el texto rellena el espacio */
}



/* Mapa de cobertura en el formulario de contacto */

.contact .info-container {
  /* ya tienes el fondo verde aquí, lo dejamos tal cual */
}

.contact .contact-map-wrapper {
  width: 100%;
  text-align: center;
}

.contact .contact-map {
  max-width: 100%;
  height: auto;
  /* opcional: suavizar un poco el mapa */
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.18));
}

.contact .contact-map-legend {
  margin-top: 16px;
  color: var(--contrast-color);
  font-size: 0.95rem;
}

.contact .contact-map-legend strong {
  display: block;
  font-weight: 600;
}


/* ============================
   Mapa de cobertura – Contacto
   ============================ */

.contact-map-wrapper {
  width: 100%;
  max-width: 360px;   /* antes 280, le damos un poco más */
  text-align: center;
}

.contact-map-inner {
  position: relative;
  width: 100%;
  transform: scale(1.15);      /* ZOOM DEL MAPA */
  transform-origin: center 45%; /* centro un poco hacia arriba */
  margin-top: 0px;           /* pequeño ajuste vertical */
}


/* Imagen del mapa */
.contact-map-img {
  display: block;
  width: 100%;
  height: auto;
}

/* Iconos de localización */
.country-pin {
  position: absolute;
  font-size: 20px;
  color: #ffffff;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
  animation: pin-blink 1.4s infinite ease-in-out;
}

/* Posiciones aproximadas (ajusta si hace falta según tu imagen) */
/* Posiciones aproximadas (ajústalas si hace falta según tu imagen) */
.pin-portugal {
  top: 64%;
  left: 11%;
}

.pin-spain {
  top: 68%;
  left: 18%;
}

.pin-france {
  top: 50%;
  left: 28%;
}


/* Animación de parpadeo suave */
@keyframes pin-blink {
  0%, 100% { opacity: 1; transform: translate(-50%, 0); }
  50%      { opacity: 0.3; transform: translate(-50%, -4px); }
}

/* Leyenda bajo el mapa */
.contact-map-legend {
  margin-top: 16px;
  color: #ffffff;
  font-size: 0.95rem;
}

.contact-map-legend strong {
  display: block;
  font-weight: 600;
}


/* ===== Flechitas personalizadas para selects ===== */
.php-email-form select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='black' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%23000000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px; /* espacio para la flecha */
  cursor: pointer;
}

/* Hover para que se vea premium */
.php-email-form select.form-control:hover {
  border-color: #0A735E;
}

/* Moviles ajuste */
@media (max-width: 768px) {
  .php-email-form select.form-control {
    background-position: right 10px center;
  }
}



/* === Estilo tipo CLECE: bloque 2 columnas === */
.clece-like-block{
  margin-top: 10px;
  margin-bottom: 30px;
}

.clece-like-left{
  padding: 22px;
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
}

.clece-like-title{
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}

.clece-like-lead{
  font-size: 1.05rem;
  opacity: .95;
}

.clece-like-points{
  list-style: none;
  padding-left: 0;
  margin: 16px 0 18px;
}

.clece-like-points li{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0;
}

.clece-like-points i{
  margin-top: 2px;
  font-size: 1.05rem;
  opacity: .95;
}

.clece-like-right{
  padding: 6px 2px;
}

.clece-like-item{
  padding: 18px 18px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.04);
  margin-bottom: 14px;
}

.clece-like-item-title{
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 6px;
}

.clece-like-item-text{
  margin: 0;
  opacity: .9;
  line-height: 1.5;
}


/* ===== HERO estilo Ecoalza (corte limpio abajo) ===== */
.service-hero{
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: none;      /* ❌ quitamos el verde */
  margin-bottom: 0;      /* ❌ sin espacio debajo */
  padding: 0;            /* ❌ sin rellenos */
}

.service-hero__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 85%;
  display: block;
}


.service-hero__overlay{
  position: absolute;
  inset: 0;
  /* overlay suave por si luego quieres texto encima */
  background: linear-gradient(90deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.05) 60%, rgba(0,0,0,0) 100%);
}

/* ===== Breadcrumb “limpio” debajo del banner ===== */
.service-crumbs{
  background: rgba(11, 125, 107, 0.08);  /* verdoso muy sutil */
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 14px 0;
}

.service-crumbs__path{
  font-size: .95rem;
}

.service-crumbs__path a{
  text-decoration: none;
}

.service-crumbs__path span{
  opacity: .55;
  margin: 0 6px;
}





/* Ajustes finos de tipografía para que respire */
.clece-like-left p{
  line-height: 1.65;
}

.clece-like-left ul{
  margin-top: 18px;
}

/* En móvil que no quede demasiado pesado */
@media (max-width: 991px){
  .clece-like-left{
    padding: 28px 22px;
  }
}






/* ===== FOOTER FULL WIDTH FIX ===== */

.footer{
  width: 100%;
  padding: 0;
  margin: 0;
}

.footer-top{
  width: 100%;
  padding: 60px 0 40px;
}

.footer-bottom{
  width: 100%;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 18px 0;
}

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

.footer-links li{
  margin-bottom: 8px;
}

.footer-links a{
  text-decoration: none;
  opacity: .9;
}

.footer-links a:hover{
  opacity: 1;
}






/* === Línea animada Ecoalza (estilo EULEN, pero dentro de sección) === */
.eco-scroll-line{
  width: 0;
  height: 4px;
  background: #006400; /* Dark Green */
  margin: 20px 0 40px;  /* ajusta a tu gusto */
  border-radius: 4px;
}





/* ===== FIX MENÚ (tras cambiar a DarkGreen #006400) ===== */

/* Links del menú en header */
.header .navmenu a,
.header .navmenu a:focus {
  color: #ffffff !important;
}

/* Hover/activo */
.header .navmenu a:hover,
.header .navmenu .active,
.header .navmenu .active:focus {
  color: #d9ffd9 !important; /* blanco verdoso suave */
}

/* Iconos flecha de dropdown */
.header .navmenu .dropdown > a i,
.header .navmenu .dropdown > a:focus i {
  color: #ffffff !important;
}

/* Fondo del dropdown y colores dentro */
.header .navmenu .dropdown ul {
  background: #ffffff !important;
}

.header .navmenu .dropdown ul a {
  color: #1f1f1f !important;
}

.header .navmenu .dropdown ul a:hover {
  color: #006400 !important;
}



/* ===== Ecoalza: Header / Menú con verde corporativo ===== */

:root{
  --ecoalza-green: #052E16; /* color corporativo */
}

/* Barra principal del header (menu) */
.header{
  background: var(--ecoalza-green) !important;
}

/* A veces la plantilla usa estas clases al hacer scroll */
.header.sticked,
.header.header-scrolled{
  background: var(--ecoalza-green) !important;
}

/* Si tu plantilla separa "topbar" y "header", igualamos ambos */
.topbar,
.header-topbar{
  background: var(--ecoalza-green) !important;
}

/* Por si el fondo viene de un wrapper interno */
.header .container,
.header .container-fluid{
  background: transparent !important;
}

/* Aseguramos contraste del texto del menú */
.header .navmenu a,
.header .navmenu a:focus{
  color: #fff !important;
}
.header .navmenu a:hover,
.header .navmenu .active,
.header .navmenu .active:focus{
  color: #d9ffd9 !important;
}

/* Icono menú móvil */
.mobile-nav-toggle{
  color: #fff !important;
}






/* Escalón visual del menú */
/* Escalón visual del menú (sin romper el sticky) */
.header{
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  /* NO pongas position aquí */
}




/* =========================
   TOPBAR: divisoria + ocultar al hacer scroll
   ========================= */

/* Divisoria entre topbar y menú principal */
.header .topbar {
  border-bottom: 1px solid color-mix(in srgb, var(--contrast-color), transparent 80%);
}

/* Animación suave (sin “saltos”) */
.header .topbar {
  overflow: hidden;
  transition: height 0.35s ease, opacity 0.25s ease, transform 0.35s ease, border-color 0.35s ease;
  will-change: height, opacity, transform;
}

/* Cuando se hace scroll: ocultar topbar y dejar solo el menú */
.scrolled .header .topbar {
  height: 0 !important;
  opacity: 0;
  transform: translateY(-8px);
  border-color: transparent;
}

/* Opcional: un pelín de separación/“escalón” visual para el menú principal */
.header .branding {
  border-top: 1px solid color-mix(in srgb, var(--contrast-color), transparent 90%);
}





/* ===== FONDO LIMPIEZA FULL WIDTH (REAL) ===== */
#service-limpieza-bg {
  position: relative;
}

#service-limpieza-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 38vw;              /* ancho del panel */
  height: 100%;
  background: rgba(5,46,22,0.08);
  z-index: 0;
}

/* El contenido va por encima */
#service-limpieza {
  position: relative;
  z-index: 1;
}



/* ===== Ajustes finos Limpieza (espaciado derecha) ===== */
.service-limpieza-page .clece-like-right{
  display: flex;
  flex-direction: column;
  gap: 22px;              /* <-- separacin entre cuadros */
  padding: 6px 2px;
}

/* quitamos el margin-bottom porque ahora manda el gap */
.service-limpieza-page .clece-like-item{
  margin-bottom: 0 !important;
}


/* ===== Que el panel y el breadcrumb tengan el MISMO verde ===== */
:root{
   --ecoalza-green: #052E16;
}

.service-crumbs{
  background: var(--eco-soft) !important;
}

#service-limpieza-bg::before{
  background: var(--eco-soft) !important;
}


.service-limpieza-page .clece-like-title{
  margin-left: -10px;
}






/* ===== Bloque estilo Ecoalza (estructura correcta) ===== */

.clece-like-wrapper {
  width: 100%;
  background: #ffffff;
  overflow: hidden;
}

.clece-like-container {
  max-width: 1320px;   /* igual que Bootstrap container-xl */
  margin: 0 auto;
  padding: 0 12px;
}

/* Columna izquierda con fondo */
.clece-like-left-col {
  background: #eef7f3; /* tu verde claro */
}

/* Caja de texto */
.clece-like-left {
  padding: 56px 48px;
}

/* Derecha */
.clece-like-right {
  padding: 32px 0 32px 48px;
}

/* Separacin REAL entre tarjetas */
.clece-like-item {
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
}
.service-limpieza-page .service-clece,
.service-limpieza-page .clece-like-block {
  padding-top: 0 !important;
}


/* Responsive */
@media (max-width: 991px) {
  .clece-like-left,
  .clece-like-right {
    padding: 32px 24px;
  }
}


/* === BLOQUE LIMPIEZA TIPO CLECE === */

.service-clece {
  padding: 0;
}

.service-clece-left {
  background: #eef7f3; /* verde claro */
  padding: 80px 60px;
}

.service-clece-content {
  max-width: 520px;
  margin-left: auto;
}

.service-clece-content h2 {
  font-weight: 700;
  margin-bottom: 20px;
}

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

.service-clece-content ul li {
  margin-bottom: 10px;
}

.service-clece-right {
  padding: 80px 60px;
}

.service-clece-right .service-item {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}



/* === Unir breadcrumb con bloque de limpieza === */
.service-limpieza-page .breadcrumbs {
  border-bottom: none !important;
  box-shadow: none !important;
}


.service-limpieza-page .breadcrumbs,
.service-limpieza-page .breadcrumbs .container {
  background: #eef7f3 !important; /* mismo verde que el panel */
}



.service-limpieza-page .breadcrumbs {
  margin-bottom: 0 !important;
  padding-bottom: 12px; /* pequeo respiro, no corte */
}


.service-limpieza-page .breadcrumbs::after {
  display: none !important;
}


.service-crumbs{
  border-bottom: 0 !important;
  box-shadow: none !important;
}



/* ===== ECO-FRAME: evitar recorte de las "L" por overflow/clip de la plantilla ===== */
/* Seguridad: que nada recorte las esquinas (SOLO secciones concretas) */
#about, #clients, #stats,
#about .container, #clients .container, #stats .container{
  overflow: visible;
}


/* Por si el recorte viene de los wrappers internos */
#about.section .container,
#clients.section .container,
#stats.section .container,
#about.section .row,
#clients.section .row,
#stats.section .row{
  overflow: visible !important;
}




/* ================================
   FIX carrusel CLIENTS + eco-frame
   ================================ */

#clients .eco-frame--clients{
  display: block;        /* antes eco-frame era inline-block */
  width: 100%;
}

#clients .eco-frame--clients .swiper{
  width: 100%;
}

#clients .swiper-slide{
  display: flex;
  align-items: center;
  justify-content: center;
}

/* IMPORTANTE: limitar tamao de logos (si no, uno puede verse gigante) */
#clients .swiper-slide img{
  width: auto !important;
  max-width: 100%;
  max-height: 60px;       /* ajusta si quieres 50/70 */
  display: block;
  margin: 0 auto;
}


/* ======================================================
   1) Bajar los puntitos (swiper-pagination) del carrusel
   ====================================================== */

/* Deja aire debajo de los logos para que quepan los puntos */
#clients .swiper{
  padding-bottom: 38px; /* ajusta 3050 */
}

/* Baja la paginacin */
#clients .swiper-pagination{
  position: absolute;
  bottom: 0px;          /* ms abajo = nmero ms pequeo/negativo */
  left: 0;
  right: 0;
}

/* Si tu template la tiene en medio por transform, anulamos */
#clients .swiper-pagination{
  transform: none !important;
}


/* ======================================================
   2) Separar (bajar) el bloque Ms de 1.000 del carrusel
   ====================================================== */

/* Opcin A (recomendada): dar ms aire al final del carrusel */
#clients.section{
  padding-bottom: 90px; /* ajusta 5090 */
}

/* Opcin B (si quieres empujar solo el bloque de stats) */
#stats.section{
  padding-top: 90px; /* ajusta 5090 */
}


/* ======================================================
   Ajuste fino L del bloque "Ms de 1.000 clientes"
   ====================================================== */

#stats .eco-frame::before{
  left: -20px;      /* antes estaba sobre -70 / -90 */
  bottom: -20px;
}

#stats .eco-frame::after{
  right: -20px;
  top: -20px;
}



/* ======================================================
   ECO-FRAME: eliminar "L" antigua (bordes) y dejar SOLO la animada
   ====================================================== */

.eco-frame::before,
.eco-frame::after{
  /* mata la versin antigua */
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;

  /* estado base (SIN dibujar) */
  background-size: 0 3px, 3px 0;   /* empieza de cero */
  opacity: 1;
}

/* ======================================================
   ECO-FRAME  "L animadas  VERDE CORPORATIVO ECOALZA
   ====================================================== */

:root{
   --ecoalza-green: #052E16;
}

/* Base */
.eco-frame{
  position: relative;
}

/* L (estado inicial: NO dibujadas) */
.eco-frame::before,
.eco-frame::after{
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  pointer-events: none;

  --t: 3px; /* grosor de la lnea */

  background:
    linear-gradient(var(--ecoalza-green), var(--ecoalza-green)) left bottom / 0 var(--t) no-repeat,
    linear-gradient(var(--ecoalza-green), var(--ecoalza-green)) left bottom / var(--t) 0 no-repeat;

  transition: background-size 3400ms ease;
}

/* Posiciones */
.eco-frame::before{
  left: -35px;
  bottom: -35px;
}

.eco-frame::after{
  right: -35px;
  top: -35px;

  background:
    linear-gradient(var(--ecoalza-green), var(--ecoalza-green)) right top / 0 var(--t) no-repeat,
    linear-gradient(var(--ecoalza-green), var(--ecoalza-green)) right top / var(--t) 0 no-repeat;
}

/* Al entrar en viewport ? se dibujan */
.eco-frame.is-visible::before{
  background-size: 90px var(--t), var(--t) 180px;
}

.eco-frame.is-visible::after{
  background-size: 90px var(--t), var(--t) 180px;
}

/* Alargar SOLO la L inferior izquierda */
.eco-frame::before{
  height: 180px; /* aqu mandas: 120 / 150 / 180 */
}

/* Alargar SOLO la L inferior izquierda */
.eco-frame::after{
  height: 180px; /* aqu mandas: 120 / 150 / 180 */
}

:root{
  --eco-soft: #eef7f3; /* define la variable que ests usando */
}

/* === CUADRADOS tipo CLECE (solo pgina Limpieza) === */
body.service-limpieza-page .service-clece-right{
  display: grid;
  grid-template-columns: repeat(auto-fit, 260px); /* tamao del cuadrado */
  gap: 18px;
  justify-content: start; /* que no se estire a lo ancho */
  align-content: start;
}

body.service-limpieza-page .service-clece-right .clece-like-item{
  width: 260px;
  aspect-ratio: 1 / 1;     /* <- esto los hace cuadrados */
  border-radius: 0;        /* esquinas rectas, estilo Clece */
  box-shadow: none;        /* sin sombra */
  border: 1px solid #e6e6e6;
  background: #fff;
  padding: 18px;
  display: flex;
  flex-direction: column;
}
/* SOLO el cuadrado con GIF: permitimos ms alto */
body.service-limpieza-page .clece-like-item--gif{
  aspect-ratio: auto !important;  /* quita el cuadrado obligatorio */
  height: auto !important;        /* deja crecer */
}

/* opcional: mantener el mismo ancho (ya lo tienes a 260px) */




/* Quitar padding general del cuadrado */
body.service-limpieza-page .clece-like-item{
  padding: 0;
  overflow: hidden; /* clave para que el verde no se salga */
}


/* Header verde full-width */
body.service-limpieza-page .clece-like-item-title{
  background-color: var(--ecoalza-green);
  color: #fff;
  padding: 16px 18px;
  margin: 0;                 /* sin margen */
  width: 100%;               /* ocupa todo el ancho */
  box-sizing: border-box;
}

/* Contenido del cuadrado */
body.service-limpieza-page .clece-like-item-text{
  padding: 16px 18px 20px;
}


/* === HEADER VERDE FULL (hasta arriba y de lado a lado) === */
body.service-limpieza-page .clece-like-item{
  padding: 0 !important;        /* <- QUITA el margen interior que te encoge el verde */
  overflow: hidden !important;  /* <- recorta el verde al borde del cuadro */
}

body.service-limpieza-page .clece-like-item-title{
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  background: var(--ecoalza-green) !important;
  color: #fff !important;
  padding: 16px 18px !important;  /* <- aqu ajustas altura del header */
}

/* el texto vuelve a tener padding, pero SOLO el texto */
body.service-limpieza-page .clece-like-item-text{
  margin: 0 !important;
  padding: 16px 18px 20px !important;
}

/* === Ajuste fino de ttulos en tarjetas de servicios === */
body.service-limpieza-page .clece-like-item-title{
  font-size: 14px;          /* antes ~1617px */
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.02em;  /* ayuda a legibilidad en maysculas */
  text-transform: uppercase;
  padding: 12px 14px;      /* reduce altura del header */
}



.clece-like-item--animated {
  position: relative;
}

.clece-like-item-media {
  width: 100%;
  height: 70px;            /* AQU EST LA CLAVE */
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: 6px;
  background: #f6f6f6;
}

.clece-like-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* recorta sin deformar */
  display: block;
}



/*  SOLO este cuadro puede crecer (rompe el cuadrado) */
body.service-limpieza-page .service-clece-right .clece-like-item.clece-like-item--free{
  aspect-ratio: auto !important;
  height: auto !important;
}

body.service-limpieza-page .service-clece-right .clece-like-item-text{
  display: -webkit-box;
  -webkit-line-clamp: 5;   /* ajusta 4-6 */
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/*  Permitir que SOLO Industrial rompa la altura de la grid */
body.service-limpieza-page .service-clece-right {
  grid-auto-rows: auto;
}

/* Mantener el resto cuadrados */
body.service-limpieza-page .service-clece-right .clece-like-item {
  aspect-ratio: 1 / 1;
}

/* Industrial libre */
body.service-limpieza-page .service-clece-right .clece-like-item--gif {
  aspect-ratio: auto !important;
  height: auto !important;
}


/* =========================================
   CUADRADOS tipo CLECE (TODAS las pginas)
   ========================================= */
body.service-page .service-clece-right{
  display: grid;
  grid-template-columns: repeat(auto-fit, 260px);
  gap: 18px;
  justify-content: start;
  align-content: start;
}

body.service-page .service-clece-right .clece-like-item{
  width: 260px;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid #e6e6e6;
  background: #fff;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

body.service-page .service-clece-right .clece-like-item-title{
  display: block;
  width: 100%;
  margin: 0;
  background: var(--ecoalza-green);
  color: #fff;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-sizing: border-box;
}

body.service-page .service-clece-right .clece-like-item-text{
  margin: 0;
  padding: 16px 18px 20px;
}

/* Permitir que algunos cuadros "rompan" el cuadrado (GIF / libre) */
body.service-page .service-clece-right .clece-like-item--gif,
body.service-page .service-clece-right .clece-like-item--free{
  aspect-ratio: auto !important;
  height: auto !important;
}

/* Si quieres limitar lneas en todos (opcional) */
body.service-page .service-clece-right .clece-like-item-text{
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* ===== ECOALZA: men mvil visible (sin afectar escritorio) ===== */
@media (max-width: 1199px) {

  /* Panel del men */
  .mobile-nav-active .navmenu > ul{
    background: var(--ecoalza-green) !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
  }

  /* Links del men en mvil */
  .mobile-nav-active .navmenu a,
  .mobile-nav-active .navmenu a:focus{
    color: #ffffff !important;
  }

  .mobile-nav-active .navmenu a:hover,
  .mobile-nav-active .navmenu .active,
  .mobile-nav-active .navmenu .active:focus{
    color: #d9ffd9 !important;
  }

  /* Submens (dropdown) en mvil */
  .mobile-nav-active .navmenu .dropdown ul{
    background: rgba(255,255,255,0.06) !important;
    margin: 10px 12px !important;
    border-radius: 10px;
  }

  .mobile-nav-active .navmenu .dropdown ul a{
    color: #ffffff !important;
  }
}


/* =========================================
   FIX ECOALZA: eliminar scroll horizontal mvil
   (Pegar al FINAL del main.css)
   ========================================= */

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* 1) HERO typing: en mvil NO puede ir nowrap */
#hero-typing{
  display: block;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* 2) Animacin del ttulo: en mvil evita empujar fuera (por transform) */
@media (max-width: 768px){
  .hero-title-line{
    transform: none !important;
  }
}

/* 3) CTA: el fixed en mvil provoca overflow lateral */
@media (max-width: 991px){
  .call-to-action .container img{
    position: absolute !important;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* 4) Sustituye overflow: clip por algo estable en mvil */
@media (max-width: 991px){
  section, .section{
    overflow-x: hidden !important;
  }
}

