/* =============================================
   MESÓN DEL PARQUE — Design System
   ============================================= */

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

/* --- Variables --- */
:root {
  --bg:           #F4F7F1;
  --surface:      #FFFFFF;
  --surface-2:    #EBF0E4;
  --surface-3:    #DCE7D2;
  --border:       #C4D4B8;
  --border-light: #DDE9D4;

  --text:         #1A2814;
  --text-muted:   #4A6240;
  --text-light:   #7A9470;

  --accent:       #5C7A3E;
  --accent-hover: #486430;
  --accent-light: #8DB86A;
  --accent-bg:    #E8F2DE;

  --dark:         #1C2E12;
  --dark-2:       #2A4018;

  --nav-h:        72px;
  --radius-sm:    6px;
  --radius:       12px;
  --radius-lg:    20px;

  --shadow-sm:    0 1px 4px rgba(26,40,18,.07);
  --shadow:       0 4px 20px rgba(26,40,18,.11);
  --shadow-lg:    0 12px 40px rgba(26,40,18,.16);

  --transition:   .22s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  font-weight: 600;
}
.heading-xl { font-size: clamp(2.4rem, 5vw, 4rem); }
.heading-lg { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
.heading-md { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
.heading-sm { font-size: 1.25rem; }

.text-accent  { color: var(--accent); }
.text-muted   { color: var(--text-muted); }
.text-center  { text-align: center; }
.italic       { font-style: italic; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* --- Layout --- */
.container {
  width: 90%;
  max-width: 1160px;
  margin-inline: auto;
}
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .03em;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-outline {
  border: 1.5px solid var(--accent);
  color: var(--accent);
  background: transparent;
}
.btn-outline:hover { background: var(--accent); color: #fff; }

.btn-ghost {
  color: var(--text-muted);
  padding: .75rem 1rem;
}
.btn-ghost:hover { color: var(--accent); }

.btn-dark {
  background: var(--dark);
  color: #fff;
}
.btn-dark:hover { background: var(--dark-2); transform: translateY(-1px); }

/* --- Cards --- */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-body { padding: 1.75rem; }

/* --- Divider --- */
.divider {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 1rem auto;
}
.divider-left { margin-inline: 0; }

/* --- Image placeholders --- */
.img-placeholder {
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface-3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: .8rem;
  letter-spacing: .06em;
}

/* =============================================
   NAVIGATION
   ============================================= */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(244,247,241,.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 900;
  transition: box-shadow var(--transition);
}
#site-nav.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-logo .logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: .02em;
}
.nav-logo .logo-sub {
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: .5rem .9rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active { color: var(--accent); }

.nav-cta {
  margin-left: .5rem;
}

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  z-index: 899;
  flex-direction: column;
  gap: .25rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  display: block;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}
.nav-mobile a:hover { background: var(--surface-2); color: var(--text); }
.nav-mobile .nav-mobile-cta { margin-top: .5rem; }

/* Page offset */
.page-content { padding-top: var(--nav-h); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1C2E12 0%, #2A4018 40%, #385426 100%);
  z-index: 0;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(92,122,62,.15) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(92,122,62,.10) 0%, transparent 40%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero-eyebrow {
  color: var(--accent-light);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent-light);
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent-light);
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 2.5rem;
  max-width: 520px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header {
  margin-bottom: 3.5rem;
}
.section-header.centered { text-align: center; }
.section-header.centered .divider { margin-inline: auto; }

.section-header .eyebrow { margin-bottom: .75rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p {
  color: var(--text-muted);
  max-width: 560px;
  font-size: 1.05rem;
}
.section-header.centered p { margin-inline: auto; }

/* =============================================
   SERVICES GRID
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  padding: 2.25rem 2rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: var(--accent-light);
}
.service-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: .75rem;
}
.service-card p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =============================================
   VENUE FEATURE
   ============================================= */
.venue-feature {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.venue-img {
  min-height: 420px;
  background: linear-gradient(135deg, #2A4018, #3E5A28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.2);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.venue-body {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.venue-body .eyebrow { color: var(--accent-light); }
.venue-body h2 { color: #fff; margin-bottom: 1rem; }
.venue-body .italic { color: var(--accent-light); font-size: .9rem; margin-bottom: 1.5rem; }
.venue-body p { color: rgba(255,255,255,.65); margin-bottom: 2rem; line-height: 1.8; }
.venue-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.venue-stat-n {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: var(--accent-light);
  display: block;
}
.venue-stat-l {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .05em;
}

/* =============================================
   PROCESS STEPS
   ============================================= */
.bg-surface-2 { background: var(--surface-2); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  position: relative;
}
.step {
  text-align: center;
  padding: 2rem 1.5rem;
}
.step-num {
  width: 56px;
  height: 56px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--accent);
  margin: 0 auto 1.5rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: .75rem; }
.step p { font-size: .9rem; color: var(--text-muted); }

/* =============================================
   CTA BAND
   ============================================= */
.cta-band {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,.65); margin-bottom: 2.5rem; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-light {
  background: #fff;
  color: var(--dark);
  font-weight: 600;
}
.btn-light:hover { background: var(--surface-2); }
.btn-outline-light {
  border: 1.5px solid rgba(255,255,255,.4);
  color: #fff;
  background: transparent;
}
.btn-outline-light:hover { background: rgba(255,255,255,.1); }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  background: var(--dark);
  padding: 80px 0 64px;
  color: #fff;
}
.page-hero .eyebrow { color: var(--accent-light); margin-bottom: .75rem; }
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,.6); font-size: 1.05rem; max-width: 540px; }

/* =============================================
   GALLERY
   ============================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-grid .tall { grid-row: span 2; }
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  position: relative;
}
.gallery-item.tall { aspect-ratio: auto; }
.gallery-item .img-placeholder {
  width: 100%;
  height: 100%;
  transition: transform var(--transition);
}
.gallery-item:hover .img-placeholder { transform: scale(1.03); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,40,18,0);
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  opacity: 0;
  transition: all var(--transition);
}
.gallery-item:hover .gallery-overlay { background: rgba(26,40,18,.45); opacity: 1; }

/* =============================================
   CONTACT
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
}
.contact-info h3 { font-size: 1.3rem; margin-bottom: 1.5rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
  align-items: flex-start;
}
.contact-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--accent-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.contact-item h4 { font-size: .85rem; font-weight: 600; margin-bottom: .2rem; }
.contact-item p, .contact-item a { font-size: .9rem; color: var(--text-muted); }
.contact-item a:hover { color: var(--accent); }

.contact-form .form-group { margin-bottom: 1.25rem; }
.contact-form label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .5rem;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-size: .925rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(92,122,62,.12);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.6);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #fff;
  font-weight: 700;
}
.footer-brand .logo-sub {
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1rem;
}
.footer-brand p { font-size: .875rem; line-height: 1.75; }
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--accent-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
}
.footer-bottom a { color: var(--accent-light); }
.footer-bottom a:hover { text-decoration: underline; }

/* =============================================
   LOGIN PAGE
   ============================================= */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 2rem;
}
.login-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  padding: 3rem 2.5rem;
  width: 100%;
  max-width: 420px;
}
.login-logo {
  text-align: center;
  margin-bottom: 2.5rem;
}
.login-logo .logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
}
.login-logo .logo-sub {
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-top: .25rem;
}
.login-title {
  font-size: 1.3rem;
  margin-bottom: .5rem;
}
.login-subtitle {
  font-size: .875rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.login-form .form-group { margin-bottom: 1.25rem; }
.login-form label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .5rem;
}
.login-form input {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: .95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.login-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(92,122,62,.12);
}
.login-error {
  background: #FFF3F3;
  border: 1px solid #FFCCCC;
  color: #C0392B;
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  font-size: .875rem;
  margin-bottom: 1.25rem;
  display: none;
}
.login-error.show { display: block; }

/* =============================================
   PRIVATE / DASHBOARD
   ============================================= */
.private-layout {
  display: flex;
  min-height: 100vh;
  background: var(--bg);
}
.sidebar {
  width: 260px;
  min-width: 260px;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  padding: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.sidebar-header {
  padding: 1.75rem 1.5rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.sidebar-logo-img {
  display: block;
  height: 52px;
  width: auto;
  object-fit: contain;
  margin-bottom: .65rem;
  filter: brightness(0) invert(1);
}
.sidebar-logo .logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: #fff;
  font-weight: 700;
}
.sidebar-logo .logo-sub {
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-light);
}
.sidebar-badge {
  display: inline-block;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(92,122,62,.2);
  color: var(--accent-light);
  border-radius: 4px;
  padding: .2rem .6rem;
  margin-top: .75rem;
}
.sidebar-nav { padding: 1.25rem .75rem; flex: 1; }
.sidebar-nav-label {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  padding: .5rem .75rem;
  margin-top: 1rem;
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: all var(--transition);
  margin-bottom: .125rem;
}
.sidebar-nav a:hover { background: rgba(255,255,255,.07); color: rgba(255,255,255,.9); }
.sidebar-nav a.active { background: rgba(92,122,62,.18); color: var(--accent-light); }
.sidebar-nav a span.nav-icon { font-size: 1rem; width: 20px; text-align: center; }
.sidebar-footer {
  padding: 1.25rem .75rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem .75rem;
  border-radius: var(--radius-sm);
  margin-bottom: .5rem;
}
.sidebar-user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(92,122,62,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  color: var(--accent-light);
  font-weight: 600;
}
.sidebar-user-info { flex: 1; overflow: hidden; }
.sidebar-user-name {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-user-role {
  font-size: .7rem;
  color: rgba(255,255,255,.35);
}
.btn-logout {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  transition: all var(--transition);
}
.btn-logout:hover { background: rgba(255,80,80,.1); color: #FF8080; }

.dashboard-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.dashboard-topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border-light);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
}
.topbar-title { font-size: 1rem; font-weight: 600; color: var(--text); }
.topbar-actions { display: flex; align-items: center; gap: .75rem; }

.dashboard-body { padding: 2rem; flex: 1; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.stat-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  padding: 1.5rem;
}
.stat-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: .5rem;
}
.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--text);
  line-height: 1;
  margin-bottom: .25rem;
}
.stat-delta {
  font-size: .78rem;
  color: var(--text-muted);
}
.stat-delta.up { color: #5C7A3E; }

.table-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  overflow: hidden;
}
.table-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
}
.table-header h3 { font-size: 1rem; }
table {
  width: 100%;
  border-collapse: collapse;
}
th {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: .9rem 1.5rem;
  text-align: left;
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
}
td {
  padding: 1rem 1.5rem;
  font-size: .875rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg); }
.badge {
  display: inline-block;
  padding: .25rem .7rem;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 600;
}
.badge-pending  { background: #FEF3C7; color: #92400E; }
.badge-sent     { background: #DBEAFE; color: #1E40AF; }
.badge-approved { background: #D1FAE5; color: #065F46; }
.badge-rejected  { background: #FEE2E2; color: #991B1B; }
.badge-reserved  { background: #FFF3E0; color: #B45309; border: 1px solid #FCD34D; }
.badge-confirmed { background: #ECFDF5; color: #065F46; border: 1px solid #6EE7B7; }
.badge-done      { background: #F3F4F6; color: #374151; border: 1px solid #D1D5DB; }

/* Botón hamburguesa mobile — oculto en escritorio */
.btn-mobile-menu { display: none; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .venue-feature { grid-template-columns: 1fr; }
  .venue-img { min-height: 260px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }

  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .tall { grid-row: span 1; }
  .form-row { grid-template-columns: 1fr; }

  /* ── Dashboard mobile ── */
  .sidebar {
    position: fixed;
    top: 0; left: 0;
    width: 270px;
    height: 100vh;
    z-index: 300;
    transform: translateX(-100%);
    transition: transform .28s ease;
  }
  .sidebar.mobile-open { transform: translateX(0); }

  /* Overlay detrás del sidebar cuando está abierto */
  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 299;
  }
  .sidebar-overlay.mobile-open { display: block; }

  /* Botón hamburguesa en topbar */
  .btn-mobile-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem; height: 2.4rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: transparent;
    cursor: pointer;
    font-size: 1.15rem;
    color: var(--text-muted);
    flex-shrink: 0;
  }

  .dashboard-topbar { padding: 0 1rem; gap: .75rem; }
  .dashboard-body { padding: 1rem; }
  .stats-row { grid-template-columns: 1fr 1fr; }

  /* ── Tabla: scroll horizontal ── */
  .table-card {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
  }
  .table-card table { min-width: 640px; }
  /* Wrapper explícito (usado en cotizador) — hereda el scroll del card */
  .table-scroll-wrap { overflow: visible; }

  /* ── Filtros: apilar en mobile ── */
  .filter-area { padding: .75rem 1rem; }
  .filter-row { flex-direction: column; align-items: stretch; }
  .filter-row input[type="text"]  { width: 100% !important; }
  .filter-row input[type="date"]  { width: 100% !important; }
  .filter-row select              { min-width: 0 !important; width: 100%; }
  .btn-clear-filters              { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .stats-row { grid-template-columns: 1fr; }
  .login-card { padding: 2rem 1.5rem; }
}

/* =============================================
   DISEÑO V2 — Romance, Textura & Vida
   ============================================= */

:root {
  --blush:    #EEF3E6;
  --blush-2:  #E0EBD4;
  --rose:     #7A5C3C;
  --rose-light: #B09060;
  --sage:     #6A8C5E;
}

/* --- Paleta extendida de fondos --- */
.bg-blush { background: var(--blush); }
.bg-dark  { background: var(--dark); }

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .75s cubic-bezier(.22,1,.36,1), transform .75s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }

/* --- Photo Frames (reemplaza placeholders grises) --- */
.photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.photo-frame .pf-bg {
  position: absolute;
  inset: 0;
  transition: transform .6s ease;
}
.photo-frame:hover .pf-bg { transform: scale(1.04); }
.photo-frame::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(92,122,62,.3);
  border-radius: calc(var(--radius) - 6px);
  pointer-events: none;
  z-index: 2;
}
.photo-frame .pf-label {
  position: absolute;
  bottom: 1.25rem; left: 1.25rem; right: 1.25rem;
  z-index: 3;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  background: rgba(26,40,18,.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: .4rem .8rem;
  border-radius: 4px;
  display: inline-block;
  width: fit-content;
}
/* Variantes de gradiente */
.pf-warm-a { background: linear-gradient(145deg, #B8C8A0 0%, #A0B488 40%, #8C9E74 100%); }
.pf-warm-b { background: linear-gradient(145deg, #C8D8B0 0%, #B0C498 50%, #98B080 100%); }
.pf-warm-c { background: linear-gradient(145deg, #D8E8C8 0%, #C4D4B0 50%, #B0C09C 100%); }
.pf-blush-a { background: linear-gradient(145deg, #C4A882 0%, #B09068 50%, #9C7C54 100%); }
.pf-blush-b { background: linear-gradient(145deg, #D4BC9C 0%, #C0A480 50%, #AC9068 100%); }
.pf-dark-a  { background: linear-gradient(145deg, #385428 0%, #2A4018 50%, #1C2E12 100%); }
.pf-sage-a  { background: linear-gradient(145deg, #B4C8A4 0%, #9CB48C 50%, #84A074 100%); }
/* Patrón decorativo interno */
.pf-warm-a::before, .pf-warm-b::before, .pf-warm-c::before,
.pf-blush-a::before, .pf-blush-b::before, .pf-dark-a::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 35%, rgba(255,255,255,.18) 0%, transparent 45%),
    radial-gradient(circle at 75% 70%, rgba(0,0,0,.08) 0%, transparent 40%);
  z-index: 1;
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--dark);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,.05);
}
.stats-bar-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.stats-bar-item {
  text-align: center;
  padding: 0 3.5rem;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stats-bar-item:last-child { border-right: none; }
.stats-bar-n {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--accent-light);
  display: block;
  line-height: 1;
}
.stats-bar-l {
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  margin-top: .4rem;
  display: block;
}

/* --- Wedding Spotlight --- */
.wedding-spotlight { background: var(--blush); }
.wedding-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}
.wedding-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 320px 200px;
  gap: .9rem;
}
.wedding-photos .main-photo {
  grid-column: 1;
  grid-row: 1 / 3;
}
.wedding-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--blush-2);
  border: 1px solid var(--rose-light);
  border-radius: 100px;
  padding: .35rem 1.1rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1.25rem;
}
.wedding-tag::before { content: '♡'; font-size: .9rem; }
.wedding-includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin: 1.75rem 0;
}
.wedding-includes li {
  display: flex;
  align-items: center;
  gap: .85rem;
  font-size: .9rem;
  color: var(--text-muted);
}
.wedding-includes li .wi-icon {
  width: 28px; height: 28px; min-width: 28px;
  background: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
  box-shadow: var(--shadow-sm);
}

/* --- Testimonials --- */
.testimonials-section {
  background: var(--dark);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.testimonial-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  position: relative;
  transition: background var(--transition), border-color var(--transition);
}
.testimonial-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(92,122,62,.25);
}
.testimonial-quote {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  color: var(--accent);
  opacity: .2;
  position: absolute;
  top: .75rem; left: 1.75rem;
  line-height: 1;
  pointer-events: none;
}
.testimonial-stars {
  color: var(--accent-light);
  letter-spacing: .12em;
  margin-bottom: 1.25rem;
  font-size: .85rem;
}
.testimonial-text {
  font-size: .925rem;
  color: rgba(255,255,255,.65);
  line-height: 1.85;
  margin-bottom: 1.75rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.07);
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(92,122,62,.18);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--accent-light);
  font-weight: 700;
  border: 1.5px solid rgba(92,122,62,.3);
}
.testimonial-name {
  font-size: .875rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}
.testimonial-event {
  font-size: .75rem;
  color: rgba(255,255,255,.35);
  margin-top: .2rem;
}

/* --- Gallery Home Preview --- */
.gallery-home {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 280px 220px;
  gap: 1rem;
}
.gh-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gh-item.gh-tall { grid-column: 1; grid-row: 1 / 3; }
.gh-item .pf-bg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .55s ease; }
.gh-item:hover .pf-bg { transform: scale(1.06); }
.gh-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,40,18,.65) 0%, transparent 55%);
  display: flex; align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.gh-item:hover .gh-overlay { opacity: 1; }
.gh-label {
  font-size: .7rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: #fff;
}

/* --- WhatsApp Float --- */
.wa-float {
  position: fixed;
  bottom: 1.75rem; right: 1.75rem;
  z-index: 700;
  width: 54px; height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,.45);
  transition: transform var(--transition), box-shadow var(--transition);
  font-size: 1.5rem;
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 8px 32px rgba(37,211,102,.55);
}

/* --- Hero mejorado --- */
.hero-visual {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 48%;
  z-index: 1;
  overflow: hidden;
}
.hero-visual-photo {
  width: 100%; height: 100%;
  clip-path: polygon(12% 0%, 100% 0%, 100% 100%, 0% 100%);
  background: linear-gradient(145deg, #385428 0%, #2C4420 40%, #1C2E12 100%);
  position: relative;
}
.hero-visual-photo::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 60% 40%, rgba(92,122,62,.2) 0%, transparent 50%),
    radial-gradient(circle at 30% 70%, rgba(92,122,62,.1) 0%, transparent 40%);
}
.hero-visual-ornament {
  position: absolute;
  top: 50%; left: 2rem;
  transform: translateY(-50%);
  width: 180px; height: 300px;
  opacity: .12;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(92,122,62,.15);
  border: 1px solid rgba(92,122,62,.3);
  border-radius: 100px;
  padding: .4rem 1.1rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
}
.hero-badge::before { content: '✦'; }

/* Responsive V2 */
@media (max-width: 1024px) {
  .hero-visual { display: none; }
  .wedding-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 1rem; }
  .stats-bar-inner { flex-wrap: wrap; }
  .stats-bar-item { width: 50%; padding: 1rem 2rem; border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .gallery-home { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gh-item.gh-tall { grid-column: auto; grid-row: auto; }
}
@media (max-width: 600px) {
  .gallery-home { grid-template-columns: 1fr; }
  .wedding-photos { grid-template-rows: 260px 180px; }
}
