/* ============================================================
   Anastasiya Sahin — landing page styles
   Palette & type reverse-engineered from the design template.
   ============================================================ */

:root {
    --navy:        #0a1120;
    --navy-2:      #0d1730;
    --navy-deep:   #060b17;
    --cream:       #ebe4d5;
    --cream-2:     #f2ece0;
    --gold:        #c2a15b;
    --gold-soft:   #d8c08a;
    --ink:         #16181d;   /* text on cream */
    --ink-soft:    #4a4d55;
    --light:       #f4f1ea;   /* text on navy */
    --light-soft:  #b7bec9;   /* muted text on navy */
    --hero-overlay-opacity: .55;

    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-ui:      "Jost", "Segoe UI", system-ui, sans-serif;

    --maxw: 1120px;
    --pad:  clamp(20px, 5vw, 48px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-ui);
    font-weight: 400;
    color: var(--light);
    background: var(--navy);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

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

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding-inline: var(--pad);
}

.section { padding-block: clamp(60px, 9vw, 120px); }
.section--navy  { background: var(--navy);  color: var(--light); }
.section--navy2 { background: var(--navy-2); color: var(--light); }
.section--cream { background: var(--cream); color: var(--ink); }

/* ---- Shared typography ---------------------------------- */
.eyebrow {
    font-size: .8rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-weight: 500;
}
.h-display {
    font-family: var(--font-ui);
    font-weight: 500;
    line-height: 1.02;
}
.section-title {
    font-family: var(--font-ui);
    font-weight: 300;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.08;
    margin: 0;
}
.section-title--serif {
    font-family: var(--font-ui);
    font-weight: 500;
}
.lead { font-size: clamp(1.05rem, 2vw, 1.4rem); }
.muted { color: var(--light-soft); }

/* ---- Sparkle heading ------------------------------------ */
.head-center { text-align: center; }
.head-sparkle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 4vw, 48px);
}
.head-sparkle img { width: clamp(20px, 3vw, 34px); height: auto; opacity: .9; }

/* ---- Buttons -------------------------------------------- */
.btn {
    --btn-bg: var(--navy);
    --btn-fg: var(--light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    padding: .95em 2.4em;
    min-width: 210px;
    font-family: var(--font-ui);
    font-size: .95rem;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    background: var(--btn-bg);
    color: var(--btn-fg);
    border: 1px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.btn--gold  { --btn-bg: var(--gold); --btn-fg: var(--navy); }
.btn--gold:hover { background: var(--gold-soft); }
.btn--light { --btn-bg: var(--cream); --btn-fg: var(--navy); }
.btn--outline {
    --btn-bg: transparent; --btn-fg: currentColor;
    border-color: currentColor;
}
.btn--outline:hover { background: color-mix(in srgb, currentColor 12%, transparent); }

/* ---- Checklists ----------------------------------------- */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
    position: relative;
    padding-left: 1.9em;
    margin-bottom: .55em;
}
.checklist li::before {
    content: "";
    position: absolute;
    left: 0; top: .18em;
    width: 1.05em; height: 1.05em;
    background: var(--gold);
    -webkit-mask: no-repeat center / contain
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
            mask: no-repeat center / contain
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
}

/* ============================================================
   1. HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 92vh;
    display: grid;
    place-items: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    background: #0d1220;
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background: url("/assets/portrait-bg.jpeg") center 20% / cover no-repeat;
    filter: grayscale(100%);
    z-index: 0;
}
.hero::after {
    content: "";
    position: absolute; inset: 0;
    background: #05050a;
    opacity: var(--hero-overlay-opacity);
    z-index: 1;
}
.hero__inner { position: relative; z-index: 2; min-width: 0; padding-block: 120px; }
.hero__beam { width: clamp(80px, 12vw, 150px); margin: 0 auto 1.2rem; opacity: .85; }
.hero__title {
    font-family: "Arya", var(--font-ui);
    font-weight: 700;
    font-size: clamp(1.8rem, 6.5vw, 5rem);
    letter-spacing: .12em;
    margin: 0 0 .3em;
    text-transform: uppercase;
}
.hero__subtitle {
    max-width: 64ch;
    margin: 0 auto 1.8rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: clamp(.85rem, 1.6vw, 1.05rem);
    color: #fff;
}
.hero__tagline {
    max-width: 68ch;
    margin: 0 auto 2.4rem;
    font-family: var(--font-ui);
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 400;
    line-height: 1.35;
    color: #fff;
}

/* ============================================================
   2. TRUST  ("Почему мне доверяют")
   ============================================================ */
.split {
    display: grid;
    grid-template-columns: 3fr 7fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
}
.photo-frame { position: relative; }
.photo-frame__sun {
    position: absolute;
    width: clamp(90px, 14vw, 150px);
    top: -6%; left: -6%;
    z-index: 2;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,.4));
}
.photo-frame img:not(.photo-frame__sun) {
    position: relative;
    z-index: 1;
    width: 85%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 100% 100% 0 0 / 75% 75% 0 0;
}
.stack > * + * { margin-top: 1.3rem; }

/* Arched-top image (dome top, straight sides & bottom) */
.arch {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 100% 100% 0 0 / 75% 75% 0 0;
    overflow: hidden;
}

/* ============================================================
   3. EXPERIENCE  ("Опыт, проверенный практикой")
   ============================================================ */
.exp-intro {
    display: grid;
    grid-template-columns: 3fr 7fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
    margin-bottom: clamp(40px, 6vw, 72px);
}
.exp-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(32px, 6vw, 80px);
}
.credentials { list-style: none; margin: 0; padding: 0; }
.credentials li {
    position: relative;
    padding-left: 1.4em;
    margin-bottom: .8em;
}
.credentials li::before {
    content: "";
    position: absolute; left: 0; top: .65em;
    width: .5em; height: .5em; border-radius: 50%;
    background: var(--gold);
}
.flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .35rem;
    font-size: 1.1rem;
}
.flow span { color: var(--light); }
.flow .arrow { color: var(--gold); font-size: 1.3rem; line-height: 1; }
.flow__title { color: var(--light-soft); margin-bottom: .8rem; font-weight: 500; }

/* ============================================================
   4. CONSULTING DIRECTIONS  ("Направление консультаций")
   ============================================================ */
.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(20px, 3vw, 34px);
    margin-top: clamp(40px, 6vw, 64px);
}
.card { display: flex; flex-direction: column; }
.card__img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    width: 100%;
    border-radius: 2px;
    margin-bottom: 1rem;
}
/* Oval-cropped photo (consultation cards) */
.card__img--oval { border-radius: 50%; aspect-ratio: 4 / 3; }
.card__img--top { object-position: center top; }
/* Line-art graphic (Beauty): show whole artwork, no crop */
.card__img--plain { object-fit: contain; background: transparent; }
.card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 .8rem;
}
.card .checklist { flex: 1; font-size: .95rem; }
.card .btn { margin-top: 1.4rem; width: 100%; min-width: 0; }

/* ============================================================
   5. PARTNERS  ("Проверенные партнеры")
   ============================================================ */
.partners-lead {
    text-align: center;
    max-width: 30ch;
    margin: 1.4rem auto 0;
}
.partners-statement {
    text-align: center;
    font-family: var(--font-ui);
    font-size: clamp(1.5rem, 3.4vw, 2.4rem);
    line-height: 1.3;
    max-width: 22ch;
    margin: clamp(36px,6vw,60px) auto 0;
}
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 6vw, 90px);
    max-width: 860px;
    margin: clamp(36px, 6vw, 60px) auto 0;
    font-size: 1.1rem;
}
.two-col .checklist li { text-align: left; }

/* ============================================================
   6. HOW I HELP  ("Как я могу помочь")
   ============================================================ */
.help {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: clamp(32px, 6vw, 72px);
}
.help__aside .photo-frame__sun { position: static; width: clamp(80px,10vw,120px); margin-bottom: 1.4rem; }
.help__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 4vw, 48px);
}
.help-block h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 .2rem;
    padding-bottom: .3rem;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}
.help-block p { color: var(--light-soft); margin: .6rem 0 .5rem; font-size: .95rem; }
.help-block ul { margin: 0; padding-left: 1.1em; font-size: .95rem; }
.help-block li { margin-bottom: .3em; }

/* ============================================================
   7. AUDIENCE  ("С кем я работаю")
   ============================================================ */
.audience {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 56px) clamp(32px, 6vw, 80px);
    max-width: 900px;
    margin: clamp(44px, 7vw, 72px) auto 0;
}
.aud-item { display: flex; gap: 1.1rem; align-items: flex-start; }
.aud-item::before {
    content: "";
    flex: 0 0 auto;
    width: 34px; height: 34px;
    background: var(--gold);
    border-radius: 100%;
    margin-top: .15em;
}
.aud-item span {
    font-size: clamp(1.15rem, 2.4vw, 1.6rem);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
}

/* ============================================================
   8. CONTACT  ("Контакт")
   ============================================================ */
.contact-wrap { display: grid; place-items: center; text-align: center; }
.contact__title { font-family: var(--font-ui); font-weight: 500; font-size: clamp(2.4rem, 6vw, 4rem); margin: 0; }
.contact-lead {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 4vw, 48px);
    margin-top: .4rem;
}
.contact__sub { font-size: clamp(1.05rem, 2.4vw, 1.5rem); margin: 0; }
.contact__arrow { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1; }
.contact__portrait {
    width: min(440px, 82vw);
    aspect-ratio: 4 / 3;
    margin: clamp(28px, 4vw, 40px) auto;
}
.contact-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: clamp(24px, 5vw, 56px);
    width: 100%;
    max-width: 860px;
}
.contact-item { text-align: left; }
.contact-item:last-child { text-align: right; }
.contact-item h4 {
    margin: 0 0 .3rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.contact-item a { text-decoration: none; color: var(--ink); }
.contact-item a:hover { color: var(--gold); }
.contact-row .btn { min-width: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--navy-deep);
    color: var(--light-soft);
    text-align: center;
    padding: 2.4rem var(--pad);
    font-size: .85rem;
    letter-spacing: .05em;
}

/* ============================================================
   FORM PAGE  ("Отправить заявку")
   ============================================================ */
.form-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: clamp(40px, 8vw, 90px) var(--pad);
    background:
        linear-gradient(rgba(10,17,32,.9), rgba(6,11,23,.96)),
        var(--navy-2);
}
.form-card {
    width: 100%;
    max-width: 620px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 4px;
    padding: clamp(28px, 5vw, 56px);
}
.form-card .back-link {
    display: inline-block;
    margin-bottom: 1.4rem;
    font-size: .85rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--light-soft);
}
.form-card .back-link:hover { color: var(--gold); }
.form-card h1 {
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: clamp(2rem, 5vw, 3rem);
    margin: 0 0 .3rem;
}
.form-card .sub { color: var(--light-soft); margin: 0 0 2rem; }

.field { margin-bottom: 1.3rem; }
.field label {
    display: block;
    margin-bottom: .45rem;
    font-size: .85rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--light-soft);
}
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: .85em 1em;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 3px;
    color: var(--light);
    font-family: var(--font-ui);
    font-size: 1rem;
    transition: border-color .2s ease, background .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255,255,255,.06);
}
.field select option { color: #000; }
.field .help-text { font-size: .8rem; color: var(--light-soft); margin-top: .35rem; }
.form-error { color: #f2a5a5; font-size: .82rem; margin-top: .35rem; }
.form-card .btn { width: 100%; margin-top: .6rem; }

.flash {
    padding: 1rem 1.2rem;
    border-radius: 3px;
    margin-bottom: 1.6rem;
    font-size: .95rem;
}
.flash--success { background: rgba(120,180,120,.15); border: 1px solid rgba(120,180,120,.5); color: #cfe8cf; }
.flash--error   { background: rgba(200,110,110,.15); border: 1px solid rgba(200,110,110,.5); color: #f0c9c9; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
    .help { grid-template-columns: 1fr; }
    .help__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .split,
    .exp-intro,
    .exp-grid,
    .two-col,
    .audience,
    .help__grid { grid-template-columns: 1fr; }
    .cards { grid-template-columns: 1fr; }
    .photo-frame { max-width: 460px; margin-inline: auto; }
    .flow { margin-top: 1rem; }
    .contact-lead { flex-direction: column; gap: .4rem; }
    .contact-row { grid-template-columns: 1fr; gap: 1.4rem; }
    .contact-item, .contact-item:last-child { text-align: center; }
}
