:root {
  --ink: #20172a;
  --white: #ffffff;
  --pink-a: #cb42d4;
  --pink-b: #e34173;
  --blue-a: #4d71e4;
  --blue-b: #554fd9;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--ink);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.site-shell {
  width: 100vw;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 59.1% 40.9%;
  overflow: hidden;
}

.brand-panel {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  background: var(--ink);
}

/* Small arrow/point where the dark panel meets the building image, matching the original site. */
.brand-panel::after {
  content: "";
  position: absolute;
  right: -43px;
  top: 45%;
  width: 86px;
  height: 86px;
  background: var(--ink);
  transform: rotate(45deg);
  z-index: 3;
}

.brand-inner {
  min-height: 100vh;
  padding: 19vh 2vw 2.2vh 3.4vw;
  display: flex;
  flex-direction: column;
}

/* IMPORTANT: the original design is a three-column header: left content | divider | right tagline. */
.hero-header {
  display: grid;
  grid-template-columns: minmax(0, 58fr) 1px minmax(0, 42fr);
  align-items: center;
  width: 100%;
}

.hero-left {
  min-width: 0;
  padding-right: 1.5vw;
}

.brand-logo {
  display: block;
  width: min(29.7vw, 455px);
  height: auto;
  max-width: 100%;
}

.welcome {
  margin: 0.55rem 0 0;
  color: var(--white);
  font-size: clamp(13px, 1.04vw, 18px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: normal;
}

.hero-divider {
  width: 1px;
  height: 142px;
  background: rgba(255,255,255,0.93);
  align-self: center;
}

.hero-right {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 2.2vw;
}

.hero-right h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(16px, 1.17vw, 21px);
  line-height: 1.38;
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.45vw;
  margin-top: 16.5vh;
  padding-left: 3.1vw;
}

.action-button {
  min-width: 0;
  flex: 1;
  padding: 17px 26px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-size: clamp(16px, 1.18vw, 20px);
  line-height: 1.2;
  transition: transform .15s ease, filter .15s ease;
}

.action-button:hover,
.action-button:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.question { background: linear-gradient(100deg, var(--pink-a), var(--pink-b)); }
.maintenance { background: linear-gradient(100deg, var(--blue-a), var(--blue-b)); }

.footer-links {
  margin-top: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-top: 2rem;
}

.footer-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-block > a {
  color: #fff;
  font-size: 14px;
  margin-bottom: 8px;
  text-decoration: underline;
}

.prs-logo {
  width: 116px;
  height: 63px;
  object-fit: contain;
  display: block;
}

.client-money-logo {
  width: 319px;
  height: 63px;
  object-fit: cover;
  object-position: center 43%;
  display: block;
}

.certificate-link { margin-left: 0; }

.building-panel {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}
.building-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
}

/* Tablet / narrow desktop */
@media (max-width: 1180px) {
  .brand-inner { padding-left: 3vw; padding-right: 4vw; }
  .action-button { min-width: 0; padding-inline: 16px; }
  .welcome { font-size: 13px; }
  .hero-right h1 { font-size: 16px; }
}

/* Mobile/tablet: stack cleanly while preserving hierarchy. */
@media (max-width: 900px) {
  .site-shell { grid-template-columns: 1fr; }
  .building-panel { display: none; }
  .brand-panel::after { display: none; }
  .brand-inner { padding: 54px 28px 28px; }
  .hero-header {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-left { padding-right: 0; text-align: center; }
  .brand-logo { width: min(455px, 86vw); margin: 0 auto; }
  .welcome { white-space: normal; text-align: center; font-size: 15px; }
  .hero-divider { width: 160px; height: 1px; justify-self: center; }
  .hero-right { padding-left: 0; }
  .hero-right h1 { font-size: 20px; }
  .actions { margin-top: 72px; padding-left: 0; flex-wrap: wrap; gap: 20px; }
  .action-button { width: min(360px, 88vw); min-width: 0; flex: 0 1 360px; }
  .footer-links { margin-top: 84px; justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .brand-inner { padding: 38px 20px 24px; }
  .footer-links { gap: 20px; }
  .client-money-logo { width: min(319px, 78vw); height: auto; }
  .certificate-link { margin-left: 0; }
}
