*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue: #1d4ed8;
  --blue-dark: #1e3a8a;
  --sky: #60a5fa;
  --bg: #f8fafc;
  --white: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Lexend", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3, .logo strong, .phone, .foot-name {
  font-family: "Literata", Georgia, serif;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; }

.wrap {
  width: min(1060px, calc(100% - 2rem));
  margin: 0 auto;
}

.top {
  background: var(--blue-dark);
  color: #bfdbfe;
  font-size: 0.76rem;
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.5rem 0;
}

.top a { color: var(--sky); font-weight: 700; }

.header {
  background: var(--white);
  border-bottom: 3px solid var(--blue);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--blue);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: "Literata", serif;
  font-weight: 700;
  font-size: 1.2rem;
}

.logo span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo strong { font-size: 1.05rem; color: var(--blue-dark); }

.logo small {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: "Lexend", sans-serif;
}

.header nav {
  display: flex;
  gap: 1.4rem;
  font-weight: 600;
  color: var(--muted);
}

.header nav a:hover { color: var(--blue); }

.hero {
  padding: 3.5rem 0 3rem;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white);
}

.tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.6rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 2.9rem);
  line-height: 1.1;
  margin-bottom: 0.85rem;
}

.hero h1 span { color: #93c5fd; }

.lead {
  max-width: 34rem;
  color: #bfdbfe;
  margin-bottom: 1.35rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.35rem;
  border-radius: 8px;
  background: var(--white);
  color: var(--blue-dark);
  font-weight: 700;
}

.btn.dark { background: var(--blue); color: var(--white); }

.section { padding: 3rem 0; }
.section.alt { background: var(--white); }

.sec-head { margin-bottom: 1.5rem; }

.sec-head h2, .about h2, .contact h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.3rem);
  color: var(--blue-dark);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.cards article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem;
  border-top: 4px solid var(--sky);
}

.section.alt .cards article { background: var(--bg); }

.cards h3 { font-size: 1rem; color: var(--blue); margin-bottom: 0.35rem; }
.cards p { font-size: 0.92rem; color: var(--muted); }

.strip {
  background: var(--blue);
  color: var(--white);
  padding: 1.25rem 0;
}

.strip-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}

.strip strong {
  display: block;
  font-family: "Literata", serif;
  font-size: 2rem;
}

.strip span { font-size: 0.8rem; opacity: 0.9; }

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.about > div > p:not(.tag) { color: var(--muted); margin-top: 0.75rem; }

.panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem;
  background: var(--bg);
}

.panel h3 { font-size: 1rem; color: var(--blue-dark); margin-bottom: 0.65rem; }

.panel dl div {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
}

.panel dl div:last-child { border-bottom: none; }

.panel dt {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.phone {
  display: block;
  font-size: 1.65rem;
  color: var(--blue);
  margin: 0.35rem 0;
}

.phone.secondary { font-size: 1.35rem; color: var(--blue-dark); }

.mail {
  display: block;
  font-weight: 600;
  color: var(--muted);
  margin: 0.5rem 0 1rem;
}

.addr { color: var(--muted); line-height: 1.7; }

.box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.35rem;
}

.box p { color: var(--muted); margin-bottom: 1rem; }

.foot {
  background: var(--blue-dark);
  color: #93c5fd;
  padding: 2rem 0 1rem;
}

.foot-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.foot-name {
  font-size: 1.2rem;
  color: #bfdbfe;
  margin-bottom: 0.35rem;
}

.foot h4 {
  font-family: "Lexend", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.foot-end {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
}

@media (max-width: 800px) {
  .header nav { display: none; }
  .about, .contact-grid, .foot-cols, .strip-row {
    grid-template-columns: 1fr;
  }
}
