/* ════════════════════════════════════════════════════════════════════
   Montreal Dermatology Symposium — design system
   Navy institutional · ice tints · gold: hero hairline + deadline accents
   ════════════════════════════════════════════════════════════════════ */

:root {
  --navy: #0d2b5c;
  --navy-2: #173e73;
  --navy-deep: #092247;
  --sky: #7eb6e8;
  /* Same blue, darkened enough to carry small text on white. */
  --sky-deep: #3f76b8;
  --ice: #eaf2fb;
  --ink: #172033;
  --muted: #637083;
  --line: #dfe6ef;
  --bg: #f5f8fc;
  --white: #ffffff;
  --gold: #c7a44b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px rgba(13, 43, 92, 0.12);
  --shadow-sm: 0 8px 20px rgba(13, 43, 92, 0.06);
  --container: 1100px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ── Base ────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% -4%, rgba(126, 182, 232, 0.18), transparent 34%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* Sticky footer: fill the viewport so short pages (contact, sponsors)
     don't leave a gap of raw background below the footer. */
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

img, svg { max-width: 100%; display: block; }

[hidden] { display: none !important; }

a { color: var(--navy-2); }

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.section { padding: 72px 0; }
.section-tight { padding: 44px 0; }

/* Alternating surface: the quiet way to separate homepage sections. */
.section-alt {
  background: var(--white);
  border-block: 1px solid var(--line);
}

/* Shared section opener: eyebrow, heading, one line of context. */
.section-head { max-width: 640px; margin: 0 0 32px; }

.section-head .lede { margin-bottom: 0; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--sky-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* The poster's rule-after-label detail. */
.section-eyebrow::after {
  content: "";
  width: 56px;
  height: 1px;
  background: currentColor;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 0;
}

h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.lede {
  max-width: 640px;
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 8px;
}

/* ── Header / nav ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.brand-name { font-size: 15px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-links a:hover { background: var(--ice); color: var(--navy); }

.nav-links a.active { background: var(--navy); color: var(--white); }

/* Register: the one nav item that reads as a button. */
.nav-links a.nav-register {
  background: var(--navy);
  color: var(--white);
  padding: 8px 16px;
}

.nav-links a.nav-register:hover { background: var(--navy-deep); color: var(--white); }

.nav-links a.nav-register.btn-soon {
  background: var(--ice);
  color: var(--navy-2);
  cursor: default;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 26px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.btn-lg { padding: 16px 34px; font-size: 16px; }

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-ghost {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
}

.btn-ghost:hover { border-color: var(--sky); transform: translateY(-2px); }

.btn-invert { background: var(--white); color: var(--navy); }

.btn-invert:hover { background: var(--ice); transform: translateY(-2px); }

.btn-soon {
  cursor: default;
  opacity: 0.92;
  background: var(--ice);
  color: var(--navy-2);
  border-color: var(--line);
  box-shadow: none;
}

.btn-soon:hover { transform: none; background: var(--ice); box-shadow: none; }

.btn-outline-invert {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline-invert:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.cta-noscript { color: var(--muted); font-size: 15px; }

/* Early-bird price note, shown under Register until the deadline. */
.early-bird {
  margin: 16px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-2);
}

.early-bird-invert { color: var(--ice); }

/* ── Hero (home) ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 84px 0 0;
  text-align: center;
  overflow: hidden;
}

.hero .container { position: relative; z-index: 1; padding-bottom: 96px; }

.eyebrow {
  display: inline-block;
  color: var(--navy-2);
  background: var(--ice);
  border: 1px solid #d6e5f5;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wordmark {
  margin: 26px 0 14px;
  display: grid;
  gap: 2px;
  line-height: 1;
  color: var(--navy);
  text-transform: uppercase;
}

.wm-top {
  font-size: clamp(15px, 2.4vw, 21px);
  font-weight: 600;
  letter-spacing: 0.42em;
  text-indent: 0.42em; /* optically recenters tracked caps */
  color: var(--navy-2);
}

.wm-mid {
  font-size: clamp(42px, 8.6vw, 92px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.wm-bot {
  font-size: clamp(22px, 4.6vw, 46px);
  font-weight: 300;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
}

.theme-line {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  padding-top: 16px;
  color: var(--muted);
  font-size: clamp(16px, 2.4vw, 19px);
}

.theme-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 2px;
  background: var(--gold);
}

/* Poster echo: tracked blue caps between the wordmark and the theme. */
.tagline {
  margin: 14px 0 0;
  color: var(--sky-deep);
  font-size: clamp(14px, 2.2vw, 18px);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-transform: uppercase;
}

.hero-blurb {
  max-width: 520px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 16px;
}

/* Poster echo: the dot field in the upper corner. */
.dot-field {
  position: absolute;
  top: 40px;
  right: 4%;
  width: 190px;
  height: 130px;
  background-image: radial-gradient(var(--sky) 1.6px, transparent 1.6px);
  background-size: 15px 15px;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(200deg, #000 20%, transparent 78%);
  mask-image: linear-gradient(200deg, #000 20%, transparent 78%);
  pointer-events: none;
}

/* Poster echo: hairline contour lines at the lower left. */
.hair-wave {
  position: absolute;
  left: 0;
  bottom: 90px;
  width: min(340px, 32vw);
  height: 200px;
  fill: none;
  stroke: var(--sky);
  stroke-width: 1.2;
  opacity: 0.45;
  pointer-events: none;
}

/* ── Action tiles (homepage hub) ─────────────────────────────────── */
.action-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
  text-align: left;
}

.tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  color: var(--navy);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tile:hover,
.tile:focus-visible {
  transform: translateY(-3px);
  border-color: var(--sky);
  box-shadow: var(--shadow);
}

.tile-icon {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ice);
  color: var(--navy);
}

.tile-text { display: grid; gap: 3px; min-width: 0; }

.tile-title { font-size: 17px; font-weight: 800; letter-spacing: -0.015em; }

.tile-sub { color: var(--muted); font-size: 13.5px; font-weight: 600; }

/* Registration is the one tile that fills. */
.tile-primary {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.tile-primary:hover, .tile-primary:focus-visible { border-color: var(--navy-deep); }

.tile-primary .tile-icon { background: rgba(255, 255, 255, 0.14); color: var(--white); }

.tile-primary .tile-sub { color: var(--sky); }

.event-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 650;
  font-size: 14px;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.pill .icon { color: var(--sky); flex-shrink: 0; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.hero-note { margin-top: 18px; color: var(--muted); font-size: 14px; }

/* Signature: dermal wave (layered skin-strata motif from the poster) */
.dermal-wave {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 120px;
  pointer-events: none;
}

/* ── At a glance: the poster's navy fact panel ───────────────────── */
.glance-wrap { margin-top: -56px; position: relative; z-index: 2; }

.fact-panel {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 30px clamp(20px, 4vw, 40px);
}

.fact-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* Hairline dividers between facts, exactly as the poster stacks them. */
.fact-row li + li { border-left: 1px solid rgba(255, 255, 255, 0.18); }

.fact-icon { display: block; color: var(--sky); margin: 0 auto 10px; width: 24px; }

.fact-icon .icon { width: 24px; height: 24px; }

.fact-label {
  display: block;
  color: var(--sky);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.fact-value {
  display: block;
  margin-top: 4px;
  font-size: 15.5px;
  font-weight: 650;
  line-height: 1.45;
}

.countdown-inner {
  text-align: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.countdown-title {
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ice);
}

.countdown {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 6vw, 56px);
}

.count-cell { display: grid; gap: 2px; }

.count-num {
  font-size: clamp(34px, 6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.count-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sky);
}

.countdown-msg { margin: 0; font-size: 20px; font-weight: 700; }

/* ── Cards & grids ───────────────────────────────────────────────── */
.card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.info-card { text-align: left; }

.info-card .icon-badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--ice);
  color: var(--navy);
  margin-bottom: 16px;
}

.info-card h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 18px;
  letter-spacing: -0.015em;
}

.info-card p { margin: 0; color: var(--muted); font-size: 15px; }

.icon { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ── Page head (subpages) ────────────────────────────────────────── */
.page-head {
  padding: 72px 0 8px;
  text-align: center;
}

.page-head h1 {
  margin: 18px auto 10px;
  max-width: 820px;
  color: var(--navy);
  font-size: clamp(34px, 6vw, 56px);
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.page-head .lede { margin-inline: auto; }

/* ── Deadline strip (gold: only here and the hero theme hairline) ── */
.deadline-strip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 10px 18px;
  border: 1px solid #ead9a4;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  background: #fdfaf1;
  color: #5c4920;
  font-weight: 700;
  font-size: 15px;
}

/* ── CTA band ────────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--white);
  text-align: center;
  padding: 64px 0;
}

.cta-band h2 { color: var(--white); }

.cta-band p { margin: 0 auto 26px; max-width: 520px; color: var(--ice); }

.cta-band strong { color: var(--white); }

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Beats the `.cta-band p` margin so the note breathes under the buttons. */
.cta-band p.early-bird { margin: 18px auto 0; }

/* Montréal, as a silhouette under the closing band. */
.skyline-band { position: relative; overflow: hidden; padding-bottom: 108px; }

.skyline-band .container { position: relative; z-index: 1; }

.skyline {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 130px;
  fill: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

/* ── Price card (registration) ───────────────────────────────────── */
.price-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

/* Signature: the poster's early-bird block, lifted intact. */
.price-block {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--white);
  padding: 36px clamp(24px, 4vw, 44px);
}

.price-label {
  margin: 0;
  color: var(--sky);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.price-amount {
  margin: 6px 0 0;
  font-size: clamp(64px, 11vw, 104px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-until {
  margin: 10px 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice);
}

.price-chip {
  background: #b9d4f2;
  color: var(--navy);
  border-radius: 999px;
  padding: 7px 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.price-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  padding: 36px clamp(24px, 4vw, 40px);
}

.price-includes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.price-includes li {
  position: relative;
  padding-left: 26px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
}

/* Hairline check, drawn rather than shipped as an icon per row. */
.price-includes li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--sky-deep);
  border-bottom: 2px solid var(--sky-deep);
  transform: rotate(-45deg);
}

.price-note { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ── Split section (call for abstracts) ──────────────────────────── */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.split-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.split-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.split-list li {
  display: grid;
  gap: 3px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--sky);
  border-radius: var(--radius-sm);
  background: var(--bg);
}

.split-list strong { color: var(--navy); font-size: 15.5px; }

.split-list span { color: var(--muted); font-size: 14.5px; }

/* ── What to expect (program preview) ────────────────────────────── */
.expect-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.expect-row li {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 8px 16px;
  text-align: center;
  color: var(--navy);
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.35;
}

/* Hairline separators, as on the poster's icon strip. */
.expect-row li + li { border-left: 1px solid var(--line); }

.expect-badge {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
}

.expect-badge .icon { width: 26px; height: 26px; }

/* ── Chips (topics) ──────────────────────────────────────────────── */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy-2);
  font-size: 14px;
  font-weight: 600;
}

/* ── Timeline (abstracts) ────────────────────────────────────────── */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tl-step {
  position: relative;
  counter-increment: step;
  padding: 26px 26px 26px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.tl-step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--sky);
}

.tl-step h3 { margin: 0 0 6px; color: var(--navy); font-size: 17px; }

.tl-step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ── Coming soon block ───────────────────────────────────────────── */
.coming-soon {
  text-align: center;
  padding: 56px 32px;
}

.coming-soon .icon-badge {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--ice);
  color: var(--navy);
  margin: 0 auto 18px;
}

.coming-soon h2 { margin-bottom: 8px; }

.coming-soon p { max-width: 480px; margin: 0 auto; color: var(--muted); }

/* ── Sponsors ────────────────────────────────────────────────────── */
/* The grid fits itself to however many sponsors are confirmed, and stays
   centred so a short row doesn't read as a half-empty shelf. */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  list-style: none;
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
}

.logo-grid li {
  display: grid;
  place-items: center;
  min-height: 110px;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14px;
}

/* Cells holding a real logo read as finished, not as placeholders. */
.logo-grid li.logo {
  border-style: solid;
  padding: 18px;
}

.logo-grid img { max-height: 80px; width: auto; max-width: 100%; object-fit: contain; }

/* ── Contact ─────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-card { text-align: center; padding: 44px 28px; }

.contact-card .icon-badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--ice);
  color: var(--navy);
  margin: 0 auto 16px;
}

.contact-card h2 { font-size: 20px; }

.venue-address {
  font-style: normal;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 6px;
}

.contact-link {
  display: inline-block;
  margin-top: 6px;
  font-size: clamp(17px, 2.6vw, 21px);
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--sky);
  padding-bottom: 2px;
}

.contact-link:hover { color: var(--navy-deep); border-bottom-color: var(--navy); }

/* ── Footer ──────────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-deep);
  color: var(--ice);
  text-align: center;
  padding: 44px 20px 36px;
}

.footer-brand {
  margin: 0 0 4px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--white);
}

.footer-meta { margin: 0 0 14px; font-size: 14px; color: var(--sky); }

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ice);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible { background: rgba(255, 255, 255, 0.1); color: var(--white); }

.social-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(126, 182, 232, 0.55);
  color: var(--sky);
}

.footer-copy { margin: 0; font-size: 13px; color: rgba(234, 242, 251, 0.55); }

/* ── Motion ──────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.in { opacity: 1; transform: none; }

.rise { animation: rise 0.7s ease both; }

.rise-2 { animation-delay: 0.12s; }
.rise-3 { animation-delay: 0.24s; }
.rise-4 { animation-delay: 0.36s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .rise-2, .rise-3, .rise-4 { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .nav-links a { transition: none; }
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .action-tiles { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .split { grid-template-columns: 1fr; }
  .expect-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 0; }
  .expect-row li:nth-child(4) { border-left: 0; }
  .price-card { grid-template-columns: 1fr; }
  .dot-field, .hair-wave { display: none; }
}

@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: 1fr; }
  .brand-name { display: none; }
}

@media (max-width: 780px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 16px 16px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-links.open { display: flex; }

  .nav-links a { border-radius: var(--radius-sm); padding: 12px 14px; }
}

@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .card-grid, .card-grid-2, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .hero-actions .btn { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .split-actions .btn, .section-actions .btn { width: 100%; }

  /* Facts stack into rows, so the dividers become horizontal. */
  .fact-row { grid-template-columns: 1fr; gap: 0; text-align: left; }
  .fact-row li {
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    gap: 2px 12px;
    padding: 14px 0;
  }
  .fact-row li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.18); }
  .fact-icon { grid-row: span 2; margin: 0; }
  .glance-wrap { margin-top: -36px; }

  .expect-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .expect-row li { border-left: 0 !important; }
  .expect-row li:nth-child(5) { grid-column: span 2; }
}
