
/* ====== GLOBAL ====== */
html {
  scroll-behavior: smooth;
}
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}

/* ====== NAVBAR ====== */
/* ====== NAVBAR ====== */

/* ====== LANGUAGE FLOATING BUTTONS ====== */
.lang-floating {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 1000;
}
.lang-floating a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
  transition: transform .2s ease, border .2s;
}
.lang-floating a.active {
  border: 2px solid #333;
}
.lang-floating a:hover {
  transform: scale(1.1);
}
.lang-floating img {
  width: 24px;
  height: 24px;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 1002;
}

/* ====== NAV LINKS ====== */
.nav-links {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1001;
}
.nav-links ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: #fff;
  font-weight: 700;
}

/* ====== RESPONSIVE NAVBAR ====== */
@media (max-width: 768px) {
  /* 1. Mostrar el toggle */
  .menu-toggle {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.6);
    padding: 8px 12px;
    border-radius: 4px;
  }

  /* 2. Ocultar todo el nav-links */
  .nav-links {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    width: 240px;
    height: 100vh;
    background: rgba(0,0,0,0.9);
    flex-direction: column;
    padding-top: 60px; /* deja espacio para el header */
  }

  /* 3. Al tener .open, mostrar nav-links */
  .nav-links.open {
    display: flex;
  }

  /* 4. Ajustar la lista dentro */
  .nav-links ul {
    flex-direction: column;
    gap: 0;
  }
  .nav-links ul li {
    margin: 0;
  }
  .nav-links ul li a {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }
}

.lang-floating {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 1000;
}
.lang-floating img {
  width: 24px;
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: pointer;
}
.slogan {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.1);
  padding: 10px 20px;
  border-radius: 8px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  font-size: 1.5rem;
}

/* ====== ABOUT ====== */
.about-section {
  padding: 60px 20px;
  background: #fff;
}
.about-section h2 {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #333;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}
.about-grid img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.about-grid p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ====== SERVICES ====== */
.services {
  padding: 60px 20px;
  background: url('18.png') center/cover no-repeat;
}
.services h2 {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.service-card {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  padding: 20px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.service-icon {
  width: 48px;
  height: 48px;
}
.service-card span {
  color: #fff;
  font-weight: 500;
}

/* ====== EMOTIONAL ====== */
.emotional-section {
  padding: 60px 20px;
  background: #fff8f2;
}
.emotional-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.emotional-image {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.emotional-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  padding: 10px 20px;
}

/* ====== GALLERY ====== */
.gallery-section {
  padding: 60px 20px;
  background: url('18.png') center/cover no-repeat;
}
.gallery-section h2 {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.gallery-item {
  overflow: hidden;
  border-radius: 12px;
}
.gallery-item img {
  width: 100%;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* ====== LIGHTBOX ====== */
.lightbox-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.lightbox-overlay.active {
  display: flex;
}
.lightbox-content {
  position: relative;
  max-width: 90%; max-height: 90%;
}
.lightbox-content img {
  max-width: 100%; max-height: 100%;
  border-radius: 12px;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.5);
  border: none;
  border-radius: 50%;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-close:after { content: '×'; font-size: 24px; color: #333; }
.lightbox-prev:after { content: '‹'; font-size: 24px; color: #333; }
.lightbox-next:after { content: '›'; font-size: 24px; color: #333; }

/* ====== QUOTE ====== */
.quote-section {
  padding: 60px 20px;
  background: url('b.jpg') center/cover no-repeat;
  position: relative;
}
.quote-banner {
  position: absolute;
  top: -20px; left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.9);
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.quote-form {
  max-width: 600px;
  margin: 80px auto 0;
  background: rgba(255,255,255,0.8);
  padding: 20px;
  border-radius: 12px;
}
.quote-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}
.quote-form input, .quote-form textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Roboto', sans-serif;
}
.quote-form button {
  background: #333;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}

/* ====== TESTIMONIALS ====== */
.testimonials-section {
  padding: 60px 20px;
  background: url('1.png') center/cover no-repeat;
  color: #222;
  font-family: 'Playfair Display', serif;
  text-align: center;
}
.testimonials-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #222;
  text-shadow: none;
  text-align: center;
}
.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.testimonial-track-container {
  overflow: hidden;
}
.testimonial-track {
  display: flex;
  width: 500%;
  transition: transform 0.5s ease;
}
.testimonial-item {
  flex: 0 0 20%;
  box-sizing: border-box;
  padding: 20px;
  text-align: center;
}
.testimonial-item img {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}
.testimonial-item p {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: #222;
  margin-bottom: 8px;
}
.stars { color: #444; }
.carousel-btn {
  background: rgba(255,255,255,0.7);
  border: none;
  border-radius: 50%;
  width: 40px; height: 40px;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute; top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.carousel-prev { left: 0; }
.carousel-next { right: 0; }

/* ====== COVERAGE MAP ====== */
.coverage-section {
  padding: 60px 20px;
  background: url('123.jpg') center/cover no-repeat;
}
.coverage-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}
.coverage-map {
  width: 100%; height: 400px;
  border: none;
}

/* ====== CONTACT INFO ====== */
.contact-info-section {
  padding: 60px 20px;
  background: url('123.jpg') center/cover no-repeat;
  text-align: center;
  color: #fff;
}
.contact-info-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}
.contact-info-section p {
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/* ====== FLOATING ACTION BUTTONS ====== */
.floating-buttons {
  position: fixed;
  bottom: 20px; right: 20px;
  display: flex; flex-direction: column; gap: 12px;
  z-index: 3000;
}
.floating-buttons a {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.whatsapp-btn { background: #25D366; }
.call-btn { background: #007aff; }
@media (min-width: 769px) {
  .call-btn { display: none; }
}


/* ====== QUICK QUOTE BUTTON (PINNED LEFT) ====== */
.quote-quick-btn {
  display: block !important;              /* fuerza visibilidad */
  position: fixed !important;             /* siempre flotando */
  bottom: calc(env(safe-area-inset-bottom, 0px) + 80px) !important;
  left: 16px !important;                  /* pegado a la izquierda */
  right: auto !important;                 /* anula cualquier right */
  background: #ff5722 !important;
  color: #fff !important;
  padding: 12px 16px !important;
  border-radius: 24px !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;
  z-index: 9999 !important;
  transition: background 0.3s ease !important;
}
.quote-quick-btn:hover {
  background: #e64a19 !important;
}

/* Ajustes para pantallas muy pequeñas */
@media (max-width: 480px) {
  .quote-quick-btn {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 70px) !important;
    left: 12px !important;
    padding: 10px 14px !important;
    font-size: 0.9rem !important;
  }
  /* Oculta el checkbox en toda pantalla */
.nav-toggle-checkbox {
  display: none;
}

/* Por defecto en desktop: muestra siempre el menú y oculta el toggle */
.menu-toggle { display: none; }
.nav-links { display: flex; }

/* ====== RESPONSIVE (≤768px) ====== */
@media (max-width: 768px) {
  /* Mostrar el “botón” hamburguesa */
  .menu-toggle {
    display: block;
    font-size: 1.8rem;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1002;
  }

  /* Ocultar el menú por defecto */
  .nav-links {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    width: 220px;
    height: 100vh;
    background: rgba(0,0,0,0.9);
    flex-direction: column;
    padding-top: 60px;
    z-index: 1001;
  }
  .nav-links ul {
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
  }
  .nav-links ul li a {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    color: #fff;
  }

  /* Cuando el checkbox esté marcado, muestra el menú */
  .nav-toggle-checkbox:checked ~ .menu-toggle + .nav-links {
    display: flex;
  }
}

}


