/* ==================================================
   RESET BÁSICO
================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #222;
  background: #ffffff;
}

/* ==================================================
   ENLACES
================================================== */
a {
  color: #0b5ed7;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ==================================================
   HEADER / NAV
================================================== */
header {
  width: 100%;
  border-bottom: 1px solid #ddd;
  background: #fff;
}

/* CONTENEDOR PRINCIPAL */
.nav-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

/* LOGO */
.nav-left img {
  max-width: 175px;
  height: auto;
}

/* BLOQUE DERECHO */
.nav-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

/* TELÉFONO */
.nav-phone {
  font-weight: bold;
  font-size: 16px;
  white-space: nowrap;
}

/* BOTÓN HAMBURGUESA */
.nav-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

/* MENÚ PC */
.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-menu li {
  white-space: nowrap;
}

/* ==================================================
   HERO
================================================== */
#hero {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f4f6f9, #ffffff);
  border-bottom: 1px solid #ddd;
  text-align: center;
}

#hero h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

#hero h2 {
  font-size: 1.3rem;
  font-weight: normal;
  margin-bottom: 20px;
  color: #444;
}

#hero p {
  max-width: 900px;
  margin: 0 auto 15px;
}

#hero ul {
  list-style: none;
  margin: 20px 0;
}

#hero li {
  margin-bottom: 6px;
}

/* CTA */
#hero a[href^="tel"] {
  display: inline-block;
  background: #0b5ed7;
  color: #fff;
  padding: 12px 22px;
  margin-right: 10px;
  border-radius: 4px;
  font-weight: bold;
}

#hero a[href^="tel"]:hover {
  background: #084298;
  text-decoration: none;
}

#hero a[href^="#"] {
  display: inline-block;
  border: 2px solid #0b5ed7;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: bold;
}

#hero a[href^="#"]:hover {
  background: #0b5ed7;
  color: #fff;
  text-decoration: none;
}

/* ==================================================
   CONTENIDO GENERAL
================================================== */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

main section {
  padding: 40px 0;
  border-bottom: 1px solid #eee;
}

main section:last-child {
  border-bottom: none;
}

main h2 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

main h3 {
  font-size: 1.2rem;
  margin: 20px 0 8px;
}

main p,
main ul {
  max-width: 900px;
  margin: 0 auto 12px;
}

/* ==================================================
   BLOQUE VIDEO + TEXTO (CENTRADO REAL)
================================================== */
.section-grid{
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 60px 20px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;

  align-items: center;
  justify-items: center; /* clave: centra los items dentro de cada columna */
  text-align: center;
}

.section-grid .grid-title{
  margin: 0;
}

.section-grid video,
.section-grid .video{
  width: 100%;
  max-width: 480px;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

@media (max-width: 768px){
  .section-grid{
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 40px 15px;
  }
}


/* ==================================================
   FORMULARIO
================================================== */
#formulario {
  max-width: 700px;
  margin: 0 auto;
}

#formulario input,
#formulario textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

#formulario button {
  padding: 10px 20px;
  background: #0b5ed7;
  color: #fff;
  border: none;
  cursor: pointer;
}

#formulario button:hover {
  background: #084298;
}

/* ==================================================
   FOOTER
================================================== */
footer {
  background: #f2f2f2;
  padding: 30px 20px;
  font-size: 0.9rem;
}

footer section {
  margin-bottom: 20px;
}

footer ul {
  list-style: none;
}

footer li {
  margin-bottom: 6px;
}

/* ==================================================
   WHATSAPP FLOTANTE
================================================== */
#ventana-flotanteW {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999999;
}

#ventana-flotanteW img {
  width: 56px;
}

/* ==================================================
   RESPONSIVE
================================================== */
@media (max-width: 768px) {

  /* HEADER */
  .nav-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-right {
    width: 100%;
    align-items: flex-start;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    width: 100%;
  }

  .nav-menu.open {
    display: block;
  }

  .nav-menu ul {
    flex-direction: column;
    width: 100%;
  }

  .nav-menu li {
    padding: 12px 0;
    border-top: 1px solid #ddd;
  }

  /* HERO */
  #hero h1 {
    font-size: 1.8rem;
  }

  #hero h2 {
    font-size: 1.1rem;
  }

  #hero a {
    display: block;
    margin-bottom: 10px;
  }

  /* GRID */
  .section-grid {
    grid-template-columns: 1fr;
  }

  /* WHATSAPP */
  #ventana-flotanteW {
    bottom: 16px;
    left: 16px;
  }

  #ventana-flotanteW img {
    width: 52px;
  }
}
/* =========================================
   BLOQUE VIDEO + TÍTULO (VERTICAL CENTRADO)
========================================= */

.section-video{
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 0 20px;
  text-align: center;
}

.section-video .video-title{
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.section-video .video-title a{
  text-decoration: none;
  color: #0b5ed7;
}

.section-video video{
  width: 100%;
  max-width: 520px;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

/* MÓVIL */
@media (max-width: 768px){
  .section-video{
    padding: 0 15px;
  }

  .section-video .video-title{
    font-size: 1.5rem;
  }
}
/* =====================================
   FORMULARIO – IMAGEN RESPONSIVE
===================================== */

.reserve-info img {
  width: 100%;
  height: auto !important;   /* evita deformación */
  max-width: 100%;
  display: block;
  border-radius: 8px;
}

/* Contenedor imagen */
.reserve-info .embed-responsive {
  width: 100%;
  overflow: hidden;
}

/* Ajuste móvil */
@media (max-width: 768px) {

  .reserve-info img {
    height: auto !important;
    max-height: none;
  }

}@media (max-width:768px){

  .reserve-info .row{
    display:flex;
    flex-direction:column;
  }

  .reserve-info .col-sm-7,
  .reserve-info .col-sm-4{
    width:100%;
  }

}