:root {
  --bg: #FFFDF7;
  --text: #1A2A3A;
  --primary: #0B4F8A;
  --primary-dark: #083A66;
  --alert: #B34700;
  --card: #FFFFFF;
  --line: #C9D3DD;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }

html { font-size: var(--base, 20px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Verdana, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

.wrap { max-width: 800px; margin: 0 auto; padding: 0 min(1rem, 16px); }

a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--primary-dark); }

:focus-visible { outline: 4px solid var(--text); outline-offset: 3px; }

h1, h2, h3 { line-height: 1.25; margin: 1.5rem 0 .75rem; }
h1, h2, h3 { overflow-wrap: anywhere; hyphens: auto; }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.3rem; }
p, ul, ol { margin: 0 0 1rem; }
ul, ol { padding-left: 1.4rem; }
li { margin-bottom: .4rem; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--text); color: #fff; padding: .75rem 1rem; z-index: 100;
}
.skip:focus { left: 0; }

/* Header */
.site-header { background: var(--card); border-bottom: 3px solid var(--line); }
.header-top {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  justify-content: space-between; align-items: center; padding-top: .75rem; padding-bottom: .5rem;
}
.brand { font-size: 1.5rem; font-weight: bold; text-decoration: none; color: var(--text); display: flex; flex-direction: column; }
.brand .tagline { font-size: .85rem; font-weight: normal; }
.phone { font-size: 1.1rem; }
.header-bar {
  display: flex; flex-wrap: wrap; gap: .5rem 1rem;
  justify-content: space-between; align-items: center; padding-bottom: .75rem;
}
nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
nav li { margin: 0; }
nav a { display: inline-block; padding: .6rem .8rem; min-height: 44px; }
nav a[aria-current="page"] { font-weight: bold; border-bottom: 4px solid var(--primary); text-decoration: none; color: var(--text); }
.text-size { display: flex; gap: .5rem; }
.text-size .btn { min-width: 56px; padding: .6rem .9rem; }
.menu-toggle { display: none; }

/* Buttons */
.btn {
  display: inline-block; min-height: 56px; padding: .9rem 1.4rem;
  font: inherit; font-weight: bold; text-align: center; text-decoration: none; cursor: pointer;
  border: 3px solid var(--primary); border-radius: var(--radius);
  background: var(--primary); color: #fff;
}
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--primary); }
.btn-ghost:hover { background: #E8F0F8; color: var(--primary-dark); }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.5rem 0; }

/* Content blocks */
main { padding-bottom: 2rem; }
.hero { padding: 1.5rem 0 .5rem; }
.lead { font-size: 1.2rem; }

.cards { display: grid; gap: 1rem; margin: 1rem 0 1.5rem; padding: 0; list-style: none; }
.card {
  background: var(--card); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 1rem min(1.25rem, 20px); margin: 0;
}
.card h2, .card h3 { margin-top: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.card img { width: 48px; height: 48px; flex: none; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.banner {
  background: #E8F0F8; border: 2px solid var(--primary); border-radius: var(--radius);
  padding: 1rem 1.25rem; margin: 1.5rem 0;
}
.banner h2 { margin-top: 0; }
.alert-box {
  background: var(--card); border: 2px solid var(--line); border-left: 8px solid var(--alert);
  border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1.5rem 0;
}
.note { font-style: italic; }

/* Form */
.field { margin-bottom: 1.25rem; }
label { display: block; font-weight: bold; margin-bottom: .35rem; }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; font: inherit; padding: .8rem; min-height: 56px;
  border: 3px solid var(--text); border-radius: var(--radius); background: #fff; color: var(--text);
}
textarea { min-height: 9rem; }
.check { display: flex; align-items: center; gap: .75rem; }
.check input { width: 28px; height: 28px; flex: none; }
.check label { margin: 0; font-weight: normal; }
.error { color: #8A1C1C; font-weight: bold; margin: .35rem 0 0; min-height: 0; }
.error:empty { display: none; }
.hint { margin: 0 0 .75rem; }
#form-status { font-weight: bold; margin-top: 1rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Footer */
.site-footer { background: var(--card); border-top: 3px solid var(--line); padding: 1.5rem 0; margin-top: 2rem; }
.site-footer p { margin: 0 0 .5rem; }

.call-fixed { display: none; }

/* Mobile */
@media (max-width: 720px) {
  html { scroll-padding-bottom: 7rem; }
  h1 { font-size: 1.8rem; }
  .js .menu-toggle { display: inline-block; }
  .js nav { display: none; width: 100%; }
  .js nav.open { display: block; }
  nav ul { flex-direction: column; }
  nav a { display: block; }
  .call-fixed {
    padding-block: .7rem;
    display: block; position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 50;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
  }
  body { padding-bottom: 6rem; }
}

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