@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --gold: #C9A96E;
  --gold-light: #dfc090;
  --dark: #0f0f0f;
  --bg: #fafaf8;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --border: #e5e0d8;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 24px 40px;
  display: flex; align-items: center; justify-content: space-between;
  transition: all .4s ease;
}
.navbar.scrolled {
  background: rgba(250,250,248,.97);
  backdrop-filter: blur(12px);
  padding: 16px 40px;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
}
.navbar-brand {
  font-family: var(--serif); font-size: 20px; letter-spacing: .2em;
  color: white; transition: color .4s; cursor: pointer;
}
.navbar.scrolled .navbar-brand { color: var(--text); }
.navbar-links {
  display: flex; gap: 36px; list-style: none;
}
.navbar-links a {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.82); font-weight: 500;
  transition: color .3s; padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled .navbar-links a { color: #444; }
.navbar-links a:hover,
.navbar.scrolled .navbar-links a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.navbar-links a.active { color: var(--gold); border-bottom-color: var(--gold); }

.navbar-cta {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  padding: 10px 24px; border: 1px solid rgba(255,255,255,.6);
  color: white; font-weight: 500; transition: all .3s;
}
.navbar.scrolled .navbar-cta {
  border-color: var(--text); color: var(--text);
}
.navbar-cta:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

.navbar-hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px;
}
.navbar-hamburger span {
  width: 24px; height: 1.5px; background: white; transition: all .3s;
}
.navbar.scrolled .navbar-hamburger span { background: var(--text); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: white; flex-direction: column;
  align-items: center; justify-content: center; gap: 36px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--serif); font-size: 32px; color: var(--text);
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-close {
  position: absolute; top: 24px; right: 32px;
  font-size: 28px; cursor: pointer; color: var(--text);
}

/* ── PAGE HERO (inner pages) ────────────────────────────── */
.page-hero {
  height: 55vh; min-height: 380px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; text-align: center;
}
.page-hero img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.4));
}
.page-hero-content { position: relative; z-index: 1; padding: 0 24px; margin-top: 60px; }
.page-hero-label {
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255,255,255,.65); margin-bottom: 14px; display: block;
}
.page-hero h1 {
  font-family: var(--serif); font-size: clamp(40px, 7vw, 72px);
  color: white; letter-spacing: .08em; line-height: 1.1;
}
.page-hero-divider {
  width: 48px; height: 1px; background: var(--gold); margin: 18px auto 0;
}

/* ── SITE HERO (homepage) ───────────────────────────────── */
.hero {
  height: 100dvh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; text-align: center;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.5) 0%, rgba(0,0,0,.3) 50%, rgba(0,0,0,.7) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 0 24px; margin-top: 80px; }
.hero-location {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(16px, 2.5vw, 22px); color: rgba(255,255,255,.75);
  letter-spacing: .2em; margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--serif); font-size: clamp(52px, 11vw, 120px);
  color: white; letter-spacing: .22em; text-transform: uppercase;
  line-height: 1; margin-bottom: 8px;
}
.hero-tagline {
  font-size: clamp(16px, 2.5vw, 22px); color: rgba(255,255,255,.85);
  font-weight: 300; letter-spacing: .05em; margin-bottom: 48px;
}
.hero-divider { width: 56px; height: 1px; background: var(--gold); margin: 24px auto; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.btn-hero-primary, .btn-hero-secondary {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  padding: 16px 36px; font-weight: 500; transition: all .4s; cursor: pointer; border: 1px solid;
}
.btn-hero-primary {
  background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5);
  color: white; backdrop-filter: blur(8px);
}
.btn-hero-primary:hover { background: white; color: var(--text); border-color: white; }
.btn-hero-secondary {
  background: transparent; border-color: rgba(255,255,255,.25); color: rgba(255,255,255,.85);
}
.btn-hero-secondary:hover { border-color: rgba(255,255,255,.7); color: white; }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 1;
}
.hero-scroll-line {
  width: 1px; height: 56px; background: rgba(255,255,255,.25);
  overflow: hidden; position: relative;
}
.hero-scroll-line::after {
  content: ''; position: absolute; top: -56px; left: 0; width: 1px; height: 56px;
  background: white; animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown { 0%{top:-56px} 100%{top:56px} }

/* ── SECTION COMMONS ────────────────────────────────────── */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 40px; }

.section-header { text-align: center; margin-bottom: 64px; }
.section-label {
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--muted); display: block; margin-bottom: 14px;
}
.section-title {
  font-family: var(--serif); font-size: clamp(32px, 5vw, 52px);
  color: var(--text); line-height: 1.15; margin-bottom: 16px;
}
.section-divider {
  width: 48px; height: 1px; background: var(--gold); margin: 0 auto;
}

.btn-gold {
  display: inline-block; padding: 14px 40px;
  background: var(--text); color: white;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  transition: background .3s; border: 1px solid var(--text);
}
.btn-gold:hover { background: var(--gold); border-color: var(--gold); }
.btn-outline-dark {
  display: inline-block; padding: 14px 40px;
  background: transparent; color: var(--text); border: 1px solid var(--text);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  transition: all .3s;
}
.btn-outline-dark:hover { background: var(--text); color: white; }

/* ── ABOUT ──────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-images { position: relative; }
.about-img-main { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-img-overlay {
  position: absolute; bottom: -32px; right: -32px;
  width: 55%; aspect-ratio: 4/3; object-fit: cover;
  border: 6px solid var(--bg); box-shadow: 0 12px 40px rgba(0,0,0,.15);
}
.about-label { color: var(--gold); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; margin-bottom: 16px; }
.about-title { font-family: var(--serif); font-size: clamp(28px, 4vw, 44px); margin-bottom: 24px; }
.about-text { color: var(--muted); font-weight: 300; line-height: 1.9; margin-bottom: 40px; }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.stat-item { border-left: 2px solid var(--gold); padding-left: 16px; }
.stat-number { font-family: var(--serif); font-size: 28px; color: var(--text); }
.stat-desc { font-size: 12px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; margin-top: 2px; }

/* ── GASTRONOMÍA ────────────────────────────────────────── */
.gastro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.gastro-card { position: relative; overflow: hidden; aspect-ratio: 3/4; }
.gastro-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease;
}
.gastro-card:hover img { transform: scale(1.07); }
.gastro-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 55%);
  transition: background .4s;
}
.gastro-card:hover .gastro-card-overlay { background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.2) 100%); }
.gastro-card-info {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 24px 20px;
}
.gastro-card-cat { font-size: 9px; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.gastro-card-name { font-family: var(--serif); font-size: 18px; color: white; }

/* ── ESPACIOS ───────────────────────────────────────────── */
.espacio-row {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border); margin-bottom: 24px; overflow: hidden;
  transition: box-shadow .3s;
}
.espacio-row:hover { box-shadow: 0 8px 40px rgba(0,0,0,.1); }
.espacio-img { position: relative; overflow: hidden; min-height: 400px; }
.espacio-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.espacio-row:hover .espacio-img img { transform: scale(1.04); }
.espacio-info {
  padding: 56px 64px; display: flex; flex-direction: column; justify-content: center;
  background: white;
}
.espacio-label { font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.espacio-title { font-family: var(--serif); font-size: 34px; margin-bottom: 16px; }
.espacio-desc { color: var(--muted); font-weight: 300; line-height: 1.9; margin-bottom: 20px; }
.espacio-capacity { font-size: 12px; color: var(--gold); letter-spacing: .05em; margin-bottom: 32px; }
.espacio-services { list-style: none; margin-bottom: 36px; }
.espacio-services li {
  font-size: 13px; color: var(--muted); padding: 6px 0;
  border-bottom: 1px solid var(--border); display: flex; gap: 10px; align-items: center;
}
.espacio-services li::before { content: '✓'; color: var(--gold); font-size: 12px; flex-shrink: 0; }

/* ── EVENTOS ────────────────────────────────────────────── */
.eventos-bg { background: var(--dark); }
.eventos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; }
.evento-card {
  padding: 48px 40px; border: 1px solid rgba(255,255,255,.06);
  transition: background .3s;
}
.evento-card:hover { background: rgba(255,255,255,.03); }
.evento-icon { font-size: 32px; margin-bottom: 24px; }
.evento-title { font-family: var(--serif); font-size: 22px; color: white; margin-bottom: 12px; }
.evento-desc { font-size: 14px; color: rgba(255,255,255,.55); font-weight: 300; line-height: 1.8; }
.eventos-feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 80px;
  border: 1px solid rgba(255,255,255,.08);
}
.eventos-feature-img { overflow: hidden; min-height: 360px; }
.eventos-feature-img img { width: 100%; height: 100%; object-fit: cover; }
.eventos-feature-info {
  padding: 64px; display: flex; flex-direction: column; justify-content: center;
}
.eventos-feature-info h3 { font-family: var(--serif); font-size: 30px; color: white; margin-bottom: 16px; }
.eventos-feature-info p { color: rgba(255,255,255,.55); font-weight: 300; line-height: 1.9; }

/* ── EXPERIENCIAS ───────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 280px); gap: 3px; }
.bento-item { position: relative; overflow: hidden; }
.bento-item.wide { grid-column: span 2; }
.bento-item.tall { grid-row: span 2; }
.bento-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.bento-item:hover img { transform: scale(1.07); }
.bento-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 50%);
}
.bento-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; }
.bento-cat { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.bento-name { font-family: var(--serif); font-size: clamp(16px, 2.5vw, 22px); color: white; }
.bento-desc { font-size: 12px; color: rgba(255,255,255,.7); margin-top: 4px; line-height: 1.5; }

/* ── BODAS ──────────────────────────────────────────────── */
.bodas-hero-section {
  height: 80dvh; min-height: 500px; position: relative;
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden;
}
.bodas-hero-section img.bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.bodas-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.15) 60%, rgba(0,0,0,.3) 100%);
}
.bodas-hero-content { position: relative; z-index: 1; text-align: center; padding: 0 24px 72px; }
.bodas-features { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; margin: 64px 0; }
.bodas-feature {
  padding: 40px 24px; text-align: center; border: 1px solid var(--border);
  transition: border-color .3s;
}
.bodas-feature:hover { border-color: var(--gold); }
.bodas-feature-icon { font-size: 28px; margin-bottom: 16px; }
.bodas-feature-name { font-family: var(--serif); font-size: 14px; color: var(--text); }
.bodas-gallery { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 4px; }
.bodas-gallery .g1 { grid-row: span 2; }
.bodas-gallery img { width: 100%; height: 100%; object-fit: cover; }

/* ── RESERVAS ───────────────────────────────────────────── */
.reservas-section {
  min-height: 80dvh; position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 24px;
}
.reservas-section img.bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: blur(3px); transform: scale(1.05);
}
.reservas-overlay { position: absolute; inset: 0; background: rgba(15,15,15,.78); }
.reservas-card {
  position: relative; z-index: 1;
  background: var(--bg); padding: 72px 80px;
  max-width: 580px; width: 100%; text-align: center;
  box-shadow: 0 32px 80px rgba(0,0,0,.4);
}
.reservas-card h2 { font-family: var(--serif); font-size: 42px; margin-bottom: 8px; }
.reservas-card p { color: var(--muted); font-weight: 300; margin-bottom: 40px; }
.btn-reservar {
  display: block; width: 100%; padding: 18px;
  background: var(--text); color: white; text-align: center;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
  transition: background .3s; margin-bottom: 48px;
}
.btn-reservar:hover { background: var(--gold); }
.reservas-qr { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.reservas-qr img { width: 100px; padding: 8px; background: white; border: 1px solid var(--border); }
.reservas-qr span { font-size: 12px; font-family: var(--serif); font-style: italic; color: var(--muted); }

/* ── CONTACTO/UBICACIÓN ─────────────────────────────────── */
.ubicacion-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }
.ubicacion-info h2 { font-family: var(--serif); font-size: 38px; margin-bottom: 40px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-icon { width: 20px; font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.contact-label { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.contact-value { color: var(--text); font-weight: 300; }
.map-frame { width: 100%; height: 500px; border: 1px solid var(--border); }

/* ── FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--dark); color: white;
  padding: 80px 0 0; border-top: 1px solid rgba(255,255,255,.06);
  position: relative;
}
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 64px; margin-bottom: 64px; }
.footer-brand h2 {
  font-family: var(--serif); font-size: 22px; letter-spacing: .2em;
  color: white; margin-bottom: 6px;
}
.footer-divider { width: 28px; height: 1px; background: var(--gold); margin: 16px 0 20px; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,.45); font-weight: 300; line-height: 1.8; margin-bottom: 28px; }
.footer-solar { display: flex; gap: 12px; align-items: center; padding: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.footer-solar img { width: 56px; height: auto; opacity: .8; }
.footer-solar p { font-size: 10px; color: rgba(255,255,255,.35); line-height: 1.6; }
.footer-col h4 { font-family: var(--serif); font-size: 17px; color: var(--gold); margin-bottom: 24px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,.55); font-weight: 300; transition: color .2s; }
.footer-col ul li a:hover { color: white; }
.footer-hours p { font-size: 13px; color: rgba(255,255,255,.55); font-weight: 300; margin-bottom: 8px; line-height: 1.7; }
.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.footer-social a {
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  transition: all .3s;
}
.footer-social a:hover { background: white; color: var(--dark); }
.footer-bottom {
  padding: 20px 40px; border-top: 1px solid rgba(255,255,255,.07);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: rgba(255,255,255,.3); letter-spacing: .05em;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,.3); transition: color .2s; }
.footer-bottom-links a:hover { color: white; }
.footer-admin-btn {
  position: absolute; bottom: 18px; right: 24px;
  font-size: 18px; color: rgba(255,255,255,.18); transition: color .3s; cursor: pointer;
}
.footer-admin-btn:hover { color: rgba(255,255,255,.5); }

/* ── ANIMATIONS ─────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .gastro-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 220px); }
  .bento-item.wide { grid-column: span 1; }
  .bodas-features { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .navbar { padding: 20px 24px; }
  .navbar.scrolled { padding: 14px 24px; }
  .navbar-links, .navbar-cta { display: none; }
  .navbar-hamburger { display: flex; }
  .container, .container-wide { padding: 0 24px; }
  .section { padding: 64px 0; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-overlay { display: none; }
  .espacio-row { grid-template-columns: 1fr; }
  .espacio-info { padding: 36px 28px; }
  .eventos-grid { grid-template-columns: 1fr; }
  .eventos-feature { grid-template-columns: 1fr; }
  .bodas-features { grid-template-columns: repeat(2, 1fr); }
  .bodas-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .bodas-gallery .g1 { grid-row: span 1; }
  .ubicacion-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .reservas-card { padding: 40px 28px; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, 180px); }
}
@media (max-width: 480px) {
  .gastro-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-template-rows: auto; }
  .bento-item { height: 240px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .bodas-features { grid-template-columns: repeat(2, 1fr); }
}
