:root {
  --bg: #f8eee9;
  --bg-2: #fffaf7;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --text: #382823;
  --muted: #75605a;
  --rose: #b8897e;
  --rose-2: #d7b3aa;
  --rose-dark: #895e56;
  --gold: #c7a46d;
  --cream: #fff6ef;
  --line: rgba(184, 137, 126, 0.28);
  --shadow: 0 26px 80px rgba(86, 46, 35, 0.15);
  --shadow-soft: 0 16px 45px rgba(86, 46, 35, 0.10);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Montserrat", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--text);
  background: linear-gradient(135deg, var(--bg), #ffffff 48%, #f4e1d8);
  overflow-x: hidden;
}

::selection { background: var(--rose); color: #fff; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(circle at 11% 9%, rgba(184, 137, 126, 0.36), transparent 30%),
    radial-gradient(circle at 90% 12%, rgba(199, 164, 109, 0.20), transparent 31%),
    radial-gradient(circle at 48% 93%, rgba(215, 179, 170, 0.42), transparent 36%);
  animation: bgFloat 16s ease-in-out infinite alternate;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.7) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.7) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

@keyframes bgFloat {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.04) translate3d(-1.5%, 1%, 0); }
}

.topbar {
  width: min(1180px, calc(100% - 32px));
  margin: 20px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 14px 40px rgba(86, 46, 35, 0.08);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 14px;
  z-index: 20;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--rose), var(--gold));
  color: white;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -1px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 12px 22px rgba(137, 94, 86, .16);
}

.brand-text { color: var(--text); }

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.nav a {
  padding: 11px 14px;
  text-decoration: none;
  color: var(--muted);
  border-radius: 999px;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}

.nav a:hover,
.nav-pill {
  background: var(--text);
  color: white !important;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.menu-toggle em {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.section-pad {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0;
}

.hero {
  min-height: calc(100vh - 94px);
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  padding-top: 54px;
}

.hero-copybox,
.location-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-copybox {
  position: relative;
  z-index: 2;
  padding: clamp(34px, 6vw, 72px);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero-copybox::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -80px;
  top: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 164, 109, .32), transparent 68%);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--rose-dark);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 18px;
  font-family: var(--font-serif);
  font-size: clamp(52px, 8vw, 96px);
  line-height: .9;
  letter-spacing: -0.045em;
}

.subtitle {
  margin-bottom: 28px;
  font-size: clamp(21px, 2.35vw, 31px);
  color: var(--rose-dark);
  font-weight: 400;
}

.lead {
  max-width: 610px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--rose-dark);
  font-size: 13px;
  font-weight: 700;
  background: rgba(255,255,255,.5);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 54px;
  padding: 15px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

.btn svg { width: 21px; height: 21px; fill: currentColor; }

.btn-primary {
  background: var(--text);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-3px);
  background: var(--rose-dark);
  box-shadow: 0 16px 34px rgba(86, 46, 35, .20);
}

.btn-soft {
  background: rgba(255, 255, 255, 0.58);
  color: var(--rose-dark);
  border: 1px solid var(--line);
}

.btn-soft:hover {
  transform: translateY(-3px);
  background: white;
  box-shadow: var(--shadow-soft);
}

.portrait-wrap {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  perspective: 1100px;
}

.portrait-card {
  min-height: 640px;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background-image:
    linear-gradient(180deg, rgba(57, 40, 35, .02), rgba(57, 40, 35, .18)),
    url("../img/foto-dra-andrea-robles.jpg");
  background-size: cover;
  background-position: center top;
  transform-style: preserve-3d;
  transition: transform .45s ease, box-shadow .45s ease;
}

.portrait-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 28px;
  z-index: 2;
  pointer-events: none;
}

.portrait-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(56, 40, 35, .50), rgba(56, 40, 35, .06) 42%, transparent 72%),
    radial-gradient(circle at 28% 18%, rgba(255,255,255,.28), transparent 28%);
  z-index: 1;
}

.portrait-light {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  right: -86px;
  top: 52px;
  background: radial-gradient(circle, rgba(255, 255, 255, .48), transparent 68%);
  z-index: 1;
  animation: lightPulse 5s ease-in-out infinite alternate;
}

@keyframes lightPulse {
  from { transform: scale(.92); opacity: .55; }
  to { transform: scale(1.08); opacity: .9; }
}

.portrait-caption {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 30px;
  z-index: 3;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(255, 250, 247, .72);
  backdrop-filter: blur(16px);
}

.portrait-caption span {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1;
  font-weight: 700;
}

.portrait-caption strong {
  color: var(--rose-dark);
  white-space: nowrap;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin-bottom: 0;
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.6vw, 66px);
  line-height: .94;
  letter-spacing: -.03em;
}

.section-head p {
  max-width: 470px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.location-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 32px;
  min-height: 220px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 78px rgba(86, 46, 35, 0.17);
}

.location-icon {
  position: absolute;
  right: -20px;
  top: -34px;
  font-family: var(--font-serif);
  font-size: 180px;
  line-height: 1;
  color: rgba(184, 137, 126, .11);
  font-weight: 700;
}

.location-label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--rose-dark);
  background: rgba(184, 137, 126, .13);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
}

.location-card h3 {
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1;
}

.location-card p {
  margin-bottom: 24px;
  color: var(--muted);
}

.location-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  color: var(--rose-dark);
  background: rgba(255,255,255,.62);
  border: 1px solid var(--line);
  transition: transform .25s ease, background .25s ease;
}

.location-card a:hover {
  background: #fff;
  transform: translateY(-2px);
}

.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
}

.footer p { margin: 0; }
.footer a { color: var(--rose-dark); text-decoration: none; font-weight: 800; }
.footer a:hover { text-decoration: underline; }

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-delay="1"] { transition-delay: .14s; }
[data-delay="2"] { transition-delay: .24s; }

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .portrait-card {
    min-height: 620px;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 16px;
  }

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

@media (max-width: 760px) {
  .topbar {
    width: min(100% - 24px, 1180px);
    top: 10px;
  }

  .brand-text {
    max-width: 170px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

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

  .nav {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: min(280px, calc(100vw - 32px));
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.92);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
  }

  .nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav a {
    text-align: center;
  }

  .section-pad {
    width: min(100% - 24px, 1180px);
    padding: 60px 0;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-copybox {
    padding: 32px 22px;
  }

  h1 {
    font-size: clamp(48px, 16vw, 70px);
  }

  .lead {
    font-size: 16px;
    line-height: 1.72;
  }

  .hero-actions {
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .portrait-card {
    min-height: 460px;
    border-radius: 28px;
    background-position: center top;
  }

  .portrait-caption {
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: block;
  }

  .portrait-caption strong {
    display: block;
    margin-top: 8px;
  }

  .location-card {
    padding: 24px;
    border-radius: 26px;
  }

  .footer {
    width: min(100% - 24px, 1180px);
    display: block;
    text-align: center;
  }

  .footer p + p { margin-top: 8px; }
}

@media (max-width: 420px) {
  .brand-mark { width: 38px; height: 38px; }
  .brand-text { max-width: 136px; }
  .topbar { padding: 10px; }
  .portrait-card { min-height: 420px; }
  .section-head h2 { font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
