:root {
  --red: #e0081a;
  --red-dark: #b8000f;
  --ink: #10302f;
  --text: #22393a;
  --muted: #56696a;
  --bg: #ffffff;
  --bg-alt: #f4f6f5;
  --line: #dde3e2;
  --wa: #128c4a;
  --wa-dark: #0d6e3a;
  --radius: 12px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }

.eyebrow { color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: .5em; }
.lead { font-size: 1.15rem; }
.small { font-size: .9rem; color: var(--muted); }
.intro { color: var(--muted); max-width: 640px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.3em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  background: var(--red); color: #fff;
}
.btn:hover { background: var(--red-dark); }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.btn-sm { min-height: 40px; padding: .4em 1em; font-size: .95rem; }
.btn-wa { background: var(--wa); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand img { width: 140px; height: auto; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; color: var(--ink); }
.nav a:not(.btn):hover { color: var(--red); }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } .brand img { width: 118px; } }

/* Hero */
.hero { padding: 48px 0 56px; background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }
.hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; } .hero { padding: 72px 0 80px; } }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 8px; }
@media (max-width: 480px) { .cta-row .btn { width: 100%; } }
.hero-img { margin: 0; }
.hero-img img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 18px 40px -20px rgba(16,48,47,.45); }

/* Sections */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-alt); }

/* Service cards */
.cards { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { margin: 0; color: var(--muted); }
.num { display: inline-block; color: var(--red); font-weight: 800; font-size: .95rem; margin-bottom: 8px; }

/* Gallery */
.gallery { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }

/* Testimonials */
.quotes { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 16px; flex: 1; }
.quote blockquote p { margin: 0; }
.quote figcaption { font-weight: 700; color: var(--ink); }

/* Quote form */
.quote-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .quote-grid { grid-template-columns: .9fr 1.1fr; gap: 56px; } }
.form { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 700; color: var(--ink); margin-bottom: 6px; padding: 0; }
.opt { font-weight: 400; color: var(--muted); }
input:not([type=checkbox]), textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #b9c3c2; border-radius: 8px; background: #fff; color: var(--text);
}
textarea { resize: vertical; }
.checks { display: grid; gap: 4px; }
@media (min-width: 520px) { .checks { grid-template-columns: 1fr 1fr; } }
.checks label { display: flex; align-items: center; gap: 10px; font-weight: 400; color: var(--text); min-height: 40px; margin: 0; cursor: pointer; }
.checks input { width: 20px; height: 20px; accent-color: var(--red); }
.error { color: var(--red-dark); font-weight: 600; }

/* Footer */
.site-footer { background: var(--ink); color: #d6e0df; padding: 40px 0 96px; }
.site-footer a { color: #fff; }
.foot { display: grid; gap: 24px; }
@media (min-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } .copy { grid-column: 1 / -1; } }
.foot-logo { background: #fff; border-radius: 8px; padding: 8px 10px; width: 160px; margin-bottom: 8px; }
.site-footer .small { color: #9fb1b0; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.wa-float:hover { background: var(--wa-dark); }
