/* =========================================================
   Dokterspraktijk De Haan — Design System
   Japandi · coastal · editorial
   ========================================================= */

:root {
  /* Palette */
  --bg:        #f5f1e8;
  --surface:   #ebe5d5;
  --surface-2: #e0d8c3;
  --white:     #fdfcf7;
  --ink:       #2a2825;
  --ink-soft:  #4a4844;
  --ink-mute:  #76726c;
  --line:      rgba(42, 40, 37, 0.14);
  --line-soft: rgba(42, 40, 37, 0.08);
  --accent:    #5b6e5d;   /* sage */
  --accent-d:  #44544a;
  --warm:      #a07b53;   /* sand/wood */

  /* Type */
  --font-display: 'Fraunces', 'Times New Roman', Georgia, serif;
  --font-body:    'Geist', system-ui, -apple-system, sans-serif;

  --text-xs:   0.75rem;     /* 12 */
  --text-sm:   0.875rem;    /* 14 */
  --text-base: 1rem;        /* 16 */
  --text-lg:   1.125rem;    /* 18 */
  --text-xl:   1.375rem;    /* 22 */
  --text-2xl:  1.75rem;     /* 28 */
  --text-3xl:  2.5rem;      /* 40 */
  --text-4xl:  3.5rem;      /* 56 */
  --text-5xl:  4.75rem;     /* 76 */
  --text-6xl:  6.5rem;      /* 104 */

  /* Space */
  --s-1:  0.25rem;
  --s-2:  0.5rem;
  --s-3:  0.75rem;
  --s-4:  1rem;
  --s-5:  1.5rem;
  --s-6:  2rem;
  --s-7:  3rem;
  --s-8:  4rem;
  --s-9:  6rem;
  --s-10: 8rem;
  --s-11: 12rem;

  --container: 1280px;
  --container-narrow: 920px;
}

/* ========== Reset ========== */

*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "ss02";
}

img, svg, video { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

ul, ol { list-style: none; }

/* ========== Typography ========== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variation-settings: "SOFT" 50, "WONK" 0, "opsz" 144;
}

.h-display {
  font-size: clamp(2.5rem, 7vw, var(--text-5xl));
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.h-display em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}

h1 { font-size: clamp(2rem, 5vw, var(--text-4xl)); }
h2 { font-size: clamp(1.75rem, 4vw, var(--text-3xl)); }
h3 { font-size: clamp(1.25rem, 2.5vw, var(--text-2xl)); }
h4 { font-size: var(--text-xl); }

p { line-height: 1.65; }

.lead {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

.eyebrow {
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: var(--ink-mute);
}

.num-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--accent);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  letter-spacing: -0.02em;
}

em.serif {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}

/* ========== Layout ========== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.container--narrow { max-width: var(--container-narrow); }

.section {
  padding-block: clamp(4rem, 10vw, 8rem);
}

.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.divider {
  height: 1px;
  background: var(--line);
  width: 100%;
}

/* ========== Header / Nav ========== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 241, 232, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variation-settings: "SOFT" 50, "opsz" 144;
  transition: opacity 0.2s ease;
}

.brand:hover { opacity: 0.75; }

.brand strong { font-weight: 500; }

.brand .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  transform: translateY(-3px);
}

.brand-logo {
  display: block;
  height: 44px;
  width: auto;
  max-width: 240px;
}

@media (max-width: 540px) {
  .brand-logo { height: 36px; }
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
  align-items: center;
}

.nav-links a {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  position: relative;
  padding-block: 0.25rem;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--ink); }

.nav-links a.active { color: var(--ink); }

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
}

.nav-cta {
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  transition: all 0.25s ease;
  letter-spacing: 0.01em;
}

.nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.nav-links a.btn-ghost:hover {
  color: var(--white);
}

.nav-toggle {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: relative;
  border-radius: 2px;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top: 7px; }

@media (min-width: 861px) {
  .nav-toggle { display: none; }
}

@media (max-width: 860px) {
  .nav { position: relative; }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: -1.25rem;
    right: -1.25rem;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg);
    padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(42, 40, 37, 0.08);
    gap: 0.25rem;
    z-index: 100;
    /* verborgen staat */
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s 0.22s;
  }

  .nav-links.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s;
  }

  .nav-links a { padding-block: 0.75rem; font-size: 1.0625rem; }
  .nav-links a.active::after { display: none; }
  .nav-links .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
    color: var(--white);
  }
}

/* ========== Hero ========== */

.hero {
  padding-block: clamp(2rem, 5vw, 4rem) clamp(2.5rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.4fr 1fr; }
}

.hero-pretitle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-pretitle .tag {
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 1.75rem;
  max-width: 16ch;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}

.hero-sub {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 42ch;
  margin-bottom: 2.25rem;
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-note {
  font-size: 0.8125rem;
  color: var(--ink-mute);
  margin-top: 0.75rem;
  max-width: 42ch;
  line-height: 1.5;
}

.loc-card {
  display: flex;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.loc-card__pin {
  color: var(--accent);
  flex-shrink: 0;
}

.loc-card__address {
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.35;
  min-width: 10rem;
}

.loc-card__address strong {
  display: block;
  font-weight: 500;
  color: var(--ink);
}

.loc-card__address span {
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.loc-card__nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.loc-nav-btn {
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.45rem 0.875rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.loc-nav-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.map-embed {
  aspect-ratio: 16/7;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
}

@media (max-width: 600px) {
  .map-embed { aspect-ratio: 4/3; }
}

.location-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.location-tags li {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--ink-soft);
  font-variation-settings: "SOFT" 80, "opsz" 144;
  padding: 0.4rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.location-tags li:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-photo {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16/9;
  position: relative;
}

@media (min-width: 900px) {
  .hero-photo {
    aspect-ratio: auto;
    align-self: stretch;
    min-height: 360px;
    max-height: 560px;
  }
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(42, 40, 37, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fdfcf7;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  pointer-events: none;
}

.hero-info {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  font-size: 0.9375rem;
}

@media (min-width: 540px) {
  .hero-info { grid-template-columns: repeat(2, 1fr); }
}

.hero-info dt {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.4rem;
}

.hero-info dd { color: var(--ink); line-height: 1.5; }
.hero-info a { color: var(--ink); border-bottom: 1px solid var(--line); }
.hero-info a:hover { color: var(--accent); border-color: var(--accent); }

/* ========== Buttons ========== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  font-size: 1rem;
  padding: 1.1rem 2rem;
}
.btn-accent:hover {
  background: var(--accent-d);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-arrow::after {
  content: "→";
  font-family: var(--font-body);
  font-size: 1.05em;
  transition: transform 0.25s ease;
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* ========== Section heads ========== */

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
  align-items: end;
}

@media (min-width: 840px) {
  .section-head { grid-template-columns: 1fr 1fr; }
}

.section-head h2 {
  font-size: clamp(2rem, 5vw, var(--text-3xl));
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.section-head h2 em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}

.section-head p {
  color: var(--ink-soft);
  max-width: 48ch;
  line-height: 1.6;
}

/* ========== Services ========== */

.services {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

.service {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.75rem;
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service:hover {
  border-color: rgba(91, 110, 93, 0.35);
  box-shadow: 0 4px 20px rgba(42, 40, 37, 0.07);
  transform: translateY(-2px);
}

.service { grid-column: span 2; }

.service:nth-child(4) { grid-column: 2 / 4; }
.service:nth-child(5) { grid-column: 4 / 6; }

.service__num,
.service__arrow { display: none; }

.service__body {
  max-width: none;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service__icon {
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
  opacity: 0.85;
}

.service__title {
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  font-weight: 400;
  font-variation-settings: "SOFT" 50, "opsz" 144;
}

.service__desc {
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  flex: 1;
}

.service__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
  font-size: 0.75rem;
  color: var(--ink-mute);
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.service__tags li {
  display: inline-flex;
  align-items: center;
}

.service__tags li:not(:last-child)::after {
  content: "·";
  margin-left: 0.6rem;
  color: var(--ink-mute);
}

@media (max-width: 860px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .service,
  .service:nth-child(4),
  .service:nth-child(5) { grid-column: span 1; }
}

@media (max-width: 480px) {
  .services { grid-template-columns: 1fr; gap: 0.875rem; }
}

/* ========== Two-column feature ========== */

.feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; }
  .feature--reverse > *:first-child { order: 2; }
}

.feature__image {
  aspect-ratio: 4 / 5;
  background: var(--surface);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature__image::after {
  content: attr(data-caption);
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.feature__text h2 { margin-bottom: 1.5rem; }
.feature__text p { color: var(--ink-soft); margin-bottom: 1rem; line-height: 1.65; }
.feature__text p:last-of-type { margin-bottom: 2rem; }

/* ========== Team ========== */

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

@media (min-width: 760px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
}

.team-card { }

.team-card__image {
  aspect-ratio: 3 / 4;
  background: var(--surface);
  margin-bottom: 1.25rem;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.team-card__image .placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.5rem;
  color: var(--accent);
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
}

.placeholder-note {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.team-card h3 {
  font-size: var(--text-2xl);
  margin-bottom: 0.25rem;
}

.team-card .role {
  font-size: var(--text-sm);
  color: var(--ink-mute);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.team-card p { color: var(--ink-soft); line-height: 1.65; }

/* ========== Info / Contact strip ========== */

.info-strip {
  background: var(--ink);
  color: var(--bg);
}

.info-strip a { color: var(--bg); }
.info-strip a:hover { color: #c7d4c2; }

.info-strip .container { padding-block: clamp(3rem, 6vw, 5rem); }

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 700px) {
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .info-grid { grid-template-columns: repeat(4, 1fr); }
}

.info-block dt {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.6);
  margin-bottom: 0.6rem;
}

.info-block dd {
  font-size: 1.0625rem;
  line-height: 1.5;
}

.info-block dd a { border-bottom: 1px solid rgba(245, 241, 232, 0.3); }

/* ========== Practical (hours/tariffs) ========== */

.hours-list {
  border-top: 1px solid var(--line);
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.hours-list li .day {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-variation-settings: "SOFT" 50, "opsz" 144;
}

.hours-list li .time {
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.hours-list li.closed .time { color: var(--ink-mute); font-style: italic; }

.notice {
  border: 1px solid var(--accent);
  background: rgba(91, 110, 93, 0.06);
  padding: 1.5rem 1.75rem;
  border-radius: 4px;
  margin-block: 2rem;
}

.notice h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--accent-d);
}

.notice p { color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.6; }
.notice strong { color: var(--ink); font-weight: 500; }

/* ========== FAQ ========== */

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
}

.faq summary {
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-variation-settings: "SOFT" 50, "opsz" 144;
  transition: color 0.2s ease;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.25s ease;
  font-weight: 300;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq details[open] summary { color: var(--accent); }

.faq .answer {
  padding-top: 1rem;
  color: var(--ink-soft);
  max-width: 70ch;
  line-height: 1.65;
}

/* ========== Contact ========== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1.1fr 1fr; }
}

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.contact-form label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 0.875rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form textarea { min-height: 8rem; resize: vertical; line-height: 1.5; }

.contact-info dl { display: grid; gap: 1.5rem; }
.contact-info dt {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.4rem;
}
.contact-info dd { font-size: 1.0625rem; line-height: 1.5; }
.contact-info dd a { border-bottom: 1px solid var(--line); }
.contact-info dd a:hover { color: var(--accent); border-color: var(--accent); }

.map-wrap {
  aspect-ratio: 16 / 10;
  background: var(--surface);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 2rem;
}

.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ========== Page header ========== */

.page-header {
  padding-block: clamp(2rem, 5vw, 4rem) clamp(1.75rem, 3.5vw, 3rem);
  border-bottom: 1px solid var(--line);
}

.page-header .eyebrow { margin-bottom: 1.25rem; }

.page-header h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  max-width: 18ch;
  margin-bottom: 1.5rem;
}

.page-header h1 em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}

.page-header .lead { max-width: 60ch; }

/* ========== Footer ========== */

.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 5vw, 4rem) 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.15;
  font-variation-settings: "SOFT" 50, "opsz" 144;
  margin-bottom: 1rem;
  max-width: 24ch;
}

.footer-brand em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--ink-mute);
  max-width: 32ch;
}

.footer-col h5 {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col li {
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.footer-col li a {
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.footer-col li a:hover { color: var(--accent); }
.footer-col li a[href^="tel:"] { color: var(--accent); }
.footer-col li a[href^="tel:"]:hover { color: var(--accent-d); }

.footer-legal {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--ink-mute);
}

.footer-legal a { border-bottom: 1px solid var(--line); }
.footer-legal a:hover { color: var(--accent); border-color: var(--accent); }

/* ========== Misc ========== */

.kicker {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--accent);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  margin-bottom: 0.5rem;
}

.text-block {
  max-width: 65ch;
}

.text-block p { color: var(--ink-soft); margin-bottom: 1.25rem; line-height: 1.7; }
.text-block p:last-child { margin-bottom: 0; }
.text-block h2, .text-block h3 { margin-top: 2.5rem; margin-bottom: 1rem; }
.text-block h2:first-child, .text-block h3:first-child { margin-top: 0; }
.text-block ul {
  list-style: none;
  margin-bottom: 1.25rem;
  padding-left: 0;
}
.text-block ul li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.text-block ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Accessibility */
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ========== Mobile action bar ========== */

.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 0.5rem 0.5rem;
  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
  grid-template-columns: repeat(4, 1fr);
  gap: 0.25rem;
  box-shadow: 0 -4px 20px rgba(42, 40, 37, 0.1);
}

@media (max-width: 859px) {
  .mobile-bar { display: grid; }
  body { padding-bottom: 5.5rem; }
}

.mobile-bar__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.6rem 0.25rem;
  border-radius: 10px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  transition: background 0.15s ease, color 0.15s ease;
  text-align: center;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}

.mobile-bar__btn:hover,
.mobile-bar__btn:active {
  background: var(--surface);
  color: var(--ink);
}

.mobile-bar__btn--primary {
  background: var(--accent);
  color: var(--white) !important;
}

.mobile-bar__btn--primary:hover,
.mobile-bar__btn--primary:active {
  background: var(--accent-d);
  color: var(--white) !important;
}

/* ========== Announcement bar (countdown) ========== */

.announcement-bar {
  background: var(--accent);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.55rem 3rem 0.55rem 1rem;
  position: relative;
  text-align: center;
}

.announcement-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.announcement-bar__text strong {
  font-weight: 600;
}

.announcement-bar__cd {
  opacity: 0.9;
}

.announcement-bar__close {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  transition: color 0.15s ease, background 0.15s ease;
}

.announcement-bar__close:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 540px) {
  .announcement-bar__cd { display: none; }
}

/* ========== Form success ========== */

.form-success {
  padding: 1.5rem;
  background: rgba(91, 110, 93, 0.08);
  border: 1px solid rgba(91, 110, 93, 0.25);
  border-radius: 10px;
  color: var(--accent-d, #3d4f3f);
  line-height: 1.6;
}

/* ========== Booking modal ========== */

.booking-modal {
  border: none;
  border-radius: 16px;
  padding: 2rem;
  width: min(90vw, 28rem);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(42, 40, 37, 0.22);
  background: var(--white);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}

.booking-modal::backdrop {
  background: rgba(42, 40, 37, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.booking-modal[open] {
  animation: modal-in 0.28s cubic-bezier(0.34, 1.26, 0.64, 1) both;
}

@keyframes modal-in {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 12px)) scale(0.97); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.booking-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.375rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-mute);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}

.booking-modal__close:hover {
  background: var(--surface);
  color: var(--ink);
}

.booking-modal__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 50, "opsz" 144;
  margin: 0.75rem 0 1rem;
}

.booking-modal__body {
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

.booking-modal__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Print */
@media print {
  .site-header, .site-footer, .nav-cta { display: none; }
}

/* Subtle reveal on load */
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal { animation: rise 0.7s ease both; }
.reveal:nth-child(2) { animation-delay: 0.08s; }
.reveal:nth-child(3) { animation-delay: 0.16s; }
.reveal:nth-child(4) { animation-delay: 0.24s; }
.reveal:nth-child(5) { animation-delay: 0.32s; }
