:root {
  --ink: #211f20;
  --ink-deep: #181617;
  --ink-soft: #2b2829;
  --paper: #f5f1eb;
  --paper-muted: #e7dfd4;
  --text: #fbfaf7;
  --muted: #b8b2ad;
  --accent: #f4a812;
  --accent-dark: #d99416;
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--ink-deep);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(20px, 6vw, 80px);
  background: linear-gradient(180deg, rgba(24, 22, 23, 0.92), rgba(24, 22, 23, 0));
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(24, 22, 23, 0.94);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.brand-group {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  flex: 0 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: clamp(132px, 14vw, 190px);
  height: auto;
}

.brand-radiologica {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  padding-left: clamp(14px, 2vw, 26px);
}

.brand-radiologica img {
  width: clamp(132px, 14vw, 190px);
}

.eyebrow,
.hero h1 span {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
}

.nav-cta {
  color: var(--text);
}

.hero {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 36%, rgba(255, 255, 255, 0.035), transparent 34%),
    linear-gradient(120deg, var(--ink-soft), var(--ink-deep));
}

.hero-content {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: center;
  padding: 128px clamp(24px, 8vw, 96px) 72px;
}

.eyebrow {
  margin: 0 0 22px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  display: inline-block;
  width: 18px;
  height: 2px;
  margin-right: 10px;
  vertical-align: middle;
  background: currentColor;
  content: "";
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h1 small {
  display: block;
  max-width: 620px;
  margin-top: 18px;
  color: var(--text);
  font-size: clamp(1.35rem, 2.2vw, 2.45rem);
  line-height: 1.12;
}

h2 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy,
.section p {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 22px;
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  background: var(--accent);
  color: var(--ink-deep);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ffc24a;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(244, 168, 18, 0.7);
}

.button-dark {
  width: 100%;
  background: var(--ink);
  color: var(--text);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: clamp(42px, 8vh, 88px) 0 0;
  padding: 0;
}

.trust-strip div {
  min-width: 150px;
  border-left: 3px solid var(--accent);
  padding-left: 16px;
}

.trust-strip dt {
  font-size: 1.8rem;
  font-weight: 900;
}

.trust-strip dd {
  margin: 2px 0 0;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  display: grid;
  overflow: hidden;
  place-items: center;
  min-height: 100%;
  background:
    linear-gradient(135deg, rgba(245, 241, 235, 0.96), rgba(238, 231, 221, 0.9)),
    var(--paper);
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(245, 241, 235, 0.24), rgba(245, 241, 235, 0.86)),
    radial-gradient(circle at 52% 36%, rgba(244, 168, 18, 0.16), transparent 34%);
  content: "";
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: min(72%, 520px);
  height: auto;
  padding: clamp(18px, 4vw, 36px);
  border-radius: 8px;
  background: rgba(24, 22, 23, 0.92);
  box-shadow: 0 24px 80px rgba(33, 31, 32, 0.24);
}

.measurement-badge {
  position: absolute;
  right: clamp(24px, 7vw, 82px);
  bottom: clamp(36px, 10vh, 110px);
  z-index: 2;
  display: grid;
  gap: 6px;
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  color: var(--ink);
}

.measurement-badge strong {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.measurement-badge span {
  color: #7c756d;
}

.section {
  padding: clamp(76px, 12vw, 140px) clamp(22px, 6vw, 80px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-dark {
  background: var(--ink-deep);
}

.section-light {
  background: var(--paper);
  color: var(--ink);
}

.section-light .eyebrow,
.section-light h2 {
  color: var(--ink);
}

.section-light .eyebrow::before {
  background: var(--accent);
}

.section-light p,
.section-light .contact-line span,
.section-light .placeholder-note {
  color: #746e67;
}

.split,
.contact-grid,
.clients-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: clamp(36px, 8vw, 96px);
  align-items: center;
}

.text-block {
  border-left: 3px solid var(--accent);
  padding-left: clamp(20px, 3vw, 34px);
}

.note,
.placeholder-note {
  font-size: 0.95rem;
}

.contact-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(33, 31, 32, 0.1);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  background: #fffdfa;
  box-shadow: var(--shadow);
  font-style: normal;
}

.contact-line {
  display: grid;
  gap: 5px;
  border-bottom: 1px solid rgba(33, 31, 32, 0.1);
  padding-bottom: 14px;
  color: var(--ink);
  font-weight: 800;
}

.contact-line span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.placeholder-note {
  margin: 0;
  font-size: 0.88rem;
}

.clients-section {
  border-top: 1px solid var(--line);
}

.clients-panel {
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(244, 168, 18, 0.11), transparent 34%),
    var(--ink-soft);
}

.clients-panel .button {
  justify-self: end;
  min-width: 220px;
}

.legal-section {
  border-top: 1px solid var(--line);
}

.legal-page-main {
  padding-top: 86px;
  background: var(--ink-deep);
}

.legal-content h2 {
  max-width: 850px;
}

.legal-content h1 {
  max-width: 850px;
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1.05;
}

.legal-updated {
  margin-bottom: 32px;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.legal-grid article {
  border-left: 3px solid var(--accent);
  padding-left: 18px;
}

.legal-grid h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.legal-grid p {
  margin-bottom: 12px;
  font-size: 0.98rem;
}

.legal-grid a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-note {
  color: var(--accent);
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  padding: 28px clamp(22px, 6vw, 80px);
  border-top: 1px solid var(--line);
  background: var(--ink-deep);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.legal-links a {
  color: var(--muted);
  font-size: 0.94rem;
  transition: color 160ms ease;
}

.legal-links a:hover,
.legal-links a:focus-visible {
  color: var(--accent);
}

@media (max-width: 940px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 12px 18px;
    font-size: 0.9rem;
  }

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

  .hero-content {
    min-height: auto;
    padding-top: 136px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-logo {
    width: min(78%, 430px);
  }

  .measurement-badge {
    right: 24px;
    bottom: 28px;
  }

  .split,
  .contact-grid,
  .clients-panel {
    grid-template-columns: 1fr;
  }

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

  .clients-panel .button {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    flex-direction: column;
    padding: 20px;
  }

  .site-nav {
    justify-content: flex-start;
    width: 100%;
    font-size: 0.84rem;
  }

  .brand-group {
    width: 100%;
  }

  .brand img,
  .brand-radiologica img {
    width: clamp(112px, 34vw, 150px);
  }

  .site-nav a {
    white-space: nowrap;
  }

  h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: 2.85rem;
    line-height: 1.03;
  }

  h1 small {
    margin-top: 12px;
    font-size: 1.35rem;
    line-height: 1.18;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .trust-strip {
    gap: 18px;
  }

  .trust-strip div {
    width: 100%;
  }

  .hero-visual {
    min-height: 300px;
  }

  .measurement-badge {
    display: none;
  }
}
