*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #070708;
  color: #f7f4f0;
  line-height: 1.6;
}

/* Hero */

.hero {
  position: relative;
  min-height: 100vh;
  background: url('img/hero_portada.png') center/cover no-repeat fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 2rem 1.5rem 5rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0,0,0,0.75), rgba(0,0,0,0.35));
  z-index: 0;
}

.hero-logo {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  width: 90px;
  border-radius: 50%;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-tagline {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  margin: 0 0 0.75rem;
  color: #f4d27a;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin: 0 0 1rem;
}

.hero-subtitle {
  max-width: 650px;
  margin: 0 auto 1.75rem;
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.hero-contact {
  font-size: 0.9rem;
  opacity: 0.95;
}

.hero-contact a {
  color: #f4d27a;
  text-decoration: none;
}

.hero-contact a:hover {
  text-decoration: underline;
}

/* Nav */

.main-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(4,4,6,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(212,175,55,0.28);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 1.25rem;
}

.nav-logo img {
  width: 54px;
  border-radius: 50%;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #f7f4f0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #f4d27a, #f7f0c0);
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(244,210,122,0.8);
  color: #f7f4f0;
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
}

/* Sections */

.section {
  padding: 4.5rem 1.5rem;
}

.section-light {
  background: #f7f4f0;
  color: #2b2520;
}

.section-dark {
  background: radial-gradient(circle at top, #181219, #050509 55%, #020203);
  color: #f7f4f0;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.section-intro {
  max-width: 650px;
  font-size: 0.98rem;
  opacity: 0.9;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #f4d27a, #f7f0c0);
  color: #1c1510;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.4);
}

.btn-outline {
  border-color: #f4d27a;
  color: #f4d27a;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(244,210,122,0.1);
}

/* Cards */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem 1.4rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
}

.card h3 {
  font-family: 'Playfair Display', serif;
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
}

.card p {
  font-size: 0.92rem;
}

/* Benefits */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.benefit {
  background: rgba(9,5,12,0.85);
  border-radius: 18px;
  padding: 1.5rem 1.4rem 1.6rem;
  border: 1px solid rgba(244,210,122,0.25);
  box-shadow: 0 14px 34px rgba(0,0,0,0.4);
}

.benefit-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(244,210,122,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.benefit h3 {
  font-family: 'Playfair Display', serif;
  margin: 0 0 0.5rem;
}

.benefit p {
  font-size: 0.9rem;
  opacity: 0.9;
}

.quote {
  margin-top: 2.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  text-align: center;
  opacity: 0.95;
}

/* Gallery */

.gallery-grid {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.9rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
  background: #000;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.gallery-item::after {
  content: 'Ver más';
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.4rem 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85));
  color: rgba(255,255,255,0.92);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
  opacity: 0.86;
}

.gallery-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 1rem;
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.7);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* Video */

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  margin-top: 2rem;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
  border: 1px solid rgba(244,210,122,0.3);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Social */

.social-embed {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.social-frame {
  background: #fff;
  border-radius: 18px;
  padding: 0.75rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.14);
}

.social-fallback p {
  font-size: 0.9rem;
}

/* Contact */

.contacto-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.2rem;
  align-items: flex-start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin-top: 1.2rem;
}

.contact-list li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.contact-list a {
  color: #f4d27a;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-form-wrapper {
  background: rgba(7,4,8,0.9);
  padding: 1.8rem 1.6rem;
  border-radius: 18px;
  border: 1px solid rgba(244,210,122,0.3);
  box-shadow: 0 14px 34px rgba(0,0,0,0.55);
}

.contact-form .field {
  margin-bottom: 0.9rem;
}

.contact-form label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.25rem;
  opacity: 0.9;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid rgba(244,210,122,0.4);
  background: rgba(6,4,8,0.9);
  color: #f7f4f0;
  font-family: inherit;
  font-size: 0.9rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #f4d27a;
  box-shadow: 0 0 0 1px rgba(244,210,122,0.5);
}

/* Footer */

.site-footer {
  padding: 1.7rem 1.5rem 1.9rem;
  text-align: center;
  background: #050508;
  border-top: 1px solid rgba(244,210,122,0.2);
  font-size: 0.8rem;
}

.site-footer a {
  color: #f4d27a;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* WhatsApp Floating */

.whatsapp-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  z-index: 60;
  text-decoration: none;
}

.whatsapp-icon {
  font-size: 1.6rem;
  color: #fff;
}

/* Call fixed */

.call-fixed {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1.2rem;
  padding: 0.55rem 1.6rem;
  border-radius: 999px;
  background: rgba(5,5,7,0.9);
  color: #f4d27a;
  border: 1px solid rgba(244,210,122,0.7);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 55;
}

/* Responsive */

@media (max-width: 800px) {
  .hero-logo {
    width: 70px;
  }

  .social-embed {
    grid-template-columns: 1fr;
  }

  .contacto-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(5,5,7,0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1.1rem;
    gap: 0.6rem;
    min-width: 210px;
    display: none;
  }

  .nav-links.show {
    display: flex;
  }

  .call-fixed {
    bottom: 4.5rem;
  }
}
