/* =====================================================================
   VANINA TSONEVA — SITE-WIDE STYLESHEET
   Based on the Bulgarian home page and the Passion Box page.

   Contents
   1.  Colours and fonts (variables)
   2.  Base
   3.  Layout and utilities
   4.  Buttons
   5.  Header and navigation
   6.  Hero sections
   7.  Section titles, text, grids and cards
   8.  Events and programmes (home page)
   9.  Products, story, video, FAQ, call to action (Passion Box)
   10. Content pages (about, offers, shibari, courses, guides)
   11. Footer and newsletter
   12. Dark theme       — add class="theme-dark" to <body>
   13. Single-card form — add class="page-form" to <body> (voting form)
   14. Landing pages (big photo hero, benefit list, details card, callout, photo split)
   ===================================================================== */


/* ---------------------------------------------------------------------
   1. COLOURS AND FONTS
   --------------------------------------------------------------------- */
:root {
    /* Brand colours */
    --color-teal: #1B3838;
    --color-terracotta: #E1543C;
    --color-beige: #E7E4DE;
    --color-white: #FFFFFF;
    --color-text: #111111;
    --color-deep: #0B1A1A;
    --color-dark: #122626;

    /* Roles (the dark theme swaps these) */
    --page-bg: var(--color-white);
    --page-text: var(--color-text);
    --heading: var(--color-teal);
    --copy: #222222;
    --copy-soft: #333333;
    --surface: var(--color-white);
    --surface-hover: var(--color-beige);
    --color-border-light: #D6D2CA;

    /* Fonts */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 32px;
    --space-lg: 64px;
    --space-xl: 96px;
    --content-max: 1140px;

    /* Older names still used inside some pages — mapped to the brand */
    --color-ink: var(--page-text);
    --color-ink-soft: var(--copy-soft);
    --color-accent: var(--color-terracotta);
    --color-border: var(--color-border-light);
    --color-teal-deep: var(--color-teal);
    --color-teal-deep-text: var(--color-beige);
    --color-navy: var(--color-teal);
    --color-bg: var(--page-bg);
    --color-bg-muted: var(--color-beige);
}


/* ---------------------------------------------------------------------
   2. BASE
   --------------------------------------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-radius: 0 !important;
    box-shadow: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--page-text);
    background-color: var(--page-bg);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Titles: Playfair Display italic, weight 600 — a weight that is loaded.
   Setting it here stops browsers from faking a bold version. */
h1, h2, h3, h4, h5, h6, .font-serif {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* Lets email fields shrink on phones so the button next to them fits */
input {
    min-width: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* ---------------------------------------------------------------------
   3. LAYOUT AND UTILITIES
   --------------------------------------------------------------------- */
.container,
.site-content-wrap {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 24px;
}

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

.section-padding {
    padding: 80px 0;
}

.text-center { text-align: center; }
.central { text-align: center; }

.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }
.mb-8  { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }
.mb-16 { margin-bottom: 64px; }

.bg-white { background-color: var(--color-white); }
.bg-beige { background-color: var(--color-beige); }
.bg-teal  { background-color: var(--color-teal); }
.bg-deep  { background-color: var(--color-deep); }
.bg-dark  { background-color: var(--color-dark); }

.text-teal       { color: var(--color-teal); }
.text-white      { color: var(--color-white); }
.text-terracotta { color: var(--color-terracotta); }

.border-top-light    { border-top: 1px solid var(--color-border-light); }
.border-bottom-light { border-bottom: 1px solid var(--color-border-light); }

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

.image-placeholder {
    background-color: #D6D2CA;
    border: 1px solid #C4C0B6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: 100%;
}

/* Running text on content pages (articles, about, offers):
   gives paragraphs and lists their spacing back after the reset above.
   :where() keeps this weaker than any class, so components win. */
:where(.site-content-wrap) :where(p, ul, ol, blockquote) {
    margin-bottom: 1em;
}
:where(.site-content-wrap) :where(ul, ol) {
    padding-left: 1.4em;
}
:where(.site-content-wrap) :where(li) {
    margin-bottom: 0.4em;
}


/* ---------------------------------------------------------------------
   4. BUTTONS
   --------------------------------------------------------------------- */
.btn-primary,
.btn {
    background-color: var(--color-terracotta);
    color: var(--color-white);
    border: 1px solid var(--color-terracotta);
    padding: 12px 28px;
    font-family: var(--font-body);
    font-weight: 500;
    display: inline-block;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 15px;
    cursor: pointer;
}

.btn-primary:hover,
.btn:hover {
    background-color: transparent;
    color: var(--color-terracotta);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-teal);
    border: 1px solid var(--color-teal);
    padding: 12px 28px;
    font-weight: 500;
    display: inline-block;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 15px;
    cursor: pointer;
}

.btn-outline:hover {
    background-color: var(--color-teal);
    color: var(--color-white);
}

.btn-outline-white,
.btn--light {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
    padding: 12px 28px;
    font-weight: 500;
    display: inline-block;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
}

.btn-outline-white {
    width: 100%;
}

.btn-outline-white:hover,
.btn--light:hover {
    background-color: var(--color-white);
    color: var(--color-teal);
}


/* ---------------------------------------------------------------------
   5. HEADER AND NAVIGATION
   --------------------------------------------------------------------- */
#coaching {
    scroll-margin-top: 80px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--page-bg);
    border-bottom: 1px solid var(--color-border-light);
}

.site-header__inner {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 24px;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.site-header__logo {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
    font-size: 22px;
    color: var(--heading);
    white-space: nowrap;
}

.site-header__nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-header__nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    font-size: 15px;
    color: var(--color-teal);
    cursor: pointer;
    transition: color 0.2s ease;
}

.site-header__nav-link:hover {
    color: var(--color-terracotta);
}

.site-header__nav-caret {
    width: 10px;
    height: 10px;
}

.site-header__nav-item {
    position: relative;
}

.site-header__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: -16px;
    min-width: 260px;
    padding: 8px 0;
    background-color: var(--surface);
    border: 1px solid var(--color-border-light);
    z-index: 110;
}

.site-header__nav-item:hover .site-header__dropdown,
.site-header__nav-item:focus-within .site-header__dropdown {
    display: block;
}

.site-header__dropdown-link {
    display: block;
    padding: 10px 20px;
    font-size: 15px;
    color: var(--color-teal);
    transition: background-color 0.2s ease;
}

.site-header__dropdown-link:hover {
    background-color: var(--surface-hover);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-header__lang-select {
    border: 1px solid var(--color-border-light);
    background-color: var(--page-bg);
    color: var(--color-teal);
    font: inherit;
    font-size: 14px;
    padding: 6px 8px;
    cursor: pointer;
}

.site-header__cta {
    background-color: var(--color-terracotta);
    color: var(--color-white);
    border: 1px solid var(--color-terracotta);
    padding: 10px 22px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.site-header__cta:hover {
    background-color: transparent;
    color: var(--color-terracotta);
}

@media (max-width: 900px) {
    .site-header__inner {
        padding-top: 12px;
        padding-bottom: 12px;
    }
    .site-header__nav {
        order: 3;
        width: 100%;
        flex-wrap: wrap;
        gap: 8px 20px;
    }
    .site-header__dropdown {
        left: 0;
    }
}


/* ---------------------------------------------------------------------
   6. HERO SECTIONS
   --------------------------------------------------------------------- */

/* Text + photo side by side (home page) */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.hero-image {
    height: 420px;
}

.hero-eyebrow {
    display: block;
    color: var(--color-terracotta);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 40px;
    line-height: 1.2;
    color: var(--heading);
    margin-bottom: 24px;
}

.hero-description {
    font-size: 19px;
    color: var(--copy);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 5fr 7fr;
    }
    .hero-image {
        height: 480px;
    }
    .hero-title {
        font-size: 48px;
    }
}

/* Text over a full-width photo (Passion Box) */
.hero-bg {
    background-color: var(--color-deep);
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    min-height: 560px;
    display: flex;
    align-items: center;
    padding: 100px 0;
}

.hero-bg .container {
    width: 100%;
}

.hero-bg .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
}

.hero-bg .hero-grid > div {
    max-width: 600px;
}

.hero-bg .hero-title {
    color: var(--color-white);
}

.hero-bg .hero-description {
    color: rgba(231, 228, 222, 0.78);
}

@media (min-width: 768px) {
    .hero-bg {
        min-height: 640px;
    }
}

/* Photo hero with dark overlay (English home page) */
.hero {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.1) 55%, rgba(0, 0, 0, 0.25) 100%);
}

.hero__content {
    position: relative;
    z-index: 1;
    padding: var(--space-xl) 24px var(--space-lg);
    max-width: 900px;
}

.hero__title {
    color: var(--color-white);
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.1;
    margin-bottom: var(--space-sm);
}

.hero__subtitle {
    color: var(--color-white);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.5;
    max-width: 640px;
}

/* Title-only hero (content pages) */
.content-hero {
    padding: 80px 0 48px;
    text-align: center;
}

.content-hero__title {
    font-size: clamp(32px, 4.5vw, 48px);
    line-height: 1.2;
    color: var(--heading);
    margin-bottom: var(--space-sm);
}

.content-hero__subtitle {
    font-size: 19px;
    font-weight: 300;
    color: var(--copy);
    max-width: 640px;
    margin: 0 auto;
}


/* ---------------------------------------------------------------------
   7. SECTION TITLES, TEXT, GRIDS AND CARDS
   --------------------------------------------------------------------- */
.intro-text {
    font-size: 22px;
    color: var(--heading);
    font-weight: 300;
    line-height: 1.6;
}

.section-title {
    font-size: 36px;
    color: var(--heading);
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--copy-soft);
    max-width: 650px;
    margin: 0 auto;
}

.grid-3,
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

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

.card-title {
    font-size: 24px;
    color: var(--heading);
    margin-bottom: 12px;
}

.card-title a {
    color: inherit;
}

.card-title a:hover {
    color: var(--color-terracotta);
}

.card-text {
    color: var(--copy);
    font-size: 16px;
    line-height: 1.6;
}


/* ---------------------------------------------------------------------
   8. EVENTS AND PROGRAMMES (home page)
   --------------------------------------------------------------------- */
.events-list {
    max-width: 850px;
    margin: 0 auto;
}

.event-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 28px 0;
    border-bottom: 1px solid var(--color-border-light);
    gap: 24px;
}

.event-details {
    display: flex;
    align-items: center;
    gap: 24px;
}

.event-date-badge {
    background-color: var(--color-teal);
    color: var(--color-white);
    padding: 16px;
    text-align: center;
    min-width: 80px;
}

.event-day {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 4px;
}

.event-month {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-white);
}

@media (min-width: 768px) {
    .event-item {
        flex-direction: row;
        align-items: center;
    }
}

.program-card {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.program-category {
    color: var(--color-terracotta);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.program-title {
    font-size: 32px;
    color: var(--color-white);
    margin-bottom: 16px;
}

.program-description {
    color: var(--color-beige);
    margin-bottom: 32px;
    line-height: 1.6;
}


/* ---------------------------------------------------------------------
   9. PRODUCTS, STORY, VIDEO, FAQ, CALL TO ACTION (Passion Box)
   --------------------------------------------------------------------- */
.product-card {
    border: 1px solid var(--color-border-light);
    background-color: var(--surface);
    display: flex;
    flex-direction: column;
}

.product-image {
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
}

.product-image--guide {
    background-color: var(--color-teal);
    color: var(--color-white);
    font-size: 44px;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
}

.product-body {
    padding: 28px;
}

.card-text strong,
.story-text strong,
.faq-answer strong {
    color: var(--heading);
    font-weight: 500;
}

.story-text {
    font-size: 19px;
    color: var(--copy);
    font-weight: 300;
    line-height: 1.75;
    margin-bottom: 24px;
}

.story-highlight {
    font-size: 24px;
    color: var(--heading);
    line-height: 1.5;
    margin-top: 40px;
}

.video-frame {
    max-width: 100%;
    margin: 0 auto;
}

.video-frame video {
    display: block;
    width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    .video-frame {
        max-width: 70%;
    }
}

/* FAQ — used by .faq-list (new pages) and .faq (content pages) */
.faq-list,
.faq {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid var(--color-border-light);
}

.faq-item {
    border-bottom: 1px solid var(--color-border-light);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 24px 40px 24px 0;
    position: relative;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
    font-size: 22px;
    color: var(--heading);
}

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

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 300;
    font-size: 28px;
    color: var(--color-terracotta);
}

.faq-item[open] summary::after {
    content: '–';
}

.faq-answer {
    padding: 0 0 28px;
    color: var(--copy-soft);
    font-weight: 300;
}

.faq-answer ul {
    list-style: none;
    display: grid;
    gap: 12px;
}

.faq-item > p {
    color: var(--copy-soft);
    font-weight: 300;
    margin: 0 0 16px;
}

.faq-item > p:last-child {
    margin-bottom: 28px;
}

.cta-title {
    font-size: 36px;
    color: var(--heading);
    margin-bottom: 16px;
}

.cta-text {
    color: var(--copy-soft);
    max-width: 560px;
    margin: 0 auto 32px;
}


/* ---------------------------------------------------------------------
   10. CONTENT PAGES (about, offers, shibari, courses, guides)
   --------------------------------------------------------------------- */
.section {
    padding: 80px 0;
}

.section--muted {
    background-color: var(--color-beige);
}

.section--teal {
    background-color: var(--color-teal);
    color: var(--color-beige);
}

.section__title {
    font-size: clamp(28px, 3.5vw, 36px);
    color: var(--heading);
    text-align: center;
    margin-bottom: 48px;
}

.section--teal .section__title,
.section--teal h2,
.section--teal h3,
.section--teal h4 {
    color: var(--color-white);
}

.logo-strip {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.logo-strip__label {
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
}

.logo-strip__logo {
    height: 32px;
    width: auto;
    opacity: 0.85;
}

.split-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.split-block--reverse { direction: rtl; }
.split-block--reverse > * { direction: ltr; }

.split-block__image img {
    display: block;
    width: 100%;
    height: auto;
}

.split-block__text p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--copy-soft);
    margin: 0 0 var(--space-sm);
}

@media (max-width: 760px) {
    .split-block { grid-template-columns: 1fr; }
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.feature-grid__item img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    margin-bottom: var(--space-sm);
}

.feature-grid__caption {
    font-size: 16px;
    line-height: 1.5;
    color: var(--copy);
}

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

.offer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.offer-card__image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    margin-bottom: var(--space-sm);
}

.offer-card__title {
    font-size: 26px;
    color: var(--heading);
    text-align: center;
    margin-bottom: var(--space-xs);
}

.offer-card__text {
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    color: var(--copy);
    max-width: 420px;
    margin: 0 auto;
}

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

.checklist {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 640px;
    display: grid;
    gap: var(--space-sm);
}

.checklist li {
    font-size: 17px;
    line-height: 1.6;
    padding-left: 30px;
    margin: 0;
    position: relative;
}

.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-terracotta);
    font-weight: 600;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md) var(--space-lg);
    max-width: 900px;
    margin: 0 auto;
}

.benefit-grid__item {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
}

.benefit-grid__icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.benefit-grid__text {
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 700px) {
    .benefit-grid { grid-template-columns: 1fr; }
}

.step-list {
    display: grid;
    gap: var(--space-md);
    max-width: 720px;
    margin: 0 auto;
}

.step {
    border-left: 3px solid var(--color-terracotta);
    padding-left: var(--space-md);
}

.step__title {
    font-size: 22px;
    color: var(--heading);
    margin-bottom: 6px;
}

.step__text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--copy-soft);
    margin: 0;
}

.price-block {
    text-align: center;
    padding: var(--space-lg) 0;
}

.price-block__amount {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
    font-size: 56px;
    color: var(--heading);
    margin: 0;
}

.price-block__label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-terracotta);
    margin: 0 0 var(--space-xs);
}

.fit-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    max-width: 900px;
    margin: 0 auto;
}

.fit-columns h4 {
    font-size: 22px;
    color: var(--heading);
    margin-bottom: var(--space-sm);
}

@media (max-width: 700px) {
    .fit-columns { grid-template-columns: 1fr; }
}


/* ---------------------------------------------------------------------
   11. FOOTER AND NEWSLETTER
   --------------------------------------------------------------------- */
.site-footer {
    background-color: var(--color-teal);
    color: var(--color-beige);
    padding: 40px 0;
}

.site-footer__inner {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.site-footer__links {
    list-style: none;
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.site-footer__link {
    font-size: 15px;
    color: rgba(231, 228, 222, 0.78);
    transition: color 0.2s ease;
}

.site-footer__link:hover {
    color: var(--color-terracotta);
}

.site-footer__social {
    display: flex;
    gap: 16px;
}

.site-footer__social-icon {
    width: 24px;
    height: 24px;
    display: block;
    filter: invert(1);
    opacity: 0.8;
}

.site-footer__social-icon:hover {
    opacity: 1;
}

.signup-form {
    max-width: 420px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.signup-form input {
    padding: 12px 14px;
    border: 1px solid var(--color-border-light);
    font-family: var(--font-body);
    font-size: 15px;
    width: 100%;
}


/* ---------------------------------------------------------------------
   12. DARK THEME — <body class="theme-dark">
   --------------------------------------------------------------------- */
.theme-dark {
    --page-bg: var(--color-deep);
    --page-text: var(--color-beige);
    --heading: var(--color-white);
    --copy: rgba(231, 228, 222, 0.78);
    --copy-soft: rgba(231, 228, 222, 0.78);
    --surface: var(--color-dark);
    --surface-hover: var(--color-teal);
    --color-border-light: rgba(231, 228, 222, 0.18);
}

.theme-dark .site-header__nav-link,
.theme-dark .site-header__dropdown-link,
.theme-dark .site-header__lang-select {
    color: var(--color-beige);
}

.theme-dark .site-header__nav-link:hover {
    color: var(--color-terracotta);
}

.theme-dark .site-footer {
    background-color: var(--color-deep);
    border-top: 1px solid var(--color-border-light);
}


/* ---------------------------------------------------------------------
   13. SINGLE-CARD FORM — <body class="page-form"> (voting form)
   --------------------------------------------------------------------- */
.page-form {
    background-color: var(--color-beige);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.page-form .card {
    width: 100%;
    max-width: 560px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border-light);
    padding: 48px 40px;
}

.page-form .title {
    font-size: 32px;
    line-height: 1.25;
    color: var(--color-teal);
    margin-bottom: 12px;
}

.page-form .subtitle {
    color: #333333;
    font-weight: 300;
    margin-bottom: 32px;
}

.page-form .options {
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
    border: none;
}

.page-form .option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.page-form .option span {
    display: block;
    padding: 16px 20px;
    border: 1px solid var(--color-border-light);
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-form .option span:hover {
    border-color: var(--color-teal);
}

.page-form .option input:checked + span {
    background-color: var(--color-teal);
    border-color: var(--color-teal);
    color: var(--color-white);
}

.page-form .option input:focus-visible + span {
    outline: 2px solid var(--color-terracotta);
    outline-offset: 2px;
}

.page-form .field-label {
    display: block;
    font-size: 14px;
    color: #333333;
    margin-bottom: 8px;
}

.page-form .field {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-border-light);
    font-family: var(--font-body);
    font-size: 16px;
    margin-bottom: 28px;
    background-color: var(--color-white);
}

.page-form .field:focus {
    outline: none;
    border-color: var(--color-teal);
}

.page-form .hp {
    position: absolute;
    left: -9999px;
}

.page-form .btn-primary {
    width: 100%;
    padding: 14px 28px;
}

.page-form .btn-primary:disabled {
    opacity: 0.6;
    cursor: default;
}

.page-form .message {
    margin-top: 16px;
    font-size: 15px;
    color: var(--color-terracotta);
    min-height: 24px;
}

.page-form .thanks {
    display: none;
    text-align: center;
}

.page-form .thanks .title {
    margin-bottom: 16px;
}


/* ---------------------------------------------------------------------
   14. LANDING PAGES
   --------------------------------------------------------------------- */

/* Numbered benefits in two columns */
.benefit-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 56px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    counter-reset: benefit;
}

.benefit-list li {
    counter-increment: benefit;
    display: flex;
    align-items: baseline;
    gap: 20px;
    padding: 20px 0;
    margin: 0;
    border-bottom: 1px solid var(--color-border-light);
    font-size: 18px;
    line-height: 1.5;
    color: var(--copy);
}

.benefit-list li::before {
    content: counter(benefit, decimal-leading-zero);
    flex-shrink: 0;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
    font-size: 22px;
    color: var(--color-terracotta);
    min-width: 32px;
}

@media (min-width: 768px) {
    .benefit-list {
        grid-template-columns: 1fr 1fr;
    }
}

/* Key facts: duration, price, location */
.details-card {
    max-width: 720px;
    margin: 0 auto;
    background-color: var(--color-white);
    border: 1px solid var(--color-border-light);
}

.details-card__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 24px;
    padding: 24px 32px;
    border-bottom: 1px solid var(--color-border-light);
}

.details-card__label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-terracotta);
}

.details-card__value {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
    font-size: 26px;
    color: var(--color-teal);
    text-align: right;
}

.details-card__note {
    padding: 24px 32px 32px;
    color: var(--copy-soft);
    text-align: center;
}

.details-card__note p {
    margin-bottom: 24px;
}

@media (max-width: 500px) {
    .details-card__row {
        padding: 20px;
    }
    .details-card__note {
        padding: 20px 20px 28px;
    }
    .details-card__value {
        font-size: 22px;
    }
}

/* A highlighted statement, e.g. "This is not a performance" */
.callout {
    border-left: 3px solid var(--color-terracotta);
    padding-left: 28px;
}

.callout p {
    color: var(--copy-soft);
    margin-bottom: 12px;
}

.callout p:last-child {
    margin-bottom: 0;
}

/* Lists inside landing sections */
.checklist--left {
    margin: 0;
    max-width: none;
}

.lead {
    font-size: 19px;
    font-weight: 300;
    color: var(--copy);
    margin-bottom: 20px;
}

/* Call-to-action band on teal */
.cta-band .section-title,
.cta-band .cta-title {
    color: var(--color-white);
    margin-bottom: 32px;
}

/* Big photo hero: fills the screen below the header, text centred on it */
.hero--landing {
    --header-h: 73px;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(120svh - var(--header-h));
    align-items: center;
    justify-content: center;
    text-align: center;
    background-position: center;
}

@media (max-width: 900px) {
    .hero--landing {
        --header-h: 240px;
    }
}

.hero--landing::before {
    background: rgba(11, 26, 26, 0.55);
}

.hero--landing .hero__content {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 72px 24px;
}

.hero--landing .hero-eyebrow {
    font-size: 16px;
    letter-spacing: 0.14em;
    margin-bottom: 24px;
}

.hero--landing .hero__title {
    font-size: clamp(48px, 8vw, 96px);
    line-height: 1.05;
    margin-bottom: 28px;
}

.hero--landing .hero__subtitle {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(22px, 2.8vw, 32px);
    line-height: 1.4;
    color: var(--color-beige);
    max-width: 760px;
    margin: 0 auto 40px;
}

.hero--landing .btn-primary {
    font-size: 17px;
    padding: 16px 40px;
}

/* Text beside a smaller photo */
.photo-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.photo-split__image {
    display: block;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .photo-split {
        grid-template-columns: 2fr 3fr;
        gap: 64px;
    }
    .photo-split--reverse > :first-child {
        order: 2;
    }
}

/* Larger card title, for two side-by-side blocks (replaces inline font-size:30px) */
.card-title--lg {
    font-size: 30px;
}

/* Step list placed beside a photo: aligns left instead of centring */
.step-list--left {
    margin: 0;
    max-width: none;
}

/* Newsletter sign-up at the bottom of pages (replaces the inline styles) */
.newsletter {
    max-width: 528px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.newsletter__title {
    font-size: 24px;
    color: var(--heading);
    margin-bottom: var(--space-sm);
}

.newsletter__form {
    display: flex;
    gap: 8px;
}

.newsletter__form input {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid var(--color-border-light);
    font-family: var(--font-body);
    font-size: 15px;
}

.newsletter__form button {
    border: none;
}

/* Visible keyboard focus on links and buttons */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--color-terracotta);
    outline-offset: 3px;
}

/* Space between paragraphs inside FAQ answers */
.faq-answer p + p {
    margin-top: 12px;
}

/* Big centred statement on a dark band (e.g. "How I teach") */
.statement {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(26px, 3.4vw, 40px);
    line-height: 1.35;
    color: var(--color-white);
    text-align: center;
    max-width: 880px;
    margin: 0 auto 64px;
}

/* Short paragraphs in columns, each under a thin rule */
.text-columns p {
    color: rgba(231, 228, 222, 0.78);
    font-weight: 300;
    line-height: 1.7;
    padding-top: 20px;
    border-top: 1px solid rgba(231, 228, 222, 0.25);
}

/* Details card with a side column (e.g. "Good to know") */
.details-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
    max-width: 1040px;
    margin: 0 auto;
}

.details-layout .details-card {
    max-width: none;
    margin: 0;
}

@media (min-width: 900px) {
    .details-layout {
        grid-template-columns: 3fr 2fr;
        gap: 56px;
    }
}

/* Eyebrow used as a heading: keep the label font, not the title font */
h2.hero-eyebrow,
h3.hero-eyebrow {
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 600;
}

/* FAQ: smooth open and close.
   The answer fades and slides in everywhere; browsers that support
   ::details-content (Chrome, Edge, Safari 18.4+) also animate the height. */
:root {
    interpolate-size: allow-keywords;
}

.faq-item::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size 0.35s ease, content-visibility 0.35s ease allow-discrete;
}

.faq-item[open]::details-content {
    block-size: auto;
}

.faq-item[open] .faq-answer {
    animation: faq-reveal 0.35s ease;
}

@keyframes faq-reveal {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.faq-item summary::after {
    transition: color 0.2s ease;
}

.faq-item summary:hover::after {
    color: var(--heading);
}

@media (prefers-reduced-motion: reduce) {
    .faq-item::details-content { transition: none; }
    .faq-item[open] .faq-answer { animation: none; }
}

/* Timeline: how an event unfolds, step by step, centred */
.timeline {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    counter-reset: timeline;
    text-align: center;
}

.timeline__item {
    counter-increment: timeline;
    position: relative;
    padding-top: 68px;
    max-width: 360px;
    margin: 0 auto;
}

.timeline__item::before {
    content: counter(timeline);
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-terracotta);
    border-radius: 50% !important;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
    font-size: 20px;
    color: var(--color-terracotta);
    background-color: var(--page-bg);
}

.timeline__title {
    font-size: 22px;
    color: var(--heading);
    margin-bottom: 8px;
}

.timeline__text {
    color: var(--copy-soft);
    font-size: 16px;
    line-height: 1.6;
}

@media (min-width: 860px) {
    .timeline {
        grid-template-columns: repeat(3, 1fr);
    }
    .timeline__item {
        max-width: none;
        margin: 0;
    }
    /* Line joining the numbers */
    .timeline__item:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 22px;
        left: calc(50% + 38px);
        right: calc(-50% - 10px);
        border-top: 1px solid var(--color-border-light);
    }
}

/* Fact tiles: short label + value, e.g. price, language, what to bring */
.fact-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 1000px;
    margin: 0 auto;
    border-top: 1px solid var(--color-border-light);
    border-left: 1px solid var(--color-border-light);
    background-color: var(--surface);
}

.fact-grid__item {
    padding: 28px;
    border-right: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}

.fact-grid__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-terracotta);
    margin-bottom: 10px;
}

.fact-grid__value {
    color: var(--copy);
    font-size: 16px;
    line-height: 1.6;
}

.fact-grid__value--big {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
    font-size: 30px;
    line-height: 1.2;
    color: var(--heading);
}

@media (min-width: 640px) {
    .fact-grid { grid-template-columns: repeat(2, 1fr); }
    .fact-grid__item--wide { grid-column: span 2; }
}

@media (min-width: 960px) {
    .fact-grid { grid-template-columns: repeat(6, 1fr); }
    .fact-grid__item { grid-column: span 2; }
    .fact-grid__item--wide { grid-column: span 3; }
}

/* A warm personal note below a block of facts */
.note {
    max-width: 720px;
    margin: 48px auto 0;
    text-align: center;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 20px;
    line-height: 1.55;
    color: var(--heading);
}

/* Reversed photo split: text keeps the wider column */
@media (min-width: 768px) {
    .photo-split--reverse {
        grid-template-columns: 3fr 2fr;
    }
}

/* Whole paragraph in the italic title font, on a coloured band */
.lead-italic {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(22px, 2.6vw, 30px);
    line-height: 1.5;
    color: var(--color-white);
}

/* Inline text link */
.text-link {
    color: var(--color-terracotta);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.text-link:hover {
    color: var(--heading);
}

/* Full-width photo band that stays still while the page scrolls past it.
   Phones and tablets don't support fixed backgrounds well, so there it scrolls normally. */
.photo-band {
    background-color: var(--color-deep);
    min-height: 420px;
    height: 70vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

@media (max-width: 900px), (hover: none) {
    .photo-band {
        height: 50vh;
        min-height: 300px;
        background-attachment: scroll;
    }
}

/* Pillars: three short ideas side by side, each under a terracotta rule */
.pillars {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1080px;
    margin: 0 auto;
}

.pillar {
    border-top: 2px solid var(--color-terracotta);
    padding-top: 24px;
}

.pillar__title {
    font-size: 24px;
    color: var(--heading);
    margin-bottom: 12px;
}

.pillar__text {
    color: var(--copy-soft);
    font-size: 16px;
    line-height: 1.7;
}

@media (min-width: 860px) {
    .pillars {
        grid-template-columns: repeat(3, 1fr);
        gap: 48px;
    }
}

/* Persona cards: "this is for you if..." */
.persona-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1080px;
    margin: 0 auto;
}

.persona-card {
    background-color: var(--surface);
    border: 1px solid var(--color-border-light);
    padding: 36px 32px;
}

.persona-card__index {
    display: block;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 40px;
    line-height: 1;
    color: var(--color-terracotta);
    margin-bottom: 20px;
}

.persona-card__title {
    font-size: 22px;
    line-height: 1.35;
    color: var(--heading);
    margin-bottom: 14px;
}

.persona-card__text {
    color: var(--copy-soft);
    font-size: 16px;
    line-height: 1.7;
}

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

/* Text block placed beside the details card */
.details-aside p {
    color: var(--copy-soft);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Price shown just above a buy/order button */
.price-tag {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
    font-size: 40px;
    line-height: 1;
    color: var(--heading);
    margin: 0 0 24px;
}

/* Media logos: centred row; --dark turns a white logo dark so it shows on light backgrounds */
.logo-strip--center {
    justify-content: center;
}

.logo-strip__logo--dark {
    filter: brightness(0);
}

/* Short line of text under the newsletter heading */
.newsletter__text {
    color: var(--copy-soft);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Section titles marked white on dark bands (e.g. home page online courses) */
.section-title.text-white {
    color: var(--color-white);
}

/* Coaching packages on a dark green band (BG offers page) */
.packages__intro {
    color: var(--color-beige);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

.package-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 1080px;
    margin: 0 auto;
}

.packages .package-card {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px 36px;
}

.packages .package-card__title {
    font-size: 28px;
    line-height: 1.25;
    color: var(--color-white);
    margin-bottom: 12px;
}

.packages .package-card__tag {
    display: block;
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-terracotta);
    margin-top: 8px;
}

.packages .package-card__price {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
    font-size: 30px;
    color: var(--color-white);
    margin-bottom: 16px;
}

.packages .package-card__unit {
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 300;
    font-size: 15px;
    color: var(--color-beige);
}

.packages .package-card__desc {
    color: var(--color-beige);
    line-height: 1.7;
    margin-bottom: 16px;
}

.packages .faq-item {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.packages .faq-item summary {
    font-size: 18px;
    padding: 18px 36px 18px 0;
    color: var(--color-white);
}

.packages .faq-answer {
    color: var(--color-beige);
    padding-bottom: 20px;
}

.packages__cta {
    margin-top: 56px;
}

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

/* Space between consecutive intro paragraphs */
.intro-text + .intro-text {
    margin-top: 20px;
}

/* Full-photo heroes: the photo stays still and the text scrolls over it.
   Phones and tablets don't handle fixed backgrounds well, so there the photo scrolls normally. */
.hero--landing {
    background-attachment: fixed;
}

@media (max-width: 900px), (hover: none) {
    .hero--landing {
        background-attachment: scroll;
    }
}
