/* HBF v3 — marketing-first layout. Scoped to .v3-home and .v3-offer. */

.v3-home .hero,
.v3-offer .hero{
  padding:72px 0 64px;
}

.v3-home .hero h1{
  max-width:13ch;
  font-size:clamp(3rem,5.2vw,4.9rem);
  line-height:1;
  letter-spacing:-.055em;
}

.v3-offer .hero h1{
  max-width:15ch;
  font-size:clamp(2.8rem,4.7vw,4.35rem);
  line-height:1;
  letter-spacing:-.05em;
}

.v3-home .hero .lead,
.v3-offer .hero .lead{
  max-width:760px;
}

.v3-proof-panel{
  align-self:stretch;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:30px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:8px 24px 8px 24px;
  background:rgba(255,255,255,.96);
  color:#271b1e;
  box-shadow:0 24px 70px rgba(3,16,20,.18);
}

.v3-proof-panel ul{
  margin:0;
  padding:0;
  list-style:none;
}

.v3-proof-panel li{
  padding:9px 0;
  border-top:1px solid rgba(13,79,89,.12);
  color:#584d50;
}

.v3-eyebrow,
.v3-section-label{
  margin:0 0 10px;
  color:#0D4F59;
  font-size:.74rem;
  line-height:1.2;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.14em;
}

.v3-proof-number{
  margin-top:6px;
  color:#0D4F59;
  font-size:4.4rem;
  line-height:.9;
  font-weight:800;
  letter-spacing:-.06em;
}

.v3-proof-caption{
  margin:8px 0 0;
  color:#0B1B21;
  font-size:1.08rem;
  font-weight:700;
}

.v3-proof-rule{
  height:1px;
  margin:22px 0 12px;
  background:linear-gradient(90deg,#0D4F59,#C49A5A,transparent);
}

.v3-section-head{
  max-width:820px;
  border-left:0;
  padding-left:0;
  margin-bottom:34px;
}

.v3-section-head h2{
  max-width:760px;
}

.v3-path-section,
.v3-services-section,
.v3-directory-section,
.v3-model-section,
.v3-value-section{
  padding-top:72px;
  padding-bottom:72px;
}

.v3-paths{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-top:1px solid rgba(13,79,89,.18);
  border-bottom:1px solid rgba(13,79,89,.18);
}

.v3-path{
  padding:30px 28px 32px;
  border-right:1px solid rgba(13,79,89,.16);
}

.v3-path:first-child{padding-left:0}
.v3-path:last-child{padding-right:0;border-right:0}

.v3-path-index,
.v3-model-index{
  display:block;
  margin-bottom:30px;
  color:#C49A5A;
  font-size:.8rem;
  font-weight:850;
  letter-spacing:.08em;
}

.v3-path h3,
.v3-model h3,
.v3-service-line h3,
.v3-directory-item h3{
  margin:0 0 10px;
  color:#0B1B21;
  font-size:1.18rem;
  line-height:1.25;
  letter-spacing:-.02em;
}

.v3-path p,
.v3-model p,
.v3-service-line p,
.v3-directory-item p{
  margin:0;
  color:#5D6B6F;
}

.v3-path a,
.v3-directory-item a{
  display:inline-block;
  margin-top:20px;
  color:#0D4F59;
  font-weight:800;
}

.v3-path a:hover,
.v3-directory-item a:hover{
  color:#0D4F59;
}

.v3-dark-band{
  padding:34px 0;
}

.v3-dark-band .band{
  border-top:0;
  border-bottom:0;
}

.v3-dark-band .metric{
  padding-top:10px;
  padding-bottom:10px;
}

.v3-service-list,
.v3-service-directory{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:48px;
}

.v3-service-line,
.v3-directory-item{
  display:grid;
  grid-template-columns:46px 1fr;
  gap:14px;
  padding:22px 0 24px;
  border-top:1px solid rgba(13,79,89,.16);
}

.v3-service-line > span,
.v3-directory-item > span{
  color:#C49A5A;
  font-size:.76rem;
  font-weight:850;
  letter-spacing:.08em;
  padding-top:3px;
}

.v3-service-line h3,
.v3-directory-item h3{
  font-size:1.12rem;
}

.v3-inline-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:30px;
}

.v3-editorial-section,
.v3-process-section{
  padding-top:72px;
  padding-bottom:72px;
}

.v3-editorial{
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  gap:70px;
  align-items:start;
}

.v3-statement{
  margin:0;
  max-width:18ch;
  color:#0B1B21;
  font-size:clamp(1.75rem,3vw,2.7rem);
  line-height:1.12;
  letter-spacing:-.035em;
  font-weight:760;
}

.v3-editorial-copy h2{
  margin:0 0 14px;
  font-size:clamp(1.8rem,3vw,2.6rem);
  line-height:1.08;
  letter-spacing:-.035em;
}

.v3-editorial-copy p{
  color:#5D6B6F;
}

.v3-models{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-top:1px solid rgba(13,79,89,.18);
  border-bottom:1px solid rgba(13,79,89,.18);
}

.v3-model{
  padding:30px 28px 34px;
  border-right:1px solid rgba(13,79,89,.16);
}

.v3-model:first-child{padding-left:0}
.v3-model:last-child{padding-right:0;border-right:0}

.v3-process{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border-top:1px solid rgba(13,79,89,.18);
  border-bottom:1px solid rgba(13,79,89,.18);
}

.v3-process > div{
  padding:26px 24px 28px;
  border-right:1px solid rgba(13,79,89,.15);
}

.v3-process > div:first-child{padding-left:0}
.v3-process > div:last-child{padding-right:0;border-right:0}

.v3-process span{
  display:block;
  margin-bottom:18px;
  color:#C49A5A;
  font-size:.8rem;
  font-weight:850;
}

.v3-process strong{
  display:block;
  margin-bottom:8px;
  color:#0B1B21;
  font-size:1.06rem;
}

.v3-process p{
  margin:0;
  color:#5D6B6F;
}

.v3-cta-section{
  padding-top:28px;
  padding-bottom:78px;
}

.v3-cta{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:40px;
  align-items:center;
  padding:34px 38px;
  border-radius:10px 28px 10px 28px;
  background:linear-gradient(135deg,#07161B,#0D4F59 64%,#0A3B43);
  color:#fff;
  box-shadow:0 22px 60px rgba(11,27,33,.12);
}

.v3-cta .v3-section-label{
  color:#D9B575;
}

.v3-cta h2{
  margin:0 0 10px;
  max-width:720px;
  font-size:clamp(1.8rem,3vw,2.7rem);
  line-height:1.08;
  letter-spacing:-.035em;
}

.v3-cta p{
  max-width:760px;
  margin:0;
  color:#e5d7da;
}

.v3-cta-actions{
  display:flex;
  flex-direction:column;
  gap:10px;
  min-width:190px;
}

.v3-cta .btn:not(.btn-primary){
  background:transparent;
  border-color:rgba(255,255,255,.32);
  color:#fff;
}

.v3-cta .btn:not(.btn-primary):hover{
  border-color:#fff;
  color:#fff;
}

@media (max-width:1040px){
  .v3-paths,
  .v3-models{
    grid-template-columns:1fr;
    border-bottom:0;
  }

  .v3-path,
  .v3-model{
    padding:26px 0;
    border-right:0;
    border-bottom:1px solid rgba(13,79,89,.16);
  }

  .v3-path-index,
  .v3-model-index{
    margin-bottom:12px;
  }

  .v3-editorial{
    grid-template-columns:1fr;
    gap:34px;
  }

  .v3-statement{
    max-width:24ch;
  }

  .v3-process{
    grid-template-columns:repeat(2,minmax(0,1fr));
    border-bottom:0;
  }

  .v3-process > div,
  .v3-process > div:first-child,
  .v3-process > div:last-child{
    padding:24px 20px;
    border-right:0;
    border-bottom:1px solid rgba(13,79,89,.15);
  }

  .v3-process > div:nth-child(odd){
    border-right:1px solid rgba(13,79,89,.15);
  }

  .v3-cta{
    grid-template-columns:1fr;
    gap:24px;
  }

  .v3-cta-actions{
    flex-direction:row;
    flex-wrap:wrap;
  }
}

@media (max-width:760px){
  .v3-home .hero,
  .v3-offer .hero{
    padding:54px 0 50px;
  }

  .v3-home .hero h1,
  .v3-offer .hero h1{
    max-width:100%;
    font-size:clamp(2.35rem,11vw,3.45rem);
    letter-spacing:-.045em;
  }

  .v3-proof-panel{
    padding:24px;
  }

  .v3-proof-number{
    font-size:3.6rem;
  }

  .v3-path-section,
  .v3-services-section,
  .v3-directory-section,
  .v3-model-section,
  .v3-value-section,
  .v3-editorial-section,
  .v3-process-section{
    padding-top:56px;
    padding-bottom:56px;
  }

  .v3-service-list,
  .v3-service-directory{
    grid-template-columns:1fr;
    column-gap:0;
  }

  .v3-service-line,
  .v3-directory-item{
    grid-template-columns:38px 1fr;
  }

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

  .v3-process > div:nth-child(odd){
    border-right:0;
  }

  .v3-cta{
    padding:28px 24px;
  }

  .v3-cta-actions{
    flex-direction:column;
  }
}


/* Pricing */
.v3-pricing-section{
  padding-top:76px;
  padding-bottom:76px;
}

.v3-pricing-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  align-items:stretch;
}

.v3-price-card{
  position:relative;
  display:flex;
  flex-direction:column;
  padding:26px 24px 24px;
  border:1px solid rgba(13,79,89,.16);
  border-top:3px solid #c9b7b0;
  border-radius:8px 24px 8px 24px;
  background:#fff;
}

.v3-price-card.is-featured{
  border-color:rgba(13,79,89,.34);
  border-top-color:#0D4F59;
  background:linear-gradient(180deg,#fff,#F7F6F2);
  box-shadow:0 20px 55px rgba(11,27,33,.10);
}

.v3-price-badge{
  position:absolute;
  top:16px;
  right:18px;
  padding:5px 8px;
  border-radius:999px;
  background:#0D4F59;
  color:#fff;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.03em;
}

.v3-price-name{
  margin:0 0 10px;
  color:#0D4F59;
  font-size:.8rem;
  font-weight:850;
  letter-spacing:.12em;
}

.v3-price{
  margin:0;
  color:#24181b;
  font-size:clamp(2rem,3vw,3rem);
  line-height:1;
  font-weight:820;
  letter-spacing:-.05em;
}

.v3-price span{
  font-size:.86rem;
  font-weight:700;
  letter-spacing:0;
  color:#5D6B6F;
}

.v3-price small{
  font-size:.9rem;
  font-weight:700;
  letter-spacing:0;
  color:#5D6B6F;
}

.v3-price-for{
  min-height:66px;
  margin:14px 0 20px;
  color:#5D6B6F;
}

.v3-price-list{
  margin:0;
  padding:0;
  list-style:none;
}

.v3-price-list li{
  position:relative;
  padding:8px 0 8px 17px;
  border-top:1px solid rgba(13,79,89,.10);
  color:#514548;
}

.v3-price-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:15px;
  width:5px;
  height:5px;
  border-radius:50%;
  background:#C49A5A;
}

.v3-price-meta{
  margin-top:22px;
  border-top:1px solid rgba(13,79,89,.18);
}

.v3-price-meta > div{
  display:flex;
  justify-content:space-between;
  gap:18px;
  padding:9px 0;
  border-bottom:1px solid rgba(13,79,89,.10);
}

.v3-price-meta span{
  color:#786d70;
  font-size:.88rem;
}

.v3-price-meta strong{
  text-align:right;
  color:#0B1B21;
  font-size:.9rem;
}

.v3-price-note{
  margin:auto 0 0;
  padding-top:18px;
  color:#5D6B6F;
  font-size:.86rem;
}

.v3-pricing-foot{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-top:18px;
  padding-top:20px;
  border-top:1px solid rgba(13,79,89,.16);
}

.v3-pricing-foot > div{
  display:grid;
  gap:4px;
}

.v3-pricing-foot strong{
  color:#0B1B21;
}

.v3-pricing-foot span{
  color:#5D6B6F;
  font-size:.92rem;
}

.v3-enterprise-strip{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:28px;
  align-items:center;
  margin-top:28px;
  padding:26px 28px;
  border-radius:8px 24px 8px 24px;
  background:#0B1B21;
  color:#fff;
}

.v3-enterprise-strip .v3-section-label{
  color:#D9B575;
}

.v3-enterprise-strip h3{
  margin:0 0 8px;
  font-size:1.35rem;
}

.v3-enterprise-strip p{
  margin:0;
  color:#decfd2;
}

.v3-enterprise-strip .btn{
  background:transparent;
  border-color:rgba(255,255,255,.34);
  color:#fff;
}

.v3-enterprise-strip .btn:hover{
  border-color:#fff;
  color:#fff;
}

.v3-oneoff-section{
  padding-top:72px;
  padding-bottom:72px;
}

.v3-rates-layout{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:44px;
}

.v3-rate-block h3{
  margin:0 0 14px;
  font-size:1.3rem;
  color:#0B1B21;
}

.v3-rate-list{
  margin:0;
}

.v3-rate-list > div{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:20px;
  padding:11px 0;
  border-top:1px solid rgba(13,79,89,.14);
}

.v3-rate-list dt{
  color:#5e5356;
}

.v3-rate-list dd{
  margin:0;
  color:#0B1B21;
  font-weight:800;
  text-align:right;
}

.v3-rate-note{
  margin:16px 0 0;
  color:#5D6B6F;
  font-size:.9rem;
}

.v3-surcharge-note{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:22px;
  margin-top:32px;
  padding:18px 0;
  border-top:1px solid rgba(13,79,89,.18);
  border-bottom:1px solid rgba(13,79,89,.18);
}

.v3-surcharge-note strong{
  color:#0B1B21;
}

.v3-surcharge-note span{
  color:#5D6B6F;
}

@media (max-width:1040px){
  .v3-pricing-grid{
    grid-template-columns:1fr;
  }

  .v3-price-for{
    min-height:0;
  }

  .v3-pricing-foot,
  .v3-enterprise-strip,
  .v3-rates-layout{
    grid-template-columns:1fr;
  }

  .v3-enterprise-strip{
    align-items:start;
  }
}

@media (max-width:760px){
  .v3-pricing-section,
  .v3-oneoff-section{
    padding-top:56px;
    padding-bottom:56px;
  }

  .v3-price-card{
    padding:22px 18px;
  }

  .v3-price-badge{
    position:static;
    display:inline-block;
    width:max-content;
    margin-bottom:14px;
  }

  .v3-price-meta > div,
  .v3-rate-list > div,
  .v3-surcharge-note{
    grid-template-columns:1fr;
    gap:4px;
  }

  .v3-rate-list dd,
  .v3-price-meta strong{
    text-align:left;
  }
}


/* Package comparison */
.v3-package-compare{
  margin-top:28px;
  padding-top:28px;
  border-top:1px solid rgba(13,79,89,.16);
}

.v3-compare-heading{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:36px;
  align-items:end;
  margin-bottom:18px;
}

.v3-compare-heading h3{
  margin:0;
  color:#0B1B21;
  font-size:1.45rem;
  letter-spacing:-.025em;
}

.v3-compare-heading > p{
  margin:0;
  color:#5D6B6F;
}

.v3-compare-scroll{
  overflow-x:auto;
  border:1px solid rgba(13,79,89,.14);
  border-radius:8px 22px 8px 22px;
  background:#fff;
}

.v3-package-compare table{
  width:100%;
  min-width:720px;
  border-collapse:collapse;
}

.v3-package-compare th,
.v3-package-compare td{
  padding:13px 15px;
  border-bottom:1px solid rgba(13,79,89,.10);
  text-align:left;
  vertical-align:top;
}

.v3-package-compare thead th{
  background:#0B1B21;
  color:#fff;
  font-size:.86rem;
}

.v3-package-compare thead th:nth-child(3){
  background:#0D4F59;
}

.v3-package-compare tbody th{
  width:30%;
  color:#4b4043;
  font-size:.9rem;
  font-weight:700;
}

.v3-package-compare td{
  color:#302427;
  font-weight:700;
}

.v3-package-compare tr:last-child th,
.v3-package-compare tr:last-child td{
  border-bottom:0;
}

/* Contact qualification */
.v3-contact .contact-grid{
  align-items:stretch;
}

.v3-contact .contact-grid > .card{
  height:100%;
}

.v3-contact .contact-form select{
  width:100%;
  padding:11px 12px;
  border-radius:4px;
  border:1px solid var(--line-dark);
  background:#fff;
  color:var(--text);
  font:inherit;
  outline:none;
}

.v3-contact .contact-form select:focus{
  border-color:var(--red);
  box-shadow:0 0 0 2px rgba(13,79,89,.10);
}

.v3-form-intro{
  margin-top:-4px;
  color:#6d6265;
}

/* Accounting-office landing */
.v3-accounting .hero h1{
  max-width:16ch;
}

.v3-accounting-flow{
  padding-top:72px;
  padding-bottom:72px;
}

@media (max-width:1040px){
  .v3-compare-heading{
    grid-template-columns:1fr;
    gap:8px;
  }
}

@media (max-width:760px){
  .v3-accounting-flow{
    padding-top:56px;
    padding-bottom:56px;
  }

  .v3-package-compare{
    margin-top:22px;
  }
}


/* FAQ */
.v3-faq-section{
  padding-top:72px;
  padding-bottom:72px;
}

.v3-faq{
  max-width:920px;
  border-top:1px solid rgba(13,79,89,.18);
}

.v3-faq details{
  border-bottom:1px solid rgba(13,79,89,.16);
}

.v3-faq summary{
  position:relative;
  cursor:pointer;
  list-style:none;
  padding:19px 46px 19px 0;
  color:#0B1B21;
  font-weight:780;
  font-size:1.02rem;
}

.v3-faq summary::-webkit-details-marker{
  display:none;
}

.v3-faq summary::after{
  content:"+";
  position:absolute;
  right:4px;
  top:15px;
  color:#0D4F59;
  font-size:1.45rem;
  font-weight:500;
}

.v3-faq details[open] summary::after{
  content:"–";
}

.v3-faq details p{
  max-width:820px;
  margin:0;
  padding:0 46px 20px 0;
  color:#5D6B6F;
}

.v3-faq-cta{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:28px;
  align-items:center;
  max-width:920px;
  margin-top:28px;
  padding:22px 0;
  border-top:1px solid rgba(13,79,89,.16);
  border-bottom:1px solid rgba(13,79,89,.16);
}

.v3-faq-cta > div{
  display:grid;
  gap:4px;
}

.v3-faq-cta strong{
  color:#0B1B21;
}

.v3-faq-cta span{
  color:#5D6B6F;
}

@media (max-width:760px){
  .v3-faq-section{
    padding-top:56px;
    padding-bottom:56px;
  }

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


/* Editorial photography */
.v3-hero-photo{
  position:relative;
  margin:0;
  min-height:430px;
  overflow:hidden;
  border-radius:8px 28px 8px 28px;
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 28px 80px rgba(3,16,20,.26);
  background:#0B1B21;
}

.v3-hero-photo::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(16,5,9,.02) 28%,rgba(16,5,9,.78) 100%),
    linear-gradient(90deg,rgba(13,79,89,.12),transparent 56%);
  pointer-events:none;
}

.v3-hero-photo img{
  display:block;
  width:100%;
  height:100%;
  min-height:430px;
  object-fit:cover;
  object-position:center;
  filter:saturate(.82) contrast(1.04);
}

.v3-hero-photo-caption{
  position:absolute;
  left:26px;
  right:26px;
  bottom:24px;
  z-index:2;
  display:grid;
  grid-template-columns:auto 1fr;
  column-gap:14px;
  align-items:end;
  color:#fff;
}

.v3-photo-kicker{
  grid-column:1 / -1;
  margin-bottom:5px;
  color:#D9B575;
  font-size:.7rem;
  font-weight:850;
  letter-spacing:.13em;
}

.v3-hero-photo-caption strong{
  font-size:3.25rem;
  line-height:.88;
  letter-spacing:-.055em;
}

.v3-hero-photo-caption > span:last-child{
  max-width:190px;
  color:#f0e5e7;
  font-size:.92rem;
  line-height:1.3;
}

.v3-photo-band-section{
  padding:0;
  background:#F7F6F2;
}

.v3-photo-band-section .wrap{
  transform:translateY(-1px);
}

.v3-photo-band{
  position:relative;
  margin:0;
  height:360px;
  overflow:hidden;
  border-radius:0 0 10px 28px;
  background:#0B1B21;
}

.v3-photo-band img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  filter:saturate(.78) contrast(1.03);
}

.v3-photo-band::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(22,7,12,.70) 0%,rgba(22,7,12,.26) 44%,rgba(22,7,12,.04) 72%);
  pointer-events:none;
}

.v3-photo-band figcaption{
  position:absolute;
  z-index:2;
  left:28px;
  bottom:26px;
  max-width:520px;
  margin:0;
  color:#fff;
  font-size:1.05rem;
  line-height:1.5;
  font-weight:700;
  text-shadow:0 2px 18px rgba(0,0,0,.28);
}

.v3-photo-band-technical img{
  object-position:center 48%;
}

.v3-photo-band-office img{
  object-position:center 55%;
}

@media (max-width:1040px){
  .v3-hero-photo{
    min-height:340px;
  }

  .v3-hero-photo img{
    min-height:340px;
  }
}

@media (max-width:760px){
  .v3-hero-photo{
    min-height:300px;
  }

  .v3-hero-photo img{
    min-height:300px;
  }

  .v3-hero-photo-caption{
    left:20px;
    right:20px;
    bottom:18px;
  }

  .v3-hero-photo-caption strong{
    font-size:2.8rem;
  }

  .v3-photo-band{
    height:280px;
    border-radius:0 0 8px 20px;
  }

  .v3-photo-band figcaption{
    left:20px;
    right:20px;
    bottom:18px;
    max-width:none;
    font-size:.96rem;
  }
}


/* Readability pass: calmer hierarchy, shorter line length, cleaner heading rhythm */
main:not(.certum-main) .hero h1{
  max-width:18ch;
  font-size:clamp(2.6rem,4.5vw,4.25rem);
  line-height:1.04;
  letter-spacing:-.038em;
  text-wrap:balance;
}

.v3-home .hero h1{
  max-width:14ch;
  font-size:clamp(2.85rem,4.8vw,4.45rem);
  line-height:1.03;
  letter-spacing:-.04em;
}

main:not(.certum-main) .compact-hero h1{
  max-width:22ch;
  font-size:clamp(2.45rem,4vw,3.7rem);
  line-height:1.05;
}

main:not(.certum-main) .hero .lead{
  max-width:64ch;
  font-size:clamp(1.04rem,1.35vw,1.16rem);
  line-height:1.68;
}

main:not(.certum-main) h2,
main:not(.certum-main) h3{
  text-wrap:balance;
}

main:not(.certum-main) .section-head{
  max-width:820px;
  margin-bottom:32px;
}

main:not(.certum-main) .section-head h2{
  max-width:28ch;
  font-size:clamp(1.8rem,2.7vw,2.45rem);
  line-height:1.14;
  letter-spacing:-.028em;
}

main:not(.certum-main) .section-head p{
  max-width:68ch;
  font-size:1.02rem;
  line-height:1.72;
}

main:not(.certum-main) .card h2{
  margin-top:0;
  margin-bottom:12px;
  font-size:clamp(1.35rem,2vw,1.62rem);
  line-height:1.22;
  letter-spacing:-.02em;
}

main:not(.certum-main) .card h3,
.v3-path h3,
.v3-model h3,
.v3-service-line h3,
.v3-directory-item h3{
  font-size:1.2rem;
  line-height:1.3;
  letter-spacing:-.018em;
}

main:not(.certum-main) .card p,
main:not(.certum-main) .card li,
.v3-path p,
.v3-model p,
.v3-service-line p,
.v3-directory-item p,
.v3-editorial-copy p{
  line-height:1.72;
}

.v3-editorial{
  gap:60px;
}

.v3-statement{
  max-width:20ch;
  font-size:clamp(1.65rem,2.6vw,2.35rem);
  line-height:1.18;
  letter-spacing:-.025em;
}

.v3-editorial-copy{
  max-width:720px;
}

.v3-editorial-copy h2{
  max-width:24ch;
  font-size:clamp(1.75rem,2.6vw,2.35rem);
  line-height:1.14;
  letter-spacing:-.026em;
}

.v3-price-for,
.v3-price-list li,
.v3-price-note,
.v3-rate-list dt,
.v3-rate-note,
.v3-faq details p{
  line-height:1.62;
}

.v3-price-name,
.v3-section-label,
.v3-eyebrow{
  letter-spacing:.11em;
}

.v3-directory-item,
.v3-service-line{
  padding-top:24px;
  padding-bottom:26px;
}

.v3-directory-item > div,
.v3-service-line > div{
  max-width:62ch;
}

#pakiety,
#zakres,
#faq,
#cennik-jednorazowy{
  scroll-margin-top:100px;
}

@media (max-width:1040px){
  main:not(.certum-main) .hero h1,
  main:not(.certum-main) .compact-hero h1{
    max-width:20ch;
  }

  .v3-home .hero h1{
    max-width:15ch;
  }

  .v3-editorial{
    gap:30px;
  }
}

@media (max-width:760px){
  main:not(.certum-main) .hero h1,
  main:not(.certum-main) .compact-hero h1,
  .v3-home .hero h1{
    max-width:100%;
    font-size:clamp(2.15rem,9.8vw,3.05rem);
    line-height:1.08;
    letter-spacing:-.028em;
  }

  main:not(.certum-main) .hero .lead{
    font-size:1.02rem;
    line-height:1.68;
  }

  main:not(.certum-main) .section-head h2{
    font-size:clamp(1.7rem,7.8vw,2.15rem);
    line-height:1.16;
  }

  main:not(.certum-main) .section-head p{
    font-size:1rem;
    line-height:1.7;
  }

  .v3-statement{
    max-width:none;
    font-size:clamp(1.55rem,7.2vw,2rem);
    line-height:1.2;
  }

  .v3-editorial-copy h2{
    max-width:none;
    font-size:clamp(1.65rem,7.4vw,2.1rem);
    line-height:1.16;
  }

  .v3-path h3,
  .v3-model h3,
  .v3-service-line h3,
  .v3-directory-item h3,
  main:not(.certum-main) .card h3{
    font-size:1.14rem;
  }
}


/* Final reading polish */
main p,
main li{
  text-wrap:pretty;
}

.v3-section-head.is-centered,
.section-head.is-centered{
  margin-left:auto;
  margin-right:auto;
  padding-left:0;
  border-left:0;
  text-align:center;
}

.v3-section-head.is-centered h2,
.section-head.is-centered h2{
  margin-left:auto;
  margin-right:auto;
}

.v3-section-head.is-centered p,
.section-head.is-centered p{
  margin-left:auto;
  margin-right:auto;
  max-width:64ch;
}

.v3-section-head.is-centered{
  max-width:900px;
}

@media (max-width:760px){
  .v3-section-head.is-centered,
  .section-head.is-centered{
    text-align:left;
    margin-left:0;
    margin-right:0;
  }

  .v3-section-head.is-centered h2,
  .v3-section-head.is-centered p,
  .section-head.is-centered h2,
  .section-head.is-centered p{
    margin-left:0;
    margin-right:0;
  }
}


/* Offer section navigation */
.v3-jump-nav-wrap{
  background:#fff;
  border-bottom:1px solid rgba(13,79,89,.12);
}

.v3-jump-nav{
  display:flex;
  align-items:center;
  gap:4px;
  padding:13px 0;
  overflow-x:auto;
  white-space:nowrap;
  scrollbar-width:thin;
}

.v3-jump-nav span{
  margin-right:8px;
  color:#766a6d;
  font-size:.78rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.v3-jump-nav a{
  padding:7px 10px;
  border-radius:999px;
  color:#4c3f42;
  font-size:.9rem;
  font-weight:700;
}

.v3-jump-nav a:hover{
  background:#f7ece8;
  color:#0D4F59;
}

@media (max-width:760px){
  .v3-jump-nav{
    margin-inline:-16px;
    padding-inline:16px;
  }

  .v3-jump-nav span{
    display:none;
  }
}


/* Package inquiry actions */
.v3-price-action{
  width:100%;
  margin-top:12px;
}

.v3-selected-package{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:0;
  padding:11px 13px;
  border:1px solid rgba(13,79,89,.16);
  border-radius:6px 16px 6px 16px;
  background:#fff7f2;
}

.v3-selected-package span{
  color:#786d70;
  font-size:.88rem;
}

.v3-selected-package strong{
  color:#0D4F59;
}


/* v3 responsive layout polish */
@media (min-width:761px){
  .v3-jump-nav-wrap{
    position:sticky;
    top:64px;
    z-index:35;
    box-shadow:0 8px 24px rgba(40,20,25,.04);
  }
}

@media (max-width:900px){
  .v3-service-list,
  .v3-service-directory{
    grid-template-columns:1fr;
    column-gap:0;
  }

  .v3-service-line,
  .v3-directory-item{
    grid-template-columns:40px minmax(0,1fr);
  }
}

@media (max-width:760px){
  .v3-jump-nav-wrap{
    position:relative;
  }

  .v3-jump-nav{
    gap:2px;
  }

  .v3-jump-nav a{
    min-height:40px;
    display:inline-flex;
    align-items:center;
    padding-inline:9px;
  }

  .v3-path-section,
  .v3-services-section,
  .v3-directory-section,
  .v3-model-section,
  .v3-value-section,
  .v3-editorial-section,
  .v3-process-section,
  .v3-pricing-section,
  .v3-oneoff-section,
  .v3-faq-section,
  .v3-accounting-flow{
    padding-block:46px;
  }

  .v3-path,
  .v3-model{
    padding-block:22px;
  }

  .v3-service-line,
  .v3-directory-item{
    padding-block:20px 22px;
  }

  .v3-service-line > span,
  .v3-directory-item > span{
    font-size:.72rem;
  }

  .v3-process > div,
  .v3-process > div:first-child,
  .v3-process > div:last-child{
    padding:20px 0 22px;
  }

  .v3-price-card{
    padding:20px 18px;
  }

  .v3-price{
    font-size:clamp(2rem,10vw,2.65rem);
  }

  .v3-package-compare{
    display:none;
  }

  .v3-pricing-foot{
    gap:14px;
  }

  .v3-enterprise-strip{
    padding:22px 20px;
  }

  .v3-enterprise-strip .btn{
    width:100%;
  }

  .v3-cta-section{
    padding-block:20px 50px;
  }

  .v3-cta{
    gap:20px;
    padding:24px 20px;
  }

  .v3-cta-actions,
  .v3-inline-actions{
    width:100%;
  }

  .v3-cta-actions .btn,
  .v3-inline-actions .btn{
    width:100%;
  }

  .v3-faq summary{
    padding-block:17px;
    padding-right:38px;
  }

  .v3-faq details p{
    padding-right:10px;
  }

  .v3-rate-list > div{
    padding-block:10px;
  }
}

@media (max-width:520px){
  .v3-home .hero,
  .v3-offer .hero{
    padding-block:44px 42px;
  }

  .v3-home .hero h1,
  .v3-offer .hero h1,
  main:not(.certum-main) .hero h1,
  main:not(.certum-main) .compact-hero h1{
    font-size:clamp(2rem,10.5vw,2.75rem);
  }

  .v3-hero-photo,
  .v3-hero-photo img{
    min-height:250px;
  }

  .v3-photo-band{
    height:240px;
  }

  .v3-selected-package{
    align-items:flex-start;
    flex-direction:column;
    gap:2px;
  }

  .v3-price-meta > div{
    padding-block:8px;
  }

  .v3-surcharge-note{
    margin-top:24px;
  }
}


/* 2026 HBF brand system */
.v3-home .home-hero,
.v3-offer .hero,
.v3-contact .hero{
  background:
    radial-gradient(circle at 82% 20%,rgba(196,154,90,.16),transparent 26%),
    linear-gradient(135deg,#07161B 0%,#0B1B21 52%,#0D4F59 100%);
}
.v3-home .kicker,
.v3-offer .kicker,
.v3-contact .kicker{color:#E6C488}
.v3-section-label,.v3-eyebrow{color:#0D4F59}
.v3-path-index,.v3-model-index,.v3-service-line>span,.v3-directory-item>span,.v3-process span{color:#C49A5A}
.v3-path a,.v3-directory-item a{color:#0D4F59}
.v3-path a:hover,.v3-directory-item a:hover{color:#083A42}
.v3-cta{
  background:
    radial-gradient(circle at 88% 12%,rgba(196,154,90,.18),transparent 32%),
    linear-gradient(135deg,#07161B,#0B1B21 62%,#0D4F59);
  box-shadow:0 22px 60px rgba(11,27,33,.16)
}
.v3-price-card.is-featured{border-color:rgba(13,79,89,.34);border-top-color:#0D4F59;background:linear-gradient(180deg,#fff,#F3F6F4)}
.v3-price-badge{background:#0D4F59}
.v3-enterprise-strip{background:#0B1B21}
.v3-package-compare thead th{background:#0B1B21}
.v3-package-compare thead th:nth-child(3){background:#0D4F59}
.v3-hero-photo{background:#0B1B21;box-shadow:0 28px 80px rgba(3,16,20,.28)}
.v3-hero-photo::after{background:linear-gradient(180deg,rgba(7,22,27,.02) 28%,rgba(7,22,27,.82) 100%),linear-gradient(90deg,rgba(13,79,89,.16),transparent 58%)}
.v3-photo-band-section{background:#F7F6F2}
.v3-photo-band{background:#0B1B21}
.v3-photo-band::after{background:linear-gradient(90deg,rgba(7,22,27,.74) 0%,rgba(7,22,27,.28) 44%,rgba(7,22,27,.04) 72%)}
.v3-photo-kicker{color:#E6C488}
