/* ─── TOKENS ─── */
:root {
  --cream: #F7F3EE;
  --cream-dark: #EDE8E0;
  --black: #2B1F1A;
  --charcoal: #3D3028;
  --warm-gray: #8A7E74;
  --light-gray: #C2BAB0;
  --gold: #A0272A;
  --gold-light: #C23035;
  --gold-dark: #7A1C1F;
  --white: #FEFCF9;
  --border: rgba(43,31,26,0.11);
  --border-strong: rgba(43,31,26,0.22);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 0.35s var(--ease);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--black);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ─── UTILS ─── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ─── NAV ─── */
nav.main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 40px; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(245,240,232,0.85);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
nav.main-nav.scrolled { background: rgba(245,240,232,0.97); }

.nav-logo {
  font-family: var(--font-display); font-size: 22px; font-weight: 500;
  letter-spacing: 0.02em; color: var(--black); text-decoration: none;
  display: flex; align-items: baseline; gap: 5px;
}
.nav-logo em { color: var(--gold); font-style: italic; }

.nav-links { display: flex; align-items: center; gap: 40px; list-style: none; }
.nav-links a {
  font-size: 13px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--charcoal); text-decoration: none; transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-links .nav-cta {
  background: var(--gold); color: var(--white) !important;
  padding: 10px 24px; font-size: 12px; letter-spacing: 0.1em;
}
.nav-links .nav-cta:hover { background: var(--gold-dark); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--black); transition: var(--transition); }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block; padding: 16px 40px;
  background: var(--gold); color: var(--white);
  font-size: 12px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-1px); }

.btn-outline {
  display: inline-block; padding: 15px 40px;
  background: transparent; color: var(--white);
  font-size: 12px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; border: 1px solid rgba(253,250,245,0.45); cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.btn-outline:hover { border-color: var(--white); background: rgba(253,250,245,0.1); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 0; background: none; border: none; cursor: pointer;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--charcoal); text-decoration: none;
  transition: color var(--transition);
}
.btn-ghost:hover { color: var(--gold); }
.btn-ghost svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ─── FORM ELEMENTS ─── */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--warm-gray); margin-bottom: 8px; font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--border-strong); background: var(--cream);
  font-family: var(--font-body); font-size: 14px; color: var(--black);
  outline: none; appearance: none; -webkit-appearance: none; resize: none;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }

.select-wrap { position: relative; }
.select-wrap::after {
  content: ''; position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%); pointer-events: none;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--warm-gray);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.btn-form {
  width: 100%; padding: 16px;
  background: var(--gold); color: var(--white);
  font-size: 12px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase;
  border: none; cursor: pointer; margin-top: 8px;
  transition: background var(--transition);
}
.btn-form:hover { background: var(--gold-dark); }

.btn-whatsapp {
  width: 100%; padding: 16px;
  background: #25D366; color: var(--white);
  font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 12px; text-decoration: none;
  transition: background var(--transition);
}
.btn-whatsapp:hover { background: #1da851; }

/* ─── SECTION ─── */
.section-eyebrow {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px; display: block;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(36px, 4vw, 56px);
  font-weight: 300; line-height: 1.1; letter-spacing: -0.01em;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-sub { margin-top: 16px; color: var(--warm-gray); font-weight: 300; }

/* ─── TOAST ─── */
#toast {
  position: fixed; bottom: 32px; right: 32px; z-index: 999;
  background: var(--black); color: var(--white);
  padding: 16px 24px; font-size: 14px;
  border-left: 3px solid var(--gold);
  transform: translateX(120%); transition: transform 0.4s var(--ease);
  max-width: 320px; pointer-events: none;
}
#toast.show { transform: translateX(0); }

/* ─── WHATSAPP FLOAT ─── */
.wa-float {
  position: fixed; bottom: 32px; left: 32px; z-index: 90;
  width: 56px; height: 56px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
.wa-float svg { width: 28px; height: 28px; fill: white; }

/* ─── FOOTER ─── */
.site-footer { background: var(--black); color: var(--white); padding: 80px 0 40px; }
.footer-grid {
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 60px;
}
.footer-logo {
  font-family: var(--font-display); font-size: 26px; font-weight: 400;
  color: var(--white); margin-bottom: 16px; display: block; text-decoration: none;
}
.footer-logo em { color: var(--gold-light); font-style: italic; }
.footer-tagline { color: rgba(253,250,245,0.5); font-size: 14px; font-weight: 300; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(253,250,245,0.4); margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: rgba(253,250,245,0.65); text-decoration: none; font-size: 14px; transition: color var(--transition); }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  max-width: 1280px; margin: 0 auto; padding: 24px 40px 0;
  border-top: 1px solid rgba(253,250,245,0.1);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 12px; color: rgba(253,250,245,0.35); }

/* ─── FORM SUCCESS ─── */
.form-success {
  text-align: center; padding: 32px;
  display: none; flex-direction: column; align-items: center; gap: 16px;
}
.form-success.show { display: flex; }
.form-success-icon {
  width: 56px; height: 56px; border: 1px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 24px;
}
.form-success p { font-family: var(--font-display); font-size: 20px; font-weight: 400; }
.form-success small { color: var(--warm-gray); font-size: 13px; }

/* ─── FADE IN ─── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s, transform 0.6s; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav.main-nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: fixed;
    top: 72px; left: 0; right: 0; background: var(--cream);
    padding: 32px 20px; gap: 28px; border-bottom: 1px solid var(--border); z-index: 99;
  }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .container { padding: 0 20px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { padding: 24px 20px 0; }
  .form-row { grid-template-columns: 1fr; }
}
