/* Base styles */
:root {
  --primary-color: #033b58; /* Color azul solicitado */
  --primary-light: #0a4e70;
  --primary-dark: #022a40;
  --secondary-color: #f8f9fa;
  --accent-color: #ffc107;
  --text-color: #333;
  --text-light: #6c757d;
  --text-white: #fff;
  --bg-light: #f8f9fa;
  --bg-dark: #212529;
  --border-color: #dee2e6;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --radius: 0.5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-light);
}

img {
  max-width: 100%;
  height: auto;
}



.text-center {
  text-align: center;
}

.highlight {
  color: var(--primary-color);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn i {
  margin-left: 0.5rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-white);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  color: var(--text-white);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-white);
  border: 2px solid var(--text-white);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
}

.btn-light {
  background-color: var(--text-white);
  color: var(--primary-color);
}

.btn-light:hover {
  background-color: var(--bg-light);
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-link {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.btn-link i {
  margin-left: 0.25rem;
  font-size: 0.875rem;
  transition: var(--transition);
}

.btn-link:hover {
  color: var(--primary-light);
}

.btn-link:hover i {
  transform: translateX(3px);
}

/* Header/Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 1rem 0;
}



.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
  transition: var(--transition);
}


.desktop-nav {
  display: none;
}

.desktop-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--text-white);
  font-weight: 500;
  position: relative;
}



.nav-link.active, .nav-link:hover {
  color: var(--text-white);
}



.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
}

.mobile-menu-btn {
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
}


.mobile-nav {
  display: none;
  background-color: #fff;
  padding: 1rem 0;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
  display: block;
}

.mobile-nav ul {
  list-style: none;
}

.mobile-nav .nav-link {
  display: block;
  color: var(--text-color);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav .nav-link.active, .mobile-nav .nav-link:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  height: 100vh;
  background-image: url('https://placehold.co/1920x1080');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  color: var(--text-white);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-white);
}

.scroll-indicator span {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.bounce {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
  }
  40% {
      transform: translateY(-10px);
  }
  60% {
      transform: translateY(-5px);
  }
}

/* About Section */
.about {
  padding: 6rem 0;
  background-color: #fff;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.counters {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

.counter {
  text-align: center;
}

.counter-icon {
  background-color: rgba(3, 59, 88, 0.1);
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.counter-number {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.counter p {
  color: var(--text-light);
  margin-bottom: 0;
}

.about-image {
  flex: 1;
  position: relative;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.experience-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background-color: var(--primary-color);
  color: var(--text-white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.badge-number {
  font-size: 1.5rem;
  font-weight: 700;
}

.badge-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.features {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin-top: 6rem;
}

.feature {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.feature-icon {
  background-color: rgba(3, 59, 88, 0.1);
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.feature h3 {
  margin-bottom: 1rem;
}

.feature p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Services Section */
.services {
  padding: 0rem 0;
  background-color: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

.service-card {
  background-color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  margin-bottom: 0.75rem;
}

.service-content p {
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

/* Projects Gallery */
.projects {
  padding: 6rem 0;
  background-color: #fff;
}

.carousel-container {
  position: relative;
  margin-bottom: 3rem;
  overflow: hidden;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-item {
  min-width: 100%;
  padding: 0 1rem;
}

.project-card {
  background-color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
}

.project-image {
  height: 250px;
  position: relative;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-category {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--primary-color);
  color: var(--text-white);
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  margin-bottom: 0.5rem;
}

.project-content p {
  color: var(--text-light);
  margin-bottom: 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--primary-color);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.carousel-btn:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
}

.prev-btn {
  left: 1rem;
}

.next-btn {
  right: 1rem;
}

/* Testimonials */
.testimonials {
  padding: 6rem 0;
  background-color: var(--bg-light);
}

.testimonial-carousel {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-item {
  min-width: 500px;
  padding: 0 1rem;
}

.testimonial-card {
  background-color: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: 100%;
}

.testimonial-rating {
  display: flex;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.testimonial-rating i {
  margin-right: 0.25rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--border-color);
  margin-right: 1rem;
}

.author-info h4 {
  margin-bottom: 0.25rem;
}

.author-info p {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* FAQ Section */
.faq {
  padding: 6rem 0;
  background-color: #fff;
}

.accordion {
  max-width: 1200px;
  margin: 0 auto;
}

.accordion-item {
  border-bottom: 1px solid var(--border-color);
}

.accordion-header {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-header h3 {
  margin-bottom: 0;
  font-size: 1.25rem;
}

.accordion-header i {
  color: var(--primary-color);
  transition: var(--transition);
}

.accordion-item.active .accordion-header i {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

.accordion-content p {
  padding: 0 0 1.5rem;
  color: var(--text-light);
}

/* Contact Section */
.contact {
  padding: 6rem 0;
  background-color: var(--bg-dark);
  color: var(--text-white);
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contact-info {
  flex: 1;
}

.contact-info h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
}

.method-icon {
  background-color: rgba(255, 255, 255, 0.1);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: var(--primary-color);
}

.method-details h3 {
  margin-bottom: 0.5rem;
}

.method-details p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.25rem;
}

.map-placeholder {
  height: 200px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
}

.contact-form-container {
  flex: 1;
}

.contact-form {
  background-color: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--text-color);
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(3, 59, 88, 0.1);
}

/* CTA Banner */
.cta-banner {
  padding: 4rem 0;
  background-color: var(--primary-color);
  color: var(--text-white);
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.cta-text h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.cta-text p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding: 2rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 5rem;
  margin-bottom: 3rem;
}

.footer-info h3,
.footer-links h3,
.footer-contact h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-info p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  border-radius: 50%;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--text-white);
}

.footer-contact li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
  margin-right: 1rem;
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

/* Scroll to top button */
.scroll-top-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: var(--primary-color);
  color: var(--text-white);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 9999999999;
  transition: var(--transition);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background-color: var(--primary-light);
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #fff;
  border-radius: var(--radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 350px;
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.toast.visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.toast-content {
  display: flex;
  align-items: center;
}

.toast-content i {
  color: #28a745;
  font-size: 1.5rem;
  margin-right: 1rem;
}

.toast-message {
  display: flex;
  flex-direction: column;
}

.toast-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.toast-description {
  font-size: 0.875rem;
  color: var(--text-light);
}

.toast-close {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Media Queries */
@media (min-width: 576px) {
  .hero h1 {
      font-size: 3rem;
  }
  
  .hero-buttons {
      flex-direction: row;
  }
  
  .form-row {
      flex-direction: row;
  }
  
  .form-row .form-group {
      flex: 1;
  }
}

@media (min-width: 768px) {
  .desktop-nav {
      display: block;
  }
  
  .mobile-menu-btn {
      display: none;
  }
  
  .counters {
      grid-template-columns: repeat(3, 1fr);
  }
  
  .features {
      grid-template-columns: repeat(3, 1fr);
  }
  
  .services-grid {
      grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
      grid-template-columns: repeat(4, 1fr);
  }
  
  .contact-content {
      flex-direction: row;
  }
  
  .carousel-item {
      min-width: 50%;
  }
}

@media (min-width: 992px) {
  .about-content {
      flex-direction: row;
  }
  
  .services-grid {
      grid-template-columns: repeat(3, 1fr);
  }
  
  .carousel-item {
      min-width: 33.333%;
  }
}

@media (min-width: 1200px) {
  .hero h1 {
      font-size: 3.5rem;
  }
}

/* Estilos profesionalizados para la navbar */

/* Header/Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  padding: 1.25rem 0;
}



.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: block;
  transition: var(--transition);
  position: relative;
  z-index: 1001;
}

/* Estilos para el logo */
.logo-img {
  height: 45px;
  width: auto;
  transition: all 0.3s ease;
  height: 85px;
  filter: brightness(0) invert(1);

}

/* Cuando se hace scroll, el logo vuelve a su color original */
.header.scrolled .logo-img {
  height: 85px !important;
}

/* Desktop Navigation */
.desktop-nav {
  display: none;
}

.desktop-nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

.desktop-nav li {
  position: relative;
}

.nav-link {
  color: var(--text-white);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}


.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
  opacity: 0;
}


.nav-link.active {
  color: var(--text-white);
  font-weight: 600;
}



.nav-link.active::after {
  width: 100%;
  opacity: 1;
}

/* Botón de contacto en la navbar */
.nav-cta {
  display: none;
}

.desktop-only {
  display: none;
}

.nav-contact-btn {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-contact-btn i {
  margin-right: 0.5rem;
  font-size: 0.875rem;
}

.nav-contact-btn:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  color: var(--text-white);
}



/* Mobile menu button estilizado */
.mobile-menu-btn {
  background: none;
  border: none;
  width: 30px;
  height: 30px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
  display: block;
}

.menu-icon {
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: var(--text-white);
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  transition: background-color 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: var(--text-white);
  transition: transform 0.3s ease;
}

.menu-icon::before {
  top: -8px;
}

.menu-icon::after {
  bottom: -8px;
}

.mobile-menu-active .menu-icon {
  background-color: transparent;
}

.mobile-menu-active .menu-icon::before {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-active .menu-icon::after {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation mejorada */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--primary-color);
  z-index: 1000;
  overflow-y: auto;
  padding: 2rem 0;
}

.mobile-nav.active {
  display: block;
  animation: fadeIn 0.3s ease forwards;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.mobile-logo .logo-img {
  filter: brightness(0) invert(1);
  height: 35px;
}

.mobile-close-btn {
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.mobile-nav .nav-link {
  display: block;
  color: var(--text-white);
  padding: 1rem 0;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}



.mobile-nav-footer {
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.mobile-contact {
  margin-bottom: 1.5rem;
}

.mobile-contact-item {
  display: flex;
  align-items: center;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.mobile-contact-item i {
  margin-right: 0.75rem;
  width: 20px;
  text-align: center;
}

.mobile-social {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  color: var(--text-white);
}

@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

/* Media queries para responsividad */
@media (max-width: 576px) {
  .logo-img {
      height: 35px;
  }
  

}

@media (min-width: 768px) {
  .desktop-nav {
      display: block;
  }
  
  .desktop-only {
      display: block;
  }
  
  .mobile-menu-btn {
      display: none;
  }
}

@media (min-width: 992px) {
  .nav-cta {
      display: block;
  }
  
  .header-content {
      grid-template-columns: auto 1fr auto;
  }
}

@media (min-width: 1200px) {
  .desktop-nav ul {
      gap: 3rem;
  }
  
  .nav-link {
      font-size: 1rem;
  }
}

/* Estilos modificados para el hero con imagen como elemento */

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  color: var(--text-white);
  overflow: hidden; /* Para evitar que la imagen se desborde */
}

/* Contenedor de la imagen de fondo */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Imagen de fondo */
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Asegura que la imagen cubra todo el espacio sin distorsionarse */
  object-position: center; /* Centra la imagen */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Sombra para mejorar legibilidad */
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); /* Sombra para mejorar legibilidad */
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-white);
  z-index: 3;
}

.scroll-indicator span {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.bounce {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
  }
  40% {
      transform: translateY(-10px);
  }
  60% {
      transform: translateY(-5px);
  }
}

/* Media queries para responsividad */
@media (min-width: 576px) {
  .hero h1 {
      font-size: 3rem;
  }
  
  .hero-buttons {
      flex-direction: row;
  }
}

@media (min-width: 1200px) {
  .hero h1 {
      font-size: 3.5rem;
  }
}

/* Estilos generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Sección de testimonios */
.testimonials-section {
  padding: 5rem 0;
  background: linear-gradient(to bottom, #ffffff, #f8fafc);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Encabezado de sección */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #333;
}


.section-header p {
  font-size: 1.125rem;
  color: #64748b;
  max-width: 36rem;
  margin: 0 auto;
}

/* Contenedor de testimonios */
.testimonials-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonials-wrapper {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Tarjeta de testimonio */
.testimonial-card {
  background-color: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Estrellas de valoración */
.rating {
  display: flex;
  margin-bottom: 1rem;
}

.rating i {
  color: #f59e0b;
  font-size: 1.25rem;
  margin-right: 0.25rem;
}

/* Texto del testimonio */
.testimonial-text {
  font-size: 1.125rem;
  color: #4b5563;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Autor del testimonio */
.testimonial-author {
  display: flex;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: #e2e8f0;
  margin-right: 1rem;
  overflow: hidden;
  position: relative;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.25rem;
}

.author-info p {
  font-size: 0.875rem;
  color: #64748b;
}

/* Navegación */
.testimonials-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}


/* Indicadores de puntos */
.indicator-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background-color: #cbd5e1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  width: 1.5rem;
  border-radius: 0.625rem;
  background-color: #022a40;
}

.dot:hover:not(.active) {
  background-color: #94a3b8;
}

/* Responsive */
@media (min-width: 768px) {
  .testimonials-wrapper {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .testimonials-wrapper {
      grid-template-columns: repeat(3, 1fr);
  }
}

.faq-section {
  padding: 5rem 0;
  background: linear-gradient(to bottom, #ffffff, #f8fafc);
}

.faq-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.category-btn {
  padding: 0.5rem 1.25rem;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-btn:hover {
  background-color: #e2e8f0;
  color: #1e293b;
}

.category-btn.active {
  background-color: #1e293b;
  color: white;
  border-color: #1e293b;
}

/* Contenedor de FAQ */
.faq-container {
  margin-bottom: 3rem;
}


/* Acordeón */
.accordion {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

.accordion-item {
  border-bottom: 1px solid #e2e8f0;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  display: flex;
  align-items: center;
  padding: 1.25rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.accordion-header:hover {
  background-color: #f8fafc;
}

.accordion-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #eff6ff;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.accordion-title {
  flex-grow: 1;
}

.accordion-title h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

.accordion-arrow {
  flex-shrink: 0;
  color: #94a3b8;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.25rem 0 4.75rem;
  background-color: #f8fafc;
}

.accordion-item.active .accordion-content {
  max-height: 1000px;
  padding: 0 1.25rem 1.5rem 4.75rem;
}

.accordion-content p {
  margin-bottom: 1rem;
  color: #475569;
}

.accordion-content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.accordion-content li {
  margin-bottom: 0.5rem;
  color: #475569;
}

.accordion-content strong {
  color: #1e293b;
  font-weight: 600;
}

/* Métodos de pago */
.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #f1f5f9;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: #475569;
}

/* Enlaces */
.link {
  color: #1e293b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.link:hover {
  color: #033b58;
  text-decoration: underline;
}



/* Footer de FAQ */
.faq-footer {
  text-align: center;
  margin-top: 3rem;
}

.contact-cta {
  background-color: #eff6ff;
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(255, 251, 251, 0.05);
}

.contact-cta p {
  font-size: 1.125rem;
  font-weight: 500;
  color: #1e293b;
  margin-bottom: 1rem;
}

.contact-btn {
  display: inline-block;
  background-color: #1e293b;
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.contact-btn:hover {
  background-color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .section-header h2 {
    font-size: 2rem;
  }

  .faq-categories {
    gap: 0.5rem;
  }

  .category-btn {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }

  .accordion-header {
    padding: 1rem;
  }

  .accordion-icon {
    width: 2rem;
    height: 2rem;
    margin-right: 0.75rem;
  }

  .accordion-title h3 {
    font-size: 1rem;
  }

  .accordion-content {
    padding: 0 1rem 0 3.75rem;
  }

  .accordion-item.active .accordion-content {
    padding: 0 1rem 1.25rem 3.75rem;
  }

  .payment-methods {
    flex-direction: column;
    gap: 0.5rem;
  }

  .content-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .helpful {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .section-header h2 {
    font-size: 1.75rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  .faq-categories {
    flex-direction: column;
    align-items: center;
  }

  .category-btn {
    width: 100%;
    max-width: 250px;
  }

  .accordion-icon {
    display: none;
  }

  .accordion-content,
  .accordion-item.active .accordion-content {
    padding-left: 1rem;
  }
}


/* Footer de contenido */
.content-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.helpful {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #64748b;
}

.helpful-btn {
  background: none;
  border: 1px solid #e2e8f0;
  border-radius: 0.25rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.helpful-btn:hover {
  background-color: #f1f5f9;
  color: #1e293b;
}

.helpful-btn.active {
  background-color: #1e293b;
  color: white;
  border-color: #1e293b;
}

/* Búsqueda de FAQ */
.faq-search-container {
  margin-bottom: 2rem;
}

.faq-search {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}

.search-input {
  width: 100%;
  padding: 1rem 1rem 1rem 2.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 1rem;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: #022a40;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}


/* Contenedor principal */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Sección de contacto */
.contact-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--background-white) 0%, var(--background-light) 100%);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z" fill="%232563eb" fill-opacity="0.05" fill-rule="evenodd"/%3E%3C/svg%3E');
  opacity: 0.5;
  z-index: 0;
}

/* Encabezado de sección */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  position: relative;
}

.section-subtitle::before,
.section-subtitle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background-color: var(--primary-color);
}

.section-subtitle::before {
  left: -40px;
}

.section-subtitle::after {
  right: -40px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.section-title .highlight {
  color: var(--primary-color);
  position: relative;
}

.section-title .highlight::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: var(--primary-light);
  opacity: 0.3;
  border-radius: 3px;
}

.section-description {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.125rem;
  color: var(--text-medium);
}

/* Contenedor principal de contacto */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

/* Información de contacto */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background-color: var(--background-white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  height: 100%;
}

.card-header {
  margin-bottom: 1.5rem;
}

.card-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #022a40;
  margin-bottom: 0.5rem;
}

.card-header p {
  color: var(--text-medium);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
}

.method-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background-color: var(--primary-lightest);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.25rem;
  transition: var(--transition);
}

.contact-method:hover .method-icon {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.method-details h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.contact-link {
  display: block;
  color: var(--text-medium);
  text-decoration: none;
  margin-bottom: 0.25rem;
  transition: var(--transition);
}

.contact-link:hover {
  color: var(--primary-color);
}

.method-details p {
  color: var(--text-medium);
  margin-bottom: 0.25rem;
}

.hours {
  font-size: 0.875rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Redes sociales */
.social-media {
  margin-top: 1rem;
}

.social-media h4 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--background-light);
  color: var(--text-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* Mapa */
.map-container {
  position: relative;
  height: 250px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.4));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: var(--transition);
}

.map-container:hover .map-overlay {
  opacity: 0;
  pointer-events: none;
}

.overlay-content {
  text-align: center;
  color: white;
  padding: 1.5rem;
}

.overlay-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.overlay-content p {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-map {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.btn-map:hover {
  background-color: var(--primary-dark);
}

/* Formulario de contacto */
.contact-form-container {
  width: 100%;
}

.form-card {
  background-color: var(--background-white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  height: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.input-with-icon {
  position: relative;
}

.input-with-icon i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  transition: var(--transition);
}

.textarea-icon i {
  top: 1.25rem;
  transform: none;
}

.input-with-icon input,
.input-with-icon select,
.input-with-icon textarea {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-dark);
  background-color: var(--background-white);
  transition: var(--transition);
}

.input-with-icon textarea {
  resize: vertical;
  min-height: 120px;
}

.input-with-icon input:focus,
.input-with-icon select:focus,
.input-with-icon textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.input-with-icon input:focus + i,
.input-with-icon select:focus + i,
.input-with-icon textarea:focus + i {
  color: var(--primary-color);
}

.error-message {
  display: none;
  font-size: 0.75rem;
  color: var(--error-color);
  margin-top: 0.25rem;
}

.error-message.show {
  display: block;
}

/* Checkbox personalizado */
.checkbox-group {
  margin-top: 0.5rem;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.checkbox-container input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: 0.25rem;
  background-color: var(--background-white);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.checkbox-container input[type="checkbox"]:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.checkbox-container input[type="checkbox"]:checked::after {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 0.75rem;
}

.checkbox-container label {
  font-size: 0.875rem;
  color: var(--text-medium);
  cursor: pointer;
}

.link {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.link:hover {
  text-decoration: underline;
}

/* Botón de envío */
.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.submit-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:active {
  transform: translateY(-1px);
}

/* Preguntas rápidas */
.quick-questions {
  margin-top: 4rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.quick-questions h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #022a40;
  margin-bottom: 2rem;
}

.questions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.question-card {
  background-color: var(--background-white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 1.5rem;
  transition: var(--transition);
}

.question-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.question-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--primary-lightest);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.25rem;
}

.question-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.question-card p {
  font-size: 0.875rem;
  color: var(--text-medium);
}

/* Modal de confirmación */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
}

.content {
  background-color: var(--background-white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  width: 100%;
  max-width: 1500px;
  position: relative;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.close-modal:hover {
  color: var(--error-color);
}

.confirmation-message {
  padding: 2.5rem;
  text-align: center;
}

.confirmation-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--success-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.confirmation-message h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.confirmation-message p {
  color: var(--text-medium);
  margin-bottom: 1rem;
}

.reference-number {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.reference-number span {
  font-weight: 600;
  color: var(--text-dark);
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

/* Responsive */
@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .questions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-method {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .method-icon {
    margin-right: 0;
    margin-bottom: 0.75rem;
  }

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .questions-grid {
    grid-template-columns: 1fr;
  }

  .section-subtitle::before,
  .section-subtitle::after {
    display: none;
  }
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0; /* Fija el navbar en la parte superior */
  z-index: 1000; /* Asegura que quede por encima de otros elementos */
  background-color: #2c3e50; /* Fondo sólido para evitar transparencia */
  padding: 15px 0; /* Espaciado */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra sutil para dar profundidad */
  width: 100%; /* Asegura que ocupe todo el ancho */
  transition: background-color 0.3s ease; /* Transición suave para cambios de fondo */
}

/* Navbar cuando el usuario hace scroll */
.navbar.scrolled {
  background-color: #34495e; /* Fondo más oscuro cuando se hace scroll */
}

/* Estilo para los elementos del navbar */
.navbar ul {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #3498db; /* Color de hover para enlaces */
}

/* Cambiar el fondo cuando se hace scroll */
.navbar.scrolled {
  background-color: #34495e; /* Fondo más oscuro cuando el navbar está fijo */
}

@media (max-width: 768px) {
  .navbar ul {
      flex-direction: column;
      align-items: center;
  }

  .navbar a {
      font-size: 16px;
  }
}

/* Estilos para la barra de navegación */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  background-color: #022a40; /* Color sólido al hacer scroll */
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1);
  height: 126px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

/* Estilos del logo */
.logo {
  display: block;
  z-index: 1001;
  height: 85px;
}

.logo-img {
  height: 85px;
  width: auto;
  transition: all 0.3s ease;
  filter: brightness(0) invert(1); /* Hace el logo blanco */
}

.header.scrolled .logo-img {
  height: 30px;
}

/* Navegación desktop */
.desktop-nav {
  display: none;
}

.desktop-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: #ffffff;
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.5rem 0;
  position: relative;
  transition: all 0.3s ease;
  text-decoration: none;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Botón de contacto en la navbar */
.nav-contact-btn {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.nav-contact-btn i {
  margin-right: 0.5rem;
  font-size: 0.875rem;
}

.nav-contact-btn:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  color: #ffffff;
}

.desktop-only {
  display: none;
}

/* Botón de menú móvil */
.mobile-menu-btn {
  background: none;
  border: none;
  width: 30px;
  height: 30px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
}

.menu-icon {
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: #ffffff;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  transition: background-color 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: #ffffff;
  transition: transform 0.3s ease;
}

.menu-icon::before {
  top: -8px;
}

.menu-icon::after {
  bottom: -8px;
}

.mobile-menu-active .menu-icon {
  background-color: transparent;
}

.mobile-menu-active .menu-icon::before {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-active .menu-icon::after {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Navegación móvil */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #022a40;
  z-index: 1000;
  overflow-y: auto;
  padding: 2rem 0;
}

.mobile-nav.active {
  display: block;
  animation: fadeIn 0.3s ease forwards;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.mobile-logo .logo-img {
  height: 50px;
}

.mobile-close-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.mobile-nav .nav-link {
  display: block;
  color: #ffffff;
  padding: 1rem 0;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-footer {
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.mobile-contact {
  margin-bottom: 1.5rem;
}

.mobile-contact-item {
  display: flex;
  align-items: center;
  color: #ffffff;
  margin-bottom: 1rem;
  text-decoration: none;
}

.mobile-contact-item i {
  margin-right: 0.75rem;
  width: 20px;
  text-align: center;
}

.mobile-social {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Media queries */
@media (min-width: 768px) {
  .desktop-nav {
    display: block;
  }

  .desktop-only {
    display: block;
  }

  .mobile-menu-btn {
    display: none;
  }
}

@media (min-width: 992px) {
  .nav-cta {
    display: block;
  }
}

@media (max-width: 767px) {
  .header-content {
    padding: 10px 0;
  }

  .logo-img {
    height: 90px;
  }

  .header.scrolled .logo-img {
    height: 15px;

  }
}

/* Estilos generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9fafb;
}

/* Sección de productos */
.productos-section {
  padding: 0rem 0;
  background: linear-gradient(to bottom, #ffffff, #f8fafc);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Encabezado de sección */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1e293b;
}

.section-header .highlight {
  color: #022a40;
  position: relative;
}

.section-header .highlight::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #022a40;
  border-radius: 2px;
}

.section-header p {
  font-size: 1.125rem;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto;
}

/* Tabs */
.tabs-container {
  margin-bottom: 2rem;
}

.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.tab-btn {
  padding: 0.75rem 2rem;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #64748b;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:first-child {
  border-radius: 0.5rem 0 0 0.5rem;
}

.tab-btn:last-child {
  border-radius: 0 0.5rem 0.5rem 0;
}

.tab-btn.active {
  background-color: #022a40;
  color: white;
  border-color: #022a40;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Grid de productos */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Tarjeta de producto */
.product-card {
  background-color: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
}

.product-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background-color: #022a40;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-header {
  padding: 1.25rem 1.25rem 0.75rem;
}

.product-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1e293b;
}

.product-header p {
  color: #64748b;
  font-size: 0.875rem;
}

.product-features {
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  flex-grow: 1;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.feature-icon {
  color: #022a40;
  font-size: 0.875rem;
  margin-top: 0.125rem;
}

.feature-text span {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
}

.feature-text p {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1e293b;
}

.product-footer {
  padding: 1.25rem;
  border-top: 1px solid #f1f5f9;
  margin-top: 1rem;
}

.btn-details {
  width: 100%;
  padding: 0.75rem;
  background-color: white;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  color: #1e293b;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-details:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
}

/* Caja de información adicional */
.info-box {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-top: 2rem;
}

.info-box h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1e293b;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.info-grid h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #022a40;
  margin-bottom: 0.5rem;
}

.info-grid p {
  color: #64748b;
  margin-bottom: 1rem;
}

.info-grid ul {
  list-style-type: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.info-grid ul li {
  color: #64748b;
  margin-bottom: 0.25rem;
}

/* CTA */
.cta-container {
  text-align: center;
  margin-top: 3rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #022a40;
  color: white;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
}

.cta-container p {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 2rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .tabs {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 2rem;
  }

  .tab-btn {
    border-radius: 0;
  }

  .tab-btn:first-child {
    border-radius: 0.5rem 0.5rem 0 0;
  }

  .tab-btn:last-child {
    border-radius: 0 0 0.5rem 0.5rem;
  }

  .product-features {
    grid-template-columns: 1fr;
  }
}

/* Estilos generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9fafb;
}

/* Sección de productos */
.productos-section {
  padding: 2rem 0;
  background: linear-gradient(to bottom, #ffffff, #f8fafc);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Encabezado de sección */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1e293b;
}

.section-header .highlight {
  color: #022a40;
  position: relative;
}

.section-header .highlight::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #022a40;
  border-radius: 2px;
}

.section-header p {
  font-size: 1.125rem;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto;
}

/* Tabs */
.tabs-container {
  margin-bottom: 2rem;
}

.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.tab-btn {
  padding: 0.75rem 2rem;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #64748b;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:first-child {
  border-radius: 0.5rem 0 0 0.5rem;
}

.tab-btn:last-child {
  border-radius: 0 0.5rem 0.5rem 0;
}

.tab-btn.active {
  background-color: #022a40;
  color: white;
  border-color: #022a40;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Carrusel de productos */
.carousel-container {
  position: relative;
  margin-bottom: 1.5rem;
  padding: 0 3rem;
}

.carousel-wrapper {
  overflow: hidden;
  position: relative;
}

.products-row {
  display: flex;
  transition: transform 0.5s ease;
}

.product-card {
  flex: 0 0 calc(50% - 1rem);
  margin-right: 1rem;
  background-color: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  background-color: white;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.carousel-arrow:hover {
  background-color: #022a40;
  color: white;
  border-color: #022a40;
}

.prev-arrow {
  left: 0;
}

.next-arrow {
  right: 0;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.indicator {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: #e2e8f0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background-color: #022a40;
  transform: scale(1.2);
}

/* Tarjeta de producto */
.product-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background-color: #022a40;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-header {
  padding: 1.25rem 1.25rem 0.75rem;
}

.product-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1e293b;
}

.product-header p {
  color: #64748b;
  font-size: 0.875rem;
}

.product-features {
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  flex-grow: 1;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.feature-icon {
  color: #022a40;
  font-size: 0.875rem;
  margin-top: 0.125rem;
}

.feature-text span {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
}

.feature-text p {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1e293b;
}

.product-footer {
  padding: 1.25rem;
  border-top: 1px solid #f1f5f9;
  margin-top: 1rem;
}

.btn-details {
  width: 100%;
  padding: 0.75rem;
  background-color: white;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  color: #1e293b;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-details:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
}

/* Caja de información adicional */
.info-box {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-top: 2rem;
}

.info-box h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1e293b;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.info-grid h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #022a40;
  margin-bottom: 0.5rem;
}

.info-grid p {
  color: #64748b;
  margin-bottom: 1rem;
}

.info-grid ul {
  list-style-type: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.info-grid ul li {
  color: #64748b;
  margin-bottom: 0.25rem;
}

/* CTA */
.cta-container {
  text-align: center;
  margin-top: 3rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #022a40;
  color: white;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
}

.cta-container p {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 992px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 2rem;
  }

  .product-card {
    flex: 0 0 100%;
  }

  .carousel-container {
    padding: 0 2.5rem;
  }
}

@media (max-width: 576px) {
  .tabs {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 2rem;
  }

  .tab-btn {
    border-radius: 0;
  }

  .tab-btn:first-child {
    border-radius: 0.5rem 0.5rem 0 0;
  }

  .tab-btn:last-child {
    border-radius: 0 0 0.5rem 0.5rem;
  }

  .product-features {
    grid-template-columns: 1fr;
  }

  .carousel-container {
    padding: 0 2rem;
  }

  .carousel-arrow {
    width: 2rem;
    height: 2rem;
  }
}

.features {
  display: grid;
  grid-template-columns: repeat(1, 1fr);  /* Una sola columna en pantallas pequeñas */
  gap: 2rem;
  margin-top: 6rem;
}

.feature {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
}

@media (min-width: 576px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Usas "features" y "feature" para el grid */
.features {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin-top: 6rem;
}

@media (min-width: 768px) {
  /* a partir de 768px, se ven 3 en una fila */
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  /* estilos para cada tarjeta */
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr); /* Tres columnas a partir de 768px */
  }
}

.service-card {
  background-color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  text-align: center;
}

.details-collapsible {
  display: none; /* Inicialmente oculto */
  margin: 1rem 0;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 8px;
}

.carousel-container {
  position: relative;
  width: 100%;
  margin: 2rem auto;
  overflow: hidden; /* Oculta la parte fuera de la vista */
}

/* Flechas */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  z-index: 10;
}
.prev-arrow {
  left: 1rem;
}
.next-arrow {
  right: 1rem;
}
.carousel-arrow:hover {
  background-color: #eee;
}

/* El “track” que se desplaza con transform */
.carousel-track-container {
  width: 100%;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

/* Cada tarjeta (product) ocupa 50% del contenedor para mostrar 2 */
.product-card {
  width: 50%;
  box-sizing: border-box;
  padding: 1rem;
  text-align: center;
}
.product-card img {
  max-width: 100%;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}
.btn-details {
  background-color: #033b58;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  cursor: pointer;
}
.btn-details:hover {
  background-color: #0a4e70;
}

/* ----- Modal ----- */
.modal {
  display: none; /* Oculto por defecto */
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.close-btn {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; 
}

/* Modal (oculto por defecto) */
.modal {
  display: none;             /* Oculto inicialmente */
  position: fixed;           /* Posición fija sobre toda la pantalla */
  z-index: 999;              /* Encima de otros elementos */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);  /* Fondo semitransparente */
}



/* Botón de cierre del modal */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
}

/* Estilos para el modal mejorado */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


@keyframes slideIn {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 1px solid #eaeaea;
  background-color: #f8f9fa;
}

.modal-header h2 {
  margin: 0;
  color: #333;
  font-size: 1.8rem;
  font-weight: 600;
}

.close-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: color 0.2s;
  border-radius: 50%;
}

.close-btn:hover {
  color: #333;
  background-color: rgba(0, 0, 0, 0.05);
}

.modal-body {
  padding: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.product-image-container {
  flex: 1;
  min-width: 300px;
}

.product-detail-image {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.product-specs {
  flex: 1;
  min-width: 300px;
}

.product-specs h3 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #333;
  font-size: 1.4rem;
  font-weight: 500;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

.specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.specs-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.specs-list li:last-child {
  border-bottom: none;
}

.spec-icon {
  margin-right: 15px;
  color: #4a6cf7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spec-content {
  flex: 1;
}

.spec-label {
  display: block;
  font-weight: 600;
  color: #555;
  margin-bottom: 4px;
}

.spec-value {
  color: #333;
  font-size: 1.05rem;
}

.modal-footer {
  padding: 20px 30px 30px;
  background-color: #f8f9fa;
  border-top: 1px solid #eaeaea;
}

.product-benefits h4 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #333;
  font-size: 1.2rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.benefit-item svg {
  color: #4a6cf7;
  flex-shrink: 0;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 20px;
}

.btn-primary, .btn-secondary {
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background-color: #4a6cf7;
  color: white;
}

.btn-primary:hover {
  background-color: #3a5ce5;
}

.btn-secondary {
  background-color: #e9ecef;
  color: #495057;
}

.btn-secondary:hover {
  background-color: #dee2e6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 10% auto;
  }
  
  .modal-header {
    padding: 15px 20px;
  }
  
  .modal-header h2 {
    font-size: 1.5rem;
  }
  
  .modal-body {
    padding: 20px;
    flex-direction: column;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .modal-content {
    margin: 5% auto;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-actions {
    flex-direction: column;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
  }
}

/* Ajusta estilos generales a tu gusto */
.projects {
  padding: 4rem 0;
}

.carousel-container {
  position: relative;
  max-width: 1200px;  /* Ancho máximo del carrusel */
  margin: 0 auto;     /* Centra el contenedor en la página */
  overflow: hidden;   /* Oculta desbordes horizontales */
}

/* La “pista” del carrusel */
.carousel {
  display: flex;              /* Muestra items en fila */
  transition: transform 0.5s ease;
}

/* Cada slide (item) ocupa 100% del ancho, mostrando 1 a la vez */
.carousel-item {
  min-width: 100%;            /* Ocupa todo el contenedor */
  box-sizing: border-box;
  display: flex;              /* Para centrar el contenido */
  justify-content: center;    /* Centrar horizontal */
  padding: 1rem;
}

/* La tarjeta del proyecto */
.project-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  max-width: 350px;           /* Ajusta el ancho de la tarjeta */
  width: 100%;
  text-align: center;
  overflow: hidden;
}

.project-image {
  position: relative;
}
.project-image img {
  width: 100%;
  height: auto;
  display: block;
}
.project-category {
  position: absolute;
  top: 1rem; right: 1rem;
  background-color: #033b58;
  color: #fff;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  font-size: 0.85rem;
}

.project-content {
  padding: 1rem;
}

/* Flechas */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.prev-btn {
  left: 1rem;
}
.next-btn {
  right: 1rem;
}

.carousel-btn:hover {
  background-color: #eee;
}

.projects {
  padding: 4rem 0;
}

.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease;
}

/* Cada item ocupará el 50% del ancho para mostrar 2 en pantalla */
.carousel-item {
  min-width: 50%;
  box-sizing: border-box;
  padding: 1rem;
  display: flex;
  justify-content: center;
}

/* Estilos para la tarjeta del proyecto */
.project-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  max-width: 420px;
  width: 100%;
  text-align: center;
  overflow: hidden;
}

.project-image {
  position: relative;
}
.project-image img {
  width: 100%;
  height: auto;
  display: block;
}
.project-category {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: #033b58;
  color: #fff;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  font-size: 0.85rem;
}

.project-content {
  padding: 1rem;
}

/* Botones de flecha */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.prev-btn {
  left: 1rem;
}
.next-btn {
  right: 1rem;
}

.carousel-btn:hover {
  background-color: #eee;
}

/* Botón "Más información" */
.btn-more-info {
  background-color: #033b58;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.btn-more-info:hover {
  background-color: #0a4e70;
}

/* Sección desplegable */
.more-info {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  margin-top: 1rem;
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0 1rem;
}

/* Cuando está activo, se expande */
.more-info.active {
  max-height: 500px; /* Ajusta este valor según la cantidad de contenido */
  padding: 1rem;
}

/* Estilos para las fotos adicionales */
.more-photos {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.more-photos img {
  width: calc(33.33% - 0.5rem);
  border-radius: 4px;
  object-fit: cover;
}

.projects .section-header {
  text-align: center;
  margin-bottom: 2rem;
}

/* ===== Carrusel ===== */
.carousel-container {
  position: relative;
  overflow: hidden; /* Para que no se vea parte del siguiente item */
  max-width: 1200px;
  margin: 0 auto;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  /* Espacio entre items si deseas */
  /* gap: 1rem; */
}

.carousel-item {
  /* Para que cada item ocupe el 100% del ancho del contenedor */
  min-width: 100%;
  flex-shrink: 0;
  padding: 1rem;
}

/* ===== Botones de flecha ===== */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  padding: 0.5rem 0.75rem;
  opacity: 0.8;
  transition: opacity 0.3s;
  z-index: 10;
}
.carousel-btn:hover {
  opacity: 1;
}
.prev-btn {
  left: 10px;
}
.next-btn {
  right: 10px;
}

/* ===== Tarjetas de Proyecto ===== */
.project-card {
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.project-image {
  position: relative;
}
.project-image img {
  width: 100%;
  display: block;
  max-width: 1200px;
}
.project-category {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #022a40;
  color: #fff;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
}
.project-content {
  padding: 1rem;
}
.project-footer {
  padding: 0 1rem 1rem 1rem;
}
.btn-more-info {
  background-color: #0a4e70;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 4px;
}
.btn-more-info:hover {
  background-color: #2980b9;
}

/* ===== Modal ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: none; /* Se muestra con JS */
  z-index: 999;
}
.modal {
  position: fixed;
  top: 52%;
  left: 50%;
  width: 80%;
  max-width: 1000px;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 4px;
  padding: 1rem;
  display: none; /* Se muestra con JS */
  z-index: 1000;
}
.modal-close {
  background: transparent;
  border: none;
  font-size: 2rem;
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  cursor: pointer;
}
.modal-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}
.modal-photos img {
  width: 30%;
  flex: 1 1 auto;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* ===== Responsividad ===== */
@media (max-width: 768px) {
  .modal-photos img {
    width: 100%;
  }
}

/* ===== Carrusel ===== */
.carousel-container {
  position: relative;
  overflow: hidden; /* Oculta el contenido fuera de la vista */
  max-width: 1200px;
  margin: 0 auto;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  /* Cada proyecto ocupa el 50% para mostrar 2 por página */
  min-width: 50%;
  flex-shrink: 0;
  padding: 1rem;
}

/* ===== Botones de flecha ===== */
.carousel-btn {
  position: absolute;
  top: 51%;
  transform: translateY(-50%);
  background-color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  padding: 0.75rem 0.75rem;
  opacity: 0.8;
  transition: opacity 0.3s;
  z-index: 10;
}
.carousel-btn:hover {
  opacity: 1;
}
.prev-btn {
  left: 10px;
}
.next-btn {
  right: 10px;
}

/* (El resto de estilos siguen igual) */

/* Contenedor del carrusel */
.carousel-container {
  position: relative;
  overflow: hidden; /* Oculta cualquier contenido que sobresalga */
  max-width: 1200px; /* Ajusta según tu diseño */
  margin: 0 auto;
}

/* El carrusel en sí: un contenedor flex horizontal */
.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  /* Si pones gap aquí, podrías ver parte del siguiente slide.
     Para espaciar las tarjetas, usa margin/padding dentro de .project-card */
  gap: 0; 
}

/* Cada item ocupa el 50% del ancho del contenedor para mostrar 2 items */
.carousel-item {
  flex: 0 0 50%;      /* Equivalente a width: 50% con flexbox */
  box-sizing: border-box; 
  /* Evita usar padding horizontal aquí si no ajustas el 50% */
  /* padding: 1rem; <-- esto puede empujar el contenido y hacer que se vea el siguiente item */
}

/* Botones de flecha */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  padding: 0.5rem 0.75rem;
  opacity: 0.8;
  transition: opacity 0.3s;
  z-index: 10;
}
.carousel-btn:hover {
  opacity: 1;
}
.prev-btn {
  left: 10px;
}
.next-btn {
  right: 10px;
}

/* Opcional: estilo de la tarjeta con margen interno para separar contenido */
.project-card {
  margin: 1rem; /* Espaciado entre tarjetas sin alterar el ancho del item */
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}
/* ... resto de tus estilos para .project-card, .project-image, etc. */

.carousel-container {
  position: relative;
  overflow: hidden; /* para que no se vea nada que se desborde */
  max-width: 1200px; /* ajusta a tu gusto */
  margin: 0 auto;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  /* Evita usar gap si no quieres que se vea un pedazo del siguiente ítem */
  gap: 0;
}

/* Cada ítem ocupa 50% del ancho del contenedor para que se vean 2 a la vez */
.carousel-item {
  flex: 0 0 50%; 
  box-sizing: border-box;
  /* Si pones padding horizontal, ojo con el ancho real que sumas.
     Mejor usa margin interno en .project-card si necesitas espacio. */
}

/* Botones de flecha */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  padding: 0.5rem;
  z-index: 10;
  opacity: 0.8;
}
.carousel-btn:hover {
  opacity: 1;
}
.prev-btn {
  left: 10px;
}
.next-btn {
  right: 10px;
}

/* Ejemplo de tarjeta */
.project-card {
  margin: 1rem; /* margen interno para que no haya padding en .carousel-item */
  background: #f9f9f9;
  border: 1px solid #ccc;
  /* etc. */
}

  /* ----- Ajuste en móviles: 1 ítem por pantalla ----- */
  @media (max-width: 900px) {
    .carousel-item {
      flex: 0 0 100%;
    }
  }

  .testimonials-compact {
    padding: 3rem 1rem; 
    /* Ajusta el padding para ocupar menos espacio */
  }
  
  .testimonials-compact .container {
    max-width: 900px; 
    margin: 0 auto;
  }
  
  .testimonials-compact .section-header {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .testimonials-compact .section-header h2 {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }
  
  .testimonials-compact .section-header .subheader {
    color: #666;
    font-size: 1rem;
    max-width: 600px; 
    margin: 0 auto;
    line-height: 1.5;
  }
  
  .testimonials-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .testimonials-wrapper {
    /* Ajusta el ancho máximo de la zona de testimonios para no ocupar todo el espacio */
    max-width: 1250px; 
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem; 
  }
  
  /* Estilos para cada tarjeta de testimonio */
  .testimonial-card {
    background: #fff;
    border-radius: 8px;
    margin: 0 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-width: 300px;
    max-width: 300px;
  }
  
  /* Adaptación de la navegación */
  .testimonials-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }
  
  .nav-button {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
  }
  
  .nav-button i {
    pointer-events: none;
  }
  
  .indicator-dots {
    display: flex;
    gap: 0.5rem;
  }
  
  .indicator-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
  }
  
  .indicator-dots .dot.active {
    background: #333;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* Estilos de la sección de testimonios */
  #testimonios {
    padding: 40px 0;
    background-color: #fff;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 24px;
  }
  
  .section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 4px;
  }
  
  .highlight {
    color: #033b58; /* Color primario */
  }
  
  .subheader {
    color: #6b7280;
    font-size: 0.95rem;
  }
  
  /* Contenedor de testimonios */
  .testimonials-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .testimonials-wrapper {
    overflow: hidden;
  }
  
  .testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  
  .testimonial-item {
    flex: 0 0 100%;
    padding: 0 15px;
  }
  
  .testimonial-card {
    background-color: rgba(243, 244, 246, 0.5);
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  
  .testimonial-content {
    font-style: italic;
    color: #6b7280;
    margin-bottom: 16px;
  }
  
  .testimonial-author {
    display: flex;
    align-items: center;
  }
  
  .author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
  }
  
  .author-info h4 {
    font-weight: 500;
    font-size: 1rem;
  }
  
  .author-position {
    font-size: 0.875rem;
    color: #6b7280;
  }
  
  /* Navegación */
  .testimonials-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    gap: 8px;
  }
  
  .nav-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(107, 114, 128, 0.2);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.2s;
  }
  
  .nav-button:hover {
    background-color: #f3f4f6;
  }
  
  .nav-button i {
    font-size: 0.75rem;
  }
  
  .indicator-dots {
    display: flex;
    gap: 4px;
  }
  
  .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(107, 114, 128, 0.3);
    cursor: pointer;
    transition: background-color 0.2s;
  }
  
  .dot.active {
    background-color: #022a40; /* Color primario */
  }

  /**************************************
  Sección de testimonios
**************************************/
.testimonials-section {
  padding: 4rem 1rem;
  text-align: center;
}

/* Encabezado */
.section-header {
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 1rem;
  color: #6c757d;
}

/**************************************
  Contenedor principal
**************************************/
.testimonials-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* Donde se inyectan las .testimonial-item */
.testimonials-wrapper {
  display: flex;           /* Para el carrusel horizontal */
  transition: transform 0.5s ease; 
  overflow: hidden;        /* Oculta lo que queda fuera del ancho visible */
  width: 100%;
}

/* Cada testimonio ocupa todo el ancho (para deslizar uno por uno) */
.testimonial-item {
  min-width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

/**************************************
  Tarjeta de cada testimonio
**************************************/
.testimonial-card {
  background-color: #f8f9fc; /* Un tono muy claro */
  border-radius: 8px;
  padding: 2rem;
  max-width: 800px;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: left;         /* Para alinear el contenido a la izquierda */
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Texto principal del testimonio */
.testimonial-content {
  font-size: 1.1rem;
  font-style: italic;
  color: #555;
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* Contenedor del autor */
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.author-position {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}

/**************************************
  Navegación (Flechas & Dots)
**************************************/
.testimonials-navigation {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.nav-button {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  color: #333;
  transition: color 0.3s ease;
}

.nav-button:hover {
  color: #666;
}

.indicator-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}

.indicator-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s ease;
}

.indicator-dots .dot.active,
.indicator-dots .dot:hover {
  background: #6c63ff; /* tu color principal */
}

/* Contenedor principal de los testimonios */
.testimonials-wrapper {
  display: flex;               /* Para colocar los testimonios en fila */
  flex-wrap: nowrap;           /* Evita que se vayan a la siguiente línea */
  overflow: hidden;            /* Oculta los que no quepan en el ancho visible */
  width: 100%;
  transition: transform 0.5s ease-in-out; /* Para el efecto de desplazamiento */
}

/* Cada testimonio ocupa todo el ancho del contenedor */
.testimonial-item {
  flex: 0 0 100%;   /* Ocupa el 100% del ancho del contenedor padre */
  box-sizing: border-box;
  display: flex;    /* Puedes ajustar según tu diseño interno */
  justify-content: center;
}

/* Tarjeta interna */
.testimonial-card {
  background-color: #f8f9fc;
  border-radius: 8px;
  max-width: 800px; /* Ajusta a tu gusto */
  width: 100%;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Texto del testimonio */
.testimonial-content {
  font-size: 1.1rem;
  font-style: italic;
  color: #555;
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* Asegura que el wrapper muestre solo una tarjeta en vista */
.testimonials-wrapper {
  display: flex;
  overflow: hidden;
  width: 100%;
  transition: transform 0.5s ease;
}

/* Cada item ocupará el 100% del ancho del wrapper */
.testimonial-item {
  flex: 0 0 100% !important;
  width: 100%;
  box-sizing: border-box; /* Evita que padding/margin incrementen el ancho */
  margin: 0; /* Elimina márgenes que puedan causar problemas */
}

/* Contenedor principal del carrusel */
.testimonials-wrapper {
  display: flex;
  overflow: hidden;               /* Oculta lo que no esté en la vista */
  width: 1250px;
  transition: transform 0.5s ease; /* Animación suave al deslizar */
  height: 270px;
}

/* Cada testimonio ocupa el 100% del ancho */
.testimonial-item {
  flex: 0 0 100% !important;
  width: 1200px !important;
  box-sizing: border-box;
  margin: 0;
  padding: 5px;
}

/* Estilo de la tarjeta del testimonio */
.testimonial-card {
  background-color: #f8f9fc;
  border-radius: 8px;
  padding: 0rem;
  max-width: 1200px !important;
  width: 1200px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: left;
}

/* Contenido del testimonio */
.testimonial-content {
  font-size: 1.1rem;
  font-style: italic;
  color: #555;
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* Información del autor */
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.author-position {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}

/* Navegación (flechas e indicadores) */
.testimonials-navigation {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.nav-button {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  color: #333;
  transition: color 0.3s ease;
}

.nav-button:hover {
  color: #666;
}

.indicator-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}

.indicator-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s ease;
}

.indicator-dots .dot.active,
.indicator-dots .dot:hover {
  background: #6c63ff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Estilos de la sección de testimonios */
#testimonios {
  padding: 40px 0;
  background-color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.highlight {
  color: #022a40; /* Color primario */
}

.subheader {
  color: #6b7280;
  font-size: 0.95rem;
}

/* Contenedor de testimonios */
.testimonials-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonials-wrapper {
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}




.testimonial-content {
  font-style: italic;
  color: #6b7280;
  margin-bottom: 5px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 12px;
  object-fit: cover;
}

.author-info h4 {
  font-weight: 500;
  font-size: 1rem;
}

.author-position {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Navegación */
.testimonials-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  gap: 8px;
}

.nav-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(107, 114, 128, 0.2);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s;
}

.nav-button:hover {
  background-color: #f3f4f6;
}

.nav-button i {
  font-size: 0.75rem;
}

.indicator-dots {
  display: flex;
  gap: 4px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(107, 114, 128, 0.3);
  cursor: pointer;
  transition: background-color 0.2s;
}

.dot.active {
  background-color: #022a40; /* Color primario */
}

/* Asegúrate de que el contenedor de los items de FAQ use grid */
#faqAccordion {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Dos columnas iguales */
  gap: 20px; /* Espacio entre los items, ajústalo a tu gusto */
}

/* Opcional: en dispositivos móviles, muestra una sola columna */
@media (max-width: 768px) {
  #faqAccordion {
    grid-template-columns: 1fr;
  }
}

.faq-categories {
  display: grid;
  gap: 10px; /* Espacio entre botones */
  
  /* Por defecto (móvil) 2 columnas */
  grid-template-columns: repeat(2, 1fr);
}

/* Si quieres cambiar el número de columnas en pantallas más grandes */
@media (min-width: 768px) {
  .faq-categories {
    grid-template-columns: repeat(5, auto);
  }
}

.accordion-content {
  max-height: 0;            /* Altura 0 cuando está cerrado */
  overflow: hidden;         /* Oculta contenido que excede la altura */
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 500px;        /* Una altura suficiente para el contenido */
  /* Ajusta según la altura que esperes, o usa JS para calcular la altura exacta */
}

.container {
  max-width: 1400px; /* en lugar de 1200px */
  margin: 0 auto;
  padding: 0 15px;
}

.faq-container .accordion {
  display: flex;
  flex-wrap: wrap; /* Para que los ítems puedan “bajar” a la siguiente fila */
  gap: 2rem;       /* Separación entre ítems */
}

.modal2 {
  position: fixed;
  top: 52%;
  left: 50%;
  width: 80%;
  max-width: 1000px;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 4px;
  padding: 1rem;
  display: none; /* Se muestra con JS */
  z-index: 1000;
  height: 321px;
}

.modal-overlay2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: none; /* Se muestra con JS */
  z-index: 999;
}

.modal-close2 {
  background: transparent;
  border: none;
  font-size: 2rem;
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  cursor: pointer;
}

.modal-photos2 {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Ajusta según tu estructura, pero lo básico es: */
.modal2 {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
  background-color: #fff;
  padding: 20px;
  max-width: 80%;
  max-height: 80%;
  overflow-y: auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.modal-overlay2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 998;
}

.modal-close2 {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.modal-photos2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px; /* espacio entre imágenes */
  margin-top: 20px;
}

.modal-photos2 img {
  max-width: 1200px;
  height: 220px;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Ocultar ambas secciones de información por defecto */
#infoCarpas, #infoPisos {
  display: none;
}

/* Contenedor del carrusel */
.image-carousel {
  position: relative;
  width: 100%;
  height: 300px; /* Ajusta según el tamaño que desees */
  overflow: hidden;
}

.carousel-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-image.active {
  opacity: 1;
}

/* Estilo base para el contenedor de las imágenes */
.image-carousel {
  position: relative;
  width: 100%;
  height: 300px; /* Ajusta el tamaño del carrusel */
  overflow: hidden;
  border-radius: 8px; /* Para bordes redondeados */
}

.carousel-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-image.active {
  opacity: 1;
}

/* Estilo para el contenedor de proyectos */
.project-card {
  margin-bottom: 20px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.project-content {
  padding: 15px;
}

.project-category {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 14px;
  padding: 5px 10px;
  position: absolute;
  bottom: 10px;
  left: 10px;
  border-radius: 4px;
}

.project-content h3 {
  font-size: 18px;
  margin: 10px 0;
}

.project-content p {
  font-size: 14px;
  color: #555;
}

/* Asegura que la galería sea responsiva */
@media (max-width: 768px) {
  .project-card {
    margin: 15px 0;
  }

  .image-carousel {
    height: 200px; /* Ajusta para pantallas más pequeñas */
  }

  .project-content h3 {
    font-size: 16px;
  }

  .project-content p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .image-carousel {
    height: 150px; /* Ajusta para pantallas muy pequeñas */
  }

  .project-content h3 {
    font-size: 14px;
  }

  .project-content p {
    font-size: 11px;
  }
}

/* Estilo base para el contenedor de las imágenes */
.image-carousel {
  position: relative;
  width: 100%;
  height: 300px; /* Ajusta el tamaño del carrusel */
  overflow: hidden;
  border-radius: 8px; /* Para bordes redondeados */
}

.carousel-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-image.active {
  opacity: 1;
}

/* Estilo para el contenedor de proyectos */
.project-card {
  margin-bottom: 20px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.project-content {
  padding: 15px;
}

.project-category {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 14px;
  padding: 5px 10px;
  position: absolute;
  bottom: 10px;
  left: 10px;
  border-radius: 4px;
}

.project-content h3 {
  font-size: 18px;
  margin: 10px 0;
}

.project-content p {
  font-size: 14px;
  color: #555;
}

/* Asegura que la galería sea responsiva */
@media (max-width: 768px) {
  .project-card {
    margin: 15px 0;
  }

  .image-carousel {
    height: 200px; /* Ajusta para pantallas más pequeñas */
  }

  .project-content h3 {
    font-size: 16px;
  }

  .project-content p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .image-carousel {
    height: 150px; /* Ajusta para pantallas muy pequeñas */
  }

  .project-content h3 {
    font-size: 14px;
  }

  .project-content p {
    font-size: 11px;
  }
}

.projects-carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.projects-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-item {
  width: 100%;
  display: block;
  transition: opacity 0.5s ease;
}

.carousel-item.active {
  display: block;
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.project-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.image-carousel {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.image-carousel-inner {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.carousel-image {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  object-fit: cover;
}

.project-category {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: rgba(230, 57, 70, 0.9);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
  height: 32px;
  width: 149px;
}

.project-content {
  padding: 25px;
}

.project-content h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.project-content p {
  color: #666;
  margin-bottom: 0;
  line-height: 1.6;
}

.carousel-control {
  background-color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: absolute;
  z-index: 5;
  transition: all 0.3s ease;
}

.carousel-control:hover {
  background-color: #f8f8f8;
  transform: scale(1.05);
}

.prev-btn {
  left: -20px;
}

.next-btn {
  right: -20px;
}

.projects-indicators {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 10px;
}

.project-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.project-indicator.active {
  background-color: #e63946;
  transform: scale(1.2);
}

.image-indicators {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background-color: white;
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .projects-carousel-wrapper {
    padding: 0 30px;
  }
  
  .project-image {
    height: 220px;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
}

.projects-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #1a3b5d;
}

.section-header .highlight {
  color: #0a4e70;
  position: relative;
}

.section-header .highlight:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #1a3b5d;
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
  color: #555;
}

.projects-carousel-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.projects-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
}



.project-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .main-image {
  transform: scale(1.05);
}

.project-category {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #1a3b5d;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
  height: 32px;
  width: 149px;
}

.project-content {
  padding: 25px;
}

.project-content h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.5rem;
  color: #1a3b5d;
}

.project-content p {
  color: #666;
  margin-bottom: 0;
  line-height: 1.6;
}

.carousel-control {
  background-color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: absolute;
  z-index: 5;
  transition: all 0.3s ease;
}

.carousel-control:hover {
  background-color: #f8f8f8;
  transform: scale(1.05);
}

.prev-btn {
  left: -20px;
}

.next-btn {
  right: -20px;
}

.projects-indicators {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 10px;
}

.project-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.project-indicator.active {
  background-color:#2980b9;
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .projects-carousel-wrapper {
    padding: 0 30px;
  }
  
  .project-image {
    height: 200px;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .carousel-control {
    width: 35px;
    height: 35px;
  }
  
  .prev-btn {
    left: -10px;
  }
  
  .next-btn {
    right: -10px;
  }
}

.projects-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}



.section-header p {
  max-width: 700px;
  margin: 0 auto;
  color: #555;
}

.projects-carousel-wrapper {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.projects-row {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 20px;
  padding: 10px 5px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.projects-row::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.project-card {
  flex: 0 0 300px;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .main-image {
  transform: scale(1.05);
}


.project-content {
  padding: 20px;
}

.project-content h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.3rem;
  color: #1a3b5d;
}

.project-content p {
  color: #666;
  margin-bottom: 0;
  line-height: 1.5;
  font-size: 0.9rem;
}

.carousel-control {
  background-color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: absolute;
  z-index: 5;
  transition: all 0.3s ease;
}

.carousel-control:hover {
  background-color: #f8f8f8;
  transform: scale(1.05);
}

.prev-btn {
  left: -20px;
}

.next-btn {
  right: -20px;
}

.projects-indicators {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 10px;
}

.project-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}



@media (max-width: 768px) {
  .projects-carousel-wrapper {
    padding: 0 30px;
  }
  
  .project-card {
    flex: 0 0 260px;
  }
  
  .project-image {
    height: 180px;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .carousel-control {
    width: 35px;
    height: 35px;
  }
  
  .prev-btn {
    left: -10px;
  }
  
  .next-btn {
    right: -10px;
  }
}

/* Sección de Proyectos */
.projects-section {
  padding: 80px 0;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #0a3d62;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}



.section-header .highlight {
  color: #0a3d62;
  font-weight: 700;
}

.section-description {
  font-size: 1.1rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

/* Grid de Proyectos */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

/* Tarjetas de Proyecto */
.project-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.project-image-container {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-category {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: rgba(10, 61, 98, 0.85);
  color: #fff;
  padding: 5px 0px;
  font-size: 0.9rem;
  font-weight: 500;
  border-top-right-radius: 8px;
}

.project-content {
  padding: 20px;
}

.project-title {
  font-size: 1.3rem;
  color: #0a3d62;
  margin-bottom: 10px;
}

.project-description {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }

  .section-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .project-image-container {
    height: 200px;
  }
}


.confirmation-content {
  text-align: center;
}

.confirmation-icon {
  margin-bottom: 15px;
}

.confirmation-icon i {
  font-size: 60px;
  color: #28a745;
}

.confirmation-container h3 {
  color: #28a745;
  margin-bottom: 15px;
  font-size: 24px;
}

.confirmation-container p {
  margin-bottom: 15px;
  color: #555;
}

.reference-number {
  font-weight: 600;
  margin: 20px 0;
}

#referenceNumber {
  color: #0a3d62;
  font-weight: 700;
}

#closeConfirmationBtn {
  margin-top: 10px;
}

/* Estilos del mensaje de confirmación */
.confirmation-container {
  margin-top: 30px;
  padding: 25px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 5px solid #28a745;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Estilos del formulario */
.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

textarea {
  resize: vertical;
}

.btn-primary {
  background-color: #0a3d62;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #0c4b78;
}

/* Estilos del mensaje de confirmación */
.confirmation-container {
  margin-top: 30px;
  padding: 25px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 5px solid #28a745;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.5s ease-in-out;
}

.hidden {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.confirmation-content {
  text-align: center;
}

.confirmation-icon {
  margin-bottom: 15px;
}

.confirmation-icon i {
  font-size: 60px;
  color: #28a745;
}

.confirmation-container h3 {
  color: #28a745;
  margin-bottom: 15px;
  font-size: 24px;
}

.confirmation-container p {
  margin-bottom: 15px;
  color: #555;
}

.reference-number {
  font-weight: 600;
  margin: 20px 0;
}

#referenceNumber {
  color: #0a3d62;
  font-weight: 700;
}

#closeConfirmationBtn {
  margin-top: 10px;
}

/* Estilos del mensaje de confirmación */
.confirmation-container {
  display: none; /* Oculto por defecto */
  background-color: #f0f8ff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
  text-align: center;
}

.confirmation-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.confirmation-icon {
  font-size: 40px;
  color: green;
  margin-bottom: 15px;
}

.confirmation-content h3 {
  font-size: 1.5em;
  color: #333;
}

.confirmation-content p {
  font-size: 1em;
  color: #666;
}

.reference-number {
  font-weight: bold;
  color: #007bff;
}

.btn-primary {
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
}

.btn-primary:hover {
  background-color: #0056b3;
}

.hidden {
  display: none;
}

/* 1. Estilos base */
.testimonials-section {
  padding: 4rem 1rem;
  background-color: #f9f9f9;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 2rem;
}

.section-header .highlight {
  color: #0c4b78;
}

.testimonials-container {
  position: relative;
  overflow: hidden;
}

/* 2. Wrapper inyectado: Flexbox en fila */
.testimonials-wrapper {
  display: flex;
  transition: transform 0.3s ease-in-out;
}

/* 3. Estilo de cada tarjeta */
.testimonial-item {
  flex: 0 0 100%; /* por defecto ocupa el 100% */
  box-sizing: border-box;
  padding: 1rem;
  text-align: center;
}

.testimonial-item .content {
  background: #fff;
  border-radius: .5rem;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.testimonial-item .author {
  margin-top: 1rem;
  font-weight: bold;
}

/* 4. Botones de navegación */
.testimonials-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

.nav-button {
  background: none;
  border: none;
  font-size: 1.5rem;
  padding: .5rem;
  cursor: pointer;
}

.indicator-dots {
  display: flex;
  gap: .5rem;
  margin: 0 1rem;
}

.indicator-dots .dot {
  width: .75rem;
  height: .75rem;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
}

.indicator-dots .dot.active {
  background: #033b58;
}

/* 5. Media queries: adaptamos el número de tarjetas visibles */

/* Desde 576px: mostramos 2 tarjetas */
@media (min-width: 576px) {
  .testimonial-item {
    flex: 0 0 50%;
  }
}

/* Desde 992px: mostramos 3 tarjetas */
@media (min-width: 992px) {
  .testimonial-item {
    flex: 0 0 33.3333%;
  }
}

/* Desde 1200px: mostramos 4 tarjetas */
@media (min-width: 1200px) {
  .testimonial-item {
    flex: 0 0 25%;
  }
}

/* 1) Ajusta el contenedor para que no tenga márgenes laterales excesivos */
.testimonials-section {
  padding: 2rem .5rem; /* menos padding en móviles */
}

/* 2) Asegura que el wrapper ocupe todo el ancho */
.testimonials-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* 3) Cada tarjeta debe ocupar 100% en móvil y centrarse */
.testimonial-item {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 1rem;    /* un poco de espacio lateral para que no quede pegado */
  box-sizing: border-box;
}

/* 4) Reduce tamaño de texto y padding interno en la tarjeta en móvil */
.testimonial-item .content {
  padding: 1.5rem;
  font-size: .9rem;
  line-height: 1.4;
}

/* 5) Haz visibles los bordes de la tarjeta para que no parezca “vacío” */
.testimonial-item .content {
  background: #fff;
  border: 1px solid #e0e0e0;
}

/* 6) Centra verticalmente los controles */
.testimonials-navigation {
  margin-top: 1rem;
}

.nav-button {
  font-size: 1.2rem;
  padding: .25rem;
}

/* 7) Aumenta el tamaño de los dots para que sean más táctiles */
.indicator-dots .dot {
  width: .9rem;
  height: .9rem;
}

/* 8) Refuerza la visibilidad del indicador activo */
.indicator-dots .dot.active {
  background: #0056b3;
}

/* 9) (Opcional) Oculta parcialmente la siguiente tarjeta para dar pista de más contenido */
/* Desactiva este bloque si prefieres que no se vea nada cortado */
.testimonials-wrapper {
  padding-left: 1rem;
}
.testimonial-item {
  padding-right: 1rem;
}

/* 10) Asegúrate de que imagines o imágenes dentro escalen */
.testimonial-item img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
}

@media (max-width: 575.98px) {
  .testimonials-wrapper {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-left: 1rem;          /* espacio para “peek” */
  }

  /* opcional: esconder scrollbar webkit */
  .testimonials-wrapper::-webkit-scrollbar {
    display: none;
  }

  .testimonial-item {
    flex: none;                  /* no crecer más allá de su ancho */
    width: calc(100% - 2rem);    /* ancho total menos los 1rem a cada lado */
    margin-right: 1rem;          /* separación entre tarjetas */
    scroll-snap-align: start;    /* alinea la tarjeta al inicio del viewport */
    box-sizing: border-box;
  }

  /* ocultamos flechas, que en scroll-snap no hacen falta */
  .testimonials-navigation {
    display: none;
  }
}

/* === SOLO MÓVIL: width 100% sin huecos ni transform === */
@media (max-width: 575.98px) {
  .testimonials-container {
    overflow: hidden;        /* evita scroll vertical */
  }

  .testimonials-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 0;               /* quita cualquier margin/padding previo */
    padding: 0;
  }
  .testimonials-wrapper::-webkit-scrollbar {
    display: none;           /* opcional, esconde la barra */
  }

  .testimonial-item {
    flex: 0 0 100%;          /* ocupa el 100% del contenedor */
    max-width: 100%;         
    scroll-snap-align: start;
    box-sizing: border-box;
    padding: 0 1rem;         /* un poco de “aire” dentro de la tarjeta */
    margin: 0;               /* sin márgenes adicionales */
  }

  .testimonial-item .content {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 1.5rem;
    height: auto !important; /* si antes tenías un height fijo, elimínalo */
  }

  /* Oculta flechas y puntos, el swipe nativo ya es suficiente */
  .testimonials-navigation {
    display: none;
  }
}

@media (max-width: 575.98px) {
  /* 1) Anula cualquier desplazamiento */
  #testimonialsWrapper {
    transform: none !important;
  }

  /* 2) Ocupa todo el ancho sin márgenes raros */
  #testimonialsWrapper,
  .testimonial-item {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* 3) Ajusta el contenido */
  .testimonial-item .content {
    height: auto !important;   /* sin recortes */
    overflow: visible !important;
    padding: 1.5rem;
  }

  /* 4) (Opcional) Oculta flechas/dots si molestan */
  .testimonials-navigation { display: none !important; }
}

/* ───── Header ───── */
.site‑header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 900;                /* por debajo del menú */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .75rem 1rem;
}

/* ───── Menú móvil ───── */
.mobile‑nav {
  position: fixed;
  inset: 0;                    /* top/right/bottom/left: 0 → ocupa toda la pantalla */
  transform: translateX(-100%);
  background: #002b45;         /* tu azul */
  transition: transform .35s ease;
  z-index: 1000;               /* por encima del header */
  overflow-y: auto;
}

/* estado abierto */
body.menu‑open .mobile‑nav {
  transform: translateX(0);
}

/* ocultar el header completo mientras el menú esté abierto */
body.menu‑open .site‑header {
  visibility: hidden;          /* o display:none; si prefieres */
}

/* desactivar desplazamiento del fondo */
body.menu‑open {
  overflow: hidden;
}

/* Botón cerrar (arriba a la derecha) */
.close‑btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
}

/* --- Layout rápido ─────────────────────────────── */
.header {
  position: fixed;                /* pegado arriba */
  top: 0; left: 0; width: 100%;
  background: transparent;        /* o tu color */
  z-index: 900;
}
.desktop-nav ul {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* --- Enlaces ────────────── */
.nav-link {
  position: relative;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  padding: .25rem 0;
  transition: color .2s;
}

/* Línea bajo el texto */
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;          /* separación */
  width: 0;                       /* arranca oculto */
  height: 3px;
  background: #fff;
  transition: width .3s ease;
}

/* al pasar el mouse */
.nav-link:hover::after {
  width: 100%;
}

/* enlace activo (la sección que se ve) */
.nav-link.active::after {
  width: 100%;
}

/* Opcional: cambia color activo */
.nav-link.active {
  color: #3fa7ff;
}

/* --- oculta la nav de escritorio en móvil -------- */
@media (max-width: 767.98px) {
  .desktop-nav,
  .nav-cta.desktop-only { display: none; }
}

/* Pon el color, subrayado o estilo que prefieras */
.nav-link.active {
  color: #e86b00;              /* naranja de ejemplo */
  font-weight: 600;
  position: relative;
}

.nav-link.active::after {      /* sub‑rayita inferior opcional  */
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
