:root {
  --background: oklch(1 0 0); /* White background */
  --foreground: oklch(0.145 0.08 258.338); /* #012B6F - Corporate blue */
  --card: oklch(0.97 0.005 258.338); /* Light gray for cards */
  --card-foreground: oklch(0.145 0.08 258.338); /* Corporate blue text on cards */
  --popover: oklch(1 0 0); /* White popover background */
  --popover-foreground: oklch(0.145 0.08 258.338); /* Corporate blue text */
  --primary: oklch(0.145 0.08 258.338); /* #012B6F - Corporate blue */
  --primary-foreground: oklch(1 0 0); /* White text on primary */
  --secondary: oklch(0.4 0.15 15.57); /* #B1121D - Corporate red */
  --secondary-foreground: oklch(1 0 0); /* White text on secondary */
  --muted: oklch(0.95 0.005 258.338); /* Very light gray for muted backgrounds */
  --muted-foreground: oklch(0.35 0.05 258.338); /* Dark blue-gray for readable text */
  --accent: oklch(0.4 0.15 15.57); /* #B1121D - Corporate red for accents */
  --accent-foreground: oklch(1 0 0); /* White text on accent */
  --destructive: oklch(0.4 0.15 15.57); /* Corporate red for destructive actions */
  --destructive-foreground: oklch(1 0 0); /* White text on destructive */
  --border: oklch(0.922 0 0); /* Light gray borders */
  --input: oklch(0.97 0.005 258.338); /* Light background for inputs */
  --ring: oklch(0.4 0.15 15.57); /* Corporate red for focus rings */
  --radius: 0.5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.logo-image {
  width: 90px;
  height: auto;
  margin-top: 5px;
}

@media (min-width: 768px) {
  .logo-image {
    width: 100px;
    margin-top: 10px;
  }
}

@media (min-width: 1024px) {
  .logo-image {
    width: 125px;
  }
}


.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.top-bar.hidden {
  height: 0;
  padding: 0;
  opacity: 0;
  overflow: hidden;
  border-bottom: none;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-item .icon {
  width: 1rem;
  height: 1rem;
}

.tagline {
  font-size: 0.875rem;
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.main-nav.compact {
  padding: 0.5rem 0;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: 0.5rem;
  font-weight: bold;
  padding: 0.75rem;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.logo-icon.compact {
  padding: 0.5rem;
  font-size: 1.125rem;
}

.company-name {
  font-weight: bold;
  color: var(--primary);
  font-size: 1.15rem;
  transition: all 0.3s ease;
}

.company-name.compact {
  font-size: 1.125rem;
}

@media (min-width: 768px) {
  .company-name {
    font-size: 1.25rem;
  }
}

.company-tagline {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .company-tagline {
    font-size: 0.875rem;
  }
}

.company-tagline.hidden {
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 1.0rem;
}


@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.dropdown {
  position: relative;
}

.dropdown-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  transition: color 0.3s ease;
  font-family: inherit;
  font-size: 1rem;
}

.dropdown-btn:hover {
  color: var(--primary);
}

.dropdown-icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}

.dropdown-icon.rotated {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.25rem;
  width: 14rem;
  background-color: var(--popover);
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  z-index: 50;
  padding: 0.25rem;
  display: none;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.5rem 0.5rem;
  font-size: 0.875rem;
  border-radius: 0.125rem;
  color: var(--foreground);
  text-decoration: none;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.external-icon {
  width: 1rem;
  height: 1rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  padding: 0.5rem;
  cursor: pointer;
  background-color: transparent;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Estilos menú móvil y animación */
@media (max-width: 767px) {
  .main-nav.open .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    background: var(--background);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    z-index: 1000;
    animation: slideDown 0.3s ease forwards;
  }

  .nav-menu.closing {
    animation: slideUp 0.25s ease forwards;
  }

  .nav-link,
  .dropdown-btn {
    width: 100%;
    text-align: left;
    padding: 0.75rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.2s ease, color 0.3s ease;
  }
  
  .dropdown-menu {
    position: relative;
    width: 100%;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--primary);
    border-radius: 0;
    padding-left: 1rem;
    margin-top: 0.5rem;
  }

  .nav-link:hover,
  .dropdown-btn:hover {
    color: var(--primary);
    transform: translateX(5px);
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes slideUp {
    from {
      opacity: 1;
      transform: translateY(0);
    }
    to {
      opacity: 0;
      transform: translateY(-10px);
    }
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  }

  .mobile-menu-btn:hover {
    background-color: var(--muted);
  }

  .mobile-menu-btn.active {
    background-color: var(--muted);
    border-color: var(--primary);
  }
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
  padding: 0.5rem 1rem;
  font-family: inherit;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: oklch(0.125 0.08 258.338);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}

.btn-outline:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.btn-lg {
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
}

@media (min-width: 768px) {
  .btn-lg {
    font-size: 1.125rem;
    padding: 0.75rem 2rem;
  }
}

.btn:not(.mobile-menu-btn) {
  display: none;
}

@media (min-width: 768px) {
  .btn:not(.mobile-menu-btn) {
    display: inline-flex;
  }
}

/* Main Content */
.main-content {
  padding-top: 7.5rem; /* Espacio para el header fijo */
}

@media (min-width: 768px) {
  .main-content {
    padding-top: 8rem;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(1, 43, 111, 0.05) 0%, rgba(177, 18, 29, 0.05) 100%);
  padding: 3rem 0 4rem;
}

@media (min-width: 768px) {
  .hero-section {
    padding: 5rem 0;
  }
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .hero-content {
    gap: 2rem;
  }
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-title {
  font-size: 2.2rem; /* Tamaño ajustado para móvil */
  font-weight: bold;
  line-height: 1.2;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.text-primary {
  color: var(--primary);
}

.text-accent {
  color: var(--accent);
}

.hero-description {
  font-size: 1.1rem;
  color: var(--muted-foreground);
  text-wrap: pretty;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem; /* Gap reducido en móvil */
  padding-top: 1.5rem;
}

@media (min-width: 768px) {
  .stats-grid {
    gap: 1.5rem;
    padding-top: 2rem;
  }
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
}

.stat-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.stat-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}

@media (min-width: 768px) {
  .stat-icon svg {
    width: 2rem;
    height: 2rem;
  }
}

.stat-item:nth-child(even) .stat-icon svg {
  color: var(--accent);
}

.stat-number {
  font-size: 1.35rem;
  font-weight: bold;
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 1.5rem;
  }
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .stat-label {
    font-size: 0.875rem;
  }
}

/* Hero Carousel */
.hero-image {
  position: relative;
  width: 100%;
}

.hero-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3; /* Mantiene proporción en móviles y web */
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
  background-color: var(--muted);
}

@media (min-width: 1024px) {
  .hero-carousel {
    aspect-ratio: 1/1; /* Más cuadrado en desktop si se prefiere, o 4/3 */
  }
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  border-radius: 0.5rem;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.founders-card {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background-color: var(--card);
  padding: 1.25rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
  z-index: 10;
}

.founders-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.founders-names {
  font-weight: 600;
  color: var(--primary);
}

/* Services Section */
.services-section {
  padding: 4rem 0;
  background-color: rgba(248, 250, 252, 0.3);
}

@media (min-width: 768px) {
  .services-section {
    padding: 5rem 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 4rem;
  }
}

.section-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-description {
  font-size: 1.1rem;
  color: var(--muted-foreground);
  max-width: 32rem;
  margin: 0 auto;
  text-wrap: pretty;
}

.services-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-0.25rem);
}

.service-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.service-icon {
  margin: 0 auto 1rem;
  padding: 0.75rem;
  background-color: rgba(1, 43, 111, 0.1);
  border-radius: 50%;
  width: fit-content;
  transition: background-color 0.3s ease;
}

.service-card:hover .service-icon {
  background-color: rgba(1, 43, 111, 0.2);
}

.service-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-description {
  color: var(--muted-foreground);
  text-wrap: pretty;
  font-size: 0.95rem;
}

.service-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
  flex: 1;
}

.service-features li {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.service-features li::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  background-color: var(--accent);
  border-radius: 50%;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.service-btn {
  width: 100%;
  transition: all 0.3s ease;
  display: inline-flex !important; /* Fuerza visualización en móvil para este botón específico */
}

.service-card:hover .service-btn {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

/* Icon styles */
.icon {
  width: 1rem;
  height: 1rem;
}

/* About Section */
.about-section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .about-section {
    padding: 5rem 0;
  }
}

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-description {
  font-size: 1.05rem;
  color: var(--muted-foreground);
  text-wrap: pretty;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .about-description {
    font-size: 1.125rem;
  }
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .about-stats {
    gap: 1.5rem;
  }
}

.about-stat-card {
  text-align: center;
  padding: 1.25rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.about-stat-number {
  font-size: 1.75rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
  .about-stat-number {
    font-size: 2rem;
  }
}

.about-stat-label {
  font-size: 0.8rem;
  color: var(--muted-foreground);
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline-item {
  position: relative;
}

.timeline-item:not(:last-child) .timeline-connector::after {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 3rem;
  width: 2px;
  height: 4rem;
  background-color: var(--border);
}

.timeline-content {
  display: flex;
  gap: 1rem;
}

.timeline-year {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.timeline-details {
  flex: 1;
  padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .timeline-details {
    padding-bottom: 2rem;
  }
}

.timeline-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-weight: 600;
  font-size: 1.05rem;
}

@media (min-width: 768px) {
  .timeline-title {
    font-size: 1.125rem;
  }
}

.timeline-badge {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  display: inline-block;
}

.timeline-description {
  color: var(--muted-foreground);
  text-wrap: pretty;
  font-size: 0.95rem;
}

/* Activities Section */
.activities-section {
  padding: 4rem 0;
  background-color: var(--background);
}

.activities-carousel {
  position: relative;
  max-width: 75rem;
  margin: 0 auto;
}

.carousel-container {
  overflow: hidden;
  padding-bottom: 1rem;
}

.carousel-track {
  justify-content: flex-start; /* <--- CAMBIA A FLEX-START */
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 1.5rem;
}

@media (max-width: 767px) {
  .carousel-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.5s ease-in-out;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem; /* Para que la sombra no se corte */
  }
}

.activity-card {
  flex: 0 0 auto;
  width: 100%;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  cursor: pointer; /* Indicar que es clickeable */
}

@media (max-width: 767px) {
  .activity-card {
    scroll-snap-align: center;
    width: 85vw; /* Mejor ancho en móvil para previsualizar la siguiente */
  }
}

@media (min-width: 768px) {
  .activity-card {
    width: calc(50% - 0.75rem);
  }
}

@media (min-width: 1024px) {
  .activity-card {
    width: calc(33.333% - 1rem);
  }
}

.activity-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.activity-image {
  position: relative;
  width: 100%;
  height: 200px;
  object-fit: contain; /* CAMBIADO DE COVER A CONTAIN */
  background: #e2e8f0; /* Un gris un poco más oscurito para enmarcar mejor */
}

.activity-content {
  padding: 1.5rem;
}

.activity-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.activity-description {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.activity-meta {
  display: flex;
  gap: 1rem;
}

.activity-date,
.activity-location {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted-foreground);
}

.carousel-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background-color: oklch(0.125 0.08 258.338);
}

.carousel-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

.carousel-prev {
  left: -1rem;
}

.carousel-next {
  right: -1rem;
}

/* Contact Section */
.contact-section {
  padding: 4rem 0;
  background-color: rgba(248, 250, 252, 0.3);
}

@media (min-width: 768px) {
  .contact-section {
    padding: 5rem 0;
  }
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
  }
}

.contact-form-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .contact-form-card {
    padding: 2rem;
  }
}

.contact-form-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.form-input,
.form-select,
.form-textarea {
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--input);
  color: var(--foreground);
  font-size: 0.875rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--ring);
}

.form-textarea {
  resize: vertical;
  min-height: 6rem;
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
  display: inline-flex !important; /* Forza visualización */
}

.contact-info-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.contact-info-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.contact-info-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.contact-info-title {
  font-weight: 600;
  font-size: 1.05rem;
}

.contact-info-text {
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

.contact-schedule {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Clients Section */
.clients-section {
  padding: 4rem 0;
  background: linear-gradient(to bottom, #f9fafb, #ffffff);
}

.clients-carousel {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  overflow: hidden;
}

.clients-track {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0.5rem;
  animation: scroll 30s linear infinite;
}

@media (min-width: 768px) {
  .clients-track {
    gap: 2rem;
    padding: 2rem 1rem;
  }
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.client-logo {
  flex-shrink: 0;
  width: 9rem;
  height: 6rem;
  background-color: white;
  border-radius: var(--radius);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s ease;
}

@media (min-width: 768px) {
  .client-logo {
    width: 12rem;
    height: 8rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }
}

.client-logo:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.client-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.client-logo:hover img {
  filter: grayscale(0%);
}

.clients-description {
  text-align: center;
  margin-top: 2rem;
}

.clients-description p {
  font-size: 0.95rem;
  color: #6b7280;
  max-width: 48rem;
  margin: 0 auto;
}

/* Reclamos Section */
.reclamos-section {
  padding: 4rem 0;
  background-color: #012b6f;
  color: white;
}

.reclamos-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.reclamos-intro {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .reclamos-intro {
    font-size: 1.05rem;
  }
}

.reclamos-title {
  font-size: 1.6rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .reclamos-title {
    font-size: 2rem;
  }
}

.reclamos-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .reclamos-grid {
    flex-direction: row;
    justify-content: center;
    gap: 3rem;
  }
}

.reclamo-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  width: 100%;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .reclamo-option {
    width: 16rem;
  }
}

.reclamo-option:hover {
  transform: scale(1.05);
}

.reclamo-icon-container {
  position: relative;
  margin-bottom: 1rem;
}

.reclamo-icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .reclamo-icon {
    width: 5rem;
    height: 5rem;
  }
}

.reclamo-option:hover .reclamo-icon {
  transform: scale(1.1);
  border-color: #b1121d;
  background-color: #b1121d;
}

.reclamo-icon svg {
  width: 2rem;
  height: 2rem;
  color: rgba(255, 255, 255, 0.8);
}

.reclamo-option:hover .reclamo-icon svg {
  color: white;
}

.reclamo-title {
  color: white;
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.reclamo-option:hover .reclamo-title {
  color: rgba(255, 255, 255, 0.9);
}

.reclamo-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.reclamo-option:hover .reclamo-description {
  color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 3rem 0 2rem;
}

.logo-image-footer {
  width: 70px;
  height: auto;
  margin-bottom: -0.5rem;
}

@media (min-width: 768px) {
  .logo-image-footer {
    width: 80px;
  }
}

.footer-content {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-company-name {
  font-weight: bold;
  font-size: 1.125rem;
}

.footer-since {
  font-size: 0.8rem;
  opacity: 0.8;
}

.footer-description {
  font-size: 0.9rem;
  opacity: 0.8;
  text-wrap: pretty;
}

.footer-social {
  padding-top: 0.5rem;
}

.footer-social-title {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.footer-social-link:hover {
  background-color: rgba(177, 18, 29, 0.9);
}

.footer-social-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-section-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links li {
  font-size: 0.9rem;
  opacity: 0.8;
  cursor: pointer;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-contact-icon {
  width: 1rem;
  height: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Modal base */
.modal {
  display: none; 
  position: fixed;
  z-index: 2000; /* Asegurar que quede sobre el header fijo */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 0;
  border-radius: 12px;
  width: 90%;
  max-width: 850px; /* CAMBIADO DE 700 A 850 PARA MEJOR VISTA EN PC */
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(-50px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #666;
  z-index: 1001;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #000;
}

.modal-header {
  padding: 20px 25px 15px;
  border-bottom: 1px solid #eee;
}

.modal-header h2 {
  margin: 0;
  color: #333;
  font-size: 1.25rem;
  font-weight: 600;
}

.modal-body {
  padding: 20px 25px 25px;
}

.modal-image-container {
  margin-bottom: 1.5rem;
  background-color: #0f172a; /* Fondo oscuro tipo galería */
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-image {
  width: 100%;
  height: auto;
  max-height: 70vh; /* CAMBIADO DE 300PX A 70VH PARA FOTOS VERTICALES */
  object-fit: contain; /* CAMBIADO DE COVER A CONTAIN */
  border-radius: 8px;
}

.modal-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modal-date,
.modal-location {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
  font-weight: 500;
}

.modal-date::before { content: "📅 "; margin-right: 5px; }
.modal-location::before { content: "📍 "; margin-right: 5px; }

.modal-description h3 {
  margin: 0 0 10px 0;
  color: #333;
  font-size: 1.1rem;
  font-weight: 600;
}

.modal-description p {
  margin: 0;
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Políticas Section */
.politicas-section {
  padding: 4rem 0;
  background-color: var(--background);
}

.politicas-carousel {
  position: relative;
  max-width: 75rem;
  margin: 0 auto;
}

.politica-card {
  flex: 0 0 auto;
  width: 100%;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

@media (max-width: 767px) {
  .politica-card {
    scroll-snap-align: center;
    width: 85vw; /* Permite ver que hay más elementos */
  }
}

@media (min-width: 768px) {
  .politica-card {
    width: calc(50% - 0.75rem);
    padding: 2rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .politica-card {
    width: calc(33.333% - 1rem);
  }
}

.politica-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.politica-card p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.politica-card .view-more {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 0.9rem;
}

.politica-card .view-more:hover {
  background-color: oklch(0.125 0.08 258.338);
}

/* Global Responsive Adjustments for layout shifts */
@media (max-width: 767px) {
  .contact-info {
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
  }

  .tagline {
    display: none; /* Ocultamos esto en móvil para ahorrar espacio en la barra superior */
  }
  
  .founders-card {
    position: static; /* Evita que se salga del contenedor en móvil */
    margin-top: 1rem;
    width: 100%;
    text-align: center;
  }

  .about-grid {
    gap: 2rem;
  }

  .timeline-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}