@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--ink:#14334d;--muted:#516c82;--accent:#176bb0;--paper:#f7fbff;--line:#d3e4f1}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:100px}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Manrope,Arial,sans-serif;font-size:16px;line-height:1.65}
a{color:inherit;text-decoration:none}
button,input,textarea{font:inherit}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--accent);outline-offset:5px}
.header{min-height:100px;padding:22px 5%;display:flex;align-items:center;justify-content:space-between;gap:24px;background:var(--paper)}
.brand{display:flex;gap:13px;align-items:center;font-size:14px;font-weight:800;line-height:1.3;letter-spacing:1.1px}
.brand-mark{font-size:35px;background:var(--accent);width:49px;height:54px;display:grid;place-items:center;color:#fff}
.brand-caption{font-size:10px;display:block;letter-spacing:.6px;margin-top:7px;font-weight:600}
.header nav{display:flex;gap:30px;font-size:14px;font-weight:650}
.header nav a:hover{color:#12538a}
.header-phone{font-size:17px;font-weight:750;white-space:nowrap}
.hero{background:linear-gradient(120deg,#eaf6ff 0%,#d9edfc 65%,#cde6f9 100%);color:var(--ink)}
.hero-inner{max-width:1500px;margin:auto;display:grid;grid-template-columns:1.25fr 1fr;min-height:665px}
.hero-copy{padding:60px 4% 52px 8%}
.eyebrow{font-size:12px;font-weight:750;letter-spacing:1.8px;display:flex;gap:12px;align-items:center;margin:0 0 28px}
.eyebrow>span{width:23px;height:2px;background:var(--accent)}
h1{font-size:clamp(40px,4.8vw,75px);line-height:1.1;letter-spacing:-3px;font-weight:650;margin:0 0 28px}
h1 em{font-style:normal;color:var(--accent)}
.intro{color:#49677e;font-size:16px;line-height:1.8}
.hero-actions{display:flex;align-items:center;gap:26px;margin-top:34px}
.button{background:var(--accent);color:#ffffff;display:inline-flex;align-items:center;justify-content:space-between;gap:35px;min-height:58px;padding:16px 24px;font-size:15px;font-weight:800;border:0;cursor:pointer;transition:background .2s,transform .2s}
.button:hover{background:#12538a;transform:translateY(-2px)}
.button span{font-size:23px;line-height:1}
.text-link{font-size:14px;display:inline-flex;gap:15px;align-items:center;border-bottom:1px solid #97b9d2;padding:10px 0}
.hero-note{display:flex;gap:15px;align-items:center;margin-top:34px;color:#49677e;font-size:12px}
.note-line{height:35px;width:2px;background:#99c7e9}
.hero-note p{margin:0}
.hero-visual{position:relative;overflow:hidden;background:#22262a;margin:28px 28px 28px 0;display:flex;flex-direction:column;justify-content:center;padding:35px}
.visual-type{font-size:clamp(65px,7.6vw,120px);line-height:1.04;font-weight:800;letter-spacing:-6px;color:#f2f3f4}
.visual-type>span{color:var(--accent)}
.visual-footer{display:flex;flex-direction:column;gap:3px;font-size:11px;letter-spacing:1.5px;color:#c3c6c9;margin-top:36px}
.hero-strip{padding:23px 5%;border-top:1px solid #c5deef;display:flex;justify-content:space-between;gap:20px;align-items:center;color:#476b87;font-size:12px;letter-spacing:2px}
.plus{color:var(--accent);font-size:20px}
.section{max-width:1440px;padding:90px 5%;margin:auto}
h2{font-size:clamp(32px,3.8vw,54px);line-height:1.16;letter-spacing:-1.8px;font-weight:650;margin:0}
h2 span{color:#427da8}
.section-intro{color:var(--muted);max-width:460px;margin-top:22px}
footer{border-top:1px solid var(--line);padding:28px 5%;display:flex;justify-content:space-between;font-size:13px}
footer a{font-weight:750}
@media(min-width:1600px){.hero-copy{padding-left:0}
.header,.hero-strip{padding-left:max(5%,calc((100% - 1360px)/2));padding-right:max(5%,calc((100% - 1360px)/2))}
}
@media(max-width:900px){.header nav{display:none}
.hero-inner{grid-template-columns:1.3fr 1fr;min-height:600px}
.hero-copy{padding:45px 6% 40px 8%}
h1{letter-spacing:-2px}
.hero-actions{align-items:flex-start;flex-direction:column;gap:10px}
.desktop{display:none}
.visual-type{font-size:70px;letter-spacing:-4px}
.hero-visual{padding:24px}
.hero-strip{letter-spacing:.6px;font-size:10px}
}
@media(max-width:620px){.header{min-height:85px;padding:16px 5%;gap:10px}
.brand{font-size:11px}
.brand-mark{height:43px;width:39px;font-size:28px}
.brand-caption{font-size:8px}
.header-phone{font-size:13px}
.hero-inner{display:block;min-height:0}
.hero-copy{padding:38px 6%}
h1{font-size:45px;letter-spacing:-1.8px}
.eyebrow{font-size:10px;margin-bottom:23px}
.intro{font-size:15px}
.hero-actions{flex-direction:row;flex-wrap:wrap;align-items:center;gap:18px}
.button{font-size:14px;gap:24px}
.hero-visual{margin:0 6% 30px;min-height:230px;padding:25px}
.visual-type{font-size:53px;letter-spacing:-2px}
.visual-footer{margin-top:22px;font-size:9px}
.hero-strip{display:grid;grid-template-columns:1fr 20px 1fr;gap:10px;font-size:10px}
.hero-strip>.plus:nth-child(4){display:none}
.section{padding:58px 6%}
h2{letter-spacing:-1px}
footer{gap:20px;flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}
*{transition:none!important}
}

.hero-visual{padding:0;min-width:0;background:#1c2023}
.hero-visual>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 25%}
.hero-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#0003,transparent 35%,#000c)}
.visual-label{color:#fff;position:absolute;top:26px;left:26px;z-index:1;font-size:11px;letter-spacing:1.5px;padding:9px 13px;border:1px solid #ffffff60;background:#15171980}
.visual-footer{position:absolute;bottom:28px;left:28px;right:24px;z-index:1;font-size:12px;color:#fff;line-height:1.7;letter-spacing:1.3px}
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line);margin-top:45px}
.service{background:var(--paper);padding:30px;display:flex;flex-direction:column;min-width:0;transition:background .2s}
.service:hover{background:#fff}
.service-top{display:flex;align-items:center;gap:15px;justify-content:space-between;margin-bottom:28px}
.service-top>span{color:#56758c;font-size:14px}
.service-top>b{font-size:10px;letter-spacing:.8px;color:#56758c}
h3{font-size:22px;font-weight:700;line-height:1.4;letter-spacing:-.5px;margin:0 0 15px}
.service p{color:var(--muted);font-size:16px;margin:0 0 26px}
.service a{margin-top:auto;display:flex;gap:12px;justify-content:space-between;align-items:center;font-size:14px;font-weight:750;padding-top:17px;border-top:1px solid var(--line)}
.service a span{color:#176bb0;font-size:24px}
.service .service-cta{width:100%;min-height:48px;margin-top:auto;padding:12px 18px;border:0;border-radius:999px;background:var(--accent);color:#fff;font-size:14px;font-weight:800;line-height:1.35;text-align:center;cursor:pointer;box-shadow:0 9px 22px rgba(53,152,239,.18);transition:background .2s,transform .2s}
.service .service-cta:hover{background:var(--accent-dark);transform:translateY(-2px)}
.client-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:34px}
.client-gallery figure{margin:0;overflow:hidden;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 14px 35px rgba(20,51,77,.1)}
.client-gallery img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.client-gallery figcaption{display:flex;flex-direction:column;gap:4px;padding:16px 18px}
.client-gallery figcaption strong{font-size:15px}
.client-gallery figcaption span{color:var(--muted);font-size:13px;line-height:1.5}
.cost .text-link{border-color:#9fc3dd;font-weight:700;font-size:14px}
.cost{display:grid;grid-template-columns:1fr 1.05fr;gap:90px}
.cost-body>p{color:var(--muted)}
.cost-body>.cost-lead{font-size:23px;line-height:1.5;color:var(--ink);margin:0}
.cost-row{display:flex;gap:20px;justify-content:space-between;padding:20px 0;border-bottom:1px solid var(--line);font-size:14px}
.cost-row strong{text-align:right;font-size:14px}
.cost-body>.text-link{margin-top:20px}
.faq{display:grid;grid-template-columns:1fr 1.5fr;gap:60px;border-top:1px solid var(--line)}
details{border-bottom:1px solid var(--line)}
summary{list-style:none;cursor:pointer;padding:24px 0;display:flex;justify-content:space-between;gap:24px;font-size:17px;font-weight:650;line-height:1.5}
summary::-webkit-details-marker{display:none}
summary>span{font-size:24px;line-height:1;flex-shrink:0;color:#176bb0}
details[open] summary>span{transform:rotate(45deg)}
details p{margin:0;padding:0 35px 24px 0;color:var(--muted);font-size:16px;line-height:1.8}
@media(max-width:1000px){.service{padding:23px}
.service-top>b{font-size:10px;letter-spacing:0}
h3{font-size:20px}
.cost{gap:45px}
}
@media(max-width:760px){.services-grid{grid-template-columns:repeat(2,1fr)}
.client-gallery{grid-template-columns:1fr 1fr}
.client-gallery figure:first-child{grid-column:1/-1}
.cost,.faq{grid-template-columns:1fr;gap:35px}
.faq h2 br{display:none}
.hero-visual{min-height:340px}
}
@media(max-width:620px){.hero-visual{height:270px;min-height:0}
.visual-label{left:20px;top:20px;font-size:10px}
.visual-footer{left:20px;bottom:20px;font-size:10px}
.services-grid{grid-template-columns:1fr;margin-top:30px}
.service{padding:25px}
.service h3 br{display:none}
.service-top{margin-bottom:18px}
.service h3{font-size:23px}
.service-top>b{font-size:11px}
.client-gallery{grid-template-columns:1fr;margin-top:24px}
.client-gallery figure:first-child{grid-column:auto}
.header-phone{font-size:12px}
.cost-row strong{max-width:47%}
}
@media(max-width:360px){h1{font-size:39px}
.brand{gap:7px}
.header-phone{font-size:11px}
}
.header{position:sticky;top:0;z-index:50;border-bottom:1px solid var(--line);box-shadow:0 8px 30px rgba(20,51,77,.08)}
.header-actions{display:flex;align-items:center;gap:20px}
.header-phone{display:flex;flex-direction:column;line-height:1.25}
.header-phone small{font-size:10px;font-weight:600;color:var(--muted);margin-bottom:3px}
.header-request{border:0;background:var(--accent);color:#fff;padding:12px 18px;font-weight:750;cursor:pointer;border-radius:999px}
.header-request:hover{background:#12538a}
.button{border-radius:0}
.modal[hidden]{display:none}
.modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px}
.modal-backdrop{position:absolute;inset:0;background:rgba(12,39,60,.65);backdrop-filter:blur(5px)}
.modal-card{position:relative;z-index:1;width:min(460px,100%);max-height:calc(100vh - 32px);overflow:auto;background:#f7fbff;padding:32px;box-shadow:0 25px 80px rgba(8,40,64,.3);border-radius:24px}
.modal-close{position:absolute;right:20px;top:16px;border:0;background:transparent;color:var(--ink);font-size:32px;line-height:1;cursor:pointer}
.modal-card h2{font-size:28px;line-height:1.2;letter-spacing:-.7px}
.modal-intro{color:var(--muted);margin:12px 0 22px;line-height:1.6}
.modal-card form{display:grid;gap:14px}
.modal-card label{display:grid;gap:7px;font-size:14px;font-weight:700}
.modal-card input,.modal-card textarea{width:100%;border:1px solid #b8d2e5;background:#fff;color:var(--ink);padding:14px 15px;border-radius:10px;font-size:16px;resize:vertical}
.modal-card input::placeholder,.modal-card textarea::placeholder{color:#8299aa}
.form-submit{width:100%;margin-top:4px;border-radius:999px;justify-content:center}
.modal-card label small{font-weight:500;color:var(--muted)}
.form-note{font-size:12px;color:var(--muted);margin:0;line-height:1.6}
.form-error{margin:0;padding:10px 12px;border-radius:10px;background:#fff0f0;color:#9a2f2f;font-size:13px;line-height:1.5}
.form-error a{font-weight:800;text-decoration:underline}
.form-submit:disabled{cursor:wait;opacity:.7;transform:none}
.modal-open{overflow:hidden}
@media(max-width:900px){.header-actions{gap:10px}.header-request{padding:11px 13px}.header-phone small{display:none}}
@media(max-width:620px){.header-request{display:none}.header-actions{margin-left:auto}.modal{padding:8px}.modal-card{padding:24px 20px;max-height:calc(100vh - 16px);border-radius:18px}.modal-card h2{font-size:24px}.modal-card .eyebrow{margin-bottom:14px}.modal-intro{font-size:14px;margin:8px 0 16px}.modal-card form{gap:11px}.modal-card input,.modal-card textarea{padding:11px 13px}.modal-card textarea{min-height:74px}.form-note{font-size:11px}.header{min-height:76px}.header-phone{font-size:12px}}
@media(max-width:620px) and (max-height:700px){.modal-card{padding:18px 20px}.modal-card .eyebrow{margin-bottom:8px}.modal-card h2{font-size:22px}.modal-intro{font-size:13px;margin:6px 0 10px}.modal-card form{gap:7px}.modal-card input,.modal-card textarea{padding:9px 12px}.modal-card textarea{height:76px;min-height:76px}.form-submit{min-height:48px;padding:11px 20px}.form-note{line-height:1.35}}
.reviews-wrap{background:#fff}.reviews-heading{display:grid;grid-template-columns:1fr 1.15fr;gap:60px;align-items:end}.rating-box{display:flex;align-items:center;gap:28px;padding:25px 28px;background:#eaf5fd;border-left:4px solid var(--accent)}.rating-value{font-size:54px;font-weight:800;line-height:1;color:var(--accent)}.rating-stars{font-size:23px;letter-spacing:3px;color:#84a9c4}.rating-box p{margin:5px 0 0;color:var(--muted);font-size:14px;line-height:1.6}.reviews-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:42px}.review-card{position:relative;display:flex;flex-direction:column;padding:28px;border:1px solid var(--line);border-radius:22px;background:#f7fbff;min-height:300px}.review-card:nth-child(3){grid-column:1/-1;width:calc(50% - 9px)}.review-person{display:flex;align-items:center;gap:14px}.review-avatar{width:46px;height:46px;display:grid;place-items:center;border-radius:50%;background:#c9e6f8;color:var(--ink);font-weight:800}.review-person strong{display:block;font-size:16px}.review-person small{display:block;color:var(--muted);font-size:12px;margin-top:2px}.review-meta{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:22px 0 18px}.review-stars{color:#84a9c4;letter-spacing:2px}.review-service{border:1px solid var(--line);border-radius:999px;padding:6px 11px;color:var(--muted);font-size:12px}.review-card>p{font-size:17px;line-height:1.75;margin:0 0 25px}.sample-label{margin-top:auto;color:#7c96a9;font-size:10px;font-weight:750;letter-spacing:1.2px}.reviews-note{color:var(--muted);font-size:14px;margin:22px 0 0}.review-placeholder{background:linear-gradient(145deg,#f7fbff,#eef7fd)}@media(max-width:760px){.reviews-heading{grid-template-columns:1fr;gap:28px}.reviews-grid{grid-template-columns:1fr}.review-card:nth-child(3){grid-column:auto;width:100%}.rating-box{gap:18px;padding:20px}.rating-value{font-size:44px}.review-card{padding:22px;min-height:0}.review-meta{align-items:flex-start;flex-direction:column;margin:18px 0 14px}}
.header{display:grid;grid-template-columns:1fr auto 1fr;align-items:center}.header nav{justify-self:start}.header-actions{justify-self:end}.phone-center{justify-self:center;display:flex;align-items:center;gap:12px;font-size:17px;font-weight:800;white-space:nowrap}.phone-app-icon{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#55df70,#20b84c);box-shadow:inset 0 1px 1px #ffffff70,0 6px 14px #1fa64a35;transition:transform .2s,box-shadow .2s}.phone-app-icon svg{width:28px;height:28px;fill:#fff}.phone-center:hover .phone-app-icon{transform:translateY(-1px);box-shadow:inset 0 1px 1px #ffffff70,0 9px 18px #1fa64a45}.hero-visual{display:flex;align-items:center;justify-content:center;flex-direction:column;padding:34px;background:transparent;overflow:visible}.hero-visual:after{display:none}.portrait-card{position:relative;width:min(82%,420px);aspect-ratio:1}.portrait-card img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 22%;border-radius:22px;box-shadow:0 22px 55px rgba(20,51,77,.24);border:8px solid rgba(255,255,255,.72)}.portrait-card .visual-label{top:auto;bottom:18px;left:50%;transform:translateX(-50%);white-space:nowrap;background:rgba(20,51,77,.86);border:0;border-radius:999px;padding:10px 16px}.hero-visual .visual-footer{position:static;color:var(--ink);margin-top:20px;text-align:center;align-items:center}.header-actions .header-request{white-space:nowrap}@media(max-width:1050px){.header nav{display:none}.header{grid-template-columns:1fr auto 1fr}}@media(max-width:620px){.header{grid-template-columns:1fr;place-items:center;padding:12px 5%}.header-actions{display:none}.phone-center{justify-self:center}.phone-app-icon{width:44px;height:44px;border-radius:12px}.phone-center-number{font-size:16px}.hero-visual{height:auto;min-height:0;margin:0 6% 30px;padding:20px}.portrait-card{width:min(86%,300px)}.portrait-card img{border-width:6px;border-radius:18px}.portrait-card .visual-label{bottom:12px;font-size:10px}.hero-visual .visual-footer{font-size:10px}}
@media(max-width:620px){
  .hero-inner{display:flex;flex-direction:column}
  .hero-visual{order:-1;margin:0;padding:24px 6% 10px}
  .portrait-card{width:min(58vw,230px)}
  .portrait-card .visual-label{bottom:10px;font-size:9px;padding:7px 11px}
  .hero-visual .visual-footer{display:none}
  .hero-copy{padding-top:24px}
}

.yandex-services-card{width:min(92%,470px);margin-top:18px;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:14px;padding:15px 17px;border:1px solid #e4cf40;border-radius:18px;background:#fffdf0;box-shadow:0 12px 30px rgba(20,51,77,.10);color:var(--ink)}
.yandex-mark{width:48px;height:48px;display:block;border-radius:14px;object-fit:cover}
.yandex-card-copy{display:flex;flex-direction:column;line-height:1.3;min-width:0}
.yandex-card-copy small{color:#786d28;font-size:9px;font-weight:800;letter-spacing:1.2px}
.yandex-card-copy strong{font-size:18px;margin:2px 0}
.yandex-card-copy>span{color:var(--muted);font-size:12px}
.yandex-card-copy .yandex-rating{display:flex;align-items:center;gap:7px;margin:1px 0 3px;color:var(--ink);font-size:12px}
.yandex-rating b{font-size:14px}
.yandex-rating span:first-of-type{color:#f2b705;letter-spacing:1px}
.rating-yandex-logo{width:58px;height:58px;flex:0 0 auto;border-radius:16px;object-fit:cover}
.yandex-card-note{max-width:86px;color:#786d28;font-size:11px;font-weight:700;line-height:1.35;text-align:right}
@media(max-width:620px){.yandex-services-card{width:min(92vw,360px);grid-template-columns:auto 1fr;padding:12px 13px;margin-top:14px}.yandex-mark{width:43px;height:43px;border-radius:12px}.yandex-card-copy strong{font-size:16px}.yandex-card-copy>span{font-size:11px}.yandex-card-note{grid-column:1/-1;max-width:none;text-align:center;border-top:1px solid #eadf8c;padding-top:8px}}

.works-wrap{background:#eaf5fd}
.works-heading{display:grid;grid-template-columns:1.15fr .85fr;gap:70px;align-items:end}
.works-heading>p{max-width:480px;margin:0;color:var(--muted);font-size:16px;line-height:1.8}
.works-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:44px}
.work-card{position:relative;display:flex;flex-direction:column;min-height:390px;padding:30px;border:1px solid #c7deee;border-radius:22px;background:#f9fcff;overflow:hidden}
.work-number{position:absolute;right:24px;top:12px;color:#d7eaf7;font-size:72px;font-weight:800;line-height:1}
.work-type{position:relative;color:var(--accent);font-size:11px;font-weight:800;letter-spacing:1.4px}
.work-card h3{position:relative;margin-top:48px;font-size:27px;max-width:75%}
.work-card>p{color:var(--muted);font-size:15px;line-height:1.75;margin:0 0 25px}
.work-card>p b{color:var(--ink)}
.work-result{margin-top:auto;padding:17px 18px;border-radius:15px;background:#dff0fb;display:flex;flex-direction:column;gap:3px}
.work-result span{color:#58768d;font-size:10px;font-weight:800;letter-spacing:1.2px;text-transform:uppercase}
.work-result strong{font-size:14px;line-height:1.45}
.work-card>small{margin-top:14px;color:#7892a5;font-size:9px;font-weight:800;letter-spacing:1.1px}
@media(max-width:760px){.works-heading{grid-template-columns:1fr;gap:22px}.works-grid{grid-template-columns:1fr;margin-top:30px}.work-card{min-height:0;padding:24px}.work-card h3{margin-top:38px;font-size:24px}.work-number{font-size:60px}.work-result{margin-top:5px}}
/* Галерея выполненных работ */
.works-grid{grid-template-columns:repeat(6,1fr)}
.work-card{grid-column:span 2;display:block;min-height:0;padding:0}
.work-card:nth-child(4),.work-card:nth-child(5){grid-column:span 3}
.work-photo{position:relative;aspect-ratio:4/3;overflow:hidden;background:#d7e9f6}
.work-photo img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .35s ease}
.work-card:hover .work-photo img{transform:scale(1.025)}
.work-number{right:14px;top:14px;width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:rgba(247,251,255,.92);color:var(--accent);font-size:17px;line-height:1;box-shadow:0 6px 18px rgba(20,51,77,.14)}
.work-content{display:flex;flex-direction:column;padding:25px;min-height:330px}
.work-content h3{margin:12px 0 14px;max-width:none;font-size:24px}
.work-content>p{color:var(--muted);font-size:15px;line-height:1.72;margin:0 0 24px}
.work-content>p b{color:var(--ink)}
.work-content .work-result{margin-top:auto}
@media(max-width:1000px){.work-card,.work-card:nth-child(4),.work-card:nth-child(5){grid-column:span 3}}
@media(max-width:620px){.works-grid{grid-template-columns:1fr}.work-card,.work-card:nth-child(4),.work-card:nth-child(5){grid-column:auto}.work-content{min-height:0;padding:22px}.work-content h3{font-size:22px}.work-photo{aspect-ratio:4/3}}
.review-card:nth-child(3){grid-column:auto;width:auto}
.review-card:nth-child(5){grid-column:1/-1;width:calc(50% - 9px)}
@media(max-width:760px){.review-card:nth-child(5){grid-column:auto;width:100%}}

@media(max-width:620px){.hero-copy h1{font-size:clamp(34px,9.5vw,42px);line-height:1.08;letter-spacing:-1.4px;text-wrap:balance}}
/* Прайс услуг */
.price-section{display:block;max-width:1200px}
.price-heading{display:grid;grid-template-columns:1.15fr .85fr;column-gap:70px;align-items:end}
.price-heading .eyebrow{grid-column:1/-1}
.price-heading>p:last-child{margin:0;color:var(--muted);font-size:16px;line-height:1.8}
.price-tables{display:grid;gap:24px;margin-top:44px}
.price-group{overflow:hidden;border:1px solid var(--line);border-radius:22px;background:#fff}
.price-group>h3{margin:0;padding:20px 24px;background:#dff0fb;color:var(--ink);font-size:18px}
.price-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:30px;align-items:center;padding:19px 24px;border-top:1px solid var(--line)}
.price-item>div{display:flex;flex-direction:column;gap:3px}
.price-item strong{font-size:15px}
.price-item span{color:var(--muted);font-size:13px;line-height:1.55}
.price-item>b{min-width:105px;color:var(--accent);font-size:15px;text-align:right;white-space:nowrap}
.price-note{margin:22px 0 0;color:var(--muted);font-size:14px}
.price-tables>.text-link{justify-self:start;margin-top:0;font-weight:750}
.price-tables>.price-cta{justify-self:start;margin-top:0}
@media(max-width:760px){.price-heading{grid-template-columns:1fr;gap:20px}.price-heading .eyebrow{grid-column:auto}.price-tables{margin-top:30px}.price-item{gap:16px;padding:17px 18px}.price-item>b{min-width:90px;font-size:14px}.price-group>h3{padding:17px 18px}}
@media(max-width:420px){.price-item{grid-template-columns:1fr}.price-item>b{text-align:left}.price-item span{font-size:12px}}

/* Документы после ремонта */
.documents-wrap{background:#dff0fb}
.documents{display:grid;grid-template-columns:.75fr 1.25fr;gap:70px;align-items:start}
.documents h2 span{color:var(--accent)}
.documents-intro>p:last-child{max-width:500px;margin:0;color:var(--muted);font-size:16px;line-height:1.8}
.documents-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.document-card{margin:0;overflow:hidden;border:1px solid #bdd9ec;border-radius:22px;background:#fff;box-shadow:0 14px 35px rgba(20,51,77,.1)}
.document-card img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;object-position:top}
.document-card figcaption{padding:16px 18px;color:var(--ink);font-size:14px;font-weight:750;line-height:1.4}
@media(max-width:760px){.documents{grid-template-columns:1fr;gap:30px}.documents-grid{grid-template-columns:1fr;gap:16px;overflow:visible;margin:0;padding:0}.document-card{width:100%;border-radius:18px}.document-card figcaption{padding:13px 15px;font-size:13px}}

.hero-location{display:inline-flex;align-items:center;justify-content:center;margin:14px 0 0;padding:9px 14px;border:1px solid #9ccbea;border-radius:999px;background:#f7fbff;color:var(--accent);font-size:12px;font-weight:800;letter-spacing:.2px;text-align:center}
.form-location{margin:0 0 15px;padding:10px 13px;border-radius:12px;background:#dff0fb;color:var(--ink);font-size:13px;font-weight:750}
[hidden]{display:none!important}
@media(max-width:620px){.hero-location{max-width:300px;margin-top:12px;font-size:11px;line-height:1.45}}

.review-stars,.rating-stars{color:#f2b705}

.review-person img.review-avatar{display:block;object-fit:cover;border:2px solid #fff;box-shadow:0 3px 10px rgba(20,51,77,.16)}

/* Страница благодарности */
.thankyou-page{min-height:100vh;display:flex;flex-direction:column;background:linear-gradient(145deg,#edf8ff 0%,#d8edfc 100%)}
.thankyou-page .header{position:sticky;top:0;z-index:10;width:100%;background:rgba(247,251,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.thankyou-main{flex:1;display:grid;place-items:center;padding:64px 6%}
.thankyou-card{width:min(680px,100%);padding:54px;border:1px solid #bdd9ec;border-radius:28px;background:rgba(255,255,255,.86);box-shadow:0 24px 70px rgba(20,51,77,.14);text-align:center}
.thankyou-icon{width:76px;height:76px;margin:0 auto 24px;display:grid;place-items:center;border-radius:24px;background:var(--accent);color:#fff;font-size:38px;font-weight:800;box-shadow:0 14px 30px rgba(23,107,176,.25)}
.thankyou-card .eyebrow{justify-content:center;margin-bottom:18px;color:var(--accent)}
.thankyou-card h1{margin-bottom:20px;font-size:clamp(38px,6vw,64px);letter-spacing:-2px}
.thankyou-text{max-width:520px;margin:0 auto;color:var(--muted);font-size:17px;line-height:1.75}
.thankyou-location{display:inline-flex;margin:24px auto 0;padding:9px 14px;border-radius:999px;background:#dff0fb;color:var(--ink);font-size:13px;font-weight:750}
.thankyou-actions{display:flex;justify-content:center;align-items:center;gap:24px;margin-top:32px}
.thankyou-actions .button{min-width:240px;justify-content:center;text-align:center}
.thankyou-back{border-bottom:1px solid #97b9d2;padding:9px 0;font-size:14px;font-weight:700}
@media(max-width:620px){.thankyou-main{padding:35px 5% 110px}.thankyou-card{padding:36px 22px;border-radius:22px}.thankyou-card h1{font-size:38px;letter-spacing:-1px}.thankyou-text{font-size:15px}.thankyou-actions{flex-direction:column;gap:12px}.thankyou-actions .button{width:100%}}

/* Визуальная система по Figma-макету: светлое полотно, синие акценты и карточки-листы */
:root{
  --ink:#272b49;
  --muted:#5d6881;
  --accent:#3598ef;
  --accent-dark:#1978cd;
  --paper:#f4f9ff;
  --line:#dce9f5;
  --deep:#252944;
}

body{background:var(--paper);color:var(--ink)}
.header{
  min-height:82px;
  padding-top:14px;
  padding-bottom:14px;
  background:rgba(255,255,255,.94);
  border-color:#e5eef7;
  box-shadow:0 10px 35px rgba(38,65,94,.07);
  backdrop-filter:blur(14px);
}
.header nav{gap:26px;font-size:12px;font-weight:750;letter-spacing:.25px}
.header nav a{position:relative;padding:8px 0}
.header nav a:after{content:"";position:absolute;left:0;right:100%;bottom:2px;height:2px;background:var(--accent);transition:right .2s ease}
.header nav a:hover:after{right:0}
.phone-app-icon{width:42px;height:42px;border-radius:50%;box-shadow:none}
.phone-app-icon svg{width:25px;height:25px}
.header-request,.button{border-radius:999px;background:var(--accent);box-shadow:0 9px 22px rgba(53,152,239,.22)}
.header-request:hover,.button:hover{background:var(--accent-dark)}

.hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 78% 18%,rgba(53,152,239,.22),transparent 27%),
    radial-gradient(circle at 16% 88%,rgba(140,205,255,.22),transparent 24%),
    linear-gradient(145deg,#fbfdff 0%,#eef7ff 47%,#dcefff 100%);
}
.hero:before{content:"";position:absolute;width:520px;height:520px;right:-310px;top:-310px;border:1px solid rgba(53,152,239,.24);border-radius:50%;box-shadow:0 0 0 64px rgba(53,152,239,.035),0 0 0 128px rgba(53,152,239,.025)}
.hero-inner{position:relative;max-width:1360px;min-height:690px;grid-template-columns:1.08fr .92fr;align-items:center;padding:44px 5% 54px;gap:56px}
.hero-copy{padding:30px 0}
h1{max-width:760px;font-size:clamp(45px,5.2vw,78px);font-weight:750;line-height:1.05;letter-spacing:-3.8px}
h1 em{color:var(--accent)}
.intro{max-width:690px;color:var(--muted);font-size:17px;line-height:1.82}
.hero-actions{margin-top:32px}
.button{min-height:56px;padding:15px 25px}
.text-link{border-color:#99c9ef;font-weight:700}
.hero-visual{position:relative;margin:0;padding:32px 0 18px;isolation:isolate}
.hero-visual:before{content:"";position:absolute;z-index:-2;width:78%;height:76%;left:10%;top:7%;border-radius:10px;background:#fff;box-shadow:0 30px 70px rgba(39,63,91,.15);transform:rotate(-4deg)}
.hero-visual:after{display:block;content:"";position:absolute;z-index:-1;width:70%;height:68%;right:5%;bottom:8%;border-radius:10px;background:rgba(116,190,249,.42);transform:rotate(5deg)}
.portrait-card{width:min(76%,430px);z-index:1}
.portrait-card img{border:10px solid #fff;border-radius:8px;box-shadow:0 24px 55px rgba(35,57,83,.2)}
.portrait-card .visual-label{bottom:17px;background:var(--deep);border-radius:4px;box-shadow:0 7px 18px rgba(37,41,68,.2)}
.hero-visual .visual-footer{position:relative;z-index:1;color:var(--deep);font-size:10px;font-weight:750}
.yandex-services-card{position:relative;z-index:2;width:min(88%,445px);margin-top:-2px;border:1px solid #e8d969;border-radius:7px;box-shadow:0 16px 35px rgba(39,63,91,.13)}

.section{max-width:1320px;padding-top:104px;padding-bottom:104px}
.eyebrow{color:var(--accent-dark);font-size:11px;letter-spacing:2px}
h2{font-size:clamp(38px,4.2vw,61px);font-weight:750;line-height:1.08;letter-spacing:-2.6px}
h2 span{color:var(--accent)}
.section-intro{max-width:600px;font-size:17px;line-height:1.8}

.services-grid{gap:16px;margin-top:50px;background:transparent;border:0}
.service{padding:30px;border:1px solid var(--line);border-radius:7px;background:#fff;box-shadow:0 14px 35px rgba(39,63,91,.06)}
.service:hover{box-shadow:0 20px 42px rgba(39,63,91,.1);transform:translateY(-3px)}
.service-top{margin-bottom:24px}
.service-top>span{width:35px;height:35px;display:grid;place-items:center;border-radius:50%;background:#edf7ff;color:var(--accent-dark);font-weight:800}
.service h3{font-size:21px}
.service p{font-size:15px;line-height:1.72}
.service a{color:var(--accent-dark)}
.client-gallery{gap:18px;margin-top:42px}
.client-gallery figure{border-radius:7px;box-shadow:0 15px 36px rgba(39,63,91,.08)}

.price-section{max-width:1200px}
.price-group{border-radius:7px;box-shadow:0 16px 38px rgba(39,63,91,.06)}
.price-group>h3{background:#eaf6ff;color:var(--deep)}
.price-item>b{color:var(--accent-dark)}

.documents-wrap{background:linear-gradient(135deg,#e9f6ff 0%,#dcefff 100%)}
.documents{gap:62px}
.documents-grid{gap:16px}
.document-card{border-radius:7px;border-color:#cbdff0;box-shadow:0 18px 42px rgba(39,63,91,.11)}

.works-wrap{position:relative;overflow:hidden;background:#edf7ff;color:var(--ink)}
.works-wrap:before{content:"";position:absolute;width:560px;height:560px;right:-220px;top:-250px;border:1px solid rgba(53,152,239,.16);border-radius:50%;box-shadow:0 0 0 70px rgba(53,152,239,.025),0 0 0 140px rgba(53,152,239,.018)}
.works{position:relative}
.works-heading>p{color:var(--muted)}
.works .eyebrow{color:var(--accent-dark)}
.works h2 span{color:var(--accent)}
.works-grid{gap:18px}
.work-card{border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink);box-shadow:0 18px 40px rgba(39,63,91,.09)}
.work-number{border-radius:4px;background:var(--deep);color:#fff;box-shadow:none}
.work-content{min-height:330px}
.work-result{border-radius:5px;background:#eaf6ff}

.reviews-wrap{background:#fff}
.rating-box{border:1px solid var(--line);border-left:4px solid var(--accent);border-radius:7px;background:#f3f9ff}
.review-card{border-radius:7px;background:#fff;box-shadow:0 14px 34px rgba(39,63,91,.07)}
.review-service{border-radius:4px}
.faq{border:0}
details{border-color:#d5e5f2}
summary>span{color:var(--accent)}
footer{background:var(--deep);border:0;color:#dce8f6}

.modal-backdrop{background:rgba(24,28,53,.72)}
.modal-card{border-radius:10px;background:#fff}
.modal-card input,.modal-card textarea{border-radius:5px}
.modal-card input:focus,.modal-card input:focus-visible,.modal-card textarea:focus,.modal-card textarea:focus-visible{outline:none;box-shadow:none;border-color:#b8d2e5}
.form-location{border-radius:5px}
.thankyou-page{background:linear-gradient(145deg,#f8fcff 0%,#dcefff 100%)}
.thankyou-card{border-radius:10px;background:#fff}
.thankyou-icon{border-radius:50%}
.thankyou-actions .button-secondary{border:1px solid var(--accent);background:#fff;color:var(--accent-dark);box-shadow:none}
.thankyou-actions .button-secondary:hover{background:#edf7ff;color:var(--accent-dark)}

@media(max-width:1050px){
  .hero-inner{gap:30px;padding-left:6%;padding-right:6%}
  h1{font-size:clamp(43px,6vw,64px)}
}

@media(max-width:760px){
  .hero-inner{grid-template-columns:1fr;padding-top:26px}
  .section{padding-top:72px;padding-bottom:72px}
  .documents{gap:34px}
  .documents-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .document-card:first-child{grid-column:1/-1;width:calc(50% - 6px);justify-self:center}
  .document-card figcaption{padding:10px 11px;font-size:11px}
  .work-content{min-height:0}
}

@media(max-width:620px){
  .header{min-height:70px;padding-top:10px;padding-bottom:10px}
  .hero-inner{padding:20px 0 48px;gap:8px}
  .hero-copy{padding:24px 6% 0}
  h1{font-size:clamp(36px,10vw,45px);line-height:1.06;letter-spacing:-2px}
  .intro{font-size:15px;line-height:1.75}
  .hero-visual{margin:0;padding:22px 6% 12px}
  .hero-visual:before{width:66%;height:68%;left:15%;top:9%}
  .hero-visual:after{width:61%;height:61%;right:14%;bottom:12%}
  .portrait-card{width:min(56vw,230px)}
  .portrait-card img{border-width:7px;border-radius:6px}
  .yandex-services-card{width:min(88vw,350px);margin-top:4px}
  .section{padding:66px 6%}
  h2{font-size:clamp(35px,10vw,43px);letter-spacing:-1.8px}
  .services-grid{gap:12px}
  .service{padding:24px;border-radius:6px}
  .client-gallery figure,.document-card,.work-card,.review-card,.rating-box{border-radius:6px}
  .documents-grid{gap:10px}
  .document-card:first-child{width:calc(50% - 5px)}
  .document-card figcaption{padding:8px 9px;font-size:10px;line-height:1.3}
  footer{padding-top:24px;padding-bottom:24px}
}
