
:root{
  --bg:#f7f3ea; --card:#fffdfa; --text:#1e2921; --muted:#6f766f;
  --green:#214c32; --green2:#2f6c47; --wood:#a87335; --line:#e7ddcf; --white:#fff;
  --shadow:0 18px 55px rgba(45,39,29,.09); --radius:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--text);background:var(--bg);line-height:1.55}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
button,input{font:inherit}
.container{width:min(1180px,calc(100% - 36px));margin:auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,253,250,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(60,72,61,.08)}
.header-row{height:84px;display:flex;align-items:center;gap:26px}
.brand{width:220px;display:flex;flex-direction:column;gap:2px}
.brand img{width:188px;height:auto}
.domain{font-size:11px;color:#71776f;margin-left:2px}
.desktop-nav{display:flex;gap:26px;margin-left:auto;font-size:14px;font-weight:650}
.desktop-nav a{position:relative}
.desktop-nav a:after{content:"";position:absolute;left:0;right:100%;bottom:-8px;height:2px;background:var(--green);transition:.25s}
.desktop-nav a:hover:after{right:0}
.header-contact{display:flex;flex-direction:column;min-width:152px}
.header-contact .phone{font-size:15px;font-weight:800}
.header-contact small{font-size:11px;color:#7a817a}
.socials{display:flex;gap:8px}
.social{width:38px;height:38px;border-radius:13px;display:grid;place-items:center;box-shadow:0 7px 18px rgba(0,0,0,.12);transition:.25s transform,.25s box-shadow}
.social:hover{transform:translateY(-2px);box-shadow:0 11px 24px rgba(0,0,0,.16)}
.social svg{width:20px;height:20px;display:block}
.social--vk{background:#2787F5}
.social--max{background:transparent;box-shadow:none}
.social--mail{background:linear-gradient(135deg,#b98a4c,#7b5830)}
.menu-btn{display:none;border:0;background:none;width:42px;height:42px;padding:9px}
.menu-btn span{display:block;height:2px;background:#26382c;margin:5px 0}
.mobile-nav{padding:8px 18px 20px;border-top:1px solid var(--line)}
.mobile-nav a{display:block;padding:10px 0;font-weight:700}

.hero{position:relative;min-height:640px;overflow:hidden;background:#1d2e22}
.hero-media,.hero-overlay{position:absolute;inset:0}
.hero-media img{width:100%;height:100%;object-fit:cover}
.hero-overlay{background:linear-gradient(90deg,rgba(246,241,230,.98) 0%,rgba(246,241,230,.88) 38%,rgba(246,241,230,.18) 65%,rgba(22,50,31,.08) 100%)}
.hero-content{position:relative;z-index:2;min-height:640px;display:flex;align-items:center}
.hero-copy{max-width:670px;padding:66px 0}
.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:12px;font-weight:800;color:#9a692d;margin-bottom:14px}
.eyebrow-dark{color:#8e622e}
.hero h1,.section h2,.location h2{font-family:Georgia,"Times New Roman",serif;line-height:1.03;margin:0;color:#1f251f}
.hero h1{font-size:clamp(44px,5vw,72px);max-width:700px}
.hero h1 em{font-style:normal;color:var(--green)}
.hero p{font-size:19px;max-width:560px;margin:24px 0;color:#445047}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;border-radius:14px;padding:15px 20px;font-weight:800;border:1px solid transparent;cursor:pointer;transition:.25s}
.btn-primary{background:var(--green);color:white;box-shadow:0 12px 28px rgba(33,76,50,.2)}
.btn-primary:hover{background:var(--green2);transform:translateY(-1px)}
.btn-light{background:#fff;color:#243329;border-color:#e6dfd5}
.hero-facts{margin-top:34px;display:flex;gap:26px;flex-wrap:wrap}
.hero-facts div{display:flex;flex-direction:column;padding-left:14px;border-left:2px solid #b88a52}
.hero-facts b{font-family:Georgia,serif;font-size:17px}.hero-facts span{font-size:12px;color:#5e695f}

.benefits{margin-top:-22px;position:relative;z-index:4}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.benefit-card{background:rgba(255,253,250,.96);border:1px solid var(--line);border-radius:18px;padding:24px;box-shadow:var(--shadow)}
.benefit-icon{width:52px;height:52px;display:grid;place-items:center;background:#f2eadb;border-radius:50%;font-size:24px;margin-bottom:18px}
.benefit-card h3{font:700 20px/1.15 Georgia,serif;margin:0 0 10px}
.benefit-card p{margin:0;color:var(--muted);font-size:14px}

.section{padding:92px 0}
.section-tint{background:#f0eadf;border-block:1px solid #e4d9c8}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:34px}
.section h2,.location h2{font-size:clamp(36px,4vw,52px)}
.section-head h2{margin-top:5px}
.text-link{font-weight:800;color:var(--green)}
.projects-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.project-card{background:var(--card);border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:0 12px 34px rgba(39,45,40,.07);transition:.25s}
.project-card:hover{transform:translateY(-5px);box-shadow:0 20px 44px rgba(39,45,40,.12)}
.project-card>img{width:100%;height:245px;object-fit:cover}
.project-body{padding:20px}
.project-body h3{font:700 23px/1.1 Georgia,serif;margin:0 0 14px;min-height:50px}
.project-body ul{list-style:none;padding:0;margin:0 0 16px;color:#6a716b;font-size:14px}
.project-body li{padding:5px 0;border-bottom:1px dashed #e2dbd1}
.price{font:700 24px/1 Georgia,serif;color:#7f551f;margin:16px 0}
.card-link{display:flex;justify-content:space-between;align-items:center;background:var(--green);color:#fff;border-radius:12px;padding:12px 14px;font-weight:800}
.price-note{color:#8a8f8a;font-size:12px;margin:16px 3px 0}

.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#dacdbb;border:1px solid #dacdbb;border-radius:22px;overflow:hidden}
.steps article{background:#faf6ef;padding:28px;min-height:230px}
.step-no{display:inline-grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#ead9bb;color:#744b1e;font-weight:900;margin-bottom:26px}
.steps h3{font:700 23px Georgia,serif;margin:0 0 10px}
.steps p{color:var(--muted);margin:0;font-size:14px}

.chips{display:flex;gap:8px;flex-wrap:wrap}
.chip{border:1px solid #dcd1c2;background:#fff8ed;padding:9px 14px;border-radius:999px;cursor:pointer;font-weight:750;color:#6b695f}
.chip.active{background:var(--green);color:#fff;border-color:var(--green)}
.gallery{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:210px;gap:12px}
.gallery-item{border:0;padding:0;border-radius:18px;overflow:hidden;cursor:pointer;background:#ddd}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:.35s transform}
.gallery-item:hover img{transform:scale(1.035)}
.gallery-item--wide{grid-column:span 2}
.gallery-item--tall{grid-row:span 2}

.about-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:70px;align-items:start}
.about-copy{font-size:18px;color:#596159}
.about-copy p:first-child{margin-top:5px}

.demo-label{font-size:12px;color:#886f51;background:#f3e8d7;border:1px solid #e0ceb2;padding:8px 12px;border-radius:999px}
.reviews-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.review-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px;box-shadow:0 10px 30px rgba(48,46,39,.06)}
.avatar{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#d9b779,#8d642f);color:#fff;font:700 22px Georgia,serif}
.stars{color:#e69a27;letter-spacing:3px;margin:18px 0 3px}
.review-card h3{margin:0 0 12px;font:700 21px Georgia,serif}
.review-card p{color:#666f67}
.review-card small{color:#8c8d86}

.location{padding:84px 0 92px;background:#fffdfa}
.location-grid{display:grid;grid-template-columns:.9fr 1.2fr .8fr;gap:18px;align-items:stretch}
.location-copy,.lead-card{border:1px solid var(--line);border-radius:22px;padding:28px;background:#faf6ef}
.location-copy p{color:#687068}
.contact-list{display:flex;flex-direction:column;gap:10px;margin-top:24px;font-weight:750}
.contact-list a{color:#274d34;word-break:break-word}
.map-card{min-height:470px;border-radius:22px;overflow:hidden;border:1px solid var(--line);background:#e7eadf}
.map-card iframe{min-height:470px}
.lead-card h2{font-size:38px;margin-top:4px}
.lead-card p{color:#6c726c}
.lead-card label{display:block;font-size:12px;font-weight:800;color:#6e736e;margin:14px 0}
.lead-card input{width:100%;border:1px solid #dcd1c3;background:#fff;padding:14px 13px;border-radius:11px;outline:none;margin-top:6px}
.lead-card input:focus{border-color:#79927e;box-shadow:0 0 0 3px rgba(33,76,50,.08)}
.lead-card small{display:block;margin-top:12px;color:#92958f;font-size:10px}
.hidden-field{position:absolute!important;left:-9999px!important;opacity:0!important}

.footer{background:#163522;color:#e9efe9;padding:54px 0 20px}
.footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:38px}
.footer-logo{width:190px;filter:brightness(0) invert(1)}
.footer p{color:#c0ccc3;max-width:270px}
.footer h3{font:700 19px Georgia,serif;margin:0 0 14px}
.footer a{display:block;color:#d7e2da;margin:8px 0}
.footer-bottom{border-top:1px solid rgba(255,255,255,.14);margin-top:35px;padding-top:18px;color:#9db2a2;font-size:12px}
.floating-call{position:fixed;right:20px;bottom:20px;z-index:40;width:56px;height:56px;border-radius:18px;display:grid;place-items:center;background:var(--green);color:#fff;font-size:24px;box-shadow:0 12px 32px rgba(0,0,0,.2)}
.lightbox{position:fixed;inset:0;z-index:100;background:rgba(10,18,12,.86);display:grid;place-items:center;padding:30px}
.lightbox[hidden]{display:none}
.lightbox img{max-width:min(1200px,96vw);max-height:90vh;border-radius:16px;box-shadow:0 30px 80px #000}
.lightbox-close{position:fixed;right:24px;top:18px;width:50px;height:50px;border:0;border-radius:50%;font-size:34px;background:white;cursor:pointer}

@media(max-width:1050px){
 .desktop-nav,.header-contact{display:none}.menu-btn{display:block;margin-left:auto}.socials--top{margin-left:auto}
 .projects-grid{grid-template-columns:repeat(2,1fr)}.grid-4{grid-template-columns:repeat(2,1fr)}
 .location-grid{grid-template-columns:1fr 1fr}.lead-card{grid-column:1/-1}
}
@media(max-width:720px){
 .container{width:min(100% - 24px,1180px)}.header-row{height:72px;gap:12px}.brand{width:175px}.brand img{width:160px}.domain{font-size:9px}
 .socials--top{display:none}.hero,.hero-content{min-height:720px}.hero-media img{object-position:65% center}
 .hero-overlay{background:linear-gradient(180deg,rgba(248,244,235,.96) 0%,rgba(248,244,235,.84) 58%,rgba(248,244,235,.2) 100%)}
 .hero-copy{padding:56px 0 210px}.hero h1{font-size:44px}.hero p{font-size:17px}.hero-facts{gap:14px}.hero-facts div{width:calc(50% - 10px)}
 .grid-4,.projects-grid,.reviews-grid,.about-grid,.location-grid{grid-template-columns:1fr}
 .section{padding:66px 0}.section-head{align-items:flex-start;flex-direction:column}.section h2,.location h2{font-size:38px}
 .steps{grid-template-columns:1fr}.gallery{grid-template-columns:repeat(2,1fr);grid-auto-rows:165px}.gallery-item--wide{grid-column:span 2}.gallery-item--tall{grid-row:span 2}
 .project-card>img{height:250px}.project-body h3{min-height:0}
 .location-grid{grid-template-columns:1fr}.map-card,.map-card iframe{min-height:360px}.lead-card{grid-column:auto}
 .footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}
}
@media(max-width:460px){
 .hero h1{font-size:37px}.hero-actions{flex-direction:column}.btn{width:100%}.grid-4{grid-template-columns:1fr}.gallery{grid-template-columns:1fr}.gallery-item--wide{grid-column:auto}.gallery-item--tall{grid-row:auto}.gallery-item{height:230px}
 .footer-grid{grid-template-columns:1fr}.footer-grid>div:first-child{grid-column:auto}
}


/* --- Project detail pages --- */
.project-card-image{display:block;overflow:hidden}
.project-card-image img{width:100%;height:245px;object-fit:cover;transition:.35s transform}
.project-card:hover .project-card-image img{transform:scale(1.035)}
.product-page{padding:34px 0 90px}
.breadcrumbs{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:13px;color:#7e837d;margin:8px 0 28px}
.breadcrumbs a{color:#31583d;font-weight:750}
.product-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(340px,.65fr);gap:34px;align-items:start}
.product-gallery-detail{min-width:0}
.product-main-image{height:560px;border-radius:26px;overflow:hidden;background:#ebe5da;border:1px solid var(--line);box-shadow:var(--shadow)}
.product-main-image img{width:100%;height:100%;object-fit:contain;background:white}
.product-thumbs{display:flex;gap:10px;margin-top:12px;overflow:auto;padding-bottom:4px}
.project-thumb{width:104px;height:76px;padding:0;border:2px solid transparent;border-radius:12px;overflow:hidden;background:#fff;cursor:pointer;flex:0 0 auto}
.project-thumb img{width:100%;height:100%;object-fit:cover}
.project-thumb.active{border-color:var(--green)}
.product-summary{position:sticky;top:112px;background:#fffdfa;border:1px solid var(--line);border-radius:24px;padding:30px;box-shadow:var(--shadow)}
.product-summary h1{font:700 clamp(36px,4vw,54px)/1.02 Georgia,serif;margin:5px 0 18px}
.product-lead{font-size:17px;color:#626b63;margin:0 0 24px}
.product-specs{display:grid;grid-template-columns:1fr 1fr;border:1px solid #e6ddd1;border-radius:16px;overflow:hidden}
.product-spec{padding:15px;background:#faf6ef;border-right:1px solid #e6ddd1;border-bottom:1px solid #e6ddd1}
.product-spec:nth-child(2n){border-right:0}
.product-spec:nth-last-child(-n+2){border-bottom:0}
.product-spec span,.product-spec b{display:block}
.product-spec span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#858a84}
.product-spec b{font-size:15px;margin-top:3px}
.product-price{font:700 30px Georgia,serif;color:#835a28;margin:24px 0 6px}
.product-price-note{font-size:11px;color:#8a8f8b;margin:0 0 20px}
.product-content-grid{display:grid;grid-template-columns:1.4fr .6fr;gap:24px;margin-top:56px}
.product-description,.product-includes{background:#fffdfa;border:1px solid var(--line);border-radius:24px;padding:32px}
.product-description h2{font:700 40px Georgia,serif;margin:5px 0 16px}
.product-description h3,.product-includes h3{font:700 24px Georgia,serif;margin:28px 0 15px}
.product-description>p{font-size:17px;color:#626b63;max-width:780px}
.option-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.option-grid div{background:#f5efe5;border-radius:16px;padding:18px}
.option-grid b,.option-grid span{display:block}
.option-grid span{font-size:13px;color:#71766f;margin-top:6px}
.product-includes ul{padding-left:20px;color:#5f695f}
.product-includes li{margin:11px 0}
.product-includes p{font-size:12px;color:#8b8f89}
.project-lead-section{margin-top:28px;border-radius:26px;padding:34px;background:linear-gradient(135deg,#1f4a30,#2c6642);color:white;display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center}
.project-lead-section h2{font:700 40px Georgia,serif;margin:2px 0 8px;color:white}
.project-lead-section p{color:#d5e2d8}
.project-form{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.project-form input{border:0;border-radius:12px;padding:15px 14px;outline:none}
.project-form button{grid-column:1/-1;background:#f4ead9;color:#214c32}
@media(max-width:900px){
 .product-hero,.product-content-grid{grid-template-columns:1fr}.product-summary{position:static}.product-main-image{height:460px}
}
@media(max-width:620px){
 .product-page{padding-top:18px}.product-main-image{height:360px}.product-summary{padding:22px}
 .product-specs,.option-grid,.project-lead-section,.project-form{grid-template-columns:1fr}
 .product-spec{border-right:0!important;border-bottom:1px solid #e6ddd1!important}.product-spec:last-child{border-bottom:0!important}
 .project-form button{grid-column:auto}
}


/* --- v3: long-title and responsive fixes --- */
.project-card,
.project-body,
.project-card h3,
.project-card h3 a,
.product-summary,
.product-summary h1,
.product-specs,
.product-spec {
  min-width: 0;
}
.project-body h3,
.project-body h3 a {
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}
.project-body h3 {
  font-size: clamp(19px, 1.65vw, 23px);
  line-height: 1.12;
  min-height: 52px;
}
.product-summary h1 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.product-spec b {
  overflow-wrap: anywhere;
}
@media (max-width: 1100px) {
  .product-summary h1 { font-size: clamp(32px, 4.4vw, 46px); }
}
@media (max-width: 720px) {
  .project-body h3 { min-height: 0; font-size: 22px; }
  .product-summary h1 { font-size: clamp(30px, 9vw, 42px); }
}
@media (max-width: 390px) {
  .product-summary { padding: 18px; }
  .product-summary h1 { font-size: 30px; }
}
.form-status {
  display:none;
  margin: 0 auto 22px;
  width:min(1180px,calc(100% - 36px));
  padding:14px 16px;
  border-radius:14px;
  font-weight:700;
}
.form-status.show { display:block; }
.form-status.success { background:#e9f5ec; color:#245d35; border:1px solid #b8ddc2; }
.form-status.error { background:#fff0ed; color:#8c2e20; border:1px solid #efc0b8; }


/* --- v4: mobile/tablet polish --- */
section[id], #lead { scroll-margin-top: 96px; }

@media (max-width: 820px) {
  .site-header { background: rgba(255,253,250,.98); }
  .header-row {
    height: 74px;
    gap: 10px;
  }
  .brand {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
  }
  .brand img {
    width: 190px;
    max-width: 100%;
  }
  .brand .domain {
    display: none;
  }
  .menu-btn {
    flex: 0 0 44px;
    margin-left: 8px;
    border-radius: 12px;
    background: #f3ede3;
  }

  .location {
    padding: 56px 0 62px;
  }
  .location-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .location-copy,
  .lead-card {
    width: 100%;
    padding: 24px 20px;
    border-radius: 18px;
  }
  .lead-card {
    order: 1;
  }
  .location-copy {
    order: 2;
  }
  .map-card {
    order: 3;
    min-height: 340px;
  }
  .map-card iframe {
    min-height: 340px;
  }
  .lead-card h2 {
    font-size: clamp(32px, 8vw, 42px);
    line-height: 1.02;
    margin: 4px 0 12px;
    overflow-wrap: anywhere;
  }
  .lead-card p {
    margin: 0 0 16px;
  }
  .lead-card label {
    margin: 12px 0;
  }
  .lead-card input {
    min-height: 52px;
    font-size: 16px; /* prevents iOS zoom */
  }
  .lead-card .btn {
    width: 100%;
    min-height: 52px;
  }

  .footer {
    padding-top: 42px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .footer-grid > div:first-child {
    grid-column: auto;
  }
  .footer-logo {
    width: 210px;
  }
  .footer p {
    max-width: 100%;
  }
  .footer a {
    width: fit-content;
  }
  .footer-bottom {
    margin-top: 26px;
  }

  .floating-call {
    width: 52px;
    height: 52px;
    right: 14px;
    bottom: 14px;
    border-radius: 50%;
    font-size: 0;
  }
  .floating-call::before {
    content: "☎";
    font-size: 22px;
    line-height: 1;
  }
}

@media (max-width: 520px) {
  .container {
    width: calc(100% - 20px);
  }
  .header-row {
    height: 70px;
  }
  .brand img {
    width: 172px;
  }
  .location {
    padding-top: 40px;
  }
  .lead-card {
    padding: 22px 16px;
  }
  .lead-card h2 {
    font-size: 34px;
  }
  .footer {
    padding-top: 36px;
  }
}


/* --- v5: polished icons, geography and typography --- */
.social img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.social--vk,
.social--max {
  overflow: hidden;
}
.social--vk {
  padding: 0;
  background: transparent;
}
.social--max {
  padding: 0;
}
.social--mail {
  color: #fff;
}
.social-label-link {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
}
.social-label-link img {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}
.contact-list a {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-list a img {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}
.contact-list .contact-plain-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--green);
}
.geo-note {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.geo-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 999px;
  background: #efe6d8;
  color: #4b5e4f;
  font-size: 13px;
  font-weight: 800;
}
.geo-pill img {
  width: 16px;
  height: 16px;
}
.map-switch {
  display: flex;
  gap: 8px;
  padding: 10px;
  position: absolute;
  z-index: 2;
  left: 12px;
  top: 12px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(32,42,34,.12);
}
.map-switch button {
  border: 0;
  padding: 9px 12px;
  border-radius: 10px;
  background: transparent;
  color: #556058;
  font-weight: 800;
  cursor: pointer;
}
.map-switch button.active {
  background: var(--green);
  color: #fff;
}
.map-card {
  position: relative;
}
.hero h1,
.section h2,
.location h2,
.product-summary h1,
.project-body h3 {
  text-wrap: balance;
}
.project-body p,
.product-lead,
.about-copy p,
.location-copy p {
  text-wrap: pretty;
}
.floating-call {
  background-image: url("icons/phone.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 23px;
  color: transparent !important;
}
.floating-call::before {
  content: none !important;
}

/* Review avatars: optimized for square photos, displayed as circles. */
.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}


/* --- v6: exact VK icon + review avatar preparation --- */
.social--vk img,
.social-label-link img[src*="vk.webp"],
.contact-list img[src*="vk.webp"] {
  object-fit: cover;
  border-radius: 12px;
}
.review-card .avatar-photo {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
  box-shadow: 0 8px 20px rgba(40,45,40,.14);
  border: 3px solid #fff;
}


/* --- v7: review photos --- */
.reviews-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.review-card {
  min-width: 0;
}
.review-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #f1e4cf;
  box-shadow: 0 8px 24px rgba(71, 54, 31, .12);
  background: #eadfce;
}
.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 1100px) {
  .reviews-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .reviews-grid--four {
    grid-template-columns: 1fr;
  }
  .review-avatar {
    width: 70px;
    height: 70px;
  }
}
