:root {
  --ink: #13222e;
  --muted: #5f6f7b;
  --line: #d8e1e6;
  --soft: #f4f8f9;
  --blue: #0a5688;
  --green: #4f8b3b;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(19, 34, 46, 0.10);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: var(--white);
}

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

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

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 126px;
  height: 46px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--green);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 9px 12px;
  border-radius: 6px;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(48px, 8vw, 96px) clamp(18px, 6vw, 84px);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96), rgba(255,255,255,0.84)),
    url("assets/building-facade.jpeg") center / cover;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.03;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.eyebrow,
.panel-label,
.tag {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--blue);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}

.profile-panel {
  display: grid;
  gap: 20px;
  padding: 22px;
  border: 1px solid rgba(216, 225, 230, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.hero-logo-panel {
  padding: 28px;
  border: 1px solid rgba(216, 225, 230, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.hero-logo-panel img {
  width: 100%;
  object-fit: contain;
}

.profile-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
}

.profile-panel h2,
.section h2,
.service-item h2,
.article-card h2 {
  margin: 0 0 12px;
  line-height: 1.15;
}

.section,
.page-hero {
  padding: clamp(48px, 7vw, 88px) clamp(18px, 6vw, 84px);
}

.page-hero {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.intro-grid,
.split,
.contact-layout,
.project-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.stat-grid,
.card-grid,
.project-gallery,
.service-list,
.article-list,
.reference-groups {
  display: grid;
  gap: 18px;
}

.stat-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat,
.card,
.service-item,
.article-card,
.training-panel,
.contact-card,
.contact-form {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.stat strong {
  display: block;
  color: var(--blue);
  font-size: 22px;
}

.stat span {
  color: var(--muted);
}

.section-heading {
  margin-bottom: 22px;
}

.card-grid.three,
.project-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card h3 {
  margin-top: 0;
}

.values .card {
  border: 0;
  color: var(--white);
}

.values .card p {
  color: rgba(255, 255, 255, 0.86);
}

.values .card:nth-child(1) {
  background: #123047;
}

.values .card:nth-child(2) {
  background: #4e8b3d;
}

.values .card:nth-child(3) {
  background: #0a6ea8;
}

.project-band {
  background: var(--ink);
  color: var(--white);
}

.project-band img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 8px;
}

.project-band p,
.site-footer p {
  color: rgba(255, 255, 255, 0.78);
}

.text-link {
  font-weight: 800;
}

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-lines {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

.section-image,
.large-profile {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section-image {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.profile-detail {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  background: var(--soft);
}

.large-profile {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.role {
  color: var(--muted);
  font-weight: 700;
}

.credential-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.credential-list span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.service-list,
.article-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-item ul,
.check-list,
.reference-list ul {
  padding-left: 20px;
}

.service-item li,
.check-list li,
.reference-list li {
  margin-bottom: 10px;
}

.project-gallery article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.project-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.project-gallery h2,
.project-gallery p {
  margin-left: 20px;
  margin-right: 20px;
}

.project-gallery p {
  margin-bottom: 22px;
  color: var(--muted);
}

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

.reference-group {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.reference-group h3 {
  margin-top: 0;
}

.article-card {
  border-left: 4px solid var(--green);
}

.contact-layout {
  align-items: stretch;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form h2 {
  margin: 0 0 6px;
}

.contact-form label {
  color: var(--ink);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.name-card {
  grid-column: 1 / -1;
  width: min(720px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 6vw, 84px);
  background: var(--ink);
  color: var(--white);
}

.site-footer a {
  color: var(--white);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .hero,
  .intro-grid,
  .split,
  .contact-layout,
  .project-band,
  .profile-detail {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .card-grid.three,
  .project-gallery,
  .service-list,
  .article-list,
  .columns,
  .reference-groups {
    grid-template-columns: 1fr;
  }

  .contact-strip,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .brand span {
    max-width: 180px;
    line-height: 1.2;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 36px;
  }
}
