/* ============================================================================
   Study Spot — Μελετητήριο & Ενισχυτικά Μαθήματα — standalone landing page
   ----------------------------------------------------------------------------
   Identity taken from the Study Spot logo and flyers:
     navy ink · school-pencil gold · warm white paper · a touch of leaf green.
   One rounded family (Nunito) carries wordmark, headings and body in Greek
   and English. The brand's own device, a gold marker stroke behind a line
   of text, is used once, in the hero.

   Structure:
     1. Tokens   2. Base   3. Language switching   4. Utilities & buttons
     5. Header   6. Hero   7. Sections   8. Price planner   9. Footer
     10. Lightbox   11. Motion & responsive
   ========================================================================= */

/* ---------- 1. Tokens ----------------------------------------------------- */
:root {
  --navy:      #1d3a64;
  --navy-deep: #132a4b;
  --gold:      #f1b434;
  --gold-deep: #d99a16;
  --gold-soft: #fdf0c9;
  --paper:     #fdfbf6;
  --paper-2:   #f5f0e4;
  --ink:       #1a2538;
  --muted:     #5c6779;
  --line:      #e3dccb;
  --leaf:      #7f9a6c;
  --on-navy:   #fdfbf6;
  --on-navy-muted: rgba(253, 251, 246, 0.7);

  --font: 'Nunito', 'Segoe UI', system-ui, sans-serif;

  --step-body: clamp(1rem, 0.96rem + 0.25vw, 1.1rem);
  --step-h3:   clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  --step-h2:   clamp(1.9rem, 1.4rem + 2vw, 2.9rem);
  --step-h1:   clamp(2.3rem, 1.5rem + 3.6vw, 4.2rem);

  --space-section: clamp(3.5rem, 2.5rem + 5vw, 7rem);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 32px;
  --container: 1120px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- 2. Base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: var(--step-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3 { line-height: 1.1; margin: 0; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; border-radius: 4px; }

/* ---------- 3. Language switching -----------------------------------------
   Every piece of copy exists twice, in sibling elements with lang="el" and
   lang="en". The <html data-lang> attribute decides which one is shown.   */
html[data-lang="el"] [lang="en"] { display: none !important; }
html[data-lang="en"] [lang="el"] { display: none !important; }

/* ---------- 4. Utilities & buttons ---------------------------------------- */
.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: 1rem; top: -3.5rem; z-index: 100;
  background: var(--navy); color: var(--on-navy); padding: 0.6rem 1rem;
  border-radius: var(--radius-sm); font-weight: 700; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.section { max-width: var(--container); margin-inline: auto; padding: var(--space-section) var(--gutter); }
.section__head { max-width: 52ch; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.section__title { font-size: var(--step-h2); color: var(--navy); }
.section__intro { color: var(--muted); margin-top: 0.9rem; font-size: 1.05em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 800; font-size: 0.98rem; padding: 0.85rem 1.6rem;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--gold); color: var(--navy-deep); }
.btn--primary:hover { background: var(--gold-deep); }
.btn--ghost { border-color: var(--navy); color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--on-navy); }
.btn--light { border-color: rgba(253,251,246,0.5); color: var(--on-navy); }
.btn--light:hover { background: var(--on-navy); color: var(--navy); }
.btn--sm { padding: 0.55rem 1.1rem; font-size: 0.9rem; }

/* ---------- 5. Header ----------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.55rem var(--gutter);
  background: rgba(253, 251, 246, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 6px 24px rgba(29,58,100,0.06); }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
/* Zoom into the book-and-pencil mark of the square logo file */
.brand__logo { display: block; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex: none; background: #fff; }
.brand__logo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.brand__name { font-weight: 900; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--navy); }
.site-header__left { display: flex; align-items: center; gap: 0.9rem; }
.nav-social { display: inline-flex; align-items: center; gap: 0.55rem; padding-left: 0.9rem; border-left: 1px solid var(--line); }
.nav-social a { display: inline-flex; color: var(--muted); transition: color 0.2s var(--ease); }
.nav-social a:hover { color: var(--navy); }
.nav-social svg { width: 18px; height: 18px; }
.brand__name b { color: var(--gold-deep); font-weight: 900; }
.brand__name--light { color: var(--on-navy); font-size: 1.6rem; }
.brand__name--light b { color: var(--gold); }

.nav__menu { display: flex; align-items: center; gap: 1.4rem; list-style: none; margin: 0; padding: 0; font-weight: 700; font-size: 0.95rem; }
.nav__menu > li > a:not(.btn) { position: relative; padding: 0.25rem 0; color: var(--navy); }
.nav__menu > li > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.2s var(--ease);
}
.nav__menu > li > a:not(.btn):hover::after { transform: scaleX(1); }

.lang-switch {
  background: none; border: 2px solid var(--line); border-radius: 999px; padding: 0.3rem 0.7rem;
  cursor: pointer; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.04em; color: var(--muted);
}
.lang-switch:hover { border-color: var(--navy); }
.lang-switch__sep { margin: 0 0.3rem; opacity: 0.5; }
.lang-switch [data-lang-opt].is-active { color: var(--navy); }

.nav__toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.nav__toggle-bar, .nav__toggle-bar::before, .nav__toggle-bar::after {
  content: ""; position: absolute; left: 10px; width: 24px; height: 3px; border-radius: 2px;
  background: var(--navy); transition: transform 0.2s var(--ease), background 0.2s;
}
.nav__toggle-bar { top: 20px; }
.nav__toggle-bar::before { top: -8px; }
.nav__toggle-bar::after { top: 8px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar::before { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar::after { transform: translateY(-8px) rotate(-45deg); }

/* ---------- 6. Hero ------------------------------------------------------- */
.hero { padding: clamp(2.5rem, 5vw, 5rem) var(--gutter) clamp(3rem, 6vw, 6rem); }
.hero__grid {
  max-width: var(--container); margin-inline: auto;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero__kicker { font-weight: 700; color: var(--leaf); margin-bottom: 1rem; }
.hero__title { font-size: var(--step-h1); font-weight: 900; color: var(--navy); max-width: 16ch; letter-spacing: -0.02em; }

/* The brand's marker stroke: a gold band that draws in once on load. */
.mark {
  font-style: normal; position: relative; display: inline; z-index: 0;
  background-image: linear-gradient(104deg, rgba(241,180,52,0) 0.9%, var(--gold) 2.4%, var(--gold) 97%, rgba(241,180,52,0) 98.5%);
  background-repeat: no-repeat; background-size: 0% 0.55em; background-position: 0 82%;
  padding: 0 0.1em; margin: 0 -0.1em;
  animation: mark-draw 0.9s var(--ease) 0.25s forwards;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
@keyframes mark-draw { to { background-size: 100% 0.55em; } }

.hero__tagline { margin-top: 1.1rem; font-size: clamp(1.15rem, 1rem + 0.7vw, 1.45rem); font-weight: 800; font-style: italic; color: var(--gold-deep); }
.hero__lede { max-width: 50ch; margin: 1rem 0 2rem; color: var(--muted); font-size: 1.1rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero__facts {
  list-style: none; margin: 2.25rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; font-weight: 700; font-size: 0.95rem; color: var(--navy);
}
.hero__facts li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__facts .ico { color: var(--gold-deep); }

.hero__media { margin: 0; position: relative; }
.hero__media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 110px;
  box-shadow: 0 24px 50px -20px rgba(29,58,100,0.35);
}
.hero__media::before {
  content: ""; position: absolute; inset: auto -14px -14px auto; width: 46%; height: 46%; z-index: -1;
  background: var(--gold-soft); border-radius: 60% 40% 55% 45%;
}
.hero__media figcaption { margin-top: 0.9rem; font-size: 0.9rem; color: var(--muted); }

/* ---------- 7. Sections --------------------------------------------------- */

/* What we offer: a numbered-free list, icons in navy discs as on the flyer */
.offer__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.offer__grid .section__head { margin-bottom: 0; }

/* One card per subject we tutor, under the section heading */
.subjects__title { font-size: 1rem; color: var(--navy); margin: 2rem 0 0.9rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.subjects { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.subject {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 0.75rem; align-items: center;
  padding: 0.9rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  border-left: 4px solid var(--gold);
}
.subject svg { grid-row: 1 / 3; width: 28px; height: 28px; fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.subject__name { font-weight: 800; color: var(--navy); font-size: 0.98rem; line-height: 1.25; }
.subject__level { font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.offer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.offer__list li { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.offer__list li:last-child { border-bottom: 0; }
.offer__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; }
.offer__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.offer__list h3 { font-size: var(--step-h3); color: var(--navy); margin-bottom: 0.3rem; }
.offer__list p { color: var(--muted); }

/* An afternoon, in order: this content really is a sequence, so it is numbered */
.day { background: var(--navy); color: var(--on-navy); max-width: none; }
.day__inner { max-width: var(--container); margin-inline: auto; }
.day .section__title { color: var(--on-navy); }
.day__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.day__steps li { position: relative; padding-top: 1rem; border-top: 3px solid rgba(253,251,246,0.18); }
.day__steps li::before {
  counter-increment: step; content: counter(step);
  display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--gold); color: var(--navy-deep); font-weight: 900; margin-bottom: 0.8rem;
}
.day__steps h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.day__steps p { color: var(--on-navy-muted); font-size: 0.95rem; }

/* Tutorials */
.tutorials { background: var(--paper-2); max-width: none; }
.tutorials__grid { max-width: var(--container); margin-inline: auto; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.tutorials__media, .teacher__media, .flyer__media { margin: 0; }
.tutorials__media img, .flyer__media img { border-radius: var(--radius); box-shadow: 0 18px 40px -18px rgba(29,58,100,0.35); }
.tutorials__body p { color: var(--muted); margin-top: 1rem; }
.tutorials__body .btn { margin-top: 1.5rem; }
.chips { list-style: none; margin: 1.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { padding: 0.35rem 0.85rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 700; font-size: 0.9rem; color: var(--navy); }

/* Teacher */
.teacher { background: var(--paper-2); max-width: none; }
.teacher__grid { max-width: var(--container); margin-inline: auto; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.teacher__lede { font-size: 1.15rem; font-weight: 700; color: var(--gold-deep); margin-top: 0.75rem; }
.teacher__creds { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.teacher__creds li { display: flex; gap: 0.8rem; align-items: flex-start; color: var(--muted); }
.teacher__creds .ico { color: var(--navy); margin-top: 0.2em; width: 1.4em; height: 1.4em; }
.teacher__media img { border-radius: 110px var(--radius-lg) var(--radius-lg) var(--radius-lg); box-shadow: 0 24px 50px -20px rgba(29,58,100,0.35); }

/* Same roof */
.roof { background: var(--navy-deep); color: var(--on-navy); max-width: none; }
.roof__inner { max-width: var(--container); margin-inline: auto; }
.roof .section__title { color: var(--on-navy); max-width: 22ch; }
.roof p { max-width: 60ch; color: var(--on-navy-muted); margin-top: 1rem; font-size: 1.05rem; }
.roof__links { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.75rem; }

/* Flyer */
.flyer__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.flyer__body p { color: var(--muted); margin: 1rem 0 1.5rem; max-width: 50ch; }

/* Contact */
.contact { border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact__grid > div > p { color: var(--muted); margin-top: 1rem; max-width: 42ch; }
.contact__list { margin: 0; display: grid; gap: 1.25rem; }
.contact__list dt { display: flex; align-items: center; gap: 0.5rem; font-weight: 800; color: var(--navy); font-size: 0.95rem; }
.contact__list dt .ico { color: var(--gold-deep); }
.contact__list dd { margin: 0.25rem 0 0 1.85rem; color: var(--muted); }
.contact__list dd a { font-weight: 700; color: var(--ink); }
.contact__list dd a:hover { color: var(--navy); text-decoration: underline; }

/* ---------- Gallery collage (photos + video) ---------------------------- */
.gallery { padding-top: 0; }
.mosaic {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 0.8fr 1.4fr 0.8fr;
  gap: clamp(0.6rem, 1.2vw, 1rem);
  height: clamp(300px, 40vw, 480px);
}
.mosaic__tile {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--navy); box-shadow: 0 18px 40px -22px rgba(29,58,100,0.4);
}
.mosaic__tile .zoom { height: 100%; }
.mosaic__tile img, .mosaic__tile video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s var(--ease);
}
.mosaic__tile:hover img { transform: scale(1.04); }
.mosaic__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.7rem 0.9rem 0.7rem; text-align: left;
  background: linear-gradient(180deg, rgba(26,37,56,0) 0%, rgba(26,37,56,0.82) 100%);
  color: #fff; font-weight: 700; font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.mosaic__badge {
  position: absolute; top: 0.7rem; left: 0.7rem; display: inline-flex; align-items: center; gap: 0.3rem;
  background: rgba(26,37,56,0.78); color: #fff; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; padding: 0.3rem 0.55rem; border-radius: 999px;
}
@media (max-width: 760px) {
  .mosaic { grid-template-columns: 1fr 1fr; height: auto; grid-auto-rows: clamp(190px, 50vw, 290px); }
  .mosaic__tile:nth-child(1) { grid-column: 1; grid-row: 1; }
  .mosaic__tile:nth-child(3) { grid-column: 2; grid-row: 1; }
  .mosaic__tile:nth-child(2) { grid-column: 1 / span 2; grid-row: 2; }
}
@media (max-width: 440px) {
  .mosaic { grid-template-columns: 1fr; }
  .mosaic__tile:nth-child(1), .mosaic__tile:nth-child(2), .mosaic__tile:nth-child(3) { grid-column: 1; grid-row: auto; }
}

/* The lightbox trigger around images */
.zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: inherit; }
.zoom img { transition: transform 0.25s var(--ease); }
.zoom:hover img { transform: translateY(-3px); }

/* ---------- 8. Price planner ---------------------------------------------- */
.planner {
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(29,58,100,0.25);
}
.planner__form { padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: 1.5rem; align-content: start; }
.planner__field { border: 0; margin: 0; padding: 0; min-width: 0; }
.planner__field[hidden] { display: none; }
.planner__field legend { font-weight: 800; color: var(--navy); margin-bottom: 0.6rem; padding: 0; font-size: 0.95rem; }

.seg { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg input + span {
  display: inline-block; padding: 0.6rem 1rem; border-radius: 999px; border: 2px solid var(--line);
  font-weight: 700; font-size: 0.95rem; color: var(--ink); background: var(--paper);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.seg label:hover input + span { border-color: var(--navy); }
.seg input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.seg input:focus-visible + span { outline: 3px solid var(--gold-deep); outline-offset: 2px; }

.check { display: flex; align-items: center; gap: 0.75rem; cursor: pointer; font-weight: 600; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box {
  width: 1.5rem; height: 1.5rem; border-radius: 7px; border: 2px solid var(--line); background: var(--paper); flex: none;
  display: grid; place-items: center; transition: background 0.15s, border-color 0.15s;
}
.check__box::after { content: ""; width: 0.5rem; height: 0.8rem; border: solid var(--navy-deep); border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-1px,-1px); opacity: 0; }
.check input:checked + .check__box { background: var(--gold); border-color: var(--gold); }
.check input:checked + .check__box::after { opacity: 1; }
.check input:focus-visible + .check__box { outline: 3px solid var(--gold-deep); outline-offset: 2px; }
.check__logos { display: inline-flex; align-items: center; gap: 0.6rem; margin-left: 0.4rem; vertical-align: middle; }
.check__logos img { height: 28px; width: auto; }

.planner__result {
  background: var(--navy); color: var(--on-navy); padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex; flex-direction: column; gap: 0.5rem;
}
.planner__label { font-weight: 700; color: var(--on-navy-muted); font-size: 0.95rem; }
.planner__price { font-weight: 900; font-size: clamp(2.8rem, 2.2rem + 2.5vw, 4rem); line-height: 1; color: var(--gold); display: flex; align-items: baseline; gap: 0.4rem; flex-wrap: wrap; }
.planner__per { font-size: 1rem; font-weight: 700; color: var(--on-navy-muted); }
.planner__detail { font-weight: 700; }
.planner__saving { color: var(--gold); font-weight: 800; font-size: 0.95rem; }
.planner__saving[hidden] { display: none; }
.planner__includes { list-style: none; margin: 0.75rem 0 1.25rem; padding: 0.9rem 0 0; border-top: 1px solid rgba(253,251,246,0.18); display: grid; gap: 0.4rem; font-size: 0.95rem; color: var(--on-navy-muted); }
.planner__includes li { padding-left: 1.4rem; position: relative; }
.planner__includes li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--gold); }
.planner__result .btn { margin-top: auto; align-self: flex-start; }

/* Full price list */
.pricetable { margin-top: 1.5rem; }
.pricetable summary { cursor: pointer; font-weight: 800; color: var(--navy); padding: 0.75rem 0; list-style: none; display: inline-flex; align-items: center; gap: 0.5rem; }
.pricetable summary::-webkit-details-marker { display: none; }
.pricetable summary::before { content: ""; width: 0.55rem; height: 0.55rem; border: solid var(--gold-deep); border-width: 0 3px 3px 0; transform: rotate(-45deg); transition: transform 0.2s; margin-right: 0.25rem; }
.pricetable[open] summary::before { transform: rotate(45deg); }
.pricetable__wrap { display: grid; gap: 1.5rem; margin-top: 0.5rem; }
.pricetable h3 { font-size: 1.05rem; color: var(--navy); margin-top: 0.5rem; }
.pricetable table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.pricetable th, .pricetable td { padding: 0.65rem 0.75rem; text-align: left; border-bottom: 1px solid var(--line); }
.pricetable thead th { font-weight: 800; color: var(--muted); font-size: 0.85rem; }
.pricetable tbody th { font-weight: 700; color: var(--ink); }
.pricetable td { font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.pricetable__small { max-width: 480px; }

/* ---------- 9. Footer ----------------------------------------------------- */
.site-footer {
  background: var(--navy-deep); color: var(--on-navy); padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) 1.5rem;
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: start;
}
.site-footer__brand p { color: var(--on-navy-muted); margin-top: 0.5rem; max-width: 40ch; }
.site-footer__contact { justify-self: end; text-align: right; display: grid; gap: 1rem; }
.site-footer__contact address { font-style: normal; line-height: 1.7; color: var(--on-navy-muted); display: grid; gap: 0.35rem; }
.site-footer__contact address a { font-weight: 700; color: var(--on-navy); }
.site-footer__contact address a:hover { color: var(--gold); }
.site-footer__brand .site-footer__cta { margin: 1.1rem 0 0; }
.site-footer .btn { white-space: nowrap; }
.site-footer__brand .site-footer__note { margin: 0.6rem 0 0; color: var(--on-navy-muted); font-size: 0.9rem; max-width: 40ch; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.5rem; font-weight: 700; justify-content: flex-end; }
.site-footer__links a:hover { color: var(--gold); }
.social { display: flex; gap: 0.6rem; justify-content: flex-end; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(253,251,246,0.24); color: var(--on-navy-muted); transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease); }
.social a:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; }
.site-footer__legal { grid-column: 1 / -1; border-top: 1px solid rgba(253,251,246,0.14); padding-top: 1.25rem; font-size: 0.85rem; color: var(--on-navy-muted); }

/* ---------- 10. Lightbox -------------------------------------------------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(19,42,75,0.85); backdrop-filter: blur(4px); }
.lightbox img { max-height: 90vh; width: auto; max-width: 100%; border-radius: var(--radius); margin: auto; }
.lightbox__close {
  position: absolute; top: 0.5rem; right: 0.5rem; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  border: 0; background: var(--paper); color: var(--navy); font-size: 1.5rem; line-height: 1; cursor: pointer;
}

/* ---------- 11. Motion & responsive -------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .mark { background-size: 100% 0.55em; }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 460px; }
  .hero__media img { aspect-ratio: 4 / 4.4; }
  .offer__grid { grid-template-columns: 1fr; }
  .day__steps { grid-template-columns: repeat(2, 1fr); }
  .planner { grid-template-columns: 1fr; }
  .tutorials__grid, .teacher__grid, .flyer__grid, .contact__grid { grid-template-columns: 1fr; }
  .tutorials__media, .flyer__media { max-width: 460px; }
  .teacher__media { max-width: 420px; order: -1; }
}

@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute; top: 100%; right: 0; left: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 0.5rem var(--gutter) 1rem; display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu > li { border-bottom: 1px solid var(--line); }
  .nav__menu > li:last-child, .nav__lang { border-bottom: 0; }
  .nav__menu > li > a:not(.btn) { display: block; padding: 0.9rem 0; }
  .nav__lang { padding: 0.9rem 0 0.5rem; }
  .nav__menu .btn { margin-top: 0.5rem; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer__contact { justify-self: start; text-align: left; }
  .site-footer__links { justify-content: flex-start; }
  .social { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .day__steps { grid-template-columns: 1fr; }
  .subjects { grid-template-columns: 1fr; }
  .hero__title { max-width: none; }
  .pricetable th, .pricetable td { padding: 0.5rem 0.4rem; font-size: 0.85rem; }
}

/* ---------- Scrolling brand strip ---------------------------------------- */
.ticker { position: sticky; top: var(--header-h, 66px); z-index: 49; background: var(--gold); color: var(--navy-deep); overflow: hidden; white-space: nowrap; }
.ticker__track { display: inline-flex; animation: ticker 28s linear infinite; }
.ticker__track > span {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.55rem 1.5rem; position: relative;
}
.ticker__track > span::after { content: ""; position: absolute; right: -4px; top: 50%; width: 8px; height: 8px; margin-top: -4px; background: var(--navy-deep); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }
