/* ==================== CONVERSION POLISH 2026-07-10 ==================== */
.header-cta {
    min-width: 210px;
    padding-inline: 1.3rem;
    white-space: nowrap;
}

.hero-badge {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding-inline: 0 !important;
    color: #2457c5;
}

.hero-title {
    max-width: 720px;
    font-size: clamp(2.9rem, 5vw, 4.7rem) !important;
    line-height: 0.98 !important;
}

.hero {
    min-height: auto !important;
    padding: clamp(2.6rem, 5vw, 4.8rem) 0 clamp(2.4rem, 4vw, 4rem) !important;
}

.hero .container {
    align-items: center !important;
    gap: clamp(2rem, 4vw, 4rem) !important;
}

.hero-subtitle {
    max-width: 680px;
}

.hero-actions {
    margin-top: 1.4rem !important;
}

.hero .btn-large {
    min-height: 60px !important;
    padding: 0.9rem 1.35rem !important;
}

.hero-photo-placeholder {
    min-height: min(330px, 44vh) !important;
}

.hero-lesson-card,
.hero-progress-card {
    min-height: 118px !important;
}

.steps {
    background:
        linear-gradient(45deg, rgba(36, 87, 197, 0.03) 25%, transparent 25% 75%, rgba(36, 87, 197, 0.03) 75%),
        #ffffff;
    background-size: 52px 52px, auto;
    border-top: 1px solid rgba(20, 33, 61, 0.08);
    border-bottom: 1px solid rgba(20, 33, 61, 0.08);
}

.teacher-trust,
.trial-band,
.final-cta {
    position: relative;
    overflow: hidden;
}

.teacher-trust {
    padding: clamp(4rem, 7vw, 7rem) 0;
    background:
        linear-gradient(45deg, rgba(17, 24, 39, 0.025) 25%, transparent 25% 75%, rgba(17, 24, 39, 0.025) 75%),
        #f8fafc;
    background-position: 0 0, 0 0;
    background-size: 48px 48px, auto;
}

.teacher-trust-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.teacher-trust-copy .section-title,
.teacher-trust-copy .section-lead {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.teacher-points {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.8rem;
}

.teacher-point {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1rem;
    row-gap: 0.2rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(20, 33, 61, 0.12);
}

.teacher-point span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #e8f7f0;
    color: #047857;
    font-weight: 900;
    font-size: 0.82rem;
}

.teacher-point strong {
    color: #111827;
    font-size: 1.05rem;
}

.teacher-point p {
    margin: 0;
    color: #58667a;
    line-height: 1.58;
}

.teacher-photo-panel {
    display: grid;
    grid-template-columns: 1fr 0.78fr;
    gap: 1rem;
    align-items: end;
}

.teacher-photo-slot {
    min-height: 420px;
    border-radius: 24px;
    border: 1px dashed rgba(36, 87, 197, 0.28);
    background:
        linear-gradient(45deg, rgba(36, 87, 197, 0.06) 25%, transparent 25% 75%, rgba(36, 87, 197, 0.06) 75%),
        linear-gradient(180deg, #ffffff, #eef4f7);
    background-size: 34px 34px, auto;
    box-shadow: 0 20px 44px rgba(20, 33, 61, 0.11);
    color: #58667a;
    font-weight: 850;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 1rem;
}

.teacher-photo-slot--small {
    min-height: 270px;
    border-radius: 20px;
}

.trial-band {
    padding: clamp(2rem, 4vw, 3rem) 0;
    background: #10243f;
    color: #ffffff;
}

.trial-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.trial-band h2,
.final-cta h2 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.12;
}

.trial-band p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    max-width: 640px;
}

.faq {
    background: #ffffff;
}

.faq .container {
    max-width: 920px;
}

.final-cta {
    padding: clamp(4rem, 7vw, 7rem) 0;
    background:
        linear-gradient(45deg, rgba(245, 158, 11, 0.045) 25%, transparent 25% 75%, rgba(245, 158, 11, 0.045) 75%),
        #fffdf8;
    background-size: 56px 56px, auto;
}

.final-cta-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.final-cta-copy p {
    max-width: 680px;
    color: #58667a;
    font-size: 1.12rem;
    line-height: 1.65;
}

.final-cta-panel {
    padding: clamp(1.25rem, 3vw, 1.8rem);
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(20, 33, 61, 0.1);
    box-shadow: 0 22px 48px rgba(20, 33, 61, 0.12);
    display: grid;
    gap: 0.9rem;
}

.final-cta-line {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #273449;
    font-weight: 800;
}

.final-cta-line span {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #e8f7f0;
    color: #047857;
    display: grid;
    place-items: center;
    font-size: 0.88rem;
    font-weight: 900;
    flex: 0 0 auto;
}

.cookie-consent {
    left: auto;
    right: 1rem;
    top: 88px;
    bottom: auto;
    transform: none;
    max-width: 320px;
    width: calc(100vw - 2rem);
    display: grid;
    gap: 0.6rem;
    padding: 0.75rem;
    background: #ffffff !important;
    border-color: rgba(20, 33, 61, 0.12) !important;
    box-shadow: 0 18px 36px rgba(20, 33, 61, 0.14) !important;
}

.cookie-consent.cookie-consent--visible {
    transform: none;
}

.cookie-consent p {
    margin: 0;
    max-width: none;
    font-size: 0.82rem !important;
    line-height: 1.35 !important;
}

.cookie-consent strong {
    display: inline;
    margin-right: 0.25rem;
}

.cookie-consent-actions {
    margin-top: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
}

.cookie-consent .btn-primary,
.cookie-consent .btn-secondary {
    min-height: 44px !important;
    padding: 0.65rem 0.85rem !important;
    font-size: 0.9rem !important;
}

@media (max-width: 980px) {
    .teacher-trust-layout,
    .final-cta-inner {
        grid-template-columns: 1fr;
    }

    .trial-band-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .teacher-photo-panel {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .header-actions {
        display: none !important;
    }

    .header-cta {
        min-width: 0;
    }

    .teacher-photo-panel {
        grid-template-columns: 1fr;
    }

    .teacher-photo-slot,
    .teacher-photo-slot--small {
        min-height: 230px;
    }

    .teacher-point {
        grid-template-columns: 1fr;
    }

    .teacher-point span {
        grid-row: auto;
    }

    .cookie-consent,
    .cookie-consent.cookie-consent--visible {
        top: auto;
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        width: auto;
        max-width: none;
        transform: none;
        display: grid;
    }
}

/* ==================== EDITORIAL HOMEPAGE SYSTEM 2026-07-10 ==================== */
body {
    background-color: #f7f9fc;
    background-image:
        linear-gradient(rgba(20, 33, 61, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 33, 61, 0.035) 1px, transparent 1px);
    background-size: 32px 32px;
}

.hero,
.steps,
.testimonials,
.teacher-trust,
.final-cta,
.footer {
    background-image: none !important;
}

.hero {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid rgba(20, 33, 61, 0.1);
    padding: clamp(2.2rem, 3.4vw, 3.2rem) 0 clamp(2.4rem, 4vw, 4rem) !important;
}

.hero .container {
    grid-template-columns: minmax(0, 1.02fr) minmax(460px, 0.98fr) !important;
}

.hero-title {
    font-size: clamp(2.8rem, 4.25vw, 4rem) !important;
    line-height: 1.03 !important;
}

.hero-title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.7em);
}

.hero-title-ready .hero-title-word {
    animation: heroWordIn 0.62s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(var(--word-index) * 55ms);
}

@keyframes heroWordIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-trust {
    max-width: 680px;
    gap: 0;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(20, 33, 61, 0.12);
    border-bottom: 1px solid rgba(20, 33, 61, 0.12);
}

.hero-trust-item {
    min-width: 0;
    padding: 0.9rem 0.85rem;
    border: 0 !important;
    border-right: 1px solid rgba(20, 33, 61, 0.12) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #172033 !important;
    font-size: 0.92rem;
}

.hero-trust-item:last-child {
    border-right: 0 !important;
}

.hero-trust-item span:first-child {
    display: grid;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 50%;
    background: #e7f6ef;
    color: #087a58;
    font-size: 0.85rem;
}

.hero-image {
    gap: 0;
    padding: 14px;
    border: 0 !important;
    border-radius: 10px !important;
    background: #10243f !important;
    box-shadow: 0 24px 54px rgba(20, 33, 61, 0.18) !important;
}

.hero-photo-placeholder {
    min-height: min(360px, 46vh) !important;
    border: 0 !important;
    border-radius: 6px !important;
    background-color: #1b365d !important;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px) !important;
    background-size: 38px 38px !important;
    box-shadow: none !important;
}

.hero-photo-placeholder::before {
    inset: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background:
        linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.08) 50%, transparent 80%) !important;
    transform: translateX(-100%);
    animation: mediaSweep 1.1s ease-out 0.7s both;
}

.hero-photo-placeholder::after {
    left: 24px !important;
    top: auto !important;
    bottom: 22px;
    width: min(330px, calc(100% - 48px)) !important;
    transform: none !important;
    text-align: left !important;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.92rem;
    font-weight: 750;
}

@keyframes mediaSweep {
    from { transform: translateX(-110%); }
    to { transform: translateX(110%); }
}

.hero-progress-card,
.hero-lesson-card {
    min-height: 108px !important;
    padding: 1rem 0.75rem 0.2rem !important;
    border: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.hero-progress-card {
    padding-right: 1.1rem !important;
}

.hero-lesson-card {
    padding-left: 1.1rem !important;
    border-left: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.hero-card-label {
    color: #fbbf24 !important;
}

.hero-progress-card strong,
.hero-lesson-card strong {
    color: #ffffff !important;
}

.hero-progress-card p,
.hero-lesson-card p {
    color: rgba(255, 255, 255, 0.68) !important;
}

.scroll-manifesto {
    padding: clamp(3.5rem, 7vw, 6.5rem) 0;
    background: rgba(247, 249, 252, 0.94);
    border-bottom: 1px solid rgba(20, 33, 61, 0.1);
}

.scroll-manifesto p {
    margin: 0;
    max-width: 1080px;
    color: #14213d;
    font-size: clamp(2.2rem, 5.2vw, 5rem);
    font-weight: 900;
    line-height: 1.02;
}

.scroll-copy-line {
    display: block;
}

.scroll-copy-line:last-child {
    color: #2457c5;
}

.scroll-copy-line.scroll-reveal {
    transform: translateY(34px);
}

.scroll-copy-line.scroll-active {
    transform: translateY(0);
}

.steps,
.testimonials,
.teacher-trust,
.final-cta {
    background-color: rgba(255, 255, 255, 0.92) !important;
}

.testimonials,
.teacher-trust,
.final-cta {
    border-bottom: 1px solid rgba(20, 33, 61, 0.1);
}

.testimonial-card,
.testimonial-photo-slot,
.teacher-photo-slot,
.story-panel,
.result-card,
.parent-proof-panel,
.pricing-preview-card,
.advantage-card,
.age-card,
.step-card,
.final-cta-panel,
.modal-content {
    border-radius: 8px !important;
}

.testimonial-card,
.teacher-photo-slot,
.final-cta-panel {
    box-shadow: 0 14px 32px rgba(20, 33, 61, 0.08) !important;
}

.story-panel,
.result-card,
.parent-proof-panel,
.pricing-preview-card,
.advantage-card,
.age-card,
.step-card {
    box-shadow: 0 10px 24px rgba(20, 33, 61, 0.075) !important;
}

.trial-band {
    background-color: #10243f !important;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) !important;
    background-size: 32px 32px !important;
}

.trial-band h2 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.trial-band p {
    color: rgba(255, 255, 255, 0.76) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.76) !important;
}

.btn-primary,
.btn-secondary,
.header-actions .header-cta.btn-primary {
    border-radius: 8px !important;
}

.cookie-consent,
.cookie-consent.cookie-consent--visible {
    top: auto !important;
    right: 1rem !important;
    bottom: 1rem !important;
    left: auto !important;
    width: min(440px, calc(100vw - 2rem)) !important;
    max-width: 440px !important;
    border-radius: 8px !important;
}

.cookie-consent {
    display: none !important;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 0.7rem;
    padding: 0.9rem !important;
    transform: translateY(18px) !important;
}

.cookie-consent.cookie-consent--visible {
    display: grid !important;
    transform: translateY(0) !important;
}

.cookie-consent-actions {
    grid-template-columns: auto auto;
    gap: 0.5rem;
    justify-content: end;
}

.cookie-consent .btn-primary,
.cookie-consent .btn-secondary {
    min-width: 96px;
}

@media (max-width: 980px) {
    .hero .container {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 720px) {
    ::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    .hero-title {
        font-size: clamp(2.25rem, 11vw, 3.25rem) !important;
    }

    .hero-trust {
        border-bottom: 0;
    }

    .hero-trust-item {
        border-right: 0 !important;
        border-bottom: 1px solid rgba(20, 33, 61, 0.12) !important;
    }

    .hero-image {
        grid-template-columns: 1fr;
    }

    .hero-lesson-card {
        padding-left: 0.75rem !important;
        border-left: 0 !important;
    }

    .scroll-manifesto {
        padding: 3rem 0;
    }

    .cookie-consent,
    .cookie-consent.cookie-consent--visible {
        right: 0.75rem !important;
        bottom: 0.75rem !important;
        left: 0.75rem !important;
        width: auto !important;
        max-width: none !important;
    }

    .cookie-consent {
        grid-template-columns: 1fr;
    }

    .cookie-consent-actions,
    .cookie-consent-actions button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-title-word,
    .hero-title-ready .hero-title-word {
        opacity: 1;
        transform: none;
        animation: none !important;
    }

    .hero-photo-placeholder,
    .hero-photo-placeholder::before {
        animation: none !important;
    }
}
