/*
Theme Name: Guerrero Dellora y Asociados
Theme URI: bio.link/codeatd
Author: CODE ATD
Author URI: bio.link/codeatd
Description: Tema para consultores estratégicos, desarrollado con enfoque Templates (PHP, CSS y JS)
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: guerrerodellora
Tags: Responsive, Custom Colors, Custom Menu, Featured Images, Full Width Template, Theme Options, Translation Ready
*/

/*
Playfair Display: 400 (Regular), 600 (SemiBold), 700 (Bold)
Open Sans: 600 (SemiBold)
Lato: 400 (Regular), 600 (SemiBold), 700 (Bold)
*/

/* CSS Variables */

:root {
  /* Fonts */
  --font-heading: "Vollkorn", serif; /* Para encabezados y títulos (Playfair Display) */
  --font-body: "Montserrat", sans-serif; /* Para texto principal (Lato, Open Sans) */
  --font-button: "Montserrat", sans-serif; /* Para botones y elementos activos (Lato, Open Sans) */

  /* Spacing */
  --margin-heading-bottom: 2rem;

  /* Breakpoints */
  --breakpoint-sm: 600px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-lg-2: 1024px;
  --breakpoint-xl: 1280px;

  /* Primary Colors (Turquesa) */
  --primary-turquesa-50: #e6f2f3;
  --primary-turquesa-100: #b0d8d9;
  --primary-turquesa-200: #8ac5c6;
  --primary-turquesa-300: #54abac;
  --primary-turquesa-400: #339a9c;
  --primary-turquesa-500: #008183;
  --primary-turquesa-600: #007577;
  --primary-turquesa-700: #005c5d;
  --primary-turquesa-800: #004748;
  --primary-turquesa-900: #003637;

  /* Secondary Colors (blue) */
  --secondary--blue-50: #e6f2f7;
  --secondary--blue-100: #b0d5e5;
  --secondary--blue-200: #8ac1d9;
  --secondary--blue-300: #54a5c7;
  --secondary--blue-400: #3394bd;
  --secondary--blue-500: #0079ac;
  --secondary--blue-600: #006e9d;
  --secondary--blue-700: #00567a;
  --secondary--blue-800: #00435f;
  --secondary--blue-900: #003348;

  /* Grey blue Colors */
  --grey-blue-50: #f0f2f5; /* grey-blue-50 */
  --grey-blue-100: #d0d7df; /* grey-blue-100 */
  --grey-blue-200: #b9c4d0; /* grey-blue-200 */
  --grey-blue-300: #99a9bb; /* grey-blue-300 */
  --grey-blue-400: #8599ad; /* grey-blue-400 */
  --grey-blue-500: #677f99; /* grey-blue-500 */
  --grey-blue-600: #5e748b; /* grey-blue-600 */
  --grey-blue-700: #495a6d; /* grey-blue-700 */
  --grey-blue-800: #394654; /* grey-blue-800 */
  --grey-blue-900: #2b3540; /* grey-blue-900 */

  /* White Shades */
  --white-50: #ffffff;
  --white-100: #ffffff;
  --white-200: #ffffff;
  --white-300: #ffffff;
  --white-400: #ffffff;
  --white-500: #ffffff;
  --white-600: #e8e8e8;
  --white-700: #b5b5b5;
  --white-800: #8c8c8c;
  --white-900: #6b6b6b;

  /* Black Shades */
  --black-50: #e6e6e6;
  --black-100: #b0b0b0;
  --black-200: #8a8a8a;
  --black-300: #545454;
  --black-400: #333333;
  --black-500: #000000;
  --black-600: #000000;
  --black-700: #000000;
  --black-800: #000000;
  --black-900: #000000;

  /* Main Text Color (Brand) */
  --main-text-50: #eaeaea;
  --main-text-100: #bfbfbf;
  --main-text-200: #a0a0a0;
  --main-text-300: #747474;
  --main-text-400: #595959;
  --main-text-500: #303030;
  --main-text-600: #2c2c2c;
  --main-text-700: #222222;
  --main-text-800: #1a1a1a;
  --main-text-900: #141414;

  /* BG Colors */
  --bg-50: #ffffff;
  --bg-100: #ffffff;
  --bg-200: #ffffff;
  --bg-300: #ffffff;
  --bg-400: #ffffff;
  --bg-500: #ffffff;
  --bg-600: var(--white-600);
  --bg-700: var(--white-700);
  --bg-800: var(--white-800);
  --bg-900: var(--white-900);

  /* Default theme colors */
  --primary-color: var(--primary-turquesa-500);
  --secondary-color: var(--secondary--blue-500);
  --background-color: var(--bg-100);
  --text-color: var(--main-text-400);
  --heading-color: var(--main-text-500);
  --white-color: var(--white-500);
  --black-color: var(--black-500);
  --gray-color: var(--grey-blue-500);
}

/* Global Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 1rem = 10px */
  box-sizing: border-box;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  /* Nueva fuente para cuerpo de texto */
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.6rem; /* 16px (Body Regular) */
  line-height: 1.4; /* 140% */
  color: var(--text-color);
  background-color: var(--background-color);
  overflow-x: hidden;
}
body.no-scroll {
  overflow: hidden;
}
/* Aplicar padding solo en páginas que NO sean la front-page */
@media (width > 992px) {
  body.header-fixed:not(.home):not(.front-page) {
    padding-top: 7.858rem; /* Ajusta este valor según la altura de tu header (1rem = 10px) */
  }
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  /* Nueva fuente para encabezados */
  font-family: var(--font-heading);
  color: var(--heading-color);
  margin-bottom: var(--margin-heading-bottom);
}

h1 {
  font-size: 4rem; /* 40px */
  line-height: 1.2;
}
h2 {
  font-size: 3.2rem; /* 32px */
  line-height: 1.25;
}
h3 {
  font-size: 2.6rem; /* 26px */
  line-height: 1.25;
}
h4 {
  font-size: 2.1rem; /* 21px */
  line-height: 1.3;
}
h5 {
  font-size: 1.8rem; /* 18px */
  line-height: 1.3;
}
h6 {
  font-size: 1.6rem; /* 16px */
  line-height: 1.3;
}

@media (width > 600px) {
  h1 {
    /* H1 (61px) */
    font-size: 6.1rem;
  }
  h2 {
    /* H2 (49px) */
    font-size: 4.9rem;
  }
  h3 {
    /* H3 (39px) */
    font-size: 3.9rem;
  }
  h4 {
    /* H4 (31px) */
    font-size: 3.1rem;
  }
  h5 {
    /* H5 (25px) */
    font-size: 2.5rem;
  }
  h6 {
    /* H6 (20px) */
    font-size: 2rem;
  }
}

/* Text */
p {
  margin-bottom: 1.5rem;
}

/* Links & Buttons */
a,
.button {
  font-family: var(--font-button);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--main-text-500);
  text-decoration: none;
  border-radius: 0.4rem;
  transition: color 0.3s ease;
}

a:hover,
a:focus,
.button:hover,
.button:focus {
  color: var(--primary-turquesa-500);
}

ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 1.2rem 1.6rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-turquesa-500);
  color: var(--white-color);
  border: 1.8px solid var(--primary-turquesa-500);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-turquesa-600);
  color: var(--white-color);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white-500);
  border: 1.8px solid var(--white-500);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--white-500);
  color: var(--primary-turquesa-500);
}

/* Favorites Button */
.btn-favorite {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.6rem;
  border: 1.4px solid var(--main-text-100);
  background: transparent;
  color: var(--main-text-500);
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.4rem;
  transition: all 0.3s ease;
}

.btn-favorite:hover {
  background: var(--primary-turquesa-500);
  color: var(--white-500);
  border: var(--white-500);
}

.btn-favorite i {
  font-size: 1.8rem;
}

.btn-favorite.active {
  background: var(--primary-turquesa-500);
  color: var(--white-500);
}

.btn-favorite.active .ri-bookmark-line {
  display: none;
}

.btn-favorite.active .ri-bookmark-fill {
  display: inline-block !important;
  color: var(--white-500) !important;
}

/* Layout */
.container {
  width: min(90%, 1440px);
  margin-inline: auto; /* centra en el eje inline respetando writing-mode */
}
.centered-content {
  width: min(90%, 92rem);
}
/* Tagline block */
.tagline-block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tagline-block .tagline-content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.tagline-caption {
  color: var(--primary-turquesa-500);
  font-size: 1.2rem;
  letter-spacing: 1px;
}
.tagline-block h1,
.tagline-block h2,
.tagline-block span,
.tagline-block p {
  margin: 0;
}
.tagline-block .tagline-button-wrap {
  margin-top: 2.4rem;
}
/* Slider brand */
.brands-container {
  max-width: 120rem;
  margin: 0 auto;
  padding: 4rem 0;
  overflow: hidden;
  position: relative; /* Para posicionar los gradients */
}

/* Gradient fade en el lado izquierdo */
.brands-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10rem; /* Ancho del gradient en desktop */
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 10;
  pointer-events: none; /* No interfiere con los clics */
}

/* Gradient fade en el lado derecho */
.brands-container::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 10rem; /* Ancho del gradient en desktop */
  height: 100%;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 10;
  pointer-events: none; /* No interfiere con los clics */
}

/* Ajuste para móviles - gradients más pequeños */
@media (max-width: 768px) {
  .brands-container::before,
  .brands-container::after {
    width: 5rem; /* Gradients más pequeños en móvil */
  }
}

.brand-slider .swiper-wrapper {
  align-items: center;
  /* This is key for the continuous scroll effect with Swiper */
  transition-timing-function: linear !important;
  -webkit-transition-timing-function: linear !important;
  -o-transition-timing-function: linear !important;
}

.brand-slider .swiper-slide {
  width: auto; /* Let the images define their own width */
  padding: 0 40px;
  flex-shrink: 0;
  /* pointer-events: none; */
}

.brand-slider .swiper-slide img {
  max-height: 3rem;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.4s ease-in-out;
}

.brand-slider .swiper-slide:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}
/* Swiper Customizations */
.swiper-button-next,
.swiper-button-prev {
  color: var(--white-500);
}

.swiper-pagination-bullet {
  max-height: 8rem !important;
  transition: all 0.4s ease;
}
.swiper-pagination-bullet-active {
  width: 3.2rem !important;
  background: var(--white-500);
  border-radius: 3rem !important;
}
.swiper-pagination span {
  background-color: var(--white-500);
}
.autoplay-progress {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--white-500);
}

.autoplay-progress svg {
  --progress: 0;
  position: absolute;
  left: 0;
  top: 0px;
  z-index: 10;
  width: 100%;
  height: 100%;
  stroke-width: 4px;
  stroke: var(--white-500);
  fill: none;
  stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
  stroke-dasharray: 125.6;
  transform: rotate(-90deg);
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/** Utilities **/
.featured-image {
  margin-bottom: 3rem;
}

.text-center {
  text-align: center;
}

section,
.section {
  padding-bottom: 10rem;
}

.text-balance {
  text-wrap: balance;
}

.text-pretty {
  text-wrap: pretty;
}

/* Social icons */
.social-icons {
  display: flex;
  gap: 1.2rem;
}
.social-icons a {
  font-size: 1.8rem;
  font-weight: 400;
  width: 3rem;
  height: 3rem;
  border-radius: 100%;
  text-decoration: none;
  color: var(--main-text-500);
  background-color: var(--white-500);
  display: grid;
  place-content: center;
}
.social-icons a:hover {
  background-color: var(--primary-turquesa-500);
  color: var(--white-500);
}
/* Share info */
.share-info {
  color: var(--main-text-500);
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.share-info a {
  font-weight: 400;
}
.share-info i {
  font-size: 1.8rem;
  margin-right: 0.8rem;
}

/*----------------
# Header
------------------*/
.header {
  padding: 1.2rem 0;
  width: 100%;
  z-index: 1001;
  background-color: var(--white-500);
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
body.home .header {
  background: transparent;
  position: absolute;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* .header .site-logo, */
.header .mobile-menu-toggle {
  z-index: 1001;
}

body.no-scroll .header .site-logo,
body.no-scroll .header .header-actions .button {
  visibility: hidden;
}
.header .site-logo img {
  max-width: 14rem;
}
@media (width > 992px) {
  .header .site-logo img {
    max-width: 16rem;
  }
}

/* Header Actions */
.header .header-actions {
  display: flex;
  align-items: center;
  gap: 3.2rem;
}
.header .header-actions .button {
  display: none;
}
.header .header-actions .btn-secondary {
  color: var(--main-text-500);
  border-color: var(--main-text-500);
}
body.home .header .header-actions .btn-secondary {
  color: var(--white-500);
  border-color: var(--white-500);
}
.header .header-actions .btn-secondary:hover {
  color: var(--white-500);
  background-color: var(--primary-turquesa-500);
  border-color: var(--primary-turquesa-500);
}
body.home .header-actions .btn-secondary:hover {
  border: transparent;
}
@media (width > 992px) {
  .header .header-actions .button {
    display: block;
  }
}

/* Main styles and Hide navigation (Desktop) */
.header .main-navigation {
  display: none;
}
@media (width > 992px) {
  .header .main-navigation {
    display: block;
  }
}
.header .primary-menu a {
  color: var(--main-text-500);
  transition: opacity 0.3s ease;
}
body.home .header .primary-menu a {
  color: var(--white-500);
}
.header .primary-menu a:hover {
  opacity: 0.8;
}
body.home .header .primary-menu a:hover {
  color: var(--white-500);
}
@media (width > 992px) {
  .header .primary-menu {
    display: flex;
    gap: 2.4rem;
    align-items: center;
  }

  /* Submenu Desktop Styles */
  .header .primary-menu .menu-item {
    position: relative;
  }

  /* Arrow indicator for items with children */
  .header .primary-menu .menu-item-has-children > a {
    padding-right: 1.2rem;
    position: relative;
  }

  .header .primary-menu .menu-item-has-children > a::after {
    content: "\ea4e"; /* RemixIcon arrow-down-s-line */
    font-family: "remixicon";
    font-size: 1.6rem;
    position: absolute;
    right: -0.8rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    font-weight: normal;
  }

  .header .primary-menu .menu-item-has-children:hover > a::after {
    transform: translateY(-50%) rotate(180deg);
  }

  /* Submenu Container */
  .header .primary-menu .sub-menu {
    position: absolute;
    top: 120%;
    left: 0;
    background-color: var(--white-500);
    min-width: 22rem;
    padding: 1.2rem 0;
    border-radius: 0.8rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(1rem);
    transition: all 0.3s ease;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  /* Show submenu on hover */
  .header .primary-menu .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* Submenu Links */
  .header .primary-menu .sub-menu li {
    width: 100%;
  }

  .header .primary-menu .sub-menu a {
    display: block;
    padding: 0.8rem 2.4rem;
    color: var(--main-text-500);
    font-size: 1.4rem;
    white-space: nowrap;
    transition: all 0.2s ease;
  }

  /* Override home header white text for submenu */
  body.home .header .primary-menu .sub-menu a {
    color: var(--main-text-500);
  }

  .header .primary-menu .sub-menu a:hover {
    background-color: var(--primary-turquesa-50);
    color: var(--primary-turquesa-500);
    opacity: 1;
  }

  body.home .header .primary-menu .sub-menu a:hover {
    color: var(--primary-turquesa-500);
  }
}

/* Mobile Submenu Styles */
.fullscreen-navigation .mobile-menu .sub-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  background-color: var(--bg-100);
  margin-top: 0;
  padding-left: 1.6rem;
}

.fullscreen-navigation .mobile-menu .sub-menu.open {
  margin-top: 1.6rem;
}

.fullscreen-navigation .mobile-menu .sub-menu li {
  border-bottom: none;
  margin-bottom: 1.2rem;
  padding-bottom: 0;
}

.fullscreen-navigation .mobile-menu .sub-menu li:last-child {
  margin-bottom: 0;
}

.fullscreen-navigation .mobile-menu .sub-menu a {
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--main-text-400);
}

/* Mobile Toggle Button */
.mobile-submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  margin-left: 0.8rem;
  cursor: pointer;
  transition: transform 0.3s ease;
  color: var(--main-text-500);
  background-color: var(--bg-100);
  border-radius: 50%;
}

.mobile-submenu-toggle.active {
  transform: rotate(180deg);
  background-color: var(--primary-turquesa-100);
  color: var(--primary-turquesa-600);
}

.fullscreen-navigation .mobile-menu .menu-item-has-children {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.fullscreen-navigation .mobile-menu .menu-item-has-children > a {
  flex: 1;
}

.fullscreen-navigation .mobile-menu .menu-item-has-children .sub-menu {
  width: 100%;
  flex-basis: 100%;
}

/* Mobile menu button style, display and animation */
.header .mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
@media (width > 992px) {
  .header .mobile-menu-toggle {
    display: none;
  }
}
.header .mobile-menu-toggle .line {
  display: block;
  width: 2.2rem;
  height: 0.25rem;
  background-color: var(--main-text-500);
  margin: 0.5rem 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
body.home .header .mobile-menu-toggle .line {
  background-color: var(--white-500);
}
.mobile-menu-toggle.is-active .line {
  background-color: var(--main-text-500) !important;
}
/* Animation to close (x) when the class has .is-active */
.mobile-menu-toggle.is-active .line:nth-child(1) {
  transform: translateY(0.8rem) rotate(45deg);
}
.mobile-menu-toggle.is-active .line:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.is-active .line:nth-child(3) {
  transform: translateY(-0.8rem) rotate(-45deg);
}

/* Header Fixed State */
@media (width > 992px) {
  .header.fixed {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white-500) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    z-index: 1001;
  }
  .header.fixed .primary-menu a {
    color: var(--main-text-500);
  }
  .header.fixed .primary-menu a:hover {
    color: var(--primary-turquesa-500);
    opacity: 1;
  }
  .header.fixed .header-actions .btn-secondary {
    color: var(--main-text-500);
    border-color: var(--main-text-500);
  }
  .header.fixed .header-actions .btn-secondary:hover {
    color: var(--white-500);
    background-color: var(--primary-turquesa-500);
    border-color: var(--primary-turquesa-500);
  }
  .header.fixed .mobile-menu-toggle .line {
    background-color: var(--main-text-500);
  }

  /* Estilos específicos para home cuando está fixed */
  body.home .header.fixed .primary-menu a {
    color: var(--main-text-500) !important;
  }
  body.home .header.fixed .primary-menu a:hover {
    color: var(--primary-turquesa-500) !important;
    opacity: 1;
  }
  body.home .header.fixed .header-actions .btn-secondary {
    color: var(--main-text-500) !important;
    border-color: var(--main-text-500) !important;
  }
  body.home .header.fixed .header-actions .btn-secondary:hover {
    color: var(--white-500) !important;
    background-color: var(--primary-turquesa-500) !important;
    border-color: var(--primary-turquesa-500) !important;
  }

  /* Compensate administration bar */
  body.admin-bar .header.fixed {
    top: 32px;
  }
}
/* Compensate administration bar on mobile */
/* @media (max-width: 782px) {
  body.admin-bar .header.fixed {
    top: 46px;
  }
} */

/*----------------
# Fullscreen Menu
------------------*/
.fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white-500);
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
  z-index: 1000;
}
@media (width > 992px) {
  .fullscreen-menu {
    display: none;
  }
}
.fullscreen-menu.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.fullscreen-menu .container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: flex-start;
}
.fullscreen-menu .container .isotipo {
  max-width: 4rem;
}
.fullscreen-navigation {
  width: 100%;
}
.fullscreen-navigation .mobile-menu li {
  border-bottom: 1px solid var(--main-text-100);
  margin-bottom: 2.4rem;
  padding-bottom: 0.8rem;
}
.fullscreen-navigation .mobile-menu li:last-child {
  margin-bottom: 0;
}
.fullscreen-navigation .mobile-menu a {
  font-size: 2.4rem;
  font-weight: 600;
}
.fullscreen-menu .button {
  width: 100%;
}
/* .fullscreen-menu .social-icons a {
  color: var(--primary-turquesa-500);
} */

/*----------------
# Hero Slider
------------------*/
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}
/* .hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    255deg,
    rgba(63, 63, 63, 0) -0.71%,
    rgba(0, 129, 131, 0.5) 100%
  );
  z-index: 2;
  pointer-events: none;
} */
.hero .slide-image {
  height: 70rem;
  position: relative;
  z-index: 0;
}
.hero .slide-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    255deg,
    rgba(63, 63, 63, 0) -0.71%,
    rgba(0, 129, 131, 0.5) 100%
  );
  z-index: 2;
  pointer-events: none;
}
.hero .slide-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
}
@media (width > 992px) {
  .hero .slide-image img {
    height: 100%;
  }
}
.hero .slider-content {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white-500);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: left;
  z-index: 10;
}
.hero .slider-content .tagline-block {
  max-width: 60rem;
  position: relative;
  z-index: 11;
}
.hero .slider-content .tagline-block h1,
.hero .slider-content .tagline-block h2,
.hero .slider-content .tagline-block span,
.hero .slider-content .tagline-block p {
  color: var(--white-500);
}
.hero .slider-content .tagline-block h1,
.hero .slider-content .tagline-block h2 {
  font-size: 6.1rem;
}
@media (width < 992px) {
  .hero .slider-content .tagline-block h1,
  .hero .slider-content .tagline-block h2 {
    font-size: 4rem;
  }
}
.hero .slider-content .tagline-block .btn-primary {
  margin-bottom: 2.4rem;
  margin-right: 2.4rem;
}

/*----------------
# Section: about
------------------*/
.about {
  padding-top: 10rem;
}
.about .about-content {
  display: grid;
  gap: 6.4rem;
  place-items: center;
}
@media (width > 992px) {
  .about .about-content {
    grid-template-columns: repeat(2, 1fr);
  }
}
.about .about-image {
  width: 100%;
  overflow: hidden;
  border-radius: 1.2rem;
}
.about .about-image img {
  width: 100%;
  height: 37.5rem;
  object-fit: cover;
  transition: transform 0.5s ease;
  box-shadow: 0 0 5rem rgba(0, 0, 0, 0.1);
}
@media (width > 992px) {
  .about .about-image img {
    height: 70rem;
  }
}
.about .about-image:hover img {
  transform: scale(1.2) rotate(2deg);
}
.about .about-info {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (width < 992px) {
  .about .about-info {
    grid-row: 2 / 1;
  }
}
.about-info .tagline-block {
  height: 100%;
}
.about-info .tagline-block .tagline-content {
  height: 100%;
  justify-content: center;
}
.about-info .tagline-content p {
  margin-bottom: 1.5rem;
}

/*----------------
# Section: team
------------------*/
body.home .team .team-button {
  margin-top: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.team .tagline-block {
  align-items: center;
  text-align: center;
  margin-bottom: 5rem;
}
.team .list-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 2.4rem;
}
.team .card {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
  position: relative;
  overflow: hidden;
}
.team .card-image {
  position: relative;
  overflow: hidden;
  border-radius: 1.2rem;
}
.team .card-image img {
  border-radius: 1.2rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  height: auto;
  display: block;
}
.team .card:hover .card-image img {
  transform: scale(1.05);
}
.team .card .interaction-hint {
  position: absolute;
  bottom: 1.6rem;
  right: 1.6rem;
  width: 3.2rem;
  height: 3.2rem;
  background-color: var(--primary-turquesa-500);
  color: var(--white-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.team .card:hover .interaction-hint {
  opacity: 0;
  transform: scale(0.8);
}
@media (width > 992px) {
  .team .card .interaction-hint {
    opacity: 1;
  }
}
.team .card-content {
  display: flex;
  justify-content: space-between;
}
@media (width > 992px) {
  .team .card-content {
    transform: translateY(2rem);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
      opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
  }
  .team .card:hover .card-content {
    transform: translateY(0);
    opacity: 1;
  }
}
.team .card-info h6 {
  margin-bottom: 0.8rem;
}
.team .card-info p {
  margin: 0;
}
.team .card-taxonomies {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}
.team .card-action .box-icon {
  width: 4.8rem;
  height: 4.8rem;
  background-color: var(--main-text-500);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0.4rem;
  transition: background-color 0.3s ease;
  cursor: pointer;
}
.team .card-action .box-icon:hover {
  background-color: var(--primary-turquesa-500);
}
.team .card-action .box-icon i {
  color: var(--white-500);
}

/*----------------
# Section: results
------------------*/
.results .tagline-block {
  align-items: center;
  text-align: center;
  margin-bottom: 5rem;
}
.results-video {
  margin-bottom: 0;
}
.results-video .video-wrapper {
  position: relative;
  width: 100%;
  border-radius: 1.2rem 1.2rem 0 0;
  overflow: hidden;
}
.results-video .video-thumbnail {
  position: relative;
  width: 100%;
  cursor: pointer;
  overflow: hidden;
}
.results-video .video-thumbnail img {
  width: 100%;
  height: 42rem;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
@media (width > 992px) {
  .results-video .video-thumbnail img {
    height: auto;
  }
}
.results-video .video-thumbnail:hover img {
  transform: scale(1.05);
}
.results-video .video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  z-index: 10;
}
.results-video .video-play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: var(--primary-turquesa-500);
}
.results-video .video-play-button i {
  font-size: 3.2rem;
  color: var(--main-text-500);
  margin-left: 0.4rem;
  transition: color 0.3s ease;
}
.results-video .video-play-button:hover i {
  color: var(--white-500);
}
.results-video .video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background-color: var(--black-500);
}
.results-video .video-container.active {
  display: block;
}
.results-video .video-embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.results-video .video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.results-video .video-close-button {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.7);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: background-color 0.3s ease;
}
.results-video .video-close-button:hover {
  background-color: rgba(0, 0, 0, 0.9);
}
.results-video .video-close-button i {
  font-size: 2.4rem;
  color: var(--white-500);
}
.results-statistics {
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); */
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
  background-color: var(--primary-turquesa-500);
  padding: 2.4rem 0;
  border-radius: 0 0 1.2rem 1.2rem;
}
@media (width > 992px) {
  .results-statistics {
    padding: 5rem 4rem;
  }
}
.results-statistics .stat-item {
  text-align: center;
  color: var(--white-500);
}
.results-statistics .stat-number {
  font-size: 2.9rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.8rem;
  font-family: var(--font-heading);
}
@media (width > 992px) {
  .results-statistics .stat-number {
    font-size: 6.4rem;
  }
}
.results-statistics .stat-label {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.4;
  opacity: 0.9;
}
@media (width > 992px) {
  .results-statistics .stat-label {
    font-size: 1.6rem;
  }
}
/*----------------
# Section: blog
------------------*/
.blog .tagline-block {
  align-items: left;
  text-align: left;
  margin-bottom: 5rem;
}
.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 3.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (width > 992px) {
  .blog-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
.post {
  display: flex;
  flex-direction: column;
  background-color: var(--white-500);
  border-radius: 1.2rem;
  overflow: hidden;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.post:hover {
  transform: translateY(-0.4rem);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.post-header {
  position: relative;
  overflow: hidden;
}
.post-image {
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
}
.post-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.post:hover .post-image img {
  transform: scale(1.05);
}
.blog-list .post-category {
  position: absolute;
  top: 1.6rem;
  left: 1.6rem;
  display: flex;
  gap: 0.8rem;
  z-index: 10;
}
.post-category a {
  background-color: var(--primary-turquesa-500);
  color: var(--white-500);
  padding: 0.6rem 1.6rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}
.post-category a:hover {
  background-color: var(--main-text-500);
}
.category-badge {
  background-color: var(--primary-turquesa-500);
  color: var(--white-500);
  padding: 0.6rem 1.6rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
}
.post-categories {
  display: flex;
  gap: 0.8rem;
  row-gap: 1.2rem;
}
.post-content {
  padding: 2.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-bottom: 1.6rem;
  font-size: 1.2rem;
  color: var(--main-text-400);
}
.post-meta i {
  margin-right: 0.6rem;
  color: var(--main-text-400);
  font-size: 1.6rem;
}
.post-date,
.post-author,
.post-time {
  display: flex;
  align-items: center;
}
.post-author a {
  font-size: 1.2rem;
  color: var(--main-text-500);
  text-decoration: none;
  margin-left: 0.8rem;
  transition: color 0.3s ease;
}
.post-author a:hover {
  color: var(--primary-turquesa-500);
}
.post-title {
  margin: 0 0 1.2rem 0;
  font-size: 2rem;
  line-height: 1.3;
  font-weight: 700;
}
.post-title a {
  color: var(--main-text-500);
  text-decoration: none;
  transition: color 0.3s ease;
}
.post-title a:hover {
  color: var(--primary-turquesa-500);
}
.post-excerpt {
  margin: 0 0 1.6rem 0;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--main-text-400);
  flex: 1;
}
.post-link {
  color: var(--main-text-500);
  font-weight: 600;
  font-size: 1.6rem;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto;
}
.post-link:hover {
  color: var(--primary-turquesa-500);
}
.post-link i {
  transition: transform 0.3s ease;
}
.post-link:hover i {
  transform: translateX(0.4rem);
}
.pagination .screen-reader-text {
  visibility: hidden;
  display: none;
}
.pagination .nav-links {
  padding: 4rem 0;
}
.pagination .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.6rem;
}
.pagination .page-numbers li {
  display: flex;
}
.pagination .page-numbers a,
.pagination .page-numbers span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--main-text-500);
  border-radius: 0.8rem;
  border: 1px solid var(--black-50);
  transition: all 0.3s ease;
  background-color: var(--white-500);
}
.pagination .page-numbers a:hover {
  border-color: var(--primary-turquesa-500);
  color: var(--primary-turquesa-500);
}
.pagination .page-numbers .current {
  background-color: var(--primary-turquesa-500);
  color: var(--white-500);
  border-color: var(--primary-turquesa-500);
}
/* Breadcrumbs */
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  font-size: 1.4rem;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  color: var(--main-text-500);
}

.breadcrumbs a {
  color: var(--primary-turquesa-500);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs .separator {
  margin: 0 0.8rem;
  color: #ccc;
}

.breadcrumbs .active span {
  color: var(--main-text-500);
  opacity: 0.7;
}

/* Favorites Page */
.btn-remove-favorite {
  margin-top: 1rem;
  background: none;
  border: 1px solid #e74c3c;
  color: #e74c3c;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-remove-favorite:hover {
  background: #e74c3c;
  color: var(--white-500);
}

.no-favorites {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 1.8rem;
  color: var(--main-text-500);
  padding: 4rem 0;
}

/*-----------------------------
# Archive: Category and Author
-------------------------------*/
body.category .tagline-block a {
  color: var(--white-500);
  transition: all 0.3s ease;
}
body.author .tagline-block a:hover,
body.category .tagline-block a:hover {
  opacity: 0.8;
  text-decoration: underline;
}
.author-profile-block {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-top: 1.6rem;
}
body.author .banner {
  place-content: normal;
  min-height: inherit;
  background-color: var(--white-500);
  padding-top: 10rem;
  margin-bottom: 5rem;
}
body.author .banner .tagline-content {
  text-align: left;
  align-items: flex-start;
  color: var(--main-text-500);
}
body.author .tagline-content h1,
body.author .tagline-content span,
body.author .tagline-content p,
body.author .tagline-content a {
  color: var(--main-text-500);
}
body.author .tagline-content h1 {
  font-size: 2.6rem;
  color: var(--primary-turquesa-500);
}
@media (width > 992px) {
  body.author .tagline-content h1 {
    font-size: 3.9rem;
  }
}
body.author .tagline-content a:hover {
  color: var(--primary-turquesa-500);
}
body.author .banner .container {
  justify-content: flex-start;
}
.author-profile-block .author-avatar {
  width: 6.4rem;
  height: 6.4rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--white-500);
  flex-shrink: 0;
}

.author-profile-block .author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-profile-block .author-info {
  display: flex;
  flex-direction: column;
}

.author-profile-block .tagline-description {
  margin: 0;
  font-size: 1.8rem;
  color: var(--white-500);
}
/*-----------------------------
# Blog: single.php and sidebar
------------------------------*/
.post-single {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4.8rem;
  padding-top: 5rem;
  position: relative;
}
.article-content {
  grid-column: 1;
}
.post-sidebar {
  grid-column: 2;
}
@media (width < 992px) {
  .post-single {
    grid-template-columns: 1fr;
  }
  .post-article,
  .post-sidebar {
    grid-column: 1;
  }
}
.post-single .post-top {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}
.post-single .post-top .post-category a {
  padding: 0.8rem 1.6rem;
  border-radius: 0.8rem;
}
.post-single .post-info h1,
.post-single .post-info .post-actions {
  margin: 2.4rem 0;
}
.post-single .post-info .featured-image {
  border-radius: 1.2rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
/* Widget Sidebar */
.post-single .sidebar-blog {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}
@media (width > 992px) {
  .post-single .sidebar-blog {
    position: sticky;
    top: 14rem;
    align-self: flex-start;
  }
}
.sidebar-blog .heading-widget {
  font-size: 2rem;
  margin-bottom: 2rem;
}
.sidebar-blog .categories-widget select {
  padding: 0.6rem 1rem;
  border: 1.2px solid var(--main-text-50);
  border-radius: 0.8rem;
}

/* Related posts */
.related-posts {
  padding: 10rem 0 0 0;
}
body.single-post .tagline-block .tagline-title {
  margin: 0;
}

/* Table of Contents */
.table-of-contents {
  background-color: var(--grey-blue-50);
  padding: 2rem;
  border-radius: 0.8rem;
  margin-bottom: 3rem;
}
.table-of-contents .toc-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-turquesa-500);
}
.table-of-contents .toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.table-of-contents .toc-item {
  margin-bottom: 0.8rem;
}
.table-of-contents .toc-item a {
  color: var(--main-text-500);
  text-decoration: none;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}
.table-of-contents .toc-item a:hover {
  color: var(--primary-turquesa-500);
}
.table-of-contents .toc-level-3 {
  padding-left: 1.5rem;
}
.table-of-contents .toc-level-4 {
  padding-left: 3rem;
}
.table-of-contents .toc-level-5 {
  padding-left: 4.5rem;
}
.table-of-contents .toc-level-6 {
  padding-left: 6rem;
}
/*----------------
# Team Single Member
------------------*/
.team-single {
  padding-top: 5rem;
}
.member-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin-bottom: 10rem;
}
@media (width > 922px) {
  .member-info {
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
  }
}
@media (width > 1024px) {
  .member-info {
    grid-template-columns: 1fr 2fr;
    gap: 8rem;
  }
}
/* Member Card */
.member-card {
  position: relative;
}
.member-image {
  height: 100%;
  position: relative;
  border-radius: 1.6rem;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.member-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}
.member-wrapper p {
  margin: 0;
}
.member-header {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.member-label {
  text-transform: uppercase;
  color: var(--primary-turquesa-500);
}
.member-name {
  font-size: 2.1rem;
  margin: 0;
}
@media (width > 992px) {
  .member-name {
    font-size: 3.1rem;
  }
}
.team-category {
  font-size: 2rem;
}
.member-tagline {
  padding-left: 1.4rem;
  margin-bottom: 1.6rem !important;
  border-left: 4px solid var(--primary-turquesa-500);
}
@media (width > 922px) {
  .member-tagline {
    padding-left: 2.8rem;
  }
}
.member-contact-info {
  padding: 2.4rem;
  background-color: #f9fafb;
  border-radius: 1.2rem;
}
.member-contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.member-contact-details h3 {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}
.contact-item {
  display: grid;
  grid-template-columns: 4rem auto;
  grid-template-rows: auto auto;
  gap: 0.4rem 1.2rem;
  align-items: start;
  padding-bottom: 1.4rem;
}
.contact-item:last-child {
  padding-bottom: 0;
}
.contact-item i {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 1;
  grid-row: 1 / span 2;
  font-size: 2rem;
  color: var(--primary-turquesa-500);
  background-color: var(--white-500);
  margin-top: 0.2rem;
  border-radius: 8px;
}

.contact-item span {
  grid-column: 2;
  font-size: 1.2rem;
  color: var(--main-text-400);
}
.contact-item p,
.contact-item a {
  grid-column: 2;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--main-text-500);
  text-decoration: none;
  margin: 0;
}
.contact-item a:hover {
  color: var(--primary-turquesa-500);
}
.member-cv-download .button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
}
@media (width > 768px) {
  .member-cv-download .button {
    width: auto;
  }
}
.member-biography {
  margin-bottom: 4.8rem;
}
.member-biography h2,
.member-areas h2 {
  font-size: 1.8rem;
}
.member-content ul,
.member-content ol {
  margin-bottom: 1.6rem;
  list-style: disc;
}
.member-content li {
  margin-bottom: 0.8rem;
  list-style: disc;
}
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 1.6rem;
}
@media (width > 768px) {
  .areas-grid {
    grid-template-columns: repeat(auto-fit, minmax(40rem, 1fr));
  }
}
.area-item {
  background-color: #f9fafb;
  border-left: 4px solid var(--primary-turquesa-500);
  border-radius: 0.8rem;
  padding: 1.6rem 2rem;
  transition: all 0.3s ease;
  cursor: default;
}

.area-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  background-color: var(--white-500);
}

.contact-item a {
  transition: color 0.3s ease;
}

/*----------------
# Page: team
------------------*/
body.page-template-page-team .team .container {
  display: grid;
  place-items: center;
}
body.page-template-page-team .tagline-block {
  max-width: 76.8rem;
}

/*----------------
# Page: 404
------------------*/
.error-404 {
  padding-top: 10rem;
}
.error-404 .error-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}
.error-badge {
  display: inline-block;
  background-color: var(--primary-turquesa-50);
  color: var(--primary-turquesa-500);
  padding: 1.4rem 2.4rem;
  border-radius: 5rem;
  font-size: 1.4rem;
  font-weight: 500;
  text-transform: uppercase;
}
.error-badge i {
  font-size: 1.2rem;
  margin-right: 0.8rem;
  color: var(--primary-turquesa-500);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.error-404 h1,
.error-404 p {
  margin: 0;
}
.error-404 .error-description {
  max-width: 86rem;
}
.error-actions {
  display: flex;
  gap: 1.6rem;
  justify-content: center;
  flex-wrap: wrap;
}
.error-actions .button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}
.btn-outline-dark {
  background-color: transparent;
  color: var(--primary-turquesa-500);
  border: 1.8px solid var(--primary-turquesa-500);
}
.btn-outline-dark:hover {
  background-color: var(--primary-turquesa-500);
  color: var(--white-500);
}
/* Pulse Animation */
@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 129, 131, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(0, 129, 131, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 129, 131, 0);
  }
}

/*----------------
# Contact Form
------------------*/
.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}
.wpcf7-form .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem;
}
.wpcf7-form .form-column {
  flex: 1;
  min-width: 25rem;
}
.wpcf7-form .wpcf7-form-control {
  width: 100%;
  height: auto;
  background-color: #f3f3f3;
  border: none;
  border-radius: 0.4rem;
  padding: 1.2rem;
}
.wpcf7-form label {
  font-size: 1.4rem;
  font-weight: 500;
}
.wpcf7-form p {
  margin: 0;
}
.wpcf7-form input,
.wpcf7-form textarea {
  margin-top: 0.8rem;
}
.wpcf7-form .wpcf7-submit {
  width: 100%;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 1.4rem 2.4rem;
  color: var(--white-500);
  background-color: var(--primary-turquesa-500);
  margin: 0;
}
.wpcf7-form .wpcf7-submit:hover {
  cursor: pointer;
  background-color: var(--primary-turquesa-600);
}
.wpcf7-form .wpcf7-not-valid-tip {
  display: block;
  font-size: 1.4rem;
  color: var(--white-500);
  background-color: rgba(223, 0, 0, 0.8);
  margin-top: 0.6rem;
  padding: 0.6rem;
  border-radius: 0.4rem;
}
.wpcf7-form .wpcf7-spinner {
  display: none; /* Hide by default so it doesn't take space */
  margin: 1rem auto;
  background-color: var(--primary-turquesa-500);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  animation: spin 1s linear infinite; /* Add spin animation if desired, or relying on CF7 gif */
}
.wpcf7-form .wpcf7-spinner.is-active {
  display: block; /* Show only when active */
}
.wpcf7-form .wpcf7-response-output {
  margin: 2rem 0 0 0 !important;
  padding: 1rem !important;
  border-radius: 0.4rem;
  text-align: center;
}
.wpcf7-form textarea {
  resize: vertical;
  min-height: 12rem;
  max-height: 24rem;
}

/* Checkbox Privacy */
.wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
  display: flex;
  align-items: center;
}
.wpcf7-acceptance label {
  font-size: 1.4rem;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  gap: 0.8rem;
  align-items: center;
}
.wpcf7-acceptance input[type="checkbox"] {
  margin: 0;
  width: 1.6rem;
  height: 1.6rem;
  accent-color: var(--primary-turquesa-500);
  cursor: pointer;
}
.wpcf7-acceptance a {
  color: var(--primary-turquesa-500);
  text-decoration: underline;
}
.acceptance .wpcf7-form-control {
  height: auto;
  width: auto;
  padding: 0;
  background-color: transparent;
}

/*----------------
# Contact Page
------------------*/
.contact-page {
  padding-bottom: 10rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.2rem;
}
@media (width > 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 6rem;
  }
}
.contact-form-wrapper .tagline-block {
  margin-bottom: 2.4rem;
}
.contact-image-wrapper {
  position: relative;
  border-radius: 1.2rem;
  height: 100%;
}
.contact-image-wrapper img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 1.2rem;
  box-shadow: 0 0 5rem rgba(0, 0, 0, 0.1);
}
@media (max-width: 992px) {
  .contact-image-wrapper img {
    min-height: 40rem;
    max-height: 40rem;
  }
}
.visit-use-card {
  background-color: var(--primary-turquesa-500);
  color: var(--white-500);
  padding: 2.4rem;
  border-radius: 1.2rem;
  max-width: 28rem;
  position: absolute;
  bottom: -3rem;
  left: -3rem;
  display: flex;
  gap: 1.6rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  z-index: 2;
}
@media (width < 992px) {
  .visit-use-card {
    position: relative;
    bottom: 0;
    left: 0;
    margin-top: 2rem;
    margin-bottom: 0;
    margin-left: 0;
    max-width: calc(100% - 4rem);
  }
}
.visit-use-card h6 {
  color: var(--white-500);
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}
.visit-use-card p {
  font-size: 1.2rem;
  margin: 0;
  opacity: 0.9;
}
.visit-use-card .icon-box {
  font-size: 2.4rem;
  padding: 0.8rem;
  width: 4rem;
  height: 4rem;
  border-radius: 0.8rem;
  color: var(--white-500);
  background-color: var(--primary-turquesa-300);
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-section {
  padding-top: 5rem;
}
.map-section .tagline-block {
  width: 100%;
  text-align: center;
  justify-content: center;
  align-items: center;
}
.map-container {
  margin-top: 4rem;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.map-container .leaflet-map {
  height: 50rem !important;
}

/*----------------
# Services
------------------*/
.services .tagline-block {
  margin-bottom: 5rem;
}
.services .tagline-block .tagline-content {
  align-items: center;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 3.2rem;
}
@media (width > 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (width > 992px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.service-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 42rem;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media (width > 992px) {
  .service-card {
    height: 60rem;
  }
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
}
.service-card .card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.service-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .card-image img {
  transform: scale(1.05);
}
.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0.3) 100%
  );
  z-index: 2;
  pointer-events: none;
}
.service-card .card-content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  padding: 2.4rem;
  z-index: 3;
}
.service-card .card-title a,
.service-card .card-excerpt p {
  color: var(--white-500);
  margin: 0;
}
.service-card .card-title a {
  font-size: 2.1rem;
  font-family: var(--font-heading);
}
@media (width > 992px) {
  .service-card .card-title a {
    font-size: 3.1rem;
  }
}
.service-card .card-excerpt p {
  font-size: 1.4rem;
}
.service-card .card-action .btn-secondary {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white-500);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  padding: 0.8rem 1.6rem;
  font-size: 1.2rem;
}
.service-card:hover .card-action .btn-secondary {
  background: var(--white-500);
  color: var(--black-500);
  border-color: var(--white-500);
}
.service-card .interaction-hint {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 3;
    color: var(--white-500);
    font-size: 2rem;
    opacity: 0;
    transform: translate(-10px, 10px);
    transition: all 0.3s ease;
}
.service-card:hover .interaction-hint {
    opacity: 1;
    transform: translate(0, 0);
}
/* Button Section container */
.services-button .button {
    min-width: 20rem;
}

/*------------------
# Footer
------------------*/
.footer {
  background-color: var(--primary-turquesa-500);
  color: var(--white-500);
  margin-top: 15rem;
  padding: 6.4rem 0;
}
.footer .footer-content {
  display: grid;
  gap: 3.2rem;
  padding-bottom: 3.2rem;
  border-bottom: 1px solid var(--white-500);
}
@media (width > 992px) {
  .footer .footer-content {
    grid-template-columns: repeat(6, 1fr);
    place-items: start;
  }
}
.footer .footer-column {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}
@media (width > 992px) {
  .footer .footer-column:nth-child(1) {
    grid-column: 1 / 3;
    padding-right: 2rem;
  }
}
.footer .footer-column .simplified-logo img {
  max-width: 18rem;
}
@media (width > 768px) {
  .footer .footer-column .simplified-logo img {
    max-width: 20rem;
  }
}
.footer .footer-content h2 {
  color: var(--white-500);
  font-size: 2rem;
  margin-bottom: 1.8rem;
}
.footer .footer-content p {
  font-size: 1.4rem;
  margin: 0;
}
.footer .footer-content a {
  font-weight: 400;
  transition: opacity 0.3s ease;
}
.footer .footer-content a:hover {
  opacity: 0.8;
}
.footer .footer-content a,
.footer .share-info {
  color: var(--white-500);
}
.footer .footer-menu li {
  margin-bottom: 1.8rem;
}
.footer .footer-menu li:last-child {
  margin-bottom: 0;
}
.footer .footer-bottom {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 2.4rem;
  padding-top: 3.2rem;
}
@media (width > 992px) {
  .footer .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}
.footer .footer-bottom .copyright {
  font-size: 1.4rem;
  text-align: center;
}

/*------------------
# Scroll to Top Button
------------------*/
.scroll-to-top {
  font-size: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  width: 5rem;
  height: 5rem;
  background-color: var(--primary-turquesa-500);
  color: var(--white-500);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
}
.scroll-to-top:hover {
  background-color: var(--main-text-500);
  transform: translateY(0) scale(1.1);
}
.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@media (width < 768px) {
  .scroll-to-top {
    width: 4.5rem;
    height: 4.5rem;
    bottom: 2rem;
    right: 2rem;
    font-size: 1.8rem;
  }
}

/* Banner */
.banner.section {
  padding: 0;
}
.banner {
  width: 100%;
  min-height: 42rem;
  margin-bottom: 10rem;
  background-color: var(--primary-turquesa-500);
  display: grid;
  place-content: center;
}
.banner .container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.banner .tagline-block {
  max-width: 70rem;
  text-align: center;
  align-items: center;
  justify-content: center;
  align-items: center;
}
.banner .tagline-block h1,
.banner .tagline-block h2,
.banner .tagline-block span,
.banner .tagline-block p,
.banner .tagline-description {
  color: var(--white-500);
}
/* Global CTA Section */
.global-cta-section {
  background-color: var(--primary-turquesa-500);
  margin-top: 10rem;
  padding: 8rem 0;
  color: var(--white-500);
}

.global-cta-section .global-cta-title {
  color: var(--white-500);
  font-family: var(--font-heading);
  margin-bottom: 2rem;
}

@media (min-width: 992px) {
  .global-cta-section .global-cta-title {
    font-size: 4.8rem;
  }
}

.global-cta-section .global-cta-description {
  color: var(--white-500);
  font-size: 1.8rem;
  max-width: 60rem;
  margin: 0 auto 4rem auto;
  opacity: 0.9;
}

.global-cta-section .global-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Button White */
.btn-white {
  background-color: var(--white-500);
  color: var(--primary-turquesa-500);
  border: 1.8px solid var(--white-500);
}

.btn-white:hover,
.btn-white:focus {
  background-color: transparent;
  color: var(--white-500);
  border-color: var(--white-500);
}
