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

:root {
  --purple: #581C87;
  --purple-light: #7E22CE;
  --gold: #CA8A04;
  --gold-light: #EAB308;
  --cream: #FFFBEB;
  --cream-dark: #FEF3C7;
  --ink: #1C1917;
  --muted: #78716C;
  --white: #ffffff;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Work Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
}

.shell { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

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

address { font-style: normal; color: var(--muted); line-height: 1.8; }

/* WhatsApp FAB */
.fab-wa {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: var(--purple);
  color: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 28px rgba(88,28,135,0.45);
  transition: transform 0.2s, background 0.2s;
}
.fab-wa:hover { transform: scale(1.08); background: var(--purple-light); }

/* Navbar */
.navbar {
  position: fixed;
  top: var(--airvi-demo-bar-h, 40px); left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  background: rgba(28, 25, 23, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 251, 235, 0.12);
  transition: background 0.3s, padding 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.navbar.solid {
  background: rgba(255, 251, 235, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 0;
  border-bottom-color: rgba(88, 28, 135, 0.1);
  box-shadow: 0 4px 24px rgba(88, 28, 135, 0.08);
}
.navbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mark {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.mark-svg { width: 48px; height: 48px; flex-shrink: 0; }
.mark-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
  transition: color 0.3s;
}
.navbar.solid .mark-title { color: var(--purple); }
.mark-tag {
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  transition: color 0.3s;
}
.navbar.solid .mark-tag { color: var(--gold); }

/* Logo SVG: claro sobre hero, morado sobre fondo crema */
.navbar:not(.solid) .mark-svg circle:first-of-type { stroke: var(--gold-light); }
.navbar:not(.solid) .mark-svg path { stroke: var(--cream); }
.navbar:not(.solid) .mark-svg circle:last-of-type { fill: var(--gold-light); }
.navbar.solid .mark-svg circle:first-of-type { stroke: var(--gold); }
.navbar.solid .mark-svg path { stroke: var(--purple); }
.navbar.solid .mark-svg circle:last-of-type { fill: var(--gold); }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: rgba(255, 251, 235, 0.95);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.navbar.solid .nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--gold-light); }
.navbar.solid .nav-links a:hover { color: var(--purple); }

.nav-reserve {
  border: 1.5px solid var(--gold-light);
  padding: 8px 22px;
  border-radius: 0;
  color: var(--cream) !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
  background: rgba(255, 251, 235, 0.08);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.navbar.solid .nav-reserve {
  border-color: var(--purple);
  color: var(--purple) !important;
  background: transparent;
}
.nav-reserve:hover {
  background: var(--gold-light);
  color: var(--purple) !important;
  border-color: var(--gold-light);
}
.navbar.solid .nav-reserve:hover {
  background: var(--purple);
  color: var(--cream) !important;
  border-color: var(--purple);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--cream);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.3s;
}
.navbar.solid .nav-toggle { color: var(--purple); }

/* Hero */
.hero-min {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-min-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-min-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(88,28,135,0.75), rgba(28,25,23,0.6));
}

.hero-min-content {
  position: relative;
  z-index: 2;
  padding: 120px 28px 80px;
  max-width: 780px;
}

.kicker {
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 28px;
}

.hero-min h1 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 500;
  color: var(--cream);
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero-min h1 span {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  color: rgba(255,251,235,0.85);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto 40px;
}

.hero-cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--purple);
  padding: 14px 32px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.2s;
}
.btn-gold:hover { background: var(--gold-light); }
.btn-sm { padding: 10px 24px; font-size: 0.8rem; }
.btn-full { width: 100%; text-align: center; }

.btn-ghost {
  display: inline-block;
  border: 1.5px solid var(--cream);
  color: var(--cream);
  padding: 14px 32px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.2s;
}
.btn-ghost:hover { background: var(--cream); color: var(--purple); }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,251,235,0.5);
  font-size: 0.8rem;
  letter-spacing: 2px;
  z-index: 2;
}

/* Historia */
.historia { padding: 120px 0; }
.historia-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.historia-visual { position: relative; }
.historia-visual img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.historia-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--purple);
  color: var(--cream);
  padding: 28px 32px;
  text-align: center;
}
.historia-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.historia-label { font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase; }

.historia-text h2 {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 500;
  color: var(--purple);
  margin-bottom: 36px;
}

.timeline { border-left: 2px solid var(--gold); padding-left: 28px; margin-bottom: 28px; }
.tl-item { margin-bottom: 28px; position: relative; }
.tl-item::before {
  content: '';
  position: absolute;
  left: -35px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
}
.tl-year {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}
.tl-item p { color: var(--muted); font-size: 0.95rem; }
.historia-note {
  font-size: 0.9rem;
  color: var(--purple);
  font-weight: 500;
  padding: 20px;
  background: var(--cream-dark);
  border-left: 3px solid var(--gold);
}

/* Servicios */
.servicios { padding: 100px 0; background: var(--white); }
.block-head { text-align: center; margin-bottom: 56px; }
.block-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--purple);
  margin-bottom: 10px;
}
.block-head p { color: var(--muted); }
.block-head--light h2, .block-head--light p { color: var(--cream); }

.serv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 56px;
}
.serv-grid article { padding-top: 20px; border-top: 1px solid var(--cream-dark); }
.serv-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold);
  opacity: 0.6;
}
.serv-grid h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--purple);
  margin: 8px 0 12px;
}
.serv-grid p { color: var(--muted); font-size: 0.95rem; }

/* Experiencias masonry */
.experiencias {
  padding: 100px 0;
  background: var(--purple);
}
.masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}
.exp-card {
  background: var(--cream);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.exp-card img { width: 100%; height: 180px; object-fit: cover; }
.exp-card--tall { grid-row: 1 / 3; }
.exp-card--tall img { height: 280px; }
.exp-card--wide { grid-column: 2 / 4; }
.exp-card--wide img { height: 200px; }
.exp-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.exp-body h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--purple);
  margin-bottom: 8px;
}
.exp-body p { color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; flex: 1; }
.exp-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--cream-dark);
}
.exp-price {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}
.exp-dur { font-size: 0.8rem; color: var(--muted); }

/* Voces / Testimonios */
.voces { padding: 100px 0; }
.voces-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.voz {
  padding: 36px 28px;
  background: var(--white);
  text-align: center;
}
.voz--featured {
  background: var(--purple);
  color: var(--cream);
  transform: translateY(-12px);
  box-shadow: 0 12px 40px rgba(88,28,135,0.25);
}
.voz blockquote {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.55;
  margin-bottom: 24px;
  color: var(--ink);
}
.voz--featured blockquote { color: var(--cream); }
.voz figcaption strong { display: block; font-size: 0.95rem; color: var(--purple); }
.voz--featured figcaption strong { color: var(--gold-light); }
.voz figcaption span { font-size: 0.8rem; color: var(--muted); }
.voz--featured figcaption span { color: rgba(255,251,235,0.7); }

/* Contacto */
.contacto { padding: 100px 0; background: var(--cream-dark); }
.contacto-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
}
.contacto-form-area h2 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--purple);
  margin-bottom: 12px;
}
.contacto-form-area > p { color: var(--muted); margin-bottom: 32px; }

.form { display: flex; flex-direction: column; gap: 14px; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form input,
.form select,
.form textarea {
  padding: 14px 18px;
  border: 1px solid #D6D3D1;
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--purple);
}
.form-msg {
  text-align: center;
  padding: 14px;
  background: #F3E8FF;
  color: var(--purple);
  font-weight: 500;
}

.contacto-aside h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--purple);
  margin-bottom: 16px;
}
.map-embed {
  margin-top: 28px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

/* Footer */
.site-foot {
  background: var(--ink);
  color: rgba(255,251,235,0.6);
  padding: 36px 0;
  text-align: center;
  font-size: 0.85rem;
}
.foot-demo { margin-top: 8px; font-size: 0.75rem; opacity: 0.45; }

@media (max-width: 968px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 280px;
    background: var(--cream);
    flex-direction: column;
    padding: 80px 32px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.3s;
    box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  }
  .nav-links a {
    color: var(--ink);
    font-size: 1rem;
  }
  .nav-links a:hover { color: var(--purple); }
  .nav-reserve {
    border-color: var(--purple);
    color: var(--purple) !important;
    background: transparent;
    text-align: center;
  }
  .nav-reserve:hover {
    background: var(--purple);
    color: var(--cream) !important;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: block; }
  .historia-wrap, .contacto-layout { grid-template-columns: 1fr; }
  .serv-grid, .voces-row { grid-template-columns: 1fr; }
  .masonry { grid-template-columns: 1fr; }
  .exp-card--tall, .exp-card--wide { grid-row: auto; grid-column: auto; }
  .voz--featured { transform: none; }
  .form-pair { grid-template-columns: 1fr; }
  .historia-accent { position: static; margin-top: 16px; display: inline-block; }
}
