@font-face {
  font-family: "URW Linear W01 Bold Narrow";
  src:
    url("../fonts/urw-linear-w01-bold-narrow.woff2") format("woff2"),
    url("../fonts/urw-linear-w01-bold-narrow.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --brand-blue: #053e8b;
  --brand-green: #5cb348;
  --footer-green: #5cb348;
  --footer-text: #ffffff;
  --headline-font: "URW Linear W01 Bold Narrow", Arial, Helvetica, sans-serif;
}

html,
body {
  background: #fff;
}

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--brand-blue);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--headline-font);
}

main {
  padding: 2rem 1.5rem;
}

.subpage main {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.coming-soon-wrap {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.logo-placeholder {
  width: min(100%, 360px);
  height: auto;
  display: block;
  margin: 0 auto 2rem;
}

.subpage-logo-link {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.subpage-logo {
  width: 200px;
  height: auto;
  display: block;
}

.brand-name {
  margin: 0 0 1rem;
  font-family: var(--headline-font);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

.brand-wordmark {
  white-space: nowrap;
  font-weight: 700;
}

.brand-ortho {
  color: var(--brand-blue);
}

.brand-reg {
  color: var(--brand-green);
}

.brand-name > span:last-child {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.coming-soon-title {
  color: var(--brand-green);
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.contact-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(5, 62, 139, 0.12);
  border-radius: 0.75rem;
  background: #f7f9fc;
  box-shadow: 0 12px 30px rgba(5, 62, 139, 0.06);
}

.contact-block {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.contact-block:last-child {
  margin-bottom: 0;
}

.contact-brand {
  margin-bottom: 1.5rem;
}

.contact-card strong {
  display: inline-block;
  margin-bottom: 0.2rem;
  font-family: var(--headline-font);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.1;
}

.contact-card a {
  color: var(--brand-blue);
  text-decoration: none;
}

.contact-card a:hover,
.contact-card a:focus {
  text-decoration: underline;
}

.legal-card {
  max-width: 920px;
  padding: 2rem;
}

.page-title {
  margin: 0 0 2rem;
  color: var(--brand-blue);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
}

.legal-section {
  margin-bottom: 2rem;
}

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

.legal-heading {
  margin: 0 0 0.75rem;
  color: var(--brand-blue);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}

.legal-text,
.legal-list {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
}

.legal-list {
  padding-left: 1.25rem;
}

.legal-divider {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid rgba(5, 62, 139, 0.12);
}

.legal-card a {
  color: var(--brand-blue);
  text-decoration: none;
}

.legal-card a:hover,
.legal-card a:focus {
  text-decoration: underline;
}

.footer-bar {
  background: var(--footer-green);
}

.footer-link {
  color: var(--footer-text);
  text-decoration: none;
}

.footer-meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.footer-separator {
  color: rgba(255, 255, 255, 0.8);
}

.footer-link:hover,
.footer-link:focus {
  color: #eaf6e3;
  text-decoration: underline;
}

.doctolib-widget {
  position: fixed;
  top: 200px;
  right: 0;
  display: block;
  padding: 5px;
  width: auto;
  border-radius: 4px 0 0 4px;
  background: #00264c;
  color: #00264c;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--headline-font);
  line-height: 1.4;
  opacity: 0.8;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.doctolib-widget a {
  display: block;
  margin-top: 5px;
  padding: 6px;
  border-radius: 4px;
  background: #fff;
  color: #00264c;
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.2s ease;
}

.doctolib-widget a:hover,
.doctolib-widget a:focus {
  opacity: 0.9;
  outline: 2px solid #f5f5f5;
  outline-offset: 2px;
}

.doctolib-widget img {
  display: inline-block;
  width: auto;
  height: 18px;
  margin: 3px 0;
  vertical-align: middle;
}

.doctolib-widget .skip-link {
  position: absolute;
  top: auto;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.doctolib-widget .skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
}

@media (max-width: 767.98px) {
  .contact-card {
    padding: 1.25rem;
  }

  .legal-card {
    padding: 1.25rem;
  }

  .subpage-logo {
    width: 160px;
  }

  .doctolib-widget {
    top: auto;
    right: 0;
    bottom: 72px;
    padding: 4px;
    width: auto;
  }

  .doctolib-widget a {
    padding: 5px;
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .doctolib-widget a {
    transition: none;
  }
}
