:root {
  color-scheme: light;
  --primary: #0b6c8b;
  --primary-dark: #064154;
  --secondary: #f5f7fa;
  --accent: #ffd166;
  --text: #1b1f24;
  --muted: #556272;
  --radius: 18px;
  --shadow: 0 18px 55px rgba(16, 40, 60, 0.16);
  font-size: 16px;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--secondary);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08);
}

.wrap {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.brand {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  flex: 1.5;
  justify-content: center;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.25rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 999px;
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 15px 35px rgba(11, 108, 139, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(11, 108, 139, 0.35);
}

/* botón del header un poco más pequeño que los del hero */
header .btn-primary {
  padding: 0.65rem 1.5rem;
  font-size: 0.9rem;
  box-shadow: 0 10px 25px rgba(11, 108, 139, 0.25);
}

main section {
  padding: 4.5rem 0;
}

#inicio {
  padding-top: 4rem;
  background: #f3f7fb;
}

#hero {
  min-height: 80vh;
  display: grid;
  gap: 3.5rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
}

@media (max-width: 900px) {
  #hero {
    grid-template-columns: 1fr;
  }
}

/* Columna izquierda: texto más ancho */
#hero > article:first-child {
  max-width: 34rem;
}

/* Panel derecho tipo "tarjeta hero" */
#hero .panel,
.hero-panel {
  padding: 0;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(135deg, #0b6c8b, #0d8faf);
  box-shadow: var(--shadow);
  position: relative;
  height: 100%;
  min-height: 500px;
  max-height: 600px;
  display: flex;
  flex-direction: column;
}

/* Imagen ocupando todo el espacio */
#hero .panel img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  max-height: 600px;
  object-fit: cover;
  object-position: center top;
  border-radius: 0 !important;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  box-shadow: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

/* Zona de horario flotando sobre la imagen */
.hero-info {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  left: 1.5rem;
  padding: 1rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 260px;
  margin-left: auto;
}

.hero-info h2 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 400;
}

.text-primary-light {
  color: #0d8faf;
  font-weight: 700;
}

.hero-info p {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-schedule-box {
  margin-top: 0.5rem;
  background: var(--primary);
  padding: 0.7rem 1rem;
  border-radius: 10px;
  color: #fff;
}

.hero-schedule-box p {
  color: #fff !important;
  margin: 0;
  font-size: 0.85rem;
}

.hero-schedule-box p[style*="font-weight: 600"] {
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff !important;
}

.hero-title {
  opacity: 0;
  transform: translateY(20px);
  animation: heroTitleEnter 0.7s ease forwards;
  animation-delay: 0.2s;
}

@keyframes heroTitleEnter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#por-que {
  padding: 4rem 0;
  text-align: center;
}

#marcas {
  padding: 4.5rem 0;
  text-align: center;
  background: linear-gradient(180deg, #f8fbfd 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

#marcas::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(11, 108, 139, 0.2), transparent);
}

.marcas-header {
  margin-bottom: 3rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.marcas-header .badge {
  margin-bottom: 1rem;
}

.marcas-header h2 {
  margin-bottom: 1rem;
}

.marcas-header .lead {
  margin-bottom: 0;
}

.por-que-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
  margin-top: 1.5rem;
}

.por-que-texto {
  text-align: left;
}

.por-que-img img {
  width: 100%;
  border-radius: 24px;
}

.beneficios-list {
  list-style: none;
  padding: 0;
  margin: 2rem auto 0;
  display: grid;
  gap: 0.75rem;
  max-width: 720px;
  text-align: left;
}

.beneficios-list li {
  background: #fff;
  border-radius: 14px;
  padding: 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.beneficio-toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 1.1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
  cursor: pointer;
  gap: 0.75rem;
}

.beneficio-toggle::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.beneficio-item.active .beneficio-toggle::after {
  content: "−";
}

.beneficio-descripcion {
  margin: 0;
  padding: 0 1.5rem 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  display: none;
}

.beneficio-item.active .beneficio-descripcion {
  display: block;
}
.logos-marcas {
  margin-top: 2rem;
  gap: 1.25rem;
}

.logo-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--muted);
  background: #fff;
  min-height: 90px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
}

.logo-card:hover {
  color: var(--primary);
  border-color: rgba(11, 108, 139, 0.4);
}

/* Carrusel de marcas */
.marcas-carrusel-container {
  margin-top: 2rem;
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 2rem 0;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

.marcas-carrusel {
  display: flex;
  gap: 1.5rem;
  animation: carrusel-mover 35s linear infinite;
  width: fit-content;
}

.marcas-carrusel:hover {
  animation-play-state: paused;
}

.logo-card-img {
  flex-shrink: 0;
  border: 1.5px solid rgba(15, 23, 42, 0.06);
  border-radius: 18px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  min-width: 180px;
  min-height: 120px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08), 
              0 2px 8px rgba(15, 23, 42, 0.04),
              inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.logo-card-img::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transition: left 0.6s ease;
}

.logo-card-img:hover::before {
  left: 100%;
}

.logo-card-img:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(11, 108, 139, 0.15),
              0 8px 16px rgba(15, 23, 42, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 1);
  border-color: rgba(11, 108, 139, 0.25);
  background: linear-gradient(135deg, #ffffff 0%, #f0f7fa 100%);
}

.logo-card-img img {
  max-width: 100%;
  max-height: 85px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  filter: grayscale(0.1) contrast(1.05);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.logo-card-img:hover img {
  filter: grayscale(0) contrast(1.1) brightness(1.05);
  transform: scale(1.05);
}

@keyframes carrusel-mover {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 0.75rem));
  }
}

.floating-whatsapp {
  position: fixed;
  right: 1.75rem;
  bottom: 1.75rem;
  background: #22c55e;
  color: #fff;
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 12px 25px rgba(34, 197, 94, 0.35);
  font-weight: 600;
  z-index: 1200;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(34, 197, 94, 0.45);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  background: rgba(11, 108, 139, 0.12);
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 3.9rem);
  margin: 1rem 0;
  line-height: 1.05;
}

/* Animación para la palabra destacada */
.highlight-word {
  position: relative;
  font-weight: 700;
  color: var(--primary);
  display: inline-block;
}

.highlight-word::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1em;
  width: 100%;
  height: 0.1em;
  background: var(--primary);
  border-radius: 2px;
  z-index: -1;
  transition: width 0.3s ease;
}

/* El subrayado se ajusta automáticamente al ancho del texto */

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}

p.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 36rem;
  margin-bottom: 2rem;
}

.panel {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.grid.cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.grid.cols-4 {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

/* Sección Nosotros */
.section-nosotros {
  padding: 4.5rem 0;
}

.panel-split {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.nosotros-texto p + p {
  margin-top: 0.75rem;
}

.nosotros-datos {
  display: grid;
  gap: 1rem;
}

.nosotros-card {
  border-radius: var(--radius);
  padding: 1.5rem;
  background: #ffffff;
}

.nosotros-card p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

/* Variantes de color */
.nosotros-card--azul {
  background: #f8fbfd;
}

.nosotros-card--amarillo {
  background: #fff6e0;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.3rem;
}

.pill {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(11, 108, 139, 0.18);
  font-size: 0.86rem;
  color: var(--muted);
}

#servicios h2,
#beneficios h2,
#empresas h2,
#contacto h2 {
  text-align: left;
}

#servicios .lead,
#empresas .lead {
  max-width: 40rem;
}

.local-note {
  color: var(--muted);
  max-width: 48rem;
  margin: 0.5rem 0 2rem;
}

.servicios-cta {
  margin: 2.5rem 0 3rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.btn-agendar-grande {
  padding: 1.4rem 3rem !important;
  font-size: 1.25rem !important;
  box-shadow: 0 20px 45px rgba(11, 108, 139, 0.35) !important;
  transform: scale(1.05);
}

.btn-agendar-grande:hover {
  transform: scale(1.08) translateY(-2px) !important;
  box-shadow: 0 25px 50px rgba(11, 108, 139, 0.45) !important;
}

.btn-llamar {
  background: #fff;
  border: 1px solid rgba(11, 108, 139, 0.3);
  color: var(--primary);
  padding: 1.2rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.btn-llamar:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(11, 108, 139, 0.2);
}

#btn-convenio-cta {
  background: #fff;
  border: 1px solid rgba(11, 108, 139, 0.3);
  color: var(--primary);
}

#btn-convenio-cta:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}

#servicios article,
#beneficios article {
  padding: 1.75rem;
  border-radius: 20px;
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease;
}

#servicios article.servicio-card {
  cursor: pointer;
}

#servicios article.servicio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 45px rgba(15, 23, 42, 0.08);
}

#servicios article:hover,
#beneficios article:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 45px rgba(15, 23, 42, 0.08);
}

#contacto form {
  display: grid;
  gap: 1rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.95rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(27, 31, 36, 0.2);
  font: inherit;
  background: rgba(255, 255, 255, 0.9);
  resize: vertical;
  min-height: 48px;
}

select {
  cursor: pointer;
}

#form-convenio-empresa {
  display: grid;
  gap: 1rem;
}

footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.9);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.92rem;
}

footer small {
  display: block;
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Modal de reserva */
.modal-reserva {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-content {
  background: #fff;
  border-radius: 24px;
  padding: 2.5rem;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  animation: modalSlideUp 0.4s ease-out;
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--muted);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  background: var(--secondary);
  color: var(--text);
}

.modal-content h2 {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
  color: var(--text);
}

.modal-description {
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

#form-reserva {
  display: grid;
  gap: 1.5rem;
  animation: fadeIn 0.3s ease;
}

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

.form-group {
  display: grid;
  gap: 0.75rem;
}

#form-reserva label {
  font-weight: 600;
  color: var(--text);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Estilos mejorados para inputs del modal */
#form-reserva input[type="date"],
#form-reserva select {
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  border: 2px solid rgba(27, 31, 36, 0.12);
  font-size: 1.05rem;
  background: #f8f9fa;
  transition: all 0.3s ease;
  cursor: pointer;
  font-weight: 500;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

#form-reserva input[type="date"]:hover,
#form-reserva select:hover {
  background: #fff;
  border-color: rgba(11, 108, 139, 0.3);
  box-shadow: 0 4px 12px rgba(11, 108, 139, 0.12);
  transform: translateY(-1px);
}

#form-reserva input[type="date"]:focus,
#form-reserva select:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 4px 16px rgba(11, 108, 139, 0.2), 0 0 0 3px rgba(11, 108, 139, 0.1);
  transform: translateY(-1px);
}

/* Mejorar el aspecto del select */
#form-reserva select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230b6c8b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 20px;
  padding-right: 3.5rem;
  background-color: #f8f9fa;
}

#form-reserva select:hover {
  background-color: #fff;
}

/* Estilos para las opciones del select */
#form-reserva select option {
  padding: 1rem;
  font-size: 1rem;
  background: #fff;
  color: var(--text);
}

#form-reserva select option:first-child {
  color: var(--muted);
}

/* Icono del calendario personalizado */
#form-reserva input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  padding: 0.5rem;
  margin-right: -0.5rem;
  filter: invert(0.4) sepia(1) saturate(5) hue-rotate(160deg);
  transition: all 0.2s ease;
}

#form-reserva input[type="date"]::-webkit-calendar-picker-indicator:hover {
  filter: invert(0.3) sepia(1) saturate(6) hue-rotate(160deg);
  transform: scale(1.1);
}

.modal-info-simple {
  background: rgba(11, 108, 139, 0.08);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  margin: 0.5rem 0;
  border-left: 3px solid var(--primary);
}

.modal-info-simple p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Contenedor de botones del modal */
.modal-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.modal-buttons .btn {
  flex: 1;
  min-width: 200px;
}

/* Opciones principales del modal */
.modal-opciones {
  display: block;
}

.modal-buttons-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.modal-buttons-main .btn {
  width: 100%;
  padding: 1.2rem 2rem;
  font-size: 1.05rem;
  border-radius: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
}

/* Divisor entre opciones */
.modal-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.5rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.modal-divider::before,
.modal-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.modal-divider span {
  padding: 0 1rem;
  background: #fff;
  font-weight: 500;
}

/* Botones del modal mejorados */
#form-reserva .btn {
  padding: 1.15rem 2rem;
  font-size: 1.05rem;
  border-radius: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

#form-reserva .btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #0d8faf 100%);
  box-shadow: 0 8px 20px rgba(11, 108, 139, 0.3);
  color: #fff;
}

#form-reserva .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 108, 139, 0.4);
}

#form-reserva .btn-google,
.modal-buttons-main .btn-google {
  background: linear-gradient(135deg, #4285f4 0%, #5a9cff 100%);
  box-shadow: 0 8px 20px rgba(66, 133, 244, 0.3);
  color: #fff;
}

#form-reserva .btn-google:hover,
.modal-buttons-main .btn-google:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(66, 133, 244, 0.4);
}

.modal-buttons-main .btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #0d8faf 100%);
  box-shadow: 0 8px 20px rgba(11, 108, 139, 0.3);
  color: #fff;
}

.modal-buttons-main .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 108, 139, 0.4);
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-left {
    width: 100%;
    justify-content: space-between;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    display: none;
  }
  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.35rem 0;
  }

  header .btn-primary {
    align-self: stretch;
    justify-content: center;
    width: 100%;
  }

  header {
    position: static;
  }

  .hero-info {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    max-width: none;
    margin: -2.25rem 1rem 0;
  }

  .servicios-cta {
    flex-direction: column;
  }

  .beneficios-list {
    gap: 0.5rem;
  }

  .beneficio-toggle {
    font-size: 0.95rem;
  }

  .logo-card {
    min-height: 70px;
  }

  /* Responsive para sección de marcas */
  #marcas {
    padding: 3rem 0;
  }

  .marcas-header {
    margin-bottom: 2rem;
    padding: 0 1rem;
  }

  .marcas-header h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .marcas-header .lead {
    font-size: 1rem;
  }

  .marcas-carrusel-container {
    padding: 1.5rem 0;
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 5%,
      black 95%,
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 5%,
      black 95%,
      transparent 100%
    );
  }

  .marcas-carrusel {
    gap: 1rem;
    animation: carrusel-mover 30s linear infinite;
  }

  .logo-card-img {
    min-width: 150px;
    min-height: 100px;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
  }

  .logo-card-img img {
    max-height: 70px;
  }

  .floating-whatsapp {
    right: 1rem;
    bottom: 1rem;
    padding: 0.75rem 1.2rem;
  }

  #hero > article:first-child {
    order: 2;
  }

  #hero .hero-panel {
    order: 1;
    margin-bottom: 1.5rem;
    min-height: 380px;
  }

  #hero .hero-panel img {
    position: relative;
    min-height: 320px;
  }

  .por-que-layout {
    grid-template-columns: 1fr;
  }

  .modal-content {
    padding: 1.75rem 1.5rem;
    max-height: 95vh;
  }

  .modal-content h2 {
    font-size: 1.5rem;
  }

  #form-reserva input[type="date"],
  #form-reserva select {
    padding: 1.1rem 1.25rem;
    font-size: 1rem;
  }

  #form-reserva .btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  #form-reserva label {
    font-size: 1rem;
  }

  .modal-buttons {
    flex-direction: column;
  }

  .modal-buttons .btn {
    width: 100%;
    min-width: 100%;
  }

  .modal-buttons-main {
    gap: 0.85rem;
  }

  .modal-buttons-main .btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  /* Formulario más compacto en mobile */
  #form-reserva {
    gap: 1.25rem;
  }

  #form-reserva .form-group {
    gap: 0.6rem;
  }

  #form-reserva input[type="date"],
  #form-reserva select {
    padding: 1rem 1.2rem;
    font-size: 1rem;
  }

  #form-reserva label {
    font-size: 0.95rem;
  }

  .modal-info-simple {
    padding: 0.85rem 1rem;
    margin: 0.25rem 0;
  }

  .modal-info-simple p {
    font-size: 0.85rem;
  }

  .modal-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .modal-buttons .btn {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
  }
}

