/* ==========================================================================
   Tandarts Linkhout — stylesheet
   Practice site for Tandarts Marianne Vandekerckhove (Linkhout – Lummen).
   Organised as: tokens → base → layout → hero → cards → contact → footer.
   ========================================================================== */

/* --- Design tokens ------------------------------------------------------- */
:root {
  --navy-900: #072138;
  --navy-800: #0A2B4B;
  --navy-700: #0B3158;
  --navy-600: #0F4275;
  --navy-text: #0D3B66;

  --ink: #16202E;
  --ink-soft: #2A3645;
  --ink-mute: #3A4757;
  --grey-600: #46566B;
  --grey-500: #5A6573;
  --grey-400: #6A7585;
  --grey-300: #8693A4;
  --grey-200: #9AA6B6;

  --paper: #F4F2EC;
  --line: #E0DBCF;
  --line-soft: #DCD7CB;

  --green: #1FA251;
  --green-dark: #1B8E47;
  --green-bright: #36C26E;

  --sky: #9FC2E6;
  --sky-soft: #CFE0F2;

  --amber: #F0B429;
  --amber-soft: #F6D79B;

  --radius-pill: 999px;
  --radius-lg: 18px;
  --maxw: 880px;
  --maxw-wide: 1180px;

  --font-head: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;
}

/* --- Base ---------------------------------------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2 { font-family: var(--font-head); }

.is-hidden { display: none !important; }

@keyframes floY {
  from { transform: translateY(-50%) translateY(-8px); }
  to   { transform: translateY(-50%) translateY(8px); }
}

/* --- Layout -------------------------------------------------------------- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: 26px;
}

.section-heading {
  font-weight: 600;
  font-size: 1.32rem;
  margin: 0;
  color: var(--navy-text);
}

.icon { flex: none; }

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(155deg, var(--navy-600) 0%, var(--navy-700) 55%, var(--navy-900) 100%);
}

.hero__watermark {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  height: clamp(190px, 30vw, 330px);
  width: auto;
  opacity: .6;
  pointer-events: none;
  animation: floY 7s ease-in-out infinite alternate;
}

/* Language bar */
.langbar {
  position: relative;
  direction: ltr;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 40px;
  max-width: var(--maxw-wide);
  margin: 0 auto;
  padding: 18px 26px 100px;
}

/* Globe toggle button */
.langbar__toggle {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: var(--sky);
  background: transparent;
  border: 1px solid rgba(159, 194, 230, .35);
  border-radius: var(--radius-pill);
  transition: background .15s, border-color .15s;
}

.langbar__toggle:hover { background: rgba(159, 194, 230, .14); }

.langbar.is-open .langbar__toggle {
  background: rgba(159, 194, 230, .18);
  border-color: rgba(159, 194, 230, .6);
}

.langbar__toggle .icon { margin: 0; }

/* Sliding panel that reveals the language options.
   Absolutely positioned and anchored to the left of the globe so the
   toggle never moves on the Y-axis while the options unfold. */
.langbar__panel {
  position: absolute;
  top: 22px;            /* aligns the first option row with the globe */
  right: 75px;          /* 26 padding + 40 toggle width + 9 gap */
  display: flex;
  overflow: hidden;
  max-width: 0;
  transition: max-width .45s cubic-bezier(.22, .61, .36, 1);
}

.langbar.is-open .langbar__panel { max-width: min(760px, calc(100vw - 110px)); }

.langbar__options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  padding-inline-start: 9px;
  transform: translateX(28px);
  opacity: 0;
  transition: transform .45s cubic-bezier(.22, .61, .36, 1), opacity .3s ease;
}

.langbar.is-open .langbar__options {
  transform: translateX(0);
  opacity: 1;
}

.langbar__options button {
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
  color: var(--sky);
  background: transparent;
  border: 1px solid rgba(159, 194, 230, .35);
  border-radius: var(--radius-pill);
  padding: 5px 13px;
  font-size: .86rem;
  transition: background .15s, color .15s, border-color .15s;
}

.langbar__options button:hover {
  background: rgba(159, 194, 230, .14);
  color: #fff;
}

.langbar__options button[aria-pressed="true"] {
  background: #fff;
  color: var(--navy-700);
  border-color: #fff;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .langbar__panel,
  .langbar__options { transition: none; }
}

/* Hero body */
.hero__body {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 26px 60px;
}

.hero__stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero__kicker-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 4px rgba(54, 194, 110, .22);
  flex: none;
}

.hero__kicker {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sky);
}

.hero__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
  letter-spacing: -.022em;
}

.hero__title-eyebrow {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1.05rem, 3vw, 1.5rem);
  letter-spacing: .01em;
  color: var(--sky-soft);
}

.hero__title-name {
  font-weight: 600;
  font-size: clamp(1.45rem, 6.2vw, 3.2rem);
  white-space: nowrap;
}

.hero__sub {
  margin: 0;
  font-size: 1.12rem;
  color: var(--sky-soft);
  max-width: 500px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.06rem;
  padding: 16px 26px;
  border-radius: var(--radius-pill);
}

.btn--primary {
  background: var(--green);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 26px -10px rgba(31, 162, 81, .7);
  transition: transform .15s, background .15s;
}

.btn--primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.btn--ghost {
  color: #fff;
  font-weight: 600;
  padding: 16px 24px;
  border: 1.5px solid rgba(255, 255, 255, .34);
  transition: background .15s;
}

.btn--ghost:hover { background: rgba(255, 255, 255, .12); }

/* Status banner (accepting / patient stop) */
.banner {
  background: var(--navy-800);
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.banner__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 26px;
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: .97rem;
}

.banner--open .banner__inner { color: #BFEFD2; }
.banner--open strong { color: #fff; font-weight: 600; }

.banner--stop .banner__inner { color: var(--amber-soft); }
.banner--stop strong { color: #FFE3A8; font-weight: 600; }

/* --- Main content -------------------------------------------------------- */
.main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px 26px 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 0;
}

.card__head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}

.card--online { padding: 42px 36px 38px 0; }

.card--phone {
  padding: 42px 0 38px 36px;
  border-inline-start: 1px solid var(--line);
}

.card__text {
  margin: 0 0 16px;
  color: var(--grey-600);
  font-size: 1.02rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-weight: 700;
  font-size: 1.02rem;
  border-bottom: 2px solid rgba(31, 162, 81, .3);
  padding-bottom: 2px;
  transition: border-color .15s;
}

.link-arrow:hover { border-bottom-color: var(--green); }

.note {
  margin: 20px 0 0;
  font-size: .92rem;
  color: var(--grey-400);
  border-inline-start: 2px solid var(--line-soft);
  padding-inline-start: 13px;
}

.note--plain {
  margin: 18px 0 0;
  border: 0;
  padding-inline-start: 0;
}

.phone-number {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--navy-text);
  letter-spacing: -.01em;
  margin-bottom: 14px;
}

.hours {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: .98rem;
  color: var(--grey-600);
}

.hours__row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.hours__spacer { width: 16px; flex: none; }

/* --- Contact ------------------------------------------------------------- */
.contact {
  border-top: 1px solid var(--line);
  padding: 40px 0 12px;
}

.contact h2 { margin: 0 0 22px; }

.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px 40px;
}

.contact__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact__address {
  font-size: 1.02rem;
  line-height: 1.5;
}

.contact__address strong { font-weight: 600; color: var(--ink); }
.contact__address span { color: var(--grey-500); }

.contact__address .link-arrow {
  border: 0;
  font-weight: 600;
  font-size: inherit;
  margin-top: 8px;
  gap: 6px;
}

.emails {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.email {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  color: var(--ink);
}

.email__label {
  color: var(--grey-300);
  font-size: .84rem;
  display: block;
}

.email__addr { font-weight: 500; }

.map {
  border: 0;
  display: block;
  width: 100%;
  height: 340px;
  border-radius: var(--radius-lg);
  margin-top: 28px;
  filter: saturate(.95);
}

/* --- Footer -------------------------------------------------------------- */
.footer {
  text-align: center;
  color: #9A968C;
  font-size: .82rem;
  padding: 34px 0 48px;
}

/* --- RTL ----------------------------------------------------------------- */
[dir="rtl"] .link-arrow svg { transform: scaleX(-1); }
