/**
* Template Name: UpConstruction
* Template URL: https://bootstrapmade.com/upconstruction-bootstrap-construction-website-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*
* Accent Color Changed to Blue (#2a6a96) as requested.
* V5: Adjusted Logo size, Restored Hero height, Map responsive, Restored About/ProjectDetails base styles.
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Roboto", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

/* Global Colors - SINGLE DEFINITION BLOCK */
:root {
  --background-color: #ffffff;
  --default-color: #364d59;
  --heading-color: #52565e;
  /* --- MODIFIED ACCENT COLOR --- */
  --accent-color: #2a6a96;
  --accent-rgb: 42, 106, 150; /* RGB for rgba() */
  /* --- END MODIFICATION --- */
  --surface-color: #ffffff;
  --contrast-color: #ffffff;

  /* Additional Colors (Kept from your code) */
  --secondary-color: #6c757d;
  --success-color: #198754;
  --danger-color: #dc3545;
  --border-color-light: #dee2e6;
  --form-bg-color: #f8f9fa;

  /* Nav Menu Specific Colors */
  --nav-color: rgba(255, 255, 255, 0.55);
  --nav-hover-color: #ffffff;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #212529;
  --nav-dropdown-hover-color: var(--accent-color);

  /* Variables for header height calculation - Adjusted */
  --header-padding-desktop: 30px;
  --header-padding-mobile: 20px;
  --logo-max-height-desktop: 150px; /* Your desired desktop size */
  --logo-max-height-mobile: 120px; /* INCREASED mobile size AGAIN */

  /* Calculate estimated header heights */
  --header-height-desktop-estimated: calc(
    var(--logo-max-height-desktop) + (var(--header-padding-desktop) * 2)
  );
  --header-height-mobile-estimated: calc(
    var(--logo-max-height-mobile) + (var(--header-padding-mobile) * 2)
  );
}

/* Color Presets */
.light-background {
  --background-color: #f4f7f6;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  white-space: normal; /* Allow wrapping by default */
}
p {
  white-space: normal; /* Ensure paragraphs wrap too */
}

/* Global H3 nowrap rule - COMMENTED OUT */
/*
h3 {
  white-space: nowrap;
}
*/

/* PHP Email Form Messages - Using Variables */
.php-email-form .error-message {
  display: none;
  background: var(--danger-color);
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}
.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: var(--success-color);
  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 {
  position: fixed; /* Needed for fixed header */
  --background-color: rgba(255, 255, 255, 0);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: var(--header-padding-desktop) 0; /* Use variable */
  transition: all 0.5s;
  z-index: 997;
  min-height: var(
    --header-height-desktop-estimated
  ); /* Use calculated height */
}

.header .logo img {
  max-height: var(--logo-max-height-desktop); /* Desktop size by default */
  margin-right: 8px;
  display: block;
  transition: max-height 0.3s ease-out;
  /* position: fixed; REMOVED */
  /* left: 15px; REMOVED */
}

/* Scrolled state */
.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
  --background-color: rgba(255, 255, 255, 0.95);
  --heading-color: #3c3c3c;
  --nav-color: #3c3c3c;
  --nav-hover-color: #3c3c3c;
  padding: 15px 0;
  min-height: auto;
}
.scrolled .header .logo img {
  max-height: calc(
    var(--logo-max-height-mobile) - 30px
  ); /* Adjust scrolled height based on new mobile height */
}

/* Responsive Header/Logo */
@media (max-width: 991px) {
  .header {
    padding: var(--header-padding-mobile) 0;
    min-height: var(--header-height-mobile-estimated);
  }
  .header .logo img {
    max-height: var(--logo-max-height-mobile);
  }
}

/* Text Logo Styles (if used) */
.header .logo h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}
.header .logo span {
  font-size: 24px;
  padding-left: 1px;
  font-family: var(--heading-font);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Navigation Menu - Mobile adjustments refined
--------------------------------------------------------------*/
/* Desktop Navigation (min-width: 1200px) - Unchanged */
@media (min-width: 1200px) {
  /* ... (desktop styles as before) ... */
  .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: 14px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
    text-transform: uppercase;
  }
  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }
  .navmenu > ul > li > a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--accent-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }
  .navmenu a:hover:before,
  .navmenu li:hover > a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }
  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }
  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }
  .navmenu .dropdown ul li {
    min-width: 200px;
  }
  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    font-weight: 400;
    color: var(--nav-dropdown-color);
  }
  .navmenu .dropdown ul a i {
    font-size: 12px;
  }
  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover > a {
    color: var(--nav-dropdown-hover-color);
  }
  .navmenu .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }
  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }
  .navmenu .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Mobile Navigation (max-width: 1199px) */
@media (max-width: 1199px) {
  /* Estilos para el botón de hamburguesa */
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 9999;
    border: none;
    background: none;
    padding: 0;
  }

  .scrolled .mobile-nav-toggle {
    color: var(--nav-color);
  }

  /* Estilos del menú */
  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none; /* Ocultar el menú por defecto */
    list-style: none;
    position: absolute;
    top: var(
      --header-height-mobile-estimated,
      160px
    ); /* Ajusta la altura del menú */
    left: 20px;
    right: 20px;
    bottom: 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: 0px 10px 30px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    max-height: calc(
      100vh - var(--header-height-mobile-estimated, 160px) - 40px
    ); /* Ajusta la altura máxima */
  }

  /* Mostrar el menú cuando está activo */
  body.mobile-nav-active .navmenu ul {
    display: block;
  }

  /* Estilos de los enlaces dentro del menú */
  .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: normal;
    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);
  }

  /* Mobile Dropdown */
  .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;
    border-left: 3px solid rgba(var(--accent-rgb), 0.2);
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(var(--accent-rgb), 0.05);
  }

  .navmenu .dropdown > .dropdown-active {
    display: block;
  }

  /* Overlay para el menú cuando esté activo */
  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    position: fixed;
    top: var(--header-padding-mobile);
    height: var(--header-height-mobile-estimated) -
      (2 * var(--header-padding-mobile)); /* Ajusta la altura del logo */
    display: flex;
    align-items: center;
    right: 15px;
    color: var(--accent-color);
    margin-right: 0;
  }

  .scrolled.mobile-nav-active .mobile-nav-toggle {
    color: var(--nav-color);
  }

  /* El menú se muestra sobre el contenido con un fondo oscuro */
  .mobile-nav-active .navmenu {
    position: fixed;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
    z-index: 9999;
  }
}

/*--------------------------------------------------------------
# Global Footer - Unchanged
--------------------------------------------------------------*/
/* ... (footer styles remain the same) ... */
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  background: url("../img/footer-bg.jpg") top center no-repeat;
  background-size: cover;
  font-size: 14px;
  position: relative;
}
.footer .container {
  position: relative;
}
.footer:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 20%);
  position: absolute;
  inset: 0;
}
.footer .footer-top {
  padding-top: 50px;
}
.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-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}
.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
  white-space: normal;
}
.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-right: 10px;
  transition: 0.3s;
}
.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}
.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
  white-space: normal;
}
.footer .footer-links {
  margin-bottom: 30px;
}
.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}
.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}
.footer .footer-links ul li:first-child {
  padding-top: 0;
}
.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}
.footer .footer-links ul a:hover {
  color: var(--accent-color);
}
.footer .footer-contact p {
  margin-bottom: 5px;
  white-space: normal;
}
.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}
.footer .copyright p {
  margin-bottom: 0;
}
.footer .credits {
  margin-top: 8px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader - Unchanged
--------------------------------------------------------------*/
#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 var(--surface-color);
  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 - Unchanged
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}
.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}
.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 15%);
  color: var(--contrast-color);
}
.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices - Unchanged
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs - Unchanged
--------------------------------------------------------------*/
.page-title {
  padding: 160px 0 60px 0;
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
}
.page-title:before {
  content: "";
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  inset: 0;
}
.page-title h1 {
  font-size: 56px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--contrast-color);
  position: relative;
  z-index: 1;
  white-space: normal;
}
.page-title .breadcrumbs {
  position: relative;
  z-index: 1;
}
.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}
.page-title .breadcrumbs ol li + li {
  padding-left: 10px;
}
.page-title .breadcrumbs ol li + li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: rgba(255, 255, 255, 0.8);
}
.page-title .breadcrumbs ol li a {
  color: #ffffff;
  transition: 0.3s;
}
.page-title .breadcrumbs ol li a:hover {
  color: var(--accent-color);
}
.page-title .breadcrumbs li.current {
  color: #ffffff;
}
@media (max-width: 767px) {
  .page-title {
    padding: 100px 0 40px 0;
  }
  .page-title h1 {
    font-size: 32px;
  }
  .page-title .breadcrumbs ol {
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Global Sections - scroll-margin-top uses new calculated heights
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: var(
    --header-height-desktop-estimated,
    210px
  ); /* Adjusted */
  overflow: clip;
}
@media (max-width: 991px) {
  section,
  .section {
    scroll-margin-top: var(
      --header-height-mobile-estimated,
      160px
    ); /* Adjusted */
  }
}
@media (max-width: 767px) {
  section,
  .section {
    padding: 40px 0;
  }
}

/*--------------------------------------------------------------
# Global Section Titles - Unchanged
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}
.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  position: relative;
  color: var(--heading-color);
  white-space: normal;
}
.section-title h2:before,
.section-title h2:after {
  content: "";
  width: 50px;
  height: 2px;
  background: var(--accent-color);
  display: inline-block;
}
.section-title h2:before {
  margin: 0 15px 10px 0;
}
.section-title h2:after {
  margin: 0 0 10px 15px;
}
.section-title p {
  margin-bottom: 0;
  color: var(--default-color);
  white-space: normal;
}
.section-title h5.cursiva {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--default-color);
  opacity: 0.8;
  margin-top: 5px;
  white-space: normal;
}
@media (max-width: 767px) {
  .section-title {
    padding-bottom: 40px;
  }
  .section-title h2 {
    font-size: 26px;
  }
  .section-title h5.cursiva {
    font-size: 1rem;
  }
  .section-title h2:before,
  .section-title h2:after {
    width: 40px;
  }
  .section-title h2:before {
    margin: 0 10px 8px 0;
  }
  .section-title h2:after {
    margin: 0 0 8px 10px;
  }
}

/* --- SECTIONS FROM YOUR CODE --- */

/*--------------------------------------------------------------
# Hero Section - RESTORED 100vh height, added object-fit option
--------------------------------------------------------------*/
.hero {
  width: 100%;
  height: 100vh; /* RESTORED */
  min-height: 500px; /* Added minimum height */
  position: relative;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero.dark-background {
  background-color: #060606;
  color: #ffffff;
  --heading-color-hero: #ffffff;
  --default-color-hero: #ffffff;
}
.hero .info {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 100px 0 60px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero .info h2 {
  margin-bottom: 20px;
  padding-bottom: 20px;
  font-size: 48px;
  font-weight: 700;
  position: relative;
  color: var(--heading-color-hero, var(--heading-color));
  white-space: normal;
}
.hero .info h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 70px;
  height: 4px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}
.hero .info p {
  color: color-mix(
    in srgb,
    var(--default-color-hero, var(--default-color)),
    transparent 20%
  );
  font-size: 18px;
  white-space: normal;
  margin-top: 10px;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

/* ===== ESTILOS GENERALES PARA btn-get-started ===== */
.btn-get-started {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 50px; /* Esto lo hace circular */
  transition: 0.5s;
  margin-top: 20px; /* Ajusta o elimina si el contenedor ya maneja el margen */
  border: 2px solid var(--accent-color);
  text-decoration: none;

  /* Estado por defecto (para fondos claros como en #what-we-offer) */
  color: var(--accent-color); /* Texto color acento */
  background-color: transparent; /* Fondo transparente o color de superficie */
}

.btn-get-started:hover {
  background-color: var(--accent-color); /* Fondo color acento */
  color: var(--contrast-color); /* Texto color contraste (blanco) */
  border-color: var(--accent-color); /* Mantiene el borde del color de acento */
}

/* Anulación específica para el botón .btn-get-started DENTRO DEL HERO */
/* Esto asegura que el botón en el Hero (que usualmente está sobre un fondo oscuro o imagen)
   tenga texto blanco por defecto. */
.hero .info .btn-get-started {
  color: var(--contrast-color); /* Texto blanco para el hero */
  /* Hereda todos los demás estilos de .btn-get-started (forma, borde, padding, etc.) */
  /* El hover es manejado por la regla general .btn-get-started:hover */
}
/* ===== FIN DE ESTILOS GENERALES PARA btn-get-started ===== */

/* Carousel */
.hero .carousel {
  inset: 0;
  position: absolute;
  overflow: hidden;
}
.hero .carousel-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  transition-duration: 0.4s;
}
.hero .carousel-item img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Default: Crop to fill */
  /* object-fit: contain; */ /* Alternative: Show full image with bars */
  z-index: 1;
}
.hero .carousel-item::before {
  content: "";
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  inset: 0;
  z-index: 2;
}
/* Controls */
.hero .carousel-control-prev {
  justify-content: start;
}
@media (min-width: 640px) {
  .hero .carousel-control-prev {
    padding-left: 15px;
  }
}
.hero .carousel-control-next {
  justify-content: end;
}
@media (min-width: 640px) {
  .hero .carousel-control-next {
    padding-right: 15px;
  }
}
.hero .carousel-control-next-icon,
.hero .carousel-control-prev-icon {
  background: none;
  font-size: 26px;
  line-height: 0;
  background: color-mix(
    in srgb,
    var(--default-color-hero, #fff),
    transparent 80%
  );
  color: color-mix(in srgb, var(--default-color-hero, #fff), transparent 40%);
  border-radius: 50px;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .carousel-control-prev,
.hero .carousel-control-next {
  z-index: 3;
  transition: 0.3s;
}
.hero .carousel-control-prev:focus,
.hero .carousel-control-next:focus {
  opacity: 0.5;
}
.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
  opacity: 0.9;
}

@media (max-width: 767px) {
  /* Mobile Adjustments for Hero Text */
  .hero .info {
    padding: 80px 20px 40px 20px;
  }
  .hero .info h2 {
    font-size: 28px;
    margin-bottom: 15px;
    padding-bottom: 15px;
  }
  .hero .info h2:after {
    width: 50px;
    height: 3px;
  }
  .hero .info p {
    font-size: 15px;
    max-width: 95%;
  }
  .hero .info .btn-get-started {
    font-size: 14px;
    padding: 10px 30px;
  }
}

/*--------------------------------------------------------------
# Get Started Section - RESTORED BASE STYLES
--------------------------------------------------------------*/
/* --- Columna Izquierda: Why Choose Us --- */
.get-started {
  padding: 60px 0;
  background-color: var(--background-color);
}
.get-started .content {
  padding: 20px;
}
.get-started .content h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0a2c4e;
  margin-bottom: 15px;
  padding-bottom: 15px;
  position: relative;
  white-space: normal;
}
.get-started .content h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}
.get-started .content h4 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--secondary-color);
  margin-bottom: 30px;
  white-space: normal;
}
.get-started .why-choose-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.get-started .why-choose-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}
.get-started .why-choose-list i {
  font-size: 2rem;
  color: var(--accent-color);
  margin-top: 5px;
  flex-shrink: 0;
  width: 30px;
  text-align: center;
}
.get-started .why-choose-list strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 5px;
  white-space: normal;
}
.get-started .why-choose-list p {
  font-size: 0.95rem;
  color: var(--default-color);
  opacity: 0.8;
  line-height: 1.6;
  margin: 0;
  white-space: normal;
}
/* --- Columna Derecha: Formulario --- */
.get-started .php-email-form {
  background: var(--form-bg-color);
  padding: 35px;
  height: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}
.get-started .php-email-form .form-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0a2c4e;
  text-align: center;
  margin-bottom: 10px;
  text-transform: none;
  letter-spacing: 0;
  white-space: normal;
}
.get-started .php-email-form .form-subtitle {
  font-size: 0.95rem;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 30px;
  white-space: normal;
}
.get-started .php-email-form .form-control {
  font-size: 0.95rem;
  padding: 12px 15px;
  border-radius: 5px;
  color: var(--default-color);
  background-color: var(--background-color);
  border: 1px solid var(--border-color-light);
  box-shadow: none;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.get-started .php-email-form .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem
    color-mix(in srgb, var(--accent-color), transparent 75%);
  outline: none;
}
.get-started .php-email-form .form-control::placeholder {
  color: color-mix(in srgb, var(--secondary-color), transparent 30%);
  opacity: 1;
}
.get-started .php-email-form textarea.form-control {
  min-height: 120px;
}
.get-started .php-email-form .form-control.is-invalid {
  border-color: var(--danger-color);
}
.get-started .php-email-form .form-control.is-valid {
  border-color: var(--success-color);
}
.get-started .php-email-form .invalid-feedback {
  color: var(--danger-color);
  font-size: 0.85rem;
  display: none;
}
.get-started .php-email-form .form-control.is-invalid ~ .invalid-feedback {
  display: block;
}
.get-started .php-email-form button[type="submit"] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: none;
  padding: 12px 35px;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border-radius: 5px;
  cursor: pointer;
  display: inline-block;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.get-started .php-email-form button[type="submit"]:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.get-started .php-email-form button[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.get-started .php-email-form .loading {
  display: none;
  text-align: center;
  padding: 15px;
}
.get-started .php-email-form .error-message {
  display: none;
  color: var(--contrast-color);
  background: var(--danger-color);
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
  border-radius: 4px;
}
.get-started .php-email-form .sent-message {
  display: none;
  color: var(--contrast-color);
  background: var(--success-color);
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
  border-radius: 4px;
}
/* Get Started Responsive */
@media (max-width: 767px) {
  .get-started .content h3 {
    font-size: 1.8rem;
  }
  .get-started .content h4 {
    font-size: 1rem;
  }
  .get-started .why-choose-list strong {
    font-size: 1rem;
  }
  .get-started .why-choose-list p {
    font-size: 0.9rem;
  }
  .get-started .php-email-form {
    padding: 25px;
  }
  .get-started .php-email-form .form-title {
    font-size: 1.5rem;
  }
  .get-started .php-email-form .form-subtitle {
    font-size: 0.9rem;
  }
}

/*--------------------------------------------------------------
# Constructions Section - RESTORED BASE STYLES
--------------------------------------------------------------*/
.constructions .construction-item {
  background-color: var(--surface-color);
  border-radius: 5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
  overflow: hidden;
  height: 100%;
  display: flex;
}
.constructions .construction-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}
.constructions .construction-image-wrapper {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  height: 100%;
}
.constructions .construction-image-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.constructions .construction-link {
  display: block;
  position: relative;
  height: 100%;
}
.constructions .construction-zoom-icon {
  position: absolute;
  inset: 0;
  background-color: rgba(var(--accent-rgb), 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}
.constructions .construction-zoom-icon i {
  font-size: 36px;
  color: var(--contrast-color);
}
.constructions .construction-image-wrapper:hover img {
  transform: scale(1.1);
}
.constructions .construction-image-wrapper:hover .construction-zoom-icon {
  opacity: 1;
}
.constructions .construction-content {
  padding: 25px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.constructions .construction-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 10px;
  line-height: 1.4;
  white-space: normal;
}
.constructions .construction-content p {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  line-height: 1.6;
  margin-bottom: 0;
  white-space: normal;
}
/* Row stretching */
.constructions .construction-item .row {
  height: 100%;
}
.constructions .construction-item .row > [class*="col-"] {
  display: flex;
  flex-direction: column;
}
.constructions .construction-item .row > .d-flex {
  display: flex;
  align-items: stretch;
}
.constructions .construction-item .d-flex > .construction-content {
  flex-grow: 1;
}
@media (max-width: 767px) {
  /* Stack columns on mobile */
  .constructions .construction-item .row {
    flex-direction: column;
    height: auto;
  }
  .constructions .construction-item .row > .col-md-5,
  .constructions .construction-item .row > .col-md-7 {
    width: 100%;
    max-width: 100%;
    flex-basis: auto;
  }
  .constructions .construction-image-wrapper {
    min-height: 200px;
    height: 200px;
  }
  .constructions .construction-content {
    padding: 20px;
  }
  .constructions .construction-content h4 {
    font-size: 16px;
  }
  .constructions .construction-content p {
    font-size: 13px;
  }
}

/*--------------------------------------------------------------
# What We Offer Section (#what-we-offer) - RESTORED BASE STYLES
--------------------------------------------------------------*/
/* Variables aliased or defined earlier */
.what-we-offer {
  padding: 60px 0;
  background-color: var(--wwo-section-bg-color, #f7f9fc);
  position: relative;
  overflow: hidden;
}
.what-we-offer .offer-item {
  background-color: var(--wwo-surface-color, #ffffff);
  border-radius: var(--wwo-border-radius, 10px);
  box-shadow: var(--wwo-card-shadow, 0 5px 15px rgba(44, 62, 80, 0.07));
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--wwo-border-light-color, #e6ebf1);
  border-top: 4px solid transparent;
  margin-bottom: 30px;
  transition: transform 0.35s ease, box-shadow 0.35s ease,
    border-top-color 0.35s ease-in-out;
}
.what-we-offer .offer-item .offer-image {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}
.what-we-offer .offer-item .offer-content {
  padding: var(--wwo-card-padding, 28px);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.what-we-offer .offer-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--wwo-heading-color, var(--heading-color));
  margin: 0 0 10px 0;
  line-height: 1.4;
  letter-spacing: 0.3px;
  transition: color 0.35s ease-in-out;
  white-space: normal;
  overflow-wrap: break-word;
  hyphens: auto;
}
.what-we-offer .offer-item p {
  font-size: var(--wwo-base-font-size, 15px);
  line-height: 1.65;
  color: var(--wwo-text-muted-color, var(--default-color));
  opacity: 0.8;
  margin-bottom: 0;
  white-space: normal;
  overflow-wrap: break-word;
  transition: color 0.35s ease-in-out;
}
.what-we-offer .offer-item:hover {
  transform: translateY(-7px);
  box-shadow: var(--wwo-card-shadow-hover, 0 12px 35px rgba(44, 62, 80, 0.12));
  border-top-color: var(--wwo-accent-color, var(--accent-color));
}
.what-we-offer .offer-item:hover .offer-image {
  transform: scale(1.04);
}
.what-we-offer .offer-item:hover h3 {
  color: var(--wwo-accent-color, var(--accent-color));
}
.what-we-offer .offer-item:hover p {
  color: var(--wwo-text-color, var(--default-color));
  opacity: 1;
}
@media (max-width: 991px) {
  .what-we-offer .offer-item .offer-content {
    padding: calc(var(--wwo-card-padding, 28px) * 0.85);
  }
  .what-we-offer .offer-item h3 {
    font-size: 17px;
  }
  .what-we-offer .offer-item p {
    font-size: calc(var(--wwo-base-font-size, 15px) * 0.95);
  }
}
@media (max-width: 767px) {
  .what-we-offer {
    padding: 40px 0;
  }
  .what-we-offer .offer-item .offer-content {
    padding: calc(var(--wwo-card-padding, 28px) * 0.75);
  }
  .what-we-offer .offer-item h3 {
    font-size: 16px;
  }
  .what-we-offer .offer-item p {
    font-size: calc(var(--wwo-base-font-size, 15px) * 0.9);
  }
  .what-we-offer .offer-item:hover {
    transform: translateY(-5px);
  }
}

/*--------------------------------------------------------------
# Projects Section - RESTORED BASE STYLES
--------------------------------------------------------------*/
.projects .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}
.cursiva {
  font-style: italic;
}
.projects .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  margin: 0 10px;
  line-height: 1;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}
.projects .portfolio-filters li:hover,
.projects .portfolio-filters li.filter-active {
  color: var(--accent-color);
}
.projects .portfolio-filters li:first-child {
  margin-left: 0;
}
.projects .portfolio-filters li:last-child {
  margin-right: 0;
}
@media (max-width: 575px) {
  .projects .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}
.projects .portfolio-content {
  background-color: #fff;
  border: 1px solid var(--wwo-border-light-color, #e6ebf1);
  border-top: 4px solid transparent;
  border-radius: var(--wwo-border-radius, 10px);
  box-shadow: var(--wwo-card-shadow, 0 4px 12px rgba(44, 62, 80, 0.08));
  overflow: hidden;
  transition: border-top-color 0.3s ease-in-out, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.projects .portfolio-image-wrapper {
  position: relative;
  overflow: hidden;
}
.projects .portfolio-image-wrapper img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.projects .portfolio-button-container {
  flex-shrink: 0;
  padding: 15px 10px;
  margin-top: auto;
}
.projects .btn-details {
  display: inline-block;
  padding: 10px 25px;
  background-color: var(--accent-color);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-family: var(--heading-font, sans-serif);
  font-weight: 500;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: normal;
  line-height: 1.3;
}
.projects .btn-details:hover {
  background-color: color-mix(in srgb, var(--accent-color), #000 15%);
  transform: translateY(-2px);
  color: #ffffff;
}
.projects .portfolio-content:hover {
  border-top-color: var(--accent-color);
  box-shadow: var(--wwo-card-shadow-hover, 0 8px 25px rgba(44, 62, 80, 0.12));
}
.projects .portfolio-content:hover .portfolio-image-wrapper img {
  transform: scale(1.06);
}
/* Isotope centering fix */
@media (min-width: 992px) {
  .projects
    .row.justify-content-center.isotope-container
    > .portfolio-item:nth-last-child(1):nth-child(3n-1),
  .projects
    .row.justify-content-center.isotope-container
    > .portfolio-item:nth-last-child(2):nth-child(3n-2):first-child {
    margin-left: auto !important;
  }
  .projects
    .row.justify-content-center.isotope-container
    > .portfolio-item:nth-last-child(1):nth-child(3n-2) {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .projects
    .row.justify-content-center.isotope-container
    > .portfolio-item:nth-last-child(1):nth-child(2n-1) {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/*--------------------------------------------------------------
# Testimonials Section - Elfsight handles this
--------------------------------------------------------------*/
.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}
.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--surface-color);
  opacity: 1;
  border: 1px solid var(--accent-color);
}
.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Financing Section - RESTORED BASE STYLES
--------------------------------------------------------------*/
.financing-services {
  padding: 60px 0;
  background-color: color-mix(in srgb, var(--accent-color), transparent 96%);
  overflow: hidden;
}
.financing-services .section-title h3 {
  font-family: var(--heading-font);
  font-size: 34px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 5px;
  position: relative;
  padding-bottom: 15px;
  white-space: normal;
}
.financing-services .section-title h3::after {
  content: "";
  position: absolute;
  display: block;
  width: 80px;
  height: 3px;
  background: var(--accent-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.financing-services .section-title h5 {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 400;
  color: var(--default-color);
  line-height: 1.4;
  white-space: normal;
  opacity: 0.8;
}
.financing-services .financing-subtitle-image {
  display: block;
  max-width: 85%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  border-top: 4px solid transparent;
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
    box-shadow 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
    border-top-color 0.3s ease-in-out;
  margin: 1.5rem auto !important;
}
.financing-services .financing-subtitle-image:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 25px
    color-mix(in srgb, var(--accent-color), transparent 65%);
  border-top-color: var(--accent-color);
  cursor: default;
}
.financing-services p.lead {
  font-family: var(--default-font);
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 400;
  white-space: normal;
}
.financing-services h4 {
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 20px;
  white-space: normal;
}
.financing-services .financing-benefits-list {
  padding: 0;
  margin: 0 0 40px 0;
  list-style: none;
}
.financing-services .financing-benefits-list li {
  padding: 8px 0;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
  color: var(--default-color);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  white-space: normal;
}
.financing-services .financing-benefits-list li i {
  font-size: 18px;
  margin-right: 10px;
  color: var(--accent-color);
  flex-shrink: 0;
  line-height: 1;
}
.financing-services .financing-benefits-list li small {
  font-size: 0.85em;
}
.financing-services .financing-steps-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  counter-reset: financing-step-counter;
}
.financing-services .financing-steps-list li {
  padding: 15px 0 15px 55px;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
  color: var(--default-color);
  margin-bottom: 20px;
  transition: color 0.3s ease;
  border-left: 3px solid
    color-mix(in srgb, var(--accent-color), transparent 90%);
  white-space: normal;
}
.financing-services .financing-steps-list li::before {
  counter-increment: financing-step-counter;
  content: counter(financing-step-counter);
  position: absolute;
  left: 0;
  top: 12px;
  width: 36px;
  height: 36px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  font-size: 16px;
  font-weight: 700;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.financing-services .financing-steps-list li strong {
  font-weight: 600;
  color: var(--heading-color);
  display: block;
  margin-bottom: 3px;
  white-space: normal;
}
.financing-services .financing-steps-list li:hover {
  border-left-color: var(--accent-color);
}
.financing-services .financing-steps-list li:hover::before {
  background-color: color-mix(in srgb, var(--accent-color), #000000 10%);
  transform: scale(1.05);
}
.financing-services .partner-info-wrapper {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}
.financing-services .partner-info-wrapper p.text-muted {
  font-size: 14px;
  margin-bottom: 15px !important;
  white-space: normal;
}
.financing-services .financing-icon-box {
  background-color: var(--surface-color);
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease-in-out;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  padding: 15px 20px;
}
.financing-services .financing-icon-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.15);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}
.financing-services .financing-icon {
  height: auto;
  flex-shrink: 0;
  margin-right: 15px !important;
  max-width: 180px !important;
}
.financing-services .financing-text {
  flex-grow: 1;
  text-align: left;
}
.financing-services .financing-text h4 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: var(--heading-color);
  white-space: normal;
}
.financing-services .financing-text h4 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}
.financing-services .financing-icon-box:hover .financing-text h4 a {
  color: var(--accent-color);
}
.financing-services .financing-text p {
  font-size: 14px;
  color: var(--default-color);
  margin: 0;
  line-height: 1.4;
  white-space: normal;
  opacity: 0.8;
}
/* Financing Responsive */
@media (max-width: 767px) {
  .financing-services {
    padding: 40px 0;
  }
  .financing-services .section-title h3 {
    font-size: 26px;
  }
  .financing-services .section-title h5 {
    font-size: 16px;
  }
  .financing-services .financing-subtitle-image {
    max-width: 95%;
  }
  .financing-services p.lead {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .financing-services h4 {
    font-size: 20px;
    margin-bottom: 15px;
  }
  .financing-services .financing-benefits-list li {
    font-size: 15px;
  }
  .financing-services .financing-steps-list li {
    font-size: 15px;
    padding-left: 50px;
    margin-bottom: 15px;
  }
  .financing-services .financing-steps-list li::before {
    width: 32px;
    height: 32px;
    font-size: 15px;
    top: 10px;
  }
  .financing-services .partner-info-wrapper {
    margin-top: 40px;
    padding-top: 25px;
  }
  .financing-services .financing-icon-box {
    flex-direction: column;
    text-align: center;
    max-width: 90%;
    padding: 20px;
  }
  .financing-services .financing-icon {
    margin-right: 0 !important;
    margin-bottom: 15px;
    max-width: 150px !important;
  }
  .financing-services .financing-text {
    text-align: center;
  }
  .financing-services .financing-text h4 {
    font-size: 16px;
  }
  .financing-services .financing-text p {
    font-size: 13px;
  }
}

/*--------------------------------------------------------------
# About Section - RESTORED BASE STYLES
--------------------------------------------------------------*/
.about .inner-title {
  font-size: 2.75rem;
  text-align: center;
  font-weight: 700;
  margin: 30px 0;
  white-space: normal;
  color: #0a2c4e;
}
@media (min-width: 991px) {
  .about .inner-title {
    max-width: 80%;
    margin: 0 auto 50px auto;
  }
}
.about .our-story {
  padding: 40px;
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  overflow: hidden;
  margin-bottom: 40px;
  border-radius: 8px;
}
.about .our-story h4 {
  text-transform: uppercase;
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  white-space: normal;
}
/* Note: Font variables --font-primary/secondary were removed earlier, using globals */
.about .our-story h3 {
  font-family: var(--heading-font);
  font-size: 2.25rem;
  font-weight: 700;
  color: #0a2c4e;
  white-space: normal;
  margin-bottom: 15px;
}
.about .our-story p {
  font-family: var(--default-font);
  line-height: 1.7;
  color: #555;
  white-space: normal;
}
.about .our-story p:last-child {
  margin-bottom: 0;
}
.about ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}
.about ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}
.about ul i {
  font-size: 1.25rem;
  margin-right: 0.5rem;
  line-height: 1.2;
  color: var(--accent-color);
}
/* Mission Vision */
.mission-vision-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
  width: 100%;
}
.mission-vision-block {
  flex: 1;
  min-width: 280px;
  text-align: center;
  padding: 40px;
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  overflow: hidden;
  border-radius: 8px;
}
.mission-vision-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #0a2c4e;
  display: inline-block;
}
.mission-vision-block h3 {
  font-family: var(--heading-font);
  font-size: 2rem;
  font-weight: 700;
  color: #0a2c4e;
  margin-bottom: 15px;
  white-space: normal;
}
.mission-vision-block p {
  font-family: var(--default-font);
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  white-space: normal;
}
@media (max-width: 767px) {
  .about .inner-title {
    font-size: 2rem;
  }
  .about .our-story {
    padding: 25px;
  }
  .about .our-story h3 {
    font-size: 1.75rem;
  }
  .about .our-story p {
    font-size: 0.95rem;
  }
  .mission-vision-container {
    gap: 20px;
  }
  .mission-vision-block {
    min-width: 100%;
    padding: 30px;
  }
  .mission-vision-block h3 {
    font-size: 1.8rem;
  }
  .mission-vision-block p {
    max-width: 90%;
    font-size: 0.95rem;
  }
}

/*--------------------------------------------------------------
# Stats Counter Section - RESTORED BASE STYLES
--------------------------------------------------------------*/
.stats-counter .stats-item {
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  background: var(--surface-color);
  border-radius: 5px;
}
.stats-counter .stats-item i.icon-stat {
  font-size: 42px;
  line-height: 1;
  margin-right: 20px;
  flex-shrink: 0;
}
.stats-counter .icon-color-1 {
  color: #2980b9;
}
.stats-counter .icon-color-2 {
  color: #f39c12;
}
.stats-counter .icon-color-3 {
  color: #27ae60;
}
.stats-counter .icon-color-4 {
  color: #e91e63;
}
.stats-counter .stats-item span.purecounter,
.stats-counter .stats-item span.unit-k,
.stats-counter .stats-item span.stat-suffix {
  color: var(--heading-color);
  font-size: 36px;
  font-weight: 600;
  display: inline;
  vertical-align: baseline;
}
.stats-counter .stats-item span.stat-suffix {
  margin-left: 4px;
}
.stats-counter .stats-item p {
  padding: 0;
  margin: 0 0 5px 0;
  font-family: var(--heading-font);
  font-size: 16px;
  color: #555;
  white-space: normal;
}
.stats-counter .stats-item p:first-of-type {
  font-weight: 600;
  color: var(--heading-color);
  margin-top: 5px;
}
.stats-counter .stats-item p.stat-description {
  font-size: 14px;
  color: #6c757d;
}
@media (max-width: 767px) {
  /* Stack on mobile */
  .stats-counter .stats-item {
    padding: 20px;
    flex-direction: column;
    text-align: center;
  }
  .stats-counter .stats-item i.icon-stat {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

/*--------------------------------------------------------------
# Project Details Section - RESTORED BASE STYLES
--------------------------------------------------------------*/
/* Slider styles kept as is */
.project-details .portfolio-details-slider img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 550px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.project-details .swiper-slide {
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-details .swiper-wrapper {
  height: auto;
}
.project-details .swiper-button-prev,
.project-details .swiper-button-next {
  width: 48px;
  height: 48px;
}
.project-details .swiper-button-prev:after,
.project-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;
}
.project-details .swiper-button-prev:hover:after,
.project-details .swiper-button-next:hover:after {
  background-color: rgba(0, 0, 0, 0.3);
}
@media (max-width: 575px) {
  .project-details .swiper-button-prev,
  .project-details .swiper-button-next {
    display: none;
  }
}
.project-details .swiper-pagination {
  margin-top: 20px;
  position: relative;
}
.project-details .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}
.project-details .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}
/* Info section */
.project-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  white-space: normal;
}
.project-details .portfolio-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}
.project-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}
.project-details .portfolio-info ul li {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}
.project-details .portfolio-info ul strong {
  text-transform: uppercase;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
  white-space: normal;
}
.project-details .portfolio-info .btn-visit {
  padding: 8px 40px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50px;
  transition: 0.3s;
}
.project-details .portfolio-info .btn-visit:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}
/* Description section */
.project-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
  white-space: normal;
}
.project-details .portfolio-description p {
  padding: 0;
  margin-bottom: 15px;
  line-height: 1.7;
  font-size: 16px;
  white-space: normal;
}
.project-details .portfolio-description ul {
  list-style: none;
  padding-left: 0;
  margin-top: 25px;
  margin-bottom: 20px;
}
.project-details .portfolio-description ul li {
  display: flex;
  align-items: flex-start;
  padding-left: 0;
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--default-color);
  white-space: normal;
}
.project-details .portfolio-description ul li i.bi-check-circle-fill {
  color: var(--success-color);
  font-size: 20px;
  margin-right: 12px;
  margin-top: 2px;
  line-height: 1;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  /* Adjustments for mobile */
  .project-details .portfolio-info h3 {
    font-size: 18px;
  }
  .project-details .portfolio-info ul {
    font-size: 14px;
  }
  .project-details .portfolio-info ul strong {
    font-size: 13px;
  }
  .project-details .portfolio-description h2 {
    font-size: 20px;
  }
  .project-details .portfolio-description p {
    font-size: 15px;
  }
  .project-details .portfolio-description ul li {
    font-size: 15px;
  }
}

/*--------------------------------------------------------------
# Contact Section - Responsive Map rule added
--------------------------------------------------------------*/
.contact .info-item {
  background-color: var(--surface-color);
  padding: 20px 0 30px 0;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}
.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  width: 56px;
  height: 56px;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
  border: 2px dotted color-mix(in srgb, var(--accent-color), transparent 40%);
  margin-left: auto;
  margin-right: auto;
}
.contact .info-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 10px 0;
  white-space: normal;
}
.contact .info-item p {
  padding: 0 10px;
  margin-bottom: 0;
  font-size: 14px;
  white-space: normal;
  word-break: break-word;
}
.contact .php-email-form {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}
@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

/* MODIFICACIONES PARA INPUT[TYPE="TEL"] AÑADIDAS AQUÍ */
.contact .php-email-form input[type="text"],
.contact .php-email-form input[type="email"],
.contact .php-email-form input[type="tel"], /* AÑADIDO */
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 4px;
  color: var(--default-color);
  background-color: var(--surface-color);
  border: 1px solid 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 input[type="tel"]:focus, /* AÑADIDO */
.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 input[type="tel"]::placeholder, /* AÑADIDO */
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}
/* FIN DE MODIFICACIONES PARA INPUT[TYPE="TEL"] */

.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), black 15%);
}
@media (max-width: 767px) {
  .contact .info-item {
    padding: 20px 15px;
  }
}
/* Responsive Map */
.contact iframe {
  /* Target iframe directly */
  width: 100% !important; /* Force width */
  max-width: 100%;
  height: 350px !important; /* Force default height */
  border: 0;
}
@media (min-width: 992px) {
  .contact iframe {
    height: 100% !important; /* Fill container height */
    min-height: 450px !important; /* Force minimum height */
  }
  /* If map is inside a column with specific height behavior */
  .contact .row > div[class*="col-lg-"]:has(iframe) {
    height: auto; /* Allow column to size based on content/map */
  }
}

/*--------------------------------------------------------------
# Content Pages (Blog, Privacy, Terms) - Unchanged
--------------------------------------------------------------*/
/* ... (Content page styles) ... */
.blog,
.privacy-section {
  padding: 60px 0;
  overflow: hidden;
}
.privacy-details,
.blog-details .article {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 30px;
  background: var(--surface-color);
  border-radius: 8px;
}
.privacy-details .title,
.blog-details .title {
  font-size: 28px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
  color: var(--heading-color);
  white-space: normal;
}
.privacy-details .content,
.blog-details .content {
  margin-top: 20px;
}
.privacy-details .content h3,
.blog-details .content h3 {
  font-size: 22px;
  margin-top: 25px;
  margin-bottom: 10px;
  font-weight: bold;
  color: var(--heading-color);
  white-space: normal;
}
.privacy-details .content p,
.blog-details .content p {
  line-height: 1.7;
  color: var(--default-color);
  font-size: 1rem;
  margin-bottom: 15px;
  white-space: normal;
}
.privacy-details .content ul,
.blog-details .content ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 20px 0;
}
.privacy-details .content ul li,
.blog-details .content ul li {
  padding: 5px 0 5px 25px;
  position: relative;
  color: var(--default-color);
  font-size: 1rem;
  line-height: 1.6;
  white-space: normal;
}
.privacy-details .content ul li:before,
.blog-details .content ul li:before {
  content: "\2022";
  color: var(--accent-color);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1.5em;
  position: absolute;
  left: 1em;
  font-size: 1.2em;
}
.privacy-details .content a,
.blog-details .content a {
  color: var(--accent-color);
  text-decoration: none;
}
.privacy-details .content a:hover,
.blog-details .content a:hover {
  color: color-mix(in srgb, var(--accent-color), black 20%);
  text-decoration: underline;
}
@media (max-width: 767px) {
  .blog,
  .privacy-section {
    padding: 40px 0;
  }
  .privacy-details,
  .blog-details .article {
    padding: 20px;
  }
  .privacy-details .title,
  .blog-details .title {
    font-size: 24px;
  }
  .privacy-details .content h3,
  .blog-details .content h3 {
    font-size: 18px;
  }
  .privacy-details .content p,
  .blog-details .content p {
    font-size: 0.95rem;
  }
  .privacy-details .content ul li,
  .blog-details .content ul li {
    font-size: 0.95rem;
  }
}

/* Map old color variables if used specifically in blog/privacy sections */
:root {
  --color-default: var(--default-color);
  --color-primary: var(--accent-color);
  --color-secondary: var(--secondary-color);
  --color-primary-dark: color-mix(in srgb, var(--accent-color), black 20%);
}
/* Ajustes específicos para el botón "Get Qualified" dentro de la caja de Home Run Financing */
.financing-icon-box .btn-get-started {
  padding: 8px 20px; /* Padding reducido (antes 12px 40px) */
  font-size: 14px; /* Tamaño de fuente ligeramente reducido (antes 16px) */
  white-space: nowrap; /* Evita que el texto "Get Qualified" se parta en dos líneas */
  margin-top: 0; /* Quita el margen superior por defecto si no se necesita aquí */
  /* o ajústalo a un valor menor si es necesario, ej: margin-top: 5px; */
  /* Puedes ajustar también el line-height si es necesario, aunque usualmente no se requiere con nowrap */
  /* line-height: normal; */
}

/* Si el botón sigue siendo muy ancho y empuja el contenedor,
   podríamos necesitar ajustar el flexbox del contenedor .financing-icon-box
   o el .financing-text. Pero prueba primero con lo de arriba. */
/* Removed other unused/placeholder sections */
