:root {
  --blue: #0b75b8;
  --blue-dark: #0a3a57;
  --ink: #1d2730;
  --muted: #5a6875;
  --line: #dfe5ea;
  --bg-soft: #f3f6f8;
  --white: #fff;
  --radius: 6px;
  --wrap: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); }

h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h2 { font-size: 2rem; color: var(--blue-dark); }
h3 { font-size: 1.15rem; color: var(--blue-dark); }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--blue-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 64px; flex-wrap: wrap;
}
.logo img { height: 40px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.nav a { color: #d6e6f2; text-decoration: none; font-size: .95rem; padding: 6px 0; }
.nav a:hover { color: var(--white); }
.nav .tel { color: var(--white); font-weight: 600; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 80px 0 90px;
}
.hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 2.6rem; margin-bottom: .4em; }
.hero p { font-size: 1.15rem; color: #e1eef7; max-width: 36em; }
.hero-img { border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.3); width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: var(--radius);
  font-weight: 600; text-decoration: none; border: 2px solid var(--white);
}
.btn-primary { background: var(--white); color: var(--blue-dark); }
.btn-ghost { color: var(--white); }
.btn:hover { opacity: .9; }

/* Facts strip */
.facts { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.facts .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding-top: 28px; padding-bottom: 28px; text-align: center;
}
.facts strong { display: block; font-size: 1.6rem; color: var(--blue); }
.facts span { color: var(--muted); font-size: .95rem; }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--bg-soft); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 48em; margin-bottom: 36px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.two-col img { border-radius: var(--radius); width: 100%; }

.grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card .body { padding: 20px; }
.card p { color: var(--muted); font-size: .97rem; }
.card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .95rem; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li {
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: .92rem;
}

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.steps li { counter-increment: s; padding-left: 40px; position: relative; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: var(--white);
  font-size: .85rem; font-weight: 700; display: grid; place-items: center;
}

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.timeline .item { border-top: 4px solid var(--blue); background: var(--white); padding: 18px; border-radius: 0 0 var(--radius) var(--radius); }
.timeline .year { font-size: 1.5rem; font-weight: 700; color: var(--blue); }
.timeline h3 { margin-bottom: .3em; }
.timeline p { font-size: .93rem; color: var(--muted); margin: 0; }

.certs { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 12px; }
.certs img { max-height: 90px; width: auto; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; align-items: stretch; }
.contact-grid .card .body { padding: 24px; }
.contact-grid dl { margin: 0; }
.contact-grid dt { font-weight: 600; margin-top: 8px; }
.contact-grid dd { margin: 0; color: var(--muted); }
.map { border: 0; width: 100%; height: 100%; min-height: 360px; border-radius: var(--radius); }

/* Footer */
.site-footer { background: var(--blue-dark); color: #b9cfdf; padding: 32px 0; font-size: .92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.site-footer a { color: var(--white); }

/* Subpage */
.page-head { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); color: var(--white); padding: 48px 0; }
.page-head h1 { font-size: 2.1rem; margin: 0; }
.page-head p { margin: .4em 0 0; color: #e1eef7; }
.prose { max-width: 820px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose ul { padding-left: 20px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-soft); }
.note { background: var(--bg-soft); border-left: 4px solid var(--blue); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; }

/* Responsive */
@media (max-width: 960px) {
  .grid, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { padding: 48px 0 56px; }
  .hero .wrap, .two-col { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  section { padding: 52px 0; }
  .facts .wrap { grid-template-columns: repeat(2, 1fr); }
  .grid, .grid-4, .timeline { grid-template-columns: 1fr; }
  .nav { gap: 2px 14px; }
  .nav a:not(.tel) { font-size: .88rem; }
  .site-header { position: static; }
}
