:root {
  --ink: #141414;
  --paper: #ffffff;
  --stone: #f3f2ee;
  --line: #e2e0d9;
  --muted: #55534e;
  --yellow: #ffd400;
  --yellow-deep: #f0c400;
  --wa: #128c4b;
  --wa-dark: #0e7340;
  --danger: #b42318;
  --display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --body: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius: 14px;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--ink); }
:focus-visible { outline: 3px solid #1f5fd1; outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 42px; height: 42px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-size: 22px; letter-spacing: 0.01em; }
.brand-city { font-size: 12px; font-weight: 800; letter-spacing: 0.3em; margin-top: 4px; }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
.nav a:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px;
  border: 2px solid var(--ink); border-radius: 999px;
  font: 700 16px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform 0.12s ease, background-color 0.12s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: var(--yellow-deep); }
.btn-primary:disabled { background: #ece9dc; color: #7a776f; border-color: #c9c6bc; cursor: not-allowed; }
.btn-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); border-color: var(--wa-dark); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--stone); }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 8px 0; font: 600 15px var(--body); color: var(--muted); text-decoration: underline; cursor: pointer; }

/* Hero */
.hero { padding: 56px 0 80px; background: var(--paper); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: start; }
.hero-copy { padding-top: 24px; }
h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(44px, 6.2vw, 80px); line-height: 0.98; letter-spacing: 0.002em;
  text-transform: uppercase; margin: 0 0 24px; max-width: 12ch;
}
.lede { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 48ch; margin: 0 0 28px; }
.promises { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.promises li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.promises svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--yellow); stroke: var(--ink); stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* Quote card */
.quote-card {
  position: relative; background: var(--paper);
  border: 2px solid var(--ink); border-radius: 20px;
  box-shadow: 12px 12px 0 var(--yellow);
  overflow: hidden;
}
.stripe { height: 12px; background: repeating-linear-gradient(-45deg, var(--ink) 0 14px, var(--yellow) 14px 28px); }
.quote-inner { padding: 28px 28px 24px; }
.card-title { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; text-transform: uppercase; margin: 0 0 6px; }
.card-sub { margin: 0 0 22px; color: var(--muted); font-size: 15px; }

.field { margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; padding: 0; }
.hint { font-weight: 500; color: var(--muted); }
.row { display: flex; gap: 12px; }
.grow { flex: 1 1 0; min-width: 0; }
.pc { flex: 0 0 120px; }
input[type="text"], input[type="tel"], input[type="email"], textarea {
  width: 100%; font: 500 16px/1.4 var(--body); color: var(--ink);
  background: #fff; border: 1.5px solid #c9c6bd; border-radius: 10px;
  padding: 12px 14px; min-height: 48px;
}
textarea { resize: vertical; min-height: 0; }
input:focus, textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(255, 212, 0, 0.6); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }

.dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: 4px; padding: 22px 16px; min-height: 132px;
  border: 2px dashed #b9b5aa; border-radius: 14px; background: #fbfaf6; cursor: pointer;
  transition: border-color 0.12s ease, background-color 0.12s ease;
}
.dropzone:hover, .dropzone.drag { border-color: var(--ink); background: #fff8d1; }
.dropzone:focus-within { outline: 3px solid #1f5fd1; outline-offset: 2px; }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone svg { width: 34px; height: 34px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linejoin: round; margin-bottom: 4px; }
.dz-main { font-weight: 800; font-size: 17px; }
.dz-sub { font-size: 14px; color: var(--muted); }

.thumbs { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.thumbs:empty { display: none; }
.thumbs li { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--stone); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumbs button {
  position: absolute; top: 4px; right: 4px; width: 30px; height: 30px; border-radius: 50%;
  border: 0; background: rgba(20, 20, 20, 0.82); color: #fff; font-size: 18px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.count { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.count.ok { color: var(--wa); }

.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 48px; padding: 8px; border: 1.5px solid #c9c6bd; border-radius: 10px;
  font-weight: 600; font-size: 14px; line-height: 1.2; cursor: pointer;
}
.seg input:checked + span { border-color: var(--ink); background: var(--yellow); }
.seg input:focus-visible + span { outline: 3px solid #1f5fd1; outline-offset: 2px; }

.form-error { margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; background: #fdecea; color: var(--danger); font-weight: 600; font-size: 15px; }
.form-ok { margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; background: #e7f6ee; color: var(--wa-dark); font-weight: 600; font-size: 15px; }
.fine { font-size: 13px; color: var(--muted); margin: 10px 0 0; text-align: center; }

/* Quote states */
.state { text-align: center; padding: 28px 4px 8px; }
.state:focus { outline: none; }
.state-title { font-family: var(--display); font-size: 30px; line-height: 1.05; text-transform: uppercase; margin: 0 0 8px; }
.state-sub { color: var(--muted); margin: 0 0 20px; }
.spinner { width: 54px; height: 54px; margin: 8px auto 20px; border-radius: 50%; border: 6px solid var(--stone); border-top-color: var(--yellow); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.result { text-align: left; padding-top: 4px; }
.result-label { margin: 0; font-weight: 700; color: var(--muted); font-size: 15px; }
.price { font-family: var(--display); font-size: clamp(52px, 7vw, 68px); line-height: 1; margin: 4px 0 12px; }
.price small { font-family: var(--body); font-size: 15px; font-weight: 600; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.result-summary { margin: 0 0 10px; font-weight: 600; }
.result-items { margin: 0 0 12px; padding: 0 0 0 20px; color: var(--muted); font-size: 15px; columns: 2; column-gap: 24px; }
.result-meta { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.warn { margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; background: #fff4d6; border: 1px solid #f0c400; font-size: 14px; }
.disclaimer { font-size: 13.5px; line-height: 1.5; color: var(--muted); background: var(--stone); border-radius: 10px; padding: 12px 14px; margin: 0 0 16px; }
.result .fine { text-align: center; }
.result .link-btn { display: block; margin: 6px auto 0; }

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: var(--stone); }
.section-title {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(34px, 4.2vw, 50px); line-height: 1; margin: 0 0 18px;
}
.two-col { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.col-intro p { color: var(--muted); margin: 0 0 24px; max-width: 40ch; }

.steps-band { background: var(--ink); color: #fff; padding: 72px 0; }
.steps-band .section-title { color: var(--yellow); margin-bottom: 36px; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps li { counter-increment: s; border-top: 3px solid var(--yellow); padding-top: 18px; }
.steps li::before { content: counter(s); display: block; font-family: var(--display); font-size: 44px; line-height: 1; color: var(--yellow); margin-bottom: 12px; }
.steps h3 { margin: 0 0 8px; font-size: 19px; }
.steps p { margin: 0; color: #cfcdc6; font-size: 16px; }

.services { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.services > div { padding: 20px 0; border-top: 1px solid var(--line); }
.services dt { font-weight: 800; font-size: 19px; margin-bottom: 6px; }
.services dd { margin: 0; color: var(--muted); font-size: 16px; }
.cant-take { margin: 40px 0 0; padding: 16px 20px; border-left: 0; border-radius: 12px; background: var(--stone); font-size: 16px; }

.factors { display: grid; gap: 0; }
.factor { padding: 22px 0; border-top: 1px solid #d6d3ca; }
.factor:first-child { border-top: 0; padding-top: 0; }
.factor h3 { margin: 0 0 6px; font-size: 20px; }
.factor p { margin: 0; color: var(--muted); }

.areas { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.areas li { padding: 10px 16px; border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 600; font-size: 15px; }

.faq details { border-top: 1px solid #d6d3ca; }
.faq details:last-child { border-bottom: 1px solid #d6d3ca; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 28px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 20px; color: var(--muted); max-width: 65ch; }

.enquiry { background: var(--stone); border-radius: 20px; padding: 28px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }

.site-footer { background: var(--ink); color: #d9d7d0; padding: 40px 0; font-size: 15px; }
.site-footer a { color: #fff; }
.site-footer strong { color: #fff; }
.footer-row { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-start; }
.footer-row p { margin: 0; }
.footer-row .copy { margin-left: auto; color: #a29f97; }

/* Responsive */
@media (max-width: 980px) {
  .nav { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero { padding-top: 36px; }
  .hero-grid { display: flex; flex-direction: column; }
  .hero-copy { display: contents; }
  h1 { order: 1; margin-bottom: 0; }
  .lede { order: 2; margin-bottom: 0; }
  .quote-card { order: 3; width: 100%; }
  .promises { order: 4; }
  h1 { max-width: 14ch; }
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .brand-name { font-size: 19px; }
  .btn-sm span { display: none; }
  .btn-sm { padding: 0 12px; }
  .lede { font-size: 17px; }
  h1 { font-size: 42px; }
  .hero-grid { gap: 22px; }
  .promises { grid-template-columns: minmax(0, 1fr); }
  .quote-card { box-shadow: 7px 7px 0 var(--yellow); width: calc(100% - 7px); }
  .quote-inner { padding: 22px 18px 20px; }
  .seg { grid-template-columns: minmax(0, 1fr); }
  .row { flex-direction: column; gap: 0; }
  .pc { flex: 1 1 auto; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .result-items { columns: 1; }
  .section { padding: 64px 0; }
  .enquiry { padding: 20px; }
  .footer-row .copy { margin-left: 0; }
}
