/* MIARIVO service landing pages — visual system aligned with homepage, 2026-11-01 */
/* Scope: only /swiadectwo-energetyczne-mieszkanie/ and /swiadectwo-energetyczne-dom/ */

.offer-page .service-home-hero{
  padding:72px 0 78px;
  background:linear-gradient(135deg,#fbfcfb 0%,#f3f7f4 100%);
  border-bottom:1px solid #dbe6df;
}
.offer-page .service-home-hero .hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(410px,.95fr);
  gap:78px;
  align-items:start;
}
.offer-page .service-home-hero .eyebrow{margin-bottom:18px}
.offer-page .service-home-hero h1{
  max-width:790px;
  margin:0 0 18px;
  color:#10283b;
  font-size:clamp(46px,4.45vw,62px);
  line-height:1.055;
  letter-spacing:-.045em;
  font-weight:800;
}
.offer-page .service-home-hero h1 em{font-style:normal;color:#2f7b5d}
.offer-page .service-home-hero .miarivo-online-note{
  margin:-2px 0 11px;
  color:#1b654b;
  font-size:clamp(16px,1.5vw,20px);
  line-height:1.35;
  font-weight:550;
}
.offer-page .service-home-hero .miarivo-online-note strong{font-weight:850;color:#116848}
.offer-page .service-home-hero .service-main-price{
  margin:0 0 10px;
  color:#2c4352;
  font-size:21px;
  line-height:1.48;
}
.offer-page .service-home-hero .service-main-price strong{color:#10283b;font-size:1.13em}
.offer-page .service-home-hero .miarivo-hero-assurance{
  display:flex;
  flex-wrap:wrap;
  gap:8px 17px;
  margin:0 0 10px;
  color:#164d3a;
  font-size:14px;
  line-height:1.42;
}
.offer-page .service-home-hero .miarivo-hero-assurance>span{display:inline-flex;flex-wrap:wrap;gap:0 5px;align-items:baseline}
.offer-page .service-home-hero .miarivo-hero-assurance strong{font-weight:850}
.offer-page .service-home-hero .miarivo-hero-assurance small{font-size:12px;color:#526a5d}
.offer-page .service-home-hero .miarivo-hero-extras{
  margin:0 0 12px;
  color:#5c6f66;
  font-size:12.5px;
  line-height:1.5;
}
.offer-page .service-home-hero .miarivo-hero-extras strong{font-weight:750;color:#275641}
.offer-page .service-home-hero .miarivo-hero-extras a{color:#235d44;text-decoration:underline;text-underline-offset:2px}
.offer-page .service-home-hero .miarivo-choice-heading{margin-top:17px}
.offer-page .service-home-hero .miarivo-choice-heading h2{
  margin:0 0 5px;
  color:#10283b;
  font-size:clamp(19px,2.15vw,25px);
  line-height:1.23;
  letter-spacing:-.03em;
  font-weight:900;
}
.offer-page .service-home-hero .miarivo-choice-heading p{margin:0;color:#54695f;font-size:13px;line-height:1.55}
.offer-page .service-home-hero .miarivo-cta-help{
  margin:9px 0 11px;
  padding:11px 14px;
  background:#edf7f0;
  border:1px solid #c8e2d0;
  border-left:3px solid #198359;
  border-radius:11px;
  color:#385a49;
  font-size:14px;
  line-height:1.5;
}
.offer-page .service-home-hero .miarivo-cta-help strong{color:#155239}
.offer-page .service-home-hero .miarivo-cta-help a{color:#15543e;font-weight:750;text-decoration:underline;text-underline-offset:2px}

.offer-page .service-home-hero .service-choice-card{
  margin-top:13px;
  padding:18px 17px 16px;
  border:1.5px solid #a9cfbc;
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 26px rgba(16,40,59,.07);
}
.offer-page .service-home-hero .service-choice-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.offer-page .service-home-hero .service-choice-label{display:flex;align-items:center;gap:8px;color:#175d46;font-size:14px;font-weight:850;line-height:1.3}
.offer-page .service-home-hero .service-choice-label svg{width:22px;height:22px;flex:none}
.offer-page .service-home-hero .service-choice-price{text-align:right}
.offer-page .service-home-hero .service-choice-price strong{display:block;color:#10283b;font-size:clamp(32px,3vw,40px);line-height:1;letter-spacing:-.025em}
.offer-page .service-home-hero .service-choice-price small{display:block;margin-top:4px;color:#66776f;font-size:10.5px;font-weight:700}
.offer-page .service-home-hero .service-choice-cta{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:46px;
  width:100%;
  margin-top:13px;
  padding:10px 12px;
  border-radius:9px;
  background:#12674c;
  color:#fff;
  font-size:13px;
  font-weight:900;
  line-height:1.3;
  text-align:center;
  box-shadow:0 8px 20px rgba(21,84,62,.14);
}
.offer-page .service-home-hero .service-choice-cta:hover,.offer-page .service-home-hero .service-choice-cta:focus-visible{background:#0b513b}
.offer-page .service-home-hero .service-choice-cta:focus-visible{outline:3px solid #78bb9b;outline-offset:3px}
.offer-page .service-home-hero .service-pay-now{
  display:block;
  margin-top:9px;
  color:#15543e;
  font-size:12px;
  font-weight:800;
  line-height:1.45;
  text-align:center;
  text-decoration:underline;
  text-underline-offset:2px;
}

.offer-page .service-home-hero .miarivo-100plus{margin:16px 0 11px;padding:13px 17px;max-width:100%;gap:14px}
.offer-page .service-home-hero .miarivo-100plus .miarivo-100plus-number{font-size:clamp(38px,3.7vw,51px)}
.offer-page .service-home-hero .service-purpose{margin:0 0 7px;color:#61716c;font-size:12px;line-height:1.5}

.offer-page .service-home-hero .miarivo-cta-review{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-top:14px;
  padding:13px 15px;
  background:rgba(255,255,255,.8);
  border:1px solid #dbe8e1;
  border-radius:14px;
}
.offer-page .service-home-hero .miarivo-cta-review-icon{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;border-radius:10px;background:#e9f4ed;color:#206b4c;font-size:17px}
.offer-page .service-home-hero .miarivo-cta-review blockquote{margin:0;color:#314b40;font-size:12.5px;line-height:1.55;font-weight:650}
.offer-page .service-home-hero .miarivo-cta-review small{display:block;margin-top:5px;color:#65776e;font-size:11px}
.offer-page .service-home-hero .miarivo-cta-review a{color:#15543e;font-weight:800;text-decoration:underline;text-underline-offset:2px}

.offer-page .service-home-hero .miarivo-trust-panel{
  align-self:start;
  margin-top:20px;
  min-height:0;
  width:100%;
  padding:24px 22px 22px;
  justify-content:flex-start;
  gap:0;
  overflow:hidden;
  border-radius:26px;
}
.offer-page .service-home-hero .miarivo-trust-logo{height:174px;width:100%;max-width:none;padding:0 12px;border-radius:18px;overflow:hidden;flex:0 0 auto;box-shadow:0 10px 26px rgba(3,36,26,.11)}
.offer-page .service-home-hero .miarivo-trust-logo img{display:block;width:min(100%,290px);height:174px;max-height:none;object-fit:cover;object-position:center;margin:auto}
.offer-page .service-home-hero .miarivo-trust-heading{margin:16px 0 12px;color:#eaf8ee;font-size:12px;text-transform:uppercase;letter-spacing:.10em;font-weight:850;text-align:center}
.offer-page .service-home-hero .miarivo-benefits-grid{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.offer-page .service-home-hero .miarivo-benefit-card{display:flex;gap:9px;align-items:flex-start;min-width:0;min-height:115px;padding:13px 11px;background:#fff;border:1px solid rgba(255,255,255,.56);border-radius:13px;box-shadow:none}
.offer-page .service-home-hero .miarivo-benefit-icon{width:27px;height:27px;flex:0 0 27px;display:grid;place-items:center;border-radius:9px;background:#eaf4ee;color:#176248}
.offer-page .service-home-hero .miarivo-benefit-icon svg{width:17px;height:17px}
.offer-page .service-home-hero .miarivo-benefit-card h3{margin:0 0 5px;color:#133b2a;font-size:13px;line-height:1.23;font-weight:850}
.offer-page .service-home-hero .miarivo-benefit-card p{margin:0;color:#536a5d;font-size:11px;line-height:1.42;overflow-wrap:break-word}
.offer-page .service-home-hero .miarivo-benefit-card p a{color:#15543e;text-decoration:underline;text-underline-offset:2px}
.offer-page .service-home-hero .miarivo-trust-sample{display:inline-flex;align-items:center;justify-content:center;gap:7px;margin-top:15px;color:#eef8f2;font-size:12px;font-weight:800;text-decoration:underline;text-underline-offset:3px}

.offer-page .service-home-hero .miarivo-mobile-trust{display:none}

/* Reviews directly after hero: visually consistent with homepage */
.offer-page .service-home-hero + .landing-social-proof{
  padding-top:30px;
  background:linear-gradient(180deg,#f2f8f4 0%,#fbfcfb 100%);
  border-top:0;
}

@media(max-width:1100px){
  .offer-page .service-home-hero .hero-grid{grid-template-columns:minmax(0,1fr) minmax(360px,.88fr);gap:48px}
  .offer-page .service-home-hero .miarivo-trust-panel{padding:18px 14px;margin-top:18px}
  .offer-page .service-home-hero .miarivo-benefit-card{padding:11px 9px;gap:7px;min-height:125px}
  .offer-page .service-home-hero .miarivo-benefit-card h3{font-size:12px}
  .offer-page .service-home-hero .miarivo-benefit-card p{font-size:10.5px}
}

@media(max-width:900px){
  .offer-page .service-home-hero{padding:44px 0 50px}
  .offer-page .service-home-hero .hero-grid{grid-template-columns:1fr;gap:0}
  .offer-page .service-home-hero .hero-logo-card.miarivo-trust-panel{display:none!important}
  .offer-page .service-home-hero h1{font-size:clamp(38px,5vw,46px)}
  .offer-page .service-home-hero .miarivo-mobile-trust{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:15px 0 7px}
  .offer-page .service-home-hero .miarivo-mobile-trust-item{display:flex;gap:11px;align-items:center;padding:10px 12px;min-height:62px;background:rgba(255,255,255,.85);border:1px solid #cfe3d7;border-radius:12px}
  .offer-page .service-home-hero .miarivo-mobile-trust-icon{height:31px;width:31px;min-width:31px;border-radius:9px;background:#eaf4ee;color:#176248;display:grid;place-items:center}
  .offer-page .service-home-hero .miarivo-mobile-trust-icon svg{width:19px;height:19px;display:block}
  .offer-page .service-home-hero .miarivo-mobile-trust-item strong{display:block;color:#12382a;font-size:13px;line-height:1.32;font-weight:850}
  .offer-page .service-home-hero .miarivo-mobile-trust-item span{display:block;color:#526a5d;font-size:12px;line-height:1.38;margin-top:2px}
}

@media(max-width:650px){
  .offer-page .service-home-hero{padding:26px 0 32px!important}
  .offer-page .service-home-hero h1{font-size:clamp(35px,9.6vw,39px);line-height:1.09;margin-bottom:14px}
  .offer-page .service-home-hero .miarivo-online-note{margin:0 0 9px;font-size:16px}
  .offer-page .service-home-hero .service-main-price{font-size:18px;margin-bottom:9px}
  .offer-page .service-home-hero .miarivo-hero-assurance{font-size:13px;gap:5px 13px;margin-bottom:8px}
  .offer-page .service-home-hero .miarivo-hero-assurance small{font-size:11px}
  .offer-page .service-home-hero .miarivo-hero-extras{font-size:11.5px;margin-bottom:5px}
  .offer-page .service-home-hero .miarivo-choice-heading{margin-top:12px}
  .offer-page .service-home-hero .miarivo-choice-heading p{display:none}
  .offer-page .service-home-hero .miarivo-cta-help{margin:7px 0 10px;padding:10px 12px;font-size:12.5px;line-height:1.43}
  .offer-page .service-home-hero .service-choice-card{margin-top:8px;padding:15px 16px}
  .offer-page .service-home-hero .service-choice-price strong{font-size:34px}
  .offer-page .service-home-hero .service-choice-cta{min-height:48px;font-size:13px}
  .offer-page .service-home-hero .miarivo-100plus{margin-top:15px;margin-bottom:9px;padding:11px 13px}
  .offer-page .service-home-hero .miarivo-100plus .miarivo-100plus-number{font-size:38px}
  .offer-page .service-home-hero .service-purpose{display:none}
  .offer-page .service-home-hero .miarivo-mobile-trust{grid-template-columns:1fr;gap:7px;margin-top:13px}
  .offer-page .service-home-hero .miarivo-mobile-trust-item{min-height:56px}
  .offer-page .service-home-hero .miarivo-cta-review{margin-top:11px;padding:12px;gap:10px}
  .offer-page .service-home-hero + .landing-social-proof{padding-top:18px}
}

@media(max-width:360px){
  .offer-page .service-home-hero .service-choice-head{display:block}
  .offer-page .service-home-hero .service-choice-price{text-align:left;margin-top:8px}
}
