/* ==========================================================================
   Фотостудия `/ai-photos` (07.11.2026, дизайн одобрен владельцем): в стиле новой главной, акцент бирюзовый.
   Подключается только в ai_photos.html, все правила — под body.lp-studio: главная, калькуляторы и новости не задеты.
   Шапка и подвал — общие (landing-v2.css), слайдер «было → стало» и демо без регистрации — landing/_scripts.html.
   Бирюзовый кнопок — #0f766e: белый текст на прежнем #14b8a6 давал 2,5 : 1 (нужно 4,5 : 1).
   ========================================================================== */

body.lp-studio {
    --st-ink: #0b1220;
    --st-text: #0f172a;
    --st-muted: #5b6b85;
    --st-line: #e6e9f0;
    --st-bg: #f6f7fb;
    --st-teal: #0f766e;
    --st-teal-dark: #115e59;
    --st-teal-soft: #ccfbf1;
    --st-teal-bright: #2dd4bf;
    --st-amber: #b45309;
}
body.lp-studio [hidden] { display: none !important; }

/* ---------- кнопки ---------- */
.lp-studio .st-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 26px;
    border-radius: 999px; border: 1px solid transparent; font-family: inherit; font-size: 16px; font-weight: 700;
    text-decoration: none; white-space: nowrap; cursor: pointer; transition: background 0.15s, border-color 0.15s;
}
.lp-studio .st-btn:disabled { opacity: 0.65; cursor: wait; }
.lp-studio .st-btn:focus-visible { outline: 2px solid #5eead4; outline-offset: 2px; }
.lp-studio .st-btn-primary { background: var(--st-teal); color: #fff; }
.lp-studio .st-btn-primary:hover { background: var(--st-teal-dark); }
body.lp-studio a.st-btn-ghost { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.22); color: #e5e9f3; font-weight: 600; }
body.lp-studio a.st-btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.lp-studio .st-btn-white { background: #fff; color: var(--st-ink); }
.lp-studio .st-btn-white:hover { background: #ecfdf5; }
.lp-studio .st-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-studio .st-cta-center { justify-content: center; }
.lp-studio .st-alert {
    margin-top: 14px; padding: 11px 15px; border-radius: 12px; background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.45); color: #fde68a; font-size: 14px;
}
.lp-studio .st-final .st-alert { max-width: 560px; margin-left: auto; margin-right: auto; }

.lp-studio .st-chip { align-self: flex-start; display: inline-flex; padding: 3px 10px; border-radius: 999px; background: var(--st-teal-soft); color: var(--st-teal-dark); font-size: 12px; font-weight: 700; }

/* ---------- первый экран ---------- */
.lp-studio .st-hero {
    background-color: var(--st-ink);
    background-image: radial-gradient(900px 480px at 85% -10%, rgba(20, 184, 166, 0.2), transparent 60%);
    color: #e5e9f3;
}
.lp-studio .st-hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 56px; padding-top: 36px; padding-bottom: 36px; }
.lp-studio .st-hero-text { flex: 1 1 520px; min-width: 0; }
/* тёмная плашка над заголовком: сильнее общего .st-eyebrow (тот описан ниже и иначе перебивал фон) */
.lp-studio .st-eyebrow.st-eyebrow-dark { gap: 8px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); color: #dbe4f5; font-weight: 600; }
.lp-studio .st-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--st-teal-bright); flex: 0 0 auto; }
.lp-studio .st-h1 { margin: 14px 0 16px; font-size: clamp(32px, 3.3vw, 46px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; color: #fff; }
.lp-studio .st-ozon-word { color: #6ea8ff; }
.lp-studio .st-wb-word { color: #c084fc; }
.lp-studio .st-grad { background-image: linear-gradient(90deg, #5eead4, #fbbf24); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-studio .st-lead { margin: 0 0 26px; max-width: 600px; font-size: 18px; line-height: 1.6; color: #b8c4da; }
.lp-studio .st-note { margin: 14px 0 0; display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: #9fb0cc; }
.lp-studio .st-note i { color: var(--st-teal-bright); line-height: 1.4; }
.lp-studio .st-hero-media { flex: 0 1 390px; min-width: 0; margin: 0 auto; }

/* слайдер «было → стало» (ползунок — <input type=range>, проценты ставит landing/_scripts.html в --split) */
.lp-studio .lp-ba {
    position: relative; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: #0f172a; user-select: none;
    border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 30px 60px -30px rgba(15, 23, 42, 0.45);
}
.lp-studio .st-ba-hero { box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.6), 0 0 80px -30px rgba(20, 184, 166, 0.5); }
.lp-studio .lp-ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-studio .lp-ba .after { clip-path: inset(0 0 0 var(--split, 50%)); }
.lp-studio .lp-ba-handle { position: absolute; top: 0; bottom: 0; left: var(--split, 50%); width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2); pointer-events: none; }
.lp-studio .lp-ba-handle::after {
    content: '⇆'; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%;
    background: #fff; color: var(--st-ink); display: flex; align-items: center; justify-content: center; font-weight: 700; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.lp-studio .lp-ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.lp-studio .lp-ba:focus-within { outline: 2px solid #5eead4; outline-offset: 3px; }   /* ползунок с клавиатуры: стрелки */
.lp-studio .lp-ba-tag { position: absolute; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(15, 23, 42, 0.78); color: #fff; font-size: 12px; font-weight: 700; pointer-events: none; }
.lp-studio .lp-ba-tag.left { left: 12px; }
.lp-studio .lp-ba-tag.right { right: 12px; background: var(--st-teal); }

/* полоса под первым экраном — на тёмном фоне, четыре обещания сеткой */
.lp-studio .st-strip { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.lp-studio .st-strip-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 28px; padding-top: 14px; padding-bottom: 14px; font-size: 14px; line-height: 1.45; color: #b8c4da; }
.lp-studio .st-strip-inner span { display: flex; align-items: flex-start; gap: 8px; }
.lp-studio .st-strip-inner i { color: var(--st-teal-bright); font-size: 16px; line-height: 1.25; flex: 0 0 auto; }

/* ---------- секции ---------- */
.lp-studio .st-section { padding: clamp(44px, 6vw, 80px) 0; }
.lp-studio .st-section-white { background: #fff; }
.lp-studio .st-section-grey { background: var(--st-bg); }
.lp-studio .st-head { max-width: 760px; margin: 0 auto 32px; text-align: center; }
.lp-studio .st-head p { margin: 0; font-size: 17px; color: var(--st-muted); }
.lp-studio .st-eyebrow { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: var(--st-teal-soft); color: var(--st-teal-dark); font-size: 13px; font-weight: 700; }
.lp-studio .st-h2 { margin: 14px 0 10px; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; letter-spacing: -0.025em; font-weight: 800; color: var(--st-text); }
.lp-studio .st-h3-center { margin: 40px 0 16px; text-align: center; font-size: 24px; font-weight: 800; letter-spacing: -0.015em; }

/* ---------- как это работает ---------- */
.lp-studio .st-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.lp-studio .st-step { background: var(--st-bg); border: 1px solid var(--st-line); border-radius: 20px; padding: clamp(18px, 2vw, 24px); display: flex; flex-direction: column; gap: 8px; }
.lp-studio .st-step-head { display: flex; align-items: center; gap: 12px; }
.lp-studio .st-step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--st-teal); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.lp-studio .st-step h3 { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 700; }
.lp-studio .st-step p { margin: 0; font-size: 15px; color: var(--st-muted); }
.lp-studio .st-after { margin: 20px 0 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; text-align: center; font-size: 15px; color: var(--st-muted); }
.lp-studio .st-after i { color: var(--st-teal); }

/* ---------- примеры ---------- */
.lp-studio .st-showcase {
    display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; padding: clamp(16px, 2.4vw, 28px);
    background: #fff; border: 1px solid var(--st-line); border-radius: 20px;
}
.lp-studio .st-market {
    flex: 1 1 360px; min-width: 0; max-width: 470px; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 14px;
    border: 1px solid var(--st-line); border-radius: 18px; background: #fff; box-shadow: 0 20px 50px -30px rgba(15, 23, 42, 0.35);
}
.lp-studio .st-market-thumbs { display: flex; flex-direction: column; gap: 8px; }
.lp-studio .st-market-thumbs img { width: 64px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; border: 2px solid transparent; }
.lp-studio .st-market-thumbs img.is-active { border-color: var(--st-teal); }
.lp-studio .st-market-main { min-width: 0; }
.lp-studio .st-market-main img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; }
.lp-studio .st-market-title { margin-top: 10px; font-weight: 700; font-size: 15px; }
.lp-studio .st-market-price { margin-top: 4px; font-size: 14px; font-weight: 700; }
.lp-studio .st-market-price span { font-weight: 500; color: var(--st-muted); }
.lp-studio .st-market-btn { margin-top: 8px; height: 40px; border-radius: 10px; background: var(--st-teal); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.lp-studio .st-showcase-text { flex: 1 1 380px; min-width: 0; }
.lp-studio .st-showcase-text h3 { margin: 12px 0 8px; font-size: 24px; line-height: 1.25; letter-spacing: -0.015em; font-weight: 800; }
.lp-studio .st-showcase-text p { margin: 0 0 16px; font-size: 15px; color: var(--st-muted); }
.lp-studio .st-set { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 460px; }
.lp-studio .st-set img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; }
.lp-studio .st-pairs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 760px; margin: 0 auto; }
.lp-studio .st-gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.lp-studio .st-gallery figure { margin: 0; }
.lp-studio .st-gallery img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; }
.lp-studio .st-gallery figcaption { margin-top: 6px; font-size: 12px; color: var(--st-muted); text-align: center; }
.lp-studio .st-empty { text-align: center; color: var(--st-muted); }

/* ---------- возможности ---------- */
.lp-studio .st-features { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.lp-studio .st-card { grid-column: span 2; background: #fff; border: 1px solid var(--st-line); border-radius: 20px; padding: clamp(16px, 1.8vw, 22px); }
.lp-studio .st-card-wide { grid-column: span 3; }
.lp-studio .st-card h3 { margin: 0 0 6px; font-size: 18px; line-height: 1.3; font-weight: 700; }
.lp-studio .st-card p { margin: 0; font-size: 15px; color: var(--st-muted); }
.lp-studio .st-card-icon {
    width: 44px; height: 44px; border-radius: 12px; background: var(--st-teal-soft); color: var(--st-teal-dark); display: flex;
    align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px;
}
.lp-studio .st-card-dark { background: var(--st-ink); border-color: #1b2740; color: #e5e9f3; }
.lp-studio .st-card-dark h3 { color: #fff; }
.lp-studio .st-card-dark p { color: #b8c4da; }
.lp-studio .st-card-dark .st-card-icon { background: rgba(255, 255, 255, 0.1); color: #5eead4; }
.lp-studio .st-logos { display: inline-flex; gap: 6px; margin-left: 6px; vertical-align: -3px; }
.lp-studio .st-logos img { width: 20px; height: 20px; border-radius: 5px; }
.lp-studio .st-compare { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.lp-studio .st-compare .st-card { grid-column: auto; }
.lp-studio .st-compare ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 4px; font-size: 15px; }
.lp-studio .st-card-old { background: #f8fafc; }
.lp-studio .st-card-old h3 { color: #475569; }
.lp-studio .st-card-old ul { color: var(--st-muted); }
.lp-studio .st-card-new { border-color: var(--st-teal); }

/* ---------- цены (из настроек студии в админке) ---------- */
.lp-studio .st-free {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; margin-bottom: 16px;
    padding: clamp(18px, 2.4vw, 26px) clamp(18px, 2.4vw, 30px); border-radius: 22px; color: #e5e9f3;
    background-color: var(--st-ink); background-image: radial-gradient(600px 300px at 90% 0%, rgba(20, 184, 166, 0.25), transparent 60%);
}
.lp-studio .st-free-text { flex: 1 1 520px; min-width: 0; }
.lp-studio .st-free b { display: block; font-size: 22px; font-weight: 800; color: #fff; }
.lp-studio .st-free span { display: block; margin-top: 4px; font-size: 15px; color: #b8c4da; }
.lp-studio .st-free .st-btn { height: 48px; padding: 0 24px; font-size: 15px; }
.lp-studio .st-pkgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.lp-studio .st-pkg { position: relative; background: #fff; border: 1px solid var(--st-line); border-radius: 20px; padding: 26px 18px 20px; text-align: center; }
.lp-studio .st-pkg.is-best { border-color: var(--st-teal); box-shadow: 0 0 0 3px var(--st-teal-soft); }
.lp-studio .st-pkg-badge {
    position: absolute; top: -11px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 3px 10px; border-radius: 999px;
    background: var(--st-amber); color: #fff; font-size: 12px; font-weight: 700;
}
.lp-studio .st-pkg.is-best .st-pkg-badge { background: var(--st-teal); }
.lp-studio .st-pkg-n { font-size: 40px; line-height: 1; font-weight: 800; letter-spacing: -0.03em; }
.lp-studio .st-pkg-t { font-size: 14px; color: var(--st-muted); font-weight: 600; }
.lp-studio .st-pkg-p { margin-top: 14px; font-size: 24px; font-weight: 800; color: var(--st-teal-dark); }
.lp-studio .st-pkg-per { font-size: 13px; color: var(--st-muted); }
.lp-studio .st-notes { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px 24px; font-size: 14px; }
.lp-studio .st-notes li { display: flex; gap: 10px; align-items: flex-start; }
.lp-studio .st-notes i { color: var(--st-teal); font-size: 17px; line-height: 1.3; }
body.lp-studio .st-notes a { color: var(--st-teal-dark); }

/* ---------- вопросы ---------- */
.lp-studio .st-faq { max-width: 820px; margin: 0 auto; padding: 0 20px; display: flex; flex-direction: column; gap: 10px; }
.lp-studio .st-faq .st-h2 { margin: 0 0 14px; text-align: center; }
.lp-studio .st-faq details { background: #f8fafc; border: 1px solid var(--st-line); border-radius: 16px; padding: 0 20px; }
.lp-studio .st-faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; font-size: 16px; }
.lp-studio .st-faq summary:focus-visible { outline: 2px solid var(--st-teal); outline-offset: 4px; border-radius: 6px; }
.lp-studio .st-faq details p { margin: 0; padding-bottom: 16px; font-size: 15px; color: var(--st-muted); }

/* ---------- финальный призыв ---------- */
.lp-studio .st-final {
    background-color: var(--st-ink); background-image: radial-gradient(900px 420px at 50% 120%, rgba(20, 184, 166, 0.22), transparent 60%);
    color: #e5e9f3; text-align: center;
}
.lp-studio .st-final-inner { max-width: 760px; }
.lp-studio .st-final .st-h2 { margin: 0 0 12px; color: #fff; }
.lp-studio .st-final-inner > p { margin: 0 0 26px; font-size: 17px; color: #b8c4da; }

/* ---------- планшет и телефон ---------- */
@media (max-width: 991.98px) {
    .lp-studio .st-strip-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-studio .st-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lp-studio .st-card, .lp-studio .st-card-wide { grid-column: span 6; }
}
@media (max-width: 640px) {
    .lp-studio .st-strip-inner { grid-template-columns: 1fr; gap: 10px; }
    .lp-studio .st-cta-row .st-btn { flex: 1 1 100%; }
    .lp-studio .st-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-studio .st-gallery .st-wide-only { display: none; }
    .lp-studio .st-features .st-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; }
    .lp-studio .st-features .st-card-icon { grid-row: span 2; margin-bottom: 0; }
    .lp-studio .st-pkgs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-studio .st-market { grid-template-columns: 52px minmax(0, 1fr); }
    .lp-studio .st-market-thumbs img { width: 52px; }
}
@media (max-width: 400px) {
    .lp-studio .st-btn { font-size: 15px; padding: 0 18px; }
}
