:root {
  --blue: #001554;
  --blue-deep: #000c36;
  --blue-ink: #000a2b;
  --accent: #ae0b00;
  --accent-light: #ff7a6b;
  --paper: #f4f1ea;
  --paper-2: #ebe6da;
  --white: #ffffff;
  --ink: #12131a;
  --muted: #5d5f6b;
  --line: #d8d2c3;
  --yellow: #ffcc1a;
  --green: #1f9d55;
  --red: #ae0b00;

  --f-display: "Big Shoulders Display", Impact, sans-serif;
  --f-body: "Instrument Sans", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --r: 14px;
  --shadow: 0 1px 0 rgba(0,0,0,.04), 0 12px 32px -12px rgba(0,21,84,.3);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 17px/1.6 var(--f-body);
  color: var(--ink);
  background: var(--paper);
  background-image:
    radial-gradient(rgba(0,21,84,.06) 1px, transparent 1px);
  background-size: 22px 22px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
p { margin: 0; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border: 0; border-radius: 999px;
  background: var(--blue); color: var(--white);
  font-weight: 600; letter-spacing: .01em;
  padding: 14px 24px;
  box-shadow: 0 8px 20px -8px rgba(0,21,84,.6);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.btn:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(0,21,84,.7); }
.btn span { transition: transform .18s ease; }
.btn:hover span { transform: translateX(4px); }
.btn--lg { padding: 18px 30px; font-size: 1.05rem; }
.btn--sm { padding: 10px 18px; font-size: .92rem; }
.btn--wa { background: #1fa855; box-shadow: 0 8px 20px -8px rgba(31,168,85,.7); }
.btn--wa:hover { background: #178a45; }

.link { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.link:hover { border-color: var(--blue); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 .78rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .14em;
  color: var(--blue);
  margin-bottom: 18px;
}
.eyebrow--light { color: var(--accent-light); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(31,157,85,.18); animation: pulse 2.2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(31,157,85,0); } }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(244,241,234,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__in { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 52px; width: auto; }
.brand__plate {
  position: relative; display: grid; place-items: end center;
  width: 64px; height: 38px; padding-bottom: 3px;
  background: var(--white); border: 2px solid var(--ink); border-radius: 6px;
  font: 700 1rem/1 var(--f-mono); letter-spacing: .06em;
  overflow: hidden;
}
.brand__strip {
  position: absolute; inset: 0 0 auto 0; height: 11px;
  background: var(--blue); color: var(--white);
  font-size: 7px; letter-spacing: .2em; display: grid; place-items: center;
}
.brand__name { font: 500 .78rem/1.05 var(--f-body); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.brand__name strong { font: 900 1.45rem/1 var(--f-display); letter-spacing: .02em; color: var(--ink); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; color: var(--muted); }
.nav a:hover { color: var(--blue); }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 112px); position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 {
  font: 900 clamp(2.5rem, 5vw, 4.2rem)/.98 var(--f-display);
  text-transform: uppercase; letter-spacing: 0;
  max-width: 16ch; text-wrap: balance;
}
.hero h1 .eyebrow { display: flex; align-items: flex-start; line-height: 1.4; margin-bottom: 22px; text-wrap: balance; }
.hero h1 .eyebrow .dot { flex: none; margin-top: 4px; }
.hero h1 em { font-style: normal; color: var(--accent); white-space: nowrap; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 54ch; margin-top: 22px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.facts { list-style: none; padding: 0; margin: 44px 0 0; display: flex; gap: 32px; flex-wrap: wrap; }
.facts li { display: flex; align-items: center; gap: 10px; }
.facts strong { font: 900 2.6rem/1 var(--f-display); color: var(--blue); }
.facts span { font-size: .82rem; line-height: 1.25; color: var(--muted); }

/* Hero art */
.hero__art { position: relative; min-height: 420px; }
.plate {
  position: absolute; top: 40px; left: 0; right: 0; margin-inline: auto;
  width: min(100%, 420px); aspect-ratio: 400 / 130;
  background: var(--white);
  border: 4px solid var(--ink); border-radius: 18px;
  box-shadow: var(--shadow), inset 0 0 0 6px var(--white), inset 0 0 0 8px #e3e3e3;
  overflow: hidden;
  transform: rotate(-4deg);
  animation: plateIn .9s cubic-bezier(.2,.9,.2,1.2) both .15s;
  z-index: 2;
}
.plate__strip {
  height: 26%; background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center; position: relative;
  font: 700 clamp(.6rem, 1.4vw, .85rem)/1 var(--f-mono); letter-spacing: .3em;
}
.plate__mercosul { position: absolute; left: 14px; font-size: .55em; letter-spacing: .12em; opacity: .85; }
.plate__flag {
  position: absolute; right: 14px; width: 22px; height: 15px; border-radius: 2px;
  background: #149a3b; overflow: hidden;
}
.plate__flag::before { content: ""; position: absolute; inset: 2px 3px; background: var(--yellow); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.plate__flag::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: #213f99; }
.plate__chars {
  height: 74%; display: grid; place-items: center;
  font: 700 clamp(2.4rem, 7vw, 4.6rem)/1 var(--f-mono); letter-spacing: .08em;
  color: var(--ink);
}
@keyframes plateIn { from { opacity: 0; transform: translateY(-30px) rotate(-14deg); } }

.stamp {
  position: absolute; right: 2%; top: 190px; z-index: 3;
  width: 150px; height: 150px; border-radius: 50%;
  border: 3px solid var(--red); color: var(--red);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  font: 700 .62rem/1.15 var(--f-mono); text-transform: uppercase; letter-spacing: .12em;
  transform: rotate(12deg);
  box-shadow: inset 0 0 0 5px var(--paper), inset 0 0 0 7px var(--red);
  background: rgba(244,241,234,.6);
  mix-blend-mode: multiply;
  animation: stampIn .5s cubic-bezier(.3,1.6,.5,1) both .9s;
}
.stamp strong { font: 900 2.4rem/1 var(--f-display); letter-spacing: .04em; margin: 4px 0; }
@keyframes stampIn { from { opacity: 0; transform: rotate(12deg) scale(1.8); } }

.doc {
  position: absolute; left: 4%; top: 170px; z-index: 1;
  width: 240px; padding: 22px 20px 18px;
  background: var(--white); border-radius: 10px; border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: rotate(3deg);
  animation: docIn .8s ease both .45s;
}
.doc__row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.doc__row span { font: 700 .72rem/1 var(--f-mono); color: var(--blue); width: 44px; }
.doc__row i { flex: 1; height: 7px; border-radius: 4px; background: var(--paper-2); }
.doc__row:nth-child(2) i { margin-right: 30px; }
.doc__ok { margin-top: 14px; font: 700 .8rem/1 var(--f-mono); color: var(--green); }
@keyframes docIn { from { opacity: 0; transform: translateY(30px) rotate(-3deg); } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section__head { max-width: 640px; margin-bottom: 48px; }
.section h2 { font: 900 clamp(2.1rem, 4.4vw, 3.4rem)/1 var(--f-display); text-transform: uppercase; }
.section__head p:not(.eyebrow) { color: var(--muted); margin-top: 14px; }

.featured { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  text-align: left; border: 1px solid var(--line); background: var(--white);
  border-radius: var(--r); padding: 26px 22px 22px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__code { font: 700 .75rem/1 var(--f-mono); color: var(--muted); letter-spacing: .1em; }
.card h3 { font: 900 1.9rem/1 var(--f-display); text-transform: uppercase; margin-top: 18px; }
.card p { color: var(--muted); font-size: .95rem; flex: 1; }
.card__go { font-weight: 600; color: var(--blue); margin-top: 8px; }

.list {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--ink);
}
.list li { border-bottom: 1px solid var(--line); }
.list button {
  width: 100%; text-align: left; background: none; border: 0;
  padding: 18px 40px 18px 4px; font-weight: 500; position: relative;
  transition: color .15s ease, padding .2s ease;
}
.list button::after {
  content: "→"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  color: var(--blue); opacity: .35; transition: opacity .15s, right .2s;
}
.list button:hover { color: var(--blue); padding-left: 12px; }
.list button:hover::after { opacity: 1; right: 6px; }

/* Ink section */
.section--ink { background: var(--blue-ink); color: var(--white); position: relative; overflow: hidden; }
.section--ink::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, transparent 0 28px, rgba(255,255,255,.03) 28px 56px);
}
.section--ink .wrap { position: relative; }
.section--photo {
  background:
    linear-gradient(100deg, rgba(0,10,43,.97) 0%, rgba(0,10,43,.9) 45%, rgba(0,21,84,.72) 100%),
    url("img/volante.webp?v=2") center 40% / cover no-repeat;
}
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { border-top: 2px solid rgba(255,255,255,.18); padding-top: 24px; }
.steps span {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: #fff; font: 900 1.6rem/1 var(--f-display);
}
.steps h3 { font: 900 1.6rem/1.05 var(--f-display); text-transform: uppercase; margin: 22px 0 10px; }
.steps p { color: rgba(255,255,255,.7); }

/* About */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about__media { position: relative; margin: 0 0 40px; }
.about__media img {
  width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 60% 50%;
  border-radius: 18px; filter: saturate(.85) contrast(1.05);
  box-shadow: var(--shadow);
}
.about__year {
  position: absolute; right: -18px; bottom: -34px;
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--blue); color: var(--white);
  padding: 16px 24px 18px; border-radius: 14px;
  border-bottom: 6px solid var(--accent);
  font: 900 clamp(3.4rem, 7vw, 5rem)/.85 var(--f-display);
  box-shadow: 0 18px 40px -16px rgba(0,10,43,.7);
  transform: rotate(-3deg);
}
.about__year small { font: 700 .72rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .16em; color: var(--accent-light); margin-bottom: 8px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 32px 0 0; }
.values div { border-left: 4px solid var(--accent); padding-left: 16px; }
.values dt { font: 700 .78rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--blue); margin-bottom: 8px; }
.values dd { margin: 0; color: var(--muted); }

/* Contact */
.section--paper { background: var(--white); border-top: 1px solid var(--line); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact h2 { margin-bottom: 30px; }
.contact__list { margin: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.contact__list div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact__list dt { font: 700 .75rem/1.9 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.contact__list dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { color: var(--blue); text-decoration: underline; }

.map { margin: 56px 0 0; border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow); }
.map iframe { display: block; width: 100%; height: clamp(300px, 42vw, 440px); border: 0; filter: saturate(.9); }
.map figcaption {
  display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between;
  padding: 14px 20px; background: var(--white); border-top: 2px solid var(--ink); font-weight: 500;
}

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 64px 0 0; font-size: .92rem; }
.footer a { color: var(--white); text-decoration: none; }
.footer__grid { display: grid; grid-template-columns: 1.1fr 1.3fr .8fr; gap: 48px; padding-bottom: 48px; }
.footer__brand img { height: 64px; width: auto; }
.footer__brand p { margin-top: 16px; color: var(--white); font-weight: 500; max-width: 30ch; }
.footer__brand address { font-style: normal; margin-top: 14px; line-height: 1.7; }
.footer__title {
  font: 700 .75rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .14em;
  color: var(--accent-light); margin-bottom: 18px;
}
.useful, .social { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.useful a, .social a {
  display: flex; align-items: center; gap: 12px; padding: 8px 10px; margin: 0 -10px; border-radius: 10px;
  transition: background .15s ease;
}
.useful a:hover, .social a:hover { background: rgba(255,255,255,.07); }
.useful strong { display: block; color: var(--white); font-weight: 600; }
.useful small { display: block; color: rgba(255,255,255,.55); font-size: .8rem; line-height: 1.3; }
.badge {
  flex: none; width: 38px; height: 38px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--c); color: #fff; font: 700 .78rem/1 var(--f-mono); letter-spacing: .04em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.social a { font-weight: 600; }
.social__icon {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--c); color: #fff;
}
.social__icon svg { width: 22px; height: 22px; }
.social { margin-top: 14px; }
.social strong { display: block; color: var(--white); }
.social small { display: block; color: rgba(255,255,255,.55); font-size: .8rem; font-weight: 400; }
.fbcard {
  position: relative; display: block; border-radius: 14px; overflow: hidden;
  background: #1c1e26; border: 1px solid rgba(255,255,255,.1);
  transition: transform .2s ease, border-color .2s ease;
}
.fbcard:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.25); }
.fbcard__cover {
  display: block; height: 84px;
  background: linear-gradient(180deg, rgba(0,10,43,.1), rgba(0,10,43,.55)), url("img/volante.webp?v=2") center 35% / cover;
}
.fbcard__avatar {
  position: absolute; left: 14px; top: 46px;
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center; padding: 10px;
  background: var(--blue); border: 3px solid #1c1e26;
}
.fbcard__avatar img { width: 100%; height: auto; }
.fbcard__body { display: block; padding: 10px 14px 14px 98px; min-height: 60px; }
.fbcard__body strong { display: block; color: var(--white); font-size: .98rem; line-height: 1.2; }
.fbcard__body small { display: block; color: rgba(255,255,255,.55); font-size: .78rem; }
.fbcard__btn {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  padding: 6px 14px 6px 10px; border-radius: 8px;
  background: #1877f2; color: #fff; font-weight: 600; font-size: .85rem;
}
.fbcard__btn svg { width: 18px; height: 18px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0 104px;
  font-size: .85rem;
}
.footer__villa { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.7) !important; opacity: .85; transition: opacity .15s; }
.footer__villa:hover { opacity: 1; }
.footer__villa img { height: 30px; width: auto; }

/* ---------- FAB ---------- */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: flex; align-items: center; gap: 10px;
  border: 0; border-radius: 999px; padding: 14px 20px 14px 16px;
  background: var(--accent); color: #fff; font-weight: 700;
  box-shadow: 0 14px 30px -10px rgba(174,11,0,.6);
  transition: transform .2s ease;
  animation: fabIn .5s ease both 1.4s;
}
.fab:hover { transform: translateY(-3px) scale(1.03); }
@keyframes fabIn { from { opacity: 0; transform: translateY(30px); } }
body.chat-open .fab { opacity: 0; pointer-events: none; }

/* ---------- Chat ---------- */
.chat {
  position: fixed; inset: 0; z-index: 50;
  display: flex; align-items: flex-end; justify-content: flex-end;
  padding: 20px;
  background: rgba(5,15,51,.35);
  backdrop-filter: blur(2px);
}
.chat[hidden] { display: none; }
.chat__panel {
  width: min(420px, 100%); height: min(680px, 100%);
  display: flex; flex-direction: column;
  background: var(--paper); border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(5,15,51,.6);
  animation: chatIn .35s cubic-bezier(.2,.9,.3,1.1) both;
}
@keyframes chatIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.chat__head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 14px 14px 16px; background: var(--blue); color: var(--white);
}
.chat__avatar {
  width: 42px; height: 42px; border-radius: 10px; flex: none;
  box-shadow: 0 0 0 2px rgba(255,255,255,.25);
}
.chat__title { font-weight: 700; }
.chat__sub { font-size: .8rem; opacity: .8; display: flex; align-items: center; gap: 8px; }
.chat__restart, .chat__close {
  margin-left: auto; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.12); color: var(--white); font-size: 1.3rem; line-height: 1;
}
.chat__close { margin-left: 0; font-size: 1.6rem; }
.chat__restart:hover, .chat__close:hover { background: rgba(255,255,255,.24); }
.chat__progress { height: 3px; background: var(--paper-2); }
.chat__progress i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .4s ease; }

.chat__log {
  flex: 1; overflow-y: auto; padding: 18px 16px 8px;
  display: flex; flex-direction: column; gap: 10px;
  overscroll-behavior: contain;
}
.msg {
  max-width: 85%; padding: 11px 15px; border-radius: 16px; font-size: .95rem; line-height: 1.45;
  animation: msgIn .25s ease both;
  white-space: pre-line;
}
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.msg--bot { background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg--user { background: var(--blue); color: var(--white); border-bottom-right-radius: 4px; align-self: flex-end; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); opacity: .4; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: 1; transform: translateY(-2px); } }

.summary {
  align-self: stretch; background: var(--white); border: 2px solid var(--ink); border-radius: 14px;
  padding: 16px; font-size: .9rem; animation: msgIn .25s ease both;
}
.summary h4 { margin: 0 0 10px; font: 700 .75rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--blue); }
.summary dl { margin: 0; display: grid; gap: 6px; }
.summary div { display: grid; grid-template-columns: 96px 1fr; gap: 8px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

.chat__input { padding: 12px 14px 16px; border-top: 1px solid var(--line); background: var(--paper); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; max-height: 210px; overflow-y: auto; }
.chip {
  border: 1.5px solid var(--blue); background: var(--white); color: var(--blue);
  border-radius: 999px; padding: 8px 14px; font-size: .9rem; font-weight: 600;
  transition: background .15s, color .15s;
}
.chip:hover { background: var(--blue); color: var(--white); }
.chip--ghost { border-color: var(--line); color: var(--muted); }
.chip--ghost:hover { background: var(--paper-2); color: var(--ink); }
.field { display: flex; gap: 8px; }
.field input, .field textarea {
  flex: 1; min-width: 0; font: inherit; font-size: 16px;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--white);
  resize: none;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field button {
  flex: none; width: 48px; border: 0; border-radius: 12px; background: var(--blue); color: var(--white); font-size: 1.2rem;
}
.field-extra { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 8px; }
.hint { font-size: .78rem; color: var(--muted); }
.err { font-size: .82rem; color: var(--red); margin-top: 6px; }
.final { display: grid; gap: 8px; }
.final .btn { justify-content: center; width: 100%; }
.final small { text-align: center; color: var(--muted); font-size: .78rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__art { min-height: 340px; max-width: 480px; width: 100%; margin-inline: auto; }
  .featured { grid-template-columns: repeat(2, 1fr); }
  .list { grid-template-columns: repeat(2, 1fr); }
  .about, .contact { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { padding-bottom: 96px; }
  body { font-size: 16px; }
  .brand img { height: 42px; }
  .about__year { right: 10px; bottom: -26px; }
  .nav { display: none; }
  .topbar__in { justify-content: space-between; }
  .hero__art { min-height: 300px; }
  .plate { top: 10px; }
  .doc { top: 130px; width: 200px; left: 0; }
  .stamp { top: 150px; width: 120px; height: 120px; right: 0; }
  .stamp strong { font-size: 1.9rem; }
  .facts { gap: 20px; }
  .facts strong { font-size: 2.1rem; }
  .featured, .list, .steps, .values { grid-template-columns: 1fr; }
  .contact__list div { grid-template-columns: 1fr; gap: 2px; }
  .fab__label { display: none; }
  .fab { padding: 16px; }
  .chat { padding: 0; }
  .chat__panel { width: 100%; height: 100%; border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
