* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #1a3a5c;
  --blue-mid: #2a5a8c;
  --blue-light: #3d7ec0;
  --orange: #e8853d;
  --orange-dark: #d0702a;
  --slate: #475569;
  --gray: #94a3b8;
  --light: #f1f5f9;
  --white: #fff;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #1e293b;
  line-height: 1.7;
  background: var(--light);
}

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

a { color: var(--blue-light); text-decoration: none; }
a:hover { color: var(--orange); }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  color: var(--white);
  padding: 64px 24px 56px;
  text-align: center;
}

.hero-inner { max-width: 780px; margin: 0 auto; }

.hero-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px; height: 72px;
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 16px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
}

.hero .tagline {
  font-size: 1.05rem;
  opacity: .85;
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.hero .since {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .5px;
  text-transform: uppercase;
  opacity: .55;
  border-top: 1px solid rgba(255,255,255,.2);
  padding-top: 16px;
}

/* ---- SECTIONS ---- */
.section {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px 0;
}

.section:last-of-type { padding-bottom: 56px; }

.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--orange);
  display: inline-block;
}

.section p {
  color: var(--slate);
  margin-bottom: 14px;
}

.section p:last-child { margin-bottom: 0; }

/* ---- CARDS GRID (actions) ---- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid #e2e8f0;
  transition: box-shadow .25s, transform .25s;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.07);
  transform: translateY(-3px);
}

.card-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-light));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.card h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
}

.card p {
  font-size: .88rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ---- REFERENCES ---- */
.ref-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.ref-tag {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--blue);
  transition: all .2s;
}

.ref-tag:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* ---- INFO TABLE (cabinet) ---- */
.info-box {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 20px;
}

.info-row {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: .92rem;
}

.info-row:last-child { border-bottom: none; }

.info-label {
  min-width: 170px;
  font-weight: 600;
  color: var(--blue);
}

.info-value { color: var(--slate); }

/* ---- CONTACT ---- */
.contact-box {
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 20px;
  display: flex;
  gap: 24px;
  align-items: center;
}

.contact-icon {
  width: 52px; height: 52px; min-width: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.contact-box strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.contact-box p { color: rgba(255,255,255,.75); margin: 0; }

/* ---- FOOTER ---- */
footer {
  text-align: center;
  padding: 32px 24px;
  font-size: .8rem;
  color: var(--gray);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 600px) {
  .hero { padding: 40px 20px 36px; }
  .cards { grid-template-columns: 1fr; }
  .info-row { flex-direction: column; gap: 2px; }
  .info-label { min-width: 0; }
  .contact-box { flex-direction: column; text-align: center; }
}
