/* Основные цвета и настройки. */
:root{
  --ink:#12211f;
  --muted:#5d6662;
  --dark:#0b211f;
  --dark-2:#0e2a27;
  --gold:#d9a255;
  --gold-dark:#b97a2e;
  --gold-soft:#f5d6a5;
  --cream:#faf7f2;
  --white:#fffdf9;
  --line:#eadfce;
  --shadow:0 12px 32px rgba(63,47,22,.07);
  --radius:16px;
}

/* Базовые элементы. */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--cream);font-size:16px;line-height:1.5}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
.container{width:min(1220px,calc(100% - 48px));min-width:0;margin:0 auto}

/* Шапка. Подробные адаптивные правила находятся ниже в файле. */
.topbar{position:sticky;top:0;z-index:50;background:rgba(8,27,25,.97);border-bottom:1px solid rgba(255,255,255,.05);backdrop-filter:blur(10px)}
.topbar__inner{height:78px;display:flex;align-items:center;gap:28px}
.brand{display:flex;align-items:center;gap:12px;color:#fff;min-width:212px}
.brand__mark{font-size:36px;color:var(--gold);line-height:1}
.brand__copy{display:flex;flex-direction:column;line-height:1.1}
.brand__copy b{font-size:14px;letter-spacing:.02em}
.brand__copy small{font-size:10px;color:#d9ddd9;margin-top:4px}
.nav{display:flex;align-items:center;gap:24px;margin-left:auto}
.nav a{font-size:13px;color:#eef2ef;opacity:.96}
.nav a:hover{color:var(--gold-soft)}
.topbar__actions{display:flex;align-items:center;gap:9px}
.social{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;color:var(--gold-soft);font-size:11px;border:1px solid rgba(255,255,255,.08)}
.menu-btn{display:none;background:none;border:0;color:#fff;font-size:26px;cursor:pointer}

/* Общие кнопки. */
.btn{display:inline-flex;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;align-items:center;justify-content:center;gap:2px;border-radius:10px;padding:14px 24px;border:1px solid transparent;cursor:pointer;transition:.2s ease;text-align:center;font-weight:600}
.btn:hover{transform:translateY(-1px)}
.btn b{display:block;font-size:14px}
.btn small{display:block;font-size:10px;font-weight:500;opacity:.82}
.btn--gold{background:linear-gradient(180deg,#efc27f,#d69b4c);color:#432a11;box-shadow:0 5px 16px rgba(210,148,62,.24)}
.btn--gold:hover{filter:brightness(1.03)}
.btn--outline{border-color:rgba(236,186,112,.72);color:#fff;background:rgba(7,20,19,.2)}
.btn--outline:hover{background:rgba(255,255,255,.04)}
.btn--ghost{background:transparent;border-color:#d7a45f;color:#8a5b22;padding:11px 28px}
.btn--small{padding:11px 18px;font-size:12px}
.btn--wide{width:100%;padding:11px 16px}

/* Базовые стили первого экрана. */
.hero{position:relative;color:#fff;background:linear-gradient(90deg,#0b211f 0%,#0c2623 53%,#162d2b 100%);overflow:hidden}
.hero:before{content:"⚖";position:absolute;left:33%;top:44px;font-size:430px;color:rgba(255,255,255,.035);transform:translateX(-50%);line-height:1}
.hero__glow{position:absolute;inset:0;background:radial-gradient(circle at 78% 35%,rgba(207,159,87,.14),transparent 28%),radial-gradient(circle at 36% 35%,rgba(255,255,255,.04),transparent 36%)}
.hero__inner{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);min-height:540px;align-items:stretch}
.hero__content{min-width:0;padding:68px 28px 48px 0;align-self:center;max-width:690px}
.eyebrow{font-size:11px;letter-spacing:.14em;color:#d6dbd8;margin:0 0 16px;font-weight:700}
.hero h1{font-size:52px;line-height:1.05;margin:0 0 14px;letter-spacing:-.035em;font-weight:800}
.hero h1 span{color:#f0b96b}
.hero__subtitle{font-size:14px;color:#e4e8e5;margin:0 0 18px}
.hero__text{max-width:590px;font-size:15px;line-height:1.7;color:#f0f4f1;margin:0 0 26px}
.hero__buttons{display:flex;flex-wrap:wrap;min-width:0;gap:16px;align-items:stretch}
.hero__buttons .btn{min-width:240px;flex-direction:column}
.hero__visual{position:relative;min-width:0;min-height:540px;overflow:visible;isolation:isolate}
.hero__visual:before{content:"";position:absolute;inset:7% -10% 0 8%;z-index:0;background:radial-gradient(circle at 62% 35%,rgba(231,181,107,.18),transparent 29%),linear-gradient(135deg,rgba(255,255,255,.035),transparent 45%);border-radius:42% 0 0 0;filter:blur(.2px)}
.hero__visual:after{content:"";position:absolute;left:13%;right:-10%;bottom:-2%;height:17%;z-index:1;background:radial-gradient(ellipse at 58% 90%,rgba(0,0,0,.44),transparent 69%);filter:blur(12px)}
.hero__visual img{position:absolute;z-index:2;right:-5%;bottom:-1px;width:auto;height:104%;max-width:none;object-fit:contain;object-position:right bottom;display:block;filter:saturate(.93) contrast(1.045) brightness(.98) drop-shadow(-18px 16px 28px rgba(0,0,0,.26));transform:none}
.rating-card{position:absolute;z-index:3;right:8%;bottom:13%;width:190px;background:#fff;color:#3c3023;border-radius:10px;padding:18px 20px;box-shadow:var(--shadow);display:grid;grid-template-columns:auto 1fr;column-gap:8px;align-items:center}
.rating-card strong{font-size:22px}
.stars{color:#dca057;letter-spacing:2px;font-size:14px}
.rating-card small{grid-column:1/-1;color:#6c665e;margin-top:6px;font-size:10px;line-height:1.35}

/* Панель преимуществ. */
.trustbar{position:relative;z-index:3;background:rgba(6,25,23,.78);border-top:1px solid rgba(255,255,255,.05)}
.trustbar__inner{min-height:72px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center}
.trustbar__inner div{padding:10px 24px;display:flex;justify-content:center;gap:12px;align-items:center;font-size:12px;border-right:1px solid rgba(255,255,255,.06)}
.trustbar__inner div:last-child{border-right:0}
.trustbar__inner span{color:var(--gold);font-size:18px}

/* Общие секции. */
.section{padding:72px 0}
.section--cream{background:var(--cream)}
.section--tight-top{padding-top:28px}
.section-title{text-align:center;margin-bottom:34px}
.section-title h2{font-size:34px;line-height:1.1;margin:0;color:#162421;letter-spacing:-.025em}
.section-title p{margin:10px 0 0;color:#68716d;font-size:14px}
.center{text-align:center;margin-top:24px}

/* Базовые карточки ситуаций. */
.cards--situations{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.info-card{min-width:0;overflow-wrap:anywhere;background:rgba(255,255,255,.5);border:1px solid var(--line);border-radius:14px;padding:23px 21px 18px;min-height:182px;box-shadow:0 8px 20px rgba(80,54,13,.025)}
.info-card .line-icon{display:block;color:#c98b3d;font-size:26px;margin-bottom:12px}
.info-card h3{font-size:15px;line-height:1.28;margin:0 0 10px}
.info-card p{font-size:12px;line-height:1.45;color:#68716d;margin:0 0 14px}
.info-card a{font-size:11px;color:#b5752d;font-weight:700}
.info-card--extra{display:none}
.cards--situations.is-expanded .info-card--extra{display:block}

/* Базовая схема этапов работы. */
.process-grid{position:relative;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}
.process-grid:before{content:"";position:absolute;left:5%;right:5%;top:0;border-top:1px dashed #cfb992;z-index:0}
.process-grid article{min-width:0;overflow-wrap:anywhere;position:relative;z-index:1;background:rgba(255,255,255,.36);border:1px solid var(--line);border-radius:14px;padding:30px 14px 18px;text-align:center;min-height:162px}
.step{position:absolute;top:-12px;left:50%;transform:translateX(-50%);width:28px;height:28px;display:grid;place-items:center;background:var(--cream);border:1px solid #d19a50;border-radius:50%;font-size:11px;color:#9b6729;font-weight:800}
.process-grid h3{font-size:13px;line-height:1.25;margin:0 0 10px}
.process-grid p{font-size:11px;color:#66706c;line-height:1.45;margin:0}

/* Услуги и цены. */
.pricing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:970px;margin:0 auto}
.price-card{min-width:0;overflow-wrap:anywhere;position:relative;background:#fffdf9;border:1px solid var(--line);border-radius:14px;padding:22px 22px 18px}
.price-card--featured{border-color:#d3984c;box-shadow:0 16px 35px rgba(156,107,41,.08)}
.popular{position:absolute;left:0;top:0;background:#d89e50;color:#fff;border-radius:13px 0 10px 0;padding:4px 11px;font-size:9px}
.price-card h3{font-size:14px;margin:0 0 3px}
.price{font-size:28px;font-weight:800;border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:10px}
.price-card ul{list-style:none;padding:0;margin:0 0 16px}
.price-card li{font-size:11px;color:#5f6965;padding:4px 0 4px 20px;position:relative}
.price-card li:before{content:"✓";position:absolute;left:0;color:#d49a4b;font-weight:800}
.full-service{max-width:970px;margin:18px auto 0;padding:18px 22px;border:1px solid var(--line);border-radius:14px;display:flex;gap:26px;align-items:center;background:rgba(255,255,255,.45)}
.full-service>div{flex:1;min-width:0;overflow-wrap:anywhere}
.full-service h3{margin:0 0 3px;font-size:15px}
.full-service p{font-size:11px;color:#5d6663;margin:0}

/* Базовые карточки документов. */
.docs-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;max-width:1060px;margin:0 auto}
.docs-grid article{min-width:0;overflow-wrap:anywhere;padding:18px 14px;background:rgba(255,255,255,.42);border-radius:10px;min-height:128px}
.docs-grid span{font-size:23px;color:#c7934c}
.docs-grid h3{font-size:12px;margin:9px 0 7px}
.docs-grid p{font-size:10px;color:#68716d;margin:0;line-height:1.45}
.doc-note{text-align:center;color:#6a736f;font-size:12px;margin:18px 0 0}
.doc-note:first-letter{color:#ce9245}

/* Отзывы. */
.reviews-section{background:linear-gradient(90deg,#0b2825,#0e312d 55%,#0b2422);color:#fff;padding:44px 0}
.reviews-wrap{display:grid;grid-template-columns:360px minmax(0,1fr);gap:42px;align-items:center}
.reviews-copy{min-width:0;overflow-wrap:anywhere}
.reviews-copy h2{font-size:30px;line-height:1.08;margin:0 0 14px}
.reviews-copy p{font-size:12px;color:#d7dfdb;line-height:1.55;margin:0 0 18px}
.reviews-copy .btn{padding:9px 20px;font-size:11px}
.review-carousel{min-width:0;display:grid;grid-template-columns:36px minmax(0,1fr) 36px;gap:12px;align-items:center;overflow:hidden}
.carousel-btn{width:32px;height:32px;border-radius:50%;border:0;background:rgba(255,255,255,.15);color:#fff;font-size:24px;cursor:pointer}
.review-track{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(210px,1fr);gap:14px;transition:transform .3s ease}
.review-card{min-width:0;overflow-wrap:anywhere;background:#fff;color:#222;border-radius:8px;padding:14px 14px 11px;min-height:145px;box-shadow:0 8px 18px rgba(0,0,0,.12);position:relative}
.avatar{float:left;margin-right:7px;width:22px;height:22px;border-radius:50%;background:#e9eff4;color:#4e6b81;display:grid;place-items:center;font-size:9px}
.review-card h3{font-size:10px;margin:4px 0 12px;font-weight:500}
.review-card p{font-size:10px;line-height:1.45;margin:0 0 10px}
.review-card time{position:absolute;right:10px;bottom:8px;color:#888;font-size:8px}

/* Базовая контактная форма. */
.contact-section{padding-top:58px}
.contact-grid{position:relative;display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,.85fr) 100px;gap:28px;align-items:start}
.lead-form-wrap h2{font-size:28px;margin:0 0 6px}
.lead-form-wrap>p{font-size:12px;color:#69726e;margin:0 0 18px}
.lead-form-wrap{min-width:0}
.lead-form{max-width:720px;min-width:0}
.field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.lead-form label:not(.consent){min-width:0;display:flex;align-items:center;gap:8px;border:1px solid #ddd3c5;background:#fffdf9;padding:10px 13px}
.lead-form .field-row label:first-child{border-radius:7px 0 0 0}
.lead-form .field-row label:last-child{border-radius:0 7px 0 0}
.lead-form label span{color:#8f6837;font-size:12px}
.lead-form input,.lead-form textarea{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#27302e;font-size:12px}
.textarea{border-top:0!important;border-radius:0 0 7px 7px!important;align-items:flex-start!important}
.lead-form textarea{resize:vertical;min-height:75px}
.form-bottom{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:14px}
.consent{display:flex;align-items:flex-start;gap:7px;max-width:420px;font-size:9px;color:#555}
.consent input{width:auto;flex-shrink:0;margin-top:2px}
.consent a{text-decoration:underline}
.form-status{height:auto;min-height:18px;overflow-wrap:anywhere;color:#377b54;font-size:11px;margin-top:6px}
.contact-card{min-width:0;overflow-wrap:anywhere;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.35);padding:23px}
.contact-card h3{font-size:15px;margin:0 0 10px}
.contact-card p{font-size:11px;color:#646e69}
.contact-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.contact-buttons a{font-size:10px;border:1px solid #ddd0bd;background:#fffdfa;border-radius:6px;padding:9px 11px}
.justice-watermark{font-size:92px;color:#d8b989;opacity:.58;align-self:end;padding-bottom:12px;text-align:center}

/* Часто задаваемые вопросы. */
.faq-section{padding-top:30px}
.faq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.faq-grid details{min-width:0;overflow-wrap:anywhere;background:#fffdf9;border:1px solid var(--line);border-radius:8px;padding:0 16px}
.faq-grid summary{list-style:none;cursor:pointer;font-size:12px;font-weight:650;padding:14px 28px 14px 0;position:relative}
.faq-grid summary::-webkit-details-marker{display:none}
.faq-grid summary:after{content:"⌄";position:absolute;right:0;color:#a26a27}
.faq-grid details[open] summary:after{content:"⌃"}
.faq-grid p{font-size:11px;color:#65706b;margin:0 0 14px;line-height:1.55}

/* Подвал сайта. */
.footer{background:linear-gradient(90deg,#0b2422,#0b1f1e);color:#fff;padding:48px 0 38px}
.footer-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.75fr) minmax(0,1.05fr) minmax(0,1.25fr);gap:34px}
.footer-grid>div:not(:first-child){border-left:1px solid rgba(255,255,255,.08);padding-left:28px}
.footer-grid>div{min-width:0;overflow-wrap:anywhere}
.footer-grid h3{font-size:14px;margin:0 0 14px}
.footer-grid a,.footer-grid p{font-size:11px;color:#d5ddd9;margin:7px 0;display:block}
.footer-grid a:hover{color:#f0c17e}
.footer-brand p{max-width:230px;line-height:1.6}
.brand--footer{margin-bottom:16px}
.footer-socials{display:flex;gap:8px}
.footer-socials a{width:27px;height:27px;border:1px solid rgba(255,255,255,.12);border-radius:50%;display:grid;place-items:center}
.footer-grid .geo{color:#f0c17e}
.footer-grid .copyright{margin-top:26px;color:#8e9a95}

/* Кнопка наверх. */
.to-top{position:fixed;right:24px;bottom:24px;width:42px;height:42px;border-radius:50%;border:1px solid #d49a4b;background:#fff;color:#9b6426;box-shadow:var(--shadow);cursor:pointer;opacity:0;pointer-events:none;transition:.2s}
.to-top.visible{opacity:1;pointer-events:auto}

/* Базовые адаптивные правила. */
@media(max-width:1120px){
  .nav{display:none}
  .menu-btn{display:block;margin-left:auto}
  .topbar__actions{margin-left:auto}
  .hero h1{font-size:44px}
  .cards--situations{grid-template-columns:repeat(2,minmax(0,1fr))}
  .process-grid{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:22px}
  .process-grid:before{display:none}
  .docs-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-grid>div:nth-child(3){border-left:0;padding-left:0}
  .reviews-wrap{grid-template-columns:300px minmax(0,1fr)}
  .contact-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,.8fr)}
  .justice-watermark{display:none}
}
@media(max-width:760px){
  .container{width:min(calc(100% - 28px),620px)}
  .topbar__inner{height:68px}
  .topbar__actions .social{display:none}
  .topbar__actions .btn{display:none}
  .hero__inner{grid-template-columns:1fr;min-height:auto}
  .hero__content{padding:54px 0 32px}
  .hero h1{font-size:39px}
  .hero__visual{min-height:420px;margin:0 -14px}
  .hero__visual img{right:50%;transform:translateX(50%);height:102%;object-position:center bottom}
  .hero__buttons{flex-direction:column}
  .hero__buttons .btn{width:100%;min-width:0}
  .trustbar__inner{grid-template-columns:repeat(2,minmax(0,1fr))}
  .trustbar__inner div{justify-content:flex-start;border-bottom:1px solid rgba(255,255,255,.06)}
  .section{padding:54px 0}
  .section-title h2{font-size:28px}
  .cards--situations{grid-template-columns:1fr}
  .process-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pricing-grid{grid-template-columns:1fr}
  .full-service{flex-direction:column;align-items:stretch}
  .docs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .reviews-wrap{grid-template-columns:1fr}
  .review-carousel{grid-template-columns:28px minmax(0,1fr) 28px}
  .review-track{grid-auto-columns:100%}
  .contact-grid{grid-template-columns:1fr}
  .field-row{grid-template-columns:1fr}
  .lead-form .field-row label{border-radius:7px!important}
  .textarea{margin-top:8px;border-top:1px solid #ddd3c5!important}
  .form-bottom{flex-direction:column;align-items:stretch}
  .faq-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .footer-grid>div:not(:first-child){border-left:0;padding-left:0;border-top:1px solid rgba(255,255,255,.08);padding-top:22px}
  .hero:before{left:50%;font-size:330px}
  .rating-card{right:7%;bottom:8%;width:165px}
  .reviews-copy h2{font-size:26px}
}
@media(max-width:460px){
  .brand__copy b{font-size:12px}
  .brand__mark{font-size:30px}
  .hero h1{font-size:34px}
  .hero__content{padding-top:42px}
  .hero__visual{min-height:360px}
  .section-title h2{font-size:25px}
  .process-grid,.docs-grid{grid-template-columns:1fr}
  .trustbar__inner{grid-template-columns:1fr}
  .contact-card{padding:18px}
}

/* Hero offer emphasis */
.hero__subtitle--offer {
  max-width: 650px;
  margin-top: 18px;
  font-size: clamp(18px, 1.8vw, 27px);
  line-height: 1.35;
  font-weight: 650;
  color: #f7f4ee;
}

/* Hero background — uploaded legal office scene */
.hero{
  background:
    linear-gradient(90deg,rgba(7,22,21,.96) 0%,rgba(7,22,21,.78) 34%,rgba(7,22,21,.27) 66%,rgba(7,22,21,.12) 100%),
    url('/assets/images/hero-office-bg-20260915.webp') center center/cover no-repeat;
}
.hero:before{display:none}
.hero__glow{
  background:
    linear-gradient(90deg,rgba(6,20,19,.16),transparent 46%),
    radial-gradient(circle at 70% 34%,rgba(214,164,92,.10),transparent 28%);
  pointer-events:none;
}
.hero__inner{min-height:565px}
.hero__content{position:relative;z-index:4;text-shadow:0 2px 18px rgba(0,0,0,.24)}
.hero__visual{min-height:565px;overflow:visible}
.hero__visual:before{display:none}
.hero__visual:after{
  left:6%;right:-12%;bottom:0;height:13%;
  background:radial-gradient(ellipse at 58% 100%,rgba(0,0,0,.38),transparent 68%);
  filter:blur(12px)
}
.hero__visual img{
  right:1.2%;
  bottom:0;
  height:98%;
  filter:saturate(.94) contrast(1.04) brightness(.99) drop-shadow(-16px 18px 30px rgba(0,0,0,.28));
}
.rating-card{right:4.5%;bottom:12%}
.trustbar{background:rgba(5,21,20,.86);backdrop-filter:blur(8px)}
@media (max-width:1120px){
  .hero{background-position:58% center}
}
@media (max-width:760px){
  .hero{
    background:
      linear-gradient(180deg,rgba(7,22,21,.96) 0%,rgba(7,22,21,.84) 44%,rgba(7,22,21,.35) 67%,rgba(7,22,21,.18) 100%),
      url('/assets/images/hero-office-bg-20260915.webp') 63% center/cover no-repeat;
  }
  .hero__inner{min-height:auto}
  .hero__visual{min-height:430px}
  .hero__visual img{height:98%;right:50%;transform:translateX(50%)}
}


/* Premium trustbar icons */
.trustbar__inner .trust-item{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:13px;
  min-height:78px;
  padding:0 22px;
  color:#f3f5f2;
  font-size:12px;
  font-weight:600;
  letter-spacing:.01em;
}
.trustbar__inner .trust-item + .trust-item{
  border-left:1px solid rgba(255,255,255,.08);
}
.trust-icon{
  width:32px;
  height:32px;
  flex:0 0 32px;
  display:grid;
  place-items:center;
  border:1px solid rgba(215,160,77,.22);
  border-radius:9px;
  background:linear-gradient(145deg,rgba(217,163,79,.09),rgba(217,163,79,.015));
  box-shadow:inset 0 1px rgba(255,255,255,.025);
}
.trust-icon svg{
  width:20px;
  height:20px;
  stroke:#d9a34f;
  stroke-width:1.55;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.trust-icon--map{
  width:40px;
  flex-basis:40px;
  border-radius:10px;
}
.trust-icon--map svg{width:27px;height:21px;stroke-width:1.35}
.trust-label{white-space:nowrap}
@media (max-width:760px){
  .trustbar__inner .trust-item{
    justify-content:flex-start;
    min-height:70px;
    padding:0 14px;
  }
  .trustbar__inner .trust-item + .trust-item{border-left:0}
  .trust-label{white-space:normal}
}
@media (max-width:460px){
  .trustbar__inner .trust-item{min-height:64px}
}


/* Refined glass trustbar — larger premium icons */
.trustbar{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 12% 50%,rgba(220,171,86,.07),transparent 23%),
    radial-gradient(circle at 88% 50%,rgba(220,171,86,.045),transparent 24%),
    linear-gradient(90deg,rgba(5,22,20,.97) 0%,rgba(7,27,24,.94) 46%,rgba(6,23,21,.97) 100%);
  border-top:1px solid rgba(239,197,118,.08);
  box-shadow:inset 0 1px rgba(255,255,255,.018),0 -12px 34px rgba(0,0,0,.08);
  -webkit-backdrop-filter:blur(14px) saturate(115%);
  backdrop-filter:blur(14px) saturate(115%);
}
.trustbar::before{
  content:"";
  position:absolute;
  z-index:0;
  inset:0 8% auto;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(231,186,104,.28) 34%,rgba(255,239,206,.18) 50%,rgba(231,186,104,.28) 66%,transparent);
  opacity:.72;
}
.trustbar__inner{position:relative;z-index:1;min-height:96px}
.trustbar__inner .trust-item{
  position:relative;
  isolation:isolate;
  min-width:0;
  gap:18px;
  min-height:96px;
  padding:0 26px;
  color:#f5f3ed;
  font-size:14px;
  font-weight:600;
  letter-spacing:.005em;
  transition:background .35s ease,transform .35s ease;
}
.trustbar__inner .trust-item::before{
  content:"";
  position:absolute;
  z-index:-1;
  left:8%;
  top:15%;
  width:66%;
  height:70%;
  border-radius:999px;
  background:radial-gradient(ellipse at 24% 50%,rgba(230,181,95,.085) 0%,rgba(181,208,194,.035) 37%,transparent 72%);
  filter:blur(10px);
  opacity:.9;
  transition:opacity .35s ease,transform .35s ease;
  pointer-events:none;
}
.trustbar__inner .trust-item + .trust-item{
  border-left:1px solid rgba(255,255,255,.075);
}
.trust-icon{
  position:relative;
  width:50px;
  height:50px;
  flex:0 0 50px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid rgba(238,199,126,.24);
  border-radius:15px;
  background:
    radial-gradient(circle at 27% 18%,rgba(255,255,255,.16),transparent 34%),
    linear-gradient(145deg,rgba(255,255,255,.075) 0%,rgba(255,255,255,.018) 48%,rgba(211,158,70,.055) 100%);
  -webkit-backdrop-filter:blur(16px) saturate(145%);
  backdrop-filter:blur(16px) saturate(145%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.15),
    inset 0 -1px 0 rgba(224,174,85,.08),
    0 10px 28px rgba(0,0,0,.18),
    0 0 0 1px rgba(255,255,255,.012),
    0 0 26px rgba(218,166,77,.055);
  transition:transform .35s ease,border-color .35s ease,box-shadow .35s ease,background .35s ease;
}
.trust-icon::after{
  content:"";
  position:absolute;
  width:72%;
  height:34%;
  left:7%;
  top:3%;
  border-radius:999px;
  background:linear-gradient(100deg,rgba(255,255,255,.17),rgba(255,255,255,0));
  transform:rotate(-11deg);
  opacity:.55;
  pointer-events:none;
}
.trust-icon svg{
  position:relative;
  z-index:1;
  width:27px;
  height:27px;
  stroke:#e4b15e;
  stroke-width:1.5;
  filter:drop-shadow(0 1px 7px rgba(225,172,82,.18));
}
.trust-icon--map{
  width:60px;
  flex-basis:60px;
  border-radius:16px;
}
.trust-icon--map svg{width:39px;height:29px;stroke-width:1.25}
.trust-label{
  position:relative;
  z-index:1;
  color:#f0ede6!important;
  font-size:15px!important;
  font-weight:600;
  line-height:1.3;
  text-shadow:0 1px 14px rgba(0,0,0,.22);
  transition:color .35s ease,text-shadow .35s ease;
}
.trustbar__inner .trust-label{
  min-width:0;
  max-width:100%;
  white-space:normal;
  overflow-wrap:anywhere;
}
@media (hover:hover){
  .trustbar__inner .trust-item:hover::before{opacity:1;transform:scale(1.05)}
  .trustbar__inner .trust-item:hover .trust-icon{
    transform:translateY(-2px);
    border-color:rgba(240,197,116,.38);
    background:
      radial-gradient(circle at 27% 18%,rgba(255,255,255,.19),transparent 34%),
      linear-gradient(145deg,rgba(255,255,255,.09) 0%,rgba(255,255,255,.025) 48%,rgba(211,158,70,.08) 100%);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 13px 32px rgba(0,0,0,.22),0 0 30px rgba(218,166,77,.09);
  }
  .trustbar__inner .trust-item:hover .trust-label{color:#fffaf0!important;text-shadow:0 0 18px rgba(225,177,92,.08)}
}
@media (max-width:760px){
  .trustbar__inner{min-height:auto}
  .trustbar__inner .trust-item{
    min-height:84px;
    gap:14px;
    padding:0 16px;
  }
  .trust-icon{width:46px;height:46px;flex-basis:46px;border-radius:14px}
  .trust-icon svg{width:25px;height:25px}
  .trust-icon--map{width:54px;flex-basis:54px}
  .trust-icon--map svg{width:35px;height:27px}
  .trust-label{font-size:14px!important}
}
@media (max-width:460px){
  .trustbar__inner .trust-item{min-height:78px;padding:0 14px}
}

/* =========================================================
   REFERENCE HERO REBUILD — first screen only
   Visual target: supplied premium military-law reference.
   Existing page sections/content remain unchanged.
   ========================================================= */

/* Header: floating green glass, compact and sticky */
.topbar{
  position:sticky;
  top:0;
  z-index:80;
  padding:14px 0 0;
  margin-bottom:-82px;
  background:transparent;
  border:0;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
.topbar .container{width:min(1492px,calc(100% - 72px));}
.topbar__inner{
  height:62px;
  padding:0 20px 0 20px;
  gap:22px;
  border:1px solid rgba(231,183,102,.32);
  border-radius:17px;
  background:
    linear-gradient(180deg,rgba(18,45,40,.72),rgba(5,25,23,.68)),
    radial-gradient(circle at 14% 0%,rgba(255,255,255,.07),transparent 35%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 16px 42px rgba(0,0,0,.16);
  -webkit-backdrop-filter:blur(18px) saturate(132%);
  backdrop-filter:blur(18px) saturate(132%);
}
.brand{min-width:226px;gap:11px;}
.brand__mark{
  width:34px;
  height:40px;
  flex:0 0 34px;
  display:grid;
  place-items:center;
  color:#e5b263;
}
.brand__mark svg{width:30px;height:36px;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round;}
.brand__copy b{font-family:Georgia,"Times New Roman",serif;font-size:14px;letter-spacing:.035em;color:#efbf73;}
.brand__copy small{font-size:8px;color:rgba(238,243,239,.68);margin-top:2px;letter-spacing:.04em;}
.nav{gap:30px;margin-left:auto;}
.nav a{font-size:12px;font-weight:500;color:rgba(249,250,248,.92);text-shadow:0 1px 8px rgba(0,0,0,.22);}
.nav a:hover{color:#f0be72;}
.topbar__actions{gap:8px;margin-left:14px;}
.social{
  width:28px;height:28px;
  border-color:rgba(213,227,218,.22);
  background:rgba(4,19,18,.20);
  color:rgba(235,239,236,.72);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
}
.topbar__actions .btn--small{
  min-width:140px;
  min-height:38px;
  padding:9px 18px;
  border-radius:10px;
  font-size:12px;
  background:linear-gradient(180deg,#f5c77d 0%,#dea555 100%);
  box-shadow:0 7px 20px rgba(213,154,74,.22),inset 0 1px rgba(255,255,255,.35);
}
.menu-btn{width:38px;height:38px;border:1px solid rgba(236,191,117,.25);border-radius:10px;background:rgba(5,23,21,.56);font-size:20px;}

/* Hero canvas */
.hero{
  position:relative;
  min-height:900px;
  padding-top:82px;
  overflow:hidden;
  color:#fff;
  background:
    linear-gradient(90deg,rgba(3,20,19,.92) 0%,rgba(5,23,21,.78) 27%,rgba(8,21,20,.36) 57%,rgba(6,18,18,.10) 100%),
    linear-gradient(180deg,rgba(3,18,17,.05) 0%,rgba(3,18,17,.02) 70%,rgba(3,18,17,.28) 100%),
    url('/assets/images/hero-office-bg-20260915.webp') center center/cover no-repeat;
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:1;
  background:
    radial-gradient(circle at 34% 40%,rgba(228,178,104,.05),transparent 29%),
    radial-gradient(circle at 77% 40%,rgba(240,192,113,.10),transparent 23%),
    linear-gradient(90deg,rgba(3,22,20,.16),transparent 58%);
}
.hero__glow{z-index:1;opacity:.55;background:radial-gradient(circle at 69% 44%,rgba(228,177,94,.11),transparent 27%);}
.hero>.container{width:min(1240px,calc(100% - 72px));}
.hero__inner{
  z-index:3;
  min-width:0;
  min-height:715px;
  display:grid;
  grid-template-columns:minmax(0,52fr) minmax(0,48fr);
  align-items:stretch;
}
.hero__content{
  position:relative;
  z-index:6;
  align-self:center;
  min-width:0;
  max-width:790px;
  padding:72px 20px 120px 72px;
  text-shadow:0 2px 18px rgba(0,0,0,.30);
}
.eyebrow{
  margin:0 0 18px;
  font-size:11px;
  font-weight:700;
  line-height:1.3;
  letter-spacing:.18em;
  color:rgba(236,241,237,.84);
}
.hero h1{
  margin:0 0 22px;
  width:760px;
  max-width:none;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(48px,4.35vw,70px);
  font-weight:700;
  line-height:.98;
  letter-spacing:-.035em;
  color:#f6f7f3;
}
.hero h1 span{
  display:block;
  color:#e8b35f;
  text-shadow:0 2px 24px rgba(212,152,68,.12);
}

@media(min-width:1181px){
  .hero h1 span{
    white-space:nowrap;
  }
}
.hero__subtitle--offer{
  max-width:690px;
  margin:0 0 20px;
  font-size:clamp(20px,1.62vw,28px);
  line-height:1.32;
  font-weight:600;
  color:#f6f6f2;
}
.hero__text{
  max-width:545px;
  margin:0 0 30px;
  font-size:15px;
  line-height:1.68;
  color:rgba(239,243,240,.88);
}
.hero__buttons{
  display:flex;
  flex-wrap:wrap;
  min-width:0;
  gap:16px;
  align-items:stretch;
}
.hero__buttons .btn{
  min-width:0;
  max-width:100%;
  flex-shrink:0;
}
.hero-cta{
  position:relative;
  min-height:76px;
  border-radius:11px;
  padding:13px 24px;
  flex-direction:row!important;
  gap:13px!important;
}
.hero-cta__icon{width:29px;height:34px;display:grid;place-items:center;flex:0 0 29px;}
.hero-cta__icon svg{width:27px;height:31px;stroke:#3b2917;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round;}
.hero-cta__copy{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  min-width:0;
  line-height:1.15;
  overflow-wrap:anywhere;
}
.hero-cta__copy b{font-size:14px;white-space:normal;}
.hero-cta__copy small{margin-top:5px;font-size:10px;opacity:.78;white-space:normal;}
.hero-cta--primary{width:272px;justify-content:flex-start;}
.hero-cta--secondary{width:246px;justify-content:center;padding-left:26px;padding-right:20px;}
.hero-cta--secondary .hero-cta__copy{align-items:center;}
.hero-cta__arrow{flex:0 0 auto;font-size:18px;color:#dca85b;margin-left:2px;}

/* Lawyer: preserve original cutout and give both shoulders enough visual room */
.hero__visual{
  position:relative;
  min-height:715px;
  overflow:visible;
  isolation:isolate;
}
.hero__visual::before{display:none!important;}
.hero__visual::after{
  content:"";
  position:absolute;
  z-index:1;
  left:2%;right:-10%;bottom:7%;height:13%;
  background:radial-gradient(ellipse at 56% 100%,rgba(0,0,0,.35),transparent 68%);
  filter:blur(13px);
  pointer-events:none;
}
.hero__visual img{
  position:absolute;
  z-index:2;
  right:-2.5%;
  bottom:6px;
  height:91%;
  width:auto;
  max-width:none;
  object-fit:contain;
  object-position:right bottom;
  transform:none;
  filter:saturate(.94) contrast(1.035) brightness(.985) drop-shadow(-16px 18px 28px rgba(0,0,0,.26));
}
.rating-card{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  column-gap:8px;
  row-gap:0;
  min-width:min-content;
  max-width:100%;
  z-index:5;
  right:2.6%;
  bottom:17%;
  width:205px;
  padding:18px 20px;
  border-radius:11px;
  background:rgba(255,255,255,.97);
  box-shadow:0 18px 42px rgba(0,0,0,.18);
}
.rating-card strong{flex:0 0 auto;font-size:23px;}
.rating-card .stars{flex:0 0 auto;font-size:13px;letter-spacing:1.5px;white-space:nowrap;}
.rating-card small{
  display:block;
  flex:0 0 100%;
  min-width:0;
  max-width:100%;
  font-size:10px;
  line-height:1.42;
  color:#6b6760;
  overflow-wrap:anywhere;
}

/* Floating premium trust bar */
.trustbar{
  position:absolute;
  z-index:10;
  left:0;right:0;bottom:22px;
  overflow:visible;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
.trustbar::before{display:none!important;}
.trustbar .container{width:min(1240px,calc(100% - 72px));}
.trustbar__inner{
  min-height:98px!important;
  padding:0 20px;
  border:1px solid rgba(231,183,102,.34);
  border-radius:17px;
  background:
    linear-gradient(180deg,rgba(15,43,38,.80),rgba(4,24,22,.83)),
    radial-gradient(circle at 50% 0%,rgba(255,255,255,.06),transparent 40%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.07),
    0 18px 46px rgba(0,0,0,.20);
  -webkit-backdrop-filter:blur(18px) saturate(132%);
  backdrop-filter:blur(18px) saturate(132%);
}
.trustbar__inner .trust-item{
  min-height:78px!important;
  padding:0 22px!important;
  gap:17px!important;
  font-size:13px!important;
  font-weight:600!important;
  justify-content:center!important;
  color:#f6f6f1!important;
  background:transparent!important;
}
.trustbar__inner .trust-item::before{display:none!important;}
.trustbar__inner .trust-item + .trust-item{border-left:1px solid rgba(225,239,231,.11)!important;}
.trust-icon{
  width:48px!important;height:48px!important;flex:0 0 48px!important;
  border-radius:14px!important;
  border:1px solid rgba(232,187,110,.30)!important;
  background:
    radial-gradient(circle at 30% 18%,rgba(255,255,255,.15),transparent 31%),
    linear-gradient(145deg,rgba(255,255,255,.07),rgba(219,165,78,.035))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.11),0 8px 24px rgba(0,0,0,.14)!important;
  -webkit-backdrop-filter:blur(12px) saturate(130%);
  backdrop-filter:blur(12px) saturate(130%);
}
.trust-icon::after{opacity:.42!important;}
.trust-icon svg{width:26px!important;height:26px!important;stroke:#e5b25d!important;stroke-width:1.55!important;}
.trust-icon--map{width:52px!important;flex-basis:52px!important;}
.trust-icon--map svg{width:31px!important;height:24px!important;}
.trust-label{white-space:nowrap;color:#f5f5f0!important;}

/* Large desktop refinement */
@media(min-width:1500px){
  .hero{min-height:920px;}
  .hero__inner{min-height:735px;}
  .hero__visual{min-height:735px;}
  .hero__visual img{height:92%;right:-1%;}
}

/* Tablet */
@media(max-width:1180px){
  .topbar .container,.trustbar .container{width:min(100% - 34px,1080px);}
  .topbar__inner{padding:0 14px;gap:14px;}
  .brand{min-width:auto;}
  .nav{display:none;}
  .topbar__actions{margin-left:auto;}
  .menu-btn{display:grid;place-items:center;margin-left:4px;}
  .hero{min-height:840px;background-position:57% center;}
  .hero>.container{width:min(100% - 44px,1040px);}
  .hero__inner{grid-template-columns:55% 45%;min-height:655px;}
  .hero__content{padding:76px 8px 120px 32px;}
  .hero h1{font-size:52px;width:auto;max-width:650px;}
  .hero__subtitle--offer{font-size:22px;}
  .hero__visual{min-height:655px;}
  .hero__visual img{height:84%;right:-8%;}
  .rating-card{right:-1%;bottom:18%;}
  .trustbar__inner{grid-template-columns:repeat(4,1fr);padding:0 8px;}
  .trustbar__inner .trust-item{padding:0 12px!important;font-size:12px!important;gap:12px!important;}
  .trust-icon{width:44px!important;height:44px!important;flex-basis:44px!important;}
}

/* Mobile: preserve all content and controls */
@media(max-width:760px){
  .topbar{padding-top:8px;margin-bottom:-72px;}
  .topbar .container{width:calc(100% - 20px);}
  .topbar__inner{height:58px;border-radius:14px;padding:0 11px;}
  .brand__mark{width:30px;height:34px;flex-basis:30px;}
  .brand__mark svg{width:26px;height:31px;}
  .brand__copy b{font-size:11px;}
  .brand__copy small{font-size:7px;}
  .topbar__actions .social,.topbar__actions .btn{display:none;}
  .menu-btn{width:34px;height:34px;}
  .hero{
    min-height:auto;
    padding-top:72px;
    padding-bottom:0;
    background:
      linear-gradient(180deg,rgba(4,21,20,.92) 0%,rgba(5,23,21,.88) 38%,rgba(6,20,19,.42) 63%,rgba(5,19,18,.20) 100%),
      url('/assets/images/hero-office-bg-20260915.webp') 61% center/cover no-repeat;
  }
  .hero>.container{width:calc(100% - 28px);}
  .hero__inner{display:block;min-height:auto;}
  .hero__content{padding:74px 0 24px;max-width:none;}
  .eyebrow{font-size:9px;letter-spacing:.14em;margin-bottom:14px;}
  .hero h1{font-size:clamp(38px,10vw,50px);line-height:1.00;margin-bottom:18px;width:auto;max-width:none;}
  .hero__subtitle--offer{font-size:19px;line-height:1.35;margin-bottom:16px;}
  .hero__text{font-size:14px;line-height:1.6;margin-bottom:22px;}
  .hero__buttons{flex-direction:column;gap:10px;}
  .hero-cta,.hero-cta--primary,.hero-cta--secondary{width:100%;min-height:66px;}
  .hero-cta--secondary .hero-cta__copy{align-items:flex-start;}
  .hero__visual{min-height:430px;margin:0 -8px;}
  .hero__visual img{height:91%;right:50%;transform:translateX(52%);bottom:0;}
  .rating-card{width:174px;right:4%;bottom:10%;padding:14px 15px;}
  .trustbar{position:relative;bottom:auto;padding:0 0 14px;margin-top:-8px;}
  .trustbar .container{width:calc(100% - 20px);}
  .trustbar__inner{grid-template-columns:1fr 1fr;min-height:0!important;padding:6px!important;border-radius:14px;}
  .trustbar__inner .trust-item{min-height:70px!important;justify-content:flex-start!important;padding:8px 11px!important;font-size:11px!important;}
  .trustbar__inner .trust-item + .trust-item{border-left:0!important;}
  .trustbar__inner .trust-item:nth-child(even){border-left:1px solid rgba(225,239,231,.09)!important;}
  .trustbar__inner .trust-item:nth-child(n+3){border-top:1px solid rgba(225,239,231,.09)!important;}
  .trust-icon{width:40px!important;height:40px!important;flex-basis:40px!important;border-radius:12px!important;}
  .trust-icon svg{width:23px!important;height:23px!important;}
  .trust-label{white-space:normal;}
}
@media(max-width:460px){
  .brand__copy small{display:none;}
  .hero__content{padding-top:66px;}
  .hero h1{font-size:37px;}
  .hero__subtitle--offer{font-size:17px;}
  .hero__visual{min-height:385px;}
  .hero__visual img{height:88%;transform:translateX(52%);}
  .rating-card{right:1%;bottom:9%;width:160px;}
  .rating-card strong{font-size:20px;}
  .trustbar__inner{grid-template-columns:1fr;}
  .trustbar__inner .trust-item:nth-child(even){border-left:0!important;}
  .trustbar__inner .trust-item:nth-child(n+2){border-top:1px solid rgba(225,239,231,.09)!important;}
}

/* ==========================================================================
   Reference second block — isolated responsive styles
   ========================================================================== */
.ref-org{position:relative;isolation:isolate;min-width:0;background:#fff url('/assets/ref-org/org-bg.jpg') top center/auto 883px no-repeat;color:#262f36;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;overflow:hidden}
.ref-org,.ref-org *{box-sizing:border-box}
.ref-org__container{width:min(1140px,calc(100% - 32px));min-width:0;margin:0 auto;padding:100px 0}
.ref-org__heading{min-width:0;text-align:center;margin:0 auto}
.ref-org__heading h2{max-width:960px;margin:0 auto 5px;font:700 40px/1.2 'RefCera',Arial,sans-serif;letter-spacing:0;color:#262f36;overflow-wrap:anywhere}
.ref-org__heading h2 span{color:#de1226}
.ref-org__heading p{margin:15px auto 0;max-width:980px;color:#58656f;font:400 22px/1.35 'RefCera',Arial,sans-serif;overflow-wrap:anywhere}
.ref-org__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));min-width:0;margin-top:50px}
.ref-org__card{position:relative;min-width:0;min-height:340px;padding:60px 20px 90px;display:flex;flex-direction:column;align-items:center;text-align:center;overflow:hidden;overflow-wrap:anywhere;border:1px solid #fff;background:url('/assets/ref-org/org1-bg.jpg') top center/cover no-repeat;color:#fff}
.ref-org__card--tl{border-radius:25px 0 0 0}
.ref-org__card--tr{border-radius:0 25px 0 0}
.ref-org__card--bl{border-radius:0 0 0 25px}
.ref-org__card--br{border-radius:0 0 25px 0}
.ref-org__hover{position:absolute;width:0;height:0;inset:-100px;margin:auto;border-radius:50%;background:rgba(222,18,38,.7);z-index:0;transition:width .5s ease,height .5s ease}
.ref-org__card:focus-within .ref-org__hover{width:550px;height:550px}
.ref-org__icon{position:relative;z-index:1;width:80px;height:80px;max-width:100%;object-fit:contain;margin:0 0 20px}
.ref-org__icon--wide{width:auto;max-width:109px}
.ref-org__card h3{position:relative;z-index:1;max-width:100%;margin:0;color:#fff;font:400 30px/1.18 'RefCera',Arial,sans-serif;text-wrap:balance;overflow-wrap:anywhere}
.ref-org__actions{position:absolute;z-index:2;left:20px;right:20px;bottom:10px;display:flex;min-width:0;align-items:center;justify-content:center;gap:10px}
.ref-org__actions button{min-width:0;max-width:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;cursor:pointer}
.ref-org__more{appearance:none;border:0;background:transparent;color:#fff;padding:10px 5px;font-size:15px;line-height:1.15;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-align:center;white-space:normal}
.ref-org__more img{width:21px;height:21px;flex:0 0 21px;margin:0;filter:brightness(0) invert(1);transition:transform .2s ease}
.ref-org__consult{appearance:none;border:1px solid #fff;border-radius:7px;background:transparent;color:#fff;padding:10px 13px;font-size:15px;line-height:1.1;text-align:center;white-space:normal;transition:background .25s ease,color .25s ease,transform .25s ease}
.ref-org__more:focus-visible,.ref-org__consult:focus-visible{outline:3px solid rgba(255,255,255,.42);outline-offset:3px}
@media(hover:hover) and (pointer:fine){
  .ref-org__card:hover .ref-org__hover{width:550px;height:550px}
  .ref-org__more:hover img{transform:translateX(4px)}
  .ref-org__consult:hover{background:#fff;color:#000;transform:translateY(-1px)}
}
@media(max-width:991px){
  .ref-org__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ref-org__card--tr{border-radius:0}
  .ref-org__card--t2{border-radius:0 25px 0 0}
  .ref-org__card--bl{border-radius:0}
  .ref-org__card--b2{border-radius:0 0 0 25px}
  .ref-org__card h3{font-size:27px}
}
@media(max-width:767px){
  .ref-org__container{padding-top:76px;padding-bottom:76px}
  .ref-org__heading h2{font-size:33px;line-height:1.1}
  .ref-org__heading p{font-size:18px}
  .ref-org__card{padding:50px 20px 112px}
  .ref-org__actions{flex-direction:column;gap:4px}
  .ref-org__consult{width:100%;max-width:230px}
}
@media(max-width:575px){
  .ref-org__container{width:min(100% - 24px,540px);padding:60px 0}
  .ref-org__grid{grid-template-columns:1fr;margin-top:36px;gap:1px}
  .ref-org__card{border-radius:0!important;min-height:315px;padding-left:16px;padding-right:16px}
  .ref-org__card:first-child{border-radius:25px 25px 0 0!important}
  .ref-org__card:last-child{border-radius:0 0 25px 25px!important}
  .ref-org__heading h2{font-size:30px}
  .ref-org__heading p{font-size:17px}
  .ref-org__actions{left:16px;right:16px}
}

/* Isolated modal implementation for transferred block */
.ref-modal{position:fixed;inset:0;z-index:1200;display:none;align-items:center;justify-content:center;padding:24px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif}
.ref-modal.is-open{display:flex}
.ref-modal__backdrop{position:absolute;inset:0;background:rgba(5,13,15,.72);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}
.ref-modal__dialog{position:relative;min-width:0;width:min(880px,100%);max-height:min(760px,calc(100vh - 48px));max-height:min(760px,calc(100dvh - 48px));overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#fff;border-radius:20px;box-shadow:0 28px 90px rgba(0,0,0,.36);animation:refModalIn .22s ease both}
.ref-modal__dialog--form{width:min(520px,100%)}
.ref-modal__header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 30px;background:#495660;border-radius:20px 20px 0 0;color:#fff}
.ref-modal__header h2{min-width:0;margin:0;font:500 26px/1.2 'RefCera',Arial,sans-serif;overflow-wrap:anywhere}
.ref-modal__close{flex:0 0 auto;border:0;background:transparent;color:#fff;font-size:32px;line-height:1;cursor:pointer;padding:3px;min-width:40px;min-height:40px}
.ref-modal__close:focus-visible{outline:3px solid rgba(255,255,255,.48);outline-offset:2px;border-radius:8px}
.ref-modal__body{min-width:0;padding:24px 30px 30px}
.ref-modal__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;list-style:none;padding:0;margin:0}
.ref-modal__list li{display:grid;grid-template-columns:24px minmax(0,1fr);gap:10px;align-items:start;min-width:0;padding:9px 0;color:#262f36;font:700 16px/1.35 'RefCera',Arial,sans-serif;overflow-wrap:anywhere}
.ref-modal__list img{width:18px;height:18px;object-fit:contain;filter:grayscale(1);opacity:.72;margin-top:2px}
.ref-modal__form{min-width:0;padding:26px 30px 30px}
.ref-modal__form label{display:block;min-width:0;margin:0 0 12px}
.ref-modal__form label span{display:block;font-size:12px;color:#67737c;margin-bottom:5px;overflow-wrap:anywhere}
.ref-modal__form input{display:block;width:100%;min-width:0;max-width:100%;height:48px;border:1px solid #d9dee1;border-radius:8px;padding:0 14px;font:400 16px 'RefCera',Arial,sans-serif;outline:none}
.ref-modal__form input:focus{border-color:#9b6d39;box-shadow:0 0 0 3px rgba(155,109,57,.1)}
.ref-modal__form button{width:100%;min-width:0;border:0;border-radius:8px;background:#343e45;color:#fff;padding:16px;font:500 15px 'RefCera',Arial,sans-serif;white-space:normal;cursor:pointer;transition:background .2s}
.ref-modal__form button:focus-visible{outline:3px solid rgba(155,109,57,.24);outline-offset:3px}
.ref-modal__privacy{margin:10px 0 0;text-align:center;color:#94a3af;font-size:11px;line-height:1.35;overflow-wrap:anywhere}
.ref-modal__status{min-height:18px;margin:10px 0 0;text-align:center;color:#166534;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.ref-modal-open{overflow:hidden}
@keyframes refModalIn{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:650px){
  .ref-modal{align-items:flex-start;overflow-y:auto;padding:max(14px,env(safe-area-inset-top)) 14px max(14px,env(safe-area-inset-bottom))}
  .ref-modal__dialog{width:100%;max-height:calc(100vh - 28px);max-height:calc(100dvh - 28px);border-radius:16px}
  .ref-modal__header{padding:18px 20px}
  .ref-modal__header h2{font-size:21px}
  .ref-modal__body,.ref-modal__form{padding:20px}
  .ref-modal__list{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  .ref-org__hover,.ref-org__more img,.ref-org__consult,.ref-modal__dialog,.ref-modal__form button{transition:none!important;animation:none!important}
}


/* ==========================================================
   Reference second block v2 — responsive xref-* styles
   ========================================================== */
.xref-situations{
  --xref-bg:#070604;
  --xref-gold:#d8b46a;
  --xref-gold-light:#f3d98f;
  --xref-gold-dark:#9d7431;
  --xref-text:#f7f0e1;
  --xref-ease:cubic-bezier(.19,1,.22,1);
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-width:0;
  padding:78px 0;
  color:var(--xref-text);
  background:
    radial-gradient(circle at 50% -12%,rgba(216,180,106,.12),transparent 34rem),
    radial-gradient(circle at 8% 20%,rgba(216,180,106,.055),transparent 26rem),
    linear-gradient(135deg,#050402 0%,#080705 45%,#110e09 100%);
}
.xref-situations::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  opacity:.16;
  background-image:
    linear-gradient(rgba(216,180,106,.055) 1px,transparent 1px),
    linear-gradient(90deg,rgba(216,180,106,.055) 1px,transparent 1px);
  background-size:76px 76px;
  -webkit-mask-image:radial-gradient(circle at top,#000 0%,transparent 82%);
  mask-image:radial-gradient(circle at top,#000 0%,transparent 82%);
}
.xref-situations::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:radial-gradient(circle at center,transparent 0%,rgba(0,0,0,.42) 100%);
}
.xref-situations,
.xref-situations *{box-sizing:border-box}
.xref-container{
  position:relative;
  z-index:2;
  width:min(1180px,calc(100% - 40px));
  min-width:0;
  margin:0 auto;
}
.xref-section-head{
  max-width:980px;
  min-width:0;
  margin:0 auto 30px;
  text-align:center;
}
.xref-section-head h2{
  display:block;
  max-width:100%;
  margin:0 0 10px;
  font-family:Georgia,'Times New Roman',serif;
  font-size:clamp(32px,3.2vw,50px);
  line-height:1.05;
  font-weight:500;
  text-transform:uppercase;
  letter-spacing:.025em;
  color:var(--xref-gold-light);
  text-shadow:0 1px 0 rgba(70,50,16,.55),0 0 18px rgba(216,180,106,.08);
  overflow-wrap:anywhere;
}
.xref-section-head p{
  max-width:780px;
  margin:0 auto;
  color:rgba(247,240,225,.64);
  font-size:15px;
  line-height:1.58;
  overflow-wrap:anywhere;
}
.xref-pain-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  align-items:stretch;
  min-width:0;
}
.xref-pain-card{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-width:0;
  min-height:306px;
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  padding:24px 22px 20px;
  border-radius:24px;
  border:1px solid rgba(216,180,106,.22);
  background:
    radial-gradient(circle at 8% 0%,rgba(216,180,106,.12),transparent 32%),
    radial-gradient(circle at 100% 0%,rgba(216,180,106,.055),transparent 30%),
    linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
  box-shadow:0 22px 58px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.035);
  transition:transform .32s var(--xref-ease),border-color .25s ease,background .25s ease,box-shadow .25s ease;
}
.xref-pain-card::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    linear-gradient(180deg,rgba(255,255,255,.025),rgba(0,0,0,.10)),
    radial-gradient(circle at 100% 0%,rgba(216,180,106,.08),transparent 28%);
}
.xref-pain-card>*{
  position:relative;
  z-index:2;
  min-width:0;
  max-width:100%;
}
.xref-pain-card--accent{
  border-color:rgba(216,180,106,.34);
  background:
    radial-gradient(circle at 15% 0%,rgba(216,180,106,.18),transparent 36%),
    linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.024));
}
.xref-pain-card i{
  display:block;
  margin:0 0 16px;
  color:var(--xref-gold-light);
  font-family:Georgia,'Times New Roman',serif;
  font-size:36px;
  line-height:.9;
  font-style:normal;
  font-weight:500;
  letter-spacing:.02em;
  text-shadow:0 0 18px rgba(216,180,106,.12);
}
.xref-pain-card h3{
  margin:0;
  min-height:60px;
  max-width:100%;
  font-family:Inter,Arial,sans-serif;
  font-size:21px;
  line-height:1.14;
  font-weight:700;
  letter-spacing:-.015em;
  color:rgba(255,250,240,.96);
  overflow-wrap:anywhere;
}
.xref-pain-card p{
  margin:14px 0 18px;
  min-height:76px;
  max-width:100%;
  color:rgba(247,240,225,.66);
  font-size:14px;
  line-height:1.52;
  font-weight:400;
  overflow-wrap:anywhere;
}
.xref-card-actions{
  width:100%;
  min-width:0;
  margin-top:auto;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.xref-btn{
  appearance:none;
  position:relative;
  overflow:hidden;
  width:100%;
  min-width:0;
  max-width:100%;
  min-height:46px;
  margin:0;
  padding:12px 14px;
  border:1px solid transparent;
  border-radius:10px;
  font:600 13px/1.15 Inter,Arial,sans-serif;
  white-space:normal;
  overflow-wrap:anywhere;
  text-align:center;
  cursor:pointer;
  transition:transform .28s var(--xref-ease),border-color .24s ease,background .24s ease,box-shadow .24s ease,color .24s ease;
}
.xref-btn::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg,transparent,rgba(255,255,255,.27),transparent);
  transform:translateX(-120%);
  transition:transform .8s var(--xref-ease);
}
.xref-btn--gold{
  background:linear-gradient(135deg,var(--xref-gold-light),var(--xref-gold) 52%,var(--xref-gold-dark));
  color:#171006;
  font-weight:700;
  border-color:transparent;
  box-shadow:0 8px 24px rgba(157,116,49,.14);
}
.xref-btn--ghost{
  background:rgba(0,0,0,.30);
  color:rgba(247,240,225,.86);
  border-color:rgba(216,180,106,.34);
  box-shadow:none;
}
.xref-btn:focus-visible{
  outline:3px solid rgba(243,217,143,.32);
  outline-offset:3px;
}
@media(hover:hover) and (pointer:fine){
  .xref-pain-card:hover{
    transform:translateY(-4px);
    border-color:rgba(216,180,106,.38);
    background:
      radial-gradient(circle at 8% 0%,rgba(216,180,106,.16),transparent 32%),
      radial-gradient(circle at 100% 0%,rgba(216,180,106,.075),transparent 30%),
      linear-gradient(145deg,rgba(255,255,255,.066),rgba(255,255,255,.022));
    box-shadow:0 28px 72px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.045);
  }
  .xref-btn:hover::before{transform:translateX(120%)}
  .xref-btn--gold:hover{
    transform:translateY(-2px);
    box-shadow:0 14px 32px rgba(0,0,0,.30),0 0 0 1px rgba(243,217,143,.14);
  }
  .xref-btn--ghost:hover{
    transform:translateY(-2px);
    background:rgba(216,180,106,.07);
    color:var(--xref-gold-light);
    border-color:rgba(242,217,145,.58);
  }
}

/* Анимация включается только когда JS действительно работает. */
.xref-reveal{opacity:1;transform:none}
.js-motion-ready .xref-reveal{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .72s var(--xref-ease),transform .72s var(--xref-ease);
}
.js-motion-ready .xref-reveal.is-visible{
  opacity:1;
  transform:none;
}

/* Reference service-details modal */
.xref-service-modal,
.xref-lead-modal{
  position:fixed;
  inset:0;
  z-index:1200;
  display:none;
  align-items:center;
  justify-content:center;
  padding:22px;
  background:rgba(0,0,0,.78);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
}
.xref-service-modal.is-open,
.xref-lead-modal.is-open{display:flex}
.xref-service-modal__box,
.xref-lead-modal__box{
  position:relative;
  min-width:0;
  width:min(100%,920px);
  max-height:calc(100vh - 44px);
  max-height:calc(100dvh - 44px);
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  padding:34px 38px 32px;
  border-radius:28px;
  border:1px solid rgba(216,180,106,.34);
  color:var(--xref-text,#f7f0e1);
  background:
    radial-gradient(circle at 0% 0%,rgba(216,180,106,.16),transparent 34%),
    linear-gradient(145deg,rgba(18,15,11,.985),rgba(6,6,5,.995));
  box-shadow:0 36px 110px rgba(0,0,0,.68),inset 0 0 0 1px rgba(255,255,255,.03);
}
.xref-service-modal__close,
.xref-lead-modal__close{
  position:absolute;
  top:18px;
  right:18px;
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:50%;
  border:1px solid rgba(216,180,106,.24);
  background:rgba(255,255,255,.035);
  color:#f3d98f;
  font-size:30px;
  line-height:1;
  cursor:pointer;
}
.xref-service-modal__close:focus-visible,
.xref-lead-modal__close:focus-visible{
  outline:3px solid rgba(243,217,143,.36);
  outline-offset:3px;
}
.xref-service-modal__head{min-width:0;padding-right:58px}
.xref-service-modal__head>span,
.xref-lead-modal__eyebrow{
  display:inline-flex;
  margin-bottom:12px;
  color:#f3d98f;
  font-size:12px;
  line-height:1.2;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.xref-service-modal__head h2,
.xref-lead-modal__box h2{
  max-width:100%;
  margin:0;
  font-family:Georgia,'Times New Roman',serif;
  font-size:clamp(30px,3.2vw,46px);
  line-height:1.06;
  font-weight:500;
  letter-spacing:-.025em;
  color:#f7f0e1;
  overflow-wrap:anywhere;
}
.xref-service-modal__head p,
.xref-lead-modal__desc{
  max-width:820px;
  margin:14px 0 0;
  color:rgba(247,240,225,.72);
  font-size:15px;
  line-height:1.62;
  overflow-wrap:anywhere;
}
.xref-service-modal__content{
  margin-top:26px;
  display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(260px,.82fr);
  gap:22px;
  align-items:stretch;
  min-width:0;
}
.xref-service-modal__column{
  min-width:0;
  padding:22px;
  border-radius:22px;
  border:1px solid rgba(216,180,106,.14);
  background:rgba(0,0,0,.22);
}
.xref-service-modal__column h3{
  margin:0 0 14px;
  color:#f3d98f;
  font-size:13px;
  line-height:1.2;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.xref-service-modal__column ul{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}
.xref-service-modal__column li{
  position:relative;
  min-width:0;
  padding-left:24px;
  color:rgba(247,240,225,.76);
  font-size:14px;
  line-height:1.45;
  overflow-wrap:anywhere;
}
.xref-service-modal__column li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:#f3d98f;
}
.xref-service-modal__column--result p{
  margin:0;
  color:rgba(247,240,225,.78);
  font-size:15px;
  line-height:1.6;
  overflow-wrap:anywhere;
}
.xref-service-modal__cta{
  width:min(100%,440px);
  min-width:0;
  min-height:58px;
  margin-top:24px;
}

/* Quick consultation modal */
.xref-lead-modal__box{width:min(100%,590px)}
.xref-lead-modal__form{
  min-width:0;
  margin-top:24px;
  display:grid;
  gap:14px;
}
.xref-lead-modal__form>label:not(.xref-lead-modal__consent){
  display:grid;
  min-width:0;
  gap:7px;
}
.xref-lead-modal__form label>span{
  color:rgba(247,240,225,.72);
  font-size:12px;
  letter-spacing:.04em;
  overflow-wrap:anywhere;
}
.xref-lead-modal__form input[type="text"],
.xref-lead-modal__form input[type="tel"],
.xref-lead-modal__form textarea{
  display:block;
  width:100%;
  min-width:0;
  max-width:100%;
  border:1px solid rgba(216,180,106,.20);
  border-radius:13px;
  background:rgba(255,255,255,.045);
  color:#f7f0e1;
  outline:none;
  padding:14px 15px;
  transition:border-color .2s,box-shadow .2s,background .2s;
}
.xref-lead-modal__form input{min-height:48px}
.xref-lead-modal__form textarea{
  resize:vertical;
  min-height:100px;
}
.xref-lead-modal__form input:focus,
.xref-lead-modal__form textarea:focus{
  border-color:rgba(243,217,143,.50);
  box-shadow:0 0 0 3px rgba(216,180,106,.08);
  background:rgba(255,255,255,.06);
}
.xref-lead-modal__form input::placeholder,
.xref-lead-modal__form textarea::placeholder{
  color:rgba(247,240,225,.35);
}
.xref-lead-modal__consent{
  display:flex;
  align-items:flex-start;
  min-width:0;
  gap:9px;
  color:rgba(247,240,225,.55);
  font-size:11px;
  line-height:1.4;
  overflow-wrap:anywhere;
}
.xref-lead-modal__consent input{
  flex:0 0 auto;
  margin-top:2px;
  accent-color:#d8b46a;
}
.xref-lead-modal__submit{
  width:100%;
  max-width:100%;
  min-width:0;
  min-height:54px;
  border-radius:999px;
  font-size:14px;
  white-space:normal;
}
.xref-lead-modal__status{
  min-height:18px;
  margin:0;
  text-align:center;
  color:#f3d98f;
  font-size:12px;
  line-height:1.4;
  overflow-wrap:anywhere;
}
.xref-modal-open{overflow:hidden}

@media(max-width:1180px){
  .xref-pain-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .xref-pain-card h3,
  .xref-pain-card p{min-height:auto}
}
@media(max-width:860px){
  .xref-service-modal,
  .xref-lead-modal{
    align-items:flex-start;
    overflow-y:auto;
    padding:max(10px,env(safe-area-inset-top)) 10px max(10px,env(safe-area-inset-bottom));
  }
  .xref-service-modal__box,
  .xref-lead-modal__box{
    width:100%;
    max-height:calc(100vh - 20px);
    max-height:calc(100dvh - 20px);
    padding:28px 16px 18px;
    border-radius:22px;
  }
  .xref-service-modal__content{
    grid-template-columns:1fr;
    gap:12px;
  }
}
@media(max-width:720px){
  .xref-situations{padding:56px 0}
  .xref-container{width:min(calc(100% - 28px),620px)}
  .xref-section-head{margin-bottom:20px}
  .xref-section-head h2{
    font-size:clamp(27px,8vw,38px);
    line-height:1.08;
  }
  .xref-section-head p{
    font-size:14px;
    line-height:1.5;
  }
  .xref-pain-grid{
    grid-template-columns:1fr;
    gap:14px;
  }
  .xref-pain-card,
  .xref-pain-card--accent{
    min-height:0;
    padding:20px 18px 18px;
    border-radius:20px;
  }
  .xref-pain-card i{
    margin-bottom:12px;
    font-size:30px;
  }
  .xref-pain-card h3{
    min-height:auto;
    font-size:20px;
    line-height:1.12;
  }
  .xref-pain-card p{
    min-height:auto;
    margin-bottom:16px;
    font-size:13px;
    line-height:1.5;
  }
  .xref-card-actions{
    grid-template-columns:1fr;
    gap:8px;
  }
  .xref-card-actions .xref-btn{
    min-height:44px;
    border-radius:999px;
  }
  .xref-service-modal__head{padding-right:42px}
  .xref-service-modal__head h2,
  .xref-lead-modal__box h2{
    font-size:clamp(24px,7vw,34px);
  }
  .xref-service-modal__head p,
  .xref-service-modal__column li,
  .xref-service-modal__column--result p,
  .xref-lead-modal__desc{
    font-size:13px;
  }
  .xref-service-modal__column{
    padding:16px;
    border-radius:18px;
  }
}
@media(max-width:420px){
  .xref-container{width:calc(100% - 22px)}
  .xref-pain-card,
  .xref-pain-card--accent{
    padding:18px 15px 16px;
    border-radius:17px;
  }
  .xref-service-modal__close,
  .xref-lead-modal__close{
    top:12px;
    right:12px;
    width:40px;
    height:40px;
  }
}
@media(prefers-reduced-motion:reduce){
  .xref-reveal{
    opacity:1!important;
    transform:none!important;
    transition:none!important;
  }
  .xref-pain-card,
  .xref-btn,
  .xref-btn::before{
    transition:none!important;
  }
}

/* ==========================================================
   Second block — light site theme for xref-*.
   Structural responsiveness is defined in the base xref block above.
   ========================================================== */
.xref-situations{
  --xref-bg:var(--cream);
  --xref-gold:var(--gold);
  --xref-gold-light:#efc27f;
  --xref-gold-dark:var(--gold-dark);
  --xref-text:var(--ink);
  min-width:0;
  padding:72px 0 66px;
  color:var(--ink);
  background:
    radial-gradient(circle at 50% -14%,rgba(217,162,85,.105),transparent 31rem),
    radial-gradient(circle at 8% 8%,rgba(217,162,85,.045),transparent 23rem),
    var(--cream);
}
.xref-situations::before{
  opacity:.34;
  background-image:
    linear-gradient(rgba(185,122,46,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(185,122,46,.035) 1px,transparent 1px);
  background-size:78px 78px;
  -webkit-mask-image:linear-gradient(to bottom,#000,transparent 72%);
  mask-image:linear-gradient(to bottom,#000,transparent 72%);
}
.xref-situations::after{
  background:linear-gradient(180deg,rgba(255,255,255,.24),transparent 18%,transparent 82%,rgba(255,255,255,.12));
}
.xref-container{
  width:min(1220px,calc(100% - 48px));
  min-width:0;
}
.xref-section-head{
  max-width:850px;
  min-width:0;
  margin-bottom:34px;
}
.xref-section-head h2{
  margin:0 0 10px;
  max-width:100%;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:34px;
  line-height:1.1;
  font-weight:750;
  text-transform:none;
  letter-spacing:-.025em;
  color:#162421;
  text-shadow:none;
  overflow-wrap:anywhere;
}
.xref-section-head p{
  max-width:760px;
  color:#68716d;
  font-size:14px;
  line-height:1.55;
  overflow-wrap:anywhere;
}
.xref-pain-grid{
  min-width:0;
  gap:14px;
}
.xref-pain-card{
  min-width:0;
  min-height:294px;
  padding:22px 20px 18px;
  border-radius:16px;
  border:1px solid var(--line);
  background:
    radial-gradient(circle at 0% 0%,rgba(217,162,85,.075),transparent 34%),
    linear-gradient(145deg,rgba(255,255,255,.84),rgba(255,253,249,.58));
  box-shadow:0 10px 28px rgba(80,54,13,.045),inset 0 1px 0 rgba(255,255,255,.86);
  transition:transform .28s var(--xref-ease),border-color .24s ease,box-shadow .24s ease,background .24s ease;
}
.xref-pain-card::after{
  background:
    linear-gradient(180deg,rgba(255,255,255,.34),transparent 30%),
    radial-gradient(circle at 100% 0%,rgba(217,162,85,.055),transparent 30%);
}
.xref-pain-card--accent{
  border-color:rgba(201,139,61,.32);
  background:
    radial-gradient(circle at 0% 0%,rgba(217,162,85,.13),transparent 38%),
    linear-gradient(145deg,rgba(255,255,255,.94),rgba(251,244,232,.72));
}
.xref-pain-card i{
  margin:0 0 14px;
  color:#c98b3d;
  font-size:32px;
  line-height:1;
  text-shadow:none;
}
.xref-pain-card h3{
  min-width:0;
  min-height:56px;
  max-width:100%;
  font-size:18px;
  line-height:1.22;
  font-weight:720;
  color:#172522;
  overflow-wrap:anywhere;
}
.xref-pain-card p{
  min-width:0;
  max-width:100%;
  margin:12px 0 17px;
  min-height:82px;
  color:#68716d;
  font-size:12.5px;
  line-height:1.52;
  overflow-wrap:anywhere;
}
.xref-card-actions{
  min-width:0;
  gap:8px;
}
.xref-btn{
  min-width:0;
  max-width:100%;
  min-height:44px;
  padding:11px 12px;
  border-radius:10px;
  font-size:12px;
  white-space:normal;
  overflow-wrap:anywhere;
  box-shadow:none;
}
.xref-btn--gold{
  background:linear-gradient(180deg,#efc27f 0%,#dda65a 58%,#d09443 100%);
  color:#432a11;
  border-color:#d69b4c;
  box-shadow:0 5px 16px rgba(210,148,62,.18),inset 0 1px 0 rgba(255,255,255,.36);
}
.xref-btn--ghost{
  background:linear-gradient(180deg,rgba(255,253,249,.82),rgba(248,240,228,.62));
  color:#8a5b22;
  border-color:#d7a45f;
}
.xref-btn:focus-visible{
  outline:3px solid rgba(185,122,46,.18);
  outline-offset:3px;
}
@media(hover:hover) and (pointer:fine){
  .xref-pain-card:hover{
    transform:translateY(-4px);
    border-color:rgba(201,139,61,.36);
    background:
      radial-gradient(circle at 0% 0%,rgba(217,162,85,.105),transparent 36%),
      linear-gradient(145deg,rgba(255,255,255,.96),rgba(255,253,249,.76));
    box-shadow:0 16px 38px rgba(80,54,13,.085),inset 0 1px 0 rgba(255,255,255,.92);
  }
  .xref-btn--gold:hover{
    transform:translateY(-2px);
    filter:brightness(1.025);
    box-shadow:0 10px 22px rgba(185,122,46,.20),inset 0 1px 0 rgba(255,255,255,.38);
  }
  .xref-btn--ghost:hover{
    transform:translateY(-2px);
    background:linear-gradient(180deg,#fffdf9,#f7e8d1);
    color:#6f4517;
    border-color:#c98b3d;
    box-shadow:0 8px 18px rgba(185,122,46,.10);
  }
}

/* Light site-styled modals for the second block */
.xref-service-modal,
.xref-lead-modal{
  background:rgba(8,27,25,.66);
}
.xref-service-modal__box,
.xref-lead-modal__box{
  min-width:0;
  border:1px solid #e3d2b9;
  color:var(--ink);
  background:
    radial-gradient(circle at 0% 0%,rgba(217,162,85,.10),transparent 34%),
    linear-gradient(145deg,#fffdf9,#faf7f2);
  box-shadow:0 34px 100px rgba(11,33,31,.30),inset 0 1px 0 rgba(255,255,255,.9);
}
.xref-service-modal__close,
.xref-lead-modal__close{
  border-color:#e1cfb2;
  background:rgba(255,255,255,.74);
  color:#9b6729;
}
.xref-service-modal__head>span,
.xref-lead-modal__eyebrow{
  color:#b5752d;
}
.xref-service-modal__head h2,
.xref-lead-modal__box h2{
  max-width:100%;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-weight:750;
  color:#162421;
  overflow-wrap:anywhere;
}
.xref-service-modal__head p,
.xref-lead-modal__desc{
  color:#68716d;
  overflow-wrap:anywhere;
}
.xref-service-modal__column{
  min-width:0;
  border-color:#eadfce;
  background:rgba(255,255,255,.54);
}
.xref-service-modal__column h3{color:#a96f29}
.xref-service-modal__column li,
.xref-service-modal__column--result p{
  color:#5f6965;
  overflow-wrap:anywhere;
}
.xref-service-modal__column li::before{color:#c98b3d}
.xref-lead-modal__form label>span{
  color:#5f6965;
  overflow-wrap:anywhere;
}
.xref-lead-modal__form input[type="text"],
.xref-lead-modal__form input[type="tel"],
.xref-lead-modal__form textarea{
  width:100%;
  min-width:0;
  max-width:100%;
  border-color:#ddd3c5;
  background:#fff;
  color:#172522;
}
.xref-lead-modal__form input:focus,
.xref-lead-modal__form textarea:focus{
  border-color:#d7a45f;
  box-shadow:0 0 0 3px rgba(217,162,85,.10);
  background:#fff;
}
.xref-lead-modal__form input::placeholder,
.xref-lead-modal__form textarea::placeholder{
  color:#9a9f9c;
}
.xref-lead-modal__consent{
  min-width:0;
  color:#7a817e;
  overflow-wrap:anywhere;
}
.xref-lead-modal__status{
  min-width:0;
  max-width:100%;
  color:#9b6729;
  overflow-wrap:anywhere;
}
@media(hover:hover) and (pointer:fine){
  .xref-service-modal__close:hover,
  .xref-lead-modal__close:hover{
    background:#fff;
    border-color:#d19a50;
  }
}

@media(max-width:720px){
  .xref-situations{
    padding:54px 0 48px;
  }
  .xref-container{
    width:min(calc(100% - 28px),620px);
  }
  .xref-section-head h2{
    font-size:28px;
  }
  .xref-pain-card,
  .xref-pain-card--accent{
    padding:20px 18px 18px;
    border-radius:14px;
  }
  .xref-pain-card i{
    font-size:28px;
  }
  .xref-pain-card h3{
    font-size:18px;
  }
  .xref-pain-card p{
    font-size:12.5px;
  }
  .xref-card-actions .xref-btn{
    border-radius:10px;
  }
}
@media(max-width:420px){
  .xref-container{
    width:calc(100% - 22px);
  }
  .xref-pain-card,
  .xref-pain-card--accent{
    padding-left:15px;
    padding-right:15px;
  }
}

/* =========================================================
   Premium prospects quiz (pq-*) — responsive isolated component
   6 questions + 7th contact step
   ========================================================= */
.pq-section{
  --pq-bg:#fbf8f2;
  --pq-paper:rgba(255,255,255,.72);
  --pq-navy:#0c2947;
  --pq-navy-soft:#243c56;
  --pq-gold:#c99335;
  --pq-gold-bright:#e4b75b;
  --pq-line:rgba(199,143,51,.36);
  --pq-line-soft:rgba(199,143,51,.18);
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-width:0;
  padding:92px 24px 104px;
  background:
    radial-gradient(circle at 50% 10%,rgba(255,255,255,.98) 0,rgba(255,255,255,.63) 31%,transparent 61%),
    linear-gradient(180deg,#fffdfa 0%,#faf6ef 100%);
  color:var(--pq-navy);
}
.pq-section,.pq-section *{box-sizing:border-box}
.pq-section::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-3;
  pointer-events:none;
  background:
    radial-gradient(ellipse at 50% 45%,rgba(255,255,255,.78),transparent 58%),
    linear-gradient(90deg,rgba(201,147,57,.025),transparent 25%,transparent 75%,rgba(201,147,57,.025));
}
.pq-shell{
  position:relative;
  z-index:2;
  width:min(1180px,100%);
  min-width:0;
  margin:0 auto;
}
.pq-head{
  max-width:920px;
  min-width:0;
  margin:0 auto 36px;
  text-align:center;
}
.pq-kicker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  max-width:100%;
  gap:12px;
  margin-bottom:20px;
  color:var(--pq-gold);
  font-size:14px;
  font-weight:700;
  letter-spacing:.14em;
}
.pq-kicker svg{
  width:32px;
  height:32px;
  flex:0 0 auto;
  stroke:currentColor;
  fill:none;
  stroke-width:1.5;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.pq-head h2{
  max-width:100%;
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(45px,5vw,72px);
  line-height:.98;
  letter-spacing:-.035em;
  font-weight:500;
  color:var(--pq-navy);
  overflow-wrap:anywhere;
}
.pq-title-rule{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  width:min(240px,80%);
  margin:22px auto 16px;
}
.pq-title-rule span{
  height:1px;
  flex:1;
  background:linear-gradient(90deg,transparent,var(--pq-gold));
}
.pq-title-rule span:last-child{
  background:linear-gradient(90deg,var(--pq-gold),transparent);
}
.pq-title-rule i{
  display:block;
  width:8px;
  height:8px;
  flex:0 0 8px;
  background:var(--pq-gold);
  transform:rotate(45deg);
}
.pq-head p{
  max-width:100%;
  margin:0;
  font-size:17px;
  line-height:1.55;
  color:var(--pq-navy-soft);
  overflow-wrap:anywhere;
}

/* 7-step progress */
.pq-progress{
  position:relative;
  max-width:1040px;
  min-width:0;
  margin:30px auto 18px;
  padding-right:126px;
}
.pq-stepper{
  position:relative;
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  align-items:center;
  min-width:0;
  padding:0 12px;
  margin-bottom:19px;
}
.pq-stepper::before{
  content:"";
  position:absolute;
  left:6.5%;
  right:6.5%;
  top:50%;
  z-index:-1;
  height:1px;
  background:var(--pq-line-soft);
}
.pq-step{
  width:40px;
  height:40px;
  border-radius:50%;
  display:grid;
  place-items:center;
  justify-self:center;
  background:rgba(255,253,249,.94);
  border:1px solid rgba(201,147,53,.28);
  color:#5e6670;
  font-size:16px;
  box-shadow:0 6px 18px rgba(87,66,33,.04);
  transition:.28s ease;
}
.pq-step.is-active{
  color:var(--pq-navy);
  border-color:var(--pq-gold);
  box-shadow:0 7px 17px rgba(183,125,32,.14);
  transform:scale(1.06);
  background:#fffaf1;
  font-weight:700;
}
.pq-step.is-complete{
  background:linear-gradient(135deg,#e8bf68,#c78e2c);
  border-color:#c78e2c;
  color:#fff;
  box-shadow:0 8px 18px rgba(175,119,27,.17);
}
.pq-counter{
  position:absolute;
  right:0;
  top:-15px;
  width:92px;
  height:92px;
  border-radius:50%;
  border:1px solid var(--pq-gold);
  background:rgba(255,255,255,.5);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  box-shadow:0 12px 35px rgba(75,50,16,.04);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
}
.pq-counter b{
  font-family:Georgia,"Times New Roman",serif;
  font-size:27px;
  line-height:1;
  color:#b77f23;
  font-weight:500;
}
.pq-counter span{
  font-size:13px;
  color:#4d5966;
  margin-top:4px;
}
.pq-progress-track{
  height:6px;
  border-radius:999px;
  background:rgba(158,129,83,.10);
  overflow:hidden;
  margin:0 10px;
}
.pq-progress-track span{
  display:block;
  width:14.2857%;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#edc86e,#c58b2b);
  box-shadow:0 0 18px rgba(202,145,45,.22);
  transition:width .42s cubic-bezier(.22,.61,.36,1);
}

/* Quiz card */
.pq-card{
  position:relative;
  width:100%;
  max-width:1060px;
  min-width:0;
  margin:0 auto;
  padding:32px 54px 28px;
  border:1px solid rgba(201,147,53,.34);
  border-radius:24px;
  background:linear-gradient(145deg,rgba(255,255,255,.82),rgba(255,252,247,.67));
  box-shadow:0 20px 54px rgba(90,65,25,.075),inset 0 1px 0 rgba(255,255,255,.9);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
}
.pq-panel{
  min-width:0;
  min-height:290px;
  animation:pqFade .28s ease;
}
.pq-panel.is-swapping{
  opacity:0;
  transform:translateY(7px);
}
@keyframes pqFade{
  from{opacity:0;transform:translateY(8px)}
  to{opacity:1;transform:none}
}
.pq-question-title{
  max-width:100%;
  margin:0 0 18px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:30px;
  font-weight:600;
  letter-spacing:-.02em;
  color:var(--pq-navy);
  overflow-wrap:anywhere;
}
.pq-question-note{
  max-width:100%;
  margin:-8px 0 18px;
  font-size:13px;
  color:#687686;
  overflow-wrap:anywhere;
}

/* Answers */
.pq-options{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px 26px;
  min-width:0;
}
.pq-option{
  position:relative;
  display:block;
  min-width:0;
  cursor:pointer;
}
.pq-option input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.pq-option__body{
  width:100%;
  min-width:0;
  min-height:62px;
  border:1px solid rgba(204,151,64,.36);
  border-radius:13px;
  background:rgba(255,255,255,.57);
  display:flex;
  align-items:center;
  gap:17px;
  padding:13px 20px;
  color:#183654;
  font-size:15px;
  line-height:1.3;
  white-space:normal;
  overflow-wrap:anywhere;
  transition:border-color .22s,box-shadow .22s,background .22s,transform .22s;
}
.pq-radio{
  width:22px;
  height:22px;
  flex:0 0 22px;
  border-radius:50%;
  border:1.5px solid #d4a34d;
  display:grid;
  place-items:center;
  background:#fff;
  transition:.22s;
}
.pq-radio::after{
  content:"";
  width:10px;
  height:10px;
  border-radius:50%;
  background:linear-gradient(135deg,#e8bb5e,#c38926);
  transform:scale(0);
  transition:.2s;
}
.pq-option input:checked + .pq-option__body{
  border-color:#c88f31;
  background:linear-gradient(135deg,#fffdf9,#fff8e9);
  box-shadow:0 9px 25px rgba(151,103,26,.10);
}
.pq-option input:checked + .pq-option__body .pq-radio{
  border-color:#c38926;
  box-shadow:0 0 0 4px rgba(211,157,65,.10);
}
.pq-option input:checked + .pq-option__body .pq-radio::after{
  transform:scale(1);
}
.pq-option input:focus-visible + .pq-option__body{
  outline:3px solid rgba(42,99,151,.18);
  outline-offset:2px;
}
@media(hover:hover) and (pointer:fine){
  .pq-option:hover .pq-option__body{
    border-color:rgba(190,130,32,.68);
    background:#fffdf9;
    box-shadow:0 9px 22px rgba(121,85,29,.07);
    transform:translateY(-1px);
  }
}

/* Contacts */
.pq-contact-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px 22px;
  min-width:0;
}
.pq-field{
  display:flex;
  flex-direction:column;
  min-width:0;
  gap:7px;
}
.pq-field--full{grid-column:1/-1}
.pq-field label,
.pq-channel-title{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#6c7885;
  font-weight:700;
  overflow-wrap:anywhere;
}
.pq-field input,
.pq-field textarea{
  display:block;
  width:100%;
  min-width:0;
  max-width:100%;
  border:1px solid rgba(204,151,64,.36);
  border-radius:13px;
  background:rgba(255,255,255,.7);
  padding:15px 17px;
  color:#173451;
  font:inherit;
  outline:none;
  transition:.22s;
}
.pq-field textarea{
  resize:vertical;
  min-height:96px;
}
.pq-field input:focus,
.pq-field textarea:focus{
  border-color:#c58b2b;
  box-shadow:0 0 0 4px rgba(203,145,45,.10);
  background:#fff;
}
.pq-channels{grid-column:1/-1;min-width:0}
.pq-channels .pq-options{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.pq-channels .pq-option__body{
  min-height:54px;
  padding:10px 14px;
}
.pq-consent{
  grid-column:1/-1;
  display:flex;
  align-items:flex-start;
  min-width:0;
  gap:9px;
  margin-top:1px;
  font-size:12px;
  line-height:1.4;
  color:#6a7480;
  overflow-wrap:anywhere;
}
.pq-consent input{
  flex:0 0 auto;
  margin-top:2px;
  accent-color:#bf862b;
}
.pq-consent a{
  color:#9b6925;
  text-decoration:underline;
  text-underline-offset:2px;
}

/* Actions */
.pq-actions{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  min-width:0;
  gap:16px;
  margin-top:26px;
}
.pq-validation{
  min-width:0;
  min-height:18px;
  margin:0;
  text-align:center;
  font-size:12px;
  line-height:1.4;
  color:#9b5f2a;
  overflow-wrap:anywhere;
}
.pq-btn{
  min-width:0;
  max-width:100%;
  min-height:54px;
  height:auto;
  border-radius:999px;
  padding:13px 28px;
  border:1px solid #c99135;
  font-size:15px;
  line-height:1.2;
  font-weight:650;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  white-space:normal;
  text-align:center;
  overflow-wrap:anywhere;
  cursor:pointer;
  transition:transform .22s,box-shadow .22s,background .22s,color .22s;
}
.pq-btn:focus-visible{
  outline:3px solid rgba(38,93,144,.20);
  outline-offset:3px;
}
.pq-btn--back{
  background:rgba(255,255,255,.4);
  color:#855715;
}
.pq-btn--back:disabled{
  opacity:.38;
  cursor:not-allowed;
}
.pq-btn--next{
  background:linear-gradient(135deg,#eac568,#c68c2c);
  color:#432a11;
  box-shadow:0 11px 24px rgba(177,119,25,.19);
}
@media(hover:hover) and (pointer:fine){
  .pq-btn--back:hover:not(:disabled){
    background:#fff;
    box-shadow:0 9px 24px rgba(124,87,26,.08);
    transform:translateY(-1px);
  }
  .pq-btn--next:hover{
    transform:translateY(-1px);
    box-shadow:0 15px 30px rgba(177,119,25,.25);
    background:linear-gradient(135deg,#edca72,#bc7f1e);
  }
}

/* Result */
.pq-result{
  text-align:center;
  display:grid;
  place-items:center;
  min-width:0;
  min-height:300px;
  padding:12px 0;
}
.pq-result__icon{
  width:66px;
  height:66px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#edc76b,#c5892a);
  color:#fff;
  font-size:29px;
  box-shadow:0 14px 30px rgba(176,117,24,.18);
  margin-bottom:14px;
}
.pq-result h3{
  max-width:100%;
  margin:0 0 10px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:36px;
  overflow-wrap:anywhere;
}
.pq-result p{
  max-width:620px;
  margin:0 auto;
  color:#536577;
  line-height:1.55;
  overflow-wrap:anywhere;
}
.pq-result__summary{
  max-width:680px;
  margin-top:18px;
  padding:14px 20px;
  border:1px solid var(--pq-line-soft);
  border-radius:14px;
  background:rgba(255,255,255,.58);
  color:#31485d;
  font-size:13px;
  overflow-wrap:anywhere;
}
.pq-result__links{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:center;
  max-width:100%;
  margin-top:20px;
}
.pq-result__links a,
.pq-result__links button{
  min-width:0;
  max-width:100%;
}

/* Decorative elements */
.pq-column{
  position:absolute;
  z-index:-2;
  top:20px;
  bottom:18px;
  width:150px;
  opacity:.16;
  filter:blur(1.1px);
  pointer-events:none;
}
.pq-column::before{
  content:"";
  position:absolute;
  left:36px;
  right:36px;
  top:42px;
  bottom:78px;
  background:repeating-linear-gradient(90deg,rgba(172,151,119,.38) 0 7px,rgba(255,255,255,.35) 7px 16px);
  border-radius:22px 22px 8px 8px;
  box-shadow:inset 8px 0 16px rgba(125,100,66,.13),inset -8px 0 16px rgba(255,255,255,.9);
}
.pq-column::after{
  content:"";
  position:absolute;
  left:7px;
  right:7px;
  top:15px;
  height:74px;
  background:linear-gradient(180deg,rgba(190,168,136,.24),rgba(255,255,255,.55));
  clip-path:polygon(12% 0,88% 0,100% 18%,92% 34%,100% 45%,88% 58%,96% 72%,80% 100%,20% 100%,4% 72%,12% 58%,0 45%,8% 34%,0 18%);
  border-bottom:1px solid rgba(181,144,91,.3);
  box-shadow:0 24px 50px rgba(119,94,58,.08);
}
.pq-column--left{left:-12px}
.pq-column--right{right:-12px}
.pq-column--right::before,
.pq-column--right::after{transform:scaleX(-1)}
.pq-column--left::before,
.pq-column--right::before{
  -webkit-mask-image:linear-gradient(180deg,#000 0 83%,transparent 100%);
  mask-image:linear-gradient(180deg,#000 0 83%,transparent 100%);
}
.pq-branch{
  position:absolute;
  left:26px;
  bottom:70px;
  width:130px;
  height:330px;
  z-index:-1;
  stroke:rgba(199,150,77,.17);
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
  fill:rgba(219,183,125,.05);
  pointer-events:none;
}

@media(max-width:1000px){
  .pq-section{padding:74px 20px 86px}
  .pq-head h2{font-size:clamp(40px,6vw,58px)}
  .pq-card{padding:30px 34px 26px}
  .pq-progress{padding-right:100px}
  .pq-counter{
    width:78px;
    height:78px;
    top:-7px;
  }
  .pq-counter b{font-size:23px}
  .pq-column{opacity:.10}
  .pq-branch{opacity:.75}
}

/* Mobile/tablet quiz */
@media(max-width:720px){
  .pq-section{padding:62px 14px 72px}
  .pq-column,
  .pq-branch{display:none}
  .pq-head{margin-bottom:28px}
  .pq-kicker{
    font-size:11px;
    letter-spacing:.1em;
    margin-bottom:15px;
  }
  .pq-kicker svg{
    width:27px;
    height:27px;
  }
  .pq-head h2{
    font-size:39px;
    line-height:1.03;
  }
  .pq-head p{font-size:14px}
  .pq-head p br{display:none}
  .pq-title-rule{
    margin:17px auto 13px;
    width:180px;
  }

  /* Step circles get the full width.
     Counter moves below them so it can no longer overlap step 7. */
  .pq-progress{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:12px;
    padding-right:0;
    margin-top:20px;
    margin-bottom:14px;
  }
  .pq-stepper{
    grid-column:1/-1;
    grid-row:1;
    grid-template-columns:repeat(7,minmax(0,1fr));
    width:100%;
    min-width:0;
    margin:0;
    padding:0;
  }
  .pq-stepper::before{
    left:6%;
    right:6%;
  }
  .pq-step{
    width:32px;
    height:32px;
    font-size:13px;
  }
  .pq-progress-track{
    grid-column:1;
    grid-row:2;
    width:100%;
    min-width:0;
    height:5px;
    margin:0;
  }
  .pq-counter{
    position:static;
    grid-column:2;
    grid-row:2;
    width:auto;
    height:auto;
    min-width:54px;
    padding:5px 9px;
    border-radius:999px;
    flex-direction:row;
    gap:3px;
    background:rgba(255,255,255,.62);
    box-shadow:0 5px 16px rgba(75,50,16,.04);
  }
  .pq-counter b{
    font-size:17px;
    line-height:1;
  }
  .pq-counter span{
    margin:0;
    font-size:11px;
    line-height:1;
  }

  .pq-card{
    padding:24px 18px 20px;
    border-radius:19px;
  }
  .pq-panel{min-height:0}
  .pq-question-title{
    font-size:26px;
    margin-bottom:16px;
  }
  .pq-options{
    grid-template-columns:1fr;
    gap:10px;
  }
  .pq-option__body{
    min-height:58px;
    padding:12px 15px;
    font-size:14px;
  }

  .pq-actions{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin-top:22px;
  }
  .pq-validation{
    grid-column:1/-1;
    grid-row:1;
    text-align:left;
  }
  .pq-btn{
    width:100%;
    min-width:0;
    max-width:100%;
    min-height:51px;
    padding:10px 12px;
  }
  .pq-btn--back{
    grid-column:1;
    grid-row:2;
  }
  .pq-btn--next{
    grid-column:2;
    grid-row:2;
  }

  .pq-contact-grid{
    grid-template-columns:1fr;
    gap:12px;
  }
  .pq-field--full,
  .pq-channels,
  .pq-consent{
    grid-column:auto;
  }
  .pq-field input,
  .pq-field textarea{
    font-size:16px;
  }
  .pq-channels .pq-options{
    grid-template-columns:1fr;
  }

  .pq-result h3{font-size:30px}
  .pq-result__links{
    flex-direction:column;
    width:100%;
  }
  .pq-result__links a,
  .pq-result__links button{
    width:100%;
  }
}

@media(max-width:430px){
  .pq-head h2{font-size:34px}
  .pq-step{width:29px;height:29px;font-size:12px}
  .pq-card{padding:22px 14px 18px}
  .pq-question-title{font-size:24px}
  .pq-btn{
    font-size:13px;
    gap:7px;
  }
  .pq-option__body{padding:11px 13px}
  .pq-radio{
    width:20px;
    height:20px;
    flex-basis:20px;
  }
}

@media(max-width:350px){
  .pq-section{padding-left:10px;padding-right:10px}
  .pq-step{
    width:26px;
    height:26px;
    font-size:11px;
  }
  .pq-card{padding-left:11px;padding-right:11px}
  .pq-actions{
    grid-template-columns:1fr;
  }
  .pq-validation{
    grid-column:1;
    grid-row:1;
  }
  .pq-btn--back{
    grid-column:1;
    grid-row:2;
  }
  .pq-btn--next{
    grid-column:1;
    grid-row:3;
  }
}

@media(prefers-reduced-motion:reduce){
  .pq-section *{
    scroll-behavior:auto!important;
    animation:none!important;
    transition:none!important;
  }
}

/* =========================================================
   Compact placement of the prospects quiz in the former
   lower "Проверьте перспективы" contact section.
   Only pq-* classes are affected.
   ========================================================= */
.pq-section--compact{
  padding:58px 24px 66px;
}
.pq-section--compact .pq-shell{
  width:min(1040px,100%);
  min-width:0;
}
.pq-section--compact .pq-head{
  max-width:780px;
  margin-bottom:24px;
}
.pq-section--compact .pq-kicker{
  gap:9px;
  margin-bottom:12px;
  font-size:11px;
  letter-spacing:.13em;
}
.pq-section--compact .pq-kicker svg{
  width:25px;
  height:25px;
}
.pq-section--compact .pq-head h2{
  font-size:clamp(36px,3.7vw,52px);
  line-height:1.02;
}
.pq-section--compact .pq-title-rule{
  width:190px;
  max-width:80%;
  margin:14px auto 11px;
}
.pq-section--compact .pq-head p{
  font-size:14px;
  line-height:1.48;
}
.pq-section--compact .pq-progress{
  max-width:900px;
  min-width:0;
  margin:20px auto 13px;
  padding-right:94px;
}
.pq-section--compact .pq-stepper{
  min-width:0;
  margin-bottom:13px;
}
.pq-section--compact .pq-step{
  width:33px;
  height:33px;
  font-size:13px;
}
.pq-section--compact .pq-counter{
  width:70px;
  height:70px;
  top:-7px;
}
.pq-section--compact .pq-counter b{
  font-size:21px;
}
.pq-section--compact .pq-counter span{
  font-size:10px;
  margin-top:3px;
}
.pq-section--compact .pq-progress-track{
  height:5px;
  margin:0 8px;
}
.pq-section--compact .pq-card{
  width:100%;
  max-width:920px;
  min-width:0;
  padding:25px 36px 23px;
  border-radius:20px;
  box-shadow:0 15px 38px rgba(90,65,25,.065),inset 0 1px 0 rgba(255,255,255,.92);
}
.pq-section--compact .pq-panel{
  min-width:0;
  min-height:238px;
}
.pq-section--compact .pq-question-title{
  font-size:26px;
  margin-bottom:14px;
  overflow-wrap:anywhere;
}
.pq-section--compact .pq-options{
  min-width:0;
  gap:10px 18px;
}
.pq-section--compact .pq-option__body{
  min-width:0;
  min-height:52px;
  gap:13px;
  padding:10px 15px;
  border-radius:11px;
  font-size:13.5px;
  overflow-wrap:anywhere;
}
.pq-section--compact .pq-radio{
  width:19px;
  height:19px;
  flex-basis:19px;
}
.pq-section--compact .pq-radio::after{
  width:8px;
  height:8px;
}
.pq-section--compact .pq-question-note{
  font-size:12px;
  margin:-5px 0 13px;
  overflow-wrap:anywhere;
}
.pq-section--compact .pq-contact-grid{
  min-width:0;
  gap:10px 16px;
}
.pq-section--compact .pq-field input,
.pq-section--compact .pq-field textarea{
  min-width:0;
  max-width:100%;
  padding:12px 14px;
  border-radius:11px;
  font-size:13px;
}
.pq-section--compact .pq-field textarea{
  min-height:76px;
}
.pq-section--compact .pq-channels .pq-option__body{
  min-height:47px;
  padding:8px 11px;
}
.pq-section--compact .pq-actions{
  min-width:0;
  margin-top:18px;
}
.pq-section--compact .pq-btn{
  height:auto;
  min-width:180px;
  min-height:46px;
  max-width:100%;
  padding:10px 22px;
  font-size:13px;
  line-height:1.2;
  white-space:normal;
  overflow-wrap:anywhere;
}
.pq-section--compact .pq-result{
  min-width:0;
  min-height:238px;
}
.pq-section--compact .pq-result__icon{
  width:54px;
  height:54px;
  font-size:24px;
  margin-bottom:10px;
}
.pq-section--compact .pq-result h3{
  font-size:30px;
  overflow-wrap:anywhere;
}
.pq-section--compact .pq-column{
  width:112px;
  opacity:.10;
}
.pq-section--compact .pq-column::before{
  left:28px;
  right:28px;
}
.pq-section--compact .pq-column::after{
  height:60px;
}
.pq-section--compact .pq-branch{
  left:18px;
  bottom:46px;
  width:98px;
  height:250px;
  opacity:.7;
}

@media(max-width:1000px){
  .pq-section--compact{
    padding:52px 18px 58px;
  }
  .pq-section--compact .pq-card{
    padding:23px 28px 21px;
  }
  .pq-section--compact .pq-progress{
    padding-right:86px;
  }
}

@media(max-width:720px){
  .pq-section--compact{
    padding:46px 14px 52px;
  }
  .pq-section--compact .pq-head{
    margin-bottom:21px;
  }
  .pq-section--compact .pq-head h2{
    font-size:34px;
  }
  .pq-section--compact .pq-head p{
    font-size:13px;
  }

  /* Base pq-* block moves the counter below all 7 steps.
     Do not reserve space on the right anymore. */
  .pq-section--compact .pq-progress{
    margin-top:16px;
    padding-right:0;
  }
  .pq-section--compact .pq-stepper{
    width:100%;
    margin:0;
  }
  .pq-section--compact .pq-progress-track{
    margin:0;
  }
  .pq-section--compact .pq-counter{
    position:static;
    width:auto;
    height:auto;
    min-width:50px;
    padding:5px 8px;
    border-radius:999px;
  }
  .pq-section--compact .pq-counter b{
    font-size:16px;
  }
  .pq-section--compact .pq-counter span{
    margin-top:0;
  }

  .pq-section--compact .pq-card{
    padding:20px 16px 18px;
  }
  .pq-section--compact .pq-panel{
    min-height:0;
  }
  .pq-section--compact .pq-question-title{
    font-size:23px;
  }
  .pq-section--compact .pq-option__body{
    min-height:51px;
    font-size:13px;
  }
  .pq-section--compact .pq-actions{
    margin-top:17px;
  }
  .pq-section--compact .pq-btn{
    width:100%;
    height:auto;
    min-width:0;
    min-height:47px;
    padding:10px 12px;
  }
}

@media(max-width:430px){
  .pq-section--compact .pq-head h2{
    font-size:30px;
  }
  .pq-section--compact .pq-kicker{
    font-size:10px;
  }
  .pq-section--compact .pq-step{
    width:28px;
    height:28px;
    font-size:11px;
  }
  .pq-section--compact .pq-counter{
    width:auto;
    height:auto;
    min-width:48px;
    padding:5px 7px;
  }
  .pq-section--compact .pq-counter b{
    font-size:15px;
  }
  .pq-section--compact .pq-card{
    padding:18px 13px 16px;
  }
}


/* =========================================================
   HEADER PHONE CTA — base fallback and accessibility
   Visual sizing is defined in the later header layout blocks.
   ========================================================= */
.header-phone{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:1px;
  line-height:1.05;
  text-decoration:none;
  white-space:nowrap;
}
.header-phone__number,
.header-phone__hours{
  display:block;
}
.header-phone:focus-visible{
  outline:2px solid rgba(255,236,194,.9);
  outline-offset:3px;
}

/* =========================================================
   HEADER — reference layout in current green/gold site style
   ========================================================= */
@media(min-width:1181px){
  .topbar{
    padding-top:10px;
    margin-bottom:-86px;
  }
  .topbar .container{
    width:min(1360px,calc(100% - 28px));
  }
  .topbar__inner{
    height:76px;
    padding:0 18px 0 20px;
    gap:18px;
    border:1px solid rgba(225,176,91,.28);
    border-radius:28px;
    background:
      linear-gradient(180deg,rgba(14,42,37,.78),rgba(5,25,23,.71)),
      radial-gradient(circle at 8% -20%,rgba(237,191,112,.08),transparent 30%);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.075),
      0 18px 46px rgba(0,0,0,.17);
    -webkit-backdrop-filter:blur(20px) saturate(138%);
    backdrop-filter:blur(20px) saturate(138%);
  }
  .brand{
    flex:0 0 auto;
    min-width:258px;
    gap:13px;
  }
  .brand__mark{
    width:46px;
    height:46px;
    flex-basis:46px;
    border:1px solid rgba(230,181,96,.34);
    border-radius:50%;
    background:linear-gradient(145deg,rgba(226,177,92,.08),rgba(255,255,255,.018));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.07);
  }
  .brand__mark svg{
    width:27px;
    height:33px;
  }
  .brand__copy b{
    font-size:17px;
    letter-spacing:.045em;
    color:#efbf73;
  }
  .brand__copy small{
    margin-top:4px;
    font-size:8.5px;
    color:rgba(230,237,232,.68);
  }
  .nav{
    display:flex;
    flex:1 1 auto;
    min-width:0;
    justify-content:center;
    margin-left:2px;
    gap:23px;
  }
  .nav a{
    font-size:12.5px;
    font-weight:600;
    white-space:nowrap;
    color:rgba(244,247,244,.80);
    transition:color .2s ease,transform .2s ease;
  }
  .topbar__actions{
    flex:0 0 auto;
    gap:9px;
    margin-left:4px;
  }
  .social{
    width:42px;
    height:42px;
    flex:0 0 42px;
    border-radius:50%;
    border:1px solid rgba(225,179,100,.20);
    background:rgba(4,20,18,.24);
    color:rgba(237,238,232,.76);
    font-size:11px;
    font-weight:650;
    letter-spacing:.03em;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
    transition:border-color .2s ease,color .2s ease,background .2s ease,transform .2s ease;
  }
  .social--max{
    width:48px;
    flex-basis:48px;
  }
  .header-phone{
    width:220px;
    min-width:220px!important;
    height:56px;
    min-height:56px!important;
    padding:7px 17px 6px!important;
    margin-left:4px;
    display:flex!important;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:2px;
    border:1px solid rgba(225,179,100,.24);
    border-radius:28px;
    background:
      radial-gradient(circle at 30% 0%,rgba(237,191,112,.055),transparent 45%),
      rgba(4,20,18,.29);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
    color:#efbf73;
    text-decoration:none;
    white-space:nowrap;
    transition:border-color .2s ease,background .2s ease,transform .2s ease,box-shadow .2s ease;
  }
  .header-phone__number{
    font-size:14.25px;
    line-height:1.08;
    font-weight:500;
    letter-spacing:.018em;
    color:#f0c57f;
  }
  .header-phone__hours{
    margin:3px 0 0;
    font-size:8.75px;
    line-height:1;
    font-weight:400;
    letter-spacing:.025em;
    color:rgba(229,235,231,.54);
  }
  .header-phone:focus-visible{
    border-color:rgba(239,191,108,.50);
    background:rgba(218,164,78,.07);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 8px 22px rgba(0,0,0,.12);
  }
  .header-phone:focus-visible .header-phone__number{
    color:#ffd18b;
  }
}
@media(min-width:1181px) and (hover:hover) and (pointer:fine){
  .nav a:hover{
    color:#efbd6e;
    transform:translateY(-1px);
  }
  .social:hover,
  .social:focus-visible{
    color:#efbd6e;
    border-color:rgba(235,188,105,.48);
    background:rgba(218,164,78,.07);
    transform:translateY(-1px);
  }
  .header-phone:hover{
    border-color:rgba(239,191,108,.50);
    background:rgba(218,164,78,.07);
    transform:translateY(-1px);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 8px 22px rgba(0,0,0,.12);
  }
  .header-phone:hover .header-phone__number{
    color:#ffd18b;
  }
}

/* Compact desktop */
@media(min-width:1181px) and (max-width:1380px){
  .topbar__inner{
    gap:12px;
    padding-inline:15px;
  }
  .brand{
    min-width:222px;
    gap:10px;
  }
  .brand__mark{
    width:40px;
    height:40px;
    flex-basis:40px;
  }
  .brand__copy b{
    font-size:14px;
  }
  .nav{
    gap:15px;
  }
  .nav a{
    font-size:11.25px;
  }
  .social{
    width:36px;
    height:36px;
    flex-basis:36px;
    font-size:9.5px;
  }
  .social--max{
    width:42px;
    flex-basis:42px;
  }
  .header-phone{
    width:190px;
    min-width:190px!important;
    height:50px;
    min-height:50px!important;
  }
  .header-phone__number{
    font-size:12.75px;
    font-weight:500;
  }
  .header-phone__hours{
    font-size:8px;
    font-weight:400;
  }
}

/* Tablet bridge: navigation is hidden up to 1180px. */
@media(min-width:1121px) and (max-width:1180px){
  .topbar__actions{
    gap:7px;
  }
  .topbar__actions .social--max{
    display:none;
  }
  .header-phone{
    min-width:160px!important;
    min-height:44px!important;
    padding:6px 13px!important;
    border:1px solid rgba(225,179,100,.24)!important;
    border-radius:12px;
    background:rgba(4,20,18,.34)!important;
    color:#efbf73!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.045)!important;
  }
  .header-phone__number{
    font-size:12px;
    color:#f0c57f!important;
  }
  .header-phone__hours{
    font-size:7.5px;
    color:rgba(229,235,231,.56)!important;
  }
}

/* Mobile header fallback.
   More specific mobile-contact rules below may replace these values. */
@media(max-width:1120px){
  .topbar__actions .social--max{
    display:none;
  }
  .header-phone{
    border:1px solid rgba(225,179,100,.24)!important;
    background:rgba(4,20,18,.34)!important;
    color:#efbf73!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.045)!important;
  }
  .header-phone__number{
    color:#f0c57f!important;
  }
  .header-phone__hours{
    color:rgba(229,235,231,.56)!important;
  }
}

/* Reference quiz data/CRM integration — isolated additions only. */
.pq-field--question{
  min-width:0;
  max-width:760px;
  margin-top:8px;
}
.pq-field--question input{
  width:100%;
  min-width:0;
  max-width:100%;
  min-height:64px;
  font-size:17px;
}
.pq-contact-grid--reference{
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:end;
  min-width:0;
}
.pq-contact-grid--reference>*{
  min-width:0;
}
.pq-consent-copy{
  min-width:0;
  max-width:100%;
  margin:0;
  color:#5b6774;
  font-size:12px;
  line-height:1.55;
  align-self:center;
  overflow-wrap:anywhere;
}
@media(max-width:760px){
  .pq-contact-grid--reference{
    grid-template-columns:1fr;
  }
  .pq-field--question input{
    min-height:56px;
    font-size:16px;
  }
}

/* ============================================
   Team block (ap-team-*). Isolated from legacy styles.
   ============================================ */
.ap-team-section{
  position:relative;
  overflow:hidden;
  min-width:0;
  padding:72px 0 78px;
  background:
    radial-gradient(circle at 9% 18%,rgba(212,154,75,.08),transparent 24%),
    radial-gradient(circle at 90% 86%,rgba(17,53,49,.055),transparent 24%),
    #f8f4ed;
  color:#172826;
}
.ap-team-section::before,
.ap-team-section::after{
  content:"";
  position:absolute;
  pointer-events:none;
  opacity:.36;
}
.ap-team-section::before{
  width:280px;
  height:520px;
  left:-185px;
  top:44px;
  border:1px solid rgba(203,145,62,.25);
  border-radius:50%;
  box-shadow:70px 0 0 -1px rgba(248,244,237,1),70px 0 0 0 rgba(203,145,62,.12);
}
.ap-team-section::after{
  right:-70px;
  top:28px;
  width:260px;
  height:260px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(216,166,90,.13),transparent 68%);
  filter:blur(8px);
}
.ap-team-shell{
  position:relative;
  z-index:1;
  min-width:0;
}
.ap-team-head{
  min-width:0;
  margin-bottom:30px;
}
.ap-team-kicker{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  max-width:100%;
  gap:10px;
  margin-bottom:13px;
  color:#bd7e2d;
  font-size:12px;
  font-weight:800;
  letter-spacing:.18em;
}
.ap-team-kicker span:first-child{
  width:34px;
  height:34px;
  flex:0 0 34px;
  border:1px solid rgba(195,133,45,.3);
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:16px;
  background:rgba(255,255,255,.58);
  box-shadow:0 8px 22px rgba(94,66,24,.06);
}
.ap-team-head__row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:34px;
  align-items:end;
  min-width:0;
}
.ap-team-head h2{
  max-width:100%;
  margin:0;
  color:#122b42;
  font-family:Georgia,'Times New Roman',serif;
  font-size:clamp(34px,4.3vw,56px);
  line-height:.98;
  letter-spacing:-.035em;
  font-weight:600;
  overflow-wrap:anywhere;
}
.ap-team-head p{
  max-width:760px;
  margin:18px 0 0;
  color:#596661;
  font-size:14px;
  line-height:1.65;
  overflow-wrap:anywhere;
}
.ap-team-controls{
  display:flex;
  flex:0 0 auto;
  gap:10px;
}
.ap-team-arrow{
  width:46px;
  height:46px;
  flex:0 0 46px;
  border-radius:50%;
  border:1px solid rgba(194,132,45,.42);
  background:rgba(255,255,255,.65);
  color:#ae7224;
  font-size:18px;
  cursor:pointer;
  display:grid;
  place-items:center;
  transition:transform .25s ease,background .25s ease,color .25s ease,box-shadow .25s ease;
}
.ap-team-arrow:focus-visible{
  background:linear-gradient(135deg,#edc77e,#c88a34);
  color:#fff;
  box-shadow:0 10px 24px rgba(160,105,37,.18);
  outline:3px solid rgba(194,132,45,.20);
  outline-offset:3px;
}
.ap-team-arrow:disabled{
  opacity:.34;
  cursor:default;
  transform:none;
  box-shadow:none;
}
.ap-team-viewport{
  min-width:0;
  overflow:hidden;
  margin:0 -4px;
  padding:4px;
  touch-action:pan-y;
}
.ap-team-track{
  display:flex;
  min-width:0;
  gap:16px;
  transition:transform .42s cubic-bezier(.22,.61,.36,1);
}
.ap-team-card{
  position:relative;
  flex:0 0 calc((100% - 32px)/3);
  min-width:0;
  min-height:405px;
  display:flex;
  flex-direction:column;
  padding:24px;
  border:1px solid rgba(195,139,57,.27);
  border-radius:22px;
  background:linear-gradient(155deg,rgba(255,255,255,.92),rgba(253,249,242,.78));
  box-shadow:0 18px 42px rgba(53,45,31,.06),inset 0 1px 0 rgba(255,255,255,.8);
  transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease;
  overflow-wrap:anywhere;
}
.ap-team-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:3px;
  border-radius:22px 22px 0 0;
  background:linear-gradient(90deg,transparent,#d69a45 30%,#ecc87f 50%,#d69a45 70%,transparent);
  opacity:.78;
}
.ap-team-card__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  min-width:0;
  margin-bottom:24px;
}
.ap-team-avatar{
  position:relative;
  overflow:hidden;
  width:76px;
  height:76px;
  flex:0 0 76px;
  border-radius:21px;
  display:grid;
  place-items:center;
  color:#d9a452;
  background:linear-gradient(145deg,#102f2b,#081d1b);
  border:1px solid rgba(229,181,104,.32);
  box-shadow:0 14px 28px rgba(6,31,28,.14),inset 0 1px rgba(255,255,255,.08);
}
.ap-team-avatar::after{
  content:"⚖";
  position:absolute;
  right:-13px;
  bottom:-18px;
  font-size:55px;
  color:rgba(226,179,102,.08);
}
.ap-team-avatar span{
  position:relative;
  z-index:1;
  font-family:Georgia,'Times New Roman',serif;
  font-size:23px;
  letter-spacing:.03em;
}
.ap-team-index{
  font-family:Georgia,'Times New Roman',serif;
  color:#cba05e;
  font-size:16px;
  letter-spacing:.08em;
  padding-top:4px;
}
.ap-team-card__body{
  flex:1;
  min-width:0;
}
.ap-team-name{
  max-width:100%;
  margin:0 0 8px;
  color:#b57929;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-weight:800;
  overflow-wrap:anywhere;
}
.ap-team-name--muted{color:#8b958f}
.ap-team-card h3{
  max-width:100%;
  margin:0 0 14px;
  color:#132c41;
  font-family:Georgia,'Times New Roman',serif;
  font-size:22px;
  line-height:1.16;
  font-weight:600;
  overflow-wrap:anywhere;
}
.ap-team-card__body>p:last-child{
  max-width:100%;
  margin:0;
  color:#5c6661;
  font-size:13px;
  line-height:1.62;
  overflow-wrap:anywhere;
}
.ap-team-card__foot{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  min-width:0;
  gap:8px 10px;
  margin-top:22px;
  padding-top:17px;
  border-top:1px solid rgba(187,155,103,.22);
}
.ap-team-badge,
.ap-team-role-chip{
  display:inline-flex;
  align-items:center;
  max-width:100%;
  min-width:0;
  gap:7px;
  border:1px solid rgba(186,130,47,.24);
  background:#fff9ef;
  border-radius:999px;
  padding:7px 10px;
  color:#936220;
  font-size:10px;
  font-weight:750;
  white-space:normal;
  overflow-wrap:anywhere;
}
.ap-team-badge span{
  width:17px;
  height:17px;
  flex:0 0 17px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#d7a14f;
  color:#fff;
  font-size:10px;
}
.ap-team-certificate{
  max-width:100%;
  font-size:10px;
  color:#6f7773;
  overflow-wrap:anywhere;
}
.ap-team-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-width:0;
  gap:28px;
  margin-top:28px;
  padding-top:24px;
  border-top:1px solid rgba(187,146,79,.23);
}
.ap-team-note{
  display:flex;
  align-items:flex-start;
  min-width:0;
  max-width:760px;
  gap:13px;
}
.ap-team-note>span{
  display:grid;
  place-items:center;
  width:31px;
  height:31px;
  flex:0 0 31px;
  border-radius:50%;
  background:#102f2b;
  color:#dca958;
  font-family:Georgia,serif;
}
.ap-team-note p{
  min-width:0;
  max-width:100%;
  margin:2px 0 0;
  color:#66716c;
  font-size:12px;
  line-height:1.55;
  overflow-wrap:anywhere;
}
.ap-team-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 1 auto;
  min-width:0;
  max-width:100%;
  min-height:48px;
  gap:14px;
  padding:10px 24px;
  border-radius:12px;
  background:linear-gradient(135deg,#e9bd70,#c98a34);
  color:#fff;
  font-size:12px;
  line-height:1.25;
  font-weight:800;
  text-align:center;
  white-space:normal;
  overflow-wrap:anywhere;
  box-shadow:0 12px 24px rgba(176,112,36,.18);
  transition:transform .25s ease,box-shadow .25s ease;
}
.ap-team-cta:focus-visible{
  box-shadow:0 16px 30px rgba(176,112,36,.25);
  outline:3px solid rgba(201,138,52,.22);
  outline-offset:3px;
}
@media(hover:hover) and (pointer:fine){
  .ap-team-arrow:hover{
    background:linear-gradient(135deg,#edc77e,#c88a34);
    color:#fff;
    transform:translateY(-2px);
    box-shadow:0 10px 24px rgba(160,105,37,.18);
  }
  .ap-team-card:hover{
    transform:translateY(-5px);
    border-color:rgba(195,139,57,.52);
    box-shadow:0 24px 52px rgba(75,55,24,.10),inset 0 1px 0 #fff;
  }
  .ap-team-cta:hover{
    transform:translateY(-2px);
    box-shadow:0 16px 30px rgba(176,112,36,.25);
  }
}
@media(max-width:980px){
  .ap-team-card{flex-basis:calc((100% - 16px)/2)}
  .ap-team-head__row{grid-template-columns:minmax(0,1fr) auto}
}
@media(max-width:700px){
  .ap-team-section{padding:54px 0 58px}
  .ap-team-head__row{grid-template-columns:1fr;gap:20px}
  .ap-team-controls{justify-content:flex-start}
  .ap-team-card{flex-basis:88%;min-height:390px;padding:21px}
  .ap-team-head h2{font-size:38px}
  .ap-team-bottom{
    align-items:stretch;
    flex-direction:column;
  }
  .ap-team-cta{width:100%}
}
@media(max-width:460px){
  .ap-team-card{flex-basis:94%;min-height:375px;border-radius:18px}
  .ap-team-avatar{width:68px;height:68px;flex-basis:68px;border-radius:18px}
  .ap-team-card h3{font-size:20px}
  .ap-team-head h2{font-size:33px}
}

/* Team portraits — supplied photos */
.ap-team-card{min-height:600px}
.ap-team-photo-wrap{
  position:relative;
  width:100%;
  min-width:0;
  height:255px;
  margin-bottom:22px;
  overflow:hidden;
  border-radius:17px;
  border:1px solid rgba(195,139,57,.22);
  background:linear-gradient(145deg,#f5f0e8,#eee7dc);
  box-shadow:0 14px 30px rgba(49,41,29,.08),inset 0 1px 0 rgba(255,255,255,.82);
}
.ap-team-photo{
  display:block;
  width:100%;
  max-width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 20%;
  transform:scale(1.002);
  filter:saturate(.94) contrast(1.02);
  transition:transform .42s cubic-bezier(.22,.61,.36,1),filter .35s ease;
}
.ap-team-photo-wrap::after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:34%;
  background:linear-gradient(180deg,transparent,rgba(8,31,28,.08));
  pointer-events:none;
}
.ap-team-photo-wrap .ap-team-index{
  position:absolute;
  z-index:2;
  top:13px;
  right:13px;
  min-width:43px;
  height:34px;
  padding:0 11px;
  display:grid;
  place-items:center;
  border:1px solid rgba(238,203,142,.38);
  border-radius:999px;
  background:rgba(7,31,28,.78);
  -webkit-backdrop-filter:blur(10px) saturate(130%);
  backdrop-filter:blur(10px) saturate(130%);
  color:#efc980;
  box-shadow:0 8px 22px rgba(0,0,0,.12),inset 0 1px rgba(255,255,255,.08);
}
.ap-team-card:nth-child(1) .ap-team-photo{object-position:center 17%}
.ap-team-card:nth-child(2) .ap-team-photo{object-position:center 16%}
.ap-team-card:nth-child(3) .ap-team-photo{object-position:center 15%}
.ap-team-card:nth-child(4) .ap-team-photo{object-position:center 18%}
.ap-team-card:nth-child(5) .ap-team-photo{object-position:center 18%}
@media(hover:hover) and (pointer:fine){
  .ap-team-card:hover .ap-team-photo{
    transform:scale(1.025);
    filter:saturate(.98) contrast(1.025);
  }
}
@media(max-width:980px){
  .ap-team-card{min-height:570px}
  .ap-team-photo-wrap{height:245px}
}
@media(max-width:700px){
  .ap-team-card{min-height:560px}
  .ap-team-photo-wrap{height:245px;margin-bottom:19px}
}
@media(max-width:460px){
  .ap-team-card{min-height:545px}
  .ap-team-photo-wrap{height:230px;border-radius:15px}
}
@media(prefers-reduced-motion:reduce){
  .ap-team-arrow,
  .ap-team-card,
  .ap-team-photo,
  .ap-team-cta{
    transition:none!important;
  }
}

/* Team refinement: more compact section, taller portrait windows, advocate certificate modal */
.ap-team-section{padding:58px 0 62px}
.ap-team-head{margin-bottom:22px}
.ap-team-kicker{margin-bottom:10px;font-size:11px}
.ap-team-head h2{font-size:clamp(32px,3.9vw,50px);line-height:1}
.ap-team-head p{margin-top:13px;font-size:13px;line-height:1.55;max-width:700px}
.ap-team-track{gap:14px}
.ap-team-card{
  flex-basis:calc((100% - 28px)/3);
  min-height:570px;
  padding:18px;
  border-radius:20px;
}
.ap-team-card::before{border-radius:20px 20px 0 0}
.ap-team-photo-wrap{
  height:310px;
  margin-bottom:16px;
  border-radius:16px;
}
.ap-team-name{margin-bottom:6px;font-size:11px}
.ap-team-card h3{margin-bottom:10px;font-size:20px;line-height:1.14}
.ap-team-card__body>p:last-child{font-size:12px;line-height:1.48}
.ap-team-card__foot{margin-top:14px;padding-top:13px;gap:7px 8px}
.ap-team-badge,.ap-team-role-chip{padding:6px 9px;font-size:9.5px}
.ap-team-certificate--button{
  appearance:none;
  max-width:100%;
  border:0;
  padding:4px 0;
  background:transparent;
  color:#9b6724;
  font:inherit;
  font-size:10px;
  line-height:1.25;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:5px;
  white-space:normal;
  overflow-wrap:anywhere;
  text-align:left;
  border-bottom:1px dashed rgba(157,105,35,.38);
  transition:color .2s ease,border-color .2s ease,transform .2s ease;
}
.ap-team-certificate--button:focus-visible{
  color:#c4862f;
  border-color:#c4862f;
  outline:2px solid rgba(196,134,47,.24);
  outline-offset:3px;
}
.ap-team-certificate--button span{flex:0 0 auto;font-size:11px}
.ap-team-bottom{margin-top:22px;padding-top:18px}
.ap-team-note p{font-size:11.5px}
.ap-team-cta{min-height:44px;padding:0 21px}
@media(hover:hover) and (pointer:fine){
  .ap-team-certificate--button:hover{
    color:#c4862f;
    border-color:#c4862f;
    transform:translateY(-1px);
  }
}

/* Portrait crop: taller windows intentionally show more of each person */
.ap-team-card:nth-child(1) .ap-team-photo{object-position:center 20%}
.ap-team-card:nth-child(2) .ap-team-photo{object-position:center 19%}
.ap-team-card:nth-child(3) .ap-team-photo{object-position:center 18%}
.ap-team-card:nth-child(4) .ap-team-photo{object-position:center 20%}
.ap-team-card:nth-child(5) .ap-team-photo{object-position:center 20%}

/* Certificate modal */
.ap-cert-modal[hidden]{display:none}
.ap-cert-modal{
  position:fixed;
  inset:0;
  z-index:9999;
  display:grid;
  place-items:center;
  min-width:0;
  padding:22px;
}
.ap-cert-modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(4,19,18,.72);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
}
.ap-cert-modal__dialog{
  position:relative;
  z-index:1;
  width:min(920px,calc(100vw - 32px));
  min-width:0;
  max-height:calc(100vh - 44px);
  max-height:calc(100dvh - 44px);
  overflow:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  border:1px solid rgba(213,158,78,.42);
  border-radius:22px;
  background:linear-gradient(155deg,#fffdf8,#f5efe5);
  box-shadow:0 34px 90px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.9);
  padding:24px;
  animation:apCertIn .24s ease both;
}
@keyframes apCertIn{
  from{opacity:0;transform:translateY(10px) scale(.985)}
  to{opacity:1;transform:none}
}
.ap-cert-modal__close{
  position:absolute;
  right:16px;
  top:16px;
  width:40px;
  height:40px;
  border-radius:50%;
  border:1px solid rgba(183,126,43,.28);
  background:rgba(255,255,255,.72);
  color:#8f5d1e;
  font-size:24px;
  line-height:1;
  cursor:pointer;
  display:grid;
  place-items:center;
  transition:background .2s ease,transform .2s ease;
}
.ap-cert-modal__close:focus-visible{
  background:#fff4df;
  outline:3px solid rgba(183,126,43,.20);
  outline-offset:3px;
}
.ap-cert-modal__head{
  min-width:0;
  padding-right:52px;
  margin-bottom:16px;
}
.ap-cert-modal__kicker{
  display:block;
  color:#b87927;
  font-size:10px;
  font-weight:800;
  letter-spacing:.16em;
  margin-bottom:6px;
}
.ap-cert-modal__head h3{
  max-width:100%;
  margin:0;
  color:#122b42;
  font-family:Georgia,'Times New Roman',serif;
  font-size:28px;
  line-height:1.1;
  font-weight:600;
  overflow-wrap:anywhere;
}
.ap-cert-modal__head p{
  max-width:100%;
  margin:6px 0 0;
  color:#68726d;
  font-size:12px;
  overflow-wrap:anywhere;
}
.ap-cert-modal__image-wrap{
  min-width:0;
  overflow:hidden;
  border-radius:15px;
  border:1px solid rgba(195,139,57,.25);
  background:#ede7df;
  box-shadow:0 14px 34px rgba(55,45,28,.08);
}
.ap-cert-modal__image-wrap img{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  max-height:62vh;
  max-height:62dvh;
  object-fit:contain;
  background:#f4f0e9;
}
.ap-cert-modal__foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-width:0;
  gap:18px;
  margin-top:14px;
  color:#78817c;
  font-size:10px;
}
.ap-cert-modal__foot span{
  min-width:0;
  overflow-wrap:anywhere;
}
.ap-cert-modal__foot a{
  flex:0 0 auto;
  color:#a86e25;
  font-weight:700;
}
body.ap-cert-open{overflow:hidden}

/* apCertModal is inside the shared situations/team stacking context.
   Raise that parent above the sticky header only while the modal is open. */
body.ap-cert-open .situations-team-background{
  z-index:100!important;
  overflow:visible!important;
}

@media(hover:hover) and (pointer:fine){
  .ap-cert-modal__close:hover{
    background:#fff4df;
    transform:rotate(3deg);
  }
}

@media(max-width:980px){
  .ap-team-card{flex-basis:calc((100% - 14px)/2);min-height:555px}
  .ap-team-photo-wrap{height:300px}
}
@media(max-width:700px){
  .ap-team-section{padding:48px 0 52px}
  .ap-team-card{flex-basis:86%;min-height:540px;padding:17px}
  .ap-team-photo-wrap{height:315px;margin-bottom:15px}
  .ap-team-head h2{font-size:36px}
  .ap-team-bottom{margin-top:18px;padding-top:16px}
  .ap-cert-modal{
    place-items:start center;
    overflow-y:auto;
    padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom));
  }
  .ap-cert-modal__dialog{
    width:100%;
    max-height:calc(100vh - 24px);
    max-height:calc(100dvh - 24px);
    border-radius:18px;
    padding:18px;
  }
  .ap-cert-modal__head h3{font-size:24px}
  .ap-cert-modal__image-wrap img{
    max-height:68vh;
    max-height:68dvh;
  }
  .ap-cert-modal__foot{
    align-items:flex-start;
    flex-direction:column;
    gap:7px;
  }
}
@media(max-width:460px){
  .ap-team-card{flex-basis:92%;min-height:525px;border-radius:17px}
  .ap-team-photo-wrap{height:300px;border-radius:14px}
  .ap-team-card h3{font-size:19px}
  .ap-team-head h2{font-size:31px}
}

/* Reviews — natural Yandex-style horizontal feed */
.reviews-section{
  background:
    radial-gradient(circle at 12% 18%,rgba(219,171,90,.055),transparent 28%),
    linear-gradient(90deg,#0a2421 0%,#0d2e2a 56%,#0a2422 100%);
  color:#fff;
  padding:54px 0 58px;
  overflow:hidden;
}
.reviews-wrap{
  display:grid;
  grid-template-columns:minmax(260px,330px) minmax(0,1fr);
  min-width:0;
  gap:40px;
  align-items:center;
}
.reviews-copy{
  min-width:0;
}
.reviews-kicker{
  margin:0 0 10px!important;
  color:#dda957!important;
  font-size:10px!important;
  font-weight:750;
  letter-spacing:.16em;
}
.reviews-copy h2{
  max-width:100%;
  margin:0 0 15px;
  font-size:31px;
  line-height:1.08;
  letter-spacing:-.025em;
  overflow-wrap:anywhere;
}
.reviews-copy p:not(.reviews-kicker){
  max-width:315px;
  margin:0;
  color:#ccd7d2;
  font-size:12px;
  line-height:1.65;
  overflow-wrap:anywhere;
}
.reviews-hint{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:20px;
  color:#aebcb6;
  font-size:10px;
}
.reviews-hint span{
  width:27px;
  height:27px;
  flex:0 0 27px;
  border:1px solid rgba(224,174,90,.32);
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#e0ac58;
  font-size:15px;
}
.review-scroll-shell{
  position:relative;
  min-width:0;
}
.review-track{
  display:flex;
  min-width:0;
  gap:14px;
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  padding:6px 22px 14px 2px;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  overscroll-behavior-inline:contain;
  transform:none!important;
  scrollbar-width:thin;
  scrollbar-color:rgba(219,166,80,.7) rgba(255,255,255,.09);
  -webkit-overflow-scrolling:touch;
}
.review-track::-webkit-scrollbar{height:5px}
.review-track::-webkit-scrollbar-track{
  background:rgba(255,255,255,.08);
  border-radius:999px;
}
.review-track::-webkit-scrollbar-thumb{
  background:linear-gradient(90deg,#e3b263,#c98b38);
  border-radius:999px;
}
.review-track:focus-visible{
  outline:2px solid rgba(226,178,99,.75);
  outline-offset:5px;
  border-radius:10px;
}
.review-card{
  flex:0 0 clamp(285px,31vw,355px);
  min-width:0;
  scroll-snap-align:start;
  min-height:246px;
  padding:20px 20px 17px;
  border-radius:13px;
  border:1px solid rgba(17,29,27,.07);
  background:#fff;
  color:#242a28;
  box-shadow:0 12px 26px rgba(0,0,0,.13);
  display:flex;
  flex-direction:column;
  transition:transform .22s ease,box-shadow .22s ease;
}
.review-head{
  display:flex;
  align-items:center;
  min-width:0;
  gap:10px;
  margin-bottom:13px;
}
.review-head>div{
  min-width:0;
}
.review-card .avatar{
  float:none;
  margin:0;
  width:38px;
  height:38px;
  flex:0 0 38px;
  border-radius:50%;
  background:linear-gradient(145deg,#edf2f5,#dde6eb);
  color:#526d7b;
  font-size:13px;
  font-weight:650;
}
.review-card h3{
  max-width:100%;
  margin:0 0 3px;
  font-size:13px;
  line-height:1.2;
  font-weight:650;
  color:#202624;
  overflow-wrap:anywhere;
}
.review-stars{
  color:#e2a544;
  font-size:12px;
  letter-spacing:1.1px;
  line-height:1;
  white-space:nowrap;
}
.review-card p{
  min-width:0;
  margin:0;
  color:#414846;
  font-size:11.5px;
  line-height:1.58;
  flex:1;
  overflow-wrap:anywhere;
}
.review-meta{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  min-width:0;
  gap:12px;
  margin-top:18px;
  padding-top:12px;
  border-top:1px solid #edf0ee;
  color:#8a918e;
  font-size:9px;
  line-height:1.35;
}
.review-meta span{
  min-width:0;
  max-width:70%;
  overflow-wrap:anywhere;
}
.review-meta time{
  position:static;
  flex:0 0 auto;
  color:#8a918e;
  font-size:9px;
  white-space:nowrap;
}
.review-scroll-fade--right{
  position:absolute;
  z-index:3;
  top:0;
  right:0;
  bottom:12px;
  width:34px;
  pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(10,36,34,.84));
}
@media(hover:hover) and (pointer:fine){
  .review-card:hover{
    transform:translateY(-3px);
    box-shadow:0 17px 34px rgba(0,0,0,.17);
  }
}
@media(max-width:1120px){
  .reviews-wrap{grid-template-columns:250px minmax(0,1fr);gap:28px}
  .review-card{flex-basis:320px}
}
@media(max-width:760px){
  .reviews-section{padding:43px 0 46px}
  .reviews-wrap{grid-template-columns:1fr;gap:24px}
  .reviews-copy h2{font-size:27px}
  .reviews-copy p:not(.reviews-kicker){max-width:none}
  .reviews-hint{margin-top:14px}
  .review-track{
    margin-right:-14px;
    width:calc(100% + 14px);
    padding-right:34px;
  }
  .review-card{
    flex-basis:min(86vw,330px);
    min-height:260px;
  }
  .review-scroll-fade--right{right:-14px}
}

/* Team carousel refinement: no card numbering, draggable bottom scrollbar */
.ap-team-head__row{
  grid-template-columns:minmax(0,1fr);
}
.ap-team-controls{display:none!important}
.ap-team-photo-wrap .ap-team-index,
.ap-team-index{display:none!important}
.ap-team-viewport{
  overflow-x:auto!important;
  overflow-y:hidden!important;
  min-width:0;
  margin:0 -4px;
  padding:4px 4px 10px;
  scroll-behavior:smooth;
  scroll-snap-type:x proximity;
  overscroll-behavior-x:contain;
  touch-action:pan-x pan-y;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.ap-team-viewport::-webkit-scrollbar{
  display:none;
  width:0;
  height:0;
}
.ap-team-track{
  min-width:0;
  transform:none!important;
  transition:none!important;
}
.ap-team-card{scroll-snap-align:start}
.ap-team-scrollbar{
  margin-top:12px;
  padding:3px 4px 8px;
  user-select:none;
  -webkit-user-select:none;
}
.ap-team-scrollbar__rail{
  position:relative;
  height:7px;
  border-radius:999px;
  background:linear-gradient(90deg,rgba(184,126,42,.10),rgba(194,142,66,.18),rgba(184,126,42,.10));
  border:1px solid rgba(177,119,37,.16);
  box-shadow:inset 0 1px 3px rgba(73,48,16,.06);
  cursor:pointer;
}
.ap-team-scrollbar__thumb{
  position:absolute;
  left:0;
  top:-2px;
  height:9px;
  min-width:58px;
  border:0;
  border-radius:999px;
  background:linear-gradient(90deg,#c98a34,#e4b663 50%,#c98a34);
  box-shadow:0 4px 12px rgba(160,103,31,.20),inset 0 1px rgba(255,255,255,.35);
  cursor:grab;
  touch-action:none;
  padding:0;
  transition:box-shadow .2s ease,filter .2s ease;
}
.ap-team-scrollbar__thumb:focus-visible{
  filter:brightness(1.04);
  box-shadow:0 5px 15px rgba(160,103,31,.28),0 0 0 3px rgba(209,151,65,.10);
  outline:none;
}
.ap-team-scrollbar__thumb.is-dragging{
  cursor:grabbing;
  filter:brightness(1.07);
}
@media(hover:hover) and (pointer:fine){
  .ap-team-scrollbar__thumb:hover{
    filter:brightness(1.04);
    box-shadow:0 5px 15px rgba(160,103,31,.28),0 0 0 3px rgba(209,151,65,.10);
  }
}
@media(max-width:700px){
  .ap-team-scrollbar{margin-top:9px;padding-bottom:4px}
  .ap-team-scrollbar__rail{height:6px}
  .ap-team-scrollbar__thumb{height:8px;min-width:46px}
}
@media(prefers-reduced-motion:reduce){
  .ap-cert-modal__dialog{
    animation:none!important;
  }
  .ap-team-certificate--button,
  .ap-cert-modal__close,
  .review-card,
  .ap-team-scrollbar__thumb{
    transition:none!important;
  }
  .review-track,
  .ap-team-viewport{
    scroll-behavior:auto!important;
  }
}

/* ==========================================================
   Unified site rhythm & readable scale
   Shared rhythm only. Component-specific final sizing remains
   in the dedicated team, quiz and FAQ blocks below.
   ========================================================== */
:root{
  --ap-section-y:60px;
  --ap-section-title:clamp(30px,3vw,38px);
  --ap-body:14px;
}

/* Shared vertical rhythm */
.xref-situations,
.section,
.faq-section,
.reviews-section{
  padding-top:var(--ap-section-y)!important;
  padding-bottom:var(--ap-section-y)!important;
}

/* Preserve the intentional compact top spacing of pricing. */
.section.section--tight-top{
  padding-top:28px!important;
}

/* Shared heading scale */
.section-title h2,
.xref-section-head h2,
.reviews-copy h2{
  font-size:var(--ap-section-title)!important;
  line-height:1.08!important;
  letter-spacing:-.025em!important;
}
.section-title,
.xref-section-head{
  margin-bottom:28px!important;
}
.section-title p,
.xref-section-head p,
.reviews-copy p:not(.reviews-kicker){
  font-size:var(--ap-body)!important;
  line-height:1.6!important;
}

/* Legacy/core blocks: readable minimum scale */
.process-grid h3{font-size:14px!important;line-height:1.32!important}
.process-grid p{font-size:12.5px!important;line-height:1.52!important}
.process-grid article{min-height:176px;padding:32px 15px 20px}

.price-card h3{font-size:15px!important}
.price-card li{font-size:12.5px!important;line-height:1.48}
.full-service h3{font-size:15px!important}
.full-service p{font-size:12.5px!important;line-height:1.5}

.docs-grid h3{font-size:13.5px!important;line-height:1.32}
.docs-grid p{font-size:12px!important;line-height:1.5}
.docs-grid article{min-height:142px;padding:19px 15px}
.doc-note{font-size:13px!important}

/* Situation cards */
.xref-pain-card h3{font-size:18px!important;line-height:1.25!important}
.xref-pain-card p{font-size:13.5px!important;line-height:1.55!important}
.xref-btn{font-size:12.5px!important}

/* FAQ base readability.
   The prospects-reference-zone rules below remain authoritative there. */
.faq-grid{gap:12px!important}
.faq-grid details{border-radius:12px!important;padding:0 18px!important}
.faq-grid summary{
  font-size:14px!important;
  line-height:1.4!important;
  padding:16px 28px 16px 0!important;
}
.faq-grid p{
  font-size:13px!important;
  line-height:1.6!important;
  margin-bottom:16px!important;
}

/* Reviews stay compact but readable */
.reviews-copy p:not(.reviews-kicker){max-width:330px!important}
.review-card p{font-size:12.5px!important;line-height:1.58!important}
.review-card h3{font-size:13.5px!important}
.review-meta,
.review-meta time{font-size:10px!important}

@media(max-width:980px){
  :root{
    --ap-section-y:52px;
    --ap-section-title:clamp(29px,4.5vw,36px);
  }
  .process-grid p{font-size:13px!important}
}

@media(max-width:760px){
  :root{
    --ap-section-y:46px;
    --ap-section-title:30px;
    --ap-body:13.5px;
  }
  .section-title,
  .xref-section-head{
    margin-bottom:22px!important;
  }
  .section.section--tight-top{
    padding-top:28px!important;
  }
  .process-grid article{min-height:170px}
  .process-grid h3{font-size:14px!important}
  .process-grid p{font-size:13px!important}
  .price-card li,
  .full-service p,
  .docs-grid p{font-size:13px!important}
  .docs-grid h3{font-size:14px!important}
  .xref-pain-card h3{font-size:18px!important}
  .xref-pain-card p{font-size:13.5px!important}
  .reviews-copy p:not(.reviews-kicker){max-width:none!important}
  .faq-grid summary{font-size:14px!important}
  .faq-grid p{font-size:13px!important}
}

@media(max-width:460px){
  :root{
    --ap-section-y:42px;
    --ap-section-title:28px;
  }
  .review-card p{font-size:12.5px!important}
}
/* ==========================================================
   Team scrolling UX refinement
   Native, familiar bottom scrollbar + drag-to-scroll.
   ========================================================== */
.ap-team-scrollbar{display:none!important}
.ap-team-viewport{
  min-width:0;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding-bottom:16px!important;
  cursor:grab;
  scrollbar-width:auto!important;
  scrollbar-color:#d8a04c rgba(176,126,54,.13)!important;
  -ms-overflow-style:auto!important;
  scroll-snap-type:x proximity!important;
  scroll-padding-inline:4px;
}
.ap-team-viewport.is-dragging{
  cursor:grabbing;
  scroll-snap-type:none!important;
  user-select:none;
  -webkit-user-select:none;
}
.ap-team-viewport::-webkit-scrollbar{
  display:block!important;
  width:auto!important;
  height:11px!important;
}
.ap-team-viewport::-webkit-scrollbar-track{
  background:linear-gradient(90deg,rgba(184,126,42,.08),rgba(194,142,66,.16),rgba(184,126,42,.08));
  border:1px solid rgba(177,119,37,.12);
  border-radius:999px;
  box-shadow:inset 0 1px 3px rgba(73,48,16,.05);
}
.ap-team-viewport::-webkit-scrollbar-thumb{
  background:linear-gradient(90deg,#c98a34 0%,#e9bd70 48%,#cf9139 100%);
  border:2px solid #f7f1e8;
  border-radius:999px;
  box-shadow:0 2px 8px rgba(126,79,23,.18);
}
.ap-team-card{scroll-snap-stop:normal}
@media(hover:hover) and (pointer:fine){
  .ap-team-viewport::-webkit-scrollbar-thumb:hover{
    background:linear-gradient(90deg,#bb7927 0%,#e2ad58 48%,#c5802b 100%);
  }
}
@media(max-width:700px){
  .ap-team-viewport{
    padding-bottom:12px!important;
    cursor:auto;
    scrollbar-width:thin!important;
  }
  .ap-team-viewport::-webkit-scrollbar{height:7px!important}
  .ap-team-viewport::-webkit-scrollbar-thumb{border-width:1px}
}

/* Quiz communities — compact links inside the prospects block */
.pq-communities{
  min-width:0;
  margin:16px auto 0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}
.pq-communities__label{
  max-width:100%;
  color:#6b7785;
  font-size:11px;
  font-weight:700;
  letter-spacing:.055em;
  text-transform:uppercase;
  white-space:nowrap;
}
.pq-communities__links{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  max-width:100%;
  gap:8px;
  flex-wrap:wrap;
}
.pq-community{
  min-width:0;
  max-width:100%;
  min-height:38px;
  padding:5px 13px 5px 6px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(193,137,44,.30);
  border-radius:999px;
  background:linear-gradient(145deg,rgba(255,255,255,.78),rgba(255,250,239,.56));
  color:#173451;
  font-size:12px;
  font-weight:650;
  text-align:center;
  overflow-wrap:anywhere;
  box-shadow:0 5px 15px rgba(92,66,25,.045),inset 0 1px 0 rgba(255,255,255,.9);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease;
}
.pq-community__icon{
  width:27px;
  height:27px;
  flex:0 0 27px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:linear-gradient(145deg,#edc76b,#c68a2a);
  color:#fff;
  font-size:9px;
  font-weight:800;
  letter-spacing:.02em;
  box-shadow:0 5px 11px rgba(177,119,25,.15);
}
.pq-community:focus-visible{
  outline:3px solid rgba(42,99,151,.17);
  outline-offset:2px;
}
@media(hover:hover) and (pointer:fine){
  .pq-community:hover{
    transform:translateY(-1px);
    border-color:rgba(186,124,26,.62);
    background:#fffdf8;
    box-shadow:0 9px 22px rgba(108,75,23,.08);
  }
}
@media(max-width:720px){
  .pq-communities{gap:9px;margin-top:14px}
  .pq-communities__label{
    width:100%;
    font-size:10px;
    white-space:normal;
  }
  .pq-communities__links{gap:7px}
  .pq-community{
    min-height:36px;
    padding-right:11px;
    font-size:11.5px;
  }
  .pq-community__icon{
    width:25px;
    height:25px;
    flex-basis:25px;
    font-size:8.5px;
  }
}
@media(max-width:430px){
  .pq-communities__links{
    width:100%;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .pq-community{
    width:100%;
    justify-content:center;
    padding:5px 8px;
  }
  .pq-community span:last-child{display:none}
  .pq-community__icon{
    width:27px;
    height:27px;
    flex-basis:27px;
  }
}

/* Team consultation CTA opens the same amoCRM lead modal as situation cards. */
.ap-team-cta{
  border:0;
  font-family:inherit;
  cursor:pointer;
  text-decoration:none;
}

/* Documents: simple three-step explanation */
.doc-services{
  position:relative;
  overflow:hidden;
  min-width:0;
  padding:52px 0 54px;
  background:
    radial-gradient(circle at 16% 18%,rgba(220,164,82,.06),transparent 26%),
    radial-gradient(circle at 90% 82%,rgba(14,46,42,.035),transparent 30%),
    #faf7f2;
}
.doc-services__container{
  position:relative;
  z-index:1;
  min-width:0;
}
.doc-services__head{
  max-width:900px;
  min-width:0;
  margin:0 auto 34px;
  text-align:center;
}
.doc-services__kicker{
  margin-bottom:10px;
  color:#b77b2d;
  font-size:10px;
  font-weight:800;
  letter-spacing:.13em;
}
.doc-services__head h2{
  max-width:100%;
  margin:0;
  color:#172522;
  font-size:clamp(31px,3.1vw,43px);
  line-height:1.08;
  letter-spacing:-.035em;
  overflow-wrap:anywhere;
}
.doc-services__head h2 span{color:#b77b2d}
.doc-services__head>p{
  max-width:760px;
  margin:15px auto 0;
  color:#66706c;
  font-size:14px;
  line-height:1.65;
  overflow-wrap:anywhere;
}
.doc-services__steps{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  max-width:1100px;
  min-width:0;
  margin:0 auto;
  border-top:1px solid rgba(200,164,109,.34);
  border-bottom:1px solid rgba(200,164,109,.25);
}
.doc-services__step{
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  gap:15px;
  align-items:start;
  min-width:0;
  padding:25px 28px 26px;
  background:transparent;
}
.doc-services__step>div{min-width:0}
.doc-services__step+.doc-services__step{
  border-left:1px solid rgba(200,164,109,.28);
}
.doc-services__number{
  display:block;
  color:#c48b3e;
  font-family:Georgia,'Times New Roman',serif;
  font-size:28px;
  line-height:1;
  letter-spacing:-.03em;
}
.doc-services__step h3{
  max-width:100%;
  margin:0 0 7px;
  color:#1b2926;
  font-size:16px;
  line-height:1.3;
  letter-spacing:-.01em;
  overflow-wrap:anywhere;
}
.doc-services__step p{
  max-width:100%;
  margin:0;
  color:#59635e;
  font-size:14px;
  line-height:1.55;
  overflow-wrap:anywhere;
}
.doc-services__action{
  display:flex;
  flex-direction:column;
  align-items:center;
  min-width:0;
  gap:10px;
  margin:27px auto 0;
  text-align:center;
}
.doc-services__action .btn{
  min-width:235px;
  max-width:100%;
  padding:13px 24px;
  font-size:12px;
  white-space:normal;
}
.doc-services__action p{
  max-width:600px;
  margin:0;
  color:#59635e;
  font-size:13px;
  line-height:1.5;
  overflow-wrap:anywhere;
}
@media(max-width:900px){
  .doc-services{padding:48px 0 50px}
  .doc-services__head{margin-bottom:28px}
  .doc-services__steps{grid-template-columns:1fr}
  .doc-services__step{
    grid-template-columns:44px minmax(0,1fr);
    padding:20px 12px;
  }
  .doc-services__step+.doc-services__step{
    border-left:0;
    border-top:1px solid rgba(200,164,109,.25);
  }
}
@media(max-width:760px){
  .doc-services{padding:43px 0 45px}
  .doc-services__head{
    margin-bottom:24px;
    text-align:left;
  }
  .doc-services__head h2{font-size:30px}
  .doc-services__head>p{
    margin-top:13px;
    font-size:13px;
  }
  .doc-services__step{
    grid-template-columns:38px minmax(0,1fr);
    gap:12px;
    padding:18px 2px;
  }
  .doc-services__number{font-size:24px}
  .doc-services__step h3{font-size:15px}
  .doc-services__step p{font-size:14px}
  .doc-services__action{
    align-items:stretch;
    margin-top:23px;
    text-align:left;
  }
  .doc-services__action .btn{
    width:100%;
    min-width:0;
  }
  .doc-services__action p{
    text-align:center;
    font-size:13px;
  }
}
@media(max-width:460px){
  .doc-services__head h2{font-size:27px}
}

/* Selected service inside the shared lead modal. */
.xref-lead-modal__selection{
  display:grid;
  min-width:0;
  max-width:100%;
  gap:5px;
  padding:13px 15px;
  border:1px solid rgba(209,154,80,.38);
  border-radius:14px;
  background:linear-gradient(135deg,rgba(209,154,80,.10),rgba(255,255,255,.72));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85);
}
.xref-lead-modal__selection span{
  max-width:100%;
  color:#7a817e;
  font-size:11px;
  line-height:1.2;
  letter-spacing:.055em;
  text-transform:uppercase;
  overflow-wrap:anywhere;
}
.xref-lead-modal__selection strong{
  max-width:100%;
  color:#162421;
  font-size:14px;
  line-height:1.35;
  font-weight:750;
  overflow-wrap:anywhere;
}
.price-card button.btn,
.full-service button.btn{
  font-family:inherit;
  cursor:pointer;
}
@media(max-width:720px){
  .xref-lead-modal__selection{padding:12px 13px}
  .xref-lead-modal__selection strong{font-size:13px}
}

@media(prefers-reduced-motion:reduce){
  .pq-community{transition:none!important}
  .ap-team-viewport{scroll-behavior:auto!important}
}

/* ===== Reference-inspired application modal + installment strip (2026-08-20) ===== */
.sr-only{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  clip-path:inset(50%)!important;
  white-space:nowrap!important;
  border:0!important;
}

/* Installment strip — structural fallback.
   Final light appearance is defined later in styles.css. */
.installment-strip{
  position:relative;
  min-width:0;
  padding:24px 0 34px;
  background:#f7f4ed;
}
.installment-strip__card{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.25fr) auto auto;
  gap:26px;
  align-items:center;
  min-width:0;
  padding:27px 30px;
  border:1px solid rgba(207,159,86,.34);
  border-radius:22px;
  background:linear-gradient(115deg,#0a2321 0%,#102c28 50%,#0a201e 100%);
  box-shadow:0 20px 55px rgba(27,45,39,.12),inset 0 1px 0 rgba(255,255,255,.05);
  color:#f8f4eb;
}
.installment-strip__bg{
  position:absolute;
  inset:0;
  z-index:-2;
  background:url('/assets/payment-installment.jpg') 48% 41%/cover no-repeat;
  opacity:.18;
  filter:saturate(.65);
}
.installment-strip__card::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg,rgba(4,20,18,.82) 0%,rgba(4,20,18,.91) 44%,rgba(4,20,18,.82) 100%);
}
.installment-strip__copy{
  min-width:0;
}
.installment-strip__kicker{
  display:block;
  max-width:100%;
  margin-bottom:7px;
  color:#d9a44f;
  font-size:10px;
  font-weight:800;
  letter-spacing:.14em;
  overflow-wrap:anywhere;
}
.installment-strip__copy h2{
  max-width:100%;
  margin:0;
  color:#fff;
  font-family:Georgia,'Times New Roman',serif;
  font-size:clamp(22px,2.2vw,31px);
  line-height:1.08;
  font-weight:600;
  overflow-wrap:anywhere;
}
.installment-strip__copy h2 span{
  color:#e8bb70;
}
.installment-strip__text{
  min-width:0;
  max-width:520px;
  margin:0;
  color:rgba(247,244,237,.76);
  font-size:13px;
  line-height:1.58;
  overflow-wrap:anywhere;
}
.installment-strip__meta{
  display:flex;
  min-width:0;
  gap:8px;
}
.installment-strip__meta span{
  min-width:72px;
  padding:9px 10px;
  border:1px solid rgba(230,188,111,.22);
  border-radius:12px;
  background:rgba(255,255,255,.035);
  text-align:center;
}
.installment-strip__meta b{
  display:block;
  color:#edc47f;
  font-size:17px;
  line-height:1.1;
  font-weight:700;
}
.installment-strip__meta small{
  display:block;
  margin-top:3px;
  color:rgba(255,255,255,.56);
  font-size:9px;
  line-height:1.2;
  letter-spacing:.04em;
}
.installment-strip__cta{
  min-width:154px;
  max-width:100%;
  min-height:48px;
  border-radius:12px;
  white-space:normal;
}

/* Lead modal: structural base.
   Field names, submit flow and amoCRM mapping remain unchanged. */
.xref-lead-modal--reference{
  position:fixed;
  inset:0;
  z-index:1400;
  display:none;
  align-items:center;
  justify-content:center;
  min-width:0;
  padding:22px;
  background:rgba(2,9,8,.82);
  -webkit-backdrop-filter:blur(11px);
  backdrop-filter:blur(11px);
}
.xref-lead-modal--reference.is-open{
  display:flex;
}
.xref-lead-modal--reference .xref-lead-modal__backdrop{
  position:absolute;
  inset:0;
}
.xref-lead-modal--reference .xref-lead-modal__box{
  position:relative;
  width:min(100%,640px);
  min-width:0;
  max-height:calc(100vh - 44px);
  max-height:calc(100dvh - 44px);
  overflow:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  padding:38px 40px 34px;
  border:1px solid rgba(216,175,94,.42);
  border-radius:28px;
  background:
    radial-gradient(circle at 50% 105%,rgba(216,175,94,.08),transparent 35%),
    linear-gradient(155deg,#17140d 0%,#0c0b08 78%);
  box-shadow:0 42px 130px rgba(0,0,0,.60),inset 0 1px 0 rgba(255,255,255,.035);
  color:#f6efe2;
}
.xref-lead-modal--reference .xref-lead-modal__close{
  position:absolute;
  top:18px;
  right:18px;
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border:1px solid rgba(216,175,94,.22);
  border-radius:50%;
  background:rgba(255,255,255,.025);
  color:#c4b797;
  font-size:29px;
  font-weight:300;
  line-height:1;
  cursor:pointer;
  transition:border-color .2s ease,background .2s ease,color .2s ease,transform .2s ease;
}
.xref-lead-modal--reference .xref-lead-modal__close:focus-visible{
  outline:3px solid rgba(216,175,94,.30);
  outline-offset:3px;
}
.xref-lead-modal--reference h2{
  max-width:100%;
  margin:0 56px 12px 0;
  color:#fff7e9;
  font-family:Georgia,'Times New Roman',serif;
  font-size:clamp(32px,4vw,46px);
  font-weight:500;
  line-height:1.06;
  letter-spacing:-.025em;
  overflow-wrap:anywhere;
}
.xref-lead-modal--reference .xref-lead-modal__desc{
  max-width:560px;
  margin:0 0 25px;
  color:#a99d83;
  font-size:15px;
  line-height:1.55;
  overflow-wrap:anywhere;
}
.xref-lead-modal--reference .xref-lead-modal__form{
  display:grid;
  min-width:0;
  gap:14px;
  margin:0;
}
.xref-lead-modal--reference .xref-lead-modal__row{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  min-width:0;
  gap:14px;
}
.xref-lead-modal--reference .xref-lead-modal__field{
  display:block;
  min-width:0;
  margin:0;
}
.xref-lead-modal--reference input[type="text"],
.xref-lead-modal--reference input[type="tel"],
.xref-lead-modal--reference select,
.xref-lead-modal--reference textarea{
  display:block;
  width:100%;
  min-width:0;
  max-width:100%;
  border:1px solid rgba(207,162,82,.22);
  border-radius:17px;
  background:#17150f;
  color:#f8f1e3;
  outline:none;
  font:400 16px/1.35 system-ui,-apple-system,'Segoe UI',sans-serif;
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;
}
.xref-lead-modal--reference input[type="text"],
.xref-lead-modal--reference input[type="tel"],
.xref-lead-modal--reference select{
  height:58px;
  padding:0 18px;
}
.xref-lead-modal--reference textarea{
  min-height:128px;
  padding:17px 18px;
  resize:vertical;
}
.xref-lead-modal--reference input::placeholder,
.xref-lead-modal--reference textarea::placeholder{
  color:#8f8468;
  opacity:1;
}
.xref-lead-modal--reference select{
  appearance:none;
  -webkit-appearance:none;
  padding-right:54px;
  color:#f3ede1;
  background:
    #17150f
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23bba77f' stroke-width='2'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E")
    right 18px center/18px no-repeat;
  cursor:pointer;
}
.xref-lead-modal--reference input:focus,
.xref-lead-modal--reference select:focus,
.xref-lead-modal--reference textarea:focus{
  border-color:rgba(229,184,103,.58);
  box-shadow:0 0 0 3px rgba(216,175,94,.07);
  background-color:#1b1811;
}
.xref-lead-modal--reference .xref-lead-modal__submit{
  width:100%;
  min-width:0;
  max-width:100%;
  min-height:58px;
  margin-top:2px;
  padding:12px 20px;
  border:1px solid rgba(255,229,174,.55);
  border-radius:999px;
  background:linear-gradient(90deg,#f3d89a 0%,#d7aa5c 55%,#9c7b3e 100%);
  box-shadow:0 14px 32px rgba(170,126,57,.18);
  color:#251b0c;
  font-size:17px;
  line-height:1.25;
  font-weight:500;
  letter-spacing:.01em;
  text-align:center;
  white-space:normal;
  overflow-wrap:anywhere;
  cursor:pointer;
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;
}
.xref-lead-modal--reference .xref-lead-modal__policy{
  max-width:100%;
  margin:4px 0 0;
  color:#8f8468;
  font-size:11px;
  line-height:1.55;
  overflow-wrap:anywhere;
}
.xref-lead-modal--reference .xref-lead-modal__policy a{
  color:#e1c789;
  text-decoration:underline;
  text-underline-offset:3px;
}
.xref-lead-modal--reference .xref-lead-modal__status{
  min-width:0;
  max-width:100%;
  min-height:16px;
  margin:0;
  text-align:center;
  color:#e3c888;
  font-size:11px;
  line-height:1.4;
  overflow-wrap:anywhere;
}

@media(hover:hover) and (pointer:fine){
  .xref-lead-modal--reference .xref-lead-modal__close:hover{
    border-color:rgba(232,188,112,.55);
    background:rgba(232,188,112,.07);
    color:#f4dfb5;
  }
  .xref-lead-modal--reference .xref-lead-modal__submit:hover{
    transform:translateY(-1px);
    filter:brightness(1.045);
    box-shadow:0 18px 38px rgba(170,126,57,.24);
  }
}

@media(max-width:980px){
  .installment-strip__card{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
  }
  .installment-strip__meta{
    justify-self:start;
  }
  .installment-strip__cta{
    justify-self:end;
  }
}

@media(max-width:720px){
  .installment-strip{
    padding:16px 0 24px;
  }
  .installment-strip__card{
    grid-template-columns:1fr;
    gap:14px;
    padding:22px 18px;
    border-radius:19px;
  }
  .installment-strip__text{
    font-size:12.5px;
  }
  .installment-strip__meta{
    order:3;
  }
  .installment-strip__cta{
    order:4;
    width:100%;
    min-width:0;
    justify-self:stretch;
  }

  .xref-lead-modal--reference{
    align-items:flex-start;
    overflow:auto;
    padding:max(10px,env(safe-area-inset-top)) 10px max(10px,env(safe-area-inset-bottom));
  }
  .xref-lead-modal--reference .xref-lead-modal__box{
    width:100%;
    max-height:calc(100vh - 20px);
    max-height:calc(100dvh - 20px);
    padding:30px 18px 22px;
    border-radius:22px;
  }
  .xref-lead-modal--reference .xref-lead-modal__row{
    grid-template-columns:1fr;
    gap:12px;
  }
  .xref-lead-modal--reference h2{
    font-size:31px;
  }
  .xref-lead-modal--reference .xref-lead-modal__desc{
    margin-bottom:20px;
    font-size:13px;
  }
  .xref-lead-modal--reference input[type="text"],
  .xref-lead-modal--reference input[type="tel"],
  .xref-lead-modal--reference select{
    height:54px;
    font-size:16px;
  }
  .xref-lead-modal--reference textarea{
    min-height:112px;
    font-size:16px;
  }
  .xref-lead-modal--reference .xref-lead-modal__submit{
    min-height:54px;
    font-size:15px;
  }
}

@media(prefers-reduced-motion:reduce){
  .xref-lead-modal--reference .xref-lead-modal__close,
  .xref-lead-modal--reference .xref-lead-modal__submit{
    transition:none!important;
  }
}

/* ===== Light premium lead modal — aligned with the site visual language ===== */
.xref-lead-modal--reference{
  background:rgba(16,35,32,.42);
  -webkit-backdrop-filter:blur(10px) saturate(105%);
  backdrop-filter:blur(10px) saturate(105%);
}
.xref-lead-modal--reference .xref-lead-modal__box{
  width:min(100%,650px);
  min-width:0;
  border:1px solid rgba(202,148,70,.34);
  background:
    radial-gradient(circle at 100% 0%,rgba(224,176,99,.10),transparent 34%),
    linear-gradient(155deg,#fffdf9 0%,#faf6ee 100%);
  color:var(--ink);
  box-shadow:0 34px 90px rgba(35,49,43,.22),inset 0 1px 0 rgba(255,255,255,.88);
}
.xref-lead-modal--reference .xref-lead-modal__box::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:4px;
  border-radius:28px 28px 0 0;
  background:linear-gradient(90deg,transparent,#e2b365 32%,#f0cf92 50%,#e2b365 68%,transparent);
  opacity:.82;
  pointer-events:none;
}
.xref-lead-modal--reference .xref-lead-modal__close{
  border:1px solid rgba(184,121,39,.25);
  background:rgba(255,255,255,.72);
  color:#9a672b;
  box-shadow:0 8px 20px rgba(67,52,29,.06);
}
.xref-lead-modal--reference h2{
  max-width:100%;
  color:#132722;
  overflow-wrap:anywhere;
}
.xref-lead-modal--reference .xref-lead-modal__desc{
  max-width:100%;
  color:#68716d;
  overflow-wrap:anywhere;
}
.xref-lead-modal--reference input[type="text"],
.xref-lead-modal--reference input[type="tel"],
.xref-lead-modal--reference select,
.xref-lead-modal--reference textarea{
  width:100%;
  min-width:0;
  max-width:100%;
  border:1px solid #e5d7c2;
  background:rgba(255,255,255,.78);
  color:#1a2926;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
}
.xref-lead-modal--reference input::placeholder,
.xref-lead-modal--reference textarea::placeholder{
  color:#8a928e;
}
.xref-lead-modal--reference select{
  color:#24312e;
  background-color:rgba(255,255,255,.78);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23b97a2e' stroke-width='2'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
}
.xref-lead-modal--reference input:focus,
.xref-lead-modal--reference select:focus,
.xref-lead-modal--reference textarea:focus{
  border-color:#d5a052;
  box-shadow:0 0 0 3px rgba(217,162,85,.11),0 7px 18px rgba(79,59,27,.035);
  background:#fffefa;
}
.xref-lead-modal--reference .xref-lead-modal__submit{
  width:100%;
  min-width:0;
  max-width:100%;
  border:1px solid rgba(184,121,39,.18);
  background:linear-gradient(180deg,#efc67f 0%,#d99f4e 100%);
  color:#3d2810;
  box-shadow:0 12px 28px rgba(197,135,52,.20),inset 0 1px 0 rgba(255,255,255,.48);
  font-weight:650;
}
.xref-lead-modal--reference .xref-lead-modal__policy{
  max-width:100%;
  color:#777f7b;
  overflow-wrap:anywhere;
}
.xref-lead-modal--reference .xref-lead-modal__policy a{
  color:#9d6727;
}
.xref-lead-modal--reference .xref-lead-modal__status{
  min-width:0;
  max-width:100%;
  color:#8f612b;
  overflow-wrap:anywhere;
}
@media(hover:hover) and (pointer:fine){
  .xref-lead-modal--reference .xref-lead-modal__close:hover{
    border-color:rgba(184,121,39,.52);
    background:#fff4df;
    color:#7e501b;
  }
  .xref-lead-modal--reference .xref-lead-modal__submit:hover{
    filter:brightness(1.03);
    box-shadow:0 16px 34px rgba(197,135,52,.25),inset 0 1px 0 rgba(255,255,255,.48);
  }
}
@media(max-width:720px){
  .xref-lead-modal--reference .xref-lead-modal__box::before{
    border-radius:22px 22px 0 0;
  }
}

/* Modal polish */
.xref-lead-modal--reference h2{
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:clamp(30px,3.2vw,40px);
  font-weight:800;
  letter-spacing:-.035em;
}
.xref-lead-modal--reference select{
  background-repeat:no-repeat;
  background-position:right 18px center;
  background-size:18px 18px;
}

/* === Process: exact reference copy, balanced and trust-focused === */
.ap-process{
  position:relative;
  overflow:hidden;
  padding:58px 0 62px;
  background:#f8f5ef;
}
.ap-process::before,
.ap-process::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width:120px;
  pointer-events:none;
  opacity:.16;
  background:linear-gradient(90deg,rgba(198,157,92,.08),transparent);
}
.ap-process::before{left:0}
.ap-process::after{right:0;transform:scaleX(-1)}
.ap-process__container{position:relative;z-index:1}
.ap-process__title{
  margin:0 0 30px;
  text-align:center;
}
.ap-process__title h2{
  margin:0;
  color:#172521;
  font-size:34px;
  line-height:1.15;
  font-weight:750;
  letter-spacing:-.025em;
}
.ap-process__flow{
  display:grid;
  grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr) 54px minmax(0,1fr);
  align-items:stretch;
  gap:12px;
  max-width:1160px;
  margin:0 auto;
  padding:30px 34px;
  border:1px solid rgba(190,145,73,.22);
  border-radius:20px;
  background:rgba(255,255,255,.66);
  box-shadow:0 16px 42px rgba(62,49,28,.045);
}
.ap-process__step{
  display:grid;
  grid-template-columns:76px minmax(0,1fr);
  align-items:center;
  gap:18px;
  min-height:128px;
  min-width:0;
  padding:8px 2px;
}
.ap-process__icon{
  width:76px;
  height:76px;
  display:grid;
  place-items:center;
  border-radius:18px;
  border:1px solid rgba(188,143,71,.22);
  background:linear-gradient(145deg,#fffefb,#f4eee4);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 9px 22px rgba(77,58,29,.055);
}
.ap-process__icon svg{
  width:44px;
  height:44px;
  stroke:#6d7b7b;
  stroke-width:1.45;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.ap-process__copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:92px;
}
.ap-process__copy h3{
  margin:0 0 10px;
  color:#202d29;
  font-size:17px;
  line-height:1.32;
  font-weight:720;
  letter-spacing:-.01em;
}
.ap-process__copy p{
  margin:0;
  color:#747c77;
  font-size:13.5px;
  line-height:1.52;
}
.ap-process__arrow{
  display:grid;
  place-items:center;
  align-self:center;
}
.ap-process__arrow svg{
  width:38px;
  height:22px;
  stroke:#c69a58;
  stroke-width:1.4;
  stroke-linecap:round;
  stroke-linejoin:round;
  opacity:.82;
}
@media (max-width:1080px){
  .ap-process__flow{
    grid-template-columns:1fr;
    gap:10px;
    max-width:720px;
    padding:28px 30px;
  }
  .ap-process__step{
    width:100%;
    min-height:116px;
    grid-template-columns:74px 1fr;
  }
  .ap-process__arrow{height:26px}
  .ap-process__arrow svg{transform:rotate(90deg)}
}
@media (max-width:760px){
  .ap-process{padding:48px 0 52px}
  .ap-process__title{margin-bottom:24px}
  .ap-process__title h2{font-size:28px}
  .ap-process__flow{padding:20px 18px;border-radius:17px}
  .ap-process__step{
    grid-template-columns:58px 1fr;
    gap:14px;
    min-height:104px;
  }
  .ap-process__icon{width:58px;height:58px;border-radius:14px}
  .ap-process__icon svg{width:34px;height:34px}
  .ap-process__copy{min-height:auto}
  .ap-process__copy h3{font-size:15px;margin-bottom:6px}
  .ap-process__copy p{font-size:12.5px}
}
@media (max-width:460px){
  .ap-process{padding:44px 0 48px}
  .ap-process__title h2{font-size:26px}
  .ap-process__flow{padding:18px 14px}
  .ap-process__step{grid-template-columns:52px 1fr;gap:12px}
  .ap-process__icon{width:52px;height:52px;border-radius:13px}
  .ap-process__icon svg{width:30px;height:30px}
  .ap-process__copy h3{font-size:14.5px}
  .ap-process__copy p{font-size:12px}
}



/* =========================================================
   Reference styling: prospects quiz + FAQ only
   Scope is intentionally limited to .prospects-reference-zone.
   Existing IDs, classes, links and quiz behaviour are preserved.
   ========================================================= */
.prospects-reference-zone{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-width:0;
  background:#faf7f2 url("/assets/images/prospects-reference-bg-smooth.webp") center top/cover no-repeat;
}
.prospects-reference-zone::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(255,253,249,.08) 0%,rgba(255,253,249,.03) 52%,rgba(255,253,249,.02) 100%);
}
.prospects-reference-zone>.pq-section,
.prospects-reference-zone>.faq-section{
  position:relative;
  z-index:1;
  min-width:0;
}
.prospects-reference-zone .pq-section--compact,
.prospects-reference-zone .faq-section{
  background:transparent!important;
}
.prospects-reference-zone .pq-section--compact::before{
  display:none!important;
}
.prospects-reference-zone .pq-column,
.prospects-reference-zone .pq-branch{
  display:none!important;
}
.prospects-reference-zone .pq-section--compact{
  padding:40px 24px 22px!important;
}
.prospects-reference-zone .pq-section--compact .pq-shell{
  width:min(1000px,100%)!important;
  min-width:0;
}
.prospects-reference-zone .pq-section--compact .pq-head{
  max-width:760px!important;
  min-width:0;
  margin:0 auto 20px!important;
}
.prospects-reference-zone .pq-section--compact .pq-kicker{
  margin-bottom:10px!important;
  font-size:11px!important;
  letter-spacing:.115em!important;
}
.prospects-reference-zone .pq-section--compact .pq-kicker svg{
  width:24px!important;
  height:24px!important;
}
.prospects-reference-zone .pq-section--compact .pq-head h2{
  max-width:100%;
  font-size:clamp(34px,3vw,43px)!important;
  line-height:1.02!important;
  letter-spacing:-.025em!important;
  color:#17324f!important;
  overflow-wrap:anywhere;
}
.prospects-reference-zone .pq-section--compact .pq-title-rule{
  width:118px!important;
  max-width:80%;
  gap:8px!important;
  margin:12px auto 10px!important;
}
.prospects-reference-zone .pq-section--compact .pq-title-rule i{
  width:7px!important;
  height:7px!important;
}
.prospects-reference-zone .pq-section--compact .pq-head p{
  max-width:100%;
  font-size:13.5px!important;
  line-height:1.5!important;
  color:#455568!important;
  overflow-wrap:anywhere;
}
.prospects-reference-zone .pq-communities{
  margin-top:14px!important;
  gap:13px!important;
}
.prospects-reference-zone .pq-communities__label{
  font-size:10.5px!important;
  color:#53606c!important;
}
.prospects-reference-zone .pq-community{
  min-height:34px!important;
  padding:4px 11px 4px 5px!important;
  gap:7px!important;
  font-size:11.5px!important;
  background:rgba(255,255,255,.78)!important;
  box-shadow:0 5px 16px rgba(93,67,28,.045)!important;
}
.prospects-reference-zone .pq-community__icon{
  width:24px!important;
  height:24px!important;
  font-size:8px!important;
}
.prospects-reference-zone .pq-section--compact .pq-progress{
  max-width:845px!important;
  min-width:0;
  margin:18px auto 11px!important;
  padding-right:82px!important;
}
.prospects-reference-zone .pq-section--compact .pq-stepper{
  min-width:0;
  margin-bottom:10px!important;
}
.prospects-reference-zone .pq-section--compact .pq-step{
  width:31px!important;
  height:31px!important;
  font-size:12px!important;
  background:rgba(255,255,255,.78)!important;
}
.prospects-reference-zone .pq-section--compact .pq-counter{
  width:68px!important;
  height:68px!important;
  top:-6px!important;
  background:rgba(255,255,255,.52)!important;
}
.prospects-reference-zone .pq-section--compact .pq-counter b{
  font-size:20px!important;
}
.prospects-reference-zone .pq-section--compact .pq-progress-track{
  height:4px!important;
  margin:0 7px!important;
}
.prospects-reference-zone .pq-section--compact .pq-card{
  width:100%;
  max-width:830px!important;
  min-width:0;
  padding:22px 28px 20px!important;
  border-radius:18px!important;
  border-color:rgba(215,171,100,.28)!important;
  background:rgba(255,255,255,.78)!important;
  box-shadow:0 14px 38px rgba(83,61,29,.075)!important;
  -webkit-backdrop-filter:blur(7px)!important;
  backdrop-filter:blur(7px)!important;
}
.prospects-reference-zone .pq-section--compact .pq-panel{
  min-width:0;
  min-height:205px!important;
}
.prospects-reference-zone .pq-section--compact .pq-question-title{
  max-width:100%;
  font-size:24px!important;
  margin-bottom:13px!important;
  color:#17324f!important;
  overflow-wrap:anywhere;
}
.prospects-reference-zone .pq-section--compact .pq-options{
  min-width:0;
  gap:9px 18px!important;
}
.prospects-reference-zone .pq-section--compact .pq-option__body{
  min-width:0;
  min-height:46px!important;
  padding:8px 13px!important;
  gap:11px!important;
  border-radius:9px!important;
  border-color:rgba(210,162,83,.34)!important;
  background:rgba(255,255,255,.47)!important;
  font-size:12.5px!important;
  overflow-wrap:anywhere;
}
.prospects-reference-zone .pq-section--compact .pq-radio{
  width:18px!important;
  height:18px!important;
  flex-basis:18px!important;
}
.prospects-reference-zone .pq-section--compact .pq-actions{
  min-width:0;
  margin-top:16px!important;
}
.prospects-reference-zone .pq-section--compact .pq-btn{
  height:auto!important;
  min-width:150px!important;
  min-height:44px!important;
  max-width:100%;
  padding:9px 21px!important;
  font-size:12.5px!important;
  line-height:1.2;
  white-space:normal;
  overflow-wrap:anywhere;
}
.prospects-reference-zone .pq-section--compact .pq-btn--back{
  background:rgba(255,255,255,.34)!important;
}
.prospects-reference-zone .pq-section--compact .pq-btn--next{
  min-width:170px!important;
}

/* FAQ */
.prospects-reference-zone .faq-section{
  padding:8px 0 48px!important;
}
.prospects-reference-zone .faq-section .container{
  width:min(100% - 48px,980px)!important;
  min-width:0;
}
.prospects-reference-zone .faq-section .section-title{
  margin:0 0 22px!important;
  text-align:center!important;
}
.prospects-reference-zone .faq-section .section-title h2{
  position:relative;
  display:inline-block;
  max-width:100%;
  margin:0!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:28px!important;
  line-height:1.1!important;
  color:#17324f!important;
  overflow-wrap:anywhere;
}
.prospects-reference-zone .faq-section .section-title h2::after{
  content:"";
  display:block;
  width:7px;
  height:7px;
  margin:10px auto -1px;
  background:#d3a044;
  transform:rotate(45deg);
}
.prospects-reference-zone .faq-grid{
  min-width:0;
  gap:9px 18px!important;
}
.prospects-reference-zone .faq-grid details{
  min-width:0;
  border:1px solid rgba(216,184,134,.26)!important;
  border-radius:9px!important;
  padding:0 16px!important;
  background:rgba(255,255,255,.76)!important;
  box-shadow:0 6px 18px rgba(84,64,35,.035)!important;
  -webkit-backdrop-filter:blur(4px);
  backdrop-filter:blur(4px);
}
.prospects-reference-zone .faq-grid summary{
  min-width:0;
  min-height:44px;
  display:flex;
  align-items:center;
  padding:10px 26px 10px 0!important;
  font-size:11.5px!important;
  line-height:1.35!important;
  color:#172c43!important;
  overflow-wrap:anywhere;
}
.prospects-reference-zone .faq-grid p{
  max-width:100%;
  margin:0 0 12px!important;
  font-size:11.5px!important;
  line-height:1.5!important;
  color:#566473!important;
  overflow-wrap:anywhere;
}

@media(max-width:900px){
  .prospects-reference-zone{
    background-position:64% top;
  }
  .prospects-reference-zone::before{
    background:rgba(255,252,247,.76);
  }
}

@media(max-width:720px){
  .prospects-reference-zone .pq-section--compact{
    padding:34px 14px 18px!important;
  }
  .prospects-reference-zone .pq-section--compact .pq-head h2{
    font-size:32px!important;
  }

  /* Preserve the corrected 7-step mobile progress layout. */
  .prospects-reference-zone .pq-section--compact .pq-progress{
    padding-right:0!important;
    margin-top:15px!important;
  }
  .prospects-reference-zone .pq-section--compact .pq-stepper{
    width:100%!important;
    margin:0!important;
    grid-template-columns:repeat(7,minmax(0,1fr))!important;
  }
  .prospects-reference-zone .pq-section--compact .pq-progress-track{
    width:100%!important;
    margin:0!important;
  }
  .prospects-reference-zone .pq-section--compact .pq-counter{
    position:static!important;
    width:auto!important;
    height:auto!important;
    min-width:50px!important;
    min-height:0!important;
    top:auto!important;
    padding:5px 8px!important;
    border-radius:999px!important;
    flex-direction:row!important;
    gap:3px!important;
  }
  .prospects-reference-zone .pq-section--compact .pq-counter b{
    font-size:16px!important;
  }
  .prospects-reference-zone .pq-section--compact .pq-counter span{
    margin:0!important;
    font-size:10px!important;
    line-height:1!important;
  }

  .prospects-reference-zone .pq-section--compact .pq-card{
    padding:18px 14px 16px!important;
  }
  .prospects-reference-zone .pq-section--compact .pq-panel{
    min-height:0!important;
  }
  .prospects-reference-zone .pq-section--compact .pq-options{
    grid-template-columns:1fr!important;
  }
  .prospects-reference-zone .pq-section--compact .pq-option__body{
    min-height:48px!important;
  }

  /* Two equal action columns; buttons may shrink instead of clipping. */
  .prospects-reference-zone .pq-section--compact .pq-actions{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%;
    gap:10px!important;
  }
  .prospects-reference-zone .pq-section--compact .pq-btn,
  .prospects-reference-zone .pq-section--compact .pq-btn--next{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:auto!important;
    min-height:44px!important;
    padding:9px 12px!important;
  }

  .prospects-reference-zone .faq-section{
    padding:10px 0 38px!important;
  }
  .prospects-reference-zone .faq-section .container{
    width:min(100% - 28px,620px)!important;
  }
  .prospects-reference-zone .faq-grid{
    grid-template-columns:1fr!important;
  }
}

@media(max-width:430px){
  .prospects-reference-zone .pq-section--compact .pq-head h2{
    font-size:29px!important;
  }
  .prospects-reference-zone .pq-section--compact .pq-step{
    width:28px!important;
    height:28px!important;
    font-size:11px!important;
  }
  .prospects-reference-zone .pq-community{
    min-height:34px!important;
  }
  .prospects-reference-zone .faq-section .section-title h2{
    font-size:26px!important;
  }
}

@media(max-width:350px){
  .prospects-reference-zone .pq-section--compact .pq-actions{
    grid-template-columns:1fr!important;
  }
  .prospects-reference-zone .pq-section--compact .pq-btn--back,
  .prospects-reference-zone .pq-section--compact .pq-btn--next{
    grid-column:1!important;
  }
}


/* ===== Installment strip: native light integration (2026-08-20) =====
   Reference used for composition only. No isolated card/background layer. */
.installment-strip{
  position:relative;
  padding:42px 0 46px;
  background:var(--cream);
}
.installment-strip__card{
  position:relative;
  isolation:auto;
  overflow:visible;
  display:grid;
  grid-template-columns:minmax(235px,.9fr) minmax(350px,1.35fr) auto auto;
  gap:clamp(26px,3vw,48px);
  align-items:center;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:var(--ink);
}
.installment-strip__card::after,
.installment-strip__bg{display:none!important}
.installment-strip__copy{min-width:0}
.installment-strip__kicker{
  display:block;
  margin:0 0 9px;
  color:var(--gold-dark);
  font-size:10px;
  line-height:1.25;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.installment-strip__copy h2{
  margin:0;
  color:var(--ink);
  font-family:inherit;
  font-size:clamp(28px,2.45vw,38px);
  line-height:1.04;
  font-weight:800;
  letter-spacing:-.035em;
}
.installment-strip__copy h2 span{
  display:block;
  color:var(--gold-dark);
}
.installment-strip__text{
  margin:0;
  max-width:555px;
  color:var(--muted);
  font-size:14px;
  line-height:1.7;
}
.installment-strip__meta{
  display:flex;
  align-items:stretch;
  gap:0;
  white-space:nowrap;
}
.installment-strip__meta span{
  min-width:86px;
  padding:2px 18px;
  border:0;
  border-radius:0;
  background:transparent;
  text-align:center;
}
.installment-strip__meta span + span{
  border-left:1px solid var(--line);
}
.installment-strip__meta b{
  display:block;
  color:var(--gold-dark);
  font-size:23px;
  line-height:1.05;
  font-weight:800;
  letter-spacing:-.02em;
}
.installment-strip__meta small{
  display:block;
  margin-top:6px;
  color:var(--muted);
  font-size:10px;
  line-height:1.2;
  letter-spacing:.02em;
}
.installment-strip__cta{
  min-width:168px;
  min-height:50px;
  border-radius:10px;
  white-space:nowrap;
}
@media(max-width:1080px){
  .installment-strip__card{
    grid-template-columns:minmax(220px,.85fr) minmax(300px,1.15fr) auto;
    gap:24px 30px;
  }
  .installment-strip__cta{
    grid-column:3;
    justify-self:end;
  }
}
@media(max-width:860px){
  .installment-strip{padding:36px 0 40px}
  .installment-strip__card{
    grid-template-columns:1fr 1fr;
    gap:24px 30px;
  }
  .installment-strip__text{max-width:100%}
  .installment-strip__meta{justify-self:start}
  .installment-strip__cta{
    grid-column:auto;
    justify-self:end;
    align-self:center;
  }
}
@media(max-width:620px){
  .installment-strip{padding:30px 0 34px}
  .installment-strip__card{
    grid-template-columns:1fr;
    gap:18px;
  }
  .installment-strip__copy h2{font-size:clamp(29px,9vw,36px)}
  .installment-strip__text{font-size:13px;line-height:1.65}
  .installment-strip__meta{
    width:100%;
    justify-content:flex-start;
    padding-top:2px;
  }
  .installment-strip__meta span{
    min-width:0;
    flex:0 1 120px;
    padding:0 18px;
  }
  .installment-strip__meta span:first-child{padding-left:0;text-align:left}
  .installment-strip__meta span + span{text-align:center}
  .installment-strip__cta{
    width:100%;
    min-height:50px;
    justify-self:stretch;
  }
}

/* ==========================================================
   Team block final refinement — compact, portrait-first, calm.
   Scope intentionally limited to .ap-team-* only.
   ========================================================== */
.ap-team-section{
  padding-top:44px!important;
  padding-bottom:44px!important;
  background:#f8f4ed!important;
}
.ap-team-section::before,
.ap-team-section::after{display:none!important}
.ap-team-head{margin-bottom:18px!important}
.ap-team-kicker{gap:8px!important;margin-bottom:8px!important;letter-spacing:.15em!important}
.ap-team-kicker span:first-child{
  width:28px!important;
  height:28px!important;
  font-size:13px!important;
  box-shadow:none!important;
  background:transparent!important;
}
.ap-team-head h2{
  max-width:none!important;
  font-size:clamp(30px,3vw,40px)!important;
  line-height:1.05!important;
}
.ap-team-head p{
  max-width:760px!important;
  margin-top:9px!important;
  font-size:13px!important;
  line-height:1.48!important;
}
.ap-team-track{gap:12px!important}
.ap-team-card{
  min-height:0!important;
  padding:13px!important;
  border-radius:16px!important;
  border-color:rgba(185,134,60,.19)!important;
  background:rgba(255,255,255,.62)!important;
  box-shadow:0 8px 22px rgba(53,45,31,.045)!important;
}
.ap-team-card::before{display:none!important}
.ap-team-photo-wrap{
  height:230px!important;
  margin-bottom:11px!important;
  border-radius:13px!important;
  border-color:rgba(185,134,60,.14)!important;
  background:#eee9e1!important;
  box-shadow:none!important;
}
.ap-team-photo{
  object-fit:cover!important;
  object-position:center top!important;
  transform:none!important;
  filter:saturate(.96) contrast(1.015)!important;
}
.ap-team-photo-wrap::after{display:none!important}
.ap-team-name{
  margin-bottom:4px!important;
  color:#855715;
  font-size:13px!important;
  line-height:1.25!important;
  letter-spacing:.06em!important;
}
.ap-team-card h3{
  margin-bottom:7px!important;
  font-size:17px!important;
  line-height:1.18!important;
}
.ap-team-card__body>p:last-child{
  font-size:13px!important;
  line-height:1.42!important;
}
.ap-team-card__foot{
  margin-top:9px!important;
  padding-top:9px!important;
  gap:5px 7px!important;
  border-top-color:rgba(187,155,103,.14)!important;
}
.ap-team-badge,
.ap-team-role-chip{
  padding:4px 7px!important;
  font-size:9px!important;
  line-height:1.2!important;
  border-color:rgba(186,130,47,.17)!important;
  background:rgba(255,249,239,.66)!important;
}
.ap-team-badge span{
  width:14px!important;
  height:14px!important;
  font-size:8px!important;
}
.ap-team-certificate--button{
  padding:2px 0!important;
  font-size:9.5px!important;
  border-bottom-color:rgba(157,105,35,.22)!important;
}
.ap-team-bottom{
  margin-top:13px!important;
  padding-top:12px!important;
  gap:20px!important;
  border-top-color:rgba(187,146,79,.14)!important;
}
.ap-team-note{gap:9px!important;max-width:790px!important}
.ap-team-note>span{
  width:26px!important;
  height:26px!important;
  flex-basis:26px!important;
  font-size:12px!important;
}
.ap-team-note p{
  margin-top:1px!important;
  font-size:11px!important;
  line-height:1.42!important;
}
.ap-team-cta{
  min-height:40px!important;
  padding:0 18px!important;
  border-radius:10px!important;
  gap:10px!important;
  font-size:11px!important;
  box-shadow:0 7px 16px rgba(176,112,36,.13)!important;
}

/* Hover only on devices with a real pointing hover. */
@media(hover:hover) and (pointer:fine){
  .ap-team-card:hover{
    transform:translateY(-2px)!important;
    border-color:rgba(185,134,60,.30)!important;
    box-shadow:0 10px 26px rgba(53,45,31,.065)!important;
  }
  .ap-team-card:hover .ap-team-photo{
    transform:none!important;
    filter:saturate(.98) contrast(1.02)!important;
  }
}

/* Wide desktop: all five specialists fit without a horizontal scrollbar. */
@media(min-width:1180px){
  .ap-team-viewport{
    overflow-x:hidden!important;
    padding:3px!important;
    cursor:default!important;
    scrollbar-width:none!important;
  }
  .ap-team-viewport::-webkit-scrollbar{display:none!important}
  .ap-team-card{
    flex:0 0 calc((100% - 48px)/5)!important;
  }
}

/* Tablet: three cards in the viewport, remaining cards scroll horizontally. */
@media(max-width:1179px) and (min-width:761px){
  .ap-team-card{
    flex-basis:calc((100% - 24px)/3)!important;
  }
  .ap-team-photo-wrap{height:248px!important}
  .ap-team-viewport{padding-bottom:10px!important}
  .ap-team-viewport::-webkit-scrollbar{height:6px!important}
}

/* Mobile: one large card with the next card partially visible. */
@media(max-width:760px){
  .ap-team-section{
    padding-top:38px!important;
    padding-bottom:38px!important;
  }
  .ap-team-head{margin-bottom:16px!important}
  .ap-team-head h2{font-size:29px!important}
  .ap-team-head p{
    font-size:12.5px!important;
    line-height:1.45!important;
  }
  .ap-team-card{
    flex-basis:84%!important;
    padding:13px!important;
  }
  .ap-team-photo-wrap{
    height:278px!important;
    margin-bottom:10px!important;
  }
  .ap-team-card h3{font-size:18px!important}
  .ap-team-card__body>p:last-child{
    font-size:12px!important;
    line-height:1.45!important;
  }
  .ap-team-bottom{
    margin-top:12px!important;
    padding-top:11px!important;
  }
}

@media(max-width:460px){
  .ap-team-section{
    padding-top:34px!important;
    padding-bottom:34px!important;
  }
  .ap-team-card{flex-basis:90%!important}
  .ap-team-photo-wrap{height:265px!important}
  .ap-team-bottom{gap:12px!important}
  .ap-team-note p{font-size:10.5px!important}
}

/* ===== Quiz + FAQ scale and stable background fix (2026-08-20) ===== */
/* Keep the reference artwork at a width-driven size so opening FAQ rows
   does not recalculate/zoom the background when the section gets taller. */
.prospects-reference-zone{
  background-size:max(100%,1672px) auto!important;
  background-position:center top!important;
}

/* Make the prospects quiz feel more substantial without changing its structure. */
.prospects-reference-zone .pq-section--compact{
  padding:52px 24px 34px!important;
}
.prospects-reference-zone .pq-section--compact .pq-shell{
  width:min(1180px,100%)!important;
  min-width:0;
}
.prospects-reference-zone .pq-section--compact .pq-head{
  max-width:880px!important;
  min-width:0;
  margin:0 auto 26px!important;
}
.prospects-reference-zone .pq-section--compact .pq-kicker{
  font-size:12px!important;
}
.prospects-reference-zone .pq-section--compact .pq-kicker svg{
  width:27px!important;
  height:27px!important;
}
.prospects-reference-zone .pq-section--compact .pq-head h2{
  max-width:100%;
  font-size:clamp(40px,3.4vw,50px)!important;
  overflow-wrap:anywhere;
}
.prospects-reference-zone .pq-section--compact .pq-head p{
  max-width:100%;
  font-size:15px!important;
  line-height:1.55!important;
  overflow-wrap:anywhere;
}
.prospects-reference-zone .pq-communities{
  margin-top:17px!important;
}
.prospects-reference-zone .pq-communities__label{
  font-size:11.5px!important;
}
.prospects-reference-zone .pq-community{
  min-height:38px!important;
  padding:5px 13px 5px 6px!important;
  font-size:12.5px!important;
}
.prospects-reference-zone .pq-community__icon{
  width:27px!important;
  height:27px!important;
}
.prospects-reference-zone .pq-section--compact .pq-progress{
  max-width:1080px!important;
  min-width:0;
  margin:22px auto 14px!important;
  padding-right:94px!important;
}
.prospects-reference-zone .pq-section--compact .pq-stepper{
  min-width:0;
  grid-template-columns:repeat(7,minmax(0,1fr))!important;
}
.prospects-reference-zone .pq-section--compact .pq-step{
  width:35px!important;
  height:35px!important;
  font-size:13px!important;
}
.prospects-reference-zone .pq-section--compact .pq-counter{
  width:74px!important;
  height:74px!important;
}
.prospects-reference-zone .pq-section--compact .pq-card{
  width:100%;
  max-width:1080px!important;
  min-width:0;
  padding:30px 38px 27px!important;
  border-radius:20px!important;
}
.prospects-reference-zone .pq-section--compact .pq-panel{
  min-width:0;
  min-height:255px!important;
}
.prospects-reference-zone .pq-section--compact .pq-question-title{
  max-width:100%;
  font-size:30px!important;
  margin-bottom:17px!important;
  overflow-wrap:anywhere;
}
.prospects-reference-zone .pq-section--compact .pq-options{
  min-width:0;
  gap:11px 20px!important;
}
.prospects-reference-zone .pq-section--compact .pq-option__body{
  min-width:0;
  min-height:56px!important;
  padding:11px 16px!important;
  font-size:14px!important;
  overflow-wrap:anywhere;
}
.prospects-reference-zone .pq-section--compact .pq-radio{
  width:20px!important;
  height:20px!important;
  flex-basis:20px!important;
}
.prospects-reference-zone .pq-section--compact .pq-actions{
  min-width:0;
  margin-top:20px!important;
}
.prospects-reference-zone .pq-section--compact .pq-btn{
  height:auto!important;
  min-width:170px!important;
  min-height:49px!important;
  max-width:100%;
  padding:10px 24px!important;
  font-size:13.5px!important;
  line-height:1.2;
  white-space:normal;
  overflow-wrap:anywhere;
}
.prospects-reference-zone .pq-section--compact .pq-btn--next{
  min-width:190px!important;
}

/* FAQ: larger reading area, larger type and roomier answer cards. */
.prospects-reference-zone .faq-section{
  padding:18px 0 66px!important;
}
.prospects-reference-zone .faq-section .container{
  width:min(100% - 48px,1180px)!important;
  min-width:0;
}
.prospects-reference-zone .faq-section .section-title{
  margin:0 0 28px!important;
}
.prospects-reference-zone .faq-section .section-title h2{
  max-width:100%;
  font-size:36px!important;
  overflow-wrap:anywhere;
}
.prospects-reference-zone .faq-section .section-title h2::after{
  width:8px;
  height:8px;
  margin-top:12px;
}
.prospects-reference-zone .faq-grid{
  min-width:0;
  gap:14px 20px!important;
}
.prospects-reference-zone .faq-grid details{
  min-width:0;
  padding:0 22px!important;
  border-radius:11px!important;
  contain:paint;
}
.prospects-reference-zone .faq-grid summary{
  min-width:0;
  min-height:58px!important;
  padding:14px 30px 14px 0!important;
  font-size:14.5px!important;
  line-height:1.4!important;
  overflow-wrap:anywhere;
}
.prospects-reference-zone .faq-grid p{
  max-width:100%;
  margin:0 0 19px!important;
  font-size:14px!important;
  line-height:1.65!important;
  overflow-wrap:anywhere;
}

@media(max-width:900px){
  .prospects-reference-zone{
    background-size:auto 940px!important;
    background-position:64% top!important;
  }
}

@media(max-width:720px){
  .prospects-reference-zone .pq-section--compact{
    padding:38px 14px 24px!important;
  }
  .prospects-reference-zone .pq-section--compact .pq-head h2{
    font-size:34px!important;
  }
  .prospects-reference-zone .pq-section--compact .pq-head p{
    font-size:14px!important;
  }

  /* Preserve the seven-step mobile layout. */
  .prospects-reference-zone .pq-section--compact .pq-progress{
    padding-right:0!important;
  }
  .prospects-reference-zone .pq-section--compact .pq-stepper{
    width:100%!important;
    margin:0!important;
    grid-template-columns:repeat(7,minmax(0,1fr))!important;
  }
  .prospects-reference-zone .pq-section--compact .pq-step{
    width:32px!important;
    height:32px!important;
    font-size:12px!important;
  }
  .prospects-reference-zone .pq-section--compact .pq-progress-track{
    width:100%!important;
    margin:0!important;
  }
  .prospects-reference-zone .pq-section--compact .pq-counter{
    position:static!important;
    width:auto!important;
    height:auto!important;
    min-width:50px!important;
    min-height:0!important;
    top:auto!important;
    padding:5px 8px!important;
    border-radius:999px!important;
    flex-direction:row!important;
    gap:3px!important;
  }
  .prospects-reference-zone .pq-section--compact .pq-counter b{
    font-size:16px!important;
  }
  .prospects-reference-zone .pq-section--compact .pq-counter span{
    margin:0!important;
    font-size:10px!important;
    line-height:1!important;
  }

  .prospects-reference-zone .pq-section--compact .pq-card{
    padding:22px 16px 20px!important;
  }
  .prospects-reference-zone .pq-section--compact .pq-panel{
    min-height:0!important;
  }
  .prospects-reference-zone .pq-section--compact .pq-question-title{
    font-size:27px!important;
  }
  .prospects-reference-zone .pq-section--compact .pq-options{
    grid-template-columns:1fr!important;
  }
  .prospects-reference-zone .pq-section--compact .pq-option__body{
    min-height:54px!important;
    font-size:14px!important;
  }

  /* Remove the desktop minimum widths that clipped mobile actions. */
  .prospects-reference-zone .pq-section--compact .pq-actions{
    width:100%;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  .prospects-reference-zone .pq-section--compact .pq-btn,
  .prospects-reference-zone .pq-section--compact .pq-btn--next{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:auto!important;
    min-height:49px!important;
    padding:10px 12px!important;
  }

  .prospects-reference-zone .faq-section{
    padding:16px 0 46px!important;
  }
  .prospects-reference-zone .faq-section .container{
    width:min(100% - 28px,680px)!important;
  }
  .prospects-reference-zone .faq-section .section-title h2{
    font-size:30px!important;
  }
  .prospects-reference-zone .faq-grid{
    grid-template-columns:1fr!important;
  }
  .prospects-reference-zone .faq-grid summary{
    min-height:56px!important;
    font-size:14px!important;
  }
  .prospects-reference-zone .faq-grid p{
    font-size:13.5px!important;
  }
}

@media(max-width:430px){
  .prospects-reference-zone .pq-section--compact .pq-step{
    width:28px!important;
    height:28px!important;
    font-size:11px!important;
  }
}

@media(max-width:350px){
  .prospects-reference-zone .pq-section--compact .pq-actions{
    grid-template-columns:1fr!important;
  }
  .prospects-reference-zone .pq-section--compact .pq-btn--back,
  .prospects-reference-zone .pq-section--compact .pq-btn--next{
    grid-column:1!important;
  }
}


/* ===== Compact footer (2026-08-20) =====
   Quiz/FAQ artwork is controlled by the following
   "Uploaded artwork integration" block. */

/* Footer: preserve the four-column structure, only reduce vertical bulk. */
.footer{
  padding:30px 0 24px!important;
}
.footer-grid{
  min-width:0;
  gap:26px!important;
}
.footer-grid>div{
  min-width:0;
}
.footer-grid>div:not(:first-child){
  padding-left:24px!important;
}
.footer-grid h3{
  max-width:100%;
  margin-bottom:9px!important;
  overflow-wrap:anywhere;
}
.footer-grid a,
.footer-grid p{
  max-width:100%;
  margin:5px 0!important;
  line-height:1.4!important;
  overflow-wrap:anywhere;
}
.brand--footer{
  margin-bottom:10px!important;
}
.footer-brand p{
  line-height:1.45!important;
}
.footer-socials{
  margin-top:10px!important;
}
.footer-grid .copyright{
  margin-top:16px!important;
}

/* Two-column footer: columns 1 and 3 start at the left edge. */
@media(max-width:1120px) and (min-width:761px){
  .footer-grid>div:nth-child(3){
    padding-left:0!important;
  }
}

@media(max-width:760px){
  .footer{
    padding:26px 0 22px!important;
  }
  .footer-grid{
    gap:0!important;
  }
  .footer-grid>div:not(:first-child){
    padding-left:0!important;
    padding-top:16px!important;
    margin-top:16px!important;
  }
}

/* ===== Uploaded artwork integration: quiz + FAQ only (2026-08-20) =====
   Uses the supplied artwork without AI regeneration. The source frame is kept
   intact; only a neutral lower continuation is added in the integrated asset
   so FAQ expansion cannot make the background resize or jump. */
.prospects-reference-zone{
  background-image:url("/assets/images/prospects-reference-bg-ultrasmooth.webp")!important;
  background-size:max(100%,1672px) auto!important;
  background-position:center top!important;
  background-repeat:no-repeat!important;
  background-color:#f5ede2!important;
}
.prospects-reference-zone::before{
  background:linear-gradient(180deg,
    rgba(255,252,247,.14) 0%,
    rgba(255,252,247,.18) 30%,
    rgba(248,241,233,.24) 56%,
    rgba(245,237,226,.34) 76%,
    rgba(245,237,226,.44) 100%)!important;
}
.prospects-reference-zone > .pq-section,
.prospects-reference-zone > .faq-section{
  background:transparent!important;
}
@media (max-width:900px){
  .prospects-reference-zone{
    background-size:auto 2200px!important;
    background-position:64% top!important;
  }
  .prospects-reference-zone::before{
    background:linear-gradient(180deg, rgba(255,252,247,.28) 0%, rgba(248,241,233,.36) 56%, rgba(245,237,226,.5) 100%)!important;
  }
}
@media (max-width:560px){
  .prospects-reference-zone{
    background-position:67% top!important;
  }
  .prospects-reference-zone::before{
    background:linear-gradient(180deg, rgba(255,252,247,.34) 0%, rgba(248,241,233,.42) 56%, rgba(245,237,226,.56) 100%)!important;
  }
}


/* =========================================================
   Shared artwork foundation: Situations → Reviews
   Final range, opacity and responsive behaviour are defined
   in the later "Exact shared background" block.
   ========================================================= */
.situations-team-background{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:#f8f3eb;
}
.situations-team-background::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background-image:url("/assets/images/situations-team-background.webp");
  background-size:100% 100%;
  background-position:center center;
  background-repeat:no-repeat;
  opacity:.96;
  -webkit-mask-image:linear-gradient(to bottom,
    transparent 0%,
    rgba(0,0,0,.20) 1.6%,
    #000 5.5%,
    #000 94.5%,
    rgba(0,0,0,.20) 98.4%,
    transparent 100%);
  mask-image:linear-gradient(to bottom,
    transparent 0%,
    rgba(0,0,0,.20) 1.6%,
    #000 5.5%,
    #000 94.5%,
    rgba(0,0,0,.20) 98.4%,
    transparent 100%);
}
.situations-team-background::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:linear-gradient(90deg,
    rgba(255,253,249,.10) 0%,
    rgba(255,253,249,.04) 34%,
    rgba(255,253,249,.02) 66%,
    rgba(255,253,249,.07) 100%);
}
.situations-team-background>section{
  position:relative;
  z-index:1;
}

/* Preserve the artwork through the light content sections. */
.situations-team-background>.installment-strip,
.situations-team-background>.xref-situations,
.situations-team-background>.ap-process,
.situations-team-background>#pricing,
.situations-team-background>.doc-services,
.situations-team-background>.ap-team-section{
  background:transparent!important;
}

/* Keep individual section decoration subtle over the shared artwork. */
.situations-team-background>.xref-situations::after{
  background:linear-gradient(180deg,rgba(255,255,255,.10),transparent 22%,transparent 80%,rgba(255,255,255,.06))!important;
}
.situations-team-background>.ap-process::before,
.situations-team-background>.ap-process::after{
  opacity:.08;
}

/* ===== Exact shared background: Payment → Reviews, no further =====
   Final shared-background layer. Replaces the obsolete intermediate
   "Payment → Team only" measurement rules. */
.situations-team-background{
  position:relative;
  isolation:isolate;
  overflow:hidden!important;
  background:transparent!important;
}
.situations-team-background::before,
.situations-team-background::after{
  inset:0!important;
  top:0!important;
  height:100%!important;
}
.situations-team-background::before{
  opacity:.12!important;
  background-size:100% 100%!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
  -webkit-mask-image:linear-gradient(to bottom,
    transparent 0%,
    rgba(0,0,0,.38) 1.8%,
    #000 5%,
    #000 95%,
    rgba(0,0,0,.38) 98.2%,
    transparent 100%)!important;
  mask-image:linear-gradient(to bottom,
    transparent 0%,
    rgba(0,0,0,.38) 1.8%,
    #000 5%,
    #000 95%,
    rgba(0,0,0,.38) 98.2%,
    transparent 100%)!important;
}
.situations-team-background::after{
  background:rgba(255,253,249,.025)!important;
}
.situations-team-background>.installment-strip,
.situations-team-background>.xref-situations,
.situations-team-background>.ap-process,
.situations-team-background>#pricing,
.situations-team-background>.doc-services,
.situations-team-background>.ap-team-section{
  background:transparent!important;
}

/* The same supplied artwork continues through the Results / reviews block. */
.situations-team-background>.reviews-section{
  position:relative;
  background:linear-gradient(90deg,#0b2422,#0b1f1e)!important;
}
.situations-team-background>.reviews-section::before{
  display:none!important;
}
.situations-team-background>.reviews-section .reviews-wrap{
  position:relative;
  z-index:1;
}

@media(max-width:900px){
  .situations-team-background::before{
    opacity:.105!important;
  }
  .situations-team-background::after{
    background:rgba(255,253,249,.035)!important;
  }
  .situations-team-background>.reviews-section{
    background:linear-gradient(90deg,#0b2422,#0b1f1e)!important;
  }
}

@media(max-width:560px){
  .situations-team-background::before{
    opacity:.095!important;
  }
  .situations-team-background::after{
    background:rgba(255,253,249,.045)!important;
  }
}

/* =========================================================
   Hero portrait protection base.
   Final portrait size and position are defined later in the
   "2026-09-06 — supplied hero background + supplied cutout" block.
   ========================================================= */
.hero__visual--protected{
  position:relative!important;
  overflow:visible!important;
  isolation:isolate!important;
}
.hero__visual--protected .hero__portrait-img{
  position:absolute!important;
  z-index:2!important;
  display:block!important;
  max-width:none!important;
  -webkit-user-select:none!important;
  user-select:none!important;
  -webkit-user-drag:none!important;
  -webkit-touch-callout:none!important;
  pointer-events:none!important;
  -webkit-backface-visibility:hidden;
  backface-visibility:hidden;
}
.hero__visual--protected .hero__portrait-shield{
  position:absolute;
  z-index:4;
  inset:0;
  display:block;
  background:transparent;
  pointer-events:none!important;
  -webkit-user-select:none;
  user-select:none;
  -webkit-touch-callout:none;
}
.hero__visual--protected .rating-card{
  z-index:6!important;
}

/* Rating position fallback for the mobile hero.
   The clickable Yandex rule below keeps the card interactive. */
@media(max-width:760px){
  .hero__visual--protected .rating-card{
    right:1%!important;
    bottom:8%!important;
  }
}
@media(max-width:460px){
  .hero__visual--protected .rating-card{
    right:0!important;
    bottom:7%!important;
  }
}

/* ==========================================================
   2026-08-29 — motion polish + mobile stability pass
   Additive overrides only: no CRM/form structure is changed.
   ========================================================== */
html{scroll-padding-top:96px}
body{overflow-x:hidden}

/* Progressive motion: elements stay visible when JS is unavailable. */
.js-motion-ready .site-reveal{
  opacity:0;
  transform:translate3d(0,18px,0);
  transition:
    opacity .68s cubic-bezier(.22,.61,.36,1),
    transform .68s cubic-bezier(.22,.61,.36,1);
  transition-delay:var(--reveal-delay,0ms);
  will-change:opacity,transform;
}
.js-motion-ready .site-reveal.is-visible{
  opacity:1;
  transform:translate3d(0,0,0);
}

/* Hero entrance is deliberately restrained so it feels premium, not busy. */
.js-motion-ready .hero__content .eyebrow,
.js-motion-ready .hero__content h1,
.js-motion-ready .hero__subtitle--offer,
.js-motion-ready .hero__text,
.js-motion-ready .hero__buttons,
.js-motion-ready .hero__visual,
.js-motion-ready .trustbar__inner{
  opacity:0;
  transform:translate3d(0,14px,0);
}
.js-motion-ready.motion-start .hero__content .eyebrow{animation:apHeroIn .62s .04s cubic-bezier(.22,.61,.36,1) forwards}
.js-motion-ready.motion-start .hero__content h1{animation:apHeroIn .74s .11s cubic-bezier(.22,.61,.36,1) forwards}
.js-motion-ready.motion-start .hero__subtitle--offer{animation:apHeroIn .7s .20s cubic-bezier(.22,.61,.36,1) forwards}
.js-motion-ready.motion-start .hero__text{animation:apHeroIn .68s .28s cubic-bezier(.22,.61,.36,1) forwards}
.js-motion-ready.motion-start .hero__buttons{animation:apHeroIn .68s .36s cubic-bezier(.22,.61,.36,1) forwards}
.js-motion-ready.motion-start .hero__visual{animation:apHeroPortraitIn .82s .18s cubic-bezier(.16,1,.3,1) forwards}
.js-motion-ready.motion-start .trustbar__inner{animation:apHeroIn .7s .44s cubic-bezier(.22,.61,.36,1) forwards}
@keyframes apHeroIn{to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes apHeroPortraitIn{from{opacity:0;transform:translate3d(14px,8px,0) scale(.992)}to{opacity:1;transform:none}}

@media (hover:hover) and (pointer:fine){
  .price-card,.process-grid article,.doc-services__step,.faq-grid details,.installment-strip__card{
    transition:transform .28s cubic-bezier(.22,.61,.36,1),box-shadow .28s ease,border-color .28s ease;
  }
  .price-card:hover,.process-grid article:hover,.doc-services__step:hover{
    transform:translateY(-3px);
    box-shadow:0 16px 34px rgba(61,45,22,.07);
  }
  .faq-grid details:hover{border-color:rgba(202,146,70,.48)}
}

/* Mobile navigation no longer relies on inline JS styles. */
@media(max-width:1180px){
  .topbar__inner{position:relative}
  .nav.is-mobile-open{
    display:flex!important;
    position:absolute;
    z-index:100;
    top:calc(100% + 9px);
    left:0;
    right:0;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    margin:0;
    padding:9px;
    border:1px solid rgba(231,183,102,.24);
    border-radius:14px;
    background:rgba(5,26,23,.98);
    box-shadow:0 18px 45px rgba(0,0,0,.28);
    -webkit-backdrop-filter:blur(16px);
    backdrop-filter:blur(16px);
    animation:apMenuIn .2s ease both;
  }
  .nav.is-mobile-open a{
    display:block;
    min-height:44px;
    padding:12px 11px;
    border-radius:9px;
  }
  .nav.is-mobile-open a:active{background:rgba(255,255,255,.055)}
  .menu-btn{min-width:42px;min-height:42px;touch-action:manipulation}
}
@keyframes apMenuIn{
  from{opacity:0;transform:translateY(-6px)}
  to{opacity:1;transform:none}
}

@media(max-width:760px){
  html{scroll-padding-top:78px}
  body{-webkit-text-size-adjust:100%}
  .container,.xref-container{max-width:100%}

  /* Header remains usable down to narrow iPhones without squeezing the logo. */
  .topbar{padding-top:max(8px,env(safe-area-inset-top));}
  .topbar__inner{gap:8px!important}
  .brand{min-width:0;flex:1 1 auto;gap:8px}
  .brand__copy{min-width:0}
  .brand__copy b{white-space:nowrap}
  .topbar__actions{flex:0 0 auto;margin-left:0}
  .topbar__actions .header-phone{min-width:128px!important}
  .menu-btn{width:42px!important;height:42px!important;flex:0 0 42px}

  /* Prevent accidental iOS form zoom and improve tap accuracy. */
  input,select,textarea{font-size:16px!important}
  .xref-btn,.pq-btn,.btn,.ap-team-cta,.installment-strip__cta,.contact-buttons a{min-height:44px}
  .faq-grid summary{min-height:48px;display:flex;align-items:center}

  /* Dynamic viewport height fixes for Safari/embedded browsers. */
  .ref-modal__dialog,
  .xref-service-modal__box,
  .xref-lead-modal__box,
  .ap-cert-modal__dialog{max-height:calc(100dvh - 28px)}

  /* Avoid content touching the viewport edge and accidental horizontal drift. */
  .hero__buttons,.pricing-grid,.process-grid,.faq-grid,.pq-panel,.pq-form{min-width:0}
  .hero-cta__copy{min-width:0}
  .hero-cta__copy b{white-space:normal;text-align:left}
  .hero__text,.hero__subtitle--offer{max-width:100%}
  .to-top{right:14px;bottom:max(14px,env(safe-area-inset-bottom));width:44px;height:44px}

/* Smaller travel distance on phones keeps reveal motion calm. */
.js-motion-ready .site-reveal{
  transform:translate3d(0,12px,0);
  transition-duration:.58s;
}
}

@media(max-width:420px){
  .hero>.container{
    width:calc(100% - 22px);
  }
  .hero h1{
    font-size:clamp(30px,8.6vw,36px)!important;
  }
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .js-motion-ready .site-reveal,
  .js-motion-ready .hero__content .eyebrow,
  .js-motion-ready .hero__content h1,
  .js-motion-ready .hero__subtitle--offer,
  .js-motion-ready .hero__text,
  .js-motion-ready .hero__buttons,
  .js-motion-ready .hero__visual,
  .js-motion-ready .trustbar__inner{
    opacity:1!important;
    transform:none!important;
    animation:none!important;
    transition:none!important;
  }
  .nav.is-mobile-open{animation:none}
}


/* ==========================================================
   2026-08-30 — Yandex Maps office block / full-bleed v2
   Isolated styles: map fills the section; existing footer/forms untouched.
   ========================================================== */
.office-map-section{
  position:relative;
  width:100%;
  min-width:0;
  margin:0;
  padding:0;
  background:#e9e5dc;
  border-top:1px solid rgba(185,122,46,.14);
  overflow:hidden;
}
.office-map__frame{
  position:relative;
  width:100%;
  height:560px;
  min-width:0;
  overflow:hidden;
  background:#e7e4dc;
}
.office-map__frame iframe{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  margin:0;
  border:0;
}
.office-map__shade{
  position:absolute;
  z-index:1;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(7,28,26,.25) 0%,rgba(7,28,26,.10) 22%,rgba(7,28,26,0) 48%);
}
.office-map__overlay{
  position:relative;
  z-index:2;
  height:100%;
  min-width:0;
  display:flex;
  align-items:center;
  pointer-events:none;
}
.office-map__card{
  width:min(390px,100%);
  min-width:0;
  max-width:100%;
  padding:32px 34px 30px;
  border:1px solid rgba(185,122,46,.28);
  border-radius:18px;
  background:rgba(255,253,249,.96);
  box-shadow:0 22px 55px rgba(25,31,25,.18);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  pointer-events:auto;
}
.office-map__eyebrow{
  max-width:100%;
  margin:0 0 9px;
  color:var(--gold-dark);
  font-size:11px;
  font-weight:800;
  letter-spacing:.14em;
  overflow-wrap:anywhere;
}
.office-map__card h2{
  max-width:100%;
  margin:0;
  color:var(--ink);
  font-size:36px;
  line-height:1.08;
  letter-spacing:-.03em;
  overflow-wrap:anywhere;
}
.office-map__card address{
  max-width:100%;
  margin:12px 0 0;
  color:#68645d;
  font-size:14px;
  line-height:1.6;
  font-style:normal;
  overflow-wrap:anywhere;
}
.office-map__open{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  max-width:100%;
  min-height:46px;
  margin-top:24px;
  padding:11px 17px;
  border:1px solid rgba(185,122,46,.52);
  border-radius:10px;
  color:#7b4e1b;
  background:#fffaf2;
  font-size:12px;
  line-height:1.3;
  font-weight:750;
  text-align:center;
  white-space:normal;
  overflow-wrap:anywhere;
  box-shadow:0 6px 18px rgba(157,102,35,.08);
  transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease;
}
.office-map__open:focus-visible{
  outline:3px solid rgba(185,122,46,.22);
  outline-offset:3px;
  border-color:rgba(185,122,46,.82);
  background:#fff7e8;
  box-shadow:0 9px 22px rgba(157,102,35,.12);
}
@media(hover:hover) and (pointer:fine){
  .office-map__open:hover{
    transform:translateY(-1px);
    border-color:rgba(185,122,46,.82);
    background:#fff7e8;
    box-shadow:0 9px 22px rgba(157,102,35,.12);
  }
}

@media(max-width:1100px){
  .office-map__frame{height:520px}
  .office-map__card{
    width:360px;
    padding:29px 30px 28px;
  }
}
@media(max-width:760px){
  .office-map__frame{height:480px}
  .office-map__shade{
    background:linear-gradient(180deg,rgba(7,28,26,.18) 0%,rgba(7,28,26,.05) 42%,rgba(7,28,26,0) 70%);
  }
  .office-map__overlay{
    align-items:flex-start;
    padding-top:22px;
  }
  .office-map__card{
    width:min(430px,100%);
    padding:24px 24px 23px;
    border-radius:15px;
    background:rgba(255,253,249,.97);
  }
  .office-map__card h2{font-size:30px}
  .office-map__card address{
    font-size:13px;
    line-height:1.55;
  }
  .office-map__open{
    margin-top:18px;
    min-height:44px;
  }
}
@media(max-width:430px){
  .office-map__frame{height:455px}
  .office-map__overlay{padding-top:16px}
  .office-map__card{
    padding:20px 20px 19px;
    border-radius:13px;
  }
  .office-map__card h2{font-size:27px}
  .office-map__eyebrow{
    font-size:10px;
    margin-bottom:7px;
  }
  .office-map__open{
    width:100%;
    margin-top:16px;
  }
}
@media(max-width:350px){
  .office-map__frame{height:440px}
  .office-map__card{padding:18px}
  .office-map__card h2{font-size:25px}
}
@media(prefers-reduced-motion:reduce){
  .office-map__open{transition:none}
}

/* Production loading polish: do not show the cutout before the hero office background is ready. */
.hero__portrait-img{transition:opacity .14s ease}
.hero-bg-loading .hero__portrait-img{opacity:0!important}
@media(prefers-reduced-motion:reduce){
  .hero__portrait-img{transition:none!important}
}

/* Explicit personal-data consent. */
.xref-consent{
  display:flex!important;
  align-items:flex-start;
  min-width:0;
  gap:8px;
  cursor:pointer;
}
.xref-consent input{
  width:16px!important;
  height:16px!important;
  flex:0 0 16px;
  margin:1px 0 0;
  accent-color:#dca85b;
}
.xref-consent span{
  display:block;
  min-width:0;
  max-width:100%;
  overflow-wrap:anywhere;
}
.pq-consent-check{
  display:flex;
  align-items:flex-start;
  min-width:0;
  gap:9px;
  color:#5b6774;
  font-size:12px;
  line-height:1.5;
  cursor:pointer;
}
.pq-consent-check input{
  width:16px;
  height:16px;
  flex:0 0 16px;
  margin:1px 0 0;
  accent-color:#b87b33;
}
.pq-consent-check a{
  text-decoration:underline;
  text-underline-offset:2px;
  overflow-wrap:anywhere;
}

/* 2026-09-06 — Yandex rating card is an actionable trust link */
.hero__visual--protected .rating-card--link{
  pointer-events:auto!important;
  cursor:pointer;
  text-decoration:none;
  color:#3c3023;
  -webkit-user-select:auto!important;
  user-select:auto!important;
  transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease;
}
.hero__visual--protected .rating-card--link:focus-visible{
  outline:3px solid rgba(243,217,143,.92);
  outline-offset:4px;
}
@media(hover:hover) and (pointer:fine){
  .hero__visual--protected .rating-card--link:hover{
    transform:translateY(-2px);
    box-shadow:0 22px 48px rgba(0,0,0,.24);
    background:#fff;
  }
}
@media(prefers-reduced-motion:reduce){
  .hero__visual--protected .rating-card--link{transition:none}
  .hero__visual--protected .rating-card--link:hover{transform:none}
}

/* ==========================================================
   2026-09-06 — clickable Yandex rating + mobile quick contacts
   ========================================================== */
.hero__visual--protected .hero__portrait-shield{
  pointer-events:none!important;
}
.hero__visual--protected .rating-card.rating-card--link{
  position:absolute!important;
  z-index:20!important;
  pointer-events:auto!important;
  cursor:pointer!important;
  -webkit-user-select:auto!important;
  user-select:auto!important;
  touch-action:manipulation;
}
.mobile-contact-actions{display:none}
.mobile-contact-modal{display:none}

@media (max-width:1120px){
  .topbar{padding-top:max(7px,env(safe-area-inset-top))!important}
  .topbar .container{width:calc(100% - 12px)!important}
  .topbar__inner{
    min-height:64px!important;
    height:64px!important;
    padding:6px 7px!important;
    gap:5px!important;
    border-radius:21px!important;
  }
  .topbar__actions{display:none!important}
  .mobile-contact-actions{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:5px;
    flex:1 1 auto;
    min-width:0;
  }
  .mobile-contact-action{
    min-width:0;
    height:42px;
    padding:0 7px;
    border:1px solid rgba(225,179,100,.34);
    border-radius:15px;
    background:rgba(4,20,18,.34);
    color:#f0c77f;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:5px;
    text-decoration:none;
    font-family:inherit;
    font-size:10.5px;
    line-height:1;
    font-weight:700;
    white-space:nowrap;
    cursor:pointer;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
    -webkit-tap-highlight-color:transparent;
  }
  .mobile-contact-action svg{
    width:15px;
    height:15px;
    flex:0 0 15px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
  }
  .mobile-contact-action:active{transform:translateY(1px)}
  .topbar .brand{
    flex:0 0 92px!important;
    min-width:92px!important;
    max-width:92px!important;
    gap:6px!important;
  }
  .topbar .brand__mark{
    width:32px!important;
    height:32px!important;
    flex-basis:32px!important;
  }
  .topbar .brand__copy b{
    white-space:normal!important;
    font-size:9.5px!important;
    line-height:.94!important;
    letter-spacing:.015em!important;
  }
  .topbar .brand__copy small{display:none!important}
  .menu-btn{
    width:38px!important;
    height:42px!important;
    flex:0 0 38px!important;
    margin:0!important;
    border-radius:15px!important;
    font-size:0!important;
    position:relative;
  }
  .menu-btn::before,.menu-btn::after,.menu-btn{
    background-color:transparent;
  }
  .menu-btn::before,
  .menu-btn::after{
    content:"";
    position:absolute;
    left:9px;
    width:20px;
    height:1.5px;
    background:#edc67f;
    border-radius:2px;
    transition:transform .18s ease,top .18s ease;
  }
  .menu-btn::before{top:15px;box-shadow:0 6px 0 #edc67f}
  .menu-btn::after{top:27px}
  .menu-btn[aria-expanded="true"]::before{top:20px;box-shadow:none;transform:rotate(45deg)}
  .menu-btn[aria-expanded="true"]::after{top:20px;transform:rotate(-45deg)}

  .mobile-contact-modal{
    position:fixed;
    inset:0;
    z-index:10050;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:max(14px,env(safe-area-inset-top)) 12px max(14px,env(safe-area-inset-bottom));
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .18s ease,visibility .18s ease;
  }
  .mobile-contact-modal.is-open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transition:opacity .18s ease;
  }
  .mobile-contact-modal__backdrop{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.78);
    -webkit-backdrop-filter:blur(7px);
    backdrop-filter:blur(7px);
  }
.mobile-contact-modal__dialog{
  position:relative;
  z-index:1;
  width:min(100%,430px);
  min-width:0;
  max-height:calc(100vh - 28px);
  max-height:calc(100dvh - 28px);
  overflow:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
    border:1px solid rgba(225,179,100,.5);
    border-radius:24px;
    background:linear-gradient(180deg,#14120e,#080907 78%);
    box-shadow:0 28px 70px rgba(0,0,0,.52),inset 0 1px 0 rgba(255,255,255,.035);
    padding:27px 20px 22px;
    color:#f7f2e9;
    transform:translateY(10px) scale(.985);
    transition:transform .2s ease;
  }
  .mobile-contact-modal.is-open .mobile-contact-modal__dialog{transform:none}
  .mobile-contact-modal__close{
    position:absolute;
    right:15px;
    top:12px;
    width:38px;
    height:38px;
    border:0;
    background:transparent;
    color:#aaa59c;
    font-size:37px;
    line-height:1;
    cursor:pointer;
  }
  .mobile-contact-modal__mark{
    width:58px;
    height:58px;
    margin:0 auto 16px;
    display:grid;
    place-items:center;
    border:1px solid rgba(225,179,100,.45);
    border-radius:50%;
    color:#f0c77f;
    font-size:27px;
    background:rgba(225,179,100,.045);
  }
  .mobile-contact-modal h2{
    margin:0;
    text-align:center;
    color:#fffaf1;
    font-family:Georgia,"Times New Roman",serif;
    font-size:36px;
    font-weight:700;
    line-height:1.05;
  }
  .mobile-contact-modal__rule{
    display:block;
    width:44px;
    height:2px;
    margin:15px auto 15px;
    background:#d6ac63;
  }
  .mobile-contact-modal__subtitle{
    margin:0 0 19px;
    text-align:center;
    color:#918d86;
    font-size:14px;
    line-height:1.35;
  }
  .mobile-contact-modal__list{display:grid;gap:9px}
  .mobile-contact-channel{
    min-height:68px;
    display:grid;
    grid-template-columns:48px minmax(0,1fr) 18px;
    gap:12px;
    align-items:center;
    padding:9px 14px 9px 12px;
    border:1px solid rgba(225,179,100,.33);
    border-radius:16px;
    background:rgba(255,255,255,.015);
    color:#fff;
    text-decoration:none;
    -webkit-tap-highlight-color:transparent;
  }
  .mobile-contact-channel:active{background:rgba(225,179,100,.065)}
  .mobile-contact-channel__icon{
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
    border:1px solid rgba(225,179,100,.42);
    border-radius:50%;
    color:#f3d587;
    font-size:14px;
    font-weight:800;
  }
  .mobile-contact-channel__icon--max{font-size:11px}
  .mobile-contact-channel__copy{min-width:0;display:flex;flex-direction:column;gap:3px}
  .mobile-contact-channel__copy b{font-size:18px;line-height:1.05;color:#fffaf3}
  .mobile-contact-channel__copy small{font-size:12px;line-height:1.1;color:#8e8981}
  .mobile-contact-channel__arrow{justify-self:end;color:#e3b864;font-size:31px;line-height:1}
  .mobile-contact-modal__phone{
    margin-top:18px;
    padding-top:16px;
    border-top:1px solid rgba(225,179,100,.23);
    text-align:center;
  }
  .mobile-contact-modal__phone a{
    display:block;
    color:#f3d587;
    font-size:20px;
    font-weight:800;
    text-decoration:none;
  }
  .mobile-contact-modal__phone small{
    display:block;
    margin-top:7px;
    color:#77736e;
    font-size:11px;
  }
  html.mobile-contact-modal-open,
  html.mobile-contact-modal-open body{overflow:hidden!important}
}


@media (min-width:761px) and (max-width:1120px){
  .topbar{padding-top:8px!important}
  .topbar .container{width:min(100% - 20px,1080px)!important}
  .topbar__inner{
    min-height:72px!important;
    height:72px!important;
    padding:7px 10px 7px 14px!important;
    gap:10px!important;
    border:1px solid rgba(225,179,100,.28);
    border-radius:23px!important;
    background:linear-gradient(180deg,rgba(14,42,37,.88),rgba(5,25,23,.86));
    box-shadow:0 14px 34px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.05);
  }
.topbar .brand{
  flex:0 0 220px!important;
  min-width:220px!important;
  max-width:220px!important;
  gap:9px!important;
}
.topbar .brand__mark{
  width:39px!important;
  height:39px!important;
  flex:0 0 39px!important;
}
.topbar .brand__copy{
  min-width:0!important;
}
.topbar .brand__copy b{
  font-size:11px!important;
  line-height:1!important;
  white-space:normal!important;
  color:#efbf73;
}
  .topbar .brand__copy small{display:block!important;font-size:8px!important;margin-top:4px!important}
  .mobile-contact-actions{
    flex:0 1 360px;
    max-width:360px;
    margin-left:auto;
    gap:8px;
  }
  .mobile-contact-action{height:48px;font-size:12px;padding-inline:12px;border-radius:17px}
  .mobile-contact-action svg{width:16px;height:16px;flex-basis:16px}
  .menu-btn{width:46px!important;height:48px!important;flex:0 0 46px!important;border-radius:17px!important}
  .menu-btn::before,.menu-btn::after{left:12px;width:22px}
}

@media(max-width:390px){
  .topbar .brand{flex-basis:82px!important;min-width:82px!important;max-width:82px!important}
  .topbar .brand__mark{width:29px!important;height:29px!important;flex-basis:29px!important}
  .topbar .brand__copy b{font-size:8.5px!important}
  .mobile-contact-action{font-size:9.7px;padding-inline:5px;gap:4px}
  .mobile-contact-action svg{width:13px;height:13px;flex-basis:13px}
  .menu-btn{width:35px!important;flex-basis:35px!important}
  .menu-btn::before,.menu-btn::after{left:8px;width:19px}
}

@media(max-width:340px){
  .topbar .brand{flex-basis:68px!important;min-width:68px!important;max-width:68px!important}
  .topbar .brand__copy{display:none!important}
  .mobile-contact-action{font-size:9.3px}
  .mobile-contact-modal__dialog{padding-inline:15px}
  .mobile-contact-modal h2{font-size:32px}
}

/* ==========================================================
   2026-09-06 — mobile contact modal: Anatomy Prava green/gold theme
   ========================================================== */
@media(max-width:1120px){
  .mobile-contact-modal__backdrop{
    background:rgba(4,20,18,.74);
    -webkit-backdrop-filter:blur(9px) saturate(.9);
    backdrop-filter:blur(9px) saturate(.9);
  }
  .mobile-contact-modal__dialog{
    border:1px solid rgba(217,162,85,.48);
    background:
      radial-gradient(circle at 50% -8%,rgba(217,162,85,.14),transparent 34%),
      radial-gradient(circle at 100% 100%,rgba(255,255,255,.035),transparent 31%),
      linear-gradient(155deg,#10342f 0%,#0b2926 52%,#081f1d 100%);
    box-shadow:
      0 28px 80px rgba(3,18,16,.48),
      inset 0 1px 0 rgba(255,255,255,.055),
      inset 0 0 0 1px rgba(217,162,85,.035);
    color:#fffdf9;
  }
  .mobile-contact-modal__close{
    border:1px solid rgba(217,162,85,.24);
    border-radius:50%;
    background:rgba(255,255,255,.025);
    color:#d7ddd9;
    font-size:30px;
    transition:background .18s ease,border-color .18s ease,color .18s ease;
  }
  .mobile-contact-modal__close:focus-visible{
    border-color:rgba(245,214,165,.58);
    background:rgba(217,162,85,.09);
    color:#f5d6a5;
    outline:2px solid rgba(245,214,165,.55);
    outline-offset:3px;
  }
  .mobile-contact-modal__mark{
    border-color:rgba(217,162,85,.48);
    color:#f0c17e;
    background:linear-gradient(180deg,rgba(217,162,85,.10),rgba(217,162,85,.035));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
  }
  .mobile-contact-modal h2{
    color:#fffdf9;
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
    font-size:32px;
    font-weight:780;
    letter-spacing:-.025em;
  }
  .mobile-contact-modal__rule{
    background:linear-gradient(90deg,transparent,#d9a255,transparent);
    width:72px;
    height:1px;
  }
  .mobile-contact-modal__subtitle{
    color:#c2ccc7;
    font-size:13px;
  }
  .mobile-contact-channel{
    border-color:rgba(217,162,85,.27);
    background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.022));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
    transition:background .16s ease,border-color .16s ease,transform .16s ease;
  }
  .mobile-contact-channel:focus-visible{
    border-color:rgba(217,162,85,.50);
    background:linear-gradient(180deg,rgba(217,162,85,.095),rgba(255,255,255,.028));
    outline:2px solid rgba(245,214,165,.45);
    outline-offset:3px;
  }
  .mobile-contact-channel:active{
    background:rgba(217,162,85,.10);
    transform:translateY(1px);
  }
  .mobile-contact-channel__icon{
    border-color:rgba(217,162,85,.43);
    color:#f5d6a5;
    background:rgba(217,162,85,.055);
  }
  .mobile-contact-channel__copy b{color:#fffdf9}
  .mobile-contact-channel__copy small{color:#aebbb5}
  .mobile-contact-channel__arrow{color:#e5b86c}
  .mobile-contact-modal__phone{
    border-top-color:rgba(217,162,85,.22);
  }
  .mobile-contact-modal__phone a{color:#f5d6a5}
  .mobile-contact-modal__phone small{color:#9eaaa4}
}

@media(max-width:1120px) and (hover:hover) and (pointer:fine){
  .mobile-contact-modal__close:hover{
    border-color:rgba(245,214,165,.58);
    background:rgba(217,162,85,.09);
    color:#f5d6a5;
  }
  .mobile-contact-channel:hover{
    border-color:rgba(217,162,85,.50);
    background:linear-gradient(180deg,rgba(217,162,85,.095),rgba(255,255,255,.028));
  }
}

/* =========================================================
   2026-09-06 — supplied hero background + supplied cutout
   2026-09-06 v2 — portrait moved slightly left for better balance
   Visual-only integration. Existing content, controls, grid,
   motion and all sections below the hero remain unchanged.
   ========================================================= */
.hero{
  background:
    linear-gradient(90deg,rgba(7,32,29,.78) 0%,rgba(7,30,27,.58) 31%,rgba(7,27,25,.22) 58%,rgba(5,20,19,.05) 100%),
    linear-gradient(180deg,rgba(4,20,18,.03) 0%,rgba(4,20,18,.02) 71%,rgba(4,20,18,.22) 100%),
    url('/assets/images/hero-office-bg-20260915.webp') 50% center/cover no-repeat!important;
}
.hero::after{
  background:
    radial-gradient(circle at 33% 40%,rgba(229,179,103,.035),transparent 29%),
    radial-gradient(circle at 77% 40%,rgba(240,192,113,.075),transparent 23%),
    linear-gradient(90deg,rgba(5,30,27,.10),transparent 56%)!important;
}
.hero__visual::after{
  left:4%!important;right:-7%!important;bottom:3%!important;height:10%!important;
  background:radial-gradient(ellipse at 57% 100%,rgba(0,0,0,.26),transparent 68%)!important;
  filter:blur(12px)!important;
}
.hero__visual--protected .hero__portrait-img,
.hero__visual img{
  left:auto!important;
  right:1.2%!important;
  top:auto!important;
  bottom:-14px!important;
  width:auto!important;
  height:89%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:right bottom!important;
  transform:none!important;
  filter:saturate(.98) contrast(1.02) brightness(1.00) drop-shadow(-12px 18px 26px rgba(0,0,0,.23))!important;
}

@media (min-width:1500px){
  .hero__visual--protected .hero__portrait-img,
  .hero__visual img{right:3.2%!important;bottom:-14px!important;height:90%!important;}
}

@media (max-width:1180px) and (min-width:761px){
  .hero{background-position:52% center!important;}
  .hero__visual--protected .hero__portrait-img,
  .hero__visual img{right:-1.5%!important;bottom:-10px!important;height:86%!important;}
}

@media (max-width:760px){
  .hero{
    background:
      linear-gradient(180deg,rgba(6,29,26,.86) 0%,rgba(6,28,25,.76) 39%,rgba(6,25,23,.40) 66%,rgba(5,21,20,.20) 100%),
      url('/assets/images/hero-office-bg-20260915.webp') 30% center/cover no-repeat!important;
  }
  .hero__visual--protected{min-height:420px!important;margin:18px -8px 0!important;overflow:visible!important;}
  .hero__visual--protected .hero__portrait-img,
  .hero__visual img{
    left:50%!important;
    right:auto!important;
    bottom:0!important;
    width:min(95vw,395px)!important;
    height:auto!important;
    transform:translate3d(-50%,0,0)!important;
    object-position:center bottom!important;
    filter:saturate(.99) contrast(1.02) brightness(1.01) drop-shadow(0 15px 23px rgba(0,0,0,.20))!important;
  }
  .hero__visual::after{left:8%!important;right:8%!important;bottom:1%!important;height:11%!important;}
}

@media (max-width:460px){
  .hero__visual--protected{min-height:390px!important;}
  .hero__visual--protected .hero__portrait-img,
  .hero__visual img{width:min(97vw,385px)!important;}
}

@media (max-width:360px){
  .hero__visual--protected{min-height:370px!important;}
  .hero__visual--protected .hero__portrait-img,
  .hero__visual img{width:98vw!important;}
}

/* Tablet bridge: avoid desktop two-column collision around 768–820px. */
@media (max-width:820px) and (min-width:761px){
  .hero{
    min-height:auto!important;
    padding-bottom:0!important;
    background:
      linear-gradient(180deg,rgba(6,29,26,.82) 0%,rgba(6,28,25,.68) 42%,rgba(6,25,23,.34) 70%,rgba(5,21,20,.18) 100%),
      url('/assets/images/hero-office-bg-20260915.webp') 34% center/cover no-repeat!important;
  }
  .hero>.container{width:calc(100% - 36px)!important;}
  .hero__inner{display:block!important;min-height:auto!important;}
  .hero__content{max-width:690px!important;padding:112px 10px 28px!important;}
  .hero h1{width:auto!important;max-width:680px!important;font-size:52px!important;}
  .hero__subtitle--offer{max-width:650px!important;font-size:22px!important;}
  .hero__text{max-width:610px!important;}
  .hero__visual--protected{min-height:520px!important;margin:18px -8px 0!important;overflow:visible!important;}
  .hero__visual--protected .hero__portrait-img,
  .hero__visual img{
    left:50%!important;
    right:auto!important;
    top:auto!important;
    bottom:0!important;
    width:min(58vw,450px)!important;
    height:auto!important;
    transform:translate3d(-50%,0,0)!important;
    object-position:center bottom!important;
  }
  .rating-card{right:7%!important;bottom:9%!important;}
  .trustbar{position:relative!important;bottom:auto!important;padding:0 0 14px!important;margin-top:-8px!important;}
  .trustbar .container{width:calc(100% - 24px)!important;}
  .trustbar__inner{grid-template-columns:1fr 1fr!important;min-height:0!important;padding:6px!important;border-radius:14px!important;}
  .trustbar__inner .trust-item{min-height:72px!important;justify-content:flex-start!important;padding:8px 14px!important;font-size:12px!important;}
  .trustbar__inner .trust-item + .trust-item{border-left:0!important;}
  .trustbar__inner .trust-item:nth-child(even){border-left:1px solid rgba(225,239,231,.09)!important;}
  .trustbar__inner .trust-item:nth-child(n+3){border-top:1px solid rgba(225,239,231,.09)!important;}
}

/* Mobile trustbar: four compact items in one row. */
@media(max-width:760px){
  .hero .trustbar__inner{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    align-items:stretch!important;
    gap:0!important;
    min-height:0!important;
    padding:8px 4px!important;
  }
  .hero .trustbar__inner .trust-item{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:6px!important;
    min-width:0!important;
    min-height:0!important;
    padding:6px 1px!important;
    border:0!important;
    text-align:center;
  }
  .hero .trustbar__inner .trust-item+.trust-item{
    border-left:1px solid rgba(225,239,231,.10)!important;
  }
  .hero .trustbar .trust-icon{
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
    border-radius:9px!important;
  }
  .hero .trustbar .trust-icon svg{
    width:19px!important;
    height:19px!important;
  }
  .hero .trustbar .trust-icon--map svg{
    width:23px!important;
    height:18px!important;
  }
  .hero .trustbar .trust-label{
    display:block;
    max-width:100%;
    font-size:clamp(10px,2.7vw,11px)!important;
    line-height:1.25!important;
    font-weight:600;
    letter-spacing:0;
    white-space:normal!important;
    overflow-wrap:anywhere;
    hyphens:auto;
  }
}

/* МОБИЛЬНЫЙ HERO: ДВЕ ЗОЛОТЫЕ КНОПКИ */
.hero .hero-cta--secondary .hero-cta__icon--situation{display:none}
@media(max-width:760px){
  .hero .hero__buttons .hero-cta{
    justify-content:flex-start;
    align-items:center;
    width:100%;
    min-height:66px;
    padding:13px 24px;
    border:1px solid transparent;
    border-radius:11px;
    background:linear-gradient(180deg,#efc27f,#d69b4c);
    box-shadow:0 5px 16px rgba(210,148,62,.24);
    color:#432a11;
    text-align:left;
    filter:none;
  }
  .hero .hero__buttons .hero-cta:hover{
    background:linear-gradient(180deg,#efc27f,#d69b4c);
    box-shadow:0 5px 16px rgba(210,148,62,.24);
    filter:brightness(1.03);
  }
  .hero .hero__buttons .hero-cta .hero-cta__icon{
    display:grid;
    place-items:center;
    width:29px;
    height:34px;
    flex:0 0 29px;
    color:#3b2917;
  }
  .hero .hero__buttons .hero-cta .hero-cta__icon svg{
    width:27px;
    height:31px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.55;
    stroke-linecap:round;
    stroke-linejoin:round;
  }
  .hero .hero__buttons .hero-cta .hero-cta__copy{
    flex:1 1 auto;
    min-width:0;
    align-items:flex-start;
    text-align:left;
  }
  .hero .hero__buttons .hero-cta .hero-cta__copy b,
  .hero .hero__buttons .hero-cta .hero-cta__copy small{
    color:inherit;
    white-space:normal;
    text-align:left;
  }
  .hero .hero__buttons .hero-cta .hero-cta__arrow{
    display:none;
  }
}


/* Keep a focused quiz question clear of the sticky header. */
.pq-question-title{scroll-margin-top:16px}
.pq-question-title:focus-visible{outline:2px solid #855715;outline-offset:5px}

/* Desktop layout adjustments. Mobile and tablet rules remain separate. */
@media (min-width:1121px){
  /* The hero copy shares the left edge of the benefits panel. */
  #top .hero>.container,#top .trustbar .container{width:min(1240px,calc(100% - 72px))!important}
  #top .hero__content{padding:48px 20px 80px 0!important;transform:translateY(-28px)}
  #top .hero__content .eyebrow{margin-bottom:22px}
  #top .hero__content h1{margin-bottom:26px}
  #top .hero__content .hero__subtitle--offer{margin-bottom:24px}
  #top .hero__text{max-width:610px!important;margin-bottom:34px!important;color:#edf2ef}
  #top .hero__buttons{gap:16px}
  #top .hero-cta{width:auto;flex:1 1 240px;min-width:0;min-height:84px;padding:16px 20px}
  #top .rating-card{width:244px;padding:18px 20px}
  #top .trustbar__inner{min-height:112px;height:auto}
  #top .trustbar__inner .trust-item{min-height:90px;padding:12px 16px}

  /* Allow room for labels instead of squeezing the navigation. */
  .topbar{padding-top:10px!important;margin-bottom:-98px!important}
  .topbar .container{width:min(1640px,calc(100% - 48px))!important}
  .topbar .topbar__inner{height:88px!important;min-height:88px;gap:20px;padding:12px 22px!important}
  .topbar .brand{min-width:232px!important;flex:0 0 auto!important}
  .topbar #mainNav{display:flex!important;flex:0 0 auto!important;gap:18px!important;margin-left:auto}
  .topbar .menu-btn{display:none!important}
  .topbar #mainNav a{display:flex;align-items:center;min-height:44px;white-space:nowrap}
  .topbar .topbar__actions{gap:8px;margin-left:auto}
  .topbar .social{width:44px!important;height:44px!important;min-width:44px}
  .topbar .header-phone{min-width:220px!important;min-height:56px!important}
  #top .hero{padding-top:108px!important}

  #top .xref-pain-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
  #top .xref-pain-card{padding:26px;min-height:0}
  #top .xref-pain-card h3{min-height:0}
  #top .xref-card-actions{grid-template-columns:1fr;gap:10px}
  #top .xref-card-actions .xref-btn{width:100%}
  #top .btn,#top .xref-btn,#top .pq-btn,#top .ap-team-cta,
  #top .ap-team-certificate--button,#top .installment-strip__cta,#top .office-map__open{
    height:auto!important;min-height:54px!important;padding:14px 22px!important;
    white-space:normal;
  }
  #top .xref-btn--ghost{color:#855715}
  #top .ap-process__flow{gap:20px}
  #top .ap-process__step{align-items:flex-start}
  #top .doc-services__steps{gap:12px}
  #top .doc-services__step{padding:24px 16px}

  #top .pq-head{max-width:960px!important}
  #top .pq-question-title{scroll-margin-top:150px}
  #top .pq-option__body{min-height:66px!important}
  #top .pq-step{width:42px!important;height:42px!important}
  #top .pq-field input,#top .pq-field textarea,#top .pq-field select{min-height:56px}
  #top .pq-consent,#top .pq-consent-check,#top .pq-consent-copy{color:#46534e}

  #top .pricing-grid,#top .full-service{max-width:1180px}
  #top .price-card{padding:32px 26px 26px}
  #top .popular{padding:5px 12px}
  #top .faq-grid summary{min-height:72px!important;padding-block:18px!important}
  #top .office-map__card{width:440px;max-width:calc(100% - 48px)}

  body .footer .footer-grid{grid-template-columns:1.1fr .8fr 1.1fr 1.2fr;gap:28px}
  body .footer .footer-socials a{width:44px;height:44px;min-width:44px}
  body .footer nav a{min-height:40px;padding-block:7px}
  #xrefLeadModal .xref-lead-modal__box{width:min(760px,100%);padding:32px}
  #xrefLeadModal label>span,#xrefLeadModal .xref-lead-modal__policy{color:#46534e}
  #xrefLeadModal input[type=checkbox]{width:22px;height:22px;min-height:22px;flex:0 0 22px;margin-top:2px}
  #xrefLeadModal input:not([type=checkbox]):not([type=hidden]),#xrefLeadModal select,#xrefLeadModal textarea{min-height:56px}
  #xrefLeadModal button[type=submit],#xrefServiceModal .xref-btn{min-height:56px;padding:14px 24px}
  #xrefLeadModal .xref-lead-modal__close,#xrefServiceModal .xref-service-modal__close,#apCertModal .ap-cert-modal__close{width:48px;height:48px}
}
@media (min-width:1121px) and (max-width:1599px){
  .topbar{margin-bottom:-98px!important}
  .topbar .topbar__inner{height:88px!important;display:flex!important;flex-wrap:nowrap}
  #top .hero{padding-top:152px!important}
}
/* Header only: keep desktop navigation in one row on narrower screens. */
@media (min-width:1181px) and (max-width:1320px){
  .topbar .topbar__inner{gap:12px;padding-inline:16px!important}
  .topbar .brand{min-width:200px!important}
  .topbar #mainNav{gap:10px!important}
  .topbar .topbar__actions{gap:6px}
  .topbar .social{width:36px!important;height:36px!important;min-width:36px;flex-basis:36px}
  .topbar .header-phone{width:190px;min-width:190px!important}
}
/* Use the existing dropdown and its existing 1180px JavaScript breakpoint. */
@media (min-width:1121px) and (max-width:1180px){
  .topbar #mainNav:not(.is-mobile-open){display:none!important}
  .topbar #mainNav.is-mobile-open{flex-direction:column;gap:0!important;margin:0}
  .topbar .menu-btn{display:grid!important}
}

/* Reserve the full word width in the mobile brand instead of clipping it. */
@media (max-width:760px){
  .topbar .brand{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
  }
  .topbar .brand__copy{width:min-content;flex:0 0 auto}
  .mobile-contact-action span{min-width:0;white-space:normal;line-height:1.15;text-align:center}
}

/* Multiple-answer quiz options use square check marks. */
.pq-option input[type="checkbox"] + .pq-option__body .pq-radio{border-radius:5px}
.pq-option input[type="checkbox"] + .pq-option__body .pq-radio::after{
  width:10px;height:6px;border-left:2px solid #855715;border-bottom:2px solid #855715;
  border-radius:0;background:none;transform:rotate(-45deg) scale(0);
}
.pq-option input[type="checkbox"]:checked + .pq-option__body .pq-radio::after{transform:rotate(-45deg) scale(1)}

/* Mobile hero: portrait followed by the existing actions, without the trustbar. */
@media (max-width:760px){
  .hero .trustbar{display:none!important}
  .hero__inner > .hero__buttons{position:relative;z-index:3;margin:24px 0 0;padding-bottom:28px}
  .hero__content{padding-top:24px;padding-bottom:0}
  .hero__text{margin-bottom:0}
  .hero__visual--protected{min-height:0!important;margin-top:16px!important}
  .hero__visual--protected .hero__portrait-img{position:relative!important}
}
