/*
Theme Name: Gorodservice SOVED
Author: SOVED
Version: 0.1
*/
:root{--bg:#f5f7fb;--text:#111827;--muted:#64748b;--card:#fff;--line:#e5e7eb;--accent:#0f766e;--dark:#0f172a}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,Arial,sans-serif;background:var(--bg);color:var(--text)}
a{color:inherit;text-decoration:none}
.site-header{position:sticky;top:0;z-index:10;display:flex;align-items:center;gap:28px;justify-content:space-between;padding:18px 40px;background:rgba(255,255,255,.9);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}
.brand{font-size:22px;font-weight:800}
.site-header ul{display:flex;gap:18px;list-style:none;margin:0;padding:0}
.site-header a{font-weight:600}
.phone{padding:10px 14px;border:1px solid var(--line);border-radius:999px;background:#fff}
.hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.6fr);gap:28px;max-width:1180px;margin:42px auto 24px;padding:56px 28px}
.eyebrow{display:inline-block;margin-bottom:18px;padding:8px 12px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--accent);font-weight:700}
h1{font-size:58px;line-height:1.02;margin:0 0 24px;letter-spacing:-.04em}
h2{font-size:38px;line-height:1.1;margin:0 0 24px;letter-spacing:-.03em}
h3{font-size:24px;margin:0 0 12px}
p{font-size:18px;line-height:1.55;color:var(--muted)}
.hero p{max-width:760px;font-size:22px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 18px;border-radius:14px;background:#fff;border:1px solid var(--line);font-weight:800}
.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}
.hero-card{align-self:stretch;background:var(--dark);color:#fff;border-radius:28px;padding:28px;display:flex;flex-direction:column;gap:16px;box-shadow:0 24px 80px rgba(15,23,42,.18)}
.hero-card strong{font-size:28px;line-height:1.1}
.hero-card span{padding-top:14px;border-top:1px solid rgba(255,255,255,.18);color:#cbd5e1}
.section{max-width:1180px;margin:0 auto 24px;padding:42px 28px}
.muted{background:#fff;border-radius:32px}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.card{background:#fff;border:1px solid var(--line);border-radius:26px;padding:26px;min-height:230px;transition:.18s}
.card:hover{transform:translateY(-3px);box-shadow:0 20px 60px rgba(15,23,42,.08)}
.service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.service-grid a{background:var(--bg);border:1px solid var(--line);border-radius:18px;padding:18px;font-weight:800}
.portfolio-preview,.contact-strip{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#fff;border-radius:32px}
.portfolio-preview p,.contact-strip p{max-width:720px}
.page-main{max-width:980px;margin:40px auto;padding:0 24px}
.page-card{background:#fff;border-radius:28px;padding:38px;border:1px solid var(--line)}
.page-card h1{font-size:46px}
.site-footer{display:grid;grid-template-columns:1fr 1fr 1fr;gap:24px;max-width:1180px;margin:40px auto 0;padding:34px 28px 50px;color:var(--muted);border-top:1px solid var(--line)}
.soved{text-align:right;font-weight:800;color:var(--text)}
@media(max-width:900px){
.site-header{position:static;align-items:flex-start;flex-direction:column;padding:18px}
.site-header ul{flex-wrap:wrap}
.hero{grid-template-columns:1fr;padding:34px 18px}
h1{font-size:40px}
h2{font-size:30px}
.cards,.service-grid,.site-footer{grid-template-columns:1fr}
.portfolio-preview,.contact-strip{display:block}
.soved{text-align:left}
}

/* Content polish */
.content h2,
.page-card h2{
  margin-top:34px;
  margin-bottom:14px;
  font-size:30px;
  letter-spacing:-.02em;
}

.content h3,
.page-card h3{
  margin-top:28px;
  margin-bottom:10px;
  font-size:24px;
}

.content ul,
.content ol,
.page-card ul,
.page-card ol{
  padding-left:24px;
  margin:18px 0;
}

.content li,
.page-card li{
  margin:8px 0;
  font-size:18px;
  line-height:1.55;
  color:#334155;
}

.content strong,
.page-card strong{
  color:#0f172a;
}

.content img,
.page-card img{
  max-width:100%;
  height:auto;
  border-radius:18px;
  margin:16px 0;
}

.content table,
.page-card table{
  width:100% !important;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border:1px solid #e5e7eb;
  border-radius:18px;
  margin:24px 0;
  background:#fff;
}

.content table th,
.content table td,
.page-card table th,
.page-card table td{
  padding:14px 16px;
  border-bottom:1px solid #e5e7eb;
  border-right:1px solid #e5e7eb;
  vertical-align:top;
  font-size:16px;
  line-height:1.45;
}

.content table th,
.page-card table th{
  background:#f8fafc;
  font-weight:800;
}

.content table tr:last-child td,
.page-card table tr:last-child td{
  border-bottom:0;
}

.content table td:last-child,
.content table th:last-child,
.page-card table td:last-child,
.page-card table th:last-child{
  border-right:0;
}

.content hr,
.page-card hr{
  border:0;
  border-top:1px solid #e5e7eb;
  margin:30px 0;
}

.content .discount,
.page-card .discount{
  padding:24px;
  border-radius:22px;
  background:#0f172a;
  color:#fff;
  margin:28px 0;
}

.content .discount p,
.page-card .discount p{
  color:#fff;
}

.contact-page h2{
  margin-top:28px;
  margin-bottom:8px;
}

@media(max-width:760px){
  .page-card{
    padding:24px 18px;
  }

  .page-card h1{
    font-size:34px;
  }

  .content table,
  .page-card table{
    display:block;
    overflow-x:auto;
    white-space:nowrap;
  }
}

.main-nav{
  display:flex;
  align-items:center;
  gap:18px;
}

.main-nav a{
  color:#334155;
  font-size:15px;
  font-weight:800;
}

.main-nav a:hover{
  color:#0f766e;
}

@media(max-width:900px){
  .main-nav{
    flex-wrap:wrap;
    gap:12px;
  }
}

.service-list-page{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin:28px 0 36px;
}

.service-list-page .card{
  min-height:auto;
}

.page-card a{
  color:#0f766e;
  font-weight:800;
}

@media(max-width:900px){
  .service-list-page{
    grid-template-columns:1fr;
  }
}

.hero-v2{
  align-items:center;
}

.hero-photo-card{
  position:relative;
  min-height:430px;
  border-radius:32px;
  overflow:hidden;
  background:#0f172a;
  box-shadow:0 28px 90px rgba(15,23,42,.22);
}

.hero-photo-card img{
  width:100%;
  height:100%;
  min-height:430px;
  object-fit:cover;
  display:block;
  opacity:.9;
}

.hero-photo-note{
  position:absolute;
  left:22px;
  right:22px;
  bottom:22px;
  padding:20px;
  border-radius:22px;
  background:rgba(15,23,42,.82);
  backdrop-filter:blur(14px);
  color:#fff;
}

.hero-photo-note strong{
  display:block;
  font-size:22px;
  margin-bottom:6px;
}

.hero-photo-note span{
  color:#cbd5e1;
}

.trust-row{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  padding-top:0;
}

.trust-row div{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:22px;
  padding:20px;
}

.trust-row strong{
  display:block;
  font-size:20px;
  margin-bottom:8px;
}

.trust-row span{
  color:#64748b;
  line-height:1.4;
}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:24px;
}

.section-head h2{
  margin-bottom:0;
}

.section-head p{
  max-width:520px;
  margin:0;
}

.service-card span{
  display:inline-flex;
  margin-bottom:24px;
  width:42px;
  height:42px;
  border-radius:14px;
  align-items:center;
  justify-content:center;
  background:#f1f5f9;
  color:#0f766e;
  font-weight:900;
}

.portfolio-v2{
  align-items:center;
}

.portfolio-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

@media(max-width:900px){
  .trust-row{
    grid-template-columns:1fr;
    padding:18px;
  }

  .section-head{
    display:block;
  }

  .portfolio-actions{
    justify-content:flex-start;
  }
}

.reviews-preview{
  background:#fff;
  border-radius:32px;
}

.review-cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin:22px 0;
}

.review-card{
  border:1px solid #e5e7eb;
  border-radius:24px;
  padding:24px;
  background:#f8fafc;
}

.review-card strong{
  display:block;
  font-size:22px;
  margin-bottom:10px;
}

.review-card p{
  margin:0;
}

.request-box{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  background:#0f172a;
  color:#fff;
  border-radius:34px;
}

.request-box h2{
  color:#fff;
  margin-bottom:12px;
}

.request-box p{
  color:#cbd5e1;
  max-width:720px;
}

.request-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.footer-v2{
  display:grid;
  grid-template-columns:1.3fr 1fr 1.2fr 1fr;
  gap:28px;
  background:#fff;
  border-radius:32px 32px 0 0;
  border:1px solid #e5e7eb;
  border-bottom:0;
}

.footer-v2 strong{
  display:block;
  font-size:18px;
  margin-bottom:12px;
  color:#0f172a;
}

.footer-v2 p{
  margin:0;
  font-size:15px;
}

.footer-v2 a,
.footer-v2 span{
  display:block;
  margin:8px 0;
  color:#64748b;
  font-weight:700;
}

.footer-v2 a:hover{
  color:#0f766e;
}

.footer-v2 .soved{
  margin-top:18px;
  color:#0f172a;
  font-weight:900;
}

@media(max-width:900px){
  .review-cards,
  .footer-v2{
    grid-template-columns:1fr;
  }

  .request-box{
    display:block;
  }

  .request-actions{
    justify-content:flex-start;
  }
}

.facts-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.fact-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:24px;
  padding:28px;
}

.fact-card strong{
  display:block;
  font-size:38px;
  line-height:1;
  margin-bottom:12px;
  color:#0f172a;
}

.fact-card span{
  color:#64748b;
  font-weight:700;
}

.why-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.why-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:24px;
  padding:28px;
}

.why-card h3{
  margin:0 0 12px;
  font-size:22px;
}

.why-card p{
  margin:0;
}

@media(max-width:900px){

  .facts-grid,
  .why-grid{
    grid-template-columns:1fr;
  }

}

.front-gallery{
  background:#fff;
  border-radius:32px;
}

.front-gallery-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr;
  grid-auto-rows:210px;
  gap:14px;
}

.gallery-photo{
  display:block;
  overflow:hidden;
  border-radius:22px;
  background:#e5e7eb;
}

.gallery-photo.big{
  grid-row:span 2;
}

.gallery-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .2s ease;
}

.gallery-photo:hover img{
  transform:scale(1.04);
}

.gallery-more{
  margin-top:18px;
}

@media(max-width:900px){
  .front-gallery-grid{
    grid-template-columns:1fr;
    grid-auto-rows:220px;
  }

  .gallery-photo.big{
    grid-row:auto;
  }
}

/* Fix request buttons on dark CTA */
.request-box .btn{
  min-width:150px;
  color:#0f172a;
  background:#fff;
  border-color:#fff;
}

.request-box .btn.primary{
  color:#fff;
  background:#0f766e;
  border-color:#0f766e;
}

/* Make homepage gallery less dominant */
.front-gallery-grid{
  grid-auto-rows:170px;
}

.front-gallery{
  padding-top:34px;
  padding-bottom:34px;
}

.gallery-photo.big{
  grid-row:span 2;
}

@media(max-width:900px){
  .front-gallery-grid{
    grid-auto-rows:190px;
  }
}

.gs-form-wrap{
  margin-top:24px;
}

.gs-form-success{
  padding:16px 18px;
  margin-bottom:18px;
  border-radius:16px;
  background:#dcfce7;
  color:#166534;
  font-weight:800;
}

.gs-request-form{
  display:grid;
  gap:16px;
  padding:24px;
  border:1px solid #e5e7eb;
  border-radius:24px;
  background:#f8fafc;
}

.gs-request-form label{
  display:grid;
  gap:8px;
}

.gs-request-form span{
  font-weight:800;
  color:#0f172a;
}

.gs-request-form input,
.gs-request-form textarea{
  width:100%;
  border:1px solid #dbe3ef;
  border-radius:14px;
  padding:14px 16px;
  font:inherit;
  background:#fff;
}

.gs-request-form textarea{
  resize:vertical;
}

.gs-request-form button{
  border:0;
  border-radius:14px;
  padding:15px 18px;
  background:#0f766e;
  color:#fff;
  font-weight:900;
  font:inherit;
  cursor:pointer;
}

.gs-request-form button:hover{
  filter:brightness(.95);
}

.client-types-grid,
.work-types-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.client-type,
.work-type{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:24px;
  padding:26px;
}

.client-type h3,
.work-type h3{
  margin:0 0 10px;
  font-size:22px;
}

.client-type p,
.work-type p{
  margin:0;
  color:#64748b;
}

@media(max-width:900px){
  .client-types-grid,
  .work-types-grid{
    grid-template-columns:1fr;
  }
}

.page-kicker{
  display:inline-flex;
  margin-bottom:16px;
  padding:8px 12px;
  border-radius:999px;
  background:#ecfeff;
  color:#0f766e;
  font-size:13px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.entry-content{
  font-size:18px;
  line-height:1.75;
}

.entry-content h2{
  margin-top:34px;
  margin-bottom:14px;
  font-size:30px;
}

.entry-content h3{
  margin-top:26px;
  margin-bottom:10px;
  font-size:23px;
}

.entry-content ul,
.entry-content ol{
  padding-left:22px;
}

.entry-content li{
  margin:8px 0;
}

.page-service-cta{
  margin-top:42px;
  padding:30px;
  border-radius:28px;
  background:#0f172a;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.page-service-cta h2{
  margin:0 0 10px;
  color:#fff;
  font-size:30px;
}

.page-service-cta p{
  margin:0;
  color:#cbd5e1;
  max-width:720px;
}

.page-service-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.page-service-cta .btn{
  white-space:nowrap;
  color:#0f172a;
  background:#fff;
  border-color:#fff;
}

.page-service-cta .btn.primary{
  color:#fff;
  background:#0f766e;
  border-color:#0f766e;
}

@media(max-width:900px){
  .entry-content{
    font-size:16px;
  }

  .page-service-cta{
    display:block;
  }

  .page-service-actions{
    justify-content:flex-start;
    margin-top:20px;
  }
}

.gs-consent{
  display:flex !important;
  align-items:flex-start;
  gap:10px;
  font-s
  color:#475569;
}

.gs-consent input{
  width:auto !important;
  margin-top:4px;
}

.gs-consent a{
  color:#0f766e;
  font-weight:800;
}

.not-found-page{
  text-align:left;
}

.not-found-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}

/* Mobile polish */
@media(max-width:760px){
  body{
    font-size:16px;
    overflow-x:hidden;
  }

  .site-header{
    position:static;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:12px;
    padding:14px 16px;
  }

  .brand{
    font-size:21px;
    line-height:1.15;
  }

  .main-nav{
    display:flex;
    gap:8px;
    overflow-x:auto;
    white-space:nowrap;
    margin:0 -16px;
    padding:0 16px 4px;
    -webkit-overflow-scrolling:touch;
  }

  .main-nav::-webkit-scrollbar{
    display:none;
  }

  .main-nav a{
    flex:0 0 auto;
    padding:8px 11px;
    border:1px solid #e5e7eb;
    border-radius:999px;
    background:#fff;
    font-s
  }

  .phone{
    display:block;
    width:100%;
    text-align:center;
    padding:12px 14px;
    border-radius:16px;
    background:#0f766e;
    color:#fff !important;
    font-weight:900;
  }

  .hero{
    padding:28px 16px 26px;
  }

  .hero-grid{
    display:block;
  }

  .hero h1{
    font-size:34px;
    line-height:1.05;
    letter-spacing:-.04em;
    margin-bottom:16px;
  }

  .hero p{
    font-size:17px;
    line-height:1.55;
  }

  .hero-actions{
    display:flex;
    flex-direction:column;
    gap:10px;
  }

  .hero-actions .btn,
  .request-actions .btn,
  .gallery-more .btn,
  .not-found-actions .btn{
    width:100%;
    justify-content:center;
    text-align:center;
  }

  .hero-photo-card{
    margin-top:22px;
  }

  .hero-photo-card img{
    height:auto;
    max-height:340px;
    object-fit:cover;
  }

  .trust-row,
  .stats-grid,
  .why-grid,
  .cards,
  .service-list-page,
  .client-types-grid,
  .work-types-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:14px;
  }

  .section{
    padding:34px 16px;
  }

  .section-head{
    margin-bottom:20px;
  }

  .section-head h2,
  .page-card h1{
    font-size:30px;
    line-height:1.12;
    letter-spacing:-.03em;
  }

  .section-head p{
    font-size:16px;
    line-height:1.55;
  }

  .card,
  .why-card,
  .client-type,
  .work-type,
  .stat-card{
    border-radius:20px;
    padding:20px;
  }

  .front-gallery-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
  }

  .front-gallery-grid .gallery-photo.big{
    grid-column:1 / -1;
  }

  .gallery-photo img{
    height:155px;
    border-radius:18px;
  }

  .gallery-photo.big img{
    height:235px;
  }

  .request-box{
    margin:20px 16px 36px;
    padding:24px;
    border-radius:24px;
  }

  .request-box h2{
    font-size:28px;
    line-height:1.1;
  }

  .request-actions{
    display:flex;
    flex-direction:column;
    gap:10px;
  }

  .page-main{
    padding:24px 16px 36px;
  }

  .page-card{
    padding:22px;
    border-radius:24px;
  }

  .entry-content{
    font-size:16px;
    line-height:1.65;
  }

  .entry-content h2{
    font-size:25px;
    line-height:1.15;
  }

  .page-service-cta{
    padding:22px;
    border-radius:22px;
  }

  .page-service-cta h2{
    font-size:25px;
  }

  .page-service-actions{
    display:flex;
    flex-direction:column;
  }

  .page-service-actions .btn{
    width:100%;
    text-align:center;
    justify-content:center;
  }

  .gs-request-form{
    gap:14px;
  }

  .gs-request-form input,
  .gs-request-form textarea{
    font-size:16px;
    border-radius:16px;
  }

  .gs-request-form button{
    width:100%;
    border-radius:16px;
  }

  .gs-consent{
    font-size:13px;
    line-height:1.4;
  }

  .footer-v2{
    display:grid;
    grid-template-columns:1fr;
    gap:22px;
    padding:30px 16px;
  }
}

@media(max-width:380px){
  .hero h1{
    font-size:30px;
  }

  .section-head h2,
  .page-card h1{
    font-size:27px;
  }

  .gallery-photo img{
    height:135px;
  }

  .gallery-photo.big img{
    height:210px;
  }
}

/* Text reviews */
.text-reviews-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
  margin:26px 0 34px;
}

.text-review-card{
  padding:24px;
  border:1px solid #e5e7eb;
  border-radius:24px;
  background:#fff;
  box-shadow:0 18px 45px rgba(15,23,42,.06);
}

.text-review-top{
  display:flex;
  justify-content:space-between;
  gap:18px;
  margin-bottom:14px;
}

.text-review-card h2{
  margin:0 0 4px;
  font-size:22px;
}

.text-review-card span{
  color:#64748b;
  font-s
  font-weight:800;
}

.review-stars{
  color:#f59e0b;
  white-space:nowrap;
  letter-spacing:1px;
}

.text-review-card p{
  margin:0 0 16px;
  color:#334155;
  line-height:1.65;
}

.text-review-card a{
  color:#0f766e;
  font-weight:900;
}

@media(max-width:900px){
  .text-reviews-grid{
    grid-template-columns:1fr;
  }

  .text-review-top{
    display:block;
  }

  .review-stars{
    margin-top:8px;
  }
}

/* Home real reviews */
.home-real-reviews{
  background:#f8fafc;
}

.home-reviews-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.home-review-card{
  padding:24px;
  border:1px solid #e5e7eb;
  border-radius:24px;
  background:#fff;
  box-shadow:0 18px 45px rgba(15,23,42,.06);
}

.home-review-card p{
  margin:12px 0 18px;
  color:#334155;
  line-height:1.65;
  font-size:17px;
}

.home-review-card strong{
  display:block;
  color:#0f172a;
  font-size:18px;
}

.home-review-card span{
  display:block;
  margin-top:4px;
  color:#64748b;
  font-s
  font-weight:800;
}

@media(max-width:900px){
  .home-reviews-grid{
    grid-template-columns:1fr;
  }
}

/* Mobile polish v2 */
@media(max-width:760px){
  .site-header{
    padding:12px 14px 10px;
    gap:10px;
    border-bottom:1px solid #e5e7eb;
  }

  .brand{
    font-size:20px;
    letter-spacing:-.03em;
  }

  .phone{
    padding:10px 12px;
    border-radius:14px;
    font-size:15px;
  }

  .main-nav{
    gap:7px;
    padding-bottom:2px;
  }

  .main-nav a{
    padding:7px 10px;
    font-size:13px;
    border-radius:999px;
  }

  .hero{
    padding:24px 14px 22px;
  }

  .eyebrow{
    font-size:12px;
    letter-spacing:.08em;
  }

  .hero h1{
    font-size:30px;
    line-height:1.08;
    letter-spacing:-.045em;
    margin-top:10px;
    margin-bottom:14px;
  }

  .hero p{
    font-size:16px;
    line-height:1.5;
  }

  .hero-actions{
    margin-top:18px;
  }

  .btn{
    min-height:46px;
    padding:12px 16px;
    border-radius:15px;
  }

  .hero-photo-card{
    margin-top:18px;
    border-radius:22px;
  }

  .hero-photo-card img{
    max-height:260px;
    border-radius:22px;
  }

  .hero-photo-note{
    padding:12px 14px;
    font-size:13px;
  }

  .trust-row{
    grid-template-columns:1fr 1fr;
    gap:10px;
    padding:0 14px 22px;
  }

  .trust-item{
    padding:14px;
    border-radius:18px;
  }

  .trust-item strong{
    font-size:15px;
  }

  .trust-item span{
    font-size:13px;
  }

  .section{
    padding:30px 14px;
  }

  .section-head{
    margin-bottom:18px;
  }

  .section-head h2,
  .page-card h1{
    font-size:27px;
    line-height:1.13;
  }

  .section-head p{
    font-size:15px;
  }

  .stats-grid{
    grid-template-columns:1fr 1fr;
    gap:10px;
  }

  .stat-card{
    padding:16px;
    border-radius:18px;
  }

  .stat-card strong{
    font-size:26px;
  }

  .card,
  .why-card,
  .client-type,
  .work-type{
    padding:18px;
    border-radius:20px;
  }

  .card h3,
  .card h2,
  .why-card h3,
  .client-type h3,
  .work-type h3{
    font-size:20px;
    line-height:1.18;
  }

  .card p,
  .why-card p,
  .client-type p,
  .work-type p{
    font-size:15px;
    line-height:1.5;
  }

  .front-gallery-grid{
    grid-template-columns:1fr 1fr;
    gap:9px;
  }

  .gallery-photo img{
    height:140px;
    border-radius:16px;
  }

  .gallery-photo.big img{
    height:210px;
  }

  .home-real-reviews{
    padding-top:30px;
    padding-bottom:30px;
  }

  .home-reviews-grid{
    gap:12px;
  }

  .home-review-card{
    padding:18px;
    border-radius:20px;
  }

  .home-review-card p{
    font-size:15px;
    line-height:1.55;
    margin:10px 0 14px;
  }

  .home-review-card strong{
    font-size:16px;
  }

  .home-review-card span{
    font-size:13px;
  }

  .review-stars{
    font-s
  }

  .request-box{
    margin:14px 14px 30px;
    padding:22px 18px;
    border-radius:22px;
  }

  .request-box h2{
    font-size:26px;
  }

  .request-box p{
    font-size:15px;
    line-height:1.5;
  }

  .page-main{
    padding:20px 14px 32px;
  }

  .page-card{
    padding:20px 18px;
    border-radius:22px;
  }

  .entry-content{
    font-size:16px;
    line-height:1.6;
  }

  .text-review-card{
    padding:18px;
    border-radius:20px;
  }

  .text-review-card h2{
    font-size:20px;
  }

  .text-review-card p{
    font-size:15px;
    line-height:1.55;
  }

  .footer-v2{
    padding:28px 14px;
    gap:20px;
  }

  .footer-v2 h3,
  .footer-v2 h4{
    margin-bottom:10px;
  }

  .footer-v2 a,
  .footer-v2 p,
  .footer-v2 li{
    font-size:15px;
    line-height:1.5;
  }
}

@media(max-width:380px){
  .hero h1{
    font-size:28px;
  }

  .section-head h2,
  .page-card h1{
    font-size:25px;
  }

  .trust-row,
  .stats-grid{
    grid-template-columns:1fr;
  }

  .gallery-photo img{
    height:128px;
  }

  .gallery-photo.big img{
    height:190px;
  }
}

/* Header / Footer v3 */
.header-v3{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(226,232,240,.9);
}

.header-v3-shell{
  max-width:1180px;
  margin:0 auto;
  padding:14px 20px 10px;
}

.header-v3-main{
  display:grid;
  grid-template-columns:1fr auto auto;
  align-items:center;
  gap:22px;
}

.brand-v3{
  display:flex;
  align-items:center;
  gap:12px;
  color:#0f172a;
  text-decoration:none;
}

.brand-v3-mark{
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  border-radius:16px;
  background:linear-gradient(135deg,#0f766e,#14b8a6);
  color:#fff;
  font-weight:950;
  letter-spacing:-.06em;
  box-shadow:0 18px 40px rgba(15,118,110,.28);
}

.brand-v3-text strong{
  display:block;
  font-size:21px;
  line-height:1;
  letter-spacing:-.04em;
}

.brand-v3-text small{
  display:block;
  margin-top:5px;
  color:#64748b;
  font-size:13px;
  font-weight:800;
}

.header-v3-info{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.header-v3-info span{
  padding:9px 12px;
  border:1px solid #e2e8f0;
  border-radius:999px;
  background:#f8fafc;
  color:#475569;
  font-size:13px;
  font-weight:850;
}

.header-v3-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.header-v3-phone{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 14px;
  border-radius:14px;
  background:#ecfeff;
  color:#0f766e !important;
  text-decoration:none;
  font-weight:950;
}

.header-v3-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 16px;
  border-radius:14px;
  background:#0f172a;
  color:#fff;
  text-decoration:none;
  font-weight:950;
  box-shadow:0 18px 36px rgba(15,23,42,.18);
}

.main-nav-v3{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:12px;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}

.main-nav-v3::-webkit-scrollbar{
  display:none;
}

.main-nav-v3 a{
  flex:0 0 auto;
  padding:8px 12px;
  border-radius:999px;
  color:#334155;
  text-decoration:none;
  font-s
  font-weight:850;
}

.main-nav-v3 a:hover{
  background:#f1f5f9;
  color:#0f766e;
}

.footer-v3{
  margin-top:0;
  background:
    radial-gradient(circle at 20% 0%,rgba(20,184,166,.22),transparent 34%),
    radial-gradient(circle at 85% 15%,rgba(56,189,248,.13),transparent 30%),
    #0f172a;
  color:#cbd5e1;
}

.footer-v3-shell{
  max-width:1180px;
  margin:0 auto;
  padding:42px 20px 26px;
}

.footer-v3-cta{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:24px;
  padding:30px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:30px;
  background:rgba(255,255,255,.06);
  box-shadow:0 24px 70px rgba(0,0,0,.22);
}

.footer-v3-cta h2{
  margin:8px 0 10px;
  max-width:760px;
  color:#fff;
  font-size:34px;
  line-height:1.08;
  letter-spacing:-.04em;
}

.footer-v3-cta p{
  margin:0;
  max-width:660px;
  color:#cbd5e1;
  font-size:17px;
  line-height:1.55;
}

.footer-v3-cta-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.footer-v3 .btn-primary{
  background:#14b8a6;
  color:#052e2b;
}

.footer-v3 .btn-secondary{
  border-color:rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
  color:#fff;
}

.footer-v3-grid{
  display:grid;
  grid-template-columns:1.35fr 1fr 1fr 1.1fr;
  gap:34px;
  padding:38px 0 30px;
}

.footer-v3 h4{
  margin:0 0 14px;
  color:#fff;
  font-size:15px;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.footer-v3 a{
  display:block;
  margin:0 0 10px;
  color:#cbd5e1;
  text-decoration:none;
  font-weight:750;
}

.footer-v3 a:hover{
  color:#5eead4;
}

.footer-v3 p{
  margin:0 0 10px;
  color:#94a3b8;
  line-height:1.6;
}

.footer-brand{
  margin-bottom:16px;
}

.footer-v3 .brand-v3-mark{
  box-shadow:none;
}

.footer-v3 .brand-v3-text strong{
  color:#fff;
}

.footer-v3-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.1);
  color:#94a3b8;
  font-s
}

.footer-v3-bottom .soved{
  margin:0;
  color:#94a3b8;
  font-weight:900;
}

.footer-v3-bottom .soved:hover{
  color:#5eead4;
}

@media(max-width:920px){
  .header-v3-main{
    grid-template-columns:1fr;
    gap:12px;
  }

  .header-v3-info{
    justify-content:flex-start;
  }

  .header-v3-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
  }

  .footer-v3-cta,
  .footer-v3-grid{
    grid-template-columns:1fr;
  }

  .footer-v3-cta-actions{
    justify-content:flex-start;
  }
}

@media(max-width:760px){
  .header-v3{
    position:static;
  }

  .header-v3-shell{
    padding:12px 14px 10px;
  }

  .brand-v3-mark{
    width:42px;
    height:42px;
    border-radius:14px;
  }

  .brand-v3-text strong{
    font-size:20px;
  }

  .brand-v3-text small{
    font-size:12px;
  }

  .header-v3-info{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
  }

  .header-v3-info span{
    text-align:center;
    padding:8px 9px;
    font-size:12px;
  }

  .header-v3-actions{
    grid-template-columns:1fr;
  }

  .header-v3-phone,
  .header-v3-cta{
    width:100%;
    min-height:44px;
  }

  .main-nav-v3{
    margin:10px -14px 0;
    padding:0 14px 2px;
  }

  .main-nav-v3 a{
    padding:8px 11px;
    background:#f8fafc;
    border:1px solid #e2e8f0;
    font-size:13px;
  }

  .footer-v3-shell{
    padding:32px 14px 22px;
  }

  .footer-v3-cta{
    padding:22px 18px;
    border-radius:24px;
  }

  .footer-v3-cta h2{
    font-size:27px;
  }

  .footer-v3-cta p{
    font-size:15px;
  }

  .footer-v3-cta-actions{
    display:grid;
    grid-template-columns:1fr;
  }

  .footer-v3-grid{
    gap:22px;
    padding:28px 0 24px;
  }

  .footer-v3-bottom{
    display:grid;
    grid-template-columns:1fr;
  }
}

/* Header menu v4 clean */
.header-v4{
  position:sticky;
  top:0;
  z-index:60;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(226,232,240,.9);
}

.header-v4-shell{
  max-width:1180px;
  margin:0 auto;
  padding:14px 20px 12px;
}

.header-v4-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
}

.header-v4-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.header-v4-phone,
.header-v4-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 15px;
  border-radius:16px;
  text-decoration:none;
  font-weight:950;
  white-space:nowrap;
}

.header-v4-phone{
  background:#ecfeff;
  color:#0f766e;
}

.header-v4-cta{
  background:#0f172a;
  color:#fff;
  box-shadow:0 16px 34px rgba(15,23,42,.18);
}

.main-nav-v4{
  display:flex;
  justify-content:center;
  gap:6px;
  width:max-content;
  max-width:100%;
  margin:14px auto 0;
  padding:6px;
  border:1px solid #e2e8f0;
  border-radius:999px;
  background:#f8fafc;
}

.main-nav-v4 a{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:8px 18px;
  border-radius:999px;
  color:#334155;
  text-decoration:none;
  font-size:14px;
  font-weight:900;
}

.main-nav-v4 a:hover{
  background:#fff;
  color:#0f766e;
  box-shadow:0 8px 20px rgba(15,23,42,.08);
}

@media(max-width:760px){
  .header-v4{
    position:static;
  }

  .header-v4-shell{
    padding:12px 14px;
  }

  .header-v4-top{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
  }

  .header-v4-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
  }

  .header-v4-phone,
  .header-v4-cta{
    min-height:44px;
    padding:10px 12px;
    border-radius:14px;
    font-size:14px;
  }

  .main-nav-v4{
    width:100%;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:6px;
    margin-top:10px;
    padding:6px;
    border-radius:18px;
  }

  .main-nav-v4 a{
    min-height:40px;
    padding:8px 6px;
    font-size:13px;
  }
}

@media(max-width:380px){
  .main-nav-v4 a{
    font-size:12px;
  }

  .header-v4-phone,
  .header-v4-cta{
    font-size:13px;
  }
}

/* Mobile compact v5 */
@media(max-width:760px){
  .header-v4-shell{
    padding:10px 14px 12px;
  }

  .header-v4-top{
    gap:10px;
  }

  .header-v4-brand{
    gap:10px;
  }

  .brand-v3-mark{
    width:40px;
    height:40px;
    border-radius:14px;
    font-size:17px;
  }

  .brand-v3-text strong{
    font-size:19px;
    line-height:1.05;
  }

  .brand-v3-text small{
    margin-top:4px;
    font-size:11px;
    line-height:1.2;
  }

  .header-v4-actions{
    grid-template-columns:1fr 1fr;
    gap:8px;
  }

  .header-v4-phone,
  .header-v4-cta{
    min-height:42px;
    padding:9px 10px;
    border-radius:14px;
    font-size:13px;
  }

  /* На телефоне меню в шапке убираем: оно перегружает первый экран */
  .main-nav-v4{
    display:none;
  }

  .hero{
    padding:26px 14px 20px;
  }

  .eyebrow{
    max-width:100%;
    padding:8px 14px;
    font-size:11px;
    letter-spacing:.08em;
  }

  .hero h1{
    font-size:27px;
    line-height:1.12;
    letter-spacing:-.04em;
    margin-top:18px;
    margin-bottom:12px;
  }

  .hero p{
    font-size:15px;
    line-height:1.5;
  }

  .hero-actions{
    gap:9px;
    margin-top:18px;
  }

  .btn{
    min-height:44px;
    padding:11px 14px;
    border-radius:15px;
    font-size:15px;
  }

  .hero-photo-card{
    margin-top:18px;
    border-radius:22px;
  }

  .hero-photo-card img{
    max-height:240px;
  }

  .hero-photo-note{
    left:14px;
    right:14px;
    bottom:14px;
    padding:12px 14px;
    border-radius:18px;
  }

  .hero-photo-note strong{
    font-size:20px;
  }

  .hero-photo-note span{
    font-size:13px;
  }

  .trust-row{
    padding:0 14px 20px;
    gap:10px;
  }

  .trust-item{
    padding:14px;
    border-radius:18px;
  }

  .trust-item strong{
    font-size:18px;
    line-height:1.2;
  }

  .trust-item span{
    font-size:13px;
    line-height:1.35;
  }

  .section{
    padding:28px 14px;
  }

  .section-head{
    margin-bottom:16px;
  }

  .section-head h2,
  .page-card h1{
    font-size:26px;
    line-height:1.12;
    letter-spacing:-.035em;
  }

  .section-head p{
    font-size:15px;
    line-height:1.5;
  }

  .stats-grid{
    grid-template-columns:1fr;
    gap:12px;
  }

  .stat-card{
    min-height:auto;
    padding:22px 20px;
    border-radius:22px;
  }

  .stat-card strong{
    font-size:42px;
    line-height:1;
  }

  .stat-card span{
    font-size:14px;
  }

  .card,
  .why-card,
  .client-type,
  .work-type,
  .home-review-card,
  .text-review-card{
    padding:18px;
    border-radius:20px;
  }

  .card h2,
  .card h3,
  .why-card h3,
  .client-type h3,
  .work-type h3{
    font-size:20px;
    line-height:1.2;
  }

  .card p,
  .why-card p,
  .client-type p,
  .work-type p,
  .home-review-card p,
  .text-review-card p{
    font-size:15px;
    line-height:1.5;
  }

  .service-list-page{
    gap:12px;
  }

  .front-gallery-grid{
    gap:8px;
  }

  .gallery-photo img{
    height:132px;
    border-radius:16px;
  }

  .gallery-photo.big img{
    height:210px;
  }

  .home-real-reviews{
    padding-top:28px;
    padding-bottom:28px;
  }

  .request-box{
    margin:12px 14px 28px;
    padding:22px 18px;
    border-radius:22px;
  }

  .request-box h2{
    font-size:25px;
    line-height:1.12;
  }

  .request-box p{
    font-size:15px;
  }

  .footer-v3-shell{
    padding:26px 14px 22px;
  }

  .footer-v3-cta{
    padding:20px 16px;
    border-radius:22px;
  }

  .footer-v3-cta h2{
    font-size:25px;
    line-height:1.12;
  }

  .footer-v3-cta p{
    font-size:15px;
    line-height:1.5;
  }

  .footer-v3-grid{
    gap:20px;
    padding:26px 0 22px;
  }

  .footer-v3 h4{
    font-size:13px;
    margin-bottom:12px;
  }

  .footer-v3 a,
  .footer-v3 p{
    font-size:15px;
    line-height:1.45;
  }

  .footer-v3-bottom{
    gap:10px;
    padding-top:18px;
    font-size:13px;
  }
}

@media(max-width:380px){
  .hero h1{
    font-size:25px;
  }

  .section-head h2,
  .page-card h1{
    font-size:24px;
  }

  .header-v4-phone,
  .header-v4-cta{
    font-size:12px;
  }
}

/* Mobile header v6 compact */
@media(max-width:760px){
  .header-v4{
    position:static !important;
  }

  .header-v4-shell{
    padding:10px 14px 10px !important;
  }

  .header-v4-top{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:8px !important;
  }

  .header-v4-brand{
    gap:9px !important;
  }

  .brand-v3-mark{
    width:36px !important;
    height:36px !important;
    border-radius:12px !important;
    font-size:16px !important;
  }

  .brand-v3-text strong{
    font-size:18px !important;
    line-height:1.05 !important;
  }

  .brand-v3-text small{
    display:none !important;
  }

  .header-v4-actions{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:8px !important;
  }

  .header-v4-phone,
  .header-v4-cta{
    min-height:38px !important;
    padding:8px 10px !important;
    border-radius:13px !important;
    font-size:13px !important;
    letter-spacing:.02em !important;
  }

  .header-v4-phone{
    font-size:0 !important;
  }

  .header-v4-phone::before{
    content:"Позвонить";
    font-size:13px;
  }

  .main-nav-v4{
    display:none !important;
  }

  .hero{
    padding-top:16px !important;
  }

  .hero .eyebrow{
    margin-top:0 !important;
  }

  .hero h1{
    margin-top:16px !important;
    font-size:27px !important;
    line-height:1.12 !important;
  }

  .hero p{
    font-size:15px !important;
    line-height:1.48 !important;
  }

  .hero-actions{
    margin-top:16px !important;
  }
}

@media(max-width:380px){
  .brand-v3-text strong{
    font-size:17px !important;
  }

  .header-v4-phone::before,
  .header-v4-cta{
    font-size:12px !important;
  }
}

/* Mobile first screen v7 */
@media(max-width:760px){
  .header-v4{
    background:#fff !important;
    border-bottom:1px solid #e5e7eb !important;
  }

  .header-v4-shell{
    padding:12px 14px 12px !important;
  }

  .header-v4-brand{
    width:100% !important;
    justify-content:flex-start !important;
  }

  .brand-v3-mark{
    flex:0 0 36px !important;
  }

  .header-v4-actions{
    width:100% !important;
    max-width:430px !important;
    margin:0 !important;
  }

  .header-v4-phone,
  .header-v4-cta{
    min-height:40px !important;
    border-radius:14px !important;
    font-size:13px !important;
  }

  .main-nav-v4{
    display:none !important;
  }

  body.home .hero,
  .home .hero{
    margin-top:-74px !important;
    padding-top:22px !important;
    padding-bottom:18px !important;
  }

  .hero .eyebrow{
    margin-bottom:18px !important;
  }

  .hero h1{
    margin-top:0 !important;
    margin-bottom:14px !important;
    font-size:27px !important;
    line-height:1.12 !important;
  }

  .hero p{
    margin-top:0 !important;
    font-size:15px !important;
    line-height:1.5 !important;
  }

  .hero-actions{
    margin-top:18px !important;
  }
}

@media(max-width:380px){
  body.home .hero,
  .home .hero{
    margin-top:-64px !important;
  }

  .hero h1{
    font-size:25px !important;
  }
}

/* Mobile header v8 fix */
.phone-short{
  display:none;
}

@media(max-width:760px){
  .header-v4-shell{
    padding:12px 14px 12px !important;
  }

  .header-v4-top{
    gap:9px !important;
  }

  .header-v4-actions{
    gap:8px !important;
  }

  .header-v4-phone,
  .header-v4-cta{
    min-height:40px !important;
    padding:8px 10px !important;
    border-radius:14px !important;
    font-size:13px !important;
  }

  .header-v4-phone{
    font-size:13px !important;
  }

  .header-v4-phone::before{
    content:none !important;
  }

  .phone-full{
    display:none !important;
  }

  .phone-short{
    display:inline !important;
  }

  body.home .hero,
  .home .hero{
    margin-top:0 !important;
    padding-top:18px !important;
    padding-bottom:18px !important;
  }

  .home .hero .eyebrow{
    display:none !important;
  }

  .hero h1{
    margin-top:0 !important;
    margin-bottom:14px !important;
  }

  .hero-actions{
    margin-top:18px !important;
  }
}
