:root {
  --bg: #ecece9;
  --orange: #ff910b;
  --grad: linear-gradient(135deg, #ffb300 0%, #ff8a00 100%);
  --olive: #5a4a2c;
  --text: #3a3a3a;
  --muted: #6b6b6b;
  --card: #fff;
  --line: #ddd9cf;
  --error: #b3261e;
  --warn: #8a5a00;
  --ok: #2e7d32;
  --shadow: 0 10px 30px rgba(90, 74, 44, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='600' viewBox='0 0 900 600'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.55' stroke-width='1.4'%3E%3Cpath d='M-20 80C150 20 260 140 450 90S750 20 920 90'/%3E%3Cpath d='M-20 130C150 70 260 190 450 140S750 70 920 140'/%3E%3Cpath d='M-20 180C150 120 260 240 450 190S750 120 920 190'/%3E%3Cpath d='M-20 330C170 270 300 400 470 340S760 280 920 350'/%3E%3Cpath d='M-20 380C170 320 300 450 470 390S760 330 920 400'/%3E%3Cpath d='M-20 430C170 370 300 500 470 440S760 380 920 450'/%3E%3Cpath d='M-20 540C140 500 280 590 450 550S760 500 920 560'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 900px 600px;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

img, video { max-width: 100%; height: auto; }
a { color: var(--orange); }
:focus-visible { outline: 3px solid #1d6fd6; outline-offset: 2px; border-radius: 6px; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(236, 236, 233, 0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(90, 74, 44, 0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--olive); font-weight: 800; font-size: 1.2rem; }
.logo-icon { width: 32px; height: 32px; flex: none; }
.pill-sm { background: var(--grad); color: #fff; font-weight: 700; font-size: 0.9rem; padding: 8px 18px; border-radius: 999px; text-decoration: none; box-shadow: 0 4px 12px rgba(255, 138, 0, 0.35); }

/* Hero */
.hero { display: grid; gap: 28px; padding-top: 32px; padding-bottom: 40px; align-items: center; }
.eyebrow { margin: 0; font-weight: 600; letter-spacing: 0.45em; color: var(--olive); font-size: clamp(0.95rem, 4vw, 1.5rem); text-transform: uppercase; }
.big { margin: 0; font-weight: 900; font-size: clamp(3.4rem, 15vw, 8rem); line-height: 1; letter-spacing: -0.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.tagline { margin: 16px 0 10px; color: var(--olive); font-size: clamp(1.2rem, 4.6vw, 1.9rem); line-height: 1.3; font-weight: 500; }
.tagline strong { font-weight: 800; }
.bar { display: block; width: 72px; height: 6px; border-radius: 3px; background: var(--grad); margin-bottom: 20px; }
.lead { margin: 0 0 24px; max-width: 34em; font-size: 1.05rem; }
.btn-cta { display: inline-block; background: var(--grad); color: #fff; font: inherit; font-weight: 800; letter-spacing: 0.06em; font-size: 1.1rem; padding: 16px 36px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; box-shadow: 0 10px 24px rgba(255, 138, 0, 0.4); }
.btn-cta:hover { filter: brightness(1.05); }
.hero-phone { display: block; margin-top: 22px; font-weight: 900; font-size: clamp(1.9rem, 8vw, 2.8rem); color: var(--orange); text-decoration: none; letter-spacing: -0.01em; }
.hero-mail { margin: 4px 0 0; font-weight: 700; letter-spacing: 0.06em; color: var(--olive); font-size: 0.85rem; word-break: break-word; }
.hero-mail a { color: var(--olive); }
.hero-art img { display: block; width: 100%; height: auto; border-radius: 40px; background: var(--bg); }
/* Size the headline to its own column so it never pushes the image aside */
.hero-copy { min-width: 0; container-type: inline-size; }
@supports (font-size: 1cqi) {
  .big { font-size: clamp(2.6rem, 16.5cqi, 8rem); }
}

/* Sections */
.section { padding-top: 32px; padding-bottom: 32px; }
.section-title { margin: 0 0 12px; text-align: center; font-weight: 800; color: var(--olive); font-size: clamp(1.6rem, 6vw, 2.4rem); }
.section-title.left { text-align: left; }
.section-lead { max-width: 44em; margin: 0 auto 24px; text-align: center; font-size: 1.05rem; }
.section-note { max-width: 40em; margin: 24px auto 0; text-align: center; font-weight: 600; color: var(--olive); }
.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
.card { background: var(--card); border-radius: 28px; box-shadow: var(--shadow); padding: 24px; }
.benefit { display: flex; align-items: center; gap: 16px; }
.benefit p { margin: 0; font-weight: 600; color: var(--olive); }
.icon-wrap { flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.icon-wrap svg { width: 28px; height: 28px; }
.step { text-align: left; }
.step h3 { margin: 12px 0 4px; font-size: 1.15rem; color: var(--olive); font-weight: 800; }
.step p { margin: 0; color: var(--muted); }
.branch { display: flex; flex-direction: column; gap: 12px; }
.branch-head { display: flex; align-items: center; gap: 14px; }
.branch h3 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 800; color: var(--olive); line-height: 1.25; }
.zone { display: inline-block; background: #fff1dc; color: #b85f00; font-weight: 700; font-size: 0.78rem; padding: 3px 10px; border-radius: 999px; }
.branch-address { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.5; flex: 1; }
.branch-map { font-weight: 700; text-decoration: none; }
.branch-map:hover, .branch-map:focus-visible { text-decoration: underline; }
/* Priority messaging */
.announce { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 16px; background: var(--grad); color: #fff; text-decoration: none; font-size: 0.88rem; line-height: 1.35; text-align: center; }
.announce strong { font-weight: 800; }
.pulse { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8); } 70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.priority-card { margin-top: 20px; max-width: 30em; background: #fff; border: 2px dashed var(--orange); border-radius: 20px; padding: 14px 18px; transform: rotate(-1.2deg); box-shadow: var(--shadow); }
.priority-card p { margin: 8px 0 0; color: var(--olive); font-size: 0.95rem; }
.priority-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--grad); color: #fff; font-weight: 800; font-size: 0.78rem; letter-spacing: 0.12em; padding: 5px 12px; border-radius: 999px; }
.priority-badge svg, .wizard-priority svg { width: 14px; height: 14px; }
.wizard-priority { display: flex; align-items: center; gap: 8px; margin: -4px 0 18px; padding: 10px 14px; border-radius: 14px; background: #fff3de; color: #a85300; font-weight: 700; font-size: 0.92rem; }
.wizard-priority svg { flex: none; color: var(--orange); }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } .priority-card { transform: none; } }
.step-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; }

/* Wizard */
.wizard { padding: 24px 16px; border-radius: 32px; max-width: 760px; margin: 0 auto; }
.progress { list-style: none; margin: 16px 0 24px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.progress li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 0.72rem; font-weight: 600; color: var(--muted); }
.progress .dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #ece9e1; color: var(--muted); font-weight: 800; font-size: 0.9rem; }
.progress li.active .dot { background: var(--grad); color: #fff; }
.progress li.active { color: var(--olive); }
.progress li.done .dot { background: var(--olive); color: #fff; }
.step-title { margin: 0 0 4px; color: var(--olive); font-size: 1.3rem; font-weight: 800; }
.step-sub { margin: 0 0 20px; color: var(--muted); font-size: 0.95rem; }
.field { margin-bottom: 18px; }
.field > label, .field > .legend, fieldset.field > legend { display: block; font-weight: 700; color: var(--olive); font-size: 0.95rem; margin-bottom: 6px; padding: 0; }
fieldset.field { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; min-height: 48px;
}
input:focus, select:focus { border-color: var(--orange); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--error); }
.error-text { color: var(--error); font-size: 0.85rem; font-weight: 600; margin: 6px 0 0; min-height: 0; }
.error-text:empty { display: none; }
.hint { color: var(--muted); font-size: 0.85rem; margin: 6px 0 0; }
.choice { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 2px solid var(--line); border-radius: 14px; margin-bottom: 8px; cursor: pointer; background: #fff; font-weight: 500; }
.choice input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--orange); flex: none; }
.choice:has(input:checked) { border-color: var(--orange); background: #fff7ea; }
.choice-row { display: flex; gap: 8px; flex-wrap: wrap; }
.choice-row .choice { flex: 1 1 120px; margin-bottom: 0; }

.dropzone { border: 2px dashed #cdbf9f; border-radius: 20px; padding: 28px 16px; text-align: center; background: #fffdf8; }
.dropzone.drag { border-color: var(--orange); background: #fff3de; }
.dropzone p { margin: 0 0 12px; color: var(--muted); }
.file-chip { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 12px 14px; background: #f6f3ea; border-radius: 14px; font-weight: 600; word-break: break-all; }
.file-chip small { display: block; font-weight: 500; color: var(--muted); }

.btn { font: inherit; font-weight: 700; border-radius: 999px; padding: 12px 24px; min-height: 48px; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 18px rgba(255, 138, 0, 0.35); }
.btn-ghost { background: #fff; color: var(--olive); border-color: var(--line); }
.btn-link { background: none; border: 0; color: var(--olive); text-decoration: underline; cursor: pointer; font: inherit; font-weight: 600; padding: 4px; }
.btn[disabled], .btn-link[disabled] { opacity: 0.55; cursor: not-allowed; box-shadow: none; }
.actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.actions .btn { flex: 1 1 140px; }

.progress-bar { height: 12px; border-radius: 6px; background: #ece9e1; overflow: hidden; margin-top: 14px; }
.progress-bar > span { display: block; height: 100%; width: 0; background: var(--grad); transition: width 0.2s; }
.progress-label { margin: 6px 0 0; font-size: 0.85rem; color: var(--muted); font-weight: 600; }

.msg { border-radius: 14px; padding: 12px 14px; font-weight: 600; font-size: 0.92rem; margin: 12px 0 0; }
.msg:empty { display: none; }
.msg.error { background: #fdecea; color: var(--error); }
.msg.warn { background: #fff4d6; color: var(--warn); }

.tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.tabs .choice { flex: 1 1 200px; margin-bottom: 0; justify-content: center; font-weight: 700; color: var(--olive); }
.instructions { background: #fff7ea; border-radius: 20px; padding: 16px 18px; margin-bottom: 18px; }
.instructions p { margin: 0 0 8px; }
.instructions ul { margin: 0; padding-left: 20px; }
.instructions li { margin-bottom: 4px; }
.instructions h3 { margin: 12px 0 4px; font-size: 0.95rem; color: var(--olive); }
.video-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.video-buttons .btn { flex: 1 1 160px; }
.video-preview { width: 100%; max-height: 360px; margin-top: 14px; border-radius: 16px; background: #000; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

.done { text-align: center; padding: 16px 0; }
.done .tick { width: 72px; height: 72px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; margin: 0 auto 16px; }
.done h3 { margin: 0 0 8px; font-size: 1.5rem; color: var(--olive); font-weight: 800; }

/* Footer */
.site-footer { margin-top: 40px; padding: 28px 0; background: rgba(255, 255, 255, 0.6); border-top: 1px solid rgba(90, 74, 44, 0.1); }
.footer-inner { display: flex; flex-direction: column; gap: 8px; font-size: 0.9rem; color: var(--muted); }
.footer-contact { display: flex; flex-direction: column; gap: 4px; }
.footer-inner a { color: var(--olive); font-weight: 600; }
.footer-inner p { margin: 0; }

/* Legal and 404 */
.legal, .notfound { padding-top: 32px; padding-bottom: 32px; max-width: 860px; }
.legal p, .legal li { text-align: justify; font-size: 0.95rem; }
.legal h2 { color: var(--olive); font-size: 1.15rem; margin: 28px 0 8px; }
.page-title { color: var(--olive); font-weight: 800; font-size: clamp(1.8rem, 7vw, 2.6rem); margin: 0 0 8px; }
.notfound { text-align: center; padding-top: 64px; }
.notfound-code { margin: 0; font-weight: 900; font-size: 6rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

@media (min-width: 640px) {
  .grid.benefits { grid-template-columns: repeat(2, 1fr); }
  .grid.steps, .grid.branches { grid-template-columns: repeat(2, 1fr); }
  .wizard { padding: 36px; }
  .progress li { font-size: 0.85rem; }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer-contact { flex-direction: row; gap: 20px; }
}
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding-top: 56px; padding-bottom: 56px; }
  .grid.benefits, .grid.steps, .grid.branches { grid-template-columns: repeat(4, 1fr); }
  .benefit { flex-direction: column; text-align: center; }
  .hero-mail { font-size: 1rem; }
}
