@font-face {
  font-family: 'Parisian';
  src: url('../fonts/PARISIAN.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --base:      #F0E8DC;
  --type:      #2C2118;
  --accent:    #B05A38;
  --secondary: #8C7B6A;
  --rule:      #D4C9BC;
  --base-dark: #e6dcd0;
  --radius:    2px;
  --font-display: 'Parisian', 'Playfair Display', serif;
  --font-body:    'Jost', sans-serif;
  --tap: 48px; /* minimum tap target */
}

html { scroll-behavior: smooth; }

/* ── Hide reCAPTCHA badge (permitted per Google ToS when attribution is in form) ── */
.grecaptcha-badge { visibility: hidden !important; }
.recaptcha-notice {
  font-size: 10px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--secondary);
  text-align: center;
  margin-top: 12px;
  opacity: 0.7;
}
.recaptcha-notice a {
  color: var(--secondary);
  text-decoration: underline;
  transition: color 0.2s;
}
.recaptcha-notice a:hover { color: var(--type); }

/* ── Utility ── */
.mb-0 { margin-bottom: 0 !important; }

/* ── Honeypot ── */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* ── Header spacer (for centering logo on desktop) ── */
.header-spacer { width: 120px; }

/* ── Focus Visible ── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.btn-submit:focus-visible {
  outline-color: var(--type);
  outline-offset: 3px;
}

body {
  background: var(--base);
  color: var(--type);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ══════════════════════════════
   HEADER + HERO WRAPPER
   Hero image as shared background
══════════════════════════════ */
.hero-wrapper {
  position: relative;
  overflow: hidden;
}

/* Background image layer */
.hero-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/hero-restaurant.webp');
  background-size: cover;
  background-position: center 35%;
}

/* Dark overlay for text legibility */
.hero-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(20, 13, 8, 0.88) 0%,
      rgba(20, 13, 8, 0.82) 40%,
      rgba(20, 13, 8, 0.75) 100%
    );
}

/* ══════════════════════════════
   HEADER — static, not sticky
══════════════════════════════ */
.site-header {
  position: relative;
  z-index: 2;
  padding: 20px 24px;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid rgba(240,232,220,0.08);
}

.header-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--base);
  text-decoration: none;
  text-align: center;
}

/* ══════════════════════════════
   PAGE HERO — compact on mobile
══════════════════════════════ */
.page-hero {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 48px 24px 52px;
  text-align: center;
}

/* Subtle warm glow behind headline */
.page-hero::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(176,90,56,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(38px, 11vw, 56px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--base);
  margin-bottom: 18px;
  animation: fadeUp 0.8s 0.25s ease both;
}
.hero-headline em {
  font-style: italic;
  color: rgba(240,232,220,0.52);
}

.hero-sub {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(240,232,220,0.52);
  max-width: 360px;
  margin: 0 auto;
  animation: fadeUp 0.8s 0.4s ease both;
}

/* Thin accent rule under hero */
.hero-rule {
  width: 32px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto;
  opacity: 0;
  animation: fadeIn 0.8s 0.6s ease forwards;
}

/* ══════════════════════════════
   FORM SECTION
══════════════════════════════ */
.form-section {
  padding: 40px 24px 56px;
  max-width: 560px;
  margin: 0 auto;
}

/* Process reassurance — above form */
.process-note {
  background: var(--base-dark);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 36px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.process-note-icon {
  color: var(--accent);
  font-size: 16px;
  flex-shrink: 0;
  padding-top: 1px;
}

.process-note-text {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--secondary);
}
.process-note-text strong {
  font-weight: 500;
  color: var(--type);
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
}

/* ── FORM ── */
.consultation-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Form section dividers */
.form-section-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--secondary);
  padding: 28px 0 14px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.form-section-label::before {
  content: '';
  display: block;
  width: 16px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}
.form-section-label:first-child {
  padding-top: 0;
}

/* Field groups — full width, stacked */
.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.field-group:last-of-type { margin-bottom: 0; }

.field-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--secondary);
}
.field-label .req { color: var(--accent); margin-left: 2px; }

.field-input,
.field-select,
.field-textarea {
  font-family: var(--font-body);
  font-size: 16px; /* 16px prevents iOS zoom */
  font-weight: 300;
  color: var(--type);
  background: var(--base-dark);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
  min-height: var(--tap);
  -webkit-appearance: none;
  appearance: none;
}
.field-input:focus,
.field-select:focus,
.field-textarea:focus {
  border-color: var(--accent);
  background: rgba(176,90,56,0.04);
}

.field-input::placeholder,
.field-textarea::placeholder {
  color: var(--secondary);
  opacity: 0.5;
}

.field-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%238C7B6A' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-color: var(--base-dark);
  padding-right: 32px;
}
.field-select:focus { background-color: rgba(176,90,56,0.04); }
.field-select option { background: var(--base); }

.field-textarea {
  resize: none;
  height: 100px;
  line-height: 1.65;
}

/* ── PREFERRED CONTACT — pill toggle ── */
.contact-pref-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.pref-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 4px;
}
.pref-label .req { color: var(--accent); margin-left: 2px; }

.pref-options {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.pref-option {
  position: relative;
}

.pref-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.pref-option label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 8px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  min-height: var(--tap);
  text-align: center;
  background: transparent;
}

.pref-option input[type="radio"]:checked + label {
  border-color: var(--accent);
  background: rgba(176,90,56,0.06);
}

.pref-icon {
  font-size: 16px;
  color: var(--secondary);
  transition: color 0.2s;
}
.pref-option input[type="radio"]:checked + label .pref-icon {
  color: var(--accent);
}

.pref-text {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  transition: color 0.2s;
  line-height: 1.2;
}
.pref-option input[type="radio"]:checked + label .pref-text {
  color: var(--type);
}

/* ── CONDITIONAL: best time (shown when phone or both selected) ── */
.field-conditional {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease, margin-bottom 0.3s ease;
  margin-bottom: 0;
}
.field-conditional.visible {
  max-height: 120px;
  opacity: 1;
  margin-bottom: 24px;
}

/* ── SUBMIT BLOCK ── */
.form-submit-block {
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Dynamic confirmation copy — updates based on contact pref */
.submit-note {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--secondary);
  text-align: center;
  min-height: 36px;
  transition: opacity 0.2s;
}
.submit-note em {
  font-style: italic;
  color: var(--secondary);
}

.form-error {
  display: none;
  font-size: 12px;
  font-weight: 400;
  color: #c0392b;
  padding: 12px 16px;
  background: rgba(192,57,43,0.07);
  border: 1px solid rgba(192,57,43,0.2);
  border-radius: var(--radius);
  margin-top: 4px;
  line-height: 1.6;
}

.btn-submit {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--base);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 0 36px;
  height: 56px;
  width: 100%;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  -webkit-appearance: none;
  appearance: none;
}
.btn-submit:hover,
.btn-submit:active { background: transparent; color: var(--accent); }

/* ── SUCCESS STATE ── */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 56px 0 72px;
  gap: 20px;
}

.form-success-icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(176,90,56,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 18px;
  border-radius: var(--radius);
}

.form-success-headline {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--type);
}
.form-success-headline em {
  font-style: italic;
  color: var(--secondary);
}

.form-success-body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--secondary);
  max-width: 340px;
}

/* ══════════════════════════════
   TRUST STRIP — below form
══════════════════════════════ */
.trust-strip {
  background: var(--type);
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.trust-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid rgba(240,232,220,0.08);
}
.trust-item:first-child { padding-top: 0; }
.trust-item:last-child { border-bottom: none; padding-bottom: 0; }

.trust-icon {
  color: var(--accent);
  font-size: 14px;
  flex-shrink: 0;
  padding-top: 3px;
}

.trust-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--base);
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}
.trust-body {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(240,232,220,0.42);
}

/* ══════════════════════════════
   DIRECT CONTACT STRIP
══════════════════════════════ */
.direct-contact {
  background: var(--base-dark);
  border-top: 1px solid var(--rule);
  padding: 36px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.direct-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--secondary);
}

.direct-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.direct-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: var(--tap);
  font-size: 14px;
  font-weight: 300;
  color: var(--type);
  text-decoration: none;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  transition: border-color 0.2s, color 0.2s;
}
.direct-link:hover { border-color: var(--accent); color: var(--accent); }
.direct-link-icon { color: var(--accent); font-size: 14px; }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
footer {
  background: var(--type);
  padding: 28px 24px;
  text-align: center;
  border-top: 1px solid rgba(240,232,220,0.08);
}

.footer-copy {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: rgba(240,232,220,0.22);
}
.footer-credit {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: rgba(240,232,220,0.22);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-credit:hover { color: rgba(240,232,220,0.45); }

/* ══════════════════════════════
   DESKTOP — TRUST PITCH (1024+)
══════════════════════════════ */
.trust-pitch-eyebrow {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.trust-pitch-headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--type);
  margin-bottom: 20px;
}
.trust-pitch-headline em {
  font-style: italic;
  color: var(--secondary);
}

.trust-pitch-body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: #4a4035;
  max-width: 360px;
}

/* ══════════════════════════════
   DESKTOP — PROOF STATS
══════════════════════════════ */
.desktop-proof-stat-number {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 300;
  color: var(--base);
  margin-bottom: 8px;
}

.desktop-proof-stat-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240,232,220,0.35);
  margin-bottom: 8px;
}

.desktop-proof-stat-desc {
  font-size: 13px;
  font-weight: 300;
  color: rgba(240,232,220,0.4);
  line-height: 1.7;
}

/* ══════════════════════════════
   DESKTOP UPGRADE (>= 768px)
══════════════════════════════ */
@media (min-width: 768px) {

  .site-header { padding: 24px 48px; justify-content: space-between; }
  .header-logo { font-size: 22px; }

  .header-back {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(240,232,220,0.45);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
  }
  .header-back:hover { color: var(--base); }

  .page-hero { padding: 72px 48px 80px; text-align: left; }
  .page-hero::before { left: 40%; }
  .hero-sub { margin: 0 0 0 0; }
  .hero-rule { margin: 24px 0 0; }

  .form-section { padding: 56px 48px 72px; max-width: 700px; }

  .pref-options { gap: 14px; }

  .trust-strip { padding: 64px 48px; }
  .trust-item { padding: 28px 0; }

  .direct-contact { flex-direction: row; justify-content: center; gap: 32px; padding: 36px 48px; }
  .direct-links { flex-direction: row; width: auto; gap: 16px; }
  .direct-link { padding: 0 28px; width: auto; }

  footer { padding: 32px 48px; }
}

@media (min-width: 1024px) {
  .contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px solid var(--rule);
  }

  .form-section {
    padding: 72px 64px;
    max-width: none;
    border-right: 1px solid var(--rule);
    border-bottom: none;
  }

  .trust-strip {
    background: var(--base-dark);
    padding: 72px 56px;
    border-bottom: none;
  }

  .trust-item { border-color: var(--rule); }
  .trust-title { color: var(--type); }
  .trust-body { color: var(--secondary); }

  .desktop-proof {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    background: var(--type);
    padding: 56px 64px;
  }

  .desktop-proof-stat { padding: 0 48px; border-right: 1px solid rgba(240,232,220,0.1); }
  .desktop-proof-stat:first-child { padding-left: 0; }
  .desktop-proof-stat:last-child { border-right: none; padding-right: 0; padding-left: 48px; }

  .direct-contact { padding: 36px 64px; }
  footer { padding: 32px 64px; display: flex; justify-content: space-between; align-items: center; }

  .trust-pitch {
    margin-bottom: 40px;
    display: block;
  }
}

/* Hide desktop-only elements on mobile by default */
.header-back { display: none; }
.header-spacer { display: none; }
.desktop-proof { display: none; }
.trust-pitch { display: none; }

@media (min-width: 768px) {
  .header-back { display: flex; }
  .header-spacer { display: block; }
}

@media (min-width: 1024px) {
  .desktop-proof { display: grid; }
  .trust-pitch { display: block; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
