:root {
  --bg: #070707;
  --bg-elevated: #0e0d0b;
  --bg-card: #131210;
  --gold: #d4af37;
  --gold-soft: #ecd27e;
  --gold-deep: #8a6d1d;
  --blood: #8e1b1b;
  --text: #f3efe6;
  --text-muted: #9c968a;
  --border: #2a2620;
  --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: #000; }

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

/* Grano de papel / tinta sobre toda la página */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2000;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Tipografía */
h1, .logo {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  letter-spacing: .05em;
  text-transform: uppercase;
}

h2, h3, .script {
  font-family: 'Allura', cursive;
  font-weight: 400;
}

.gold {
  background: linear-gradient(120deg, #f3dc8f, var(--gold) 45%, #b08a26);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kicker {
  display: inline-block;
  font-family: 'UnifrakturMaguntia', serif;
  color: var(--gold);
  font-size: 1.05rem;
  letter-spacing: .08em;
  margin-bottom: .4rem;
  opacity: .9;
}

.divider {
  display: block;
  width: min(320px, 70%);
  height: 32px;
  margin: .4rem auto 1.2rem;
  color: var(--gold);
  opacity: .85;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 7, 7, .55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}

header.scrolled {
  background: rgba(7, 7, 7, .9);
  border-bottom-color: rgba(212, 175, 55, .18);
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.logo {
  font-size: 1.8rem;
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .55rem;
  line-height: 1;
}

.logo-mark {
  width: 24px;
  height: 24px;
  color: var(--gold);
  transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}

.logo:hover .logo-mark { transform: rotate(180deg); }

.logo-text span { color: var(--gold); }

nav ul { display: flex; gap: 2.2rem; list-style: none; }

nav a {
  position: relative;
  color: var(--text-muted);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .04em;
  transition: color .25s;
}

nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: translateX(-50%) rotate(45deg) scale(0);
  transition: transform .25s;
}

nav a:hover { color: var(--gold); }
nav a:hover::after { transform: translateX(-50%) rotate(45deg) scale(1); }

.btn-wa {
  background: #25D366;
  color: #fff;
  padding: .6rem 1.2rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  transition: transform .2s, background .2s;
}

.btn-wa:hover { transform: translateY(-2px); background: #1ebe57; }

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform .3s, opacity .3s;
}

.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #0b0a09;
  border-bottom: 1px solid var(--border);
}

.mobile-nav.open { display: block; }

.mobile-nav a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}

.mobile-nav a:hover { color: var(--gold); background: rgba(255, 255, 255, .03); }

/* HERO */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .42;
  transform: scale(1.08);
  animation: slowZoom 24s ease-in-out infinite alternate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 55% 45% at 50% 50%, rgba(7, 7, 7, .78), rgba(7, 7, 7, .35) 70%, transparent),
    linear-gradient(to bottom, rgba(7, 7, 7, .6), transparent 25%, transparent 70%, var(--bg));
}

@keyframes slowZoom {
  to { transform: scale(1.16); }
}

.hero-frame {
  position: absolute;
  inset: 5.5rem 1.5rem 1.5rem;
  pointer-events: none;
  border: 1px solid rgba(212, 175, 55, .14);
  border-radius: 6px;
}

.c {
  position: absolute;
  width: 64px;
  height: 64px;
  color: var(--gold);
  opacity: .8;
}

.c.tl { top: -1px; left: -1px; }
.c.tr { top: -1px; right: -1px; transform: scaleX(-1); }
.c.bl { bottom: -1px; left: -1px; transform: scaleY(-1); }
.c.br { bottom: -1px; right: -1px; transform: scale(-1, -1); }

.hero-dagger {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 140px;
  color: var(--gold);
  opacity: .35;
  transform: translateY(-50%);
}

.hero-dagger.left { left: 6%; transform: translateY(-50%) rotate(-12deg); }
.hero-dagger.right { right: 6%; transform: translateY(-50%) rotate(12deg); }

.hero-content { max-width: 860px; position: relative; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 600;
  padding: .5rem 1.1rem;
  border: 1px solid rgba(212, 175, 55, .35);
  border-radius: 100px;
  background: rgba(7, 7, 7, .5);
  margin-bottom: 1.6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero-badge svg { width: 10px; height: 10px; }

.studio-logo {
  width: 100%;
  height: auto;
  border: 1px solid rgba(212, 175, 55, .3);
  border-radius: 14px;
}

.hero-logo {
  width: clamp(124px, 22vw, 176px);
  margin: 0 auto 1.2rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .55);
}

.hero h1 {
  font-size: clamp(3.4rem, 9vw, 6.4rem);
  line-height: .98;
  margin-bottom: .6rem;
  text-shadow: 0 4px 40px rgba(0, 0, 0, .8);
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #f6e3a0, var(--gold) 50%, #a7831f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  color: #c9c2b4;
  max-width: 560px;
  margin: 0 auto 2.4rem;
}

.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  bottom: 2.6rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(212, 175, 55, .5);
  border-radius: 20px;
}

.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--gold);
  animation: cue 1.8s infinite;
}

@keyframes cue {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* BOTONES */
.btn {
  padding: .95rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: .02em;
  transition: all .25s;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.btn-primary {
  background: linear-gradient(135deg, #f0d27a, var(--gold) 50%, #b38b22);
  color: #0a0a0a;
  box-shadow: 0 0 0 1px rgba(255, 230, 150, .3) inset;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 34px rgba(212, 175, 55, .3), 0 0 0 1px rgba(255, 230, 150, .5) inset;
}

.btn-ghost {
  border: 1.5px solid rgba(243, 239, 230, .22);
  color: var(--text);
  background: rgba(7, 7, 7, .35);
}

.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* CINTA */
.ribbon {
  border-block: 1px solid rgba(212, 175, 55, .22);
  background: linear-gradient(90deg, #0b0a08, #15120b, #0b0a08);
  overflow: hidden;
  padding: 1rem 0;
}

.ribbon-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.ribbon-track span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: .12em;
  color: var(--text);
  white-space: nowrap;
}

.ribbon-track svg { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* SECCIONES */
section { padding: 6.5rem 1.5rem; position: relative; }

.section-alt {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(212, 175, 55, .05), transparent),
    var(--bg-elevated);
  border-block: 1px solid #16140f;
}

.container { max-width: 1180px; margin: 0 auto; }

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

.section-header h2 {
  font-size: clamp(2.8rem, 6vw, 4rem);
  line-height: 1.1;
}

.section-header p {
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* SERVICIOS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.service-card {
  position: relative;
  background: linear-gradient(170deg, #17150f, var(--bg-card) 40%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.4rem 1.8rem 2.2rem;
  transition: border-color .35s, transform .35s, box-shadow .35s;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(212, 175, 55, .1);
  border-radius: 12px;
  pointer-events: none;
}

.service-card:hover {
  border-color: rgba(212, 175, 55, .45);
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -20px rgba(212, 175, 55, .22);
}

.card-corner {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 46px;
  height: 46px;
  color: var(--gold);
  opacity: .35;
  transform: scaleX(-1);
  transition: opacity .35s;
}

.service-card:hover .card-corner { opacity: .9; }

.card-num {
  position: absolute;
  bottom: .6rem;
  right: 1.2rem;
  font-family: 'UnifrakturMaguntia', serif;
  font-size: 3.4rem;
  color: rgba(212, 175, 55, .07);
  line-height: 1;
}

.service-icon {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(212, 175, 55, .3);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
  background: radial-gradient(circle, rgba(212, 175, 55, .12), transparent 70%);
  color: var(--gold);
}

.service-icon svg { width: 30px; height: 30px; }

.service-card h3 {
  font-size: 1.95rem;
  margin-bottom: .6rem;
  line-height: 1.15;
}

.service-card p { color: var(--text-muted); font-size: .95rem; position: relative; }

/* NOSOTROS */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 4.5rem;
  align-items: center;
}

.about-text h2 { font-size: clamp(2.8rem, 5vw, 3.5rem); margin-bottom: 1.2rem; line-height: 1.15; }

.about-text p { color: var(--text-muted); margin-bottom: 1.1rem; font-size: 1.05rem; }

.about-list { list-style: none; margin-top: 1.8rem; }

.about-list li {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .65rem 0;
  font-weight: 500;
  border-bottom: 1px solid rgba(212, 175, 55, .08);
}

.about-list li svg { width: 12px; height: 12px; color: var(--gold); flex-shrink: 0; }

.about-visual { position: relative; }

.ornate-frame {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(212, 175, 55, .22);
  border-radius: 6px;
}

.ornate-frame .c { width: 54px; height: 54px; }

.about-img {
  width: 100%;
  height: auto;
  border-radius: 3px;
}

.about-badge {
  position: absolute;
  bottom: 2.2rem;
  left: -1.2rem;
  background: rgba(7, 7, 7, .88);
  backdrop-filter: blur(8px);
  padding: .9rem 1.3rem;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, .35);
  font-size: .88rem;
  color: var(--text-muted);
}

.about-badge strong {
  color: var(--gold);
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: .06em;
  line-height: 1.1;
}

.about-rose {
  position: absolute;
  top: -3rem;
  right: -2.5rem;
  width: 90px;
  height: 120px;
  color: var(--gold);
  opacity: .35;
  transform: rotate(18deg);
  pointer-events: none;
}

/* GALERÍA */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.gallery-item {
  display: block;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.center-cta { text-align: center; margin-top: 2.8rem; }

/* CTA */
.cta-section { padding-block: 5rem; }

.cta-box {
  position: relative;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(212, 175, 55, .12), transparent 70%),
    linear-gradient(145deg, #17130a 0%, #0f0e0c 100%);
  border: 1px solid rgba(212, 175, 55, .3);
  border-radius: 8px;
  padding: 4rem 2rem;
  text-align: center;
  overflow: hidden;
}

.cta-moon {
  width: 56px;
  height: 56px;
  color: var(--gold);
  margin: 0 auto .8rem;
  display: block;
}

.cta-box h2 { font-size: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: .6rem; line-height: 1.15; }

.cta-box p { color: var(--text-muted); margin-bottom: 2rem; font-size: 1.1rem; }

.faq-list { max-width: 48rem; margin-inline: auto; border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { padding: 1rem .25rem; color: var(--text); font-size: 1.1rem; font-weight: 600; cursor: pointer; }
.faq-list summary::marker { color: var(--gold); }
.faq-list details p { padding: 0 .25rem 1.15rem; color: var(--text-muted); }
.faq-list a, .map-link, .footer-faq { color: var(--gold); text-underline-offset: .2em; }

/* CONTACTO */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.contact-info h3 { font-size: 2.4rem; margin-bottom: 1.8rem; line-height: 1.2; }

.contact-row { display: flex; gap: 1.1rem; margin-bottom: 1.7rem; color: var(--text-muted); }

.contact-icon {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(212, 175, 55, .3);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-icon svg { width: 20px; height: 20px; }

.contact-row strong { display: block; margin-bottom: .2rem; font-weight: 600; color: var(--text); }

.contact-row a { color: var(--gold); text-decoration: none; }
.contact-row a:hover { text-decoration: underline; }

.hours { border-collapse: collapse; margin-top: .2rem; font-size: .95rem; }
.hours td { padding: .2rem 1.2rem .2rem 0; vertical-align: top; }
.hours td:first-child { color: var(--text); }
.hours .closed { color: #b44a4a; }

.map-box {
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, .25);
  min-height: 360px;
  overflow: hidden;
  padding: 8px;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  min-height: 344px;
  border: 0;
  border-radius: 4px;
  filter: grayscale(100%) invert(92%) contrast(.9) sepia(20%);
}

.map-link { padding: .65rem .5rem .25rem; text-align: center; }

/* FOOTER */
footer {
  background: #040404;
  border-top: 1px solid var(--border);
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
}

.footer-divider { margin-top: 0; margin-bottom: 1.6rem; }

.footer-logo { display: inline-block; width: 112px; margin-bottom: .6rem; }

.footer-script { font-family: 'Allura', cursive; font-size: 1.7rem; color: var(--gold-soft); margin-bottom: 1rem; }

footer p { color: var(--text-muted); font-size: .9rem; }

.footer-legal { margin-top: 1.8rem; font-size: .78rem; opacity: .65; }

/* WhatsApp flotante */
.wa-float {
  position: fixed;
  right: 1.3rem;
  bottom: 1.3rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  transition: transform .25s;
}

.wa-float:hover { transform: scale(1.08); }

/* Animaciones de entrada */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg img, .ribbon-track, .scroll-cue span { animation: none; }
  html { scroll-behavior: auto; }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.8rem; }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-badge { left: 1rem; }
  .about-rose { right: -.5rem; }
  .hero-dagger { display: none; }
}

@media (max-width: 760px) {
  nav ul, .nav-container > .btn-wa { display: none; }
  .menu-btn { display: flex; }
  .hero-frame { inset: 5rem .8rem .8rem; }
  .c { width: 44px; height: 44px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
  section { padding: 5rem 1.2rem; }
}
