/* Mariam Margiani — ski lessons. Colours and type follow her business card. */
:root {
  --navy: #0B1F3A;
  --accent: #1769E0;
  --accent-hover: #0F57C2;
  --bar: #2B8CFF;
  --muted: #4A5B73;
  --tint: #F1F6FC;
  --line: #DCE6F2;
  --red: #DC2626;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'Noto Sans Georgian', system-ui, sans-serif;
  color: var(--navy);
  background: #fff;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
html[lang="ka"] body { font-family: 'Noto Sans Georgian', 'Plus Jakarta Sans', system-ui, sans-serif; }
h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.strong { color: var(--navy); }
h2 { font-size: clamp(34px, 5vw, 48px); line-height: 1.1; font-weight: 800; letter-spacing: -0.01em; }
.eyebrow {
  align-self: flex-start; font-size: 14px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase;
  padding-bottom: 10px; border-bottom: 4px solid var(--bar);
}
/* Georgian has no lowercase/uppercase pair in normal text, so skip the caps styling */
html[lang="ka"] .eyebrow, html[lang="ka"] .hero-sub, html[lang="ka"] .card-label,
html[lang="ka"] .pill-red, html[lang="ka"] .th-lesson, html[lang="ka"] .th-best span { text-transform: none; letter-spacing: 0.04em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 22px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-lg { min-height: 52px; padding: 13px 28px; font-size: 17px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { border-color: #5B6B82; color: #fff; }
.btn-ghost:hover { background: #13305A; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
a:focus-visible, button:focus-visible, .pill input:focus-visible + span { outline: 3px solid var(--bar); outline-offset: 3px; }

/* Notice bar (switched on from the admin) */
.notice-bar { background: var(--red); color: #fff; text-align: center; font-weight: 700; font-size: 15px; padding: 10px 16px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 28px; min-height: 68px; }
.wordmark { font-weight: 800; font-size: 21px; text-decoration: none; white-space: nowrap; }
.main-nav { display: flex; gap: 0 22px; flex: 1; font-weight: 700; font-size: 15px; }
.main-nav a { text-decoration: none; padding: 12px 0; }
.main-nav a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang { display: flex; font-size: 13px; font-weight: 700; }
.lang a { padding: 12px 8px; text-decoration: none; color: var(--muted); }
.lang a[aria-current] { color: var(--navy); box-shadow: inset 0 -2px var(--navy); }

/* Hero: name on the snow, sky above */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 55%; z-index: -1; }
.hero-inner { padding-top: 240px; padding-bottom: 80px; }
.hero-copy { max-width: 620px; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-weight: 800; font-size: clamp(52px, 13vw, 108px); line-height: 1; letter-spacing: -0.02em; }
.hero h1 span { display: block; }
.hero-sub { font-size: 18px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; line-height: 1.7; }
.bar { width: 96px; height: 6px; background: var(--bar); }
.hero-intro { font-size: 20px; color: var(--muted); }
.hero-small { font-size: 15px; color: var(--muted); }

/* Stats band */
.stats { background: var(--navy); color: #fff; }
.stats-inner { display: flex; flex-wrap: wrap; gap: 24px 40px; padding-top: 40px; padding-bottom: 40px; }
.stat { flex: 1 1 260px; }
.stat-big { font-size: clamp(32px, 4vw, 44px); font-weight: 800; line-height: 1.1; }
.stat-small { color: #C7D6EA; }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 56px; padding-top: 96px; padding-bottom: 96px; }
.about-copy { flex: 1 1 520px; display: flex; flex-direction: column; gap: 20px; }
.about-copy p:not(.eyebrow) { color: var(--muted); }
.about-card { flex: 1 1 360px; display: flex; flex-direction: column; gap: 24px; background: var(--tint); border-radius: 24px; padding: 32px; }
.about-card img { width: 100%; height: 340px; object-fit: cover; object-position: center 35%; border-radius: 16px; }
.card-label { font-size: 15px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; }

/* Lessons */
.tinted { background: var(--tint); }
.section { padding: 96px 0; }
.stack { display: flex; flex-direction: column; gap: 28px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.section-head p { max-width: 460px; font-size: 16px; }
.notice { display: flex; gap: 16px; align-items: flex-start; background: #FFF7E6; border: 2px solid #F5B942; border-radius: 20px; padding: 20px 24px; }
.notice svg { flex: none; margin-top: 2px; }
.notice-title { font-weight: 800; font-size: 19px; margin-bottom: 4px; }
.notice .muted { font-size: 16px; }
.deal { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; }
.pill-red { background: var(--red); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.table-box { background: #fff; border-radius: 24px; border: 1px solid var(--line); overflow-x: auto; }
.prices { width: 100%; min-width: 760px; border-collapse: collapse; }
.prices thead tr { background: var(--navy); color: #fff; }
.prices thead th { padding: 18px 12px; font-size: 15px; font-weight: 700; text-align: center; }
.prices thead .th-lesson { text-align: left; padding: 18px 28px; font-size: 13px; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; }
.prices thead .th-best { background: var(--accent); }
.th-best span { display: block; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; margin-top: 2px; }
.prices tbody th, .prices tbody td { border-top: 1px solid var(--line); padding: 22px 12px; vertical-align: middle; text-align: center; }
.prices tbody th { text-align: left; padding: 24px 28px; font-weight: 400; }
.prices td.best { background: var(--tint); }
.prices td.book-cell { text-align: right; padding-right: 28px; }
.l-name { display: block; font-size: 24px; font-weight: 800; }
.l-desc { display: block; font-size: 15px; color: var(--muted); margin-top: 4px; max-width: 340px; }
.save { display: inline-block; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; margin-bottom: 6px; }
.price { display: block; font-size: 14px; font-weight: 700; color: var(--muted); }
.price b { font-size: 30px; font-weight: 800; color: var(--navy); }
.per { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }

/* Booking */
.book { display: flex; flex-direction: column; gap: 28px; padding-top: 96px; padding-bottom: 96px; }
.lead { font-size: 18px; color: var(--muted); margin-top: 10px; }
.booker { border: 2px solid var(--navy); border-radius: 24px; overflow: hidden; }
.booker-bar {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 24px 32px; align-items: end; padding: 24px 28px; border-bottom: 1px solid var(--line);
}
.booker-cal { padding: 24px 28px 28px; min-width: 0; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.step-title { font-weight: 800; padding: 0; margin-bottom: 10px; }
.step-total .step-title { margin-bottom: 0; }
.hint { font-weight: 400; }
.pills { display: grid; gap: 8px; }
.pills-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pills-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pill { position: relative; display: block; }
.pill input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pill span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 12px; border: 2px solid #C7D6EA; border-radius: 999px; background: #fff; font-weight: 700; }
.pill:hover span { border-color: var(--navy); }
.pill input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.step-total { background: var(--tint); border-radius: 16px; padding: 12px 18px; }
.total { font-size: 32px; font-weight: 800; line-height: 1.2; }
.cal-embed { min-height: 420px; border-radius: 16px; background: var(--tint); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; }
.cal-embed.is-live { display: block; background: none; padding: 0; min-height: 480px; }

/* Experience + qualifications */
.two-col { display: flex; flex-wrap: wrap; gap: 56px; padding-top: 96px; padding-bottom: 96px; }
.two-col > div { display: flex; flex-direction: column; gap: 24px; }
.two-col > div:first-child { flex: 1 1 520px; }
.two-col > div:last-child { flex: 1 1 360px; }
.timeline { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 24px; }
.timeline li { display: flex; gap: 24px; }
.years { flex: 0 0 96px; font-weight: 800; color: var(--accent); }
.timeline h3 { font-size: 20px; font-weight: 800; }
.timeline .muted { font-size: 16px; }
.quals { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.quals li { background: #fff; border-radius: 16px; padding: 16px 20px; }
.q-title { font-weight: 800; }
.quals .muted { font-size: 15px; }

/* Photos + reviews */
.gallery { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 96px; }
.gallery img { flex: 1 1 360px; min-width: 0; height: 520px; object-fit: cover; border-radius: 24px; }
.gallery img:first-child { object-position: 50% 40%; }
.gallery img:last-child { object-position: 60% 42%; }
.reviews { display: flex; flex-direction: column; gap: 28px; padding-top: 96px; }
.review-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.review { flex: 1 1 340px; margin: 0; padding: 28px; border: 2px solid var(--line); border-radius: 24px; display: flex; flex-direction: column; gap: 14px; }
.review blockquote { font-size: 19px; }
.review figcaption { font-weight: 700; color: var(--muted); font-size: 15px; }

/* Contact + footer */
.contact { background: var(--navy); color: #fff; margin-top: 96px; }
.peaks { display: block; width: 100%; height: 140px; background: #fff; }
.contact-inner { display: flex; flex-direction: column; gap: 28px; padding-top: 40px; padding-bottom: 40px; }
.contact h2 { font-size: clamp(40px, 6vw, 56px); line-height: 1.05; }
.light { font-weight: 300; }
.replies { display: flex; gap: 12px; align-items: flex-start; max-width: 760px; color: #C7D6EA; background: #13305A; border-radius: 16px; padding: 16px 20px; }
.replies svg { flex: none; margin-top: 2px; }
.replies strong { color: #fff; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid #1E3A5F; padding-top: 16px; font-size: 14px; color: #C7D6EA; }
.footer-row a { color: #C7D6EA; display: inline-block; padding: 12px 4px; }

/* Tablets and phones: photo becomes a band above the name */
@media (max-width: 1100px) {
  .hero-bg { position: relative; z-index: 0; height: clamp(260px, 42vw, 440px); object-position: 62% 40%; }
  .hero-inner { padding-top: 32px; padding-bottom: 56px; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .booker-bar { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap { padding-left: 18px; padding-right: 18px; }
  .about, .two-col, .book { padding-top: 64px; padding-bottom: 64px; }
  .section { padding: 64px 0; }
  .gallery, .reviews { padding-top: 64px; }
  .contact { margin-top: 64px; }
  .hero-intro { font-size: 18px; }
  .hero-sub { font-size: 15px; }
  .about-card { padding: 20px; }
  .about-card img { height: 300px; }
  .booker-bar { padding: 20px; }
  .booker-cal { padding: 16px 8px 8px; }
  .booker-cal > .step-title { padding: 0 8px; }
  .gallery img { height: 380px; }
  .peaks { height: 80px; }
  .header-actions .btn { padding: 8px 16px; }
}
@media (max-width: 480px) {
  /* keep the header on one line: the big "Book" button sits right under it in the hero */
  .header-actions .btn { display: none; }
  .wordmark { font-size: 18px; }
}
