/* ============================================================
   EVENTOS HIDALGO — Magazine editorial (negro + oro rosado)
   ============================================================ */

:root {
  --ink: #0d0d0d;
  --ink-2: #262626;
  --ink-3: #4a4a4a;
  --paper: #fdfaf5;         /* marfil muy claro */
  --paper-2: #f5efe6;
  --gold: #c9a37a;          /* oro rosado suave */
  --gold-deep: #a7825a;
  --gold-soft: #e6d4bd;
  --text: #f2ebe0;
  --line: rgba(13,13,13,0.12);
  --line-light: rgba(253,250,245,0.20);

  --pad: clamp(1.2rem, 4vw, 4rem);
  --maxw: 1320px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 400; line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* SPLASH */
.splash {
  position: fixed; inset: 0; z-index: 999;
  background: var(--ink);
  display: grid; place-items: center;
  transition: opacity .8s var(--ease), clip-path .8s var(--ease);
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; } }
.splash-frame {
  padding: 3rem 4rem;
  border: 1px solid var(--gold);
  text-align: center;
  animation: fadeIn .9s var(--ease) both;
}
@keyframes fadeIn { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }
.splash-a {
  display: block;
  font-family: "Playfair Display", serif;
  font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--gold);
}
.splash-b {
  display: block;
  font-family: "Playfair Display", serif;
  font-weight: 700; font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--paper);
  letter-spacing: 0.02em;
}

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--pad);
  background: transparent;
  transition: background .35s var(--ease), padding .25s var(--ease);
}
.nav.is-scrolled {
  background: rgba(253,250,245,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding-block: 0.7rem;
}
.nav-brand {
  display: inline-flex; align-items: center; gap: 0.7rem;
  color: var(--ink);
}
.nav-monogram {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--gold);
  font-family: "Playfair Display", serif;
  font-weight: 600; font-size: 0.9rem;
  color: var(--gold-deep);
  letter-spacing: 0.05em;
}
.brand-full {
  font-family: "Playfair Display", serif;
  font-weight: 600; font-size: 1.15rem;
}
.brand-full em { color: var(--gold-deep); font-style: italic; font-weight: 500; margin-right: 0.15em; }

.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.8rem); }
.nav-links a {
  font-family: "Montserrat", sans-serif;
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-2);
}
.nav-links a:not(.nav-cta):hover { color: var(--gold-deep); }
.nav-cta {
  background: var(--ink); color: var(--paper);
  padding: 0.6rem 1.2rem;
  font-weight: 600; letter-spacing: 0.10em;
  transition: background .25s var(--ease);
}
.nav-cta:hover { background: var(--gold-deep); color: var(--paper); }
@media (max-width: 720px) { .nav-links a:not(.nav-cta) { display: none; } }

/* HERO — revista partida */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: 1fr 1fr;
  padding-top: 70px;
}
.hero-photo {
  position: relative;
  overflow: hidden;
  min-height: 60vh;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85) saturate(0.9); }
.hero-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,13,13,0.10) 0%, rgba(13,13,13,0.55) 100%);
}
.hero-issue {
  position: absolute; bottom: 1.5rem; left: 1.5rem;
  color: var(--gold-soft);
  font-family: "Playfair Display", serif;
  font-style: italic; font-size: 0.9rem;
  letter-spacing: 0.06em;
}

.hero-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2rem, 5vw, 5rem) clamp(1.5rem, 4vw, 4rem);
  background: var(--paper);
}
.hero-serif {
  font-family: "Playfair Display", serif;
  font-style: italic; font-size: 1.05rem;
  color: var(--gold-deep); margin-bottom: 1.4rem;
  letter-spacing: 0.02em;
}
.hero-h {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.05; letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 1.6rem;
}
.hero-h em { color: var(--gold-deep); font-style: italic; }
.hero-lead {
  font-size: 1.05rem; color: var(--ink-2);
  max-width: 50ch; margin-bottom: 1.8rem;
}
.hero-lead strong { color: var(--ink); font-weight: 600; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.9rem 1.6rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600; font-size: 0.88rem;
  letter-spacing: 0.10em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
}
.btn-gold { background: var(--gold-deep); color: var(--paper); }
.btn-gold:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }

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

/* SECTION */
.section { padding: clamp(4rem, 8vw, 7rem) var(--pad); max-width: var(--maxw); margin: 0 auto; }
.sec-h { text-align: center; margin-bottom: 3rem; }
.sec-h-left { text-align: left; }
.folio {
  font-family: "Playfair Display", serif;
  font-style: italic; font-size: 0.9rem;
  color: var(--gold-deep); letter-spacing: 0.24em;
  margin-bottom: 0.8rem;
}
.folio.light { color: var(--gold-soft); }
.sec-h h2 {
  font-family: "Playfair Display", serif;
  font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05; color: var(--ink);
  letter-spacing: -0.01em;
}
.sec-h h2 em { color: var(--gold-deep); font-style: italic; }
.deck {
  font-family: "Playfair Display", serif;
  font-style: italic; font-size: 1.1rem;
  color: var(--ink-2); margin-top: 0.8rem;
  max-width: 50ch; margin-inline: auto;
}

/* SERVICIOS - editorial numerado */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.art {
  padding: 2rem 1.6rem;
  border-top: 1px solid var(--gold);
  background: var(--paper);
  transition: background .25s var(--ease);
}
.art:hover { background: var(--paper-2); }
.art-no {
  font-family: "Playfair Display", serif;
  font-style: italic; font-size: 0.85rem;
  color: var(--gold-deep); letter-spacing: 0.12em;
  margin-bottom: 1rem; display: block;
}
.art h3 {
  font-family: "Playfair Display", serif;
  font-weight: 500; font-size: 1.5rem;
  color: var(--ink); margin-bottom: 0.8rem;
}
.art p { color: var(--ink-2); font-size: 0.95rem; }
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* FEATURE - foto ancha con texto lateral */
.feature {
  background: var(--ink); color: var(--text);
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 60vh;
}
.feature-photo {
  overflow: hidden;
}
.feature-photo img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.9); }
.feature-txt {
  padding: clamp(2rem, 5vw, 5rem);
  display: flex; flex-direction: column; justify-content: center;
}
.feature-txt h3 {
  font-family: "Playfair Display", serif;
  font-weight: 400; font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  line-height: 1.2; color: var(--paper); margin-bottom: 1.2rem;
}
.feature-txt h3 em { color: var(--gold); font-style: italic; }
.feature-txt p { color: var(--text); opacity: 0.85; font-size: 1rem; max-width: 50ch; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } .feature-photo { min-height: 260px; } }

/* NOSOTROS */
.about-cols {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.about-txt p { color: var(--ink-2); font-size: 1.02rem; margin-bottom: 1.2rem; max-width: 55ch; }
.about-txt p:last-child { margin-bottom: 0; }
.drop::first-letter {
  font-family: "Playfair Display", serif;
  font-size: 4.5rem; line-height: 0.85;
  float: left; padding: 0.05em 0.15em 0 0;
  color: var(--gold-deep); font-weight: 600;
}
.about-side {
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--gold);
  background: var(--paper-2);
}
.side-h {
  font-family: "Playfair Display", serif;
  font-style: italic; font-size: 0.9rem;
  color: var(--gold-deep); letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 1rem;
}
.side-l { list-style: none; margin-bottom: 1.4rem; }
.side-l li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.92rem;
}
.side-l li:last-child { border-bottom: 0; }

.side-facts { padding-top: 1rem; border-top: 1px solid var(--gold); }
.side-facts div {
  margin-bottom: 0.6rem;
  font-size: 0.88rem; color: var(--ink);
}
.side-facts div span {
  font-family: "Playfair Display", serif;
  font-style: italic; color: var(--gold-deep);
  display: inline-block; min-width: 60px;
  margin-right: 0.4rem;
}
@media (max-width: 820px) { .about-cols { grid-template-columns: 1fr; } }

/* CONTACTO */
.contact-flex {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.crow {
  display: grid; grid-template-columns: 110px 1fr auto;
  gap: 1rem; align-items: center;
  padding: 1.4rem 1.2rem;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
a.crow:hover { background: var(--paper-2); border-color: var(--gold); }
.crow-static { align-items: start; }
.crow-k {
  font-family: "Playfair Display", serif;
  font-style: italic; font-size: 0.85rem;
  color: var(--gold-deep); letter-spacing: 0.02em;
}
.crow-v {
  font-family: "Montserrat", sans-serif;
  font-weight: 500; font-size: 1.05rem;
  color: var(--ink); line-height: 1.4;
}
.crow-static .crow-v { font-weight: 400; font-size: 0.9rem; color: var(--ink-2); }
.crow-a { color: var(--gold-deep); font-size: 1.2rem; }

.crow-map {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  overflow: hidden; min-height: 340px;
}
.crow-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: sepia(0.15) grayscale(0.15); }

@media (max-width: 720px) { .contact-flex { grid-template-columns: 1fr; } }

/* FOOTER */
.footer {
  background: var(--ink); color: var(--text);
  padding: clamp(3rem, 5vw, 4rem) var(--pad) 2rem;
}
.foot-cols {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr;
  gap: 2rem; align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line-light);
}
.foot-mono {
  display: inline-grid; place-items: center;
  width: 60px; height: 60px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: "Playfair Display", serif;
  font-weight: 500; font-size: 1.05rem;
}
.foot-h {
  font-family: "Playfair Display", serif;
  font-style: italic; font-size: 1.05rem;
  color: var(--gold-soft); margin-bottom: 0.35rem;
}
.foot-cols div p { color: var(--text); opacity: 0.85; font-size: 0.9rem; }
.foot-legal {
  max-width: var(--maxw); margin: 1.2rem auto 0;
  font-size: 0.8rem; color: var(--text); opacity: 0.55;
  letter-spacing: 0.08em; text-align: center; text-transform: uppercase;
}
@media (max-width: 620px) { .foot-cols { grid-template-columns: 1fr; text-align: center; } .foot-mono { margin-inline: auto; } }

/* WA */
.wa-float {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #062b13;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(13,13,13,0.35);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.05); }
