/* ==========================================================================
   Drainage Lymphatique Le Noirmont — v2
   Standalone stylesheet. No CSS framework, no icon font.
   Palette and pacing chosen for a calm, clinical-but-warm practice site.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Ink */
  --ink: #1c2b29;
  --ink-2: #3c514e;
  --ink-3: #6b7f7c;

  /* Ground */
  --bg: #faf8f4;
  --surface: #ffffff;
  --surface-2: #f0f4f2;
  --sand: #ece4d9;

  /* Accent — deep eucalyptus */
  --accent: #2e6f6a;
  --accent-deep: #1f4f4b;
  --accent-soft: #dbe9e5;
  --accent-wash: #eef4f2;

  /* Advisory */
  --warn-bg: #fbf0ec;
  --warn-line: #c0664c;
  --warn-ink: #8a4331;

  --line: #e2ded6;
  --line-strong: #cdc7bb;

  /* Type */
  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  --fs-hero: clamp(32px, 4.4vw + 14px, 64px);
  --fs-h1: clamp(27px, 2.6vw + 15px, 45px);
  --fs-h2: clamp(22px, 1.5vw + 16px, 32px);
  --fs-h3: clamp(19px, 0.7vw + 16px, 24px);
  --fs-body: clamp(16.5px, 0.35vw + 15.5px, 18.5px);
  --fs-sm: clamp(14.5px, 0.2vw + 14px, 15.5px);
  --fs-xs: 13.5px;

  /* Space */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;

  --section-y: clamp(52px, 7vw, 104px);
  --shell-x: clamp(20px, 5vw, 48px);
  --shell-max: 1180px;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 24px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(28, 43, 41, 0.05),
    0 2px 8px rgba(28, 43, 41, 0.04);
  --shadow: 0 2px 6px rgba(28, 43, 41, 0.06), 0 12px 32px rgba(28, 43, 41, 0.07);
  --shadow-lg: 0 4px 12px rgba(28, 43, 41, 0.08),
    0 24px 60px rgba(28, 43, 41, 0.11);

  --nav-h: 68px;
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* keeps anchor targets clear of the sticky header */
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 0.55em;
  letter-spacing: -0.01em;
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

p {
  margin: 0 0 1.15em;
}

ul {
  margin: 0 0 1.15em;
  padding-left: 1.2em;
}

li {
  margin-bottom: 0.4em;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */

.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--shell-x);
}

.shell--narrow {
  max-width: 860px;
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(36px, 5vw, 64px);
}

.section--wash {
  background: var(--accent-wash);
}

.section--surface {
  background: var(--surface);
}

.section--sand {
  background: var(--sand);
}

.prose {
  max-width: 68ch;
  color: var(--ink-2);
}

.prose p:last-child {
  margin-bottom: 0;
}

.lede {
  font-size: clamp(17.5px, 0.6vw + 16px, 21px);
  line-height: 1.6;
  color: var(--ink-2);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-3);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent-deep);
  color: #fff;
  padding: 14px 22px;
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 13px 26px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, transform 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-deep);
  color: #fff;
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--accent-deep);
  border-color: #fff;
}

.btn--outline {
  border-color: var(--accent);
  color: var(--accent-deep);
  background: transparent;
}

.btn--outline:hover {
  background: var(--accent);
  color: #fff;
}

/* --------------------------------------------------------------------------
   5. Site header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 248, 244, 0.9);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

/* The header carries six long French labels plus the brand, so it gets a
   wider shell than the body content. */
.site-header .shell {
  max-width: 1340px;
}

.site-header__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--s-4);
  min-height: var(--nav-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
  padding-block: 10px;
}

.brand__mark {
  flex: none;
  width: 34px;
  height: 34px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand__sub {
  font-size: 11.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav__link {
  position: relative;
  display: block;
  padding: 9px 10px;
  border-radius: var(--r-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.nav__link:hover {
  color: var(--accent-deep);
  background: var(--accent-wash);
}

.nav__link[aria-current="page"] {
  color: var(--accent-deep);
  font-weight: 600;
}

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.header__cta {
  flex: none;
  margin-left: var(--s-3);
  padding: 10px 18px;
  white-space: nowrap;
}

/* Only room for the phone button once the nav itself is comfortably placed */
@media (max-width: 1399px) {
  .header__cta {
    display: none;
  }
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  cursor: pointer;
  color: var(--ink);
}

.nav-toggle__bar {
  display: block;
  width: 19px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.18s ease;
}

.nav-toggle__bar + .nav-toggle__bar {
  margin-top: 5px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media (max-width: 1180px) {
  .nav-toggle {
    display: flex;
    flex-direction: column;
  }

  .nav {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: var(--s-3) var(--shell-x) var(--s-5);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;

    /* animate open/closed without leaving a focusable hidden menu */
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease,
      visibility 0s linear 0.2s;
  }

  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .nav__link {
    padding: 14px 12px;
    font-size: 16.5px;
    border-radius: var(--r-sm);
    border-bottom: 1px solid var(--line);
  }

  .nav__link:last-child {
    border-bottom: 0;
  }

  .nav__link[aria-current="page"] {
    background: var(--accent-wash);
  }

  .nav__link[aria-current="page"]::after {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   6. Hero (home)
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: clamp(420px, 74vh, 660px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--accent-deep);
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease-in-out;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to top,
      rgba(16, 34, 32, 0.82) 0%,
      rgba(16, 34, 32, 0.5) 38%,
      rgba(16, 34, 32, 0.18) 70%,
      rgba(16, 34, 32, 0.32) 100%
    );
}

.hero__body {
  position: relative;
  padding-block: clamp(40px, 7vw, 76px);
  color: #fff;
}

.hero__title {
  color: #fff;
  font-size: var(--fs-hero);
  margin: 0 0 var(--s-3);
  max-width: 16ch;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
}

.hero__sub {
  font-size: clamp(17px, 0.8vw + 15px, 23px);
  color: rgba(255, 255, 255, 0.93);
  margin: 0 0 var(--s-6);
  max-width: 34ch;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.3);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}

.hero__dots {
  display: flex;
  gap: 8px;
  margin-top: var(--s-6);
}

.hero__dot {
  width: 26px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.hero__dot[aria-selected="true"] {
  background: #fff;
}

/* --------------------------------------------------------------------------
   7. Page header (interior pages)
   -------------------------------------------------------------------------- */

.page-head {
  background: var(--accent-wash);
  border-bottom: 1px solid var(--accent-soft);
  padding-block: clamp(40px, 6vw, 88px);
}

.page-head__title {
  font-size: var(--fs-hero);
  margin: 0;
  max-width: 20ch;
}

.page-head__lede {
  margin: var(--s-4) 0 0;
  max-width: 60ch;
}

/* --------------------------------------------------------------------------
   8. Cards, chips, callouts
   -------------------------------------------------------------------------- */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(20px, 3vw, 34px);
  box-shadow: var(--shadow-sm);
}

.grid {
  display: grid;
  gap: clamp(16px, 2.5vw, 28px);
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}

/* Split layout: media beside text, stacks on narrow screens */
.split {
  display: grid;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 820px) {
  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .split--reverse .split__media {
    order: 2;
  }
}

.split__media img {
  width: 100%;
  border-radius: var(--r);
  box-shadow: var(--shadow);
}

/* Ticked list used for Indications */
.ticklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.ticklist li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--ink-2);
}

.ticklist li::before {
  content: "";
  flex: none;
  width: 15px;
  height: 9px;
  margin-top: -3px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* Barred list used for Contre-indications */
.barlist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

/* Flex rather than an absolutely-positioned marker: grid stretches every
   card to the tallest in the row, so a top-aligned label left short items
   floating above a marker pinned to the card's centre. */
.barlist li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--warn-bg);
  border: 1px solid rgba(192, 102, 76, 0.28);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--warn-ink);
  font-weight: 500;
}

.barlist li::before {
  content: "";
  flex: none;
  width: 13px;
  height: 2px;
  background: var(--warn-line);
  border-radius: 2px;
}

/* Zone chips on the Prestation page */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-6);
}

.chips li {
  margin: 0;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: var(--fs-sm);
  font-weight: 500;
}

/* Advisory callout */
.callout {
  display: flex;
  gap: var(--s-4);
  background: var(--warn-bg);
  border: 1px solid rgba(192, 102, 76, 0.3);
  border-left: 4px solid var(--warn-line);
  border-radius: var(--r-sm);
  padding: clamp(16px, 2.4vw, 24px);
}

.callout__icon {
  flex: none;
  width: 24px;
  height: 24px;
  color: var(--warn-line);
  margin-top: 2px;
}

.callout h3 {
  margin: 0 0 6px;
  font-size: var(--fs-h3);
  color: var(--warn-ink);
}

.callout p {
  margin: 0;
  color: var(--warn-ink);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. Certifications band
   -------------------------------------------------------------------------- */

.certs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(20px, 4vw, 44px);
  margin-bottom: var(--s-6);
}

.certs a {
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.certs a:hover {
  transform: translateY(-2px);
}

.certs img {
  height: clamp(46px, 7vw, 66px);
  width: auto;
}

.linklist {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-6);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.linklist li {
  margin: 0;
}

.linklist a {
  font-size: var(--fs-sm);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   10. Carousel (body parts on Prestation)
   -------------------------------------------------------------------------- */

.carousel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(16px, 2.5vw, 28px);
  box-shadow: var(--shadow-sm);
}

.carousel__viewport {
  position: relative;
  height: clamp(220px, 38vw, 340px);
}

.carousel__slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.carousel__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.carousel__slide img {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: var(--r-sm);
}

/* Caption lives inside its slide so it is present in the HTML even before
   (or without) JavaScript. */
.carousel__cap {
  flex: none;
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  color: var(--ink);
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--s-3);
}

.carousel__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line-strong);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.carousel__dot[aria-selected="true"] {
  background: var(--accent);
  transform: scale(1.25);
}

/* --------------------------------------------------------------------------
   11. Price card
   -------------------------------------------------------------------------- */

.price {
  display: grid;
  gap: var(--s-5);
  max-width: 560px;
}

.price__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-4);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--line);
}

.price__row:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.price__label {
  font-size: var(--fs-body);
  color: var(--ink-2);
}

.price__value {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.4vw + 16px, 40px);
  font-weight: 600;
  color: var(--accent-deep);
  white-space: nowrap;
}

.price__value--sm {
  font-size: clamp(20px, 1.2vw + 15px, 26px);
}

.price__note {
  font-size: var(--fs-sm);
  color: var(--ink-3);
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------------------------------
   12. Treatment timeline
   -------------------------------------------------------------------------- */

/* Suivi d'un traitement: hold the header + intro + warning to a full screen
   so the first clinical photo is always below the fold.
   lvh, not svh: lvh is the viewport at its tallest (mobile browser chrome
   collapsed), so the guarantee holds in every chrome state. Using svh would
   let the first photo creep into view once the address bar hides. */
.tl-above {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100lvh - var(--nav-h));
}

.tl-intro {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
}

.tl-intro > .shell {
  width: 100%;
}

/* Extra breathing room before the photographs begin */
.section--timeline {
  padding-top: clamp(40px, 8vw, 88px);
}

.timeline {
  position: relative;
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}

.tl-step {
  position: relative;
  padding-left: clamp(44px, 6vw, 68px);
}

/* the connecting rail */
.tl-step::before {
  content: "";
  position: absolute;
  left: clamp(15px, 2.1vw, 23px);
  top: 38px;
  bottom: calc(-1 * clamp(28px, 4vw, 48px));
  width: 2px;
  background: var(--accent-soft);
}

.tl-step:last-child::before {
  display: none;
}

.tl-step__num {
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(32px, 4.2vw, 48px);
  height: clamp(32px, 4.2vw, 48px);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(14px, 1.1vw + 10px, 19px);
  font-weight: 600;
  box-shadow: 0 0 0 6px var(--bg);
}

.tl-step__title {
  margin: 0 0 var(--s-4);
  font-size: var(--fs-h3);
  padding-top: 4px;
}

.tl-step__photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 260px));
  gap: var(--s-3);
}

.tl-step__photos img {
  width: 100%;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface-2);
}

/* --------------------------------------------------------------------------
   13. Contact
   -------------------------------------------------------------------------- */

.contact-card {
  display: grid;
  gap: var(--s-5);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--s-4);
}

.contact-list li {
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
  margin: 0;
}

.contact-list__icon {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--accent);
  margin-top: 3px;
}

.contact-list__label {
  display: block;
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 2px;
}

.contact-list__value {
  font-size: clamp(17px, 0.5vw + 16px, 20px);
  color: var(--ink);
  font-style: normal;
  line-height: 1.5;
}

.contact-list__value a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-soft);
}

.contact-list__value a:hover {
  color: var(--accent-deep);
  border-bottom-color: var(--accent);
}

.map {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16 / 10;
  background: var(--surface-2);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@supports not (aspect-ratio: 16 / 10) {
  .map {
    height: clamp(280px, 50vw, 520px);
  }
}

.notice-success {
  background: #e8f3ec;
  border: 1px solid #a9cdb7;
  border-left: 4px solid #3f7d55;
  border-radius: var(--r-sm);
  padding: var(--s-4) var(--s-5);
  margin-top: var(--s-5);
}

.notice-success h3 {
  margin: 0 0 4px;
  color: #2c5c3d;
  font-size: var(--fs-h3);
}

.notice-success p {
  margin: 0;
  color: #2c5c3d;
  font-size: var(--fs-sm);
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  flex-shrink: 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding-block: var(--s-8) var(--s-6);
  font-size: var(--fs-sm);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  gap: var(--s-7);
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 var(--s-3);
}

.footer__addr {
  font-style: normal;
  line-height: 1.8;
  margin: 0;
}

.footer__h {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 var(--s-4);
  font-weight: 600;
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer__list li {
  margin: 0;
}

.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--r-pill);
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.footer__social:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.4);
  text-decoration: none !important;
}

.footer__social img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}

.footer__bottom {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   15. Back to top
   -------------------------------------------------------------------------- */

.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 50;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: 0;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease,
    visibility 0s linear 0.22s, background-color 0.18s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

.to-top:hover {
  background: var(--accent-deep);
}

.to-top svg {
  width: 19px;
  height: 19px;
}

/* --------------------------------------------------------------------------
   16. Scroll reveal
   -------------------------------------------------------------------------- */

/* Only hide when JS is present to un-hide it (see the inline head script). */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
