/* FreshOrtho club — seminar landing
   Palette from event poster: forest green + lime */

:root {
    --green-950: #0d1a0e;
    --green-900: #132205;
    --green-800: #1b431e;
    --green-700: #245528;
    --green-600: #2f6a34;
    --lime: #eefc56;
    --lime-soft: #f4ff8a;
    --white: #ffffff;
    --white-90: rgba(255, 255, 255, 0.9);
    --white-70: rgba(255, 255, 255, 0.7);
    --white-20: rgba(255, 255, 255, 0.18);
    --white-12: rgba(255, 255, 255, 0.12);
    --ink: #101810;
    --font-display: "Unbounded", sans-serif;
    --font-body: "Manrope", sans-serif;
    --radius: 18px;
    --container: 1120px;
    --header-h: 72px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--white);
    background: var(--green-800);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.35s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn--sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn--lg {
    padding: 16px 28px;
    font-size: 1rem;
}

.btn--lime {
    background: var(--lime);
    color: var(--ink);
}

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

.btn--ghost {
    background: transparent;
    color: var(--white);
    border-color: var(--white-20);
}

.btn--ghost:hover {
    border-color: var(--white);
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: var(--header-h);
    background: rgba(27, 67, 30, 0.72);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.header.is-scrolled {
    background: rgba(13, 26, 14, 0.92);
    border-bottom-color: var(--white-12);
}

.header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header__logo {
    height: 44px;
    width: auto;
}

.header__nav {
    display: flex;
    gap: 28px;
}

.header__nav a {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white-90);
    transition: color 0.2s ease;
}

.header__nav a:hover {
    color: var(--lime);
}

.header__burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}

.header__burger span {
    display: block;
    height: 2px;
    width: 22px;
    margin-inline: auto;
    background: var(--white);
    transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

.header.is-open .header__burger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.header.is-open .header__burger span:nth-child(2) {
    opacity: 0;
}

.header.is-open .header__burger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.header__mobile {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    background: var(--green-950);
    border-bottom: 1px solid var(--white-12);
}

.header__mobile a {
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
}

.header.is-open .header__mobile {
    display: flex;
}

.header.is-open .header__mobile[hidden] {
    display: flex;
}

/* Hero — full-bleed portrait on the right edge */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 70% at 78% 45%, rgba(47, 106, 52, 0.45), transparent 58%),
        linear-gradient(160deg, #1f4d24 0%, var(--green-800) 45%, #142e16 100%);
    z-index: 0;
}

.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.28;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hero__layout {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 40vw);
    align-items: stretch;
    overflow: hidden;
}

.hero__copy {
    position: relative;
    z-index: 2;
    min-width: 0;
    width: auto;
    max-width: min(560px, 100%);
    margin-left: max(20px, calc((100vw - var(--container)) / 2));
    margin-right: clamp(16px, 3vw, 40px);
    padding: calc(var(--header-h) + 48px) 8px 56px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.hero__brand {
    height: 58px;
    width: auto;
    margin-bottom: 28px;
    opacity: 0;
    animation: rise 0.9s var(--ease) 0.1s forwards;
}

.hero__eyebrow {
    font-family: var(--font-display);
    font-size: clamp(0.8rem, 1.4vw, 0.95rem);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lime);
    margin-bottom: 14px;
    opacity: 0;
    animation: rise 0.9s var(--ease) 0.2s forwards;
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0;
    animation: rise 0.9s var(--ease) 0.3s forwards;
    overflow-wrap: anywhere;
}

.hero__lead {
    max-width: 34ch;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    color: var(--white-90);
    margin-bottom: 28px;
    opacity: 0;
    animation: rise 0.9s var(--ease) 0.4s forwards;
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
    margin-bottom: 32px;
    opacity: 0;
    animation: rise 0.9s var(--ease) 0.5s forwards;
}

.hero__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.98rem;
}

.hero__meta-item svg {
    color: var(--lime);
    flex-shrink: 0;
}

.hero__meta-divider {
    width: 1px;
    height: 18px;
    background: var(--white-20);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    opacity: 0;
    animation: rise 0.9s var(--ease) 0.6s forwards;
}

.hero__visual {
    padding: 100px 15px;
    position: relative;
    z-index: 1;
    align-self: stretch;
    min-width: 0;
    min-height: 100%;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    animation: rise-photo 1.1s var(--ease) 0.2s forwards;
    pointer-events: none;
    background: #1b441f;
}

.hero__visual::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: min(40%, 180px);
    z-index: 1;
    background: linear-gradient(90deg, rgba(27, 67, 30, 0.98), transparent);
    pointer-events: none;
}

.hero__visual picture {
    display: block;
    width: 100%;
    height: 100%;
    min-height: calc(100vh - 200px);
    min-height: calc(100svh - 200px);
}

.hero__photo {
    display: block;
    width: 100%;
    height: 100%;
    min-height: calc(100vh - 200px);
    min-height: calc(100svh - 200px);
    object-fit: cover;
    object-position: 62% 8%;
    border-radius: 0;
}

.hero__caption {
    position: absolute;
    left: 8%;
    bottom: 8%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
    pointer-events: auto;
}

.hero__caption span {
    font-size: 0.9rem;
    color: var(--white-70);
}

.hero__caption strong {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Offer bar */
.offer {
    padding: 50px 0;
    background: linear-gradient(82deg, #00000000, rgb(13 26 14 / 15%));
}

.offer__bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: var(--lime);
    color: var(--ink);
    border-radius: 16px;
    font-weight: 700;
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
}

.offer__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--green-800);
    color: var(--lime);
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 800;
}

/* Sections shared */
.section-label {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--lime);
    margin-bottom: 12px;
}

.section-label--on-lime {
    color: var(--green-800);
}

.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 36px;
}

.check-list {
    list-style: none;
    display: grid;
    gap: 14px;
}

.check-list li {
    position: relative;
    padding-left: 36px;
    font-size: 1.05rem;
    color: var(--white-90);
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: inset 0 0 0 5px var(--green-800);
}

/* Audience */
.audience {
    padding: 88px 0;
    background: var(--green-800);
}

.audience__list {
    list-style: none;
    display: grid;
    gap: 0;
    border-top: 1px solid var(--white-12);
}

.audience__list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px 28px;
    align-items: baseline;
    padding: 28px 0;
    border-bottom: 1px solid var(--white-12);
}

.audience__num {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--lime);
    letter-spacing: 0.08em;
}

.audience__list p {
    font-size: clamp(1.1rem, 2.2vw, 1.45rem);
    font-weight: 600;
    line-height: 1.35;
    max-width: 36ch;
}

/* Proof gallery — compact masonry */
.proof {
    padding: 64px 0 72px;
    background:
        radial-gradient(ellipse 50% 40% at 0% 100%, rgba(47, 106, 52, 0.28), transparent 55%),
        radial-gradient(ellipse 45% 35% at 100% 0%, rgba(238, 252, 86, 0.06), transparent 50%),
        var(--green-950);
}

.proof .section-title {
    margin-bottom: 28px;
}

.proof__masonry {
    column-count: 3;
    column-gap: 14px;
}

.proof__card {
    position: relative;
    display: block;
    margin: 0 0 14px;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    border-radius: 14px;
    overflow: hidden;
    background: var(--green-800);
    isolation: isolate;
    transition: transform 0.35s var(--ease);
}

.proof__card:hover {
    transform: translateY(-3px);
}

.proof__card picture {
    display: block;
    width: 100%;
}

.proof__card img,
.proof__card .book,
.proof__card .cert {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
    background: var(--green-800);
}

.proof__card--case img {
    aspect-ratio: 1;
    object-fit: cover;
}

.proof__card--tall img {
    aspect-ratio: 4 / 5;
}

.proof__card--poster img {
    aspect-ratio: 724 / 900;
    object-fit: contain;
    object-position: center top;
    background: #132205;
}

.proof__card--book .book,
.proof__card--cert .cert {
    aspect-ratio: 5 / 4;
}

.proof__card figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 48px 14px 12px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(10, 22, 12, 0.55) 40%,
        rgba(10, 22, 12, 0.92) 100%
    );
    pointer-events: none;
}

.proof__card figcaption strong {
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.proof__card figcaption span {
    font-size: 0.78rem;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.72);
}

.book,
.cert {
    display: grid;
    place-items: center;
    overflow: hidden;
}

.book__cover {
    width: 56%;
    height: 76%;
    padding: 18px 14px;
    border-radius: 4px 10px 10px 4px;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.25) 0 8px, transparent 8px),
        linear-gradient(160deg, #2f6a34, #132205);
    border: 1px solid rgba(238, 252, 86, 0.35);
    box-shadow: 8px 12px 24px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--white);
}

.book__eyebrow,
.book__author {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lime);
    font-weight: 700;
}

.book__title {
    font-family: var(--font-display);
    font-size: clamp(0.85rem, 1.4vw, 1.05rem);
    line-height: 1.2;
    text-transform: uppercase;
}

.cert__inner {
    width: 78%;
    height: 74%;
    padding: 18px 14px;
    border-radius: 10px;
    background: linear-gradient(160deg, #f7ffe0, #eefc56);
    color: var(--ink);
    border: 1px solid rgba(16, 24, 16, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.cert__brand {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green-800);
}

.cert__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
}

.cert__line {
    width: 42%;
    height: 2px;
    background: var(--green-800);
    opacity: 0.35;
}

.cert__name {
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.35;
}

/* FAQ */
.faq {
    padding: 88px 0;
    background: var(--green-900);
}

.faq__grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 40px;
    align-items: start;
}

.faq__lead {
    color: var(--white-70);
    max-width: 34ch;
    margin-top: -16px;
}

.faq__list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--white-12);
}

.faq__item {
    border-bottom: 1px solid var(--white-12);
}

.faq__item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 36px 20px 0;
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    font-weight: 700;
    position: relative;
    transition: color 0.2s ease;
}

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

.faq__item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    color: var(--lime);
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1;
    transition: transform 0.35s var(--ease);
}

.faq__item[open] summary::after {
    content: "+";
    transform: translateY(-50%) rotate(45deg);
}

.faq__item summary:hover {
    color: var(--lime);
}

.faq__panel {
    overflow: hidden;
    height: 0;
    opacity: 0;
    transition:
        height 0.4s var(--ease),
        opacity 0.3s ease;
}

.faq__item p {
    margin: 0;
    padding: 0 0 22px;
    color: var(--white-90);
    max-width: 58ch;
    line-height: 1.6;
}

/* Speaker */
.speaker {
    padding: 88px 0;
    background: var(--green-900);
}

.speaker__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: start;
}

.speaker__ig {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    text-decoration: none;
    font-weight: 700;
    color: var(--lime);
    transition: opacity 0.2s ease;
}

.speaker__ig:hover {
    opacity: 0.8;
}

/* Program */
.program {
    padding: 88px 0;
    background:
        radial-gradient(ellipse 50% 40% at 0% 0%, rgba(47, 106, 52, 0.4), transparent 55%),
        var(--green-800);
}

.program__days {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.program__day {
    padding: 8px 0 0;
    border-top: 2px solid var(--lime);
}

.program__day-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 20px 0 24px;
}

.program__day-head h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
}

.program__day-head time {
    font-weight: 700;
    color: var(--lime);
    white-space: nowrap;
}

/* Price */
.price {
    padding: 88px 0;
    background: var(--green-950);
}

.countdown {
    margin: -12px 0 40px;
    padding: 24px 0;
    border-top: 1px solid var(--white-12);
    border-bottom: 1px solid var(--white-12);
}

.countdown.is-ended .countdown__grid,
.countdown.is-ended .countdown__label {
    display: none;
}

.countdown__label {
    font-weight: 700;
    color: var(--lime);
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}

.countdown__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 120px));
    gap: 12px;
}

.countdown__unit {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.countdown__value {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1;
    color: var(--white);
    font-variant-numeric: tabular-nums;
}

.countdown__name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white-70);
    text-transform: lowercase;
}

.countdown__ended {
    font-weight: 700;
    color: var(--white-90);
}

.price__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 36px;
}

.price__item {
    padding: 28px 0;
    border-bottom: 1px solid var(--white-12);
}

.price__item--early {
    border-bottom-color: var(--lime);
}

.price__label {
    font-weight: 700;
    color: var(--white-70);
    margin-bottom: 10px;
}

.price__value {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

.price__value span {
    font-size: 0.4em;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.price__note {
    color: var(--lime);
    font-weight: 700;
}

.price__item:not(.price__item--early) .price__note {
    color: var(--white-70);
}

.price__pay {
    margin: 20px 0 0;
    max-width: 640px;
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--white-70);
}

.price__perks {
    max-width: 640px;
    margin-top: 20px;
}

/* Place */
.place {
    padding: 88px 0;
    background: var(--green-800);
}

.place__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: end;
}

.place__name {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.4vw, 1.55rem);
    font-weight: 700;
    margin: -12px 0 16px;
}

.place__address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--white-90);
    margin-bottom: 28px;
}

.place__address svg {
    color: var(--lime);
    margin-top: 2px;
    flex-shrink: 0;
}

.place__map-btn {
    margin-top: 4px;
    box-shadow: 0 8px 28px rgba(238, 252, 86, 0.28);
}

.place__map-btn:hover {
    box-shadow: 0 12px 32px rgba(238, 252, 86, 0.4);
}

.place__map {
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 320px;
    border: 1px solid var(--white-12);
}

.place__map iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
    filter: grayscale(0.25) contrast(1.05);
}

/* Registration */
.registration {
    padding: 88px 0;
    background: var(--lime);
    color: var(--ink);
}

.registration__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 56px;
    align-items: start;
}

.registration__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    text-align: left;
}

.registration__phones {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
}

.registration__phones a {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.4vw, 1.7rem);
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.registration__phones a:hover {
    opacity: 0.7;
}

.registration__messengers {
    display: flex;
    gap: 12px;
}

.msg {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--green-800);
    color: var(--lime);
    text-decoration: none;
    transition: transform 0.3s var(--ease), background 0.2s ease;
}

.msg:hover {
    transform: translateY(-3px);
    background: var(--green-950);
}

.btn--dark {
    background: var(--green-900);
    color: var(--lime);
    border-color: var(--green-900);
    width: 100%;
}

.btn--dark:hover {
    background: var(--green-950);
    transform: translateY(-2px);
}

.lead-form {
    position: relative;
    background: rgba(16, 24, 16, 0.08);
    border: 1px solid rgba(16, 24, 16, 0.12);
    border-radius: 20px;
    padding: 28px 24px;
    text-align: left;
}

.lead-form__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.lead-form__hint {
    font-size: 0.92rem;
    opacity: 0.75;
    margin-bottom: 20px;
}

.lead-form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
    font-weight: 700;
    font-size: 0.88rem;
}

.lead-form__field input {
    font: inherit;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 16px;
    border-radius: 14px;
    border: 2px solid transparent;
    background: var(--white);
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s ease;
}

.lead-form__field input::placeholder {
    color: rgba(16, 24, 16, 0.4);
    font-weight: 500;
}

.lead-form__field input:focus {
    border-color: var(--green-800);
}

.lead-form__field input.is-invalid {
    border-color: #b42318;
}

.lead-form__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.lead-form__submit {
    margin-top: 8px;
}

.lead-form__submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

.lead-form__success,
.lead-form__error {
    margin-top: 14px;
    font-size: 0.92rem;
    font-weight: 600;
}

.lead-form__error {
    color: #8a1c14;
}

.lead-form.is-sent .lead-form__field,
.lead-form.is-sent .lead-form__submit,
.lead-form.is-sent .lead-form__hint {
    display: none;
}

/* Floating mobile CTA */
.fab {
    display: none;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 90;
    align-items: center;
    justify-content: center;
    height: 54px;
    border-radius: 999px;
    background: var(--lime);
    color: var(--ink);
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.fab.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Organizer */
.organizer {
    padding: 64px 0;
    background:
        linear-gradient(100deg, rgba(238, 252, 86, 0.08), transparent 55%),
        var(--green-800);
    border-top: 1px solid var(--white-12);
}

.organizer__inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.organizer__row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px 40px;
    flex-wrap: wrap;
}

.organizer__title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 12px;
}

.organizer__text {
    max-width: 42ch;
    color: var(--white-70);
    line-height: 1.5;
    font-size: 1.02rem;
}

.organizer__link {
    flex-shrink: 0;
    box-shadow: 0 8px 28px rgba(238, 252, 86, 0.22);
}

.organizer__link:hover {
    box-shadow: 0 12px 32px rgba(238, 252, 86, 0.35);
}

/* Footer */
.footer {
    padding: 40px 0 48px;
    background: var(--green-950);
    border-top: 1px solid var(--white-12);
}

.footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--white-12);
}

.footer__brand {
    display: inline-flex;
    line-height: 0;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer__brand:hover {
    opacity: 0.85;
}

.footer__logo {
    height: 40px;
    width: auto;
}

.footer__phones {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.footer__phones a {
    text-decoration: none;
    font-weight: 700;
}

.footer__phones a:hover {
    color: var(--lime);
}

.footer__legal {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px 40px;
    align-items: end;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--white-70);
}

.footer__legal-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 640px;
}

.footer__legal-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.footer__copy {
    margin: 0;
    text-align: right;
    white-space: nowrap;
    color: var(--white-70);
    font-size: 0.9rem;
}

.footer__copy a {
    color: inherit;
    text-decoration: none;
    font-weight: 700;
}

.footer__copy a:hover {
    color: var(--lime);
}

.footer__aside {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.footer__dev {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white-70);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__dev img {
    height: 22px;
    width: auto;
}

.footer__dev:hover {
    color: var(--lime);
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rise-photo {
    from {
        opacity: 0;
        transform: translateY(36px) scale(1.03);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

::selection {
    background: var(--lime);
    color: var(--ink);
}

/* Responsive */
@media (max-width: 980px) {
    .header__nav,
    .header__inner > .btn {
        display: none;
    }

    .header__burger {
        display: flex;
    }

    .hero__grid,
    .speaker__grid,
    .program__days,
    .price__row,
    .place__grid,
    .registration__layout,
    .faq__grid {
        grid-template-columns: 1fr;
    }

    .proof__masonry {
        column-count: 2;
        column-gap: 12px;
    }

    .proof__card {
        margin-bottom: 12px;
        border-radius: 12px;
    }

    .hero__layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero {
        min-height: auto;
    }

    .hero__visual {
        order: -1;
        min-height: min(68vh, 560px);
        width: 100%;
        padding: 24px 15px;
        pointer-events: auto;
    }

    .hero__visual picture,
    .hero__photo {
        min-height: calc(min(68vh, 560px) - 58px);
        height: 100%;
        margin-top: 50px;
        object-position: 50% 10%;
    }

    .hero__copy {
        z-index: 2;
        margin-left: 0;
        margin-right: 0;
        max-width: none;
        width: min(100% - 28px, var(--container));
        margin-inline: auto;
        padding: 28px 0 40px;
    }

    .hero__brand {
        display: none;
    }

    .hero__caption {
        left: 20px;
        bottom: 20px;
    }

    .program__day + .program__day {
        margin-top: 12px;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 28px, var(--container));
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__meta-divider {
        display: none;
    }

    .offer__bar {
        align-items: flex-start;
        padding: 16px;
    }

    .countdown__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .countdown__value {
        font-size: 1.45rem;
    }

    .proof__masonry {
        column-count: 1;
        column-gap: 0;
    }

    .proof__card {
        margin-bottom: 12px;
    }

    .proof__card--case img,
    .proof__card--tall img {
        aspect-ratio: 5 / 4;
    }

    .audience__list p {
        max-width: none;
    }

    .registration__phones {
        flex-direction: column;
    }

    .organizer__row {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__top {
        flex-direction: column;
        text-align: center;
    }

    .footer__legal {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__legal-info {
        max-width: none;
    }

    .footer__copy {
        text-align: center;
        white-space: normal;
    }

    .footer__aside {
        align-items: center;
    }

    .footer__phones {
        justify-content: center;
    }

    .fab {
        display: flex;
    }

    body.has-fab {
        padding-bottom: 88px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .hero__brand,
    .hero__eyebrow,
    .hero__title,
    .hero__lead,
    .hero__meta,
    .hero__actions,
    .hero__visual,
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Andrea Bono — cutout portrait and program modules */
@media (min-width: 981px) {
    .hero__layout {
        grid-template-columns: minmax(0, 1fr) minmax(380px, 46vw);
    }
}

.hero__visual {
    background: transparent;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0;
}

.hero__visual::before {
    width: min(32%, 140px);
    background: linear-gradient(90deg, rgba(27, 67, 30, 0.55), transparent);
}

.hero__visual picture {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.hero__photo {
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    object-position: right bottom;
    filter: drop-shadow(-18px 16px 28px rgba(0, 0, 0, 0.22));
}

.hero__caption {
    left: 6%;
    bottom: 7%;
}

.speaker__grid {
    grid-template-columns: minmax(200px, 300px) minmax(0, 1fr);
    align-items: center;
    gap: 40px 56px;
}

.speaker__photo {
    margin: 0;
}

.speaker__photo img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.35));
}

.speaker__origin {
    margin: -18px 0 22px;
    font-weight: 700;
    color: var(--lime);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.86rem;
}

.speaker__intro .section-title {
    margin-bottom: 18px;
}

.topics {
    padding: 88px 0;
    background:
        radial-gradient(ellipse 50% 40% at 100% 0%, rgba(238, 252, 86, 0.06), transparent 50%),
        var(--green-950);
}

.topics__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.topics__card {
    padding: 22px 18px 24px;
    border-top: 2px solid var(--lime);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0 0 14px 14px;
}

.topics__card span {
    display: block;
    margin-bottom: 14px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--lime);
}

.topics__card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.topics__card p {
    color: var(--white-70);
    font-size: 0.95rem;
    line-height: 1.45;
}

.program__when {
    margin: -18px 0 32px;
    color: var(--white-70);
    font-weight: 600;
}

.program__days {
    grid-template-columns: 1fr;
    gap: 12px;
}

.program__day-head span {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--lime);
    letter-spacing: 0.08em;
}

.program__sub {
    margin: 18px 0 14px;
    font-weight: 700;
    color: var(--lime);
}

.program__day .check-list + .program__sub {
    margin-top: 22px;
}

@media (min-width: 900px) {
    .program__day .check-list {
        grid-template-columns: 1fr 1fr;
        column-gap: 36px;
    }
}

@media (max-width: 980px) {
    .speaker__grid,
    .topics__grid {
        grid-template-columns: 1fr;
    }

    .topics__grid {
        grid-template-columns: 1fr 1fr;
    }

    .speaker__photo {
        grid-column: 1 / -1;
        max-width: 280px;
    }

    .hero__visual {
        order: -1;
        width: 100%;
        min-height: 0;
        height: min(52vh, 460px);
        padding: calc(var(--header-h) + 8px) 0 0;
        justify-content: center;
    }

    .hero__visual picture,
    .hero__photo {
        display: block;
        width: 100%;
        max-width: none;
        min-height: 0;
        height: 100%;
        margin-top: 0;
        object-fit: contain;
        object-position: center bottom;
    }
}

@media (max-width: 560px) {
    .topics__grid,
    .program__day .check-list {
        grid-template-columns: 1fr;
    }

    .hero__visual {
        height: min(48vh, 400px);
    }

    .hero__photo {
        width: 100%;
        max-width: none;
        height: 100%;
    }
}
