/* Base styles and variables */
:root {
  --background: 0 0% 100%;
  --foreground: 0 0% 7%;
  --card: 0 0% 100%;
  --card-foreground: 0 0% 7%;
  --primary: 0 0% 9%;
  --primary-foreground: 0 0% 98%;
  --secondary: 0 0% 96%;
  --secondary-foreground: 0 0% 9%;
  --muted: 0 0% 96%;
  --muted-foreground: 0 0% 45%;
  --accent: hsl(42, 100%, 50%); /* Golden yellow */
  --accent-foreground: 0 0% 9%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 98%;
  --border: 0 0% 89%;
  --input: 0 0% 89%;
  --ring: 0 0% 80%;
  --radius: 0.5rem;
  --black: hsl(0, 0%, 0%);
  --white: hsl(0, 0%, 100%);
  --yellow: #FFD700;
}

/* Reset and general styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.lato-light-italic {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: italic;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, 'Segoe UI', "Roboto", sans-serif;
  -webkit-tap-highlight-color: transparent;
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navbar styles */
  .navbar {
    position: fixed;
    top: 1rem;
    left: 0;
    right: 0;
    z-index: 50;
    margin: 0 auto;
    width: 95%;
    max-width: 1280px;
    transition: all 0.3s;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    border-radius: 0.75rem; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  .navbar.scrolled {
    top: 0;
    width: 100%;
    min-width: 100%;
    border-radius: 0;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }
  .navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
  }
  .logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
  }
  .logo div {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.025em;
    color: var(--white);
  }
  .menu-toggle {
    display: none;
  }
  .nav-menu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    font-size: 1.125rem;
  }
  .nav-link {
    color: var(--white);
    transition: 0.3s;
    position: relative;
  }
  .nav-link:hover {
    color: var(--yellow);
  }
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background-color: var(--yellow);
    transition: all 0.3s;
  }
  .nav-link:hover::after {
    width: 100%;
  }
  @media (max-width: 768px) {
    .navbar {
      top: 1rem;
      width: 95%;
      margin: 0 auto;
      background-color: rgba(0, 0, 0, 0.9);
      backdrop-filter: blur(8px);
      border-radius: 0.75rem; 
    }
    .menu-toggle {
      display: block;
    }
    .nav-menu {
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background-color: rgba(0, 0, 0, 0.95);
      backdrop-filter: blur(8px);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2rem;
      font-size: 1.125rem;
      transition: all 0.5s ease-in-out;
      opacity: 0;
      visibility: hidden;
      padding: 1rem;
      border-radius: 0 0 0.75rem 0.75rem; 
    }
    .nav-menu.active {
      opacity: 1;
      visibility: visible;
    }
    .menu-toggle .bar {
      width: 1.5rem;
      height: 2px;
      background-color: var(--white);
      margin-bottom: 4px;
      transition: all 0.3s;
    }
    .menu-toggle.active .bar:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }
    .menu-toggle.active .bar:nth-child(2) {
      opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(3) {
      transform: rotate(-45deg) translate(5px, -5px);
    }
    .navbar.menu-active {
      border-radius: 0.75rem 0.75rem 0 0; 
    }
  }
/* Hero section */
  .hero-section {
    position: relative;
    height: 103vh;
    width: 100%;
    overflow: hidden;
    background-color: var(--black);
  }
  .hero-slide {
    position: absolute;
    inset: 0;
  }

  .slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
  }
  .slide.active {
    opacity: 0.6;
  }
  .hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 0;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.25);
  }
  .hero-text-container {
    text-align: center;
    justify-content: center;
    padding: 2rem;
    transition: all 0.3s;
  }
  .hero-text-container h1 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-style: italic;
    font-family: "Roboto Slab", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  }
  .hero-text-container p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
  }
  #infoempre{
    list-style: none;     
    padding: 0;
    margin-bottom: 2rem;
    display: flex;        
    flex-wrap: wrap; 
    gap: 1.5rem  ;            
    justify-content: center;  
  }
  .infoempre{
     color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
  }
  .fa-regular{
    color: #FFD700;;
  }
  .hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
  }
  .btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 1.125rem;
    transition: all 0.3s;
  }
  .btn-primary {
    background-color: var(--yellow);
    color: var(--black);
  }
  .btn-primary:hover {
    background-color: rgba(255, 215, 0, 0.9);
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  .btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
  }
  .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  .slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    z-index: 0;
  }
  .dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
  }
  .dot.active {
    background-color: var(--yellow);
    width: 2.5rem;
    border-radius: 9999px;
  }
  .dot:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.7);
  }
/* Team section */
  .team-section {
    background-color: var(--black);
    padding: 5rem 1rem;
  }
  .section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
    color: var(--white);
  }
  .section-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    color: var(--yellow);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
  }
  .section-badge.dark {
    background-color: black;
  }
  .section-badge.gold {
    background-color: rgba(255, 215, 0, 0.2);
  }
  .team-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }
  .team-card {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    overflow: hidden;
    transition: all 0.5s;
    height: 100%;
    opacity: 0;
    transform: translateY(20px);
  }
  .team-card.animated {
    opacity: 1;
    transform: translateY(0);
  }
  .team-card:hover {
    background-color: rgba(255, 215, 0, 0.1);
  }
  .team-icon {
    color: var(--yellow);
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
  }
  .team-card h3 {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
  }
  .team-card p {
    color: rgba(255, 255, 255, 0.8);
  }
  .team-indicator {
    margin-top: auto;
    padding-top: 1rem;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s;
  }
  .team-card:hover .team-indicator {
    opacity: 1;
    transform: translateY(0);
  }
  .team-indicator-line {
    width: 2rem;
    height: 0.25rem;
    background-color: var(--yellow);
    border-radius: 9999px;
  }
/* Statistics Section */
  .stats-section {
    padding: 3rem 1rem;
    background-color: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
  }
  .stats-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
  }
  .stat-item {
    flex: 1; 
    width: 100%;
    max-width: 250px;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    text-align: center;
  }
  .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  .stat-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--yellow);
    font-size: 1.5rem;
    transition: all 0.3s;
  }
  .stat-item:hover .stat-icon {
    background-color: var(--yellow);
    color: var(--black);
  }
  .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--black);
  }
  .stat-label {
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.6);
    font-weight: 500;
  }
  @media (max-width: 768px) {
    .stats-grid {
      flex-direction: column;
      align-items: center;
    }
    .stat-item {
      max-width: 100%;
    }
  }
/* Services section */
.services-section {
  background-color: var(--black);
  padding: 4rem 1rem;
  align-items: center;
}
.services-content {
  display: flex;
  position: relative;
  padding: 1.25rem;
  width: 100%;
  align-items: center; 
  justify-content: space-between; 
  max-width: 80rem;
  margin: 2rem auto;
  background-color: var(--white);
  border-radius: 1rem;
  overflow: visible;
  box-shadow: inset 0 0 0 1px var(--white);
}
.services-description {
  width: 50%; 
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}
.services-description p {
  font-size: 1rem;
  color: hsl(var(--foreground), 0.7);
  margin-bottom: 1rem;
}
.services-tabs {
  display: flex;
  margin-top: 1.5rem;
}
.mobile-tabs {
  overflow-x: auto;
  padding-bottom: 1rem;
  gap: 0.5rem;
}
.mobile-tabs::-webkit-scrollbar {
  display: none;
}
.desktop-tabs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: auto;
}
.service-tab {
  cursor: pointer;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
   width: 35rem;
  flex-shrink: 0;
  scroll-snap-align: start;
}
.service-tab.active {
  background-color: var(--black);
  color: var(--white);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.service-tab:not(.active) {
  background-color: hsl(var(--muted));
  color: hsl(var(--foreground), 0.7);
}
.service-tab:hover:not(.active) {
  background-color: hsl(var(--muted), 0.8);
}
.tab-icon {
  padding: 0.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-tab.active .tab-icon {
  background-color: var(--accent);
  color: var(--black);
}
.service-tab:not(.active) .tab-icon {
  background-color: var(--white);
  color: var(--black);
}
.tab-title {
  font-weight: 500;
  font-size: 0.875rem;
  white-space: nowrap;
}
.services-display {
    position: relative; 
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin: 0.1rem;
    overflow: visible;
}
 .service-image-container {
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 4/3;
    min-height: 18.75rem; 
    display: flex;
    align-items: flex-end;
    position: relative;
  }
.service-slide {
  position: absolute;
  inset: 0;
  transition: opacity 0.7s;
  opacity: 0;
}
.service-slide.active {
  opacity: 1;
}
.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: translateZ(0); 
}
.service-content {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem; 
}
.service-icon {
  background-color: rgba(255, 215, 0, 0.1);
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: var(--accent);
}
.service-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.service-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.5;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.service-navigation {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
}
.mobile-indicator {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.indicator-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: #d4d4d4;
  transition: all 0.3s;
}
.indicator-dot.active {
  background-color: var(--accent);
  width: 1.5rem;
}

@media (max-width: 1024px) {
  .services-content {
    width: 100%;
    max-width: 600px;
    margin: 0.5rem auto;
    padding: 0.2rem;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
  }
  .services-description {
    width: 100%;
    margin-bottom: 1rem;
    text-align: center;
    box-sizing: border-box;
  }
  .desktop-tabs {
    display: none;
  }
  .mobile-tabs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-sizing: border-box;
    width: 100%;
  }
  .service-tab {
    width: 100%;
    justify-content: flex-start;
    white-space: normal;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    display: flex;
    scroll-behavior: smooth;
  }
  .services-display {
    width: 100%;
    margin: 0.1rem;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
  }
  .service-image-container {
    position: relative;
    inset: 0;
    overflow: hidden;
    box-sizing: border-box;
  }
  .service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .service-content {
    padding: 1rem;
    text-align: left;
    box-sizing: border-box;
  }
  .mobile-indicator {
    display: none;
  }
}
/* Projects section */
  .projects-section {
    background-color: var(--white);
    padding: 5rem 1rem;
  }
  .projects-section h2{
    color: black;
  }
  /* Filtros */
  .projects-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
  }
  .filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    background-color: black;
    color: var(--white);
    transition: all 0.3s;
    /*border: 2px solid var(--yellow);*/
  }
  .filter-btn:hover {
    background-color: var(--yellow);
    color: black;
  }
  .filter-btn.active {
    background-color: black;
    color: var(--yellow);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
  /* Grid de proyectos */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
  }
  /* Tarjetas de proyectos */
  .project-card {
    border-radius: 1rem;
    overflow: hidden;
    background-color: black;
    color: white;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    box-shadow: 0 10px 25px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.5s;
  }
  .project-card.animated {
    transform: translateY(0);
    opacity: 1;
  }
  .project-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
  /* Imagen del proyecto */
  .project-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
  }
  .project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
  }
  .project-card:hover .project-image {
    transform: scale(1.05);
  }
  /* Categoría del proyecto */
  .project-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--yellow);
    color: black;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
  }
  /* Contenido */
  .project-content {
    padding: 1.5rem;
  }
  .project-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--yellow);
  }
  .project-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }
  /* Metadatos del proyecto */
  .project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
  }
  .project-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .project-location i {
    color: var(--yellow);
  }
  .project-date {
    color: rgba(255, 255, 255, 0.5);
  }
  /* Estilos para el fondo oscuro del carrusel */
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  /* Contenedor principal del carrusel */
  .carousel {
    position: relative;
    width: 80%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  /* Imágenes dentro del carrusel */
  .carousel img {
    width: 800px;
    height: 637.50px;
    overflow: hidden; 
    object-fit: contain;
    display: none;
    cursor: zoom-in;
    transition: transform 0.3s;
  }
  .carousel img.active {
    display: block;
    cursor: zoom-out;
  }
  /* Contenedor de miniaturas */
  .thumbnail-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
  }
  .thumbnail {
    width: 100px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
    border-radius: 0.5rem;
  }
  .thumbnail:hover, .thumbnail.active {
    opacity: 1;
  }
  /* Botón de cierre */
  .close {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 50px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
  }
  /* Botones de navegación */
  .prev,
  .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
  }
  .prev { left: 10px; }
  .next { right: 10px; }
  /* Responsividad */
  @media (max-width: 768px) {
    .carousel {
      width: 80%;
      height: 80%;
    }
    .carousel img {
      width: 25rem;
      height: 18.75rem;
    }
    .thumbnail {
      width: 3rem;
      height: 1.5rem;
    }
  }
/* Rental section */
  .rental-section {
    background-color: var(--black);
    padding: 4rem 1rem;
  }
  .rental-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    display: flex;
    justify-content: center;
  }
  .rental-card {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    transition: all 0.3s;
    height: auto;
    width: 250px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
  }
  .rental-card.animated {
    opacity: 1;
    transform: translateY(0);
  }
  .rental-card:hover {
    background-color: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
  }
  .rental-icon {
    width: 4rem;
    height: 4rem;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--accent);
    transition: background-color 0.3s;
  }
  .rental-card:hover .rental-icon {
    background-color: rgba(255, 215, 0, 0.2);
  }
  .rental-card h3 {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
  }
  .rental-card:hover h3 {
    color: var(--accent);
  }
  .rental-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    transition: color 0.3s;
  }
  .rental-card:hover p {
    color: var(--white);
  }
  .rental-indicator {
    margin-top: auto;
    padding-top: 1rem;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s;
  }
  .rental-card:hover .rental-indicator {
    opacity: 1;
    transform: translateY(0);
  }
  .rental-indicator-line {
    width: 2rem;
    height: 0.25rem;
    background-color: var(--accent);
    border-radius: 9999px;
  }
  @media (max-width: 768px) {
    .rental-grid {
      flex-direction: column; 
      align-items: center;     
    }
  }
/* Contact section */
  .contact-section {
    background-color: var(--white);
    padding: 6rem 1rem;
  }
  .contact-container {
    background-color: hsl(var(--secondary));
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 25px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
  }
  .contact-info {
    background-color: var(--black);
    padding: 2rem;
    color: var(--white);
  }
  .contact-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }
  .contact-header img {
    height: 40px;
    width: auto;
    object-fit: contain;
  }
  .contact-header h2 {
    font-size: 2rem;
    font-weight: 700;
  }
  .contact-info > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
  }
  .contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
    margin-left: -1rem;
  }
  .contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    overflow: hidden;
  }
  .contact-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .contact-icon i {
    color: var(--yellow);
    font-size: 1.5rem;
  }
  .contact-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
  }
  .contact-value {
    color: var(--white);
    word-wrap: break-word;
    white-space: normal;
  }
  .contact-map {
    margin-top: 3rem;
  }
  .map-container {
    position: relative;
    height: 200px;
    border-radius: 1rem;
    overflow: hidden;
  }
  .map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(70%);
    transition: filter 0.3s;
  }
  .map-container:hover .map-image {
    filter: grayscale(30%);
  }
  .map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 1.5s infinite;
  }
  .map-pin i {
    color: var(--yellow);
    font-size: 2rem;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
  }
  @keyframes pulse {
    0% {
      transform: translate(-50%, -50%) scale(1);
    }
    50% {
      transform: translate(-50%, -50%) scale(1.2);
    }
    100% {
      transform: translate(-50%, -50%) scale(1);
    }
  }
  .contact-form-container {
    padding: 2rem;
  }
  .contact-form-container h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: hsl(var(--foreground));
  }
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    background-color: var(--white);
    transition: all 0.3s;
    font-family: inherit;
    font-size: 1rem;
  }
  .form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.5);
    border-color: var(--yellow);
  }
  .form-group textarea {
    resize: none;
  }
  .form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
  }
  .submit-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    background-color: var(--black);
    color: var(--white);
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s;
  }
  .submit-btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: 0 0 0 2px var(--yellow);
  }
  .submit-btn:active {
    transform: scale(0.98);
  }
  .submit-btn.submitting {
    opacity: 0.7;
    cursor: not-allowed;
  }
  @media (max-width: 1024px) {
    .contact-value{
      font-size: 0.85rem;
      margin-right: 1rem;
    }
    .contact-item{
      margin:0.5rem;
      flex-wrap: wrap;
    }
      .contact-icon {
    width: 2rem;
    height: 2rem;
  }
  }
  
/* Footer */
.footer {
  background-color: var(--black);
  color: var(--white);
  padding: 3rem 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.footer-logo h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  max-width: 20rem;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.footer-heading {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-line {
  width: 1rem;
  height: 0.25rem;
  background-color: var(--yellow);
  border-radius: 9999px;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-dot {
  width: 0.5rem;
  height: 0.5rem;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact i {
  color: var(--yellow);
  margin-top: 0.25rem;
}

.footer-contact span {
  color: rgba(255, 255, 255, 0.7);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  transition: background-color 0.3s;
}

.social-link:hover {
  background-color: rgba(255, 215, 0, 0.2);
}
.footer-policies{
  margin-top: 2rem;
}
/* Toast notification */
.toast-container {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 100;
}

.toast {
  background-color: rgba(0, 0, 0, 0.8);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.3s;
  max-width: 20rem;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-success {
  border-left: 4px solid #10b981;
}

.toast-error {
  border-left: 4px solid #ef4444;
}

/* Animation classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Media queries */
@media (min-width: 640px) {
  .hero-text-container {
    padding: 2.5rem;
  }

  .hero-text-container h1 {
    font-size: 3rem;
  }

  .hero-text-container p {
    font-size: 1.5rem;
  }

  .hero-buttons {
    flex-direction: row;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rental-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dot {
    width: 0.75rem;
    height: 0.75rem;
  }

  .dot.active {
    width: 3rem;
  }

  .tab-title {
    font-size: 1rem;
  }

  .service-content {
    padding: 1.5rem;
  }

  .service-content h3 {
    font-size: 1.5rem;
  }

  .service-content p {
    font-size: 1.125rem;
  }

  .nav-btn {
    width: 3rem;
    height: 3rem;
  }

  .indicator-dot {
    width: 0.75rem;
    height: 0.75rem;
  }

  .indicator-dot.active {
    width: 2.5rem;
  }
}

@media (min-width: 768px) {
  .navbar-container {
    padding: 1rem 2rem;
  }

  .menu-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    flex-direction: row;
    opacity: 1;
    visibility: visible;
    background-color: transparent;
    backdrop-filter: none;
    gap: 1.5rem;
  }

  .contact-container {
    flex-direction: row;
  }

  .contact-info {
    width: 40%;
  }

  .contact-form-container {
    width: 60%;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .services-content {
    flex-direction: row;
  }

  .services-description {
    width: 50%;
    padding-right: 2rem;
  }

  .mobile-tabs {
    display: none;
  }

  .desktop-tabs {
    display: flex;
  }

  .services-display {
    width: 50%;
  }

  .mobile-indicator {
    display: none;
  }

  .rental-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

@media (min-width: 1280px) {
  .rental-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .services-description {
    padding-right: 3rem;
  }

  .service-tab {
    padding: 1rem 2rem;
  }
  
  .service-content h3 {
    font-size: 1.75rem;
  }
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .mobile-tabs {
    -ms-overflow-style: none;
    scrollbar-width: none;
    touch-action: pan-x;
  }
  
  .snap-x {
    scroll-snap-type: x mandatory;
  }
  
  .snap-start {
    scroll-snap-align: start;
  }
}
 .whatsapp-button {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background-color: #25D366;
      color: white;
      border: none;
      border-radius: 50%;
      width: 60px;
      height: 60px;
      font-size: 30px;
      text-align: center;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
      cursor: pointer;
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
    }

    .whatsapp-button:hover {
      background-color: #1ebc59;
    }
/* POLÍTICAS */
section.politicas {
  background-color: #000;
  color: #fff;
  padding: 40px;
  margin: 7.5rem auto;
  max-width: 900px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
  line-height: 1.6;
}

section.politicas h1 {
  color: #FFD700; /* Amarillo para el título principal */
  font-size: 2em;
  margin-bottom: 20px;
}

section.politicas h2 {
  color: #000;
  background-color: #FFD700; /* Fondo amarillo para los h2 */
  padding: 10px;
  border-radius: 6px;
  margin-top: 30px;
  margin-bottom: 15px;
}

section.politicas h3 {
  color: #FFD700; /* Amarillo para los subtítulos */
  margin-top: 20px;
  font-weight: bold;
}

section.politicas h4 {
  color: #fff;
  font-style: italic;
  margin-top: 15px;
}

section.politicas p,
section.politicas ul,
section.politicas ol {
  margin: 10px 0;
  padding-left: 10px;
}

section.politicas ul,
section.politicas ol {
  padding-left: 20px;
}

section.politicas strong {
  font-weight: bold;
  color: #fff;
}

section.politicas a {
  color: #FFD700;
  text-decoration: underline;
}

section.politicas a:hover {
  color: #000;
  background-color: #FFD700;
  padding: 2px 4px;
  border-radius: 4px;
  text-decoration: none;
}
@media (max-width: 1024px) {
  section.politicas {
    margin: 7.5rem 2rem;
    padding: 30px;
    font-size: 0.95em;
  }
  section.politicas h1 {
    font-size: 1.7em;
  }
  section.politicas h2 {
    font-size: 1.3em;
  }
  section.politicas h3 {
    font-size: 1.1em;
  }
  section.politicas h4 {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  section.politicas {
    margin: 7.5rem 1.5rem;
    padding: 25px;
    font-size: 0.9em;
  }
  section.politicas h1 {
    font-size: 1.5em;
  }
  section.politicas h2 {
    font-size: 1.2em;
  }
  section.politicas h3 {
    font-size: 1em;
  }
  section.politicas h4 {
    font-size: 0.95em;
  }
}