
:root {
  --bg-dark: #050508;
  --bg-darker: #020203;
  --gold: #d4af37;
  --gold-soft: #f1d48b;
  --accent: #ffffff;
  --text-main: #f8f5ff;
  --text-muted: #c0bdd2;
  --card-bg: rgba(10, 10, 16, 0.9);
  --border-soft: rgba(255, 255, 255, 0.06);
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.65);
}

/* Global */

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

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #171726 0, #020203 55%, #000 100%);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 100% - 3rem);
  margin: 0 auto;
}

/* Hero */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem 6rem;
  background: url("../img/portada_fireworks.jpg") center/cover no-repeat fixed;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(2, 2, 3, 0.9), rgba(6, 2, 15, 0.82), rgba(2, 2, 3, 0.96));
  backdrop-filter: blur(4px);
}

.hero-logo {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  max-width: 70%;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.8));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  padding: 2.5rem 2rem 3rem;
  margin-top: 3rem;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.7));
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.85);
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-soft);
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  margin: 1.2rem 0 0.5rem;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 1.8rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 0.8rem 1.6rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #1c1300;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.75);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn-full {
  width: 100%;
  margin-top: 0.25rem;
}

.hero-badge {
  margin-top: 1.8rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

/* Nav */

.main-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: linear-gradient(90deg, rgba(5, 5, 8, 0.94), rgba(5, 5, 8, 0.86));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.nav-brand {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.3rem;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.nav-links a {
  position: relative;
  color: var(--text-muted);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transition: width 0.18s ease;
}

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

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

/* Sections */

.section {
  padding: 4.5rem 0;
}

.section-light {
  background: radial-gradient(circle at top, #151520 0, #050509 60%, #010102 100%);
}

.section-dark {
  background: linear-gradient(180deg, #050509 0, #020203 45%, #050509 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 2.6rem;
}

.section-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
}

/* Layout helpers */

.grid-2 {
  display: grid;
  gap: 2.6rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  gap: 0.4rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.feature-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-soft);
  font-size: 0.8rem;
}

/* Photo stack */

.photo-stack {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}

.photo-stack img {
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.photo-stack img:first-child {
  transform: rotate(-3deg) translate(10px, 10px);
  opacity: 0.9;
}

.photo-stack-front {
  position: absolute;
  inset: 0;
  transform: rotate(4deg) translate(-10px, -10px);
}

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.2rem;
}

.gallery-item {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.7));
}

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

.gallery-item::after {
  content: "Ampliar";
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.35rem 0.9rem;
  font-size: 0.75rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.75));
  text-align: right;
  color: rgba(255, 255, 255, 0.9);
}

.gallery-item:hover img {
  transform: scale(1.05);
  opacity: 0.95;
}

.gallery-note {
  text-align: center;
  margin-top: 1.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Lightbox */

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

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: min(1100px, 100%);
  max-height: 90vh;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

/* Video */

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #000;
}

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

/* Social */

.social-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.social-card {
  background: var(--card-bg);
  border-radius: 22px;
  padding: 1.4rem 1.3rem 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}

.social-card h3 {
  margin-top: 0;
  font-family: "Playfair Display", serif;
}

.social-embed {
  margin: 0.8rem 0 1rem;
}

.instagram-embed {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  border-radius: 18px;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.85));
  border: 1px dashed rgba(255, 255, 255, 0.16);
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  padding: 1rem;
}

.social-link {
  display: inline-flex;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-soft);
}

/* Contact */

.contact-form {
  background: var(--card-bg);
  padding: 1.6rem 1.4rem;
  border-radius: 22px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 0.9rem;
}

label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.2rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(3, 3, 8, 0.9);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.9rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold-soft);
}

.map-placeholder {
  margin-top: 0.8rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-notes {
  margin-top: 1rem;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* WhatsApp floating */

.whatsapp-float {
  position: fixed;
  right: 1.3rem;
  bottom: 1.3rem;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: radial-gradient(circle at top left, #25d366, #128c7e);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  z-index: 50;
}

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

/* Footer */

.main-footer {
  background: #000004;
  padding: 1.4rem 0 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-inner a {
  color: var(--gold-soft);
}

/* Responsive */

@media (max-width: 840px) {
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    background-attachment: scroll;
  }

  .hero-content {
    padding: 2rem 1.5rem 2.4rem;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 3.2rem 0;
  }

  .hero-logo {
    width: 180px;
  }

  .hero-content {
    margin-top: 4rem;
  }
}
