/* Реклама агентлиги сайти — дизайн */
:root {
  --ink: #0E1530; --muted: #5B6585; --line: #E3E7F3; --bg: #FFFFFF; --soft: #F4F6FC;
  --brand: #3B54F0; --brand-d: #1B2A8A; --brand-soft: #E8ECFF; --amber: #FFB020; --ok: #16A34A; --bad: #DC2626;
  --r: 22px; --shadow: 0 10px 40px rgba(20, 30, 90, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 17px/1.6 -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(1140px, 100% - 40px); margin: 0 auto; }
.muted { color: var(--muted); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---- Навигация ---- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.3px; }
.logo i { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), #6A4DFF); color: #fff; display: grid; place-items: center; font-style: normal; }
.menu { display: flex; gap: 22px; margin-left: auto; font-weight: 600; font-size: 15.5px; color: var(--muted); }
.menu a:hover { color: var(--brand); }
.phone { display: flex; align-items: center; gap: 8px; font-weight: 800; background: var(--brand-soft); color: var(--brand-d); padding: 10px 16px; border-radius: 14px; }
@media (max-width: 900px) { .menu { display: none; } .phone { margin-left: auto; } }
@media (max-width: 420px) { .phone span { display: none; } .phone { padding: 12px; } }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, #131E66 0%, #2B3FD0 55%, #5B3FE8 100%); padding: 70px 0 90px; }
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.eyebrow.light { color: #FFD27A; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; letter-spacing: -1.2px; font-weight: 800; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #FFD27A, #FFB020); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin: 20px 0 22px; font-size: 19px; color: #DCE2FF; max-width: 560px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; color: #EEF1FF; font-weight: 600; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1530' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat; }
.hero-shapes i { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .5; }
.hero-shapes i:nth-child(1) { width: 380px; height: 380px; right: -90px; top: -110px; background: radial-gradient(circle, rgba(255, 176, 32, .45), transparent 70%); }
.hero-shapes i:nth-child(2) { width: 300px; height: 300px; left: -80px; bottom: -120px; background: radial-gradient(circle, rgba(130, 110, 255, .6), transparent 70%); }
.hero-shapes i:nth-child(3) { width: 160px; height: 160px; left: 46%; top: 12%; background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 70%); }

/* ---- Форма ---- */
.lead-form { background: #fff; color: var(--ink); border-radius: 26px; padding: 26px; box-shadow: 0 24px 70px rgba(5, 10, 60, .45); position: relative; display: grid; gap: 14px; }
.lead-form h2 { font-size: 24px; letter-spacing: -.4px; }
.lead-form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; color: var(--muted); }
.lead-form label b { color: var(--bad); }
.lead-form input, .lead-form select, .lead-form textarea { font: inherit; font-weight: 500; color: var(--ink); padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; width: 100%; outline: none; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.lead-form textarea { resize: vertical; min-height: 64px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0; }
.btn-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: 18px; color: #0E1530; background: linear-gradient(180deg, #FFC24A, #FFA81A); padding: 16px 24px; border-radius: 16px; box-shadow: 0 8px 22px rgba(255, 168, 26, .45); transition: transform .12s, box-shadow .12s; }
.btn-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(255, 168, 26, .55); }
.btn-cta:active { transform: translateY(0); }
.btn-cta[disabled] { opacity: .7; pointer-events: none; }
.btn-cta.inline { margin-top: 18px; }
.fine { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.form-err { color: var(--bad); font-weight: 700; font-size: 14.5px; }
.form-ok { position: absolute; inset: 0; background: #fff; border-radius: 26px; display: grid; place-content: center; text-align: center; gap: 8px; padding: 26px; }
.form-ok[hidden] { display: none; }
.ok-ic { width: 64px; height: 64px; border-radius: 50%; background: #DCFCE7; color: var(--ok); font-size: 34px; font-weight: 800; display: grid; place-items: center; margin: 0 auto 6px; }
@media (max-width: 900px) { .hero { padding: 40px 0 56px; } .hero-in { grid-template-columns: 1fr; gap: 30px; } }

/* ---- Бўлимлар ---- */
.sec { padding: 84px 0; }
.sec.alt { background: var(--soft); }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.sec-head h2, .why h2, .contact h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.8px; line-height: 1.15; font-weight: 800; }
.sec-head p { margin-top: 12px; color: var(--muted); font-size: 18px; }
.sec-head .eyebrow { color: var(--brand); }
.grid { display: grid; gap: 20px; }
.services { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } .sec { padding: 56px 0; } }
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: transform .2s, box-shadow .2s, border-color .2s; display: flex; flex-direction: column; gap: 10px; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.svc-ic { width: 54px; height: 54px; border-radius: 16px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.svc-ic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-size: 21px; letter-spacing: -.3px; }
.svc p { color: var(--muted); font-size: 16px; flex: 1; }
.svc a { font-weight: 800; color: var(--brand); }

.steps4 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
@media (max-width: 960px) { .steps4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps4 { grid-template-columns: 1fr; } }
.steps4 li { background: #fff; border-radius: var(--r); padding: 26px; border: 1px solid var(--line); position: relative; }
.steps4 b { width: 46px; height: 46px; border-radius: 15px; background: linear-gradient(135deg, var(--brand), #6A4DFF); color: #fff; display: grid; place-items: center; font-size: 20px; margin-bottom: 14px; }
.steps4 h3 { font-size: 20px; margin-bottom: 6px; }
.steps4 p { color: var(--muted); font-size: 16px; }

.why { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: start; }
.why .eyebrow { color: var(--brand); }
.lead2 { margin-top: 14px; color: var(--muted); font-size: 18px; }
.lead2.light { color: #D5DBFF; }
.why-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
.why-i { border-radius: 18px; background: var(--soft); padding: 20px; border: 1px solid var(--line); }
.why-i h3 { font-size: 18px; margin-bottom: 4px; }
.why-i p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }

/* ---- Иллюстрациялар ---- */
.works { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .works { grid-template-columns: repeat(2, 1fr); } }
.work { margin: 0; border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.work > div { height: 200px; display: grid; place-items: center; position: relative; }
.work figcaption { padding: 14px 18px; font-weight: 800; }
.w1 > div { background: linear-gradient(180deg, #CFD8FF, #E8ECFF); }
.shop { width: 78%; height: 62%; background: #fff; border-radius: 10px 10px 0 0; position: relative; box-shadow: 0 8px 20px rgba(30, 40, 120, .2); }
.sign { position: absolute; left: 8%; right: 8%; top: -14px; height: 40px; background: #1B2A8A; color: #FFD27A; font-style: normal; font-weight: 800; letter-spacing: 3px; display: grid; place-items: center; border-radius: 8px; box-shadow: 0 0 22px rgba(255, 210, 122, .6); }
.door { position: absolute; left: 38%; right: 38%; bottom: 0; height: 52%; background: #3B54F0; border-radius: 6px 6px 0 0; }
.w2 > div { background: linear-gradient(135deg, #FFE7B3, #FFD27A); }
.banner { width: 80%; height: 64%; background: linear-gradient(135deg, #DC2626, #F97316); border-radius: 10px; color: #fff; display: grid; place-content: center; text-align: center; box-shadow: 0 10px 24px rgba(220, 38, 38, .35); }
.banner b { font-size: 24px; line-height: 1.1; letter-spacing: 1px; } .banner small { font-size: 30px; font-weight: 800; color: #FFE7B3; }
.w3 > div { background: linear-gradient(135deg, #0E1530, #232F7A); }
.letters { display: flex; gap: 8px; }
.letters i { font-style: normal; font-weight: 800; font-size: 44px; color: #fff; text-shadow: 0 0 18px #6AA0FF, 0 0 4px #fff; background: rgba(255, 255, 255, .08); border-radius: 10px; width: 46px; height: 64px; display: grid; place-items: center; }
.w4 > div { background: linear-gradient(135deg, #D8F3E4, #BDE8D2); }
.facade { width: 72%; height: 72%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.facade s { background: linear-gradient(135deg, #2B3FD0, #5B3FE8); border-radius: 6px; opacity: .92; }
.facade s:nth-child(2n) { background: linear-gradient(135deg, #FFB020, #FF8A00); }

/* ---- FAQ ---- */
.narrow { max-width: 800px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 18px; margin-bottom: 12px; padding: 4px 20px; }
details[open] { box-shadow: var(--shadow); border-color: transparent; }
summary { cursor: pointer; font-weight: 800; font-size: 18px; padding: 16px 28px 16px 0; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 0; top: 12px; font-size: 28px; color: var(--brand); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding: 0 0 18px; }

/* ---- Алоқа ---- */
.contact { background: linear-gradient(135deg, #131E66, #2B3FD0); color: #fff; }
.contact h2 { color: #fff; }
.contact-in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .contact-in { grid-template-columns: 1fr; gap: 28px; } }
.contacts { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.contacts li { display: flex; gap: 14px; align-items: baseline; }
.contacts span { width: 96px; color: #AEB8FF; font-weight: 700; font-size: 14.5px; flex: none; }
.contacts b { font-size: 19px; }
.contact-form-slot .lead-form { margin: 0; }

.foot { background: #0A1030; color: #9AA5D8; padding: 22px 0; font-size: 14.5px; }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* мобил тез алоқа */
.mbar { display: none; }
@media (max-width: 700px) {
  body { padding-bottom: 76px; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .mbar a { flex: 1; text-align: center; padding: 14px; border-radius: 14px; font-weight: 800; }
  .mb-call { background: var(--brand-soft); color: var(--brand-d); }
  .mb-form { background: linear-gradient(180deg, #FFC24A, #FFA81A); color: #0E1530; }
}

/* иллюстрациялар: аниқ ўлчамлар */
.work > div { height: 210px; overflow: hidden; }
.shop { width: 74%; height: 116px; margin-top: 38px; }
.sign { top: -20px; height: 42px; }
.door { height: 58px; }
.banner { height: 128px; width: 78%; }
.letters { gap: 6px; }
.letters i { font-size: 30px; width: 36px; height: 52px; border-radius: 8px; }
.facade { width: 74%; height: 132px; }
