/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font: 16px/1.5 "Roboto", sans-serif;
  color: #444;
}

a {
  color: red;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ffa790;
}

h1,h2,h3,h4,h5,h6 {
  font-family: "Raleway", sans-serif;
  margin-top: 0;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #09786a;
  border-top-color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #184f44;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 1;
}

.back-to-top:hover {
  background: #3ca89c;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: rgba(9,120,106, 0.2);
  transition: all 0.5s;
  z-index: 997;
  position: relative;
  height: 70px;
  overflow: hidden;
}

@media (max-width: 992px) {
  #header { height: 60px; }
}

#header.fixed-top, 
#header.header-inner-pages {
  background: rgba(9,120,106, 0.9) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#header.fixed-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

#header .logo {
  font: 500 30px/1 "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform: translateX(-100%);
}

#header .logo.show {
  transform: translateX(0);
}

#header .logo a {
  color: #fff;
}

.scrolled-offset {
  margin-top: 70px;
}

@media (max-width: 991px) {
  .scrolled-offset {
    margin-top: 60px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu 
--------------------------------------------------------------*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar > ul > li {
  white-space: nowrap;
  padding: 10px 12px;
}

.navbar a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3px;
  font: 600 15px/1.5 sans-serif;
  white-space: nowrap;
  transition: 0.3s;
  color: #fff;
  position: relative;
}

.navbar a i {
  font-size: 12px;
  margin-left: 5px;
}

.navbar > ul > li > a::before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -7px;
  left: 0;
  background-color: #db2730;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

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

.navbar a:hover,
.navbar .active,
.navbar li:hover > a {
  color: #fff;
}

/* Dropdown Styles */
.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 12px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0 0 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

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

.navbar .dropdown ul a {
  padding: 10px 20px;
  font: 500 14px/1.5 sans-serif;
  color: #150517;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover > a {
  color: #ff7f5d;
}

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

/* Nested Dropdown */
.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  left: 100%;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }
  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #184f44;
}

.navbar-mobile>ul>li {
  padding: 0;
}

.navbar-mobile a:hover:before,
.navbar-mobile li:hover>a:before,
.navbar-mobile .active:before {
  visibility: hidden;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #db2730;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

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

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

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

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
  color: #ff7f5d;
}

.navbar-mobile .dropdown>.dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin-bottom: -70px;
  z-index: 1;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(40, 40, 40, 0.6);
}

#hero .hero-container {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
}

#hero .item {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 300px;
  list-style: none;
  background-position: center;
  background-size: cover;
  border-radius: 20px;
  box-shadow: 0 20px 30px rgba(255, 255, 255, 0.3) inset;
  z-index: 1;
  transition:
    transform 0.1s,
    left 0.75s,
    top 0.75s,
    width 0.75s,
    height 0.75s;
}

#hero .item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  border-radius: inherit;
  z-index: 2;
}

#hero .item:nth-child(1),
#hero .item:nth-child(2) {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: none;
  border-radius: 0;
  box-shadow: none;
  opacity: 1;
}

#hero .item:nth-child(3) { left: 50%; }
#hero .item:nth-child(4) { left: calc(50% + 220px); }
#hero .item:nth-child(5) { left: calc(50% + 440px); }
#hero .item:nth-child(6) { left: calc(50% + 660px); opacity: 0; }

#hero .content {
  z-index: 3;
  position: absolute;
  top: 50%;
  left: 3rem;
  transform: translateY(-50%);
  width: min(30vw, 400px);
  font: 400 0.85rem Helvetica, sans-serif;
  color: #fff;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
  opacity: 0;
  display: none;
}

#hero .item:nth-of-type(2) .content {
  display: block;
  animation: show 0.75s ease-in-out 0.3s forwards;
}

#hero .content .title {
  font-size: 42px;
  line-height: 1.285;
  margin: 0 0 20px 0; 
  letter-spacing: -0.036em;
  text-transform: uppercase;
  text-align: justify;
}

#hero .content .description {
  font-size: 16px;
  line-height: 1.625;
  margin-bottom: 12px;
  font-weight: 400;
  margin-top: 2px;
  text-align: left;
  margin: 0 0 20px 0;
}

#hero .content button {
  padding: 0.75rem;
  width: fit-content;
  color: white;
  background-color: rgba(0, 0, 0, 0.1);
  border: 2px solid white;
  border-radius: 0.25rem;
  cursor: pointer;
}

@keyframes show {
  0% {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(calc(-50% + 75px));
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}

#hero .nav {
  position: absolute;
  bottom: 10rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  user-select: none;
  display: flex;
  gap: 1rem;
}

#hero .nav .btn {
  margin: 0;
  padding: 1rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 1.2rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

#hero .nav .btn:hover {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

#hero .nav .btn:active {
  transform: scale(0.95);
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
/* Tablets */
@media (width > 650px) and (width < 900px) {
  #hero .content .title       { font-size: 2rem; }
  #hero .content .description { font-size: 0.95rem; }
  #hero .content button       { font-size: 0.8rem; }

  #hero .item {
    width: 170px;
    height: 290px;
  }

  #hero .item:nth-child(3) { left: 50%; }
  #hero .item:nth-child(4) { left: calc(50% + 180px); }
  #hero .item:nth-child(5) { left: calc(50% + 360px); }
  #hero .item:nth-child(6) { left: calc(50% + 540px); opacity: 0; }
}


/* Móviles */
@media (width < 650px) {
  #hero .content .title { 
    font-size: 2rem;
    margin-bottom: 40px; 
  }
  #hero .content .description { 
    font-size: 0.85rem; 
    margin-bottom: 80px;
  }
  #hero .content button { font-size: 0.75rem; }

  #hero .item {
    width: 140px;
    height: 240px;
  }

  #hero .item:nth-child(3) { left: 50%; }
  #hero .item:nth-child(4) { left: calc(50% + 150px); }
  #hero .item:nth-child(5) { left: calc(50% + 300px); }
  #hero .item:nth-child(6) { left: calc(50% + 450px); opacity: 0; }
}


/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background-color: #fafafa;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

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

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #09786a;
  bottom: 0;
  left: calc(50% - 25px);
}

.section-title p {
  margin-bottom: 0;
  color: #919191;
  font-size: 14px;
}

.about {
  padding: 5rem 0;
  position: relative;
}

.about .content {
  color: #4a4a4a;
  line-height: 1.8;
}

.about .content h3 {
  font: 700 1.8rem/1.2 sans-serif;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, #ff7f5d, #ff9d7d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about .content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

.about .content ul li {
  padding: 0.75rem 0 0.75rem 1.75rem;
  position: relative;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.about .content ul li:hover {
  background: rgba(60,168,156, 0.1);
  transform: translateX(5px);
}

.about .content ul li + li {
  margin-top: 0.3rem;
}

.about .content ul i {
  position: absolute;
  left: 0;
  top: 0.75rem;
  font-size: 1.25rem;
  color: #09786a;
  transition: transform 0.3s;
}

.about .content ul li:hover i {
  transform: scale(1.2);
}

.about .content .btn-learn-more {
  font: 700 0.9375rem/1 "Raleway", sans-serif;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2.25rem;
  border-radius: 50px;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  color: #09786a;
  border: 2px solid #09786a;
  position: relative;
  overflow: hidden;
  background: transparent;
  margin-top: 0.625rem;
}

.about .content .btn-learn-more::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 127, 93, 0.15), transparent);
  transition: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about .content .btn-learn-more:hover {
  background: #09786a;
  color: #fff;
  box-shadow: 0 5px 15px rgba(255, 127, 93, 0.2);
  transform: translateY(-2px);
}

.about .content .btn-learn-more:hover::before {
  left: 100%;
}

.about .left {
  padding-right: 1.875rem;
  animation: fadeInLeft 0.8s ease-out;
}

.about .right {
  padding-left: 1.875rem;
  animation: fadeInRight 0.8s ease-out;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-1.875rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(1.875rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Responsive Design */
@media (max-width: 62em) {
  .about {
    padding: 3.75rem 0;
  }
  
  .about .left,
  .about .right {
    padding: 0 0.9375rem;
    animation: none;
  }
  
  .about .right {
    padding-top: 1.875rem;
  }
  
  .about .content h3 {
    font-size: 1.6rem;
  }
}

@media (max-width: 48em) {
  .about {
    padding: 2.5rem 0;
  }
  
  .about .content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
  
  .about .content p {
    font-size: 1rem;
  }
  
  .about .content ul {
    margin: 1.5rem 0;
  }
  
  .about .content ul li {
    padding: 0.625rem 0 0.625rem 1.5rem;
  }
  
  .about .content ul i {
    font-size: 1.125rem;
    top: 0.625rem;
  }
  
  .about .content .btn-learn-more {
    font-size: 0.875rem;
    padding: 0.75rem 1.75rem;
  }
  
  .about .right {
    padding-top: 1.25rem;
  }
}

@media (max-width: 30em) {
  .about .content h3 {
    font-size: 1.3rem;
  }
  
  .about .content .btn-learn-more {
    width: 100%;
  }
}

/*--------------------------------------------------------------
# Interactive Map Section
--------------------------------------------------------------*/
.services {
  padding: 5rem 0;
  background-color: #f8fafc;
  position: relative;
  overflow: hidden;
}

.section-title {
  text-align: center;
  padding-bottom: 2.5rem;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.03125rem;
}

.section-title p {
  margin: 0 auto;
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1.7;
}

.section-title p strong {
  color: #09786a;
  font-weight: 600;
}

/* Map Container */
.services .row {
  max-width: 56.25rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* SVG Map Styling */
.services svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 34.375rem;
  margin: 0 auto;
  filter: drop-shadow(0 0.625rem 0.9375rem rgba(0, 0, 0, 0.05));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Department Paths */
.services path {
  stroke: #1e293b;
  stroke-width: 1.2;
  stroke-linejoin: round;
  transition: all 0.3s ease;
  fill-opacity: 0.9;
}

/* Hover Effects */
.services path:hover {
  stroke-width: 2.5;
  transform: translateY(-0.125rem);
  filter: brightness(1.08);
  cursor: pointer;
  fill-opacity: 1;
}

/* Tooltip Effect */
.services path[title] {
  position: relative;
  cursor: pointer;
}

.services path[title]:hover::after {
  content: attr(title);
  position: absolute;
  background: rgba(30, 41, 59, 0.9);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  z-index: 100;
  pointer-events: none;
  transform: translateY(-100%);
  box-shadow: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 62rem) {
  .services {
    padding: 3.75rem 0;
  }
  
  .section-title h2 {
    font-size: 2.2rem;
  }
  
  .services svg {
    max-height: 31.25rem;
  }
}

@media (max-width: 48rem) {
  .services {
    padding: 3.125rem 0;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .section-title p {
    font-size: 1rem;
    padding: 0 1.25rem;
  }
  
  .services svg {
    max-height: 28.125rem;
  }
}

@media (max-width: 36rem) {
  .services {
    padding: 2.5rem 0;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .services svg {
    max-height: 23.75rem;
  }
  
  .section-title p {
    font-size: 0.95rem;
  }
}

path {
  stroke: #333;
  stroke-width: 1.2;
  stroke-linejoin: round;
  transition: fill 0.3s, stroke-width 0.3s;
  fill-opacity: 0.9;
}

path:hover {
  stroke-width: 2.5;
  stroke: #000;
  fill-opacity: 1;
  cursor: pointer;
}

/* Estilos para el popup */
.popup-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.close-btn:hover {
  color: #ff0000;
}

/* Estilos para los colores de volumen - Versión mejorada */
.bg-success-light {
  background-color: rgba(46, 204, 113, 0.15) !important; /* Verde más vivo */
  border-left: 4px solid #2ecc71 !important;
}

.bg-warning-light {
  background-color: rgba(241, 196, 15, 0.15) !important; /* Amarillo más vivo */
  border-left: 4px solid #f1c40f !important;
}

.bg-danger-light {
  background-color: rgba(231, 76, 60, 0.15) !important; /* Rojo más vivo */
  border-left: 4px solid #e74c3c !important;
}

/* Estilo adicional para resaltar el volumen */
.volumen-destacado {
  font-weight: bold;
  font-size: 1.05em;
  padding: 2px 6px;
  border-radius: 4px;
}

.volumen-verde {
  color: #27ae60;
  background-color: rgba(46, 204, 113, 0.2);
}

.volumen-amarillo {
  color: #f39c12;
  background-color: rgba(241, 196, 15, 0.2);
}

.volumen-rojo {
  color: #e74c3c;
  background-color: rgba(231, 76, 60, 0.2);
}

/*--------------------------------------------------------------
# FAQ
--------------------------------------------------------------*/
.faq .faq-list {
  padding: 0 2rem;
  max-width: 75rem;
  margin: 0 auto;
}

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

.faq .faq-list li {
  padding: 1.5rem;
  margin-top: 1rem;
  background: #ffffff;
  border-radius: 0.5rem;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease-in-out;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq .faq-list li:first-child {
  margin-top: 0;
}

.faq .faq-list li:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.faq .faq-list a {
  display: block;
  position: relative;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
  padding: 0 1.875rem;
  outline: none;
  cursor: pointer;
  color: #db2730;
  text-decoration: none;
  transition: color 0.2s ease;
}

.faq .faq-list a:hover {
  color: #db2730;
}

.faq .faq-list .icon-help {
  font-size: 1.5rem;
  position: absolute;
  left: 1.25rem;
  color: #db2730;
}

.faq .faq-list .icon-show,
.faq .faq-list .icon-close {
  font-size: 1.5rem;
  position: absolute;
  right: 0;
  top: 0;
  transition: all 0.3s ease;
}

.faq .faq-list p {
  margin-bottom: 0;
  padding: 1rem 0 0 2.5rem;
  color: #555;
  line-height: 1.6;
  font-size: 0.9375rem;
}

.faq .faq-list .icon-show {
  display: none;
  opacity: 0.7;
}

.faq .faq-list a.collapsed {
  color: #1a5c4c;
}

.faq .faq-list a.collapsed:hover {
  color: #db2730;
}

.faq .faq-list a.collapsed .icon-show {
  display: inline-block;
}

.faq .faq-list a.collapsed .icon-close {
  display: none;
}

/* Transición para el colapso */
.faq .faq-list .collapse {
  transition: height 0.3s ease;
}

/* Media Queries */
@media (max-width: 62rem) {
  .faq .faq-list {
    padding: 0 1.875rem;
  }
}

@media (max-width: 48rem) {
  .faq .faq-list {
    padding: 0 0.9375rem;
  }
  
  .faq .faq-list li {
    padding: 1.125rem 1.25rem;
  }
  
  .faq .faq-list a {
    padding-right: 1.5625rem;
    font-size: 0.9375rem;
  }
  
  .faq .faq-list p {
    padding-left: 1.875rem;
    font-size: 0.875rem;
  }
}

/*--------------------------------------------------------------
# Contact - Modern Style
--------------------------------------------------------------*/
/* Map Options */
.map-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.map-options button {
  background: #ffffff;
  color: #203869;
  border: 1px solid #e2e8f0;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.map-options button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #09786a;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: -1;
}

.map-options button:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-color: #09786a;
}

.map-options button:hover::before {
  width: 100%;
}

.map-options button.active {
  background: #09786a;
  color: #ffffff;
  border-color: #09786a;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Contact Container */
.contact .info, 
.contact .php-email-form {
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Info Section */
.contact .info i {
  font-size: 22px;
  color: #ffffff;
  float: left;
  width: 50px;
  height: 50px;
  background: #3ca89c;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.contact .info h4 {
  padding: 0 0 0 70px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #09786a;
  letter-spacing: 0.5px;
}

.contact .info p {
  padding: 0 0 0 70px;
  margin-bottom: 0;
  font-size: 15px;
  color: #2d3748;
  line-height: 1.6;
}

.contact .info .email, 
.contact .info .phone {
  margin-top: 28px;
  position: relative;
}

.contact .info .email::before,
.contact .info .phone::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 70px;
  width: calc(100% - 70px);
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
}

.contact .info .email:hover i,
.contact .info .address:hover i,
.contact .info .phone:hover i {
  background: #09786a;
  transform: translateY(-3px) rotate(5deg);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact .info a {
  color: #203869;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: inline-block;
  font-weight: 500;
}

.contact .info a:hover {
  color: #db2730;
  transform: translateX(5px);
}

/* Form Styles */
.contact .php-email-form .form-group {
  padding-bottom: 16px;
  position: relative;
}

.contact .php-email-form .error-message,
.contact .php-email-form .sent-message,
.contact .php-email-form .loading {
  display: none;
  text-align: left;
  padding: 16px 20px;
  font-weight: 600;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.contact .php-email-form .error-message {
  color: #ffffff;
  background: #db2730;
}

.contact .php-email-form .sent-message {
  color: #ffffff;
  background: #09786a;
  text-align: center;
}

.contact .php-email-form .loading {
  background: #ffffff;
  text-align: center;
  padding: 16px;
}

.contact .php-email-form .loading::before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #09786a;
  border-top-color: #e2e8f0;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 12px;
  box-shadow: none;
  font-size: 15px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  padding: 14px 16px;
  background: #f8fafc;
  width: 100%;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #09786a;
  box-shadow: 0 0 0 3px rgba(9, 120, 106, 0.1);
  outline: none;
  background: #ffffff;
}

.contact .php-email-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact .php-email-form button[type=submit] {
  border: none;
  background: #1a5c4c;
  padding: 14px 32px;
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.contact .php-email-form button[type=submit]::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.contact .php-email-form button[type=submit]:hover {
  background: #09786a;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact .php-email-form button[type=submit]:active::after {
  animation: ripple 0.6s ease-out;
}

/* Map Container */
.contact iframe {
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 350px;
  margin-bottom: 30px;
  border: none;
}

/* Animations */
@keyframes animate-loading {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }
  100% {
    transform: scale(20, 20);
    opacity: 0;
  }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .contact .info {
    margin-bottom: 30px;
  }
  
  .contact iframe {
    height: 300px;
  }
  
  .contact .php-email-form {
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .map-options {
    justify-content: center;
  }
  
  .contact .info, 
  .contact .php-email-form {
    padding: 24px 20px;
  }
  
  .contact .info h4,
  .contact .info p {
    padding-left: 60px;
  }
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 15px 0;
  background: #fafafa;
  min-height: 40px;
}

.breadcrumbs h2 {
  font-size: 28px;
  font-weight: 500;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #3b0e41;
  content: "/";
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: linear-gradient(135deg, #09786a 0%, #1a5c4c 100%);
  color: #fff;
  font-size: 14px;
  position: relative;
  box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

#footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/footer-bg.jpg") center/cover no-repeat;
  opacity: 0.15;
  z-index: 1;
}

/* Footer Top */
.footer-top {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 0;
}

.footer-top h3 {
  font: 700 42px/1.2 "Poppins", sans-serif;
  color: #fff;
  margin: 0 0 15px;
  letter-spacing: 1px;
}

.footer-top h3::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #db2730;
  margin: 15px auto 0;
}

.footer-top p {
  font-style: italic;
  font-size: 16px;
  margin: 25px auto 0;
  padding: 0;
  max-width: 600px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

/* Social Links */
.social-links {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 18px;
  padding: 12px;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
  background: #db2730;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(219, 39, 48, 0.3);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
  position: relative;
  padding: 30px 0;
  background: rgba(0, 0, 0, 0.2);
}

.copyright, .credits {
  text-align: center;
}

.copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.credits {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 10px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-top h3,
.footer-top p,
.social-links {
  animation: fadeInUp 0.6s ease forwards;
}

.footer-top p { animation-delay: 0.2s; }
.social-links { animation-delay: 0.4s; }

/* Responsive */
@media (max-width: 992px) {
  .footer-top { padding: 80px 0 60px; }
  .footer-top h3 { font-size: 36px; }
}

@media (max-width: 768px) {
  .footer-top { padding: 60px 0 40px; }
  .footer-top h3 { font-size: 30px; }
  .footer-top p { font-size: 15px; }
  .social-links a {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

.datos-temporales {
    font-size: 0.85rem;
    line-height: 1.4;
}

.datos-temporales i {
    width: 1rem;
    text-align: center;
}

.datos-temporales .text-success {
    color: #28a745;
}

.datos-temporales .text-muted {
    color: #6c757d;
}

.datos-temporales .text-warning {
    color: #ffc107;
}

.modal-header{
  background-color: #09786a;
}
.btn-close-modal {
  background-color: #09786a;
  color: #fff;
}

.btn-close-modal:hover {
  background-color: #fff;
  color: #09786a;
  border: 2px solid #09786a;
}
