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

:root {
  --bg: #f4f1ec;
  --white: #ffffff;
  --ink: #18160f;
  --terra: #c4622d;
  --terra-light: #fae8df;
  --terra-mid: #e8a07a;
  --sand: #e8dfd0;
  --warm: #8a7d62;
  --border: #ddd6c8;
  --surface: #ede8e0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  background: rgba(244,241,236,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-decoration: none;
  color: var(--ink);
}

.logo span { color: var(--terra); }

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-size: 13px; color: var(--warm); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }

.nav-right { display: flex; align-items: center; gap: 16px; }

.lang-switch {
  display: flex; gap: 4px;
}

.lang-switch a {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
  text-decoration: none;
  color: var(--warm);
  transition: all 0.2s;
}

.lang-switch a.active {
  background: var(--ink);
  color: white;
}

.lang-switch a:hover:not(.active) {
  color: var(--ink);
}

.nav-btn {
  padding: 10px 24px;
  background: var(--ink);
  color: white;
  border: none;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.nav-btn:hover { background: var(--terra); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  padding-top: 64px;
  display: grid;
  grid-template-rows: 1fr auto;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-bg-left {
  background: var(--surface);
}

.hero-bg-right {
  background: url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb3?w=900&q=80') center/cover no-repeat;
  position: relative;
}

.hero-bg-right::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(244,241,236,0.3) 0%, rgba(24,22,15,0.4) 100%);
}

.hero-layer {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 80px 48px 60px;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - 64px);
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--terra);
  font-weight: 500;
  margin-bottom: 28px;
  padding: 6px 14px;
  background: var(--terra-light);
  border-radius: 100px;
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: italic;
  color: var(--terra);
}

.hero h1 strong {
  font-weight: 700;
}

.hero-tagline {
  font-family: 'Fraunces', serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 300;
  font-style: italic;
  color: var(--warm);
  margin-bottom: 40px;
  line-height: 1.4;
}

.categories {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 40px;
}

.cat-tag {
  padding: 8px 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--warm);
  display: flex; align-items: center; gap: 6px;
  transition: all 0.2s;
}

.cat-tag:hover { border-color: var(--terra); color: var(--terra); }

.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
}

.btn-main {
  padding: 15px 32px;
  background: var(--terra);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 0.2s;
}

.btn-main:hover { background: #a84e20; transform: translateY(-1px); }

.btn-outline {
  padding: 15px 28px;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.2s;
}

.btn-outline:hover { border-color: var(--ink); }

/* Hero right */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Mini form card */
.quick-form {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 24px 80px rgba(24,22,15,0.12);
}

.qf-title {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.qf-sub { font-size: 13px; color: var(--warm); margin-bottom: 24px; }

.qf-group { margin-bottom: 14px; }
.qf-label {
  display: block;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--warm);
  font-weight: 500;
  margin-bottom: 6px;
}

.qf-input, .qf-select {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}

.qf-input:focus, .qf-select:focus { border-color: var(--terra); background: white; }

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

.qf-submit {
  width: 100%;
  padding: 14px;
  background: var(--ink);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
  transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}

.qf-submit:hover { background: var(--terra); }

/* Social proof mini */
.social-mini {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.social-avatars {
  display: flex;
}

.avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid white;
  background: var(--terra-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  margin-left: -8px;
  color: var(--terra);
}

.avatar:first-child { margin-left: 0; }

.social-text { font-size: 12px; color: var(--warm); line-height: 1.5; }
.social-text strong { color: var(--ink); }

/* ─── CATEGORIES SECTION ─── */
.cats-section {
  padding: 80px 48px;
  background: var(--ink);
  color: white;
}

.cats-inner { max-width: 1200px; margin: 0 auto; }

.cats-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 48px;
}

.cats-header h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.15;
}

.cats-header h2 em { font-style: italic; color: var(--terra-mid); }

.cats-header p { font-size: 13px; color: rgba(255,255,255,0.4); max-width: 280px; text-align: right; line-height: 1.6; }

.cats-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}

.cat-card {
  background: rgba(255,255,255,0.05);
  padding: 36px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.2s;
  cursor: default;
}

.cat-card:hover { background: rgba(196,98,45,0.12); border-color: rgba(196,98,45,0.3); }

.cat-card.large { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; min-height: 320px; }

.cat-icon { font-size: 36px; margin-bottom: 20px; }

.cat-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.cat-card p { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.6; }

.cat-tag-inline {
  display: inline-block;
  margin-top: 20px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--terra-mid);
  border: 1px solid rgba(196,98,45,0.3);
  padding: 4px 12px;
  border-radius: 100px;
}

/* ─── FULL FORM SECTION ─── */
.full-form-section {
  padding: 100px 48px;
  background: var(--white);
}

.full-form-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.ff-eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}

.ff-eyebrow::before { content: ''; width: 20px; height: 1px; background: var(--terra); display: inline-block; }

.ff-left h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 24px;
}

.ff-left h2 em { font-style: italic; color: var(--terra); }

.ff-left p { font-size: 14px; color: var(--warm); line-height: 1.7; margin-bottom: 36px; }

.process-list { list-style: none; }
.process-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.process-num {
  width: 28px; height: 28px;
  background: var(--terra-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--terra);
  flex-shrink: 0;
  margin-top: 1px;
}

.process-item h4 { font-size: 14px; font-weight: 500; margin-bottom: 3px; }
.process-item p { font-size: 12px; color: var(--warm); line-height: 1.5; }

/* Big form */
.big-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}

.big-form h3 {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 4px;
}

.big-form-sub { font-size: 13px; color: var(--warm); margin-bottom: 32px; }

.bfgroup { margin-bottom: 20px; }

.bflabel {
  display: block;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--warm);
  font-weight: 500;
  margin-bottom: 8px;
}

.bfinput, .bfselect, .bftextarea {
  width: 100%;
  padding: 13px 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}

.bfinput:focus, .bfselect:focus, .bftextarea:focus { border-color: var(--terra); }

.bftextarea { resize: vertical; min-height: 100px; line-height: 1.6; }

.bfrow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Upload zone */
.upload-zone {
  border: 1.5px dashed var(--terra-mid);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  background: var(--terra-light);
  cursor: pointer;
  transition: all 0.2s;
}

.upload-zone:hover { background: #fce0d4; border-color: var(--terra); }

.upload-icon { font-size: 28px; margin-bottom: 8px; display: block; }
.upload-text { font-size: 13px; color: var(--terra); font-weight: 500; }
.upload-sub { font-size: 11px; color: var(--warm); margin-top: 4px; }

/* Channel select */
.ch-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }

.ch-btn {
  padding: 10px 8px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--warm);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}

.ch-btn.active, .ch-btn:hover {
  border-color: var(--terra);
  background: var(--terra-light);
  color: var(--terra);
}

.bf-submit {
  width: 100%;
  padding: 16px;
  background: var(--terra);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}

.bf-submit:hover { background: #a84e20; }

.bf-note { text-align: center; font-size: 12px; color: var(--warm); margin-top: 14px; line-height: 1.5; }

/* ─── PROMISE SECTION ─── */
.promise-section {
  padding: 80px 48px;
  background: var(--surface);
}

.promise-inner { max-width: 1200px; margin: 0 auto; }

.promise-section h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  text-align: center;
  margin-bottom: 56px;
  line-height: 1.2;
}

.promise-section h2 em { font-style: italic; color: var(--terra); }

.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.promise-card {
  background: white;
  padding: 28px 24px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border);
}

.promise-icon { font-size: 32px; margin-bottom: 16px; display: block; }

.promise-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.promise-card p { font-size: 12px; color: var(--warm); line-height: 1.6; }

/* ─── FOOTER ─── */
footer {
  padding: 40px 48px;
  background: var(--ink);
  color: rgba(255,255,255,0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 700;
  color: white;
}

.footer-logo span { color: var(--terra); }

footer p { font-size: 12px; }

/* ─── FLASH MESSAGES ─── */
.flash-message {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  animation: fadeUp 0.4s ease both;
}

.flash-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.flash-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

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

.hero-left > *, .hero-right > * {
  animation: fadeUp 0.7s ease both;
}
.hero-left > *:nth-child(1) { animation-delay: 0.08s; }
.hero-left > *:nth-child(2) { animation-delay: 0.16s; }
.hero-left > *:nth-child(3) { animation-delay: 0.22s; }
.hero-left > *:nth-child(4) { animation-delay: 0.28s; }
.hero-left > *:nth-child(5) { animation-delay: 0.34s; }
.hero-right > *:nth-child(1) { animation-delay: 0.3s; }
.hero-right > *:nth-child(2) { animation-delay: 0.4s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 980px) {
  nav { padding: 0 24px; }
  .hero-bg { display: none; }
  .hero-layer { grid-template-columns: 1fr; min-height: auto; padding: 60px 24px; gap: 40px; }
  .cats-section, .full-form-section, .promise-section { padding: 60px 24px; }
  .cats-grid { grid-template-columns: 1fr; }
  .cat-card.large { grid-row: span 1; min-height: auto; }
  .full-form-inner { grid-template-columns: 1fr; gap: 40px; }
  .promise-grid { grid-template-columns: 1fr 1fr; }
  .cats-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cats-header p { text-align: left; }
  footer { flex-direction: column; gap: 16px; text-align: center; padding: 32px 24px; }
  .nav-links { display: none; }
}
