:root {
  --green: #4d7c3c;
  --light-green: #8ec17b;
  --ink: #212121;
  --muted: #54595f;
  --surface: #f4f4f4;
  --border: #dce7d8;
  --beige: #eadbc4;
  --paper: #ffffff;
}
body { background: var(--paper); }
.header { background: var(--paper); }
.top { min-height: 5.1rem; }
main { padding-top: 1.6rem; }
.button.outline { background: transparent; }
a:not(.button):hover { text-decoration-thickness: 2px; }
.page-head { padding-block: clamp(2.3rem, 6vw, 5rem) 2rem; }
.hero.secondary { margin-bottom: 1.2rem; }
.tile { background: #f5f8f3; }
.tile h3, .picture-card h3 { font: 400 1.35rem/1.25 var(--serif); }
.page-head + .grid { margin-bottom: 1.25rem; }
.urgency-band {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  column-gap: 2rem;
  padding: 1rem clamp(1rem,3vw,2rem);
  background: var(--beige);
  border: 1px solid #ceba9c;
  border-radius: .6rem;
}
.urgency-band h2 { grid-column: 1; font: 700 clamp(1.08rem, 1.9vw, 1.43rem)/1.25 Arial, sans-serif; letter-spacing: normal; }
.urgency-band p { font-size: .94rem; color: var(--ink); margin-top: .22rem; }
.urgency-band > a { grid-column: 2; grid-row: 1 / span 2; width: fit-content; padding: .55rem 1.1rem; border-radius: .5rem; background: #34582e; color: white; white-space: nowrap; font-weight: 700; font-size: clamp(1.25rem,2.35vw,1.55rem); text-decoration: none; }
.urgency-band > a:hover { background: #253e2a; }
.home-hero { margin-top: 1rem; }
.home-hero > img { object-position: center 58%; }
.home-hero h1 { font-size: clamp(2.6rem,4.7vw,4.35rem); }
.home-hero-copy .open-seven { width: fit-content; margin: 0 0 .9rem; padding: .35rem .65rem; background: var(--beige); color: #253e2a; text-transform: uppercase; font-size: .92rem; font-weight: 700; border-radius: .3rem; }
.home-hero .actions { align-items: center; }
.hero-map { font-weight: 700; margin-inline-start: .45rem; }
.home-paths { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; padding: 2rem clamp(0rem,3vw,2rem); }
.home-paths a { padding-top: .8rem; border-top: 1px solid var(--border); text-decoration: none; display: grid; color: var(--ink); gap: .25rem; }
.home-paths a:hover strong { text-decoration: underline; }
.home-paths strong { font: 400 1.45rem/1.2 var(--serif); }
.home-paths span { color: var(--muted); font-size: .9rem; }
.home-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.3rem,5vw,4.4rem); background: #f7f4ed; padding: clamp(1.2rem,4vw,3rem); border-radius: .9rem; }
.home-intro p { margin-top: .9rem; }
.home-intro img { width: 100%; aspect-ratio: 1.5; object-fit: cover; border-radius: .3rem; }
.services-block, .gallery-block { padding-block: clamp(2rem,5vw,3.65rem); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: .85rem 1.2rem; margin-bottom: 1.2rem; }
.section-heading p { margin-top: .45rem; }
.service-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: .8rem 1.15rem; }
.service-list li { display: grid; align-content: start; justify-items: center; text-align: center; gap: .55rem; padding: 1rem .25rem; border: 1px solid var(--border); border-radius: .6rem; background: #f5f8f3; font-weight: 700; font-size: .92rem; }
/* The original 150 px icons include wide margins around the artwork. */
.service-list img, .import-tiles img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: none;
  mix-blend-mode: multiply;
}
.gallery-block { border-top: 1px solid var(--border); padding-top: 2rem; }
.clinic-gallery { display: grid; grid-template-columns: 1fr 1.8fr 1fr; grid-template-rows: repeat(2,clamp(7rem,14vw,13rem)); gap: .75rem; margin-top: 1.3rem; }
.clinic-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: .3rem; }
.clinic-gallery img:nth-child(3) { grid-column: 2; grid-row: 1 / span 2; }
.teams-band { background: #f7f4ed; border-radius: .9rem; padding: clamp(1rem,4vw,2.6rem); }
.team-showcase + .team-showcase { margin-top: 1.7rem; padding-top: 1.7rem; border-top: 1px solid var(--border); }
.carousel-controls { display: flex; gap: .5rem; }
.carousel-controls button { appearance: none; background: var(--paper); border: 1px solid var(--border); border-radius: 50%; width: 2.7rem; height: 2.7rem; font: 1.9rem/1 var(--serif); color: var(--green); cursor: pointer; }
.carousel-controls button:disabled { opacity: .45; cursor: default; }
.carousel-controls { flex-wrap: wrap; justify-content: flex-end; }
.carousel-controls .carousel-pause { width: auto; padding-inline: .65rem; border-radius: .35rem; font: 700 .84rem Arial, sans-serif; }

.portrait-list { padding: 0 0 .45rem; margin: 0; display: flex; list-style: none; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.portrait-list li { flex: 0 0 calc((100% - 2rem)/3); min-width: 0; scroll-snap-align: start; display: grid; justify-items: center; }
.portrait-list img { width: min(100%,14rem); height: auto; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.referral-section { margin-top: 2rem; background: #005221; color: #fff; border-radius: .9rem; padding: clamp(1.25rem,4vw,3rem); display: grid; grid-template-columns: 1.45fr 1fr; gap: 1.5rem; align-items: center; }
.referral-section p { margin-top: .65rem; color: #fff; }
.referral-section .button { background: var(--beige); border-color: var(--beige); color: #253e2a; }
.referral-section .button.outline { background: transparent; color: white; }
.referral-section .button:focus-visible { outline-color: white; }
.referral-section .actions { margin: 0; justify-content: flex-end; }
.home-visit { display: flex; justify-content: space-between; gap: 1rem; align-items: center; border-top: 1px solid var(--border); margin-top: 2rem; padding-block: 1.2rem; }
.home-visit p { margin-top: .45rem; }
@media (max-width: 58rem) {
  .service-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 46rem) {
  main { padding-top: .75rem; }
  .urgency-band, .home-intro, .referral-section { grid-template-columns: 1fr; }
  .urgency-band { gap: .3rem; }
  .urgency-band > a { grid-column: 1; grid-row: 2; }
  .home-paths { grid-template-columns: 1fr; gap: .7rem; padding-block: 1rem 1.5rem; }
  .home-paths span { font-size: .875rem; }
  .section-heading { align-items: start; }
  .clinic-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: .4rem; }
  .clinic-gallery img { aspect-ratio: 1.35; }
  .clinic-gallery img:nth-child(3) { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 1.75; }
  .portrait-list li { flex-basis: calc((100% - 1rem)/2); }
  .referral-section .actions { justify-content: flex-start; }
  .home-visit { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 26rem) {
  .service-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

.import-back {
  margin: .35rem 0 1rem;
  font-weight: 700;
}
.import-hero > img.import-cover {
  max-height: 29rem;
  object-fit: cover;
}
.import-heading { margin-block: 1.65rem .8rem; }
.page-head.import-heading { margin-top: 0; }
.import-flow {
  max-width: 56rem;
  margin: 1.5rem auto;
  padding: clamp(1.1rem, 4vw, 2.5rem);
  border: 1px solid var(--border);
  border-radius: .85rem;
  background: #f8f6f1;
  overflow-wrap: anywhere;
}
.import-flow > * + *, .import-section > * + * { margin-top: 1rem; }
.import-flow :is(p, ul, ol) + :is(p, ul, ol) { margin-top: .7rem; }
.import-flow h2 { font-size: clamp(1.55rem, 3.2vw, 2.5rem); }
.import-flow h3 { margin-block: .75rem .45rem; }
.import-section + .import-section { padding-top: 1.5rem; border-top: 1px solid var(--border); }
.import-flow figure { margin-inline: 0; }
.import-flow figure img { margin-inline: auto; max-height: 29rem; width: auto; object-fit: contain; border-radius: .55rem; }
.import-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: .8rem;
}
.import-flow details + details { margin-top: .65rem; }
.import-flow summary { cursor: pointer; color: var(--green); font-weight: 700; }
.import-flow details[open] summary { margin-bottom: .65rem; }
.import-flow .button { margin: .7rem .5rem .15rem 0; }
.import-card { display: flex; flex-direction: column; align-items: flex-start; }
.import-card > div { display: flex; flex-direction: column; width: 100%; flex: 1; align-items: flex-start; }
.import-card .button { align-self: flex-start; margin-top: auto; }
.import-card h3 { margin-bottom: .75rem; }
.import-card p { margin-bottom: .8rem; }
.import-card img, .import-docs img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.import-docs ul { padding-left: 1.2rem; margin-bottom: 0; }
.import-docs li + li { margin-top: .35rem; }
.import-tiles img { margin-bottom: .65rem; }
[data-page="sites"] .picture-card .button { display: flex; width: fit-content; margin-top: .7rem; }

@media (max-width: 46rem) {
  .import-hero > img.import-cover { max-height: 23rem; }
}

.section-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(16rem, 25vw, 20rem);
  border-radius: .9rem;
  overflow: hidden;
  background: #005221;
  color: white;
}
.section-hero-copy { align-self: center; padding: clamp(1.4rem, 4vw, 3.2rem); }
.section-hero h1 { text-wrap: pretty; }
.section-hero p { color: #edf4e9; max-width: 39ch; margin-top: .85rem; }
.section-hero > img {
  width: 100%;
  height: 0;
  min-height: 100%;
  object-fit: cover;
  object-position: center 43%;
}
[data-page="equipe"] .teams-band { display: grid; gap: 1rem; background: none; padding: 0; margin-top: 1rem; }
[data-page="equipe"] .team-showcase {
  min-width: 0;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-top: .25rem solid var(--green);
  border-radius: .85rem;
  background: #edf5e9;
}
[data-page="equipe"] .team-showcase + .team-showcase { margin: 0; background: #f7f1e7; }
[data-page="equipe"] .team-showcase h2 { color: #204d2d; }
[data-page="equipe"] .team-showcase .section-heading { margin-bottom: .65rem; }
[data-page="equipe"] .portrait-list img { width: min(100%, 18rem); }

@media (max-width: 46rem) {
  .section-hero { grid-template-columns: 1fr; min-height: 0; }
  .section-hero > img { height: clamp(10rem, 48vw, 14rem); min-height: 0; }
}

.section-panel {
  margin-top: clamp(1.65rem, 3vw, 2.5rem);
}
.section-panel.secondary-panel {
  background: #f7f4ed;
  border-radius: .9rem;
  padding: clamp(1rem, 3.2vw, 2.35rem);
}
.section-panel h2 { margin-bottom: 1rem; }
.section-panel .tile { overflow-wrap: anywhere; }
.section-panel.secondary-panel .tile { background: var(--paper); }
.section-panel .tile h3 { margin-bottom: .65rem; }
.section-panel .tile p + p { margin-top: .6rem; }
.section-panel .tile a { display: table; }
.section-panel .tile p > a { display: inline; }
.contact-links { display: flex; flex-wrap: wrap; gap: .7rem 1.35rem; padding: 1.3rem .2rem; }
.locations-grid { margin-top: 1rem; }
.locations-grid .picture-card h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }

@media (max-width: 46rem) {
  .section-panel .grid, .locations-grid { grid-template-columns: 1fr; }
}
