/* ==========================================================================
   DA Eventos — hoja de estilos
   Paleta: ivory / gold / dusty rose, sobre tipografía Fraunces + Libre Franklin
   ========================================================================== */

:root {
  /* --- color: modo claro (por defecto) --- */
  --bg: #fbf6ef;
  --bg-alt: #f3e9da;
  --surface: #ffffff;
  --ink: #2a2118;
  --ink-soft: #6b5d4f;
  --gold: #b08a4e;
  --gold-deep: #8a6a38;
  --rose: #b97c72;
  --line: #e3d5c0;
  --shadow: 0 30px 60px -35px rgba(42, 33, 24, 0.35);

  /* --- tipografía --- */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --font-script: "Mrs Saint Delafield", "Brush Script MT", cursive;
  --font-body: "Libre Franklin", "Segoe UI", system-ui, sans-serif;

  --container: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1a130c;
    --bg-alt: #241b12;
    --surface: #2a2016;
    --ink: #f3e9dc;
    --ink-soft: #c9b79e;
    --gold: #d8b673;
    --gold-deep: #f0ce8f;
    --rose: #d79c90;
    --line: #3c2e1e;
    --shadow: 0 30px 60px -35px rgba(0, 0, 0, 0.6);
  }
}

:root[data-theme="dark"] {
  --bg: #1a130c;
  --bg-alt: #241b12;
  --surface: #2a2016;
  --ink: #f3e9dc;
  --ink-soft: #c9b79e;
  --gold: #d8b673;
  --gold-deep: #f0ce8f;
  --rose: #d79c90;
  --line: #3c2e1e;
  --shadow: 0 30px 60px -35px rgba(0, 0, 0, 0.6);
}

/* --- reset base --- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}

p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
}

.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--rose);
  line-height: 1;
}

.section {
  padding: clamp(64px, 10vw, 120px) 0;
  border-bottom: 1px solid var(--line);
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--surface);
  box-shadow: 0 18px 30px -18px rgba(138, 106, 56, 0.65);
}

.btn-primary:hover {
  background: var(--gold-deep);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
  transform: translateY(-2px);
}

.btn-whatsapp {
  justify-content: center;
  width: 100%;
  background: transparent;
  color: var(--gold-deep);
  border-color: var(--gold);
  padding: 13px 24px;
}

.btn-whatsapp svg {
  width: 18px;
  height: 18px;
}

.btn-whatsapp:hover {
  background: var(--gold);
  color: var(--surface);
  transform: translateY(-2px);
}

/* --- monograma / sello (logo) --- */
.seal {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--line);
}

/* --- header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.brand-name span {
  color: var(--gold-deep);
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
}

nav.main-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 4px;
}

nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

nav.main-nav a:hover {
  color: var(--ink);
}

nav.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle span::before {
  position: absolute;
  top: -6px;
}

.nav-toggle span::after {
  position: absolute;
  top: 6px;
}

/* --- hero --- */
.hero {
  position: relative;
  padding: clamp(72px, 12vw, 140px) 0 clamp(56px, 9vw, 100px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 480px;
  background: radial-gradient(60% 60% at 50% 0%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 28px;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.hero .script {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.05;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-deep);
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

/* --- servicios --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.service-card {
  background: var(--surface);
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.service-card .glyph {
  width: 42px;
  height: 42px;
  color: var(--gold);
}

.service-card h3 {
  font-size: 1.25rem;
}

.service-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* --- montajes (fichas de menú) --- */
.setups-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: stretch;
}

.setup-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 44px 40px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.setup-card.featured {
  border-color: var(--gold);
}

.setup-card.featured::before {
  content: "Más contratado";
  position: absolute;
  top: -13px;
  left: 40px;
  background: var(--gold);
  color: var(--surface);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}

.setup-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 20px;
}

.setup-head h3 {
  font-size: 1.55rem;
}

.setup-head .duration {
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.setup-price {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--gold-deep);
  white-space: nowrap;
}

.setup-price sub {
  font-family: var(--font-body);
  font-size: 0.62rem;
  color: var(--ink-soft);
  vertical-align: baseline;
}

.setup-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.setup-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
}

.setup-list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--gold);
}

.setup-note {
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

/* --- extras --- */
.extras-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.extra-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

.extra-media {
  margin: -34px -30px 2px;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--bg-alt);
}

.extra-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.extra-media.illustrated {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(120% 140% at 50% 20%, color-mix(in srgb, var(--gold) 16%, var(--bg-alt)), var(--bg-alt));
}

.extra-media.illustrated svg {
  width: 46%;
  color: var(--gold);
}

.extra-card .extra-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.extra-card h3 {
  font-size: 1.2rem;
}

.extra-price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold-deep);
  white-space: nowrap;
}

.extra-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.extra-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--rose);
  border: 1px solid color-mix(in srgb, var(--rose) 45%, transparent);
  border-radius: 999px;
  padding: 4px 12px;
}

.theme-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.theme-tab {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-tab[aria-selected="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--surface);
}

.theme-detail {
  font-size: 0.9rem;
  color: var(--ink-soft);
  min-height: 40px;
}

.theme-detail strong {
  color: var(--ink);
  font-family: var(--font-body);
}

/* --- split sections (ceremonia / ambiente / cobertura) --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.split.reverse .split-media {
  order: 2;
}

.split-copy .eyebrow {
  margin-bottom: 16px;
}

.split-copy h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin-bottom: 18px;
}

.split-copy p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  margin-bottom: 14px;
}

.split-copy ul {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.split-copy ul li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.98rem;
}

.split-copy ul svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.split-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.split-media svg {
  width: 100%;
  height: auto;
  max-width: 340px;
  color: var(--gold);
}

.mini-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.mini-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}

.mini-card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.mini-card p {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* --- cobertura / mapa --- */
.coverage {
  text-align: center;
}

.coverage-map {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto 32px;
}

.coverage-map svg {
  width: 100%;
  height: 100%;
  color: var(--gold);
}

.coverage-note {
  max-width: 560px;
  margin: 0 auto;
  color: var(--ink-soft);
}

.coverage-note strong {
  color: var(--ink);
}

/* --- contacto --- */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: clamp(36px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 64px);
}

.contact-intro .script {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 10px;
}

.contact-intro h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.contact-intro p {
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.contact-link:hover {
  border-color: var(--gold);
  transform: translateX(4px);
  background: var(--bg-alt);
}

.contact-link svg {
  width: 20px;
  height: 20px;
  color: var(--gold-deep);
  flex-shrink: 0;
}

.contact-link .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  display: block;
}

.contact-link .value {
  font-weight: 600;
}

/* --- footer --- */
.site-footer {
  padding: 40px 0;
}

.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.footer-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* --- reveal on scroll --- */
[data-reveal] {
  opacity: 1;
  transform: none;
}

@media (min-width: 861px) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

/* --- responsive --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .extras-grid {
    grid-template-columns: 1fr;
  }
  .contact-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px clamp(20px, 5vw, 48px) 28px;
    gap: 16px;
    display: none;
  }

  nav.main-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

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

  .split,
  .split.reverse .split-media {
    order: initial;
  }

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

  .split-media {
    order: -1;
  }

  .split-media svg {
    max-width: 220px;
  }
}

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