/* ─────────────────────────────────────────────────────────────
   Travel Diaries promo (td-2607) – shared design system

   Signpost styling throughout: solid header bands with the label
   reversed out, square corners, squared tags. No pills, and no
   rounded rectangles with a single coloured edge.

   Per-language pages override the palette vars in their own
   <style> block. Everything below reads from those vars.
   ───────────────────────────────────────────────────────────── */

:root {
  /* Defaults = CBL umbrella (hub page). Language pages override. */
  --primary:      #1c343e;
  --primary-deep: #102127;
  --accent:       #91b21a;
  --accent-deep:  #77930f;
  --on-accent:    #102127;   /* text that sits ON the accent: dark on golds, white on reds */
  --hero-em:      #b7d84a;   /* the "travel differently" highlight, on the hero only */
  --soft:         #c3d2d8;
  --tint:         #dbe4e8;
  --bg:           #f5f7f8;
  --white:        #ffffff;
  --text:         #1c343e;
  --text-light:   #4a6670;
  --paper:        #fbf7ec;
  --shadow:       0 2px 14px rgba(16, 33, 39, 0.09);
  --shadow-lift:  0 12px 34px rgba(16, 33, 39, 0.16);
}

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

body {
  font-family: 'Source Serif 4', Georgia, serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; line-height: 1.2; }

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

.container { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* ── Announcement bar ─────────────────────────────────────── */
.announce {
  background: var(--accent);
  color: var(--on-accent);
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 10px 16px;
  line-height: 1.4;
}
.announce .sep { opacity: 0.55; margin: 0 8px; }
@media (max-width: 560px) {
  .announce .sep { display: block; height: 0; margin: 2px 0; overflow: hidden; }
}

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  background: var(--primary-deep);
  padding: 13px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; }
.nav-brand img { width: 40px; height: 40px; flex-shrink: 0; }
.nav-brand span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--soft);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.nav-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.nav-back {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.nav-back:hover { color: #fff; border-bottom-color: var(--accent); }
.nav-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--on-accent);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px 20px;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: 7px;
}
.nav-cta:hover { background: var(--accent-deep); }
@media (max-width: 640px) { .nav-brand span { display: none; } }
@media (max-width: 460px) { .nav-back { display: none; } }

/* ── Hero (full-bleed photo) ──────────────────────────────── */
.hero {
  position: relative;
  color: var(--white);
  text-align: center;
  padding: 92px 24px 88px;
  overflow: hidden;
  background: var(--primary-deep);
}
.hero-photo {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
}
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.58) 0%,
    rgba(0, 0, 0, 0.48) 42%,
    rgba(0, 0, 0, 0.7) 100%);
}
.hero-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 2; }
.hero-badge {
  display: inline-block;
  background: rgba(0, 0, 0, 0.42);
  border-left: 3px solid var(--accent);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 9px 16px;
  margin-bottom: 24px;
  border-radius: 0 6px 6px 0;
}
.hero h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.3rem);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.45);
}
.hero h1 em { font-style: normal; color: var(--hero-em); font-weight: 700; }
.hero .lede {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.93);
  margin-bottom: 30px;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}
.hero-note {
  display: block;
  margin-top: 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.03em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}

/* Buttons – squared, solid */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--on-accent);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 16px 36px;
  text-decoration: none;
  transition: background 0.15s;
  border: 2px solid var(--accent);
  border-radius: 8px;
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
/* Secondary CTA. Uses the brand colour, not the accent: gold-on-white was
   nowhere near legible enough on the Spanish, German and Swedish palettes. */
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.hero .btn-outline { color: var(--white); border-color: rgba(255, 255, 255, 0.75); }

.accent-bar { height: 5px; background: var(--accent); }

/* ── Generic section ──────────────────────────────────────── */
section { padding: 62px 0; }
section h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.05rem);
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--primary);
}
section p { margin-bottom: 16px; font-size: 1.03rem; }
section p:last-child { margin-bottom: 0; }
.section-alt { background: var(--white); }
.section-lede { color: var(--text-light); font-size: 1.08rem; margin-bottom: 34px; }

/* ── Signpost card: solid header band, body below ─────────── */
.sp {
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;          /* so the header band follows the corner radius */
}
.sp-head {
  background: var(--primary);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 10px 20px;
}
.sp-head .sub { color: rgba(255, 255, 255, 0.62); }
.sp-body { padding: 22px 22px 26px; flex: 1; }

/* ── Seasons ──────────────────────────────────────────────── */
.seasons { background: var(--white); }
.season-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 34px; }
@media (max-width: 780px) { .season-grid { grid-template-columns: 1fr; } }
/* One-season courses (Swedish): a lone card in a 2-col grid looks stranded. */
.season-grid.solo { grid-template-columns: minmax(0, 640px); justify-content: center; }

.season-card { background: var(--bg); }
.season-card .photo { aspect-ratio: 16 / 10; overflow: hidden; }
.season-card .photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.season-card:hover .photo img { transform: scale(1.035); }
.season-card h3 { font-size: 1.2rem; margin-bottom: 6px; color: var(--primary); }
.season-place {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.79rem;
  color: var(--text-light);
  margin-bottom: 14px;
}
.season-card .sp-body p { font-size: 0.97rem; margin-bottom: 0; }

/* ── Steps ────────────────────────────────────────────────── */
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
@media (max-width: 820px) { .step-grid { grid-template-columns: 1fr; } }
.step h3 { font-size: 1.06rem; margin-bottom: 10px; color: var(--primary); }
.step p { font-size: 0.96rem; color: var(--text-light); margin-bottom: 0; }

/* ── Diary (the level sample) ─────────────────────────────── */
.diary { position: relative; padding: 74px 0 78px; background: var(--primary-deep); }
.diary-photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.34;
}
.diary-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.7) 100%);
}
.diary .container { position: relative; z-index: 2; }
.diary h2 { color: var(--white); }
.diary .section-lede { color: rgba(255, 255, 255, 0.84); margin-bottom: 30px; }

.diary-page {
  background: var(--paper);
  color: #2a2620;
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 46px 34px 74px;
  position: relative;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.42);
  /* faint ruled lines, spacing matched to the handwriting line-height */
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 37px,
    rgba(60, 90, 130, 0.16) 37px,
    rgba(60, 90, 130, 0.16) 38px
  );
  background-position: 0 30px;
  border-radius: 6px;
}
/* the red margin rule of an exercise book */
.diary-page::before {
  content: "";
  position: absolute;
  left: 48px; top: 0; bottom: 0;
  width: 1px;
  background: rgba(190, 60, 60, 0.4);
}
.diary-date {
  font-family: 'Caveat', cursive;
  font-size: 1.5rem;
  color: #4a5f8a;
  margin-bottom: 38px;
  line-height: 38px;
}
.diary-text {
  font-family: 'Caveat', cursive;
  font-size: 1.62rem;
  line-height: 38px;
  color: #23303f;
}
.diary-text p { margin-bottom: 0; font-size: inherit; line-height: inherit; }
.diary-text p + p { margin-top: 38px; }

/* print mode, for anyone who finds the handwriting hard going */
.diary-page.print .diary-text,
.diary-page.print .diary-date {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.03rem;
  line-height: 38px;
}
.diary-page.print .diary-date { font-size: 0.82rem; font-family: 'Montserrat', sans-serif; letter-spacing: 0.1em; text-transform: uppercase; }
/* the print face sits 3px higher in the line box, so the rules move with it */
.diary-page.print { background-position: 0 27px; }

.diary-tools { text-align: center; margin-top: 26px; position: relative; z-index: 2; }
.diary-toggle {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  border-radius: 7px;
}
.diary-toggle:hover { background: rgba(255, 255, 255, 0.94); color: var(--primary-deep); }
.diary-note {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.93rem;
  max-width: 640px;
  margin: 24px auto 0;
  text-align: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 620px) {
  .diary-page { padding: 32px 26px 28px 46px; }
  .diary-page::before { left: 28px; }
  .diary-text { font-size: 1.42rem; }
}

/* ── Included list ────────────────────────────────────────── */
.included-list { list-style: none; margin-top: 28px; }
.included-list li {
  padding: 16px 0 16px 32px;
  border-bottom: 1px solid var(--tint);
  position: relative;
  font-size: 1.02rem;
}
.included-list li:last-child { border-bottom: none; }
.included-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 27px;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 2px;
}
.included-list strong { font-family: 'Montserrat', sans-serif; font-weight: 600; }

/* ── Quotes ───────────────────────────────────────────────── */
.quote-section { background: var(--primary); color: var(--white); }
.quote-section h2 { color: var(--white); }
.quote-grid { display: grid; gap: 26px; margin-top: 28px; }
.quote-grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 720px) { .quote-grid.two { grid-template-columns: 1fr; } }
.quote {
  font-size: clamp(1.02rem, 2.1vw, 1.15rem);
  font-style: italic;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.94);
  border-left: 3px solid var(--accent);
  padding-left: 22px;
  margin-bottom: 12px;
}
.quote-by {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft);
  padding-left: 25px;
}

/* ── Pricing ──────────────────────────────────────────────── */
.pricing { background: var(--white); text-align: center; }
.price-card {
  max-width: 540px;
  margin: 32px auto 0;
  background: var(--bg);
  box-shadow: var(--shadow);
  text-align: center;
  border-radius: 14px;
  overflow: hidden;
}
.price-head {
  background: var(--accent);
  color: var(--on-accent);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 18px;
}
.price-body { padding: 32px 30px 30px; }
.price-row { display: flex; justify-content: center; gap: 44px; flex-wrap: wrap; margin-bottom: 28px; }
.price .was {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: var(--text-light);
  text-decoration: line-through;
  margin-bottom: 2px;
}
.price .now {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.05;
}
.price .cur {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 4px;
}
.price-note { font-size: 0.92rem; color: var(--text-light); margin-top: 18px; }

/* ── Final CTA + countdown ────────────────────────────────── */
.final {
  background: var(--primary);
  color: var(--white);
  text-align: center;
}
.final h2 { color: var(--white); }
.final p { color: rgba(255, 255, 255, 0.86); max-width: 620px; margin: 0 auto 30px; }
.countdown { display: flex; justify-content: center; gap: 12px; margin: 32px 0 8px; flex-wrap: wrap; }
.cd-unit { background: var(--primary-deep); padding: 14px 10px 11px; min-width: 84px; border-radius: 10px; }
.cd-unit .n {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
}
.cd-unit .l {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 7px;
}
.cd-note {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
  margin-bottom: 30px;
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--tint); padding: 20px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-size: 1.03rem; margin-bottom: 8px; color: var(--primary); }
.faq-item p { font-size: 0.99rem; color: var(--text-light); margin-bottom: 0; }

/* ── Hub language cards ───────────────────────────────────── */
/* Six columns, each card spanning two, so the odd card out on the second row
   can be nudged over and the pair sits centred under the three above. */
.lang-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; margin-top: 38px; }
.lang-grid > * { grid-column: span 2; }
.lang-grid > :nth-child(4) { grid-column: 2 / span 2; }
@media (max-width: 900px) {
  .lang-grid { grid-template-columns: repeat(2, 1fr); }
  .lang-grid > *, .lang-grid > :nth-child(4) { grid-column: auto; }
}
@media (max-width: 600px) { .lang-grid { grid-template-columns: 1fr; } }

.lang-card { text-decoration: none; color: inherit; transition: transform 0.18s, box-shadow 0.18s; }
.lang-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.lang-card, .season-card { border-radius: 12px; }
.lang-card .sp-head { background: var(--card-accent, var(--primary)); display: flex; align-items: center; gap: 10px; }
.lang-card .sp-head img { width: 22px; height: 22px; }
.lang-card .photo { aspect-ratio: 16 / 10; overflow: hidden; }
.lang-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.lang-card .sp-body { padding: 18px 20px 22px; }
.lang-card p { font-size: 0.94rem; color: var(--text-light); margin-bottom: 14px; }
.lang-card .go {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--card-accent, var(--accent-deep));
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--primary-deep);
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  padding: 40px 24px 44px;
  font-size: 0.85rem;
}
.footer img { width: 46px; height: 46px; margin: 0 auto 16px; }
.footer a { color: rgba(255, 255, 255, 0.75); }
.credits { font-size: 0.74rem; margin-top: 14px; color: rgba(255, 255, 255, 0.36); line-height: 1.7; }

/* ── Course card (the Level 1 signpost on the Swedish page) ───
   Cold traffic may be meeting us for the first time here, so the
   route into the beginner course gets a block of its own rather
   than a line of text. */
.course-card { margin-top: 30px; }
.course-card .inner { display: grid; grid-template-columns: 230px 1fr; }
@media (max-width: 720px) { .course-card .inner { grid-template-columns: 1fr; } }
.course-brand {
  background: var(--primary);
  color: var(--white);
  padding: 30px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.course-brand img { width: 76px; height: 76px; }
.course-brand .name {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.5;
}
.course-brand .price {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.04em;
}
.course-detail { padding: 30px 32px 32px; }
.course-detail h3 { font-size: 1.22rem; color: var(--primary); margin-bottom: 6px; }
.course-detail .tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  color: var(--text-light);
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}
.course-detail p { font-size: 0.99rem; }
.course-facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 22px;
  margin: 18px 0 22px;
}
@media (max-width: 520px) { .course-facts { grid-template-columns: 1fr; } }
.course-facts li {
  position: relative;
  padding-left: 18px;
  font-size: 0.95rem;
  color: var(--text-light);
}
.course-facts li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--accent);
}
