/*
Theme Name: Сургут Сервис
Theme URI: https://surgutservice.ru/
Author: Сургут Сервис
Description: Локальная тема на основе согласованного HTML-макета. 11 страниц услуг. Формы пока демонстрационные.
Version: 2.5
Requires PHP: 7.4
Text Domain: surgut-service
*/

:root{--b:#1769e8;--d:#14243b;--m:#63738a;--p:#f3f7fc;--l:#e3eaf3}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font:16px/1.55 Arial,sans-serif;color:var(--d)}a{text-decoration:none;color:inherit}.w{width:min(1160px,calc(100% - 36px));margin:auto}.top{background:var(--p);font-size:13px;color:var(--m);padding:8px 0}.top .w,.nav,.head,.cta{display:flex;justify-content:space-between;align-items:center;gap:22px}.header{position:sticky;top:0;background:#ffffffed;backdrop-filter:blur(12px);border-bottom:1px solid var(--l);z-index:5}.nav{min-height:78px}.brand{font-weight:800;font-size:18px;display:flex;align-items:center;gap:10px}.logo{background:linear-gradient(135deg,#2381ff,#1252c7);color:white;border-radius:12px;width:42px;height:42px;display:grid;place-items:center}.brand small{display:block;color:var(--m);font-size:10px;letter-spacing:1px}.links{display:flex;gap:22px;font-size:14px;color:#52637a}.phones{text-align:right;font-size:14px;font-weight:bold}.phones a{display:block}.btn{border:0;border-radius:12px;background:var(--b);color:#fff;padding:14px 20px;font-weight:bold;cursor:pointer;display:inline-block}.btn.alt{background:#fff;color:var(--b);border:1px solid #d9e6fa}.hero{padding:70px 0;background:radial-gradient(ellipse at 85% 10%,#eaf3ff,transparent 40%),#fbfdff}.heroGrid,.split{display:grid;grid-template-columns:1.05fr .95fr;gap:45px;align-items:center}.eyebrow,.kicker{color:var(--b);font-size:12px;font-weight:bold;letter-spacing:1px;text-transform:uppercase}.hero h1{font-size:clamp(38px,5vw,58px);line-height:1.06;letter-spacing:-2px;margin:18px 0}.hero h1 span{color:var(--b)}.lead{font-size:18px;color:var(--m);max-width:570px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin:25px 0}.facts{display:flex;gap:20px;flex-wrap:wrap;font-size:13px;color:var(--m)}.visual{height:390px;border-radius:28px;background:linear-gradient(145deg,#dceaff,#f3f8ff);display:grid;place-items:center;position:relative;overflow:hidden}.washer{width:220px;height:285px;border-radius:24px;background:linear-gradient(120deg,#fff,#e7edf5);box-shadow:18px 22px 38px #31517b2b;border:1px solid #d4dfed;position:relative}.washer:before{content:'';position:absolute;left:39px;top:78px;width:142px;height:142px;border-radius:50%;border:9px solid #f8fbff;background:radial-gradient(circle at 35% 30%,#c7e4ff,#397fc2 45%,#174d83 70%,#d7e4f2 72%)}.washer:after{content:'';position:absolute;left:17px;right:17px;top:15px;height:28px;border-radius:7px;background:#eef3f9}.tag{position:absolute;background:white;padding:12px 15px;border-radius:13px;box-shadow:0 12px 30px #183b641c;font-size:12px;font-weight:bold}.tag b{display:block;color:var(--b);font-size:16px}.t1{top:45px;left:22px}.t2{right:18px;bottom:42px}.section{padding:76px 0}.soft{background:var(--p)}.head{align-items:end;margin-bottom:30px}.head h2,.section h2{font-size:clamp(28px,3.5vw,40px);line-height:1.15;letter-spacing:-1px;margin:7px 0}.head p,.muted{color:var(--m);max-width:440px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.card{display:flex;flex-direction:column;padding:21px;border:1px solid var(--l);border-radius:17px;background:white;min-height:168px;transition:.2s}.card:hover{transform:translateY(-3px);box-shadow:0 15px 40px #16365c12}.ico{width:44px;height:44px;background:#edf4ff;color:var(--b);border-radius:13px;display:grid;place-items:center;font-size:22px;margin-bottom:14px}.card h3{font-size:16px;margin:0 0 5px}.card p{font-size:13px;color:var(--m);margin:0}.card a{display:block;color:var(--b);font-size:13px;font-weight:bold;margin-top:auto;padding-top:16px;align-self:flex-start}.panel{background:linear-gradient(145deg,#e4efff,#f7faff);border-radius:25px;min-height:340px;display:grid;place-items:center}.toolbox{background:linear-gradient(145deg,#1769e8,#0d4eb5);width:245px;height:165px;border-radius:20px;display:grid;place-items:center;color:#fff;font-weight:bold;letter-spacing:2px;box-shadow:0 22px 45px #174e9a33}.benefits{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin-top:22px}.benefit{display:flex;gap:10px}.benefit .ico{flex:none;margin:0}.benefit b{display:block;font-size:14px}.benefit p{font-size:12px;color:var(--m);margin:3px 0}.price{border:1px solid var(--l);background:white;border-radius:20px;padding:25px;box-shadow:0 16px 45px #16365c10}.priceRow{padding:15px 0;border-bottom:1px solid var(--l);display:flex;justify-content:space-between;gap:15px}.priceRow:last-child{border:0}.priceRow span,.note{color:var(--m)}.note{font-size:12px}.parts{background:linear-gradient(115deg,#0f3f8f,#1769e8);color:#fff;border-radius:25px;padding:40px;display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center}.parts h2{font-size:36px}.parts p{color:#d8e7ff}.parts .btn{background:white;color:#1559c7}.parts aside{background:#ffffff18;border:1px solid #ffffff35;border-radius:18px;padding:22px}.parts li{margin:7px 0;color:#e1edff}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.step{border:1px solid var(--l);border-radius:17px;padding:20px}.step small{color:var(--b);font-weight:bold}.step h3{font-size:16px}.step p{font-size:13px;color:var(--m)}.cta{background:#f1f6fd;border-radius:23px;padding:32px}.cta h2{margin:0;font-size:29px}.cta p{color:var(--m);margin:5px 0}.footer{background:#101f34;color:white;padding:48px 0 22px}.footgrid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:30px}.footer p,.footer a{color:#b9c8dc;font-size:14px}.footbottom{border-top:1px solid #ffffff22;margin-top:30px;padding-top:18px;color:#91a6bf;font-size:12px}.modal{display:none;position:fixed;inset:0;background:#08172c99;z-index:100;align-items:center;justify-content:center;padding:18px}.modal.open{display:flex}.box{background:white;border-radius:20px;padding:27px;width:min(480px,100%);max-height:calc(100dvh - 32px);overflow:auto;position:relative}.box h2{margin:0}.close{position:absolute;right:15px;top:12px;border:0;border-radius:50%;padding:7px 11px;cursor:pointer}.field{display:block;margin:12px 0}.field span{display:block;font-size:12px;font-weight:bold;margin-bottom:5px}.field input,.field textarea{width:100%;border:1px solid #dbe4ef;border-radius:9px;padding:12px;font:inherit}.menu{display:none}
@media(max-width:900px){.links{display:none}.menu{display:block}.heroGrid,.split{gap:25px}.cards{grid-template-columns:repeat(2,1fr)}.steps{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.w{width:calc(100% - 28px)}.nav{min-height:68px}.phones{font-size:11px}.nav>.btn{display:none}.hero{padding:45px 0}.heroGrid,.split,.parts,.footgrid{grid-template-columns:1fr}.hero h1{font-size:39px}.visual{height:310px}.section{padding:52px 0}.head{display:block}.cards{gap:9px}.card{padding:15px;min-height:165px}.benefits{grid-template-columns:1fr}.parts{padding:25px}.parts h2{font-size:30px}.steps{gap:9px}.step{padding:14px}.cta{display:block;padding:24px}.cta .btn{margin-top:18px}.footbottom{line-height:1.8}}
.header-actions{display:flex;align-items:center;gap:9px;flex-shrink:0}.header-actions .call-btn{padding:11px 15px;font-size:13px}.social-btn{display:inline-flex;align-items:center;gap:6px;border:1px solid #d9e6fa;border-radius:12px;padding:8px 10px;background:#fff;color:#1769e8;font-size:12px;font-weight:700;white-space:nowrap}.social-btn:hover{background:#edf4ff}.social-symbol{width:24px;height:24px;border-radius:7px;background:#1769e8;color:#fff;display:grid;place-items:center;font-size:15px;font-weight:800}.telegram-symbol{font-size:16px}@media(max-width:1150px){.header .links{gap:12px;font-size:12px}.header-actions .social-label{display:inline}}@media(max-width:650px){.header .nav{gap:8px;flex-wrap:wrap;padding:9px 0}.header .brand{font-size:13px;gap:6px}.header .logo{width:34px;height:34px}.header .phones{font-size:11px}.header-actions{gap:5px}.header-actions .call-btn{padding:8px 9px;font-size:11px}.social-btn{padding:5px}.social-symbol{width:22px;height:22px}.header .menu{display:none}}@media(max-width:390px){.header .nav{justify-content:space-between}.header-actions{margin-left:auto}}
@media(max-width:650px){
 .nav{flex-wrap:wrap;gap:10px;padding:10px 0}
 .header-actions{display:flex!important;flex:1 1 100%;width:100%;justify-content:space-between;gap:8px}
 .header-actions .btn,.header-actions .social-btn{flex:1;min-width:0;text-align:center;justify-content:center;padding:10px 8px;font-size:12px}
 .header-actions .social-label{display:inline}
}
.team-photo{position:relative;overflow:hidden;border-radius:25px;background:#e8eef7;align-self:stretch;min-height:420px}.team-photo img{display:block;width:100%;height:100%;max-height:590px;min-height:420px;object-fit:cover;object-position:center 25%}.team-photo-caption{position:absolute;bottom:16px;left:16px;background:#ffffffed;color:#14243b;padding:10px 15px;border-radius:12px;font-weight:700;font-size:13px;box-shadow:0 8px 25px #14243b22}@media(max-width:650px){.team-photo{min-height:0}.team-photo img{min-height:0;height:auto;max-height:560px;object-fit:contain}}
.brand-photo{background:none;border-radius:12px;overflow:hidden;flex:none}.brand-photo img{width:100%;height:100%;object-fit:cover;display:block}.brand{min-width:0}

/* Full labels for messaging actions at every screen size */
.header-actions .social-label{display:inline!important}
@media(min-width:651px) and (max-width:1150px){.header .nav{flex-wrap:wrap}.header-actions{margin-left:auto}.header .links{display:none}}
@media(max-width:650px){.header-actions{flex-wrap:wrap}.header-actions .social-btn{font-size:11px;padding:9px 5px;gap:4px}.header-actions .social-symbol{width:20px;height:20px;flex-shrink:0;font-size:12px}}
@media(max-width:390px){.header-actions .social-btn{font-size:10px}.header-actions .social-symbol{display:none}}

/* Header: readable contact actions without text overflow */
.header .nav{gap:clamp(10px,1.4vw,20px)}
.header-actions{display:flex;align-items:center;gap:8px;min-width:0;flex-shrink:0}
.header-actions .call-btn,.header-actions .social-btn{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:0;line-height:1.25;white-space:normal;text-align:center;font-size:clamp(11px,0.9vw,13px);padding:10px 12px;border-radius:12px}
.header-actions .social-label{display:inline;overflow-wrap:normal}
.header-actions .social-symbol{flex:0 0 23px;width:23px;height:23px}
@media(max-width:1180px){.header .links{display:none}}
@media(max-width:800px){.header .nav{flex-wrap:wrap;padding:10px 0;justify-content:space-between}.header-actions{width:100%;flex:1 1 100%;gap:8px}.header-actions .call-btn,.header-actions .social-btn{flex:1 1 0;font-size:12px;padding:11px 8px}.header .menu{display:none}}
@media(max-width:520px){.header-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:8px}.header-actions .call-btn{grid-column:1/-1}.header-actions .call-btn,.header-actions .social-btn{width:100%;min-height:43px;font-size:12px;padding:9px 6px}.header-actions .social-symbol{flex-basis:20px;width:20px;height:20px;font-size:12px}}
@media(max-width:340px){.header-actions{grid-template-columns:1fr}.header-actions .call-btn{grid-column:auto}}

/* Official messenger marks, consistently sized on desktop and mobile */
.header-actions .messenger-icon{display:block;width:25px;height:25px;flex:0 0 25px;object-fit:contain;border-radius:6px}
.header-actions .social-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:0}
.header-actions .social-label{white-space:normal;line-height:1.2;text-align:center}
@media(max-width:520px){.header-actions .messenger-icon{width:22px;height:22px;flex-basis:22px}.header-actions .social-btn{padding:9px 5px;gap:5px}}
.hero-real-photo{background:#e8eef7;overflow:hidden}.hero-real-photo img{width:100%;height:100%;display:block;object-fit:cover;object-position:center center}/* Show the entire real storefront photo instead of cropping it on phones. */
.hero-real-photo{height:auto;display:block;line-height:0;background:#eef3fa}
.hero-real-photo img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;object-position:center}
@media(max-width:650px){.hero-real-photo{height:auto!important;min-height:0}.hero-real-photo img{height:auto!important;max-height:none!important;object-fit:contain!important}}

.card .ico svg{display:block;width:28px;height:28px;flex:none}.card .ico{color:#1769e8}
/* Recognition block — mobile first, no external assets */
.awards-wrap{padding:28px 0 22px;background:linear-gradient(180deg,#fff 0%,#f4f8ff 100%)}
.awards-panel{border:1px solid #dae5f5;border-radius:25px;background:#fff;box-shadow:0 14px 36px rgba(20,56,116,.07);padding:26px 24px;display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:24px}
.awards-kicker{color:#2367d9;text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:800;margin-bottom:10px}
.awards-panel h2{font-size:clamp(24px,3vw,36px);line-height:1.14;margin:0 0 12px;color:#14233c}
.awards-panel p{color:#66748b;line-height:1.55;margin:0;font-size:15px}
.awards-years{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.award-tile{min-width:0;border:1px solid #e5ebf4;border-radius:19px;background:linear-gradient(145deg,#f6f9ff,#edf4ff);padding:18px 10px;text-align:center}
.award-medal{display:block;width:54px;height:54px;margin:0 auto 9px;color:#2166d5}
.award-year{font-weight:850;color:#1b4da7;font-size:27px;line-height:1.1}
.award-label{font-size:12px;color:#415574;font-weight:750;margin-top:5px;line-height:1.35}
@media(max-width:700px){.awards-wrap{padding:18px 0 12px}.awards-panel{grid-template-columns:1fr;gap:18px;padding:21px 17px;border-radius:21px}.awards-panel h2{font-size:25px}.awards-panel p{font-size:14px}.awards-years{gap:10px}.award-tile{padding:15px 7px}.award-medal{width:45px;height:45px}.award-year{font-size:24px}.award-label{font-size:11px}}
.award-yandex-link{display:inline-flex;align-items:center;justify-content:center;max-width:100%;margin-top:15px;padding:13px 17px;background:#2166d5;color:#fff!important;text-decoration:none;border-radius:12px;font-size:14px;font-weight:750;line-height:1.35;text-align:center}.award-yandex-link:hover{background:#164ba7}@media(max-width:650px){.award-yandex-link{width:100%;box-sizing:border-box;font-size:13px;padding:13px 10px}}
.review-links{display:flex;flex-wrap:wrap;align-items:stretch;gap:10px;margin-top:15px}.review-links .award-yandex-link{margin-top:0}.review-2gis-link{background:#159e60!important}.review-2gis-link:hover{background:#0e7948!important}@media(max-width:700px){.review-links{display:grid;grid-template-columns:1fr;gap:9px}.review-links .award-yandex-link{width:100%;font-size:13px;padding:13px 10px}}

/* Yandex Good Place badges inspired by official award design; embedded SVG */
.awards-years .award-tile{background:linear-gradient(160deg,#fff,#f5f8ff);padding:10px 6px;display:flex;justify-content:center;align-items:center;min-height:205px}
.yandex-goodplace-badge{width:min(100%,170px);height:auto;display:block}
@media(max-width:650px){.awards-years{gap:8px}.awards-years .award-tile{padding:6px 2px;min-height:0}.yandex-goodplace-badge{width:100%;max-width:170px}}

/* Ariston authorization */
.ariston-strip{padding:22px 0;background:#fff}
.ariston-panel{display:flex;align-items:center;gap:22px;padding:25px 30px;border:1px solid #d9e5f6;border-radius:24px;background:linear-gradient(115deg,#fff 55%,#f0f6ff);box-shadow:0 10px 28px rgba(21,70,138,.06)}
.ariston-mark{flex:0 0 auto;font-weight:900;letter-spacing:-1.2px;color:#d52332;font-size:30px;line-height:1.1}
.ariston-copy{flex:1;min-width:0}.ariston-copy strong{display:block;font-size:22px;line-height:1.3;color:#17253f}.ariston-copy p{margin:8px 0 0;color:#596981;line-height:1.55}
.ariston-panel a{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;background:#1c67dc;color:#fff;text-decoration:none;padding:14px 20px;border-radius:13px;font-weight:700}
@media(max-width:700px){.ariston-strip{padding:14px 0}.ariston-panel{display:block;padding:22px 20px;border-radius:20px}.ariston-mark{font-size:28px;margin-bottom:12px}.ariston-copy strong{font-size:20px}.ariston-copy p{font-size:15px}.ariston-panel a{margin-top:17px;width:100%;box-sizing:border-box}}

/* Stable, visible forms for iOS HTML preview */
html{scroll-behavior:smooth;scroll-padding-top:155px}
.inline-request-box{max-width:640px;background:#fff;border:1px solid #dbe4ef;border-radius:22px;padding:25px;box-shadow:0 12px 35px #16365c0d}
.inline-request-box .field{margin:0 0 17px}
.inline-request-box .field span{display:block;font-size:14px;font-weight:700;color:#17253f;margin-bottom:7px}
.inline-request-box input,.inline-request-box textarea{width:100%;box-sizing:border-box;background:#fff;color:#17253f;border:1px solid #cbd8e8;border-radius:11px;padding:14px;font-size:16px;line-height:1.4}
.inline-request-box .btn{border:0;cursor:pointer;font:inherit;font-weight:700}
.inline-request-box .note{margin-top:14px}
@media(max-width:650px){.inline-request-box{padding:20px 16px}.inline-request-box .btn{width:100%;justify-content:center}}

/* Forms open only on click; CSS :target works in iOS file preview without JS. */
.request-modal{display:none!important;position:fixed!important;inset:0!important;z-index:99999!important;padding:18px!important;margin:0!important;background:transparent!important;overflow-y:auto!important;box-sizing:border-box!important;align-items:center;justify-content:center;scroll-padding-top:0}
.request-modal:target{display:flex!important}
.request-modal-backdrop{position:fixed;inset:0;background:rgba(10,25,50,.70);display:block;z-index:0}
.request-modal-panel{position:relative;z-index:1;width:min(100%,560px)!important;max-height:calc(100dvh - 36px);overflow-y:auto;box-sizing:border-box;background:#fff;border-radius:22px;padding:25px 22px;box-shadow:0 25px 80px rgba(0,0,0,.25);margin:auto!important}
.request-modal .head{margin:0 36px 15px 0!important}
.request-modal .head h2{font-size:27px;line-height:1.15;margin:5px 0 8px}
.request-modal .head p{font-size:15px;margin:0}
.request-modal .inline-request-box{box-shadow:none;border:0;padding:0;max-width:none;background:transparent}
.request-modal-close{position:absolute;right:15px;top:12px;display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:#edf3fb;color:#17253f!important;font-size:29px;line-height:1;text-decoration:none;z-index:2}
@media(max-width:650px){.request-modal{padding:12px!important}.request-modal-panel{max-height:calc(100dvh - 24px);padding:22px 18px;border-radius:19px}.request-modal .head h2{font-size:24px}}

/* Service cards: let content determine row height; keep CTA inside every card. */
#services .cards{display:grid;align-items:stretch;grid-auto-rows:auto}
#services .cards>.card{box-sizing:border-box;min-width:0;min-height:0;height:auto!important;overflow:visible;display:flex;flex-direction:column;align-self:stretch}
#services .cards>.card h3{flex:none;overflow-wrap:break-word}
#services .cards>.card p{flex:1 0 auto;overflow-wrap:break-word;line-height:1.5}
#services .cards>.card>a{display:block;flex:none;margin-top:16px;padding-top:0;align-self:flex-start;line-height:1.4;white-space:normal}
@media(max-width:650px){
 #services .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
 #services .cards>.card{padding:15px 13px 17px;border-radius:17px}
 #services .cards>.card h3{font-size:15px;line-height:1.35;margin:0 0 8px}
 #services .cards>.card p{font-size:13px;line-height:1.5}
 #services .cards>.card>a{font-size:12px;line-height:1.4;margin-top:17px}
}

/* FIX: stable two-column service cards, all text and links contained. */
#services .cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important;grid-auto-rows:auto!important}
#services .cards>.card{display:flex!important;flex-direction:column!important;box-sizing:border-box!important;min-width:0!important;min-height:250px!important;height:auto!important;overflow:hidden!important;padding:17px 14px!important;align-self:stretch!important}
#services .cards>.card .ico{flex:0 0 auto!important}
#services .cards>.card h3{flex:0 0 auto!important;margin:15px 0 9px!important;overflow-wrap:anywhere!important}
#services .cards>.card p{flex:0 0 auto!important;margin:0 0 16px!important;overflow-wrap:anywhere!important}
#services .cards>.card>a{position:static!important;display:block!important;flex:0 0 auto!important;align-self:flex-start!important;margin-top:auto!important;padding:0!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:anywhere!important}
@media(max-width:650px){#services .cards>.card{min-height:255px!important}#services .cards>.card h3{font-size:15px!important}#services .cards>.card p{font-size:13px!important}#services .cards>.card>a{font-size:12px!important}}

/* Новая компактная шапка — тестовый вариант */
.new-compact-header{position:sticky;top:0;z-index:90;background:#fff;border-bottom:1px solid #e3eaf3;box-shadow:0 4px 22px #132b4810}
.new-compact-header .compact-wrap{padding-top:12px;padding-bottom:10px}
.new-compact-header .compact-top{display:flex;align-items:center;justify-content:space-between;gap:14px}
.new-compact-header .brand{display:flex;align-items:center;min-width:0;flex-shrink:1}
.new-compact-header .compact-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.new-compact-header .compact-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;transition:transform .2s;overflow:hidden}
.new-compact-header .compact-icon:hover{transform:translateY(-2px)}
.new-compact-header .compact-phone{background:#fac44c;color:#14243b;border-radius:50%}
.new-compact-header .compact-phone svg{width:25px;height:25px}
.new-compact-header .compact-max{background:linear-gradient(140deg,#48c2ed,#6042d6);box-shadow:0 5px 14px #564ed633}
.new-compact-header .compact-telegram{background:#3c8bc7;box-shadow:0 5px 14px #2e9cda30}
.new-compact-header .compact-icon img{width:100%;height:100%;object-fit:contain;display:block}
.new-compact-header .compact-hours{font-size:13px;color:#667487;margin-top:9px;line-height:1.5}
.new-compact-header .compact-hours span{padding:0 6px;color:#a0aaba}
.new-compact-header .compact-menu{position:relative}
.new-compact-header .compact-menu summary{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer;list-style:none;width:46px;height:46px;border-radius:12px}
.new-compact-header .compact-menu summary::-webkit-details-marker{display:none}
.new-compact-header .compact-menu summary span{height:4px;width:28px;border-radius:5px;background:#283243}
.new-compact-header .compact-menu nav{position:absolute;right:0;top:calc(100% + 10px);background:white;min-width:210px;border:1px solid #dfe7f3;border-radius:14px;box-shadow:0 16px 35px #132b4825;padding:8px;display:flex;flex-direction:column;z-index:95}
.new-compact-header .compact-menu nav a{padding:11px 12px;color:#1a3156;font-weight:650;border-radius:8px}
.new-compact-header .compact-menu nav a:hover{background:#edf4ff}
@media(max-width:650px){
.new-compact-header .compact-wrap{padding-top:10px;padding-bottom:9px}
.new-compact-header .brand{gap:5px;font-size:12px}
.new-compact-header .brand .logo{width:36px;height:36px;flex-shrink:0}
.new-compact-header .compact-actions{gap:5px}
.new-compact-header .compact-icon{width:39px;height:39px;border-radius:11px}
.new-compact-header .compact-phone{border-radius:50%}
.new-compact-header .compact-phone svg{width:21px;height:21px}
.new-compact-header .compact-menu summary{width:35px;height:39px;gap:4px}
.new-compact-header .compact-menu summary span{width:24px;height:3px}
.new-compact-header .compact-hours{font-size:11px;margin-top:7px;white-space:normal}
.new-compact-header .compact-hours span{padding:0 2px}
}
@media(max-width:390px){.new-compact-header .compact-icon{width:35px;height:35px}.new-compact-header .compact-actions{gap:3px}.new-compact-header .brand{font-size:11px}.new-compact-header .brand .logo{width:32px;height:32px}}


/* Consistent actions on all eleven service landing pages */
.seo-detail .seo-contact-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0 8px;max-width:660px}
.seo-detail .seo-contact-btn{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-height:52px;padding:12px 14px;border-radius:13px;font-size:15px;font-weight:750;line-height:1.35;text-align:center;text-decoration:none;overflow-wrap:anywhere}
.seo-detail .seo-contact-btn.primary{background:#3067dc;color:white}
.seo-detail .seo-contact-btn.call{background:#eaf1ff;color:#1957c8;border:1px solid #d4e2ff}
.seo-detail .seo-contact-btn.msg{background:white;color:#1957c8;border:1px solid #cbdcf8}
@media(max-width:390px){.seo-detail .seo-contact-actions{gap:8px}.seo-detail .seo-contact-btn{font-size:13px;padding:10px 7px}}


.seo-detail .seo-contact-btn.msg{gap:9px;display:flex;align-items:center;justify-content:center}
.seo-detail .seo-messenger-icon{display:block;flex:none;width:25px;height:25px;object-fit:contain;border-radius:50%}
@media(max-width:390px){.seo-detail .seo-contact-btn.msg{gap:5px}.seo-detail .seo-messenger-icon{width:21px;height:21px}}

.seo-actions.related-services{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important;align-items:stretch}.seo-actions.related-services .seo-button{display:flex!important;align-items:center;justify-content:center;white-space:normal!important;overflow-wrap:anywhere;text-align:center;min-width:0;width:100%;height:auto;min-height:58px;box-sizing:border-box;padding:12px 14px!important;font-size:clamp(13px,2.8vw,16px);line-height:1.3}@media(max-width:360px){.seo-actions.related-services{grid-template-columns:1fr}}
.seo-bottom-contact{padding-top:32px;padding-bottom:55px}.seo-bottom-contact .seo-contact-actions{margin-top:22px}.seo-bottom-contact p{color:#64748b;line-height:1.6}.seo-bottom-contact h2{margin-bottom:10px}
.seo-legal-footer{background:#142035;color:#9bacc5;padding:26px 24px 32px;margin:45px -18px -70px;font-size:14px;line-height:1.8;overflow-wrap:anywhere}.seo-legal-footer a{display:inline-block;color:#aabbd3;text-decoration:underline;margin-top:8px}.seo-legal-footer div+div{margin-top:5px}@media(min-width:700px){.seo-legal-footer{margin-left:-40px;margin-right:-40px;padding-left:40px;padding-right:40px}}@media(max-width:699px){.seo-legal-footer{margin-bottom:-70px}}

.seo-detail{display:none;position:fixed;inset:0;z-index:999999;background:#fff;overflow-y:auto;-webkit-overflow-scrolling:touch;color:#19263d;font:16px/1.6 system-ui,-apple-system,sans-serif;overscroll-behavior:contain}
.seo-detail:target{display:block}
.seo-detail *{box-sizing:border-box}
.seo-detail .seo-inner{max-width:960px;margin:auto;padding:22px 20px 80px}
.seo-detail .seo-top{position:sticky;top:0;background:#fff;z-index:2;border-bottom:1px solid #e0e7f3;padding:14px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.seo-detail .seo-top a{color:#2165dc;text-decoration:none;font-weight:700}
.seo-detail h1{font-size:clamp(28px,6vw,44px);line-height:1.15;margin:22px 0;color:#18263d}
.seo-detail h2{font-size:clamp(23px,5vw,30px);line-height:1.25;margin:32px 0 16px}
.seo-detail h3{font-size:18px;margin:0 0 8px}
.seo-detail p{margin:10px 0 16px}
.seo-detail .seo-tag{color:#2165dc;font-weight:700}
.seo-detail .seo-breadcrumb{display:none}
.seo-detail .seo-lead{font-size:19px;color:#596a82}
.seo-detail .seo-actions,.seo-detail .actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}
.seo-detail .seo-button,.seo-detail .cta,.seo-detail .secondary{display:inline-block;background:#2567dc;color:white;text-decoration:none;padding:13px 18px;border-radius:13px;font-weight:700}
.seo-detail .seo-button.secondary,.seo-detail .secondary{background:#edf3ff;color:#2165dc}
.seo-detail .seo-grid,.seo-detail .grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.seo-detail .seo-tile,.seo-detail .faq,.seo-detail .seo-steps>div{border:1px solid #e0e7f3;border-radius:16px;padding:18px;background:#fff}
.seo-detail .seo-steps{display:grid;gap:12px}
.seo-detail .seo-steps b{display:block;color:#2165dc}
.seo-detail .seo-section,.seo-detail section{margin:24px 0}
.seo-detail details{padding:14px 0;border-bottom:1px solid #e0e7f3}
.seo-detail summary{font-weight:700;cursor:pointer}
.seo-detail footer{background:#142035;color:#fff;padding:22px}
.seo-detail .container,.seo-detail .wrap{max-width:100%;margin:auto}
@media(max-width:600px){.seo-detail .seo-grid,.seo-detail .grid{grid-template-columns:1fr}.seo-detail .seo-inner{padding:16px 18px 70px}}

/* WordPress: service pages use normal document flow, not preview overlays */
body.surgut-service-page .seo-detail {display:block!important;position:static!important;inset:auto!important;overflow:visible!important;z-index:auto!important;min-height:100vh}
body.surgut-service-page .seo-detail .seo-inner{overflow:visible!important;height:auto!important;max-height:none!important}
body.surgut-service-page .seo-detail .seo-top{position:relative!important}
body.surgut-service-page .seo-detail .seo-contact-actions{flex-wrap:wrap}
body.surgut-service-page{overflow:auto!important}
body.surgut-service-page > .top,body.surgut-service-page > .header,body.surgut-service-page > .footer{display:none!important}

/* v0.2: desktop presentation; phone layout remains unchanged. */
@media (min-width: 1000px) {
  body { font-size: 17px; }
  .w { width: min(1320px, calc(100% - 80px)); }
  .top { font-size: 14px; }
  .new-compact-header .compact-wrap { padding-top: 17px; padding-bottom: 15px; }
  .new-compact-header .brand { font-size: 20px; }
  .new-compact-header .brand .logo { width: 54px; height: 54px; }
  .new-compact-header .compact-icon { width: 50px; height: 50px; }
  .new-compact-header .compact-menu summary { width: 50px; height: 50px; }
  .new-compact-header .compact-hours { font-size: 13px; }
  .hero { padding: 74px 0 78px; }
  .heroGrid { grid-template-columns: 1.05fr .95fr; gap: clamp(45px, 5vw, 90px); }
  .hero h1 { font-size: clamp(50px, 4.4vw, 68px); line-height: 1.09; }
  .hero .lead { font-size: 20px; line-height: 1.65; max-width: 610px; }
  .hero .eyebrow { font-size: 14px; }
  .hero .btn { padding: 17px 24px; font-size: 16px; }
  .hero .facts { font-size: 14px; }
  .hero-real-photo { width: 100%; max-width: 570px; justify-self: end; }
  .hero-real-photo img { width: 100%; height: auto; image-rendering: auto; }
  #services .cards { grid-template-columns: repeat(4,minmax(0,1fr)) !important; gap: 18px !important; }
  #services .cards>.card { padding: 24px 21px; }
  .team-photo img { object-fit: contain; object-position: center; height: auto; max-height: none; min-height: 0; }
  .team-photo { align-self: center; min-height: 0; }
}
@media (min-width: 700px) and (max-width: 999px) {
  #services .cards { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
}

/* v0.3 — spacious desktop-first layout and embedded Yandex map */
.ss-location-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:28px}
.ss-location-heading h2{margin:6px 0 12px}
.ss-location-heading .muted{max-width:720px}
.ss-location-layout{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(285px,.75fr);gap:22px;align-items:stretch}
.ss-location-map{min-height:510px;overflow:hidden;border-radius:24px;border:1px solid #dce7f4;background:#e8f0fa}
.ss-location-map iframe{display:block;width:100%;height:100%;min-height:510px;border:0}
.ss-location-details{padding:30px;background:#fff;border:1px solid #e0e8f2;border-radius:24px;box-shadow:0 14px 40px #14243b0a}
.ss-location-details h3{font-size:23px;line-height:1.25;margin:10px 0}
.ss-location-details p{color:#596b80;line-height:1.7;margin:12px 0}
.ss-location-details a{color:#1769e8}
.ss-location-pin{font-weight:700;color:#1769e8}
.ss-location-rule{height:1px;background:#e4eaf3;margin:22px 0}
.ss-location-route{display:inline-block;margin-top:14px;font-weight:700}
@media(min-width:1100px){
  .w{width:calc(100% - 96px);max-width:1440px}
  .hero{padding:82px 0 90px}
  .heroGrid{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:64px}
  .hero h1{font-size:clamp(56px,4.7vw,76px);line-height:1.08;letter-spacing:-2.5px}
  .lead{font-size:21px;line-height:1.65}
  .hero .btn{font-size:17px;padding:17px 25px}
  .hero-real-photo{max-width:620px}
  .section{padding-top:85px;padding-bottom:85px}
  .section h2{font-size:clamp(32px,3vw,44px)}
  .cards{gap:22px}
  .card{padding:26px;min-height:210px}
  .new-compact-header .compact-wrap{padding-top:20px;padding-bottom:17px}
}
@media(max-width:850px){
  .ss-location-heading{align-items:start;flex-direction:column}
  .ss-location-layout{grid-template-columns:1fr}
  .ss-location-map,.ss-location-map iframe{min-height:380px}
}
@media(max-width:540px){
  .ss-location-map,.ss-location-map iframe{min-height:350px}
  .ss-location-details{padding:22px}
  .ss-location-heading .btn{width:100%;text-align:center}
}

/* v0.4 — all 11 service pages: desktop-first, responsive typography and cards */
@media (min-width: 1000px) {
 body.surgut-service-page .seo-detail {font-size:18px;line-height:1.75;background:#f7faff}
 body.surgut-service-page .seo-detail .seo-top {padding:20px max(44px,calc((100vw - 1440px)/2));font-size:17px}
 body.surgut-service-page .seo-detail .seo-inner {width:calc(100% - 96px);max-width:1380px;margin:0 auto;padding:38px 0 110px}
 body.surgut-service-page .seo-detail .seo-hero {background:linear-gradient(125deg,#eaf3ff 0%,#fff 80%);border:1px solid #dce9fb;border-radius:28px;padding:54px 62px;margin:0 0 48px}
 body.surgut-service-page .seo-detail .seo-breadcrumb {display:block;color:#65768b;font-size:15px;margin-bottom:24px}
 body.surgut-service-page .seo-detail .seo-tag {font-size:16px}
 body.surgut-service-page .seo-detail h1 {font-size:clamp(46px,3.5vw,64px);line-height:1.12;letter-spacing:-1.3px;max-width:1050px;margin:20px 0 24px}
 body.surgut-service-page .seo-detail .seo-lead {font-size:23px;line-height:1.6;max-width:970px}
 body.surgut-service-page .seo-detail h2 {font-size:clamp(30px,2.5vw,39px);line-height:1.25;margin:52px 0 22px}
 body.surgut-service-page .seo-detail h3 {font-size:23px}
 body.surgut-service-page .seo-detail .seo-contact-actions {grid-template-columns:repeat(4,minmax(0,1fr));max-width:1100px;gap:14px;margin-top:30px}
 body.surgut-service-page .seo-detail .seo-contact-btn {min-height:62px;font-size:17px;padding:16px}
 body.surgut-service-page .seo-detail .seo-grid,body.surgut-service-page .seo-detail .grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
 body.surgut-service-page .seo-detail .seo-tile,body.surgut-service-page .seo-detail .faq,body.surgut-service-page .seo-detail .seo-steps>div {padding:28px;border-radius:20px}
 body.surgut-service-page .seo-detail .seo-steps {grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
 body.surgut-service-page .seo-detail .seo-section {margin:50px 0}
 body.surgut-service-page .seo-detail details {padding:20px 0}
 body.surgut-service-page .seo-detail .seo-bottom-contact {margin-top:60px;padding:32px 40px 50px;background:#edf4ff;border-radius:24px}
}
@media (min-width: 700px) and (max-width:999px) {
 body.surgut-service-page .seo-detail .seo-inner {max-width:900px;padding:32px 32px 90px}
 body.surgut-service-page .seo-detail h1 {font-size:46px}
 body.surgut-service-page .seo-detail .seo-grid,body.surgut-service-page .seo-detail .grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:699px) {
 body.surgut-service-page .seo-detail .seo-inner {width:100%;max-width:100%;padding:18px 18px 72px}
 body.surgut-service-page .seo-detail .seo-contact-actions {grid-template-columns:repeat(2,minmax(0,1fr))}
}

.ss-location-map{position:relative;padding-top:58px}.ss-map-exact-link{position:absolute;top:0;left:0;right:0;display:flex;align-items:center;justify-content:center;min-height:58px;padding:12px 20px;text-align:center;background:#e9f3ff;color:#1456b8!important;font-weight:750;font-size:15px;text-decoration:none;border-bottom:1px solid #cfe1fa}.ss-map-exact-link:hover{text-decoration:underline}.ss-location-map iframe{height:calc(100% - 0px)}

/* v0.6 — clear product photos and illustrated repair process */
#services .cards .card{overflow:hidden;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0!important;background:#fff;border:1px solid #e4eaf2;border-radius:22px;box-shadow:0 10px 30px rgba(20,47,84,.06)}
#services .cards .card .ss-appliance-image{display:block;width:100%;height:205px;object-fit:cover;object-position:center;background:#eaf3fb;flex:none}
#services .cards .card .ico{display:none}
#services .cards .card h3{font-size:20px;line-height:1.25;margin:20px 20px 10px}
#services .cards .card p{margin:0 20px 20px;line-height:1.55}
#services .cards .card a{margin:auto 20px 22px;display:inline-block;align-self:flex-start}
.steps .step{overflow:hidden;padding:0!important;border:1px solid #e2eaf3;border-radius:20px;background:#fff;box-shadow:0 10px 28px rgba(20,47,84,.05)}
.steps .step .ss-step-image{display:block;width:100%;height:190px;object-fit:cover;background:#eaf3fb}
.steps .step small{display:block;margin:19px 20px 8px}
.steps .step h3{margin:0 20px 10px}
.steps .step p{margin:0 20px 24px;line-height:1.6}
@media(max-width:700px){#services .cards .card .ss-appliance-image{height:145px}#services .cards .card h3{font-size:16px;margin:13px 12px 8px}#services .cards .card p{font-size:13px;margin:0 12px 14px}#services .cards .card a{margin:auto 12px 16px;font-size:13px}.steps .step .ss-step-image{height:180px}}


/* v0.7 — product images fit fully inside cards; no accidental cropping */
#services .cards .card .ss-appliance-image {
  box-sizing: border-box;
  width: 100%;
  height: 190px;
  object-fit: contain;
  object-position: center center;
  padding: 12px 14px;
  background: #e7f2fc;
}
#services .cards .card {
  min-width: 0;
}
#services .cards .card h3 {
  overflow-wrap: anywhere;
}
@media (min-width: 1000px) {
  #services .cards .card .ss-appliance-image { height: 190px; padding: 14px 18px; }
}
@media (min-width: 701px) and (max-width: 999px) {
  #services .cards .card .ss-appliance-image { height: 175px; padding: 12px; }
}
@media (max-width: 700px) {
  #services .cards .card .ss-appliance-image { height: 125px; padding: 8px; }
}


/* v0.8: closed navigation was overlaying the messenger links.
   A <details> child forced to display:flex stays visible without this rule. */
.new-compact-header details.compact-menu:not([open]) > nav { display:none !important; }
.new-compact-header .compact-actions { position:relative; isolation:isolate; }
.new-compact-header .compact-actions > a.compact-icon {
  position:relative; z-index:2; pointer-events:auto !important; cursor:pointer;
  flex-shrink:0; touch-action:manipulation;
}
.new-compact-header .compact-actions > a.compact-icon img,
.new-compact-header .compact-actions > a.compact-icon svg { pointer-events:none; }
.new-compact-header details.compact-menu[open] > nav { z-index:5; }
.new-compact-header .brand-photo img {
  width:100%; height:100%; display:block; object-fit:contain;
}
.new-compact-header .brand-photo { background:transparent; overflow:visible; }
@media(min-width:1000px){
 .new-compact-header .brand-photo { width:58px; height:58px; }
 .new-compact-header .brand { font-size:22px; }
}
/* Full image composition, consistent card geometry on all screens. */
#services .cards .card .ss-appliance-image {
 object-fit:contain !important; object-position:center !important;
 height:190px; padding:14px; background:#e8f3fd;
}
.steps .step .ss-step-image {
 box-sizing:border-box; display:block; width:100%;
 height:200px; object-fit:contain !important; object-position:center !important;
 padding:10px; background:#e8f3fd;
}
.steps .step { overflow:hidden; display:flex; flex-direction:column; }
.steps .step p { margin-top:auto; }
@media(max-width:700px){
 #services .cards .card .ss-appliance-image {height:125px;padding:8px;}
 .steps .step .ss-step-image {height:155px;padding:7px;}
}

/* v0.9: centered appliance card captions, and clickable product photos */
#services .cards > .card { text-align:center; align-items:center; }
#services .cards > .card h3, #services .cards > .card p { text-align:center; width:100%; }
#services .cards > .card > a:not(.ss-appliance-link) { align-self:center; text-align:center; }
#services .cards .ss-appliance-link { display:flex; align-items:center; justify-content:center; width:100%; text-decoration:none; border-radius:16px; overflow:hidden; cursor:pointer; }
#services .cards .ss-appliance-link:focus-visible { outline:3px solid #1769e8; outline-offset:3px; }
#services .cards .ss-appliance-link .ss-appliance-image { display:block; width:100%; transition:transform .2s ease; }
@media(hover:hover) { #services .cards .ss-appliance-link:hover .ss-appliance-image { transform:scale(1.035); } }

/* v1.0: images on all 11 individual service pages */
.seo-detail .ss-service-photo {
 float:right; width:min(39%,420px); margin:0 0 24px 34px;
 border-radius:20px; background:#eaf4fd; overflow:hidden; padding:14px;
 box-shadow:0 10px 28px rgba(16,54,99,.07);
}
.seo-detail .ss-service-photo img { display:block; width:100%; height:300px; object-fit:contain; }
.seo-detail .seo-hero .container::after,.seo-detail .hero .wrap::after {content:"";display:table;clear:both}
.seo-detail .ss-service-step-photo {display:block; width:100%; height:145px; object-fit:contain; background:#eaf4fd; border-radius:13px; padding:9px; box-sizing:border-box; margin-bottom:18px}
.seo-detail .seo-steps>div,.seo-detail article.step {min-width:0}
@media(max-width:760px){
 .seo-detail .ss-service-photo {float:none;width:100%;max-width:460px;margin:10px auto 24px;box-sizing:border-box}
 .seo-detail .ss-service-photo img {height:220px}
 .seo-detail .ss-service-step-photo {height:130px}
}

/* v1.1: valid linked appliance images */
#services .ss-appliance-link{display:block;width:100%;text-decoration:none;}
#services .ss-appliance-link img{display:block;max-width:100%;}

/* v1.2: diagnostic image matches the equipment type on each service page. */
.seo-detail .seo-steps .ss-service-step-photo {object-fit:contain !important;object-position:center;background:#eaf4fd;}

/* v1.3: consistent clickable logo across the home and 11 service pages */
.ss-shared-brandbar { background:#fff; border-bottom:1px solid #e3eaf3; padding:17px max(22px,calc((100% - 1380px)/2)); display:flex; flex-direction:column; align-items:flex-start; gap:7px; }
.ss-shared-brand { display:inline-flex; align-items:center; gap:14px; color:#14243b; font-size:23px; line-height:1.1; font-weight:800; letter-spacing:.025em; }
.ss-shared-brand img { display:block; width:64px; height:64px; object-fit:contain; flex:none; }
.ss-shared-brand-name small { display:block; font-size:12px; letter-spacing:.13em; color:#64758c; margin-top:7px; }
.ss-shared-brand-hours { font-size:13px; color:#64758c; }
.ss-shared-brand:hover .ss-shared-brand-name { color:#1769e8; }
.ss-shared-brand:focus-visible { outline:3px solid #1769e8; outline-offset:5px; border-radius:6px; }
@media(max-width:650px){.ss-shared-brandbar{padding:12px 18px}.ss-shared-brand{font-size:18px}.ss-shared-brand img{width:48px;height:48px}.ss-shared-brand-name small{font-size:10px}.ss-shared-brand-hours{font-size:11px}}

/* 1.4: water-heater faults photo layout (preview). */
.seo-detail .problem {overflow:hidden; display:flex; flex-direction:column;}
.seo-detail .problem .ss-fault-photo {width:100%;height:185px;display:block;object-fit:cover;object-position:center;border-radius:13px;margin:0 0 16px;background:#e8f3fd;}
.seo-detail .problem h3 {margin-top:0;}
@media(max-width:700px){.seo-detail .problem .ss-fault-photo {height:170px;}}

/* v1.6: consistent, uncropped photos on service detail pages. */
.seo-detail .problem { display:flex; flex-direction:column; min-width:0; overflow:hidden; }
.seo-detail .problem .ss-fault-photo {
 box-sizing:border-box; display:block; width:100%; height:210px;
 object-fit:contain !important; object-position:center !important;
 padding:12px; margin:0 0 15px; border-radius:14px;
 background:#eaf3fb;
}
.seo-detail .problem h3 { margin-top:0; }
.seo-detail .seo-steps .ss-service-step-photo,
.seo-detail .step .ss-service-step-photo,
.seo-detail .ss-service-step-photo {
 box-sizing:border-box; display:block; width:100%; height:190px;
 object-fit:contain !important; object-position:center !important;
 background:#eaf3fb; padding:10px; border-radius:14px; margin-bottom:16px;
}
@media (max-width:760px) {
 .seo-detail .problem .ss-fault-photo {height:165px;padding:8px;}
 .seo-detail .ss-service-step-photo {height:155px;padding:8px;}
}

/* v1.7 - unified illustrated fault cards for all eleven services */
.seo-detail .problem,.seo-detail .seo-tile{display:flex;flex-direction:column;min-width:0;overflow:hidden}
.seo-detail .problem .ss-fault-photo,.seo-detail .seo-tile .ss-fault-photo{
 display:block;width:100%;height:205px;box-sizing:border-box;object-fit:contain;
 object-position:center;background:#eaf3fb;border-radius:13px;margin:0 0 16px;
}
.seo-detail .problem h3,.seo-detail .seo-tile h3{margin-top:0}
@media(max-width:760px){.seo-detail .problem .ss-fault-photo,.seo-detail .seo-tile .ss-fault-photo{height:165px}}

/* 1.8: full-width photographic illustrations without embedded labels */
.seo-detail .seo-tile img.ss-fault-photo{width:100%;height:195px;object-fit:cover;object-position:center;border-radius:14px;display:block;background:#eaf4fd;}
@media(max-width:700px){.seo-detail .seo-tile img.ss-fault-photo{height:160px;}}

/* v2.0: consistent washing-machine fault photos, no cropping */
.seo-detail .seo-tile img.ss-fault-photo,.seo-detail .problem img.ss-fault-photo{width:100%;height:195px;object-fit:contain !important;object-position:center;background:#eaf3fb;padding:0 !important;box-sizing:border-box;}
@media(max-width:700px){.seo-detail .seo-tile img.ss-fault-photo,.seo-detail .problem img.ss-fault-photo{height:160px;}}

/* v2.1: fill washing fault image frames; avoid narrow letterboxed pictures */
.seo-detail .seo-tile img.ss-fault-photo[src*="fault-washing-"],
.seo-detail .problem img.ss-fault-photo[src*="fault-washing-"]{
 width:100% !important;
 height:205px !important;
 object-fit:cover !important;
 object-position:center center !important;
 padding:0 !important;
 background:#eaf3fb;
}
@media(max-width:700px){
 .seo-detail .seo-tile img.ss-fault-photo[src*="fault-washing-"],
 .seo-detail .problem img.ss-fault-photo[src*="fault-washing-"]{height:165px !important;}
}

/* v2.2: original images reframed to remove embedded blank borders; display entire part */
.seo-detail .seo-tile img.ss-fault-photo[src*="fault-washing-"],
.seo-detail .problem img.ss-fault-photo[src*="fault-washing-"]{
 width:100% !important;height:auto !important;aspect-ratio:760/460 !important;
 object-fit:contain !important;object-position:center !important;
 background:#e8f2fa !important;border-radius:13px !important;
}

/* v2.3: preserve full visible component without CSS cropping */
.seo-detail .seo-grid .seo-tile img.ss-fault-photo[src*="fault-washing-"]{width:100%!important;height:205px!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;background:#c1e0f5!important;padding:0!important;border-radius:13px!important;}
@media(max-width:700px){.seo-detail .seo-grid .seo-tile img.ss-fault-photo[src*="fault-washing-"]{height:165px!important}}

/* v2.5: consistent full-component photos on all service pages */
.seo-detail .problem img.ss-fault-photo,
.seo-detail .seo-tile img.ss-fault-photo{
 display:block!important;width:100%!important;height:205px!important;
 object-fit:contain!important;object-position:center!important;
 background:#d4e9f7!important;border-radius:12px!important;
 padding:0!important;box-sizing:border-box!important;
}
@media(max-width:700px){.seo-detail .problem img.ss-fault-photo,.seo-detail .seo-tile img.ss-fault-photo{height:160px!important}}

/* v2.6 Yandex Maps Constructor: responsive embedded map */
.ss-yandex-constructor{width:100%;height:510px;min-height:510px;overflow:hidden}
.ss-yandex-constructor iframe{width:100%!important;height:100%!important;min-height:0!important;border:0}
@media(max-width:850px){.ss-yandex-constructor{height:380px;min-height:380px}}
@media(max-width:540px){.ss-yandex-constructor{height:350px;min-height:350px}}

/* v2.8: full, uncropped coffee-machine drip-tray photo */
.seo-detail .seo-tile img.ss-fault-photo[src*="fault-coffee-machines-04.webp"] {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 900 / 560 !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
}

/* v2.9 coffee drip tray full view */
.seo-detail .seo-grid .seo-tile img.ss-fault-photo[src*="fault-coffee-machines-04.webp"]{width:100%!important;height:205px!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;background:#c1e0f5!important;padding:0!important}
@media(max-width:700px){.seo-detail .seo-grid .seo-tile img.ss-fault-photo[src*="fault-coffee-machines-04.webp"]{height:165px!important}}

/* Vacuum cleaner landing cards */
#seo-vacuum-cleaners .seo-fault-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:24px}
#seo-vacuum-cleaners .seo-fault-card{background:#fff;border:1px solid #dbe8f4;border-radius:16px;overflow:hidden;padding-bottom:18px}
#seo-vacuum-cleaners .seo-fault-card img{width:100%;height:180px;object-fit:cover;display:block}
#seo-vacuum-cleaners .seo-fault-card h3,#seo-vacuum-cleaners .seo-fault-card p{margin:12px 18px 0}
@media(max-width:800px){#seo-vacuum-cleaners .seo-fault-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){#seo-vacuum-cleaners .seo-fault-grid{grid-template-columns:1fr}}
