/* ============================================
   DLM Expertise - Stylesheet
   ============================================ */

:root {
  --bg: #f8fafb;
  --surface: #ffffff;
  --text: #111827;
  --text-muted: #4b5563;
  --line: #d1d5db;
  --brand: #0a7c8d;
  --brand-dark: #075561;
  --brand-light: #e6f4f6;
  --accent: #d96f32;
  --accent-light: #fff3eb;
  --error: #dc2626;
  --error-light: #fef2f2;
  --success: #059669;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-sm: 8px;
  --container: min(1140px, 92vw);
  --container-narrow: min(840px, 92vw);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow: 0 4px 16px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.08);
  --timing: 200ms ease;
}

/* --- Reset --- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Sora', system-ui, sans-serif; line-height: 1.25; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* --- Skip link --- */

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  padding: 10px 14px; background: #fff; border-radius: var(--radius-sm);
  border: 1px solid var(--line); font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* --- Layout --- */

main { width: var(--container); margin: 32px auto 0; }
.subpage-main { width: var(--container-narrow); margin: 32px auto 0; }
.intake-main { width: min(1040px, 92vw); margin: 32px auto 0; }

/* ============================================
   Header
   ============================================ */

.site-header {
  width: var(--container);
  margin: 16px auto 0;
  padding: 14px 28px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 20px;
  position: sticky;
  top: 10px;
  z-index: 20;
  transition: box-shadow var(--timing);
}
.site-header.scrolled { box-shadow: var(--shadow); }

.brand {
  display: flex; align-items: center;
  flex-shrink: 0; max-height: 64px; overflow: hidden;
}
.brand-logo { display: block; height: 56px !important; width: auto !important; max-width: 260px; }

.menu-toggle {
  display: none;
  align-items: center; gap: 6px;
  border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--text);
  padding: 8px 14px; font-weight: 700; font-family: inherit; font-size: .85rem;
  cursor: pointer;
}
.menu-toggle svg { flex-shrink: 0; }

.site-nav {
  display: flex; gap: 6px; align-items: center; margin-left: auto;
}
.site-nav a {
  font-size: .95rem; font-weight: 600; color: var(--text-muted);
  padding: 8px 14px; border-radius: var(--radius-sm);
  transition: color var(--timing), background var(--timing);
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--text); background: rgba(0,0,0,.03); }
.site-nav a.active { color: var(--brand); font-weight: 700; }

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; border-radius: 999px;
  padding: 10px 20px;
  font-weight: 700; font-size: .9rem; font-family: inherit;
  cursor: pointer;
  transition: transform var(--timing), box-shadow var(--timing), background var(--timing);
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  box-shadow: 0 4px 14px rgba(7,85,97,.2);
}
.btn-primary:hover { box-shadow: 0 6px 20px rgba(7,85,97,.3); }

.btn-secondary {
  color: var(--text); background: #fff;
  border: 1px solid var(--line);
}
.btn-secondary:hover { border-color: #9ca3af; }

.btn-lg { padding: 12px 24px; font-size: .95rem; }

.btn:disabled, .btn[disabled] {
  opacity: .5; cursor: not-allowed; transform: none !important;
}

/* ============================================
   Hero
   ============================================ */

.hero {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 20px; align-items: stretch;
}
.hero-copy {
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow);
}
.eyebrow {
  display: inline-block; margin-bottom: 12px;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand-dark);
}
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); max-width: 18ch; }
.intro { margin-top: 16px; color: var(--text-muted); max-width: 55ch; font-size: .95rem; }

.hero-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }

.hero-highlights {
  margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px;
}
.hero-highlights span {
  font-size: .8rem; font-weight: 700; color: var(--brand-dark);
  background: var(--brand-light); border: 1px solid #c3e2e7;
  border-radius: 999px; padding: 6px 12px;
}

.hero-panel {
  border-radius: var(--radius-lg);
  background: #0f1f2e; color: #e8f0f5;
  padding: 32px 24px;
  display: flex; flex-direction: column; justify-content: center;
  box-shadow: var(--shadow-lg);
}
.hero-panel p { margin-top: 4px; }
.hero-panel a { color: #b4dce5; }
.panel-title {
  font-size: .75rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #7cbdcc; margin-bottom: 8px;
}
.panel-note { color: #a0b8c8; font-size: .9rem; margin-top: 12px; }
.panel-link {
  display: inline-flex; margin-top: 16px;
  color: #fff; font-weight: 700; font-size: .9rem;
  border-bottom: 1px solid rgba(255,255,255,.3);
}

/* ============================================
   Sections
   ============================================ */

.section { margin-top: 64px; }
.section-head { max-width: 55ch; }
.section h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }

.cards, .steps { margin-top: 20px; display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }

.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 1rem; }
.card p { margin-top: 8px; color: var(--text-muted); font-size: .9rem; }

.section-alt {
  background: linear-gradient(180deg, #edf5fa 0%, #e5eff7 100%);
  border: 1px solid #d0dfe9;
  border-radius: var(--radius-lg);
  padding: 28px;
}

.step {
  background: rgba(255,255,255,.9); border: 1px solid #cfdee9;
  border-radius: var(--radius); padding: 20px;
}
.step-number {
  font-family: 'Sora', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--accent);
}
.step h3 { margin-top: 4px; font-size: 1rem; }
.step p { margin-top: 6px; color: var(--text-muted); font-size: .9rem; }

/* ============================================
   Damage types
   ============================================ */

.damage-types {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.damage-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--timing), box-shadow var(--timing);
}
.damage-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.damage-card-img {
  position: relative;
  overflow: hidden;
}
.damage-card-img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.damage-card-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.06) 0%, transparent 40%);
  pointer-events: none;
}

.damage-card-body {
  padding: 16px;
}
.damage-card-body h3 {
  font-size: .95rem;
  margin: 0;
}
.damage-card-body p {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: .88rem;
}

/* ============================================
   About
   ============================================ */

.about-card {
  margin-top: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.about-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
}

.about-photo {
  position: relative;
  overflow: hidden;
  background: #edf5fa;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-content {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-content h3 {
  font-size: 1.3rem;
  margin: 0;
}
.about-role {
  color: var(--brand-dark);
  font-weight: 600;
  font-size: .88rem;
  margin-top: 2px;
}

.about-quote {
  margin: 16px 0 0;
  padding: 0 0 0 16px;
  border-left: 3px solid var(--brand);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.55;
}

.about-desc {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.6;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 18px 12px;
  text-align: center;
}
.about-stat:not(:last-child) {
  border-right: 1px solid var(--line);
}

.about-stat-number {
  font-family: 'Sora', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand-dark);
}
.about-stat-label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ============================================
   CTA
   ============================================ */

.final-cta { margin-top: 56px; }
.final-cta-inner {
  border-radius: var(--radius-lg);
  border: 1px solid #d2dde7;
  background: linear-gradient(145deg, #fbfeff 0%, #eaf7fa 100%);
  padding: 28px;
}

/* ============================================
   Subpage card
   ============================================ */

.subpage-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; background: #fff; box-shadow: var(--shadow);
}
.subpage-card h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.subpage-card h2 { margin-top: 24px; font-size: 1.2rem; }
.subpage-card p { margin-top: 8px; color: var(--text-muted); font-size: .95rem; }

.subpage-list { margin: 8px 0 0; padding-left: 20px; }
.subpage-list li { margin: 5px 0; color: #374151; font-size: .95rem; }

.back-link {
  display: inline-flex; margin-top: 20px;
  color: var(--brand-dark); font-weight: 700; font-size: .9rem;
}
.back-link:hover { text-decoration: underline; }

.inline-link { color: var(--brand-dark); font-weight: 600; text-decoration: underline; }

/* ============================================
   Intake form
   ============================================ */

.intake-intro {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; background: #fff; box-shadow: var(--shadow);
}
.intake-intro h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.intake-intro p { margin-top: 8px; color: var(--text-muted); }

.intake-badges { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.intake-badges span {
  font-size: .8rem; font-weight: 700; color: var(--brand-dark);
  background: var(--brand-light); border: 1px solid #c3e2e7;
  border-radius: 999px; padding: 6px 12px;
}

/* --- Checklist accordion --- */

.checklist-accordion {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.checklist-accordion summary {
  padding: 14px 18px;
  font-family: 'Sora', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  color: var(--brand-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.checklist-accordion summary::-webkit-details-marker { display: none; }
.checklist-accordion summary::before {
  content: '▸';
  font-size: .85rem;
  transition: transform var(--timing);
}
.checklist-accordion[open] summary::before {
  transform: rotate(90deg);
}
.checklist-body {
  padding: 0 18px 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.checklist-body h4 {
  font-size: .85rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text);
}
.checklist-body ul {
  margin: 0;
  padding-left: 18px;
  font-size: .84rem;
  color: var(--text-muted);
  display: grid;
  gap: 3px;
}

/* --- Photo guide --- */

.photo-guide {
  margin-top: 16px;
}
.photo-guide-title {
  font-family: 'Sora', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.photo-guide-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.photo-guide-example {
  margin: 0;
}
.photo-guide-example img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.photo-guide-example figcaption {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  margin-top: 6px;
}

/* --- Service highlight (homepage) --- */

.service-highlight {
  margin-top: 20px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.service-card h3 {
  font-size: 1.15rem;
}
.service-card p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: .93rem;
  line-height: 1.65;
}
.service-details {
  margin: 16px 0 20px;
  padding-left: 20px;
  display: grid;
  gap: 6px;
  font-size: .9rem;
  color: var(--text-muted);
}
.service-details li::marker {
  color: var(--brand);
}

.intake-shell { margin-top: 16px; }

.intake-form { display: grid; gap: 16px; }

.intake-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.intake-fieldset {
  margin: 0; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
  background: #fff; display: grid; gap: 12px;
}
.intake-fieldset legend {
  padding: 0 6px; font-family: 'Sora', sans-serif;
  font-size: .88rem; font-weight: 700; color: var(--brand-dark);
}

/* --- Form progress --- */

.form-progress {
  display: flex; gap: 4px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 10px 14px;
  overflow-x: auto;
}
.progress-step {
  flex: 1; display: flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 600; color: var(--text-muted);
  padding: 6px 8px; border-radius: var(--radius-sm);
  white-space: nowrap;
}
.progress-step span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: #e5e7eb; color: #6b7280;
  font-size: .72rem; font-weight: 800; flex-shrink: 0;
}
.progress-step.is-active span { background: var(--brand); color: #fff; }
.progress-step.is-active { color: var(--text); }
.progress-step.is-done span { background: var(--success); color: #fff; }

/* --- Fields --- */

.field { display: grid; gap: 4px; }
.field label {
  font-size: .85rem; font-weight: 700; color: var(--text);
}
.field label abbr {
  color: var(--error); text-decoration: none; font-weight: 400;
}

.field input, .field textarea, .field select,
.intake-fieldset input[type="date"] {
  border: 1px solid #d1d5db; border-radius: var(--radius-sm);
  padding: 10px 12px; width: 100%;
  font: inherit; font-size: .9rem;
  background: #fff; color: var(--text);
  transition: border-color var(--timing), box-shadow var(--timing);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(10,124,141,.12);
}

.field input.is-invalid, .field textarea.is-invalid, .field select.is-invalid {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(220,38,38,.08);
}

.field-error {
  font-size: .8rem; color: var(--error); font-weight: 600;
}
.field-error[hidden] { display: none; }

.field-help { color: var(--text-muted); font-size: .85rem; }
.field-counter { font-size: .78rem; color: var(--text-muted); text-align: right; }

/* --- License plate input --- */

.license-plate {
  display: flex;
  align-items: stretch;
  border: 2px solid #1a1a1a;
  border-radius: 6px;
  overflow: hidden;
  background: #F7C70E;
  width: 100%;
  max-width: 320px;
  transition: border-color var(--timing), box-shadow var(--timing);
}
.license-plate:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(10,124,141,.12);
}
.license-plate.is-found {
  border-color: var(--success);
  box-shadow: 0 0 0 3px rgba(5,150,105,.12);
}
.license-plate:has(.is-invalid) {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(220,38,38,.08);
}

.plate-country {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #003399;
  padding: 4px 6px;
  gap: 2px;
  flex-shrink: 0;
}
.plate-eu { display: block; flex-shrink: 0; }
.plate-nl {
  font-size: .6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .05em;
  line-height: 1;
}

.license-plate .license-input,
.license-plate .license-input.rdw-filled {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #1a1a1a;
  padding: 8px 10px;
  flex: 1;
  min-width: 0;
  border-radius: 0;
}
.license-plate .license-input::placeholder {
  color: rgba(26,26,26,.28);
  font-weight: 700;
}
.license-plate .license-input:focus {
  border: none !important;
  box-shadow: none !important;
}

.plate-check {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  color: var(--success);
  flex-shrink: 0;
  animation: plateCheckIn .3s ease;
}
.plate-check[hidden] { display: none; }
@keyframes plateCheckIn {
  from { opacity: 0; transform: scale(.5); }
  to { opacity: 1; transform: scale(1); }
}

/* --- RDW kenteken lookup --- */

.rdw-status {
  font-size: .8rem; font-weight: 600;
  display: flex; align-items: center; gap: 6px;
  margin: 0;
}
.rdw-status[hidden] { display: none; }
.rdw-status.is-loading { color: var(--text-muted); }
.rdw-status.is-found { color: var(--success); }
.rdw-status.is-not-found { color: var(--accent); }
.rdw-status.is-error { color: var(--error); }

.rdw-spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid #d1d5db;
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: rdw-spin .6s linear infinite;
}
@keyframes rdw-spin { to { transform: rotate(360deg); } }

.field input.rdw-filled {
  background: #f0fdf4;
  border-color: var(--success);
}

.rdw-info {
  border: 1px solid #c3e2e7;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #f0fafb 0%, #e8f4f6 100%);
  overflow: hidden;
}
.rdw-info[hidden] { display: none; }

.rdw-info-header {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  font-size: .78rem; font-weight: 700; color: var(--brand-dark);
  background: rgba(10,124,141,.06);
  border-bottom: 1px solid #c3e2e7;
}
.rdw-info-header svg { flex-shrink: 0; color: var(--brand); }

.rdw-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1px;
  background: #c3e2e7;
}
.rdw-info-item {
  display: flex; flex-direction: column; gap: 2px;
  padding: 8px 12px;
  background: #f6fbfc;
}
.rdw-info-label {
  font-size: .7rem; font-weight: 600;
  color: var(--text-muted); text-transform: uppercase;
  letter-spacing: .04em;
}
.rdw-info-value {
  font-size: .88rem; font-weight: 700; color: var(--text);
}

/* --- Checkbox group --- */

.checkbox-group { display: flex; flex-wrap: wrap; gap: 8px; }
.checkbox-label {
  display: flex; align-items: center; gap: 6px;
  font-size: .85rem; font-weight: 600; color: var(--text);
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: #f9fafb;
  cursor: pointer; transition: all var(--timing);
}
.checkbox-label:has(input:checked) {
  background: var(--brand-light); border-color: var(--brand); color: var(--brand-dark);
}
.checkbox-label input { width: 16px; height: 16px; accent-color: var(--brand); }

/* --- Client type toggle --- */

.client-type-toggle {
  display: inline-flex; border-radius: 999px;
  border: 1px solid var(--line); background: #f9fafb;
  overflow: hidden;
}
.toggle-option {
  cursor: pointer; position: relative;
}
.toggle-option input {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.toggle-option span {
  display: inline-block; padding: 8px 20px;
  font-size: .88rem; font-weight: 700; color: var(--text-muted);
  transition: all var(--timing); user-select: none;
}
.toggle-option input:checked + span {
  background: var(--brand); color: #fff;
  box-shadow: 0 2px 8px rgba(10,124,141,.25);
}

/* Business fields */

.business-fields {
  display: contents;
}
.business-fields[hidden] {
  display: none;
}

/* Input prefix (€ sign) */

.input-prefix-wrap {
  display: flex; align-items: stretch;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; background: #fff;
  transition: border-color var(--timing), box-shadow var(--timing);
}
.input-prefix-wrap:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(10,124,141,.12);
}
.input-prefix {
  display: flex; align-items: center; padding: 0 12px;
  font-size: .9rem; font-weight: 700; color: var(--text-muted);
  background: #f9fafb; border-right: 1px solid var(--line);
}
.input-prefix-wrap input {
  border: 0; padding: 10px 12px; font: inherit; font-size: .9rem;
  background: transparent; color: var(--text); flex: 1; min-width: 0;
  outline: none;
}

/* --- Photo upload --- */

.photo-upload-zone {
  position: relative;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  background: #fafbfc;
  cursor: pointer;
  transition: border-color var(--timing), background var(--timing);
}
.photo-upload-zone:hover, .photo-upload-zone.is-dragover {
  border-color: var(--brand); background: var(--brand-light);
}

.photo-upload-zone input[type="file"] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer;
}

.upload-prompt { pointer-events: none; }
.upload-prompt svg { margin: 0 auto 8px; color: var(--text-muted); }
.upload-prompt p { color: var(--text-muted); font-size: .9rem; }
.upload-hint { font-size: .8rem !important; color: #9ca3af !important; margin-top: 4px; }

.photo-counter {
  font-size: .88rem; font-weight: 700; color: var(--text-muted);
  padding: 4px 0;
}

.photo-previews {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}

.photo-preview {
  position: relative; border: 1px solid #e5e7eb;
  border-radius: var(--radius-sm); overflow: hidden; background: #f9fafb;
}
.photo-preview img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
}
.photo-preview .photo-name {
  padding: 6px 8px; font-size: .72rem; color: var(--text-muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.photo-preview .photo-remove {
  position: absolute; top: 4px; right: 4px;
  width: 24px; height: 24px;
  border-radius: 50%; border: 0;
  background: rgba(0,0,0,.6); color: #fff;
  font-size: .8rem; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background var(--timing);
}
.photo-preview .photo-remove:hover { background: var(--error); }

/* --- Consent --- */

.consent-row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .88rem; color: var(--text-muted); font-weight: 600;
}
.consent-row input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--brand); flex-shrink: 0; }
.consent-row a { color: var(--brand-dark); text-decoration: underline; }

.captcha-shell { margin-top: 8px; }

/* --- Submit --- */

.intake-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.form-status {
  min-height: 1.5em; font-size: .88rem; font-weight: 600;
  padding: 8px 0;
}
.form-status.is-error { color: var(--error); }
.form-status.is-success { color: var(--success); }

/* --- Flash messages --- */

.flash {
  padding: 14px 18px; border-radius: var(--radius);
  font-size: .9rem; font-weight: 600; margin-top: 14px;
}
.flash-success { background: #ecfdf5; color: var(--success); border: 1px solid #a7f3d0; }
.flash-error { background: var(--error-light); color: var(--error); border: 1px solid #fca5a5; }

/* --- Honeypot --- */

.hp-field {
  position: absolute !important; left: -9999px !important;
  width: 1px !important; height: 1px !important;
  opacity: 0 !important; pointer-events: none !important;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  width: var(--container); margin: 48px auto 32px;
  color: var(--text-muted); font-size: .88rem;
}
.footer-brand {
  border-top: 1px solid var(--line); padding-top: 24px; margin-bottom: 20px;
}
.footer-logo {
  width: 180px; height: auto; object-fit: contain;
  opacity: .75;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px;
}
.footer-col { display: grid; gap: 4px; align-content: start; }
.footer-title { font-family: 'Sora', sans-serif; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.footer-col a { color: var(--text-muted); font-size: .88rem; }
.footer-col a:hover { color: var(--text); }

.legal-note { margin-top: 16px; color: #9ca3af; font-size: .82rem; }

.subpage-footer {
  width: var(--container-narrow); margin: 20px auto 32px;
  color: #9ca3af; font-size: .85rem;
}

.cookie-settings-link {
  margin-top: 6px; border: 0; padding: 0;
  background: none; color: var(--text-muted);
  font: inherit; font-size: .82rem; text-decoration: underline; cursor: pointer;
}

/* ============================================
   Cookie consent
   ============================================ */

.cookie-consent {
  position: fixed; z-index: 120;
  inset: auto 0 0 0; pointer-events: none;
}
.cookie-banner {
  width: min(640px, calc(100vw - 24px));
  margin: 0 auto 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.98);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  pointer-events: auto;
}
.cookie-banner[hidden] { display: none; }
.cookie-title { margin: 0 0 4px; font-family: 'Sora', sans-serif; font-size: .95rem; font-weight: 700; }
.cookie-text { margin: 0; color: var(--text-muted); font-size: .88rem; }
.cookie-actions { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }

.cookie-settings-panel {
  width: min(520px, 100%); margin-top: 10px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #f9fafb; padding: 14px;
}
.cookie-settings-panel h2 { margin: 0; font-size: 1rem; }
.cookie-settings-panel p { margin: 6px 0 10px; color: var(--text-muted); font-size: .85rem; }
.cookie-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-top: 1px solid #e5e7eb;
  font-weight: 700; font-size: .88rem; color: var(--text);
}
.cookie-row input { width: 18px; height: 18px; accent-color: var(--brand); }

/* ============================================
   Reveal animation
   ============================================ */

.reveal {
  opacity: 0; transform: translateY(12px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .damage-types { grid-template-columns: repeat(2, 1fr); }
  .photo-previews { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .site-header {
    border-radius: var(--radius);
    padding: 12px 16px;
    flex-wrap: wrap;
  }
  .brand-logo { height: 44px !important; max-width: 200px; }
  .menu-toggle { display: flex; }

  .site-nav {
    display: none; width: 100%; flex-direction: column; gap: 2px;
    padding: 8px 0 4px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 8px 10px; border-radius: var(--radius-sm); width: 100%; }
  .site-nav a:hover { background: #f3f4f6; }

  .hero { grid-template-columns: 1fr; }
  .hero-copy, .hero-panel { padding: 24px 20px; }

  .cards, .steps, .footer-grid { grid-template-columns: 1fr; }
  .damage-types { grid-template-columns: 1fr; }

  .about-inner { grid-template-columns: 1fr; }
  .about-photo { max-height: 260px; }
  .about-content { padding: 20px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .about-stat:nth-child(2) { border-right: none; }
  .about-stat:nth-child(1),
  .about-stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .intake-grid { grid-template-columns: 1fr; }
  .photo-previews { grid-template-columns: repeat(2, 1fr); }
  .checklist-body { grid-template-columns: 1fr; }
  .photo-guide-grid { grid-template-columns: repeat(3, 1fr); }

  .section-alt, .final-cta-inner { padding: 20px; }
  .section { margin-top: 48px; }

  .form-progress { gap: 2px; }
  .progress-step { font-size: .7rem; padding: 4px 4px; }
}

@media (max-width: 480px) {
  body { font-size: 14px; }
  .photo-previews { grid-template-columns: 1fr 1fr; }
  .photo-guide-grid { grid-template-columns: repeat(2, 1fr); }
  .checkbox-group { flex-direction: column; }
  .intake-actions { flex-direction: column; }
  .intake-actions .btn { width: 100%; justify-content: center; }
  .cookie-actions { flex-direction: column; }
  .cookie-actions .btn { width: 100%; justify-content: center; }
}
