:root {
  --blue-900: #0d2f4f;
  --blue-800: #123f67;
  --blue-700: #17628f;
  --blue-500: #1f8fc7;
  --green-500: #2f9d87;
  --text: #172635;
  --muted: #5f7181;
  --line: #dbe7ef;
  --bg: #edf4fa;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(13, 47, 79, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #ffd45c;
  outline-offset: 3px;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

body::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, #27aae1, #83c8e8, #27aae1);
}

.pre-header {
  color: #fff;
  background: #0a3566;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.pre-header .container,
.header-main.container {
  width: min(1180px, calc(100% - 40px));
}

.pre-header .container {
  display: flex;
  min-height: 29px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.pre-header-phone {
  color: #fff;
  text-decoration: none;
}

.pre-header-parking {
  text-align: right;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid rgba(10, 53, 102, 0.12);
  box-shadow: 0 8px 24px rgba(6, 40, 73, 0.08);
}

.header-main {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr) auto auto;
  min-height: 66px;
  align-items: center;
  gap: clamp(10px, 1.5vw, 20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: min(100%, 208px);
  height: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-nav {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.site-nav > a,
.nav-parent {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 0;
  border-radius: 9px;
  color: #0a3566;
  background: transparent;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.site-nav > a:hover,
.site-nav > a[aria-current="page"],
.nav-parent:hover,
.nav-parent[aria-expanded="true"],
.nav-item.is-current > .nav-parent {
  color: #11548f;
  background: #edf7fc;
}

.header-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 17px;
  border-radius: 999px;
  color: #fff;
  background: #d71920;
  box-shadow: 0 8px 18px rgba(185, 23, 34, 0.18);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.header-cta:hover {
  background: #b91722;
  box-shadow: 0 10px 22px rgba(185, 23, 34, 0.24);
  transform: translateY(-1px);
}

.appointment-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  border: 1px solid #17628f;
  border-radius: 999px;
  color: #fff;
  background: #17628f;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.appointment-cta:hover {
  color: #0d2f4f;
  background: #edf7fc;
  transform: translateY(-1px);
}

.nav-item {
  position: relative;
  display: flex;
}

.nav-parent {
  gap: 7px;
}

.nav-parent::after {
  content: "▾";
  font-size: 0.75em;
  transition: transform 0.18s ease;
}

.has-submenu:hover > .nav-parent::after,
.has-submenu.is-open > .nav-parent::after {
  transform: rotate(180deg);
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 120;
  display: none;
  min-width: 270px;
  padding: 7px;
  border: 1px solid #c9e8f6;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(6, 40, 73, 0.14);
}

.submenu a {
  display: block;
  padding: 11px 13px;
  border-radius: 8px;
  color: #0a3566;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

.submenu a:hover,
.submenu a[aria-current="page"] {
  color: #0a3566;
  background: #edf7fc;
}

.has-submenu:hover .submenu,
.has-submenu.is-open .submenu {
  display: block;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 46px;
  border: 1px solid #c9e8f6;
  border-radius: 11px;
  color: #fff;
  background: #0a3566;
  font-size: 1.45rem;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: clamp(460px, 58svh, 620px);
  display: flex;
  align-items: center;
  padding: clamp(56px, 7vw, 88px) 0;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.hero.compact:not(.article-hero) {
  min-height: clamp(360px, 48svh, 460px);
}

.hero.article-hero {
  min-height: auto;
  padding-top: clamp(32px, 4vw, 52px);
  padding-bottom: clamp(36px, 4.5vw, 60px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--blue-900);
}

.hero img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 35, 59, 0.86), rgba(7, 35, 59, 0.55) 48%, rgba(7, 35, 59, 0.2));
}

.hero-content {
  width: min(780px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0;
}

.hero-content.wide {
  width: min(1120px, calc(100% - 32px));
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--white);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--blue-900);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: 0 0 24px;
  width: 24px;
  height: 2px;
  background-color: var(--green-500);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(2.05rem, 5vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero:not(.article-hero) h1 {
  max-width: 1000px;
  font-size: clamp(2.35rem, 4.4vw, 4rem);
  line-height: 1.05;
}

.article-hero h1 {
  max-width: 980px;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.1;
}

h2 {
  margin: 0 0 18px;
  color: var(--blue-900);
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  line-height: 1.12;
}

h3 {
  margin: 0 0 10px;
  color: var(--blue-800);
  font-size: 1.16rem;
  line-height: 1.25;
}

.lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero:not(.article-hero) .lead {
  max-width: 760px;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.55;
}

.article-hero .lead {
  max-width: 920px;
  margin-top: 16px;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.55;
}

.section-lead {
  max-width: 760px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.hero .actions {
  margin-top: 24px;
}

.article-hero .actions {
  margin-top: 20px;
}

.article-hero .breadcrumb {
  margin-bottom: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--blue-500);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  text-align: center;
}

.button.outline {
  background: var(--white);
  border-color: var(--blue-700);
  color: var(--blue-900);
}

.button.soft {
  background: #e8f6f8;
  color: var(--blue-900);
}

.button.green {
  background: var(--green-500);
}

.article-narrow {
  max-width: 860px;
}

main section {
  padding: 72px 0;
}

.section-soft {
  background: var(--bg);
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

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

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

.card,
.info-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.card {
  padding: 26px;
}

.soft-outline-cards > .card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
}

.grid.five > .card {
  border: 0.5pt solid var(--green-500);
  box-shadow: none;
}

main section:not(.section-soft):not(.banner) .card,
main section:not(.section-soft):not(.banner) .info-panel,
main section:not(.section-soft):not(.banner) .specialty-list li,
main section:not(.section-soft):not(.banner) .gallery-grid figure,
main section:not(.section-soft):not(.banner) .faq-list details {
  background: var(--bg);
}

.card p,
.info-panel p {
  margin: 0;
  color: var(--muted);
}

.notice {
  margin: 24px 0 0;
  padding: 16px 18px;
  border-left: 4px solid var(--green-500);
  border-radius: 8px;
  background: #e8f6f8;
  color: var(--blue-900);
  font-weight: 700;
}

.notice-on-dark {
  max-width: 880px;
  background: rgba(255, 255, 255, 0.14);
  border-color: #bcecf0;
  color: var(--white);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: #e8f3fa;
  color: var(--blue-700);
  font-size: 1.35rem;
}

.grid.five > .card .icon {
  background-color: var(--blue-800);
  color: var(--bg);
}

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

.services-plus-card {
  position: relative;
  min-width: 0;
  padding: 28px 28px 24px;
  overflow: hidden;
  border: 1px solid rgba(23, 98, 143, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 38px rgba(13, 47, 79, 0.1);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.services-plus-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--blue-500);
}

.services-plus-card-practical::before {
  background: var(--green-500);
}

.services-plus-card-support::before {
  background: var(--blue-700);
}

.services-plus-card:hover {
  border-color: rgba(23, 98, 143, 0.28);
  box-shadow: 0 20px 44px rgba(13, 47, 79, 0.14);
  transform: translateY(-3px);
}

.services-plus-icon {
  position: relative;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(23, 98, 143, 0.16);
  border-radius: 12px;
  color: var(--blue-700);
  background: #e8f3fa;
}

.services-plus-icon-language {
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.services-plus-icon-clipboard {
  color: #257f70;
  background: #e8f6f3;
}

.services-plus-icon-clipboard .services-plus-icon-shape {
  position: relative;
  width: 22px;
  height: 28px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.services-plus-icon-clipboard .services-plus-icon-shape::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 6px;
  border: 2px solid currentColor;
  border-radius: 3px;
  background: #e8f6f3;
  transform: translateX(-50%);
}

.services-plus-icon-clipboard .services-plus-icon-shape::after {
  content: "";
  position: absolute;
  inset: 8px 4px 4px;
  background: repeating-linear-gradient(to bottom, currentColor 0 2px, transparent 2px 6px);
  opacity: 0.72;
}

.services-plus-icon-team {
  color: var(--blue-800);
  background: #eaf0f8;
}

.services-plus-icon-team .services-plus-icon-shape {
  position: relative;
  width: 12px;
  height: 12px;
  margin-top: -14px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: -15px 5px 0 -2px currentColor, 15px 5px 0 -2px currentColor;
}

.services-plus-icon-team .services-plus-icon-shape::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 50%;
  width: 16px;
  height: 13px;
  border-radius: 9px 9px 4px 4px;
  background: currentColor;
  box-shadow: -15px 4px 0 -2px currentColor, 15px 4px 0 -2px currentColor;
  transform: translateX(-50%);
}

.services-plus-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.services-plus-list li {
  position: relative;
  min-width: 0;
  padding: 13px 0 13px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--blue-900);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.services-plus-list li:first-child {
  padding-top: 4px;
}

.services-plus-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.services-plus-list li::before {
  content: "";
  position: absolute;
  top: 1.25em;
  left: 1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 4px rgba(47, 157, 135, 0.11);
}

.services-plus-list li:first-child::before {
  top: 0.68em;
}

.split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 44px;
  align-items: center;
}

.split img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.check-list,
.plain-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 28px;
}

.checklist-visit li:last-child {
  grid-column: 1 / -1;
}

.check-list li::before,
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--green-500);
}

.specialty-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.specialty-list li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--blue-900);
  font-weight: 700;
}

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

.analysis-card {
  display: grid;
  align-content: start;
  gap: 12px;
}

.analysis-card h3,
.analysis-card p {
  margin: 0;
}

.analysis-number {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #e8f3fa;
  color: var(--blue-700);
  font-weight: 900;
  line-height: 1;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--blue-900);
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.hours {
  display: grid;
  gap: 12px;
  margin: 0;
}

.hours div,
.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.hours dt,
.contact-row strong {
  color: var(--blue-900);
  font-weight: 800;
}

.hours dd {
  margin: 0;
  color: var(--muted);
  text-align: right;
}

.banner {
  background: var(--blue-900);
  color: var(--white);
}

.banner h2 {
  color: var(--white);
}

.banner p {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.media-card {
  overflow: hidden;
  padding: 0;
}

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media-card .card-body {
  padding: 22px;
}

.medical-domain-card {
  display: flex;
  flex-direction: column;
}

.medical-domains-masonry .medical-domain-card .plain-list li::before {
  top: 0.55em;
}

@media (min-width: 769px) {
  .medical-domains-masonry {
    display: block;
    column-count: 2;
    column-gap: 22px;
  }

  .medical-domains-masonry > .medical-domain-card {
    display: inline-flex;
    width: 100%;
    margin: 0 0 22px;
    break-inside: avoid;
    vertical-align: top;
  }
}

.medical-domain-card .actions {
  margin-top: auto;
  padding-top: 22px;
}

.appointment-form {
  display: grid;
  gap: 22px;
  max-width: 920px;
}

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

.form-field {
  display: grid;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label,
.form-field legend {
  color: var(--blue-900);
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #b9cbd8;
  border-radius: 8px;
  color: var(--text);
  background: #edf4fa;
  font: inherit;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field input[type="file"] {
  min-height: 0;
  padding: 10px;
}

.upload-field {
  align-items: start;
}

.form-field input.upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.upload-actions {
  display: flex;
  align-items: center;
}

.upload-trigger {
  width: auto;
  min-height: 46px;
}

.upload-feedback {
  min-height: 1.35em;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.upload-feedback.is-error {
  color: #8d151b;
}

.upload-selection {
  width: 100%;
  min-width: 0;
}

.upload-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.upload-file-list {
  display: grid;
  gap: 9px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.upload-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #c9d8e3;
  border-radius: 8px;
  background: #f7fbfe;
}

.upload-file-info {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.upload-file-name {
  overflow-wrap: anywhere;
  color: var(--blue-900);
  font-weight: 700;
}

.upload-file-size {
  color: var(--muted);
  font-size: 0.85rem;
}

.upload-remove {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid #d7a5a8;
  border-radius: 7px;
  background: #fff;
  color: #8d151b;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.upload-remove:hover,
.upload-remove:focus-visible {
  border-color: #b21d25;
  background: #fff1f1;
}

.form-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-status {
  display: none;
  margin: 0 0 24px;
  padding: 16px 18px;
  border-left: 4px solid var(--green-500);
  border-radius: 8px;
  background: #e8f6f8;
  color: var(--blue-900);
  font-weight: 700;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  border-left-color: #d71920;
  background: #fff1f1;
  color: #8d151b;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.whatsapp-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 140;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 10px 26px rgba(13, 47, 79, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.whatsapp-float:hover {
  box-shadow: 0 13px 30px rgba(13, 47, 79, 0.32);
  transform: translateY(-2px);
}

.whatsapp-float img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.content-stack > div {
  display: grid;
  align-content: start;
  gap: 22px;
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.reference-card {
  display: grid;
  min-height: 126px;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.reference-card img {
  width: 100%;
  height: 76px;
  object-fit: contain;
}

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

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-grid figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.94rem;
}

.contact-layout {
  display: grid;
  gap: 24px;
}

.contact-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.contact-info-actions {
  display: grid;
  gap: 18px;
  align-content: start;
}

.contact-box {
  padding: 30px;
}

.contact-box-title {
  margin: 0 0 18px;
  color: var(--blue-900);
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  line-height: 1.12;
}

.contact-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  align-items: start;
}

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

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 8px;
}

.contact-actions {
  justify-content: center;
  margin-top: 0;
}

.site-footer {
  padding: 46px 0 24px;
  background: #092942;
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 34px;
}

.site-footer img {
  width: 210px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
  font-size: 1.05rem;
}

.site-footer p,
.site-footer address {
  margin: 0;
  font-style: normal;
}

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

.footer-socials {
  margin-top: 22px;
}

.site-footer .footer-socials-title {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
}

.footer-socials-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
}

.footer-socials-links a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.footer-socials-links a:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.18);
}

.footer-socials-links a:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.footer-socials-links svg {
  display: block;
  width: 18px;
  height: 18px;
}

.copyright {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.92rem;
}

@media (max-width: 1080px) {
  .header-main {
    grid-template-columns: minmax(135px, 158px) minmax(0, 1fr) auto auto;
    gap: 10px;
  }

  .brand img {
    width: 175px;
  }

  .site-nav > a,
  .nav-parent {
    padding-inline: 6px;
    font-size: 0.78rem;
  }

  .header-cta {
    padding-inline: 12px;
    font-size: 0.76rem;
  }

  .appointment-cta {
    padding-inline: 10px;
    font-size: 0.73rem;
  }

}

@media (max-width: 820px) {
  .pre-header .container,
  .header-main.container {
    width: min(100% - 32px, 720px);
  }

  .header-main {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 66px;
    gap: 12px;
  }

  .brand img {
    width: min(205px, 58vw);
  }

  .nav-toggle {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    place-items: center;
  }

  .site-nav {
    grid-column: 1 / -1;
    display: none;
    max-height: calc(100vh - 150px);
    margin-bottom: 10px;
    overflow-y: auto;
    border: 1px solid #c9e8f6;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(6, 40, 73, 0.12);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav > a,
  .nav-parent {
    display: flex;
    width: 100%;
    min-height: 52px;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid #c9e8f6;
    border-radius: 0;
    color: #0a3566;
    background: #fff;
    font-size: 0.9rem;
    text-align: left;
  }

  .nav-item {
    display: block;
  }

  .submenu {
    position: static;
    min-width: 0;
    padding: 4px 10px 9px;
    border: 0;
    border-radius: 0;
    background: #edf7fc;
    box-shadow: none;
  }

  .submenu a {
    padding: 13px 30px;
    color: #0a3566;
    white-space: normal;
  }

  .has-submenu:hover .submenu,
  .has-submenu:focus-within .submenu {
    display: none;
  }

  .has-submenu.is-open .submenu {
    display: block;
  }

  .header-cta {
    display: none;
    grid-column: 1 / -1;
    min-height: 48px;
    margin-bottom: 10px;
    border-radius: 11px;
  }

  .site-nav.is-open ~ .header-cta {
    display: inline-flex;
  }

  .appointment-cta {
    display: none;
    grid-column: 1 / -1;
    min-height: 48px;
    margin-bottom: 10px;
    border-radius: 11px;
  }

  .site-nav.is-open ~ .appointment-cta {
    display: inline-flex;
  }

}

@media (max-width: 900px) {

  .hero:not(.article-hero),
  .hero.compact:not(.article-hero) {
    min-height: clamp(380px, 54svh, 520px);
  }

  .hero.article-hero {
    min-height: auto;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .grid.five,
  .analysis-grid,
  .split,
  .contact-main,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .specialty-list,
  .gallery-grid,
  .references-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-plus-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .services-plus-card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
  }

  .services-plus-icon {
    margin-bottom: 0;
  }
}

@media (max-width: 620px) {
  .hero-content {
    padding: 0;
  }

  main section {
    padding: 54px 0;
  }

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

  .specialty-list,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

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

  .form-field.full {
    grid-column: auto;
  }

  .upload-actions,
  .upload-trigger {
    width: 100%;
  }

  .upload-file-item {
    align-items: flex-start;
  }

  .upload-remove {
    min-height: 42px;
  }

  .whatsapp-float,
  .whatsapp-float img {
    width: 52px;
    height: 52px;
  }

  .services-plus-card {
    display: block;
    padding: 24px 22px 20px;
  }

  .services-plus-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 17px;
  }

  .services-plus-list li {
    padding-top: 11px;
    padding-bottom: 11px;
    font-size: 0.96rem;
  }

  .hours div,
  .contact-row {
    display: block;
  }

  .contact-row span {
    display: block;
    margin-top: 4px;
  }

  .hours dd {
    text-align: left;
    margin-top: 4px;
  }
}

@media (max-width: 768px) {
  .hero,
  .hero.compact,
  .hero.article-hero {
    min-height: auto;
    padding-top: 34px;
    padding-bottom: 42px;
  }

  .hero:not(.article-hero) h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 1.08;
  }

  .article-hero h1 {
    font-size: clamp(1.65rem, 7.4vw, 2.1rem);
    line-height: 1.1;
  }

  .hero:not(.article-hero) .lead,
  .article-hero .lead {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero .actions {
    gap: 12px;
    margin-top: 22px;
  }

  .article-hero .lead {
    margin-top: 14px;
    font-size: 0.96rem;
    line-height: 1.5;
  }

  .article-hero .actions {
    margin-top: 18px;
  }
}

@media (max-width: 560px) {
  body::before {
    height: 4px;
  }

  .pre-header .container {
    min-height: 39px;
    flex-direction: column;
    justify-content: center;
    gap: 1px;
    padding-top: 3px;
    padding-bottom: 3px;
  }

  .pre-header-parking {
    text-align: center;
  }

  .header-main {
    min-height: 64px;
  }

  .brand img {
    width: min(190px, 62vw);
  }

  .nav-toggle {
    width: 44px;
    height: 42px;
  }
}

@media (max-width: 480px) {
  .hero,
  .hero.compact,
  .hero.article-hero {
    padding-top: 28px;
    padding-bottom: 36px;
  }

  .hero.article-hero {
    padding-top: 24px;
    padding-bottom: 32px;
  }

  .hero h1 {
    overflow-wrap: anywhere;
  }
}

/* Accueil : hero éditorial validé */
.home-hero-split,
.page-hero-split {
  padding: 32px 0 40px;
  color: var(--text);
  background: var(--bg);
}

.home-hero-shell,
.page-hero-shell {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(24px, 2.4vw, 34px);
}

.home-hero-copy,
.page-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 18px 0;
}

.home-hero-copy h1,
.page-hero-copy h1 {
  max-width: 540px;
  color: var(--blue-900);
  font-size: clamp(2.1rem, 2.55vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.home-hero-copy .lead,
.page-hero-copy .lead {
  max-width: 560px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.home-hero-visual {
  display: grid;
  min-width: 0;
  min-height: 455px;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) minmax(145px, 23%);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(13, 47, 79, 0.12);
}

.home-hero-image {
  width: 100%;
  height: 100%;
  min-height: 455px;
  object-fit: cover;
  object-position: 52% center;
}

.page-hero-media {
  min-width: 0;
  min-height: 455px;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(13, 47, 79, 0.12);
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 455px;
  object-fit: cover;
  object-position: center;
}

.page-hero-copy .breadcrumb {
  margin-bottom: 12px;
  color: var(--muted);
}

.page-hero-copy .breadcrumb a {
  color: var(--blue-900);
}

.page-hero-article .page-hero-copy h1 {
  font-size: clamp(2rem, 2.35vw, 2.25rem);
}

.home-hero-specialties {
  display: grid;
  grid-template-rows: repeat(5, minmax(0, 1fr));
  color: var(--white);
  background: var(--blue-700);
}

.home-hero-specialties div {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: clamp(0.64rem, 0.78vw, 0.74rem);
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.home-hero-specialties div:nth-child(1) {
  background: #67b4dc;
}

.home-hero-specialties div:nth-child(2) {
  background: #159fd3;
}

.home-hero-specialties div:nth-child(3) {
  background: #1587c2;
}

.home-hero-specialties div:nth-child(4) {
  background: #126bad;
}

.home-hero-specialties div:nth-child(5) {
  border-bottom: 0;
  background: #0d417b;
}

@media (max-width: 1080px) and (min-width: 821px) {
  .home-hero-shell,
  .page-hero-shell {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
    gap: 24px;
  }

  .home-hero-copy h1,
  .page-hero-copy h1 {
    font-size: clamp(2rem, 3.25vw, 2.25rem);
  }

  .home-hero-visual {
    grid-template-columns: minmax(0, 1fr) minmax(128px, 26%);
  }
}

@media (max-width: 820px) {
  .home-hero-split,
  .page-hero-split {
    padding: 0 0 50px;
    background: var(--bg);
  }

  .home-hero-shell,
  .page-hero-shell {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 0;
  }

  .home-hero-copy,
  .page-hero-copy {
    position: relative;
    z-index: 2;
    order: 2;
    width: min(720px, calc(100% - 32px));
    margin: -38px auto 0;
    padding: 34px clamp(24px, 5vw, 38px) 30px;
    border: 1px solid rgba(13, 47, 79, 0.08);
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 16px 38px rgba(13, 47, 79, 0.13);
  }

  .home-hero-copy h1,
  .page-hero-copy h1,
  .page-hero-article .page-hero-copy h1 {
    max-width: 650px;
    font-size: clamp(2rem, 4.7vw, 2.25rem);
    line-height: 1.12;
    letter-spacing: 0;
  }

  .home-hero-copy .lead,
  .page-hero-copy .lead {
    max-width: 650px;
    margin-top: 20px;
  }

  .home-hero-copy .actions,
  .page-hero-copy .actions {
    display: grid;
    width: 100%;
    gap: 12px;
    margin-top: 24px;
  }

  .home-hero-copy .button,
  .page-hero-copy .button {
    width: 100%;
  }

  .home-hero-visual,
  .page-hero-media {
    order: 1;
    display: block;
    min-height: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .home-hero-image,
  .page-hero-media img {
    width: 100%;
    height: clamp(300px, 72vw, 430px);
    min-height: 0;
    object-position: 52% center;
  }

  .home-hero-specialties {
    display: none;
  }
}

@media (max-width: 430px) {
  .home-hero-copy,
  .page-hero-copy {
    width: calc(100% - 24px);
    margin-top: -36px;
    padding: 24px 20px 20px;
    border-radius: 16px;
  }

  .home-hero-copy h1,
  .page-hero-copy h1,
  .page-hero-article .page-hero-copy h1 {
    font-size: clamp(1.55rem, 6.8vw, 1.75rem);
    line-height: 1.08;
  }

  .home-hero-copy .lead,
  .page-hero-copy .lead {
    margin-top: 16px;
  }

  .home-hero-copy .actions,
  .page-hero-copy .actions {
    margin-top: 20px;
  }

  .home-hero-image,
  .page-hero-media img {
    height: clamp(240px, 64vw, 275px);
  }
}

/* Bilan biologique du sportif */
@media (min-width: 821px) {
  .proposal-sport-hero .page-hero-copy {
    padding-block: 24px;
  }
}

.proposal-sport-hero .page-hero-media img {
  object-position: center 38%;
}

.proposal-sport-hero-detail {
  max-width: 570px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.proposal-sport-reading {
  max-width: 900px;
}

.proposal-sport-reading h2 {
  max-width: 820px;
}

.proposal-sport-reading p:not(.eyebrow),
.proposal-sport-callout p:not(.eyebrow),
.proposal-sport-lab-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.proposal-sport-reading p + p,
.proposal-sport-callout p + p {
  margin-top: 14px;
}

.proposal-sport-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

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

.proposal-sport-card {
  position: relative;
  min-width: 0;
  padding: 28px 26px 26px;
  overflow: hidden;
  border: 1px solid rgba(23, 98, 143, 0.14);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(13, 47, 79, 0.09);
}

.proposal-sport-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--green-500), var(--blue-500));
}

.proposal-sport-card-number {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 10px;
  color: var(--blue-700);
  background: #e8f3fa;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.proposal-sport-card h3 {
  min-height: 2.5em;
  margin-bottom: 12px;
}

.proposal-sport-card p {
  margin: 0;
  color: var(--muted);
}

.proposal-sport-callout {
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(30px, 5vw, 52px);
  border: 1px solid rgba(47, 157, 135, 0.22);
  border-left: 5px solid var(--green-500);
  border-radius: 14px;
  background: var(--bg);
}

.proposal-sport-callout h2 {
  max-width: 700px;
}

.proposal-sport-lab-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: center;
  padding: clamp(30px, 5vw, 52px);
  border: 1px solid rgba(23, 98, 143, 0.14);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.proposal-sport-lab-panel h2 {
  max-width: 760px;
}

.proposal-sport-lab-panel p {
  max-width: 780px;
}

.proposal-sport-actions {
  display: grid;
  min-width: 210px;
  margin-top: 0;
}

@media (max-width: 1000px) {
  .proposal-sport-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proposal-sport-lab-panel {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .proposal-sport-actions {
    display: flex;
  }
}

@media (max-width: 820px) {
  .proposal-sport-hero .page-hero-media img {
    object-position: center 30%;
  }
}

@media (max-width: 700px) {
  .proposal-sport-grid {
    grid-template-columns: 1fr;
  }

  .proposal-sport-card h3 {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .proposal-sport-callout,
  .proposal-sport-lab-panel {
    padding: 26px 22px;
  }

  .proposal-sport-actions {
    display: grid;
    min-width: 0;
  }
}

/* La Goutte de Lait */
.goutte-lait-logo {
  width: 132px;
  height: 132px;
  margin: 0 0 24px;
  border-radius: 16px;
  object-fit: contain;
  box-shadow: 0 10px 28px rgba(13, 47, 79, 0.1);
}

.goutte-lait-hero .page-hero-media img {
  object-position: center;
}

.goutte-lait-content {
  background: var(--white);
}

.goutte-lait-reading {
  max-width: 900px;
}

.goutte-lait-reading > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.goutte-lait-reading > p + p {
  margin-top: 24px;
}

.goutte-lait-reading .goutte-lait-closing {
  margin-top: 34px;
  padding: 24px 28px;
  border-left: 4px solid var(--green-500);
  border-radius: 0 12px 12px 0;
  color: var(--blue-900);
  background: var(--bg);
  font-weight: 700;
}

@media (max-width: 820px) {
  .goutte-lait-logo {
    width: 112px;
    height: 112px;
    margin-bottom: 20px;
  }

  .goutte-lait-hero .page-hero-media img {
    object-position: center;
  }
}

@media (max-width: 430px) {
  .goutte-lait-logo {
    width: 88px;
    height: 88px;
    margin-bottom: 16px;
    border-radius: 12px;
  }

  .goutte-lait-reading > p {
    font-size: 1rem;
    line-height: 1.75;
  }

  .goutte-lait-reading .goutte-lait-closing {
    padding: 20px;
  }
}
