:root {
  --font-primary: 'Inter', Arial, sans-serif;
  --font-heading: 'Poppins', 'Inter', Arial, sans-serif;
  --color-bg: #f8f9fa;
  --color-white: #fff;
  --color-beige: #f5ede3;
  --color-blue: #e3f0fa;
  --color-accent: #3a6ea5;
  --color-text: #222;
  --color-muted: #888;
  --border-radius: 12px;
  --transition: 0.2s cubic-bezier(.4,0,.2,1);
}

body {
  font-family: var(--font-primary);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 1rem;
  min-height: 100vh;
}

.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--color-white);
  box-shadow: 0 2px 12px rgba(60, 80, 120, 0.07);
  z-index: 100;
  padding: 0.5em 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 700;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2em;
}

.nav-links li a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color var(--transition);
}

.nav-links li a:hover {
  color: var(--color-accent);
}

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  padding: 3em 0 4em 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* background: url('hero-bg.jpg') center/cover no-repeat; */
  background: #e3f0fa; /* fallback color */
  filter: brightness(0.7) blur(1px);
  z-index: 1;
}

.hero-card {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 8px 32px rgba(60, 80, 120, 0.13);
  border-radius: 24px;
  padding: 3em 2em;
  max-width: 480px;
  text-align: center;
  margin: 2em 1em;
  border: 1px solid #f0f0f0;
}

.hero-card h1 {
  font-size: 2.7rem;
  margin-bottom: 0.5em;
}

.hero-card .subtitle {
  font-size: 1.25rem;
  color: var(--color-muted);
  margin-bottom: 2em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.9em 2.2em;
  font-size: 1.1rem;
  font-family: var(--font-heading);
  border: none;
  border-radius: 30px;
  background: var(--color-accent);
  color: var(--color-white);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 2px 8px rgba(58,110,165,0.08);
  font-weight: 600;
}

.btn:hover, .btn:focus {
  background: #28517a;
  transform: translateY(-2px) scale(1.03);
}

.divider {
  width: 100%;
  height: 32px;
  background: linear-gradient(90deg, var(--color-beige) 0%, var(--color-blue) 100%);
  opacity: 0.25;
  margin: 0 auto;
}

.card-section {
  background: var(--color-white);
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(60, 80, 120, 0.07);
  margin-bottom: 2.5em;
  padding: 3em 0 2em 0;
}

h2 {
  font-size: 2.1rem;
  margin-top: 0;
  margin-bottom: 1.2em;
  display: flex;
  align-items: center;
  gap: 0.7em;
}

.accent-line {
  display: inline-block;
  width: 32px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 2px;
  margin-right: 0.5em;
}

.icon-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1em;
}

.icon-list li {
  margin-bottom: 1.1em;
  font-size: 1.13rem;
  display: flex;
  align-items: center;
  gap: 0.8em;
  color: var(--color-text);
}

.icon-list i {
  color: var(--color-accent);
  font-size: 1.3em;
  min-width: 1.5em;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2em;
  margin-top: 1.5em;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 16px;
  background: var(--color-beige);
  box-shadow: 0 2px 12px rgba(60, 80, 120, 0.09);
  transition: transform 0.18s cubic-bezier(.4,0,.2,1), box-shadow 0.18s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 24px rgba(58,110,165,0.13);
}

.about p {
  font-size: 1.18rem;
  color: var(--color-text);
  margin-top: 0.5em;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.location .map-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  margin-top: 1em;
  box-shadow: 0 1px 8px rgba(60, 80, 120, 0.08);
}

.location .map-responsive iframe {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  border: 0;
  border-radius: 16px;
}

.location .address {
  margin-top: 1em;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.contact-info {
  margin-top: 1.2em;
  font-size: 1.1rem;
}

.contact-info a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

.contact-info a:hover {
  color: #28517a;
  text-decoration: underline;
}

.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 16px rgba(60, 80, 120, 0.18);
  z-index: 200;
  transition: background 0.18s cubic-bezier(.4,0,.2,1), transform 0.18s cubic-bezier(.4,0,.2,1);
}

.floating-whatsapp:hover {
  background: #128c7e;
  transform: scale(1.08);
}

footer {
  background: var(--color-beige);
  text-align: center;
  padding: 1.5em 0;
  font-size: 1rem;
  color: var(--color-muted);
  border-radius: 24px 24px 0 0;
  margin-top: 2em;
  box-shadow: 0 -2px 8px rgba(60, 80, 120, 0.04);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2em 1em;
}

/* Hero Slider Styles */
.hero-slider {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
  background: #fff; /* Fondo blanco para el carrusel */
}
.hero-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}
.hero-slide img {
  width: 100vw;
  height: 70vh;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  filter: brightness(0.85) saturate(1.1);
  box-shadow: none;
}
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.7);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-accent);
  box-shadow: 0 2px 8px rgba(60, 80, 120, 0.10);
  cursor: pointer;
  z-index: 4;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  pointer-events: auto;
}
.hero-slider-arrow.left { left: 24px; }
.hero-slider-arrow.right { right: 24px; }
.hero-slider-arrow:hover, .hero-slider-arrow:focus {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(60, 80, 120, 0.18);
}
@media (max-width: 900px) {
  .hero-slide img {
    height: 45vw;
    min-height: 220px;
    max-height: 340px;
  }
  .hero-slider-arrow.left { left: 8px; }
  .hero-slider-arrow.right { right: 8px; }
}
@media (max-width: 600px) {
  .hero-slide img {
    height: 38vw;
    min-height: 120px;
    max-height: 200px;
  }
  .hero-slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
}
/* Ensure hero-card overlays slider */
.hero-card {
  z-index: 5;
  position: relative;
}

@media (max-width: 900px) {
  .container {
    padding: 2em 2vw;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .hero-card { padding: 2em 0.7em; }
  .card-section { padding: 2em 0 1.2em 0; }
}

@media (max-width: 700px) {
  .nav-links {
    gap: 1em;
    font-size: 1rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-card {
    padding: 1.2em 0.3em;
    max-width: 98vw;
  }
  .card-section {
    border-radius: 0;
    margin-bottom: 1.2em;
    padding: 1.2em 0 0.7em 0;
  }
  footer {
    border-radius: 0;
  }
  .floating-whatsapp {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
    bottom: 16px;
    right: 16px;
  }
}

/* Lightbox styles for gallery zoom */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(30, 40, 60, 0.92);
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox[style*="display: flex"] {
  display: flex !important;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(60, 80, 120, 0.25);
  animation: lightbox-zoom 0.3s cubic-bezier(.4,0,.2,1);
  background: var(--color-white);
}
@keyframes lightbox-zoom {
  from { transform: scale(0.85); opacity: 0.5; }
  to { transform: scale(1); opacity: 1; }
}
.lightbox-close {
  position: absolute;
  top: 32px;
  right: 48px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  z-index: 10001;
  background: rgba(30,40,60,0.2);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s;
}
.lightbox-close:hover {
  background: var(--color-accent);
  color: #fff;
}
@media (max-width: 600px) {
  .lightbox-img {
    max-width: 98vw;
    max-height: 60vh;
  }
  .lightbox-close {
    top: 12px;
    right: 12px;
    font-size: 2rem;
    width: 36px;
    height: 36px;
  }
}

/* Contact Form Styles */
.contact-form {
  max-width: 600px;
  margin: 0 auto 2em auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5em;
  margin-bottom: 1.5em;
}

.form-group {
  margin-bottom: 1.5em;
}

.form-group label {
  display: block;
  margin-bottom: 0.5em;
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9em 1em;
  border: 2px solid #e1e5e9;
  border-radius: 12px;
  font-family: var(--font-primary);
  font-size: 1rem;
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(58, 110, 165, 0.1);
}

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

/* Checkbox styling */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.8em;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--color-text);
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
  cursor: pointer;
}

/* Form success message */
.form-success {
  text-align: center;
  padding: 2em;
  background: #f0f9ff;
  border: 2px solid #0ea5e9;
  border-radius: 16px;
  margin: 2em auto;
  max-width: 500px;
}

.form-success i {
  font-size: 3rem;
  color: #0ea5e9;
  margin-bottom: 1em;
}

.form-success h3 {
  color: var(--color-text);
  margin-bottom: 0.5em;
}

.form-success p {
  color: var(--color-muted);
  margin: 0;
}

/* Contact alternatives */
.contact-alternatives {
  text-align: center;
  margin-top: 2em;
  padding-top: 2em;
  border-top: 1px solid #e1e5e9;
}

.contact-alternatives h3 {
  margin-bottom: 1em;
  color: var(--color-text);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  margin-bottom: 1em;
}

.btn-secondary:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

/* Responsive form styles */
@media (max-width: 700px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 1em;
  }
  
  .contact-form {
    margin: 0 auto 1.5em auto;
  }
  
  .form-group {
    margin-bottom: 1.2em;
  }
}

/* --- NAVBAR RESPONSIVA --- */
@media (max-width: 700px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100vw;
    background: #fff;
    box-shadow: 0 2px 12px rgba(60, 80, 120, 0.07);
    z-index: 1000;
    padding: 1em 0;
    gap: 1.5em;
  }
  .nav-links.open {
    display: flex;
  }
  .navbar .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-accent);
    margin-left: 1em;
    cursor: pointer;
    z-index: 1100;
  }
  .logo {
    font-size: 1.1rem;
    gap: 0.3em;
  }
}

/* Ocultar botón hamburguesa en desktop */
.menu-toggle {
  display: none;
}

/* --- HERO CARD Y BOTÓN EN MÓVIL --- */
@media (max-width: 700px) {
  .hero-card {
    padding: 1.2em 0.3em;
    max-width: 98vw;
    font-size: 1rem;
  }
  .hero-card h1 {
    font-size: 1.5rem;
  }
  .hero-card .subtitle {
    font-size: 1rem;
  }
  .btn {
    font-size: 1rem;
    padding: 0.7em 1.2em;
  }
}

/* --- HERO SLIDER IMÁGENES EN MÓVIL --- */
@media (max-width: 700px) {
  .hero-slide img {
    width: 100vw;
    height: 100%;
    min-height: 180px;
    max-height: 320px;
    object-fit: cover;
    display: block;
  }
}

/* --- HERO SLIDER IMÁGENES GENERAL --- */
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  filter: brightness(0.85) saturate(1.1);
  box-shadow: none;
  display: block;
}

/* --- ELIMINAR SCROLL HORIZONTAL --- */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

@media (max-width: 700px) {
  .hero {
    padding: 0;
    min-height: unset;
    height: 270px;
    position: relative;
  }
  .hero-slider, .hero-slide, .hero-slide img {
    height: 270px !important;
    min-height: 180px;
    max-height: 320px;
  }
  .hero-card {
    margin: 0 auto;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    padding: 0.3em 0.2em;
    max-width: 80vw;
    min-width: 0;
    font-size: 0.95rem;
    box-shadow: 0 4px 16px rgba(60, 80, 120, 0.10);
  }
  .hero-card h1 {
    font-size: 1rem;
    margin-bottom: 0.2em;
  }
  .hero-card .subtitle {
    font-size: 0.9rem;
    margin-bottom: 0.7em;
  }
  .btn {
    font-size: 0.9rem;
    padding: 0.4em 0.7em;
  }
}