/*
 * Base CSS (Mobile-First)
 * Estos estilos se aplican por defecto a todos los tamaños de pantalla,
 * comenzando por los dispositivos móviles.
 */

/* Define el tamaño base para 'rem'. 1rem = 16px por defecto. */
html {
    font-size: 16px;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #545454;
    -webkit-font-smoothing: antialiased;
    font-size: 1.2rem; /* Equivalente a 16px. Asegura una base legible. */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    /* Line-height ajustado para encabezados, mejora la legibilidad en varias líneas */
    line-height: 1.2;
}

/* Tamaños de fuente para móviles (base) */
h1 { font-size: 2rem; } /* Aproximadamente 35.2px */
h2 { font-size: 1.8rem; } /* Aproximadamente 28.8px */
h3 { font-size: 1.6rem; } /* Aproximadamente 25.6px */
h4 { font-size: 1.4rem; } /* Aproximadamente 22.4px */
h5 { font-size: 1.2rem; } /* Aproximadamente 19.2px */
h6 { font-size: 1rem; }   /* Aproximadamente 16px */


p {
    margin: 0;
    padding: 0;
    color: #333;
    font-size: 1.8rem; /* Asegura un tamaño legible en móviles (16px) */
    line-height: 1.6; /* Mejora la legibilidad de los párrafos */
}

a {
    text-decoration: none;
    color: #0165AF;
}

a:hover {
    text-decoration: none;
    color: #0000FF;
	text-decoration: underline;
}

a:hover, a:active, a:focus {
    outline: 0;
}

:focus {
    outline: none;
}

::-moz-focus-inner {
    border: 0;
}

.imgbaner {
    text-align: center;
}

img {
    max-width: 100%;
    height: auto;
}




/* Basic CSS ends */

header .navbar {
    margin: 0;
    background: #ffffff;
    border-radius: 0;
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 15px rgba(0, 0, 0, 0.2);
}






/* Ajustes para enlaces de navegación en móvil */
header .navbar-default .navbar-nav>li>a {
    margin: 10px 3px; /* Espaciado más compacto para móvil */
    padding-top: 6px;
    color: #362D28;
    padding-bottom: 6px;
    border-radius: 2px;
}

header .navbar-default .navbar-nav>li>a:hover,
header .navbar-default .navbar-nav>li>a:focus,
header .navbar-default .navbar-nav>li.open>a:hover,
header .navbar-default .navbar-nav>li.open>a:focus {
    background: #e5e5e5;
}

header .navbar-nav .dropdown-menu {
    top: 57px;
    border-radius: 3px;
    /* En móvil, las flechas del dropdown suelen ocultarse */
}

header .navbar-nav .dropdown-menu:after,
header .navbar-nav .dropdown-menu:before {
    display: none; /* Ocultar flechas de dropdown en móvil por defecto */
}

header .navbar-brand {
    padding: 0;
    height: auto;
}

header .navbar-brand img {
    position: relative;
    top: 3px; /* Ajustado para móvil */
    max-width: 180px; /* Tamaño del logo en móvil */
}

/* Banner */
.banner {
    background: #ffffff;
    padding-top: 20px;
    padding-bottom: 30px;
}

header .navbar-default .navbar-toggle .icon-bar {
  background-color: #362D28;
}

/* Tamaños de fuente del banner para móvil */
.banner h1 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.6rem; /* Aproximadamente 32px */
    line-height: 1.2;
    color: #583E2C;
    text-align: center;
	font-weight: 550;
}
.banner h2 {
    margin-top: 0;
    margin-bottom: 0;
	margin: 10px 0;
    font-size: 1.4rem; /* Aproximadamente 27.2px */
    line-height: 1.3;
    color: #864F17;
    text-align: center;
	font-weight: 600;
}
.banner h3 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.3rem; /* Aproximadamente 24px */
    line-height: 1.3;
    color: #422100;
    text-align: center;
	font-weight: 600;
}
.banner h4 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.2rem; /* Aproximadamente 20.8px */
    line-height: 1.4;
    color: #6F4E37;
    text-align: center;
	font-weight: 600;
}
.banner h5 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.1rem; /* Aproximadamente 17.6px */
    line-height: 1.5;
    color: #6F4E37;
    text-align: center;
	font-weight: 600;
}

.banner p,
.banner .row {
	max-width: 100%;
	margin: 0 auto;
    margin-top: 10px;
    font-size: 0.95rem; /* Ligeramente más pequeño que el párrafo base, pero legible */
    line-height: 1.6;
	color: #333;
	letter-spacing: 0.055em;
}

.banner ul {
    max-width: 100%;
    margin: 0 auto;
    margin-top: 10px;
    padding-left: 20px;
    color: #333;
    list-style-type: disc;
}

.banner li {
    margin-bottom: 10px;
    line-height: 1.5;
    font-size: 0.95rem; /* Consistente con banner p */
    color: #333;
}

.banner .subtitulo {
    font-size: 1em; /* Quizás más grande aún para el banner */
    color: #333; /* Un color diferente, como amarillo, para que resalte */
    text-align: center;
    /* ...otras propiedades específicas para el subtítulo del banner */
}

.imgmedio {
    text-align: center;
}

/* after banner content */
.after-banner {
    padding-top: 5px;
}

.after-banner .ab-item {
    max-width: 360px;
    margin: 0 auto;
    margin-top: 30px;
}

.after-banner .ab-item h2 {
    margin-top: 0;
    font-size: 1.5rem; /* Aproximadamente 24px */
    color: #A9631D;
}

.after-banner .ab-item p {
    font-size: 0.9rem; /* Aproximadamente 14.4px */
    line-height: 1.6;
    letter-spacing: 0.025em;
}

/* default heading */
.default-heading {
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center; /* Centrado por defecto en móvil */
}
.default-heading h2 {
    margin-top: 0;
    font-size: 1.6rem; /* Aproximadamente 25.6px */
    color: #795f04;
    font-weight: 400;
}

/* footer */
footer {
    margin-top: 10px;
    padding: 10px 0;
    background: #362D28;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}
footer.ffoot {
    margin-top: 0;
}
footer p {
    font-size: 0.85rem; /* Aproximadamente 13.6px */
    line-height: 1.8;
    color: #ffffff;
}
footer p a {
    font-size: 0.9rem; /* Aproximadamente 14.4px */
    line-height: 1.8;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    color: #FF6600;
}
footer p a:hover {
    color: #a93c01;
}

footer .social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 5px 4px;
  width: 45px;
  height: 45px;
  background: #0099CC;
  font-size: 20px;
  border-radius: 50%;
  color: #FFF; /* color del ícono */
  transition: all 0.3s ease;
  text-decoration: none;
  border: 1px solid #333;
}

footer .social a:hover {
  background: #0066CC;
  color: #0099CC;
  border-color: #0066CC;
}

footer .social a i {
  pointer-events: none; /* asegura que el click se aplique al <a> */
}

footer .texto-bajo {
    margin-top: 5px;
	color: #CCCCCC;
}

/* Google Maps Responsive */
.google-maps {
    aspect-ratio: 9 / 7;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}
.google-maps iframe {
    width: 100%;
    height: 100%;
    border: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.boton-centro {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.btn {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    font-size: 1rem; /* Asegura un buen tamaño para el botón en móvil */
}

.btn:hover {
    background-color: #0056b3;
}

.divider-custom {
  margin: 1.25rem 0 1.5rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.divider-custom .divider-custom-line {
  width: 100%;
  max-width: 7rem;
  height: 0.25rem;
  background-color: #666600;
  border-radius: 1rem;
  border-color: #666600;
}
.divider-custom .divider-custom-line:first-child {
  margin-right: 1rem;
}
.divider-custom .divider-custom-line:last-child {
  margin-left: 1rem;
}
.divider-custom .divider-custom-icon {
  color: #666600;
  font-size: 1rem;
}
.divider-custom.divider-light .divider-custom-line {
  background-color: #fff;
}
.divider-custom.divider-light .divider-custom-icon {
  color: #fff;
}




/*
 * Responsive CSS (Mobile-First approach with min-width)
 * Estos estilos sobrescriben los estilos base a partir de ciertos anchos de pantalla.
 */

/* Pequeñas tablets y móviles grandes (desde 481px y más) */
@media (min-width: 481px) {
    /* Puedes ajustar el tamaño del logo un poco aquí si lo deseas */
    header .navbar-brand img { max-width: 220px; }
}

/* Tablets (desde 768px y más) */
@media (min-width: 768px) {
    /* Ajustes de Navbar para tablets/desktop */
    header .navbar-brand img { max-width: 270px; top: 5px; } /* Restaurar tamaño desktop para logo */
    header .navbar-default .navbar-nav>li>a {
        margin: 18px 3px; /* Restaurar margen original para desktop */
    }
    header .navbar-nav .dropdown-menu:after,
    header .navbar-nav .dropdown-menu:before {
        display: block; /* Mostrar las flechas del dropdown */
    }
    header .navbar-nav .dropdown-menu li a { color: #362D28 !important; } /* Ajusta el color del menú */

    /* Oculta el botón de menú hamburguesa y sus estilos si usas un menú no colapsable */
    header .navbar-default .navbar-toggle,
    header .navbar-default .navbar-toggle:hover,
    header .navbar-default .navbar-toggle:focus {
        display: none;
    }
    /* Asegúrate de que el colapso del navbar se muestre siempre en desktop */
    header .navbar-collapse.collapse {
        display: block !important;
        height: auto !important;
        padding-bottom: 0;
        overflow: visible !important;
    }

    .default-heading {text-align: left;} /* Alinear a la izquierda en pantallas más grandes */

    /* Aumenta los tamaños de fuente para tablets */
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.2rem; }
    h5 { font-size: 1.1rem; }
    p { font-size: 1.05rem; }
    .banner h1 { font-size: 1.8rem; }
    .banner h2 { font-size: 1.5rem; }
    .banner h3 { font-size: 1.3rem; }
    .banner h4 { font-size: 1.2rem; }
    .banner h5 { font-size: 1.1rem; }
    .banner p, .banner ul, .banner li { font-size: 1rem; }
    .after-banner .ab-item h2 { font-size: 1.8rem; }
    .after-banner .ab-item p { font-size: 0.95rem; }
    .default-heading h2 { font-size: 2.2rem; }
    footer p { font-size: 0.9rem; }
    footer p a { font-size: 0.95rem; }
    .btn { font-size: 1.05rem; }
}

/* Desktop (desde 992px y más) */
@media (min-width: 992px) {
    /* Aumenta aún más los tamaños de fuente para desktop */
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.2rem; }
    h5 { font-size: 1.1rem; }
    p { font-size: 1.1rem; }
    .banner h1 { font-size: 1.8rem; }
    .banner h2 { font-size: 1.5rem; }
    .banner h3 { font-size: 1.3rem; }
	.banner h4 { font-size: 1.2rem; }
    .banner h5 { font-size: 1.1rem; }
    .banner p, .banner ul, .banner li { font-size: 1.05rem; }
    .after-banner .ab-item h2 { font-size: 1.5rem; }
    .after-banner .ab-item p { font-size: 1rem; }
    .default-heading h2 { font-size: 1.5rem; }
    footer p { font-size: 1rem; }
    footer p a { font-size: 1.05rem; }
    .btn { font-size: 1.1rem; }
}




.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

.gallery-item {
  aspect-ratio: 4 / 3; /* Relación de aspecto horizontal estándar */
  overflow: hidden;
  border-radius: 8px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-item img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

    /* Lightbox */
    .lightbox {
      display: none;
      position: fixed;
      top: 0; left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0, 0, 0, 0.9);
      justify-content: center;
      align-items: center;
      flex-direction: column;
      z-index: 1000;
    }

    .lightbox.active {
      display: flex;
    }

    .lightbox img {
      max-width: 90%;
      max-height: 80vh;
      border-radius: 10px;
      box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    }

    /* Close Button */
    .close {
      position: absolute;
      top: 20px;
      right: 30px;
      background: none;
      border: none;
      cursor: pointer;
      z-index: 1001;
    }

    .close svg {
      stroke: #fff;
      width: 32px;
      height: 32px;
      transition: stroke 0.2s ease, transform 0.2s ease;
    }

    .close:hover svg {
      stroke: #ff5555;
      transform: scale(1.1);
    }

    /* Navigation */
    .lightbox-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      font-size: 40px;
      color: white;
      cursor: pointer;
      user-select: none;
      padding: 10px;
      z-index: 1001;
    }

    .lightbox-nav.left {
      left: 30px;
    }

    .lightbox-nav.right {
      right: 30px;
    }

    @media (max-width: 600px) {
      .lightbox img {
        max-height: 60vh;
      }

      .lightbox-nav {
        font-size: 28px;
      }

      .close svg {
        width: 28px;
        height: 28px;
      }
    }
	
	

.contacto {
  max-width: 480px;
  margin: 2rem auto;
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-family: sans-serif;
}

.contacto h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.contacto label {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
}

.contacto input,
.contacto textarea {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  box-sizing: border-box;
}

.contacto textarea {
  min-height: 120px;
  resize: vertical;
}

.contacto button {
  margin-top: 1.5rem;
  width: 100%;
  padding: 0.75rem;
  background: #0099CC;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
}

.contacto button:hover {
  background: #2c3e50;
}

@media (max-width: 600px) {
  .contacto {
    padding: 1rem;
    margin: 1rem;
  }
}

.cont {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-0.5 * var(--bs-gutter-x));
  margin-left: calc(-0.5 * var(--bs-gutter-x));
}
.cont > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-top: var(--bs-gutter-y);
}

.whatsapp-flotante {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #25D366;
  padding: 10px 15px;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  text-decoration: none;
  color: white;
  font-family: Arial, sans-serif;
  transition: background-color 0.3s;
}

.whatsapp-flotante:hover {
  background-color: #1ebe57;
}

.whatsapp-flotante img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.whatsapp-texto {
  font-size: 16px;
  font-weight: bold;
}

/* En móvil, ocultamos el texto y redondeamos el fondo */
@media (max-width: 600px) {
  .whatsapp-texto {
    display: none;
  }

  .whatsapp-flotante {
    padding: 10px;
    border-radius: 50%;
  }
}

.linea-con-icono {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
  color: #666600;
}

.linea-con-icono::before,
.linea-con-icono::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #666600;
  margin: 0 12px;
}