/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
}

body {
  min-height: 100vh;
  background: #1a1410;
  color: #f7efe0;
  overflow-x: hidden;
}

/* ===== BARRA SUPERIOR FIJA CON IMAGEN DE FONDO ===== */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-image: url('https://ik.imagekit.io/u08srvey7/Mirador%20Prendas/Dise%C3%B1o%20sin%20t%C3%ADtulo%20(9).png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  border-bottom: 1px solid #b48b4b;
  padding: 0.6rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.top-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 0;
  pointer-events: none;
}

.top-bar > * {
  position: relative;
  z-index: 1;
}

/* ===== SELECTOR DE IDIOMAS - EN LA BARRA SUPERIOR ===== */
.language-selector {
  position: relative;
  display: inline-block;
  list-style: none;
  flex-shrink: 0;
}

.lang-btn {
  background: rgba(30, 22, 16, 0.9);
  border: 1px solid #b48b4b;
  color: #f7efe0;
  padding: 6px 14px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.lang-btn:hover {
  background: rgba(50, 40, 30, 0.95);
  border-color: #dbb36b;
  transform: scale(1.03);
}

.lang-btn i {
  color: #dbb36b;
  font-size: 13px;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(30, 22, 16, 0.96);
  backdrop-filter: blur(14px);
  border: 1px solid #b48b4b;
  border-radius: 20px;
  padding: 0.5rem 0;
  min-width: 200px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 99999;
  list-style: none;
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-dropdown li {
  padding: 10px 20px;
  cursor: pointer;
  color: #eeddcc;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  list-style: none;
}

.lang-dropdown li:hover {
  background: rgba(255, 215, 140, 0.1);
  border-left-color: #dbb36b;
  color: white;
}

.lang-dropdown li .flag {
  font-size: 20px;
  line-height: 1;
}

.lang-dropdown li .lang-name {
  flex: 1;
}

.lang-dropdown li .check {
  color: #dbb36b;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.lang-dropdown li.active .check {
  opacity: 1;
}

.lang-dropdown li.active {
  background: rgba(180, 139, 75, 0.15);
  border-left-color: #dbb36b;
}

/* ===== MENÚ DE NAVEGACIÓN ===== */
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 50px;
  cursor: pointer;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  box-shadow: rgb(0 0 0 / 15%) 0 2px 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 11px;
  transition: all 0.5s ease;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-links a i {
  color: #7a5f3e;
  transition: color 0.5s ease;
  font-size: 12px;
}

.nav-links a:hover {
  letter-spacing: 2px;
  background-color: #6b4c2a;
  color: white;
  box-shadow: rgba(139, 115, 85, 0.5) 0px 7px 29px 0px;
}

.nav-links a:hover i {
  color: white;
}

.nav-links a:active {
  letter-spacing: 2px;
  background-color: #6b4c2a;
  color: white;
  box-shadow: none;
  transform: translateY(6px);
  transition: 100ms;
}

.nav-links a:active i {
  color: white;
}

.nav-links a.active {
  background-color: #6b4c2a;
  color: white;
  box-shadow: rgba(139, 115, 85, 0.5) 0px 7px 29px 0px;
}

.nav-links a.active i {
  color: white;
}

/* ===== CONTENEDOR PRINCIPAL CON PADDING PARA LA BARRA FIJA ===== */
.main-wrapper {
  padding-top: 75px;
}

/* ===== PARALLAX HERO ===== */
.parallax-hero {
  position: relative;
  height: 55vh;
  background: url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?w=1600&auto=format&fit=crop') center/cover fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.parallax-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.parallax-hero .content {
  position: relative;
  z-index: 2;
  animation: fadeIn 1.2s ease;
}

.parallax-hero h1 {
  font-size: 4.5rem;
  font-family: 'Georgia', serif;
  letter-spacing: 4px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

.parallax-hero p {
  font-size: 1.4rem;
  opacity: 0.9;
  margin-top: 0.5rem;
  font-style: italic;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ===== CONTACTO ===== */
.contact-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

/* Info */
.contact-info h2 {
  font-family: 'Georgia', serif;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.contact-info .subtitle {
  opacity: 0.7;
  margin-bottom: 2rem;
  font-style: italic;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.info-item i {
  font-size: 1.6rem;
  color: #b48b4b;
  width: 40px;
  text-align: center;
  margin-top: 0.2rem;
}

.info-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.info-item p {
  opacity: 0.7;
  font-size: 0.95rem;
}

/* ===== REDES SOCIALES ===== */
.social-links {
  margin-top: 2rem;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  max-width: 320px;
}

.social-card {
  width: 90px;
  height: 90px;
  outline: none;
  border: none;
  background: white;
  border-radius: 20px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  transition: .2s ease-in-out;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.social-card i {
  font-size: 2.2rem;
  transition: .2s ease-in-out;
}

.social-card:hover {
  transform: scale(1.1);
}

.social-card .fa-instagram {
  color: #cc39a4;
}
.social-card .fa-x-twitter {
  color: #000000;
}
.social-card .fa-youtube {
  color: #ff0000;
}
.social-card .fa-facebook-f {
  color: #1877f2;
}
.social-card .fa-tiktok {
  color: #000000;
}
.social-card .fa-whatsapp {
  color: #25D366;
}

.social-card:hover {
  background-color: #333;
}

.social-card:hover .fa-instagram {
  color: white;
}
.social-card:hover .fa-x-twitter {
  color: white;
}
.social-card:hover .fa-youtube {
  color: white;
}
.social-card:hover .fa-facebook-f {
  color: white;
}
.social-card:hover .fa-tiktok {
  color: white;
}
.social-card:hover .fa-whatsapp {
  color: white;
}

/* ===== FORMULARIO ===== */
.contact-form {
  background: rgba(30, 22, 16, 0.7);
  backdrop-filter: blur(12px);
  padding: 2.5rem;
  border-radius: 32px;
  border: 1px solid #7a5f3e;
}

.contact-form h3 {
  font-family: 'Georgia', serif;
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}

.contact-form .form-subtitle {
  opacity: 0.7;
  margin-bottom: 1.8rem;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: #d4c0ab;
}

.form-group label i {
  color: #b48b4b;
  margin-right: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1.2rem;
  background: rgba(20, 15, 10, 0.6);
  border: 1px solid #7a5f3e;
  border-radius: 40px;
  color: #f5ede4;
  font-size: 1rem;
  transition: 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #b48b4b;
  box-shadow: 0 0 0 3px rgba(219, 179, 107, 0.2);
}

.form-group textarea {
  border-radius: 24px;
  min-height: 120px;
  resize: vertical;
}

.btn-enviar {
  background: #7a5f3e;
  border: none;
  color: #f7efe0;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.9rem 2.8rem;
  border-radius: 60px;
  cursor: pointer;
  transition: 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #b48b4b;
  font-family: 'Georgia', serif;
}

.btn-enviar:hover {
  background: #9f7a44;
  transform: scale(1.02) translateY(-2px);
  box-shadow: 0 8px 24px rgba(180, 139, 75, 0.3);
}

/* ===== MAPA ===== */
.map-section {
  padding: 0 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.map-section h2 {
  font-family: 'Georgia', serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.map-section .subtitle {
  text-align: center;
  opacity: 0.7;
  margin-bottom: 2rem;
  font-style: italic;
}

.map-container {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid #7a5f3e;
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

/* Botones de navegación del mapa */
.map-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.map-btn-google {
  background: #4285F4;
  color: white;
}

.map-btn-google:hover {
  background: #3367D6;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(66, 133, 244, 0.4);
}

.map-btn-waze {
  background: #33ccff;
  color: white;
}

.map-btn-waze:hover {
  background: #1ab3e6;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(51, 204, 255, 0.4);
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid #7a5f3e;
  color: rgba(220, 200, 170, 0.6);
  font-size: 0.9rem;
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: rgba(30, 22, 16, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid #b48b4b;
  border-radius: 60px;
  padding: 1rem 2rem;
  color: #f7efe0;
  font-size: 1rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
  transform: translateY(120px);
  opacity: 0;
  transition: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 14px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast i {
  color: #b48b4b;
  font-size: 1.4rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    padding: 0.5rem 0.8rem;
    gap: 0.4rem;
  }
  .nav-links {
    justify-content: center;
    gap: 0.3rem;
    flex-wrap: wrap;
    width: 100%;
  }
  .nav-links a {
    padding: 5px 10px;
    font-size: 9px;
    letter-spacing: 0.3px;
  }
  .nav-links a i {
    font-size: 9px;
  }
  .language-selector {
    align-self: flex-end;
  }
  .lang-btn {
    padding: 5px 10px;
    font-size: 10px;
    gap: 4px;
  }
  .lang-btn i {
    font-size: 11px;
  }
  .lang-dropdown {
    min-width: 170px;
    right: -5px;
  }
  .lang-dropdown li {
    font-size: 12px;
    padding: 8px 14px;
    gap: 8px;
  }
  .lang-dropdown li .flag {
    font-size: 17px;
  }
  .main-wrapper {
    padding-top: 100px;
  }

  .parallax-hero h1 {
    font-size: 2.8rem;
  }
  .parallax-hero p {
    font-size: 1rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-info h2 {
    font-size: 2rem;
  }
  .map-section h2 {
    font-size: 2rem;
  }
  .contact-form {
    padding: 1.5rem;
  }
  .map-container iframe {
    height: 250px;
  }

  .social-card {
    width: 70px;
    height: 70px;
  }
  .social-card i {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .top-bar {
    padding: 0.4rem 0.5rem;
  }
  .nav-links a {
    padding: 4px 8px;
    font-size: 8px;
    letter-spacing: 0.2px;
  }
  .nav-links a i {
    font-size: 8px;
  }
  .lang-btn {
    padding: 4px 8px;
    font-size: 9px;
    gap: 3px;
  }
  .lang-btn i {
    font-size: 9px;
  }
  .lang-dropdown {
    min-width: 150px;
    right: -8px;
    top: calc(100% + 6px);
  }
  .lang-dropdown li {
    font-size: 11px;
    padding: 6px 12px;
    gap: 6px;
  }
  .lang-dropdown li .flag {
    font-size: 15px;
  }
  .main-wrapper {
    padding-top: 85px;
  }

  .parallax-hero h1 {
    font-size: 2rem;
  }

  .toast {
    bottom: 20px;
    right: 20px;
    left: 20px;
    border-radius: 40px;
    padding: 0.8rem 1.2rem;
  }

  .social-card {
    width: 55px;
    height: 55px;
    border-radius: 14px;
  }
  .social-card i {
    font-size: 1.4rem;
  }
  .social-grid {
    gap: 0.5rem;
    max-width: 200px;
  }

  .map-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
}