/* --- Global Variables & Reset --- */
:root {
    --bg-color: #f4f4f4;
    --paper: #fffef8;
    --muted: #eceee4;
    --text-color: #111111;
    --soft-text: #45483f;
    --green: #173f2f;
    --green-2: #245c43;
    --green-3: #0d271d;
    --lime: #c7d98c;
    --cream: #faf9f0;
    --border: rgba(23, 63, 47, 0.16);
    --shadow: 0 24px 60px rgba(22, 45, 34, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

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

svg {
    display: block;
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Typography --- */
.headline {
    font-family: 'Playfair Display', serif;
    font-size: 96px;
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.04em;
    text-align: center;
    margin-bottom: 2rem;
}

.subheadline {
    font-family: 'Space Mono', monospace;
    font-size: 17px;
    line-height: 1.8;
    text-align: center;
    color: #444;
    max-width: 680px;
    margin: 0 auto;
}

.eyebrow {
    font-family: 'Space Mono', monospace;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green-2);
    text-align: center;
    margin-bottom: 1.1rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 45px;
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.section-text {
    font-family: 'Space Mono', monospace;
    color: var(--soft-text);
    font-size: 18px;
    line-height: 1.85;
    margin-top: 1.6rem;
    max-width: 620px;
}

.center-copy {
    max-width: 860px;
    margin: 0 auto 3.4rem;
    text-align: center;
}

.center-copy .section-text {
    margin-left: auto;
    margin-right: auto;
}

.section-copy .eyebrow,
.expert-copy .eyebrow,
.gift-card .eyebrow,
.final-container .eyebrow {
    text-align: left;
}

/* --- HEADER --- */
.top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 0;
    font-family: 'Space Mono', monospace;
    font-size: 16px;
    line-height: 1.4;
    color: #333;
    z-index: 10;
}

.top-bar-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    gap: 1.5rem;
}

.top-left {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    color: var(--green);
}

.logo-image {
    display: block;
    width: 200px;
    height: auto;
}

.logo-image-light {
    display: none;
}

.top-nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 7px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.top-nav a,
.footer-links a {
    transition: color 0.25s ease, opacity 0.25s ease;
}

.top-nav a:hover,
.footer-links a:hover {
    color: var(--green-2);
}

.top-right {
    text-align: right;
}

.online-label {
    display: block;
}

.clock-row {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 2px;
}

.accessibility-toggle {
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: rgba(255, 254, 248, 0.82);
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.accessibility-toggle svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.accessibility-toggle:hover,
.accessibility-toggle:focus-visible {
    background: var(--green);
    color: var(--paper);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(23, 63, 47, 0.18);
    outline: none;
}

body.accessibility-mode .accessibility-toggle {
    background: var(--green);
    color: var(--paper);
    box-shadow: 0 0 0 3px rgba(23, 63, 47, 0.18);
}

/* --- MAIN CONTENT --- */
.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 8rem;
}

/* --- HERO SECTION --- */
.hero-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 3.5rem;
    position: relative;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.hero-image-container {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes softAppear {
    0% { opacity: 0; filter: blur(10px); transform: translateY(20px) scale(0.98); }
    100% { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
}

.hero-video {
    width: 100%;
    max-width: 530px;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0;
    background: var(--bg-color);
    pointer-events: none;
    animation: softAppear 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    transition: none;
    box-shadow: none;
}

.hero-video:hover {
    transform: none;
    box-shadow: none;
}

.floating-text {
    position: absolute;
    left: -100px;
    top: 20%;
    font-family: 'Caveat', cursive;
    font-size: 19px;
    line-height: 1;
    transform: rotate(-15deg);
    color: var(--green);
    letter-spacing: 0.1em;
    z-index: 2;
    animation: floatHand 4.5s ease-in-out infinite;
}

@keyframes floatHand {
    0%, 100% { transform: rotate(-15deg) translateY(0); }
    50% { transform: rotate(-12deg) translateY(-10px); }
}

.text-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Button */
.action-btn {
    background-color: var(--green);
    border: none;
    border-radius: 50px;
    padding: 0.8rem 1.8rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
}

.btn-text {
    color: #FAF9F6;
    font-family: 'Space Mono', monospace;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(23, 63, 47, 0.24);
    background-color: var(--green-3);
}

.ghost-btn {
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: 'Space Mono', monospace;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(255, 255, 255, 0.38);
    transition: all 0.3s ease;
}

.ghost-btn:hover {
    background: var(--paper);
    transform: translateY(-2px);
}

.ghost-btn.dark {
    border-color: rgba(255, 255, 255, 0.24);
    color: var(--paper);
    background: rgba(255, 255, 255, 0.08);
}

.ghost-btn.dark:hover {
    background: rgba(255, 255, 255, 0.16);
}


.btn-icon,
.messenger-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
}

.ghost-btn .btn-icon,
.ghost-btn .messenger-icon {
    fill: currentColor;
}

.action-btn .btn-icon,
.action-btn .messenger-icon {
    fill: #FAF9F6;
}

/* --- Sections --- */
.section {
    padding: 7rem 0;
    position: relative;
}

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


.section-grid {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: 4rem;
    align-items: start;
}

.reverse-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.cards-grid {
    display: grid;
    gap: 1rem;
}

.two-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    background: rgba(255, 254, 248, 0.78);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.35rem;
    min-height: 220px;
    box-shadow: 0 12px 38px rgba(22, 45, 34, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(23, 63, 47, 0.34);
    box-shadow: 0 18px 48px rgba(22, 45, 34, 0.1);
}

.icon-box {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: var(--cream);
    margin-bottom: 1.2rem;
}

.icon-box svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.card h3,
.format-card h3,
.tariff-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 27px;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1;
}

.card p,
.format-card p,
.tariff-card p,
.gift-card p,
.final-container p,
.photo-placeholder span,
.footer-container p {
    font-family: 'Space Mono', monospace;
    font-size: 17px;
    color: var(--soft-text);
    line-height: 1.75;
    margin-top: 1rem;
}

.program-grid .card {
    min-height: 245px;
}

/* --- Intro strip --- */
.intro-strip {
    padding: 1.2rem 0 3.6rem;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.intro-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.intro-item span,
.step span,
.format-card span,
.tariff-label,
.mini-label {
    font-family: 'Space Mono', monospace;
    font-size: 15px;
    color: var(--green-2);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.intro-item p {
    font-family: 'Space Mono', monospace;
    font-size: 16px;
    line-height: 1.55;
    color: var(--soft-text);
}

/* --- Steps --- */
.steps-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.step {
    min-height: 210px;
    padding: 1.5rem;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background 0.3s ease;
}

.step:last-child {
    border-right: 0;
}

.step:hover {
    background: rgba(255, 254, 248, 0.72);
}

.step p {
    font-family: 'Space Mono', monospace;
    font-size: 17px;
    line-height: 1.75;
    color: var(--soft-text);
}

@keyframes ambientPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.92);
    }
}

/* --- Formats --- */
.formats-section {
    background: var(--green);
    color: var(--paper);
    overflow: hidden;
}

.formats-section::before {
    content: "";
    position: absolute;
    inset: auto -180px -260px auto;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(199, 217, 140, 0.18);
    filter: blur(2px);
    animation: ambientPulse 7.5s ease-in-out infinite;
    transform-origin: center center;
}

.format-panel {
    position: relative;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.04);
}

.format-panel h2,
.gift-card h2,
.final-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 45px;
    line-height: 0.96;
    font-weight: 500;
    letter-spacing: -0.045em;
}

.format-panel p {
    color: rgba(250, 249, 240, 0.78);
    font-family: 'Space Mono', monospace;
    font-size: 18px;
    line-height: 1.9;
    margin-top: 1.6rem;
}

.mini-label {
    color: var(--lime);
    margin-bottom: 1.3rem;
}

.format-cards {
    display: grid;
    gap: 1rem;
}

.format-card {
    padding: 2rem;
    min-height: 250px;
    border-radius: 22px;
    background: var(--green-3);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.35s ease, background 0.35s ease;
}

.format-card:hover {
    transform: translateX(8px);
    background: #123526;
}

.format-card p {
    color: rgba(250, 249, 240, 0.74);
}

.format-card.light-card {
    background: var(--paper);
    color: var(--text-color);
}

.format-card.light-card p {
    color: var(--soft-text);
}

/* --- Tariffs --- */
.tariff-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.tariff-card {
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--paper);
    padding: 2rem;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.tariff-card.featured {
    background: var(--green);
    color: var(--paper);
}

.tariff-card.featured::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(199, 217, 140, 0.2);
    right: -100px;
    top: -100px;
    animation: ambientPulse 6.8s ease-in-out infinite;
    transform-origin: center center;
}

.tariff-top,
.tariff-card ul,
.tariff-card a {
    position: relative;
    z-index: 1;
}

.tariff-label {
    display: inline-flex;
    margin-bottom: 1rem;
    color: var(--green-2);
}

.tariff-card.featured .tariff-label {
    color: var(--lime);
}

.tariff-card h3 {
    font-size: 48px;
}

.tariff-card p {
    max-width: 430px;
}

.tariff-card.featured p,
.tariff-card.featured li {
    color: rgba(250, 249, 240, 0.82);
}

.tariff-card ul {
    list-style: none;
    margin: 2rem 0;
    display: grid;
    gap: 0.9rem;
}

.tariff-card li {
    font-family: 'Space Mono', monospace;
    color: var(--soft-text);
    font-size: 17px;
    line-height: 1.55;
    padding-left: 1.5rem;
    position: relative;
}

.tariff-card li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--green-2);
}

.tariff-card.featured li::before {
    color: var(--lime);
}

.tariff-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 999px;
    background: var(--paper);
    color: var(--green);
    font-family: 'Space Mono', monospace;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.95rem 1.4rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tariff-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.tariff-btn.outline {
    background: var(--green);
    color: var(--paper);
}

/* --- Corporate tariff --- */
.corporate-tariff {
    grid-column: 1 / -1;
    min-height: auto;
    background: linear-gradient(135deg, rgba(255, 254, 248, 0.94), rgba(236, 238, 228, 0.92));
}

.corporate-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.75fr);
    gap: 2rem 3rem;
    align-items: start;
}

.corporate-tariff .tariff-top {
    align-self: start;
}

.corporate-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.corporate-tariff ul {
    margin: 0;
    align-self: start;
}

.corporate-tariff .tariff-btn {
    width: max-content;
}

.corporate-tariff .tariff-price span {
    display: block;
    margin-top: 0.65rem;
}

@keyframes bookFloat {
    0%, 100% {
        transform: translateY(0) rotate(-1deg);
    }
    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

/* --- Book promo in tariffs --- */
.book-promo {
    grid-column: 1 / -1;
    margin-top: 5rem;
    border-radius: 30px;
    background: var(--green);
    color: var(--paper);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: 2rem;
    align-items: center;
    padding: 2.4rem 2.6rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.book-promo::before,
.book-promo::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(199, 217, 140, 0.14);
    transform-origin: center center;
    animation: ambientPulse 7.4s ease-in-out infinite;
}

.book-promo::before {
    width: 360px;
    height: 360px;
    right: -120px;
    top: -130px;
}

.book-promo::after {
    width: 260px;
    height: 260px;
    left: 48%;
    bottom: -150px;
    animation-duration: 8.2s;
}

.book-promo-copy,
.book-promo-visual {
    position: relative;
    z-index: 1;
}

.book-label {
    color: rgba(250, 249, 240, 0.88);
}

.book-promo h3 {
    font-family: 'Playfair Display', serif;
    font-size: 58px;
    font-weight: 500;
    line-height: 0.97;
    letter-spacing: -0.05em;
    max-width: 720px;
}

.book-promo p {
    font-family: 'Space Mono', monospace;
    font-size: 18px;
    line-height: 1.8;
    color: rgba(250, 249, 240, 0.84);
    max-width: 640px;
    margin-top: 1.4rem;
}

.book-price {
    font-family: 'Playfair Display', serif;
    font-size: 68px;
    line-height: 1;
    letter-spacing: -0.045em;
    margin-top: 1.8rem;
}

.book-btn {
    margin-top: 1.3rem;
    width: max-content;
    min-width: 240px;
}

.book-note {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(250, 249, 240, 0.72);
}

.book-note svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex: 0 0 auto;
}

.book-promo-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-cover-image {
    width: 100%;
    max-width: 330px;
    height: auto;
    display: block;
    filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.22));
    animation: bookFloat 6.4s ease-in-out infinite;
    transform-origin: center bottom;
    will-change: transform;
}

/* --- Expert --- */
.expert-section {
    background: var(--paper);
}

.expert-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.expert-photo {
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(23, 63, 47, 0.12), rgba(199, 217, 140, 0.34));
    padding: 1.2rem;
}

.photo-placeholder {
    aspect-ratio: 4 / 5;
    border-radius: 22px;
    background: rgba(255, 254, 248, 0.72);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.photo-placeholder svg {
    width: 82px;
    height: 82px;
    fill: var(--green);
    margin-bottom: 1rem;
}

.docs-list {
    display: grid;
    gap: 0.8rem;
    margin-top: 2rem;
}

.docs-list div {
    font-family: 'Space Mono', monospace;
    font-size: 17px;
    color: var(--soft-text);
    line-height: 1.65;
    border-top: 1px solid var(--border);
    padding-top: 0.8rem;
}

.docs-list span {
    color: var(--green-2);
    margin-right: 0.5rem;
}


.expert-methods {
    margin-top: 3rem;
    padding-top: 2.4rem;
    border-top: 1px solid var(--border);
}

.method-intro {
    font-family: 'Space Mono', monospace;
    font-size: 17px;
    line-height: 1.85;
    color: var(--soft-text);
    max-width: 980px;
}

.method-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1.4rem;
}

.method-card {
    background: rgba(255, 254, 248, 0.82);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.15rem;
    min-height: 190px;
    box-shadow: 0 12px 38px rgba(22, 45, 34, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.method-card:hover {
    transform: translateY(-4px);
    border-color: rgba(23, 63, 47, 0.34);
    box-shadow: 0 18px 48px rgba(22, 45, 34, 0.1);
}

.small-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 0.95rem;
}

.method-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.035em;
    color: var(--text-color);
}

.method-card p {
    font-family: 'Space Mono', monospace;
    font-size: 15px;
    line-height: 1.65;
    color: var(--soft-text);
    margin-top: 0.75rem;
}

.expert-videos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
    margin-top: 1.8rem;
}

.video-frame {
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(23, 63, 47, 0.12), rgba(199, 217, 140, 0.34));
    padding: 1.2rem;
}

.video-placeholder-inner {
    aspect-ratio: 16 / 9;
    border-radius: 22px;
    background: rgba(255, 254, 248, 0.72);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
}

.video-placeholder-inner svg {
    width: 72px;
    height: 72px;
    fill: var(--green);
    margin-bottom: 0.9rem;
}

.video-placeholder-inner span {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -0.04em;
    color: var(--text-color);
}

.video-placeholder-inner p {
    margin-top: 0.8rem;
    max-width: 440px;
    font-family: 'Space Mono', monospace;
    font-size: 15px;
    line-height: 1.7;
    color: var(--soft-text);
}

/* --- Reviews & Qualification --- */
.proof-section {
    overflow: hidden;
}

.proof-heading {
    margin-bottom: 2.5rem;
}

.proof-block + .proof-block {
    margin-top: 3rem;
}

.proof-block-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
}

.proof-title-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 760px;
}

.proof-icon {
    flex: 0 0 auto;
}

.proof-title-row h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -0.035em;
}

.proof-title-row p,
.doc-caption,
.review-caption span {
    font-family: 'Space Mono', monospace;
    font-size: 16px;
    line-height: 1.75;
    color: var(--soft-text);
    margin-top: 0.55rem;
}

.slider-controls {
    display: inline-flex;
    gap: 0.75rem;
    flex: 0 0 auto;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.72);
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.slider-btn svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.slider-btn:hover {
    transform: translateY(-2px);
    background: var(--paper);
    box-shadow: 0 12px 28px rgba(22,45,34,0.10);
}

.slider-shell {
    overflow: hidden;
}

.proof-slider {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    padding: 0.1rem 0 0.6rem;
}

.proof-slider::-webkit-scrollbar {
    display: none;
}

.slider-card {
    scroll-snap-align: start;
    flex: 0 0 calc((100% - 2rem) / 3);
}

.review-card,
.doc-card {
    background: rgba(255,254,248,0.86);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 1rem;
    box-shadow: 0 12px 38px rgba(22,45,34,0.05);
}

.review-shot {
    background: linear-gradient(135deg, rgba(214,224,185,0.96), rgba(196,211,171,0.75));
    border-radius: 18px;
    padding: 0.9rem;
    min-height: 196px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-shot.light {
    background: linear-gradient(135deg, rgba(215,220,176,0.96), rgba(224,232,198,0.75));
}

.review-shot.soft {
    background: linear-gradient(135deg, rgba(213,225,205,0.96), rgba(198,217,188,0.75));
}

.review-bubble {
    background: rgba(255,255,255,0.95);
    border-radius: 16px;
    padding: 0.9rem 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.55;
    color: #242424;
    box-shadow: inset 0 0 0 1px rgba(23,63,47,0.05);
}

.review-meta-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    color: rgba(69,72,63,0.8);
    margin-top: 0.65rem;
    padding: 0 0.25rem;
}

.review-caption {
    padding: 0.95rem 0.15rem 0.1rem;
}

.review-caption strong {
    display: block;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 500;
    font-family: 'Playfair Display', serif;
}

.doc-preview {
    min-height: 205px;
    border-radius: 18px;
    background: #fbfbf8;
    border: 1px solid rgba(23,63,47,0.10);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.2rem;
    position: relative;
    overflow: hidden;
}

.doc-preview::before {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 14px;
    border: 1px solid rgba(23,63,47,0.15);
}

.doc-preview.dark-ribbon::after {
    content: '';
    position: absolute;
    left: -22px;
    top: -28px;
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, #17233f, #3a4e84);
    transform: rotate(25deg);
}

.doc-preview.green-frame::before {
    border: 2px solid rgba(78,126,98,0.42);
}

.doc-preview.classic-frame::before {
    border: 2px solid rgba(142,118,80,0.34);
}

.doc-preview.soft-certificate {
    background: linear-gradient(180deg, #fcfcfb, #f6f5ef);
}

.doc-mark,
.doc-preview strong,
.doc-preview p {
    position: relative;
    z-index: 1;
}

.doc-mark {
    display: inline-flex;
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--green-2);
    margin-bottom: 0.65rem;
}

.doc-preview strong {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.doc-preview p {
    margin-top: 0.75rem;
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    line-height: 1.65;
    color: var(--soft-text);
    max-width: 220px;
}

.doc-caption {
    text-align: center;
    padding: 0.95rem 0.3rem 0.1rem;
    margin-top: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.slider-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(23,63,47,0.18);
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease;
}

.slider-dots button.is-active {
    background: var(--green);
    transform: scale(1.15);
}

.qualification-note {
    max-width: 760px;
    margin: 2.5rem auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: left;
}

.qualification-note-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    border: 1px solid rgba(23, 63, 47, 0.18);
    border-radius: 50%;
    color: var(--green-2);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 254, 248, 0.62);
}

.qualification-note-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.qualification-note p {
    font-family: 'Space Mono', monospace;
    font-size: 16px;
    line-height: 1.75;
    color: var(--soft-text);
}

/* --- Gift --- */
.gift-section {
    padding-top: 4.5rem;
    background: #eceee4;
}

.gift-card {
    border-radius: 30px;
    background: var(--green);
    color: var(--paper);
    padding: clamp(2rem, 5vw, 4rem);
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 2rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.gift-card::after {
    content: "";
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(199, 217, 140, 0.16);
    position: absolute;
    right: -120px;
    top: -120px;
    animation: ambientPulse 7.2s ease-in-out infinite;
    transform-origin: center center;
}

.gift-card .eyebrow,
.gift-card p {
    color: rgba(250, 249, 240, 0.8);
}

.gift-badge {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--paper);
    color: var(--green);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-self: end;
    position: relative;
    z-index: 1;
    animation: slowPulse 3.5s ease-in-out infinite;
}

.gift-badge span {
    font-family: 'Playfair Display', serif;
    font-size: 96px;
    line-height: 0.8;
}

.gift-badge p {
    color: var(--green);
    margin-top: 0.4rem;
}

@keyframes slowPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

/* --- FAQ --- */
.faq-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.faq-list {
    display: grid;
    gap: 0.8rem;
}

details {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 254, 248, 0.78);
    padding: 1.1rem 1.2rem;
    transition: background 0.25s ease;
}

details[open] {
    background: var(--paper);
}

summary {
    cursor: pointer;
    font-family: 'Playfair Display', serif;
    font-size: 23px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "+";
    float: right;
    font-family: 'Space Mono', monospace;
    color: var(--green-2);
}

details[open] summary::after {
    content: "−";
}

details p {
    font-family: 'Space Mono', monospace;
    font-size: 17px;
    color: var(--soft-text);
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 620px;
}

/* --- Final CTA --- */
.final-cta {
    background: var(--green-3);
    color: var(--paper);
    padding: 7rem 0;
}

.final-container {
    text-align: center;
    max-width: 900px;
}

.final-container .eyebrow {
    text-align: center;
    color: var(--lime);
}

.final-container p {
    color: rgba(250, 249, 240, 0.76);
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
}

.final-container small {
    display: block;
    max-width: 760px;
    margin: 2rem auto 0;
    color: rgba(250, 249, 240, 0.52);
    font-family: 'Space Mono', monospace;
    font-size: 15px;
    line-height: 1.7;
}

/* --- FOOTER --- */
.bottom-footer {
    padding: 2rem 0 4rem;
    background: var(--green-3);
    color: var(--paper);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 2rem;
}
.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-left: auto;
    min-height: 150px;
}


.bottom-footer .logo {
    color: var(--paper);
}

.bottom-footer .logo-image-green {
    display: none;
}

.bottom-footer .logo-image-light {
    display: block;
}

.footer-container p,
.footer-links a {
    color: rgba(250, 249, 240, 0.6);
}

.footer-copy {
    margin-top: 0.65rem;
    font-size: 14px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-family: 'Space Mono', monospace;
    font-size: 16px;
    text-transform: uppercase;
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cards-grid .reveal:nth-child(2),
.steps-list .reveal:nth-child(2) { transition-delay: 0.06s; }
.cards-grid .reveal:nth-child(3),
.steps-list .reveal:nth-child(3) { transition-delay: 0.12s; }
.cards-grid .reveal:nth-child(4),
.steps-list .reveal:nth-child(4) { transition-delay: 0.18s; }
.cards-grid .reveal:nth-child(5),
.steps-list .reveal:nth-child(5) { transition-delay: 0.24s; }
.cards-grid .reveal:nth-child(6) { transition-delay: 0.30s; }


/* --- Accessibility version --- */
body.accessibility-mode {
    --bg-color: #ffffff;
    --paper: #ffffff;
    --muted: #f1f1f1;
    --text-color: #000000;
    --soft-text: #111111;
    --green: #003f2f;
    --green-2: #005941;
    --green-3: #00271e;
    --border: rgba(0, 0, 0, 0.34);
    background: #ffffff;
    color: #000000;
}

body.accessibility-mode *,
body.accessibility-mode *::before,
body.accessibility-mode *::after {
    animation: none !important;
    transition: none !important;
}

body.accessibility-mode .reveal {
    opacity: 1;
    transform: none;
}

body.accessibility-mode a:not(.action-btn):not(.ghost-btn):not(.tariff-btn) {
    text-decoration: underline;
    text-underline-offset: 4px;
}

body.accessibility-mode .top-bar {
    background: #f6f4f4;
}

body.accessibility-mode .logo-image {
    width: 210px;
}

body.accessibility-mode .top-nav {
    font-size: 20px;
}

body.accessibility-mode .headline {
    font-size: 104px;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

body.accessibility-mode .eyebrow {
    font-size: 24px;
    line-height: 1.45;
    letter-spacing: 0.08em;
}

body.accessibility-mode .subheadline,
body.accessibility-mode .section-text,
body.accessibility-mode .format-panel p,
body.accessibility-mode .card p,
body.accessibility-mode .format-card p,
body.accessibility-mode .tariff-card p,
body.accessibility-mode .tariff-card li,
body.accessibility-mode .step p,
body.accessibility-mode .intro-item p,
body.accessibility-mode .docs-list div,
body.accessibility-mode .method-intro,
body.accessibility-mode .method-card p,
body.accessibility-mode details p,
body.accessibility-mode .gift-card p,
body.accessibility-mode .final-container p,
body.accessibility-mode .final-container small,
body.accessibility-mode .footer-container p {
    font-size: 22px;
    line-height: 1.85;
}

body.accessibility-mode .section-title,
body.accessibility-mode .format-panel h2,
body.accessibility-mode .gift-card h2,
body.accessibility-mode .final-container h2 {
    font-size: 56px;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

body.accessibility-mode .card h3,
body.accessibility-mode .format-card h3,
body.accessibility-mode .tariff-card h3,
body.accessibility-mode .method-card h3,
body.accessibility-mode summary {
    font-size: 34px;
    line-height: 1.15;
}

body.accessibility-mode .btn-text,
body.accessibility-mode .ghost-btn,
body.accessibility-mode .tariff-btn {
    font-size: 22px;
}

body.accessibility-mode .intro-item span,
body.accessibility-mode .step span,
body.accessibility-mode .format-card span,
body.accessibility-mode .tariff-label,
body.accessibility-mode .mini-label {
    font-size: 20px;
}

body.accessibility-mode .tariff-price {
    font-size: 68px;
}

body.accessibility-mode .tariff-price span {
    font-size: 22px;
}

body.accessibility-mode .card,
body.accessibility-mode details,
body.accessibility-mode .tariff-card,
body.accessibility-mode .format-card,
body.accessibility-mode .method-card,
body.accessibility-mode .format-panel {
    border-width: 2px;
}

body.accessibility-mode .hero-section {
    background: #f6f4f4;
}

body.accessibility-mode .hero-video {
    background: #f6f4f4;
    opacity: 1;
}

body.accessibility-mode :focus-visible {
    outline: 4px solid #000000;
    outline-offset: 4px;
}

/* --- Responsive --- */
@media (max-width: 980px) {
    .top-bar-container {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .top-left {
        flex-direction: column;
        align-items: center;
    }

    .top-right {
        text-align: center;
    }

    .clock-row {
        justify-content: center;
    }

    .content {
        padding-top: 14rem;
    }

    .section-grid,
    .reverse-grid,
    .expert-grid,
    .faq-grid,
    .gift-card {
        grid-template-columns: 1fr;
    }

    .section-copy .eyebrow,
    .expert-copy .eyebrow,
    .gift-card .eyebrow {
        text-align: center;
    }

    .section-copy,
    .expert-copy,
    .gift-card {
        text-align: center;
    }

    .section-text {
        margin-left: auto;
        margin-right: auto;
    }

    .three-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .steps-list {
        grid-template-columns: 1fr;
    }

    .step {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--border);
        gap: 1.5rem;
    }

    .step:last-child {
        border-bottom: 0;
    }

    .tariff-grid,
    .intro-grid {
        grid-template-columns: 1fr;
    }

    .method-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .corporate-content {
        grid-template-columns: 1fr;
    }

    .corporate-side {
        align-items: stretch;
    }

    .corporate-tariff .tariff-btn {
        width: 100%;
    }

    .gift-badge {
        justify-self: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.2rem;
    }

    .top-nav {
        display: none;
    }

    .floating-text {
        left: 0;
        top: -40px;
    }

    .hero-video {
        max-width: 90vw;
    }

    .content {
        padding-top: 11.5rem;
    }

    .headline {
        font-size: 64px;
    }

    .section {
        padding: 5rem 0;
    }

    .two-columns,
    .three-columns,
    .method-cards {
        grid-template-columns: 1fr;
    }

    .card,
    .method-card {
        min-height: auto;
    }

    .tariff-card {
        min-height: auto;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* --- Requested updates v3 --- */
.ghost-btn {
    font-size: 20px;
}

.ghost-btn.dark .btn-text {
    font-size: 20px;
    color: var(--paper);
}

.format-note {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-family: 'Space Mono', monospace;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(250, 249, 240, 0.78);
}

.format-note strong {
    color: var(--lime);
    font-weight: 700;
}

.format-card.light-card .format-note {
    border-top-color: var(--border);
    color: var(--soft-text);
}

.format-card.light-card .format-note strong {
    color: var(--green-2);
}

.tariff-price {
    margin-top: 22px;
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    line-height: 0.95;
    font-weight: 600;
    letter-spacing: -0.05em;
    color: var(--green);
}

.tariff-price span {
    font-family: 'Space Mono', monospace;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 0;
    color: var(--soft-text);
}

.tariff-card.featured .tariff-price {
    color: var(--paper);
}

.tariff-card.featured .tariff-price span {
    color: rgba(250, 249, 240, 0.72);
}

.expert-img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    border-radius: 22px;
    border: 1px solid var(--border);
    background: var(--bg-color);
}

@media (max-width: 768px) {
    .tariff-price {
        font-size: 44px;
    }

    .tariff-price span {
        font-size: 16px;
    }
}




@media (max-width: 640px) {
    .logo-image {
        width: 138px;
    }

    body.accessibility-mode .logo-image {
        width: 170px;
    }
}

body.accessibility-mode .formats-section::before,
body.accessibility-mode .tariff-card.featured::after,
body.accessibility-mode .gift-card::after,
body.accessibility-mode .book-promo::before,
body.accessibility-mode .book-promo::after,
body.accessibility-mode .book-cover-image {
    animation: none;
}

body.accessibility-mode .footer-developer img {
    animation: none;
}

@media (max-width: 1024px) {
    .slider-card {
        flex-basis: calc((100% - 1rem) / 2);
    }
}

@media (max-width: 760px) {
    .proof-block-head {
        flex-direction: column;
    }

    .slider-card {
        flex-basis: 100%;
    }
}

@media (max-width: 640px) {
    .qualification-note {
        align-items: flex-start;
        justify-content: flex-start;
    }
}

@media (max-width: 1024px) {
    .book-promo {
        grid-template-columns: 1fr;
    }

    .book-promo-visual {
        order: 2;
    }

    .book-cover-image {
        max-width: 290px;
    }
}

@media (max-width: 768px) {
    .book-promo {
        padding: 1.8rem 1.4rem;
        border-radius: 24px;
    }

    .book-promo h3 {
        font-size: 42px;
    }

    .book-promo p {
        font-size: 16px;
    }

    .book-price {
        font-size: 54px;
    }

    .book-btn {
        width: 100%;
        min-width: 0;
    }
}


@keyframes developerLogoFloat {
    0%, 100% {
        transform: translateY(0);
        filter: drop-shadow(0 0 0 rgba(199, 217, 140, 0));
        opacity: 0.92;
    }
    50% {
        transform: translateY(-4px);
        filter: drop-shadow(0 8px 18px rgba(199, 217, 140, 0.18));
        opacity: 1;
    }
}

.footer-developer {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 0.8rem;
    margin-top: auto;
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    line-height: 1.25;
    text-align: right;
    color: rgba(250, 249, 240, 0.6);
}

.footer-developer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.footer-developer a:hover {
    transform: translateY(-2px) scale(1.03);
}

.footer-developer img {
    display: block;
    max-width: 180px;
    max-height: 55px;
    width: auto;
    height: auto;
    object-fit: contain;
    animation: developerLogoFloat 4.8s ease-in-out infinite;
    transform-origin: center center;
}

@media (max-width: 768px) {
    .footer-right {
        align-items: flex-start;
        width: 100%;
        min-height: auto;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .footer-developer {
        justify-content: flex-start;
        align-items: flex-end;
        flex-direction: row;
        text-align: left;
        margin-top: 1.5rem;
    }
}

@media (max-width: 900px) {
    .expert-videos {
        grid-template-columns: 1fr;
    }

    .video-placeholder-inner span {
        font-size: 28px;
    }
}


/* --- Mobile tariff/header fixes --- */
@media (max-width: 768px) {
    .accessibility-toggle {
        display: none;
    }

    .top-left .logo-image {
        width: 190px;
    }

    .tariff-card {
        padding: 1.5rem;
        overflow: hidden;
    }

    .tariff-card h3 {
        font-size: 36px;
        line-height: 1.05;
        letter-spacing: -0.04em;
        overflow-wrap: break-word;
    }

    .tariff-btn,
    .corporate-tariff .tariff-btn,
    .book-btn {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        white-space: normal;
        text-align: center;
        justify-content: center;
        line-height: 1.35;
        font-size: 16px;
        letter-spacing: 0.025em;
        padding: 0.95rem 1rem;
    }

    .corporate-side {
        min-width: 0;
    }
}

@media (max-width: 640px) {
    .logo-image,
    body.accessibility-mode .logo-image {
        width: 180px;
    }
}

@media (max-width: 420px) {
    .tariff-card h3 {
        font-size: 32px;
    }

    .tariff-btn,
    .corporate-tariff .tariff-btn,
    .book-btn {
        font-size: 15px;
        letter-spacing: 0.015em;
    }
}
