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

body {
    font-family: Arial, sans-serif;
    background: #222;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 24px;
    position: relative;
    z-index: 2;
    background: transparent;
}

.logo img {
    height: 100px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 18px;
}

.nav-links li a {
    text-decoration: none;
    color: #fff;
    background: #095064;
    padding: 9px 20px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
    font-weight: 500;
}

.menu-toggle,
.menu-icon {
    display: none;
}

/* Sección de imagen de fondo */
.hero-bg {
    width: 100vw;
    height: 100vw;
    max-height: 100vh;
    position: relative;
    overflow: hidden;
}

.bg-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    user-select: none;
    pointer-events: none;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-title {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 0.6em;
    letter-spacing: 0.01em;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 2rem);
    font-weight: 400;
    opacity: .95;
}

@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        width: 180px;
        background: #111;
        display: none;
    }
    .nav-links li {
        margin: 12px 0;
    }
    .navbar {
        flex-wrap: wrap;
    }
    .menu-toggle:checked + .menu-icon + .nav-links {
        display: flex;
    }
    .menu-icon {
        display: block;
        color: #fff;
        font-size: 29px;
        cursor: pointer;
        margin-left: auto;
    }
}

/* Corrección para evitar scroll horizontal */
html, body {
    width: 100vw;
    overflow-x: hidden;
}

/* Limitar el alto de la imagen en pantallas altas grandes */
@media (min-width: 1000px) {
    .hero-bg {
        max-height: 900px;
    }
}
.video-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    padding: 64px 8vw 64px 8vw;
    max-width: 1200px;
    margin: 0 auto;
}

.video-col {
    flex: 1.2;
    min-width: 260px;
    max-width: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-col video {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 6px 32px rgba(0,0,0,0.15);
    background: #111;
}

.info-col {
    flex: 1;
    color: #fff;
    padding: 22px 0 22px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 18px;
    font-weight: 700;
    line-height: 1.18;
}

.video-description {
    font-size: clamp(1.1rem, 2.1vw, 1.4rem);
    line-height: 1.55;
    opacity: .96;
}

/* Hacer responsive para pantallas medianas y móviles */
@media (max-width: 900px) {
    .video-section {
        flex-direction: column;
        padding: 40px 4vw;
        gap: 28px;
    }
    .video-col, .info-col {
        max-width: 100%;
        padding: 0;
    }
    .info-col {
        align-items: center;
        text-align: center;
    }
}
.contacto-calendario {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 48px;
  max-width: 1200px;
  margin: 64px auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.10);
  padding: 40px 6vw;
  flex-wrap: wrap;
}

.contact-form-container, .calendar-container {
  flex: 1 1 310px;
  min-width: 270px;
  max-width: 450px;
}

.contact-form-container h2,
.calendar-container h2 {
  color: #095064;
  margin-bottom: 14px;
  font-size: 1.4rem;
  font-weight: bold;
}

form#contacto-form .form-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}

form#contacto-form label {
  margin-bottom: 6px;
  color: #222;
  font-size: 1rem;
}

form#contacto-form input,
form#contacto-form textarea {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 11px 12px;
  font-size: 1rem;
  background: #f8f8f8;
  color: #222;
  outline: none;
  transition: border-color 0.2s;
}

form#contacto-form input:focus,
form#contacto-form textarea:focus {
  border-color: #095064;
}

form#contacto-form button {
  background: #095064;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

form#contacto-form button:hover {
  background: #023845;
}

.calendar-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.calendar-container input#datepicker {
  margin-bottom: 22px;
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background: #f8f8f8;
  color: #222;
  transition: border-color 0.2s;
}

.calendar-container button#agendar-google {
  background: #228b22;
  color: #fff;
  border: none;
  padding: 12px 22px;
  border-radius: 5px;
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.calendar-container button#agendar-google:disabled {
  background: #999;
  cursor: not-allowed;
}

#msg-fechas-tomadas {
  color: #ca0000;
  font-weight: 500;
  margin-top: 8px;
  min-height: 24px;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .contacto-calendario {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
    padding: 30px 2vw;
  }
  .contact-form-container, .calendar-container {
    max-width: 100%;
  }
}
/* Pie de página */
.footer {
    background: #095064; /* Color de fondo como los botones */
    color: #fff; /* Color del texto como en los botones */
    padding: 20px 0;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 40px;
}

.footer p {
    margin: 0;
}

.calendar-container iframe {
    border-radius: 12px; /* Bordes redondeados */
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2); /* Sombras para destacar */
}

/* Responsividad para el iframe */
@media (max-width: 768px) {
    .calendar-container iframe {
        height: 300px; /* Reduce el alto para dispositivos pequeños */
    }
}