/* Marcelo Díaz Fotografía & Video */

:root {
  --black: #0d0d0d;
  --black-soft: #1a1a1a;
  --white: #ffffff;
  --gray: #8a8a8a;
  --gray-light: #f4f4f4;
  --gray-border: #e0e0e0;
  --gold: #c9a962;
  --gold-premium: #d4af37;
  --gold-soft: #e8d5a3;
  --gold-dark: #a88b45;
  --container: min(1120px, 92vw);
  --radius: 12px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
}

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

a {
  color: var(--gold-dark);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

/* Header & Nav */
.header {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("images/evento-principal.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(0, 0, 0, 0.25), transparent 60%);
  pointer-events: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0 1.25rem;
  position: relative;
  z-index: 10;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo img {
  height: 72px;
  width: auto;
  max-width: min(320px, 70vw);
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 769px) {
  .logo img {
    height: 88px;
    max-width: 360px;
  }
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* Hero — premium */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 8vh, 5rem) 0 clamp(4rem, 12vh, 7rem);
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.hero-title {
  margin: 0 0 clamp(1.25rem, 3vw, 1.75rem);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(2.35rem, 6.5vw, 4.85rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: #ffffff;
  text-shadow:
    0 4px 48px rgba(0, 0, 0, 0.55),
    0 2px 12px rgba(0, 0, 0, 0.35),
    0 1px 2px rgba(0, 0, 0, 0.25);
}

.hero-highlight {
  color: var(--gold-premium);
  text-shadow:
    0 4px 48px rgba(0, 0, 0, 0.5),
    0 0 32px rgba(212, 175, 55, 0.15);
}

.hero-sub {
  margin: 0 0 clamp(2rem, 5vw, 2.75rem);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(1.02rem, 2.4vw, 1.28rem);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.015em;
  color: #ffffff;
  opacity: 0.85;
  max-width: 28rem;
}

.btn-hero {
  align-self: flex-start;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 1rem 2rem;
  background: var(--gold-premium);
  color: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}

.btn-hero:hover {
  background: #e0c04a;
  color: #0d0d0d;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

@media (max-width: 480px) {
  .hero-title {
    letter-spacing: -0.035em;
    line-height: 1.08;
  }

  .btn-hero {
    width: 100%;
    justify-content: center;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.75rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
}

.btn-gold:hover {
  background: var(--gold-soft);
  color: var(--black);
}

.btn-outline {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: transparent;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}

.btn-block {
  width: 100%;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-light {
  background: var(--white);
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.section-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  text-align: center;
}

.section-title--light {
  color: var(--white);
}

.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 0.75rem auto 2rem;
}

.section-desc {
  text-align: center;
  color: var(--gray);
  margin: -1rem auto 2.5rem;
  max-width: 560px;
}

.section-desc--light {
  color: rgba(255, 255, 255, 0.65);
}

.section-desc code {
  font-size: 0.85em;
  background: var(--gray-light);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
}

.about-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-light);
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo--placeholder {
  background: linear-gradient(145deg, var(--gray-light), #ddd);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-photo--placeholder::after {
  content: "Tu foto aquí";
  color: var(--gray);
  font-size: 0.9rem;
}

.about-text p {
  margin: 0 0 1rem;
  color: #444;
  font-size: 1.05rem;
}

.about-text .btn {
  margin-top: 0.5rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--black-soft);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  border-color: var(--gold-premium);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.service-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.service-icon {
  flex-shrink: 0;
  font-size: 1.5rem;
  line-height: 1;
  margin-top: 0.1rem;
}

.service-card h3 {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--gold-premium);
}

.service-card p {
  margin: 0;
  flex: 1;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Streaming & circuito cerrado */
.section-streaming {
  background: var(--gray-light);
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
}

.streaming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.stream-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition);
}

.stream-card:hover {
  border-color: var(--gold-premium);
  transform: translateY(-4px);
}

.stream-card-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.stream-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.stream-card h3 {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
}

.stream-card > p {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.55;
}

.stream-list {
  margin: 0 0 1.75rem;
  padding: 0 0 0 1.15rem;
  flex: 1;
  font-size: 0.92rem;
  color: #444;
  line-height: 1.55;
}

.stream-list li {
  margin-bottom: 0.4rem;
}

.stream-list li::marker {
  color: var(--gold-premium);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.gallery-item {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-light);
  position: relative;
  cursor: zoom-in;
}

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

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item--placeholder {
  background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-soft);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Packages */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.package-card {
  background: var(--black-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.package-card--featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), var(--shadow);
  transform: scale(1.02);
}

.package-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--black);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}

.package-card h3 {
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
  color: var(--gold-soft);
  text-align: center;
}

.package-card ul {
  margin: 0 0 1.75rem;
  padding: 0 0 0 1.1rem;
  flex: 1;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.package-card li {
  margin-bottom: 0.45rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-info p {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.contact-info .btn {
  margin-top: 1rem;
}

.contact-card {
  background: var(--gray-light);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.contact-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.contact-card p {
  margin: 0;
  color: #555;
}

/* Footer */
.footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.6);
  padding: 1.75rem 0;
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 100;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
  color: var(--white);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox img {
  max-height: 90vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(280px, 85vw);
    height: 100vh;
    flex-direction: column;
    background: var(--black-soft);
    padding: 5rem 2rem 2rem;
    gap: 1.25rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-photo {
    max-width: 320px;
    margin: 0 auto;
  }

  .package-card--featured {
    transform: none;
  }

  .section {
    padding: 3.5rem 0;
  }
}
