/* ============================================================
   BAMBINO FASHION DAY 2027 — DV Production
   ============================================================ */

:root {
    --font-display: 'Unbounded', system-ui, sans-serif;
    --font-body: 'Manrope', system-ui, sans-serif;

    --c-bg: #faf8f3;
    --c-bg-tint: #f3efe4;
    --c-ink: #172444;
    --c-ink-soft: #55607d;
    --c-navy: #16264a;
    --c-navy-deep: #0d1830;
    --c-gold: #d4a94e;
    --c-gold-bright: #f0c97a;
    --c-magenta: #b1337e;
    --c-magenta-bright: #d4549a;
    --c-white: #ffffff;
    --c-line: #e8e2d4;
    --c-error: #d64545;

    --grad-main: linear-gradient(135deg, #b1337e 0%, #d4549a 100%);
    --grad-gold: linear-gradient(135deg, #c99b3f 0%, #eed08a 100%);
    --radius: 18px;
    --shadow-card: 0 14px 40px rgba(13, 24, 48, 0.10);
}

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

html { scroll-behavior: smooth; }

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

.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* ---------- Кнопки ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn--lg { padding: 18px 38px; font-size: 17px; }
.btn--full { width: 100%; }

.btn--primary {
    background: var(--grad-gold);
    color: var(--c-navy-deep);
    box-shadow: 0 10px 26px rgba(212, 169, 78, 0.45);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(212, 169, 78, 0.55);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.12);
    color: var(--c-white);
    border: 1px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(6px);
    padding: 10px 22px;
    font-size: 15px;
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.22); }

/* ---------- Шапка ---------- */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    background: rgba(13, 24, 48, 0.55);
    backdrop-filter: blur(10px);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}
.logo__img {
    display: block;
    width: 60px;
    height: 60px;
}
.logo__caption {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.logo__name {
    color: var(--c-white);
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .4px;
    white-space: nowrap;
}
.logo__tagline {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .3px;
    white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('../img/poster.jpg') center center / cover no-repeat, var(--c-navy-deep);
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgb(13, 24, 48) 0%,
            rgb(13, 24, 48) 38%,
            rgba(13, 24, 48, 0.94) 52%,
            rgba(13, 24, 48, 0.7) 66%,
            rgba(13, 24, 48, 0.38) 85%,
            rgba(13, 24, 48, 0.28) 100%),
        linear-gradient(180deg, rgba(13, 24, 48, 0.9) 0%, rgba(13, 24, 48, 0) 16%),
        linear-gradient(0deg, rgba(13, 24, 48, 0.85) 0%, rgba(13, 24, 48, 0) 30%);
}
.hero__content {
    position: relative;
    z-index: 2;
    padding-top: 120px;
    padding-bottom: 90px;
    max-width: 700px;
}
.hero__badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid rgba(240, 201, 122, 0.7);
    color: var(--c-gold-bright);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 26px;
}
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(34px, 5.2vw, 62px);
    line-height: 1.12;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--c-white);
    margin-bottom: 10px;
}
.hero__title small {
    display: block;
    font-size: clamp(20px, 2.6vw, 32px);
    font-weight: 600;
    color: var(--c-gold-bright);
    margin-top: 12px;
    text-transform: none;
}
.accent {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.section__title .accent {
    background: var(--grad-main);
    -webkit-background-clip: text;
    background-clip: text;
}
.hero__subtitle {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(16px, 1.6vw, 19px);
    max-width: 520px;
    margin: 22px 0 30px;
}
.hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 38px;
}
.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--c-white);
    font-size: 14px;
    font-weight: 600;
}
.chip__icon {
    width: 17px; height: 17px;
    fill: none;
    stroke: var(--c-gold-bright);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}
.hero__actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.hero__note {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
}

/* ---------- Секции ---------- */
.section { padding: 90px 0; }
.section--tinted { background: var(--c-bg-tint); }

.section__title {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.4vw, 40px);
    line-height: 1.2;
    font-weight: 700;
    color: var(--c-navy);
    margin-bottom: 34px;
}
.section__title--center { text-align: center; }

.grid {
    display: grid;
    gap: 22px;
}
.grid--4 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* ---------- О показе ---------- */
.about {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 50px;
    align-items: center;
}
.about__text p {
    color: var(--c-ink-soft);
    margin-bottom: 16px;
    font-size: 17px;
}
.about__text strong { color: var(--c-navy); }
.about__stats {
    display: grid;
    gap: 16px;
}
.stat {
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: 22px 26px;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: baseline;
    gap: 16px;
}
.stat__value {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 800;
    background: var(--grad-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stat__label {
    color: var(--c-ink-soft);
    font-size: 15px;
    font-weight: 600;
}

/* ---------- Карточки шагов ---------- */
.card {
    position: relative;
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: 56px 26px 28px;
    box-shadow: var(--shadow-card);
    transition: transform .25s ease;
}
.card:hover { transform: translateY(-4px); }
.card__num {
    position: absolute;
    top: -22px;
    left: 24px;
    width: 48px; height: 48px;
    border-radius: 14px;
    background: var(--grad-gold);
    color: var(--c-navy-deep);
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(212, 169, 78, 0.4);
}
.card__title {
    font-size: 19px;
    font-weight: 800;
    color: var(--c-navy);
    margin-bottom: 8px;
}
.card p {
    color: var(--c-ink-soft);
    font-size: 15px;
}

/* ---------- Преимущества ---------- */
.feature {
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow-card);
    text-align: center;
}
.feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px; height: 58px;
    border-radius: 50%;
    background: rgba(212, 169, 78, 0.18);
    margin-bottom: 16px;
}
.feature__icon svg {
    width: 26px; height: 26px;
    fill: none;
    stroke: var(--c-magenta);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.feature h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--c-navy);
    margin-bottom: 8px;
}
.feature p {
    color: var(--c-ink-soft);
    font-size: 15px;
}

/* ---------- Форма ---------- */
.section--form {
    background:
        radial-gradient(900px 420px at 12% 0%, rgba(177, 51, 126, 0.30), transparent 60%),
        radial-gradient(800px 460px at 90% 100%, rgba(212, 169, 78, 0.18), transparent 55%),
        var(--c-navy-deep);
    padding: 100px 0;
}
.form-wrap {
    max-width: 760px;
    margin: 0 auto;
}
.form-head { margin-bottom: 8px; }
.form-head .section__title { color: var(--c-white); margin-bottom: 12px; }
.form-head .section__title .accent {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
}
.form-head__text {
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 36px;
}

.form {
    background: var(--c-white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}
.form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 22px;
    margin-bottom: 22px;
}
.field { display: flex; flex-direction: column; }
.field--half { min-width: 0; }

.field label {
    font-size: 14px;
    font-weight: 700;
    color: var(--c-navy);
    margin-bottom: 8px;
}
.field label em { color: var(--c-magenta); font-style: normal; }

.field input,
.field select {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--c-line);
    border-radius: 12px;
    background: #fcfbf8;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--c-ink);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
    appearance: none;
}
.field select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2316264a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}
.field input:focus,
.field select:focus {
    border-color: var(--c-gold);
    box-shadow: 0 0 0 4px rgba(212, 169, 78, 0.18);
    background: var(--c-white);
}
.field input.invalid,
.field select.invalid {
    border-color: var(--c-error);
    box-shadow: 0 0 0 4px rgba(214, 69, 69, 0.10);
}
.field__error {
    color: var(--c-error);
    font-size: 13px;
    font-weight: 600;
    margin-top: 6px;
    min-height: 0;
}
.field__error:empty { margin-top: 0; }

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px; height: 1px;
    opacity: 0;
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--c-ink-soft);
    margin-bottom: 6px;
    cursor: pointer;
}
.consent input {
    width: 18px; height: 18px;
    margin-top: 2px;
    accent-color: var(--c-gold);
    flex-shrink: 0;
}
.consent em { color: var(--c-magenta); font-style: normal; }
#consent-error { display: block; margin-bottom: 18px; }

.btn__loader {
    width: 20px; height: 20px;
    border: 2.5px solid rgba(13, 24, 48, 0.25);
    border-top-color: var(--c-navy-deep);
    border-radius: 50%;
    animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form__status {
    margin-top: 18px;
    text-align: center;
    font-weight: 700;
    color: var(--c-error);
    min-height: 0;
}
.form__status:empty { margin: 0; }

.form-success {
    background: var(--c-white);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}
.form-success__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px; height: 84px;
    border-radius: 50%;
    background: var(--grad-gold);
    margin-bottom: 24px;
}
.form-success__icon svg {
    width: 40px; height: 40px;
    fill: none;
    stroke: var(--c-navy-deep);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.form-success h3 {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--c-navy);
    margin-bottom: 12px;
}
.form-success p { color: var(--c-ink-soft); }

/* ---------- Футер ---------- */
.footer {
    background: #091223;
    padding: 36px 0;
}
.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.logo--footer .logo__img {
    width: 48px;
    height: 48px;
}
.logo--footer .logo__name { font-size: 15px; }
.logo--footer .logo__tagline { font-size: 11.5px; }
.footer__text {
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
}

/* ---------- Адаптив ---------- */
@media (max-width: 900px) {
    .about {
        grid-template-columns: 1fr;
        gap: 34px;
    }
    .form { padding: 28px 22px; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .section { padding: 64px 0; }
    .hero {
        background-position: center 25%;
        min-height: 100svh;
    }
    .hero__overlay {
        background:
            linear-gradient(180deg,
                rgba(13, 24, 48, 0.80) 0%,
                rgba(13, 24, 48, 0.93) 55%,
                rgba(13, 24, 48, 0.98) 100%);
    }
    .hero__content { padding-top: 110px; padding-bottom: 60px; }
    .hero__actions { flex-direction: column; align-items: stretch; text-align: center; }
    .hero__actions .btn { width: 100%; }
    .form__grid { grid-template-columns: 1fr; }
    .header__cta { padding: 8px 14px; font-size: 12.5px; white-space: nowrap; }
    .logo { gap: 10px; }
    .logo__img { width: 44px; height: 44px; }
    .logo__name { font-size: 13.5px; }
    .logo__tagline { font-size: 10.5px; }
    .card { padding: 48px 22px 24px; }
    .footer__inner { justify-content: center; text-align: center; }
}
