/* SAM-PRO Business v28 */
/* Header + Hero aligned much closer to the approved draft */

/* Specific widths for topbar/header/hero based on approved screenshot proportions */
.sampro-v7-topbar .container,
.sampro-v7-header .container,
.v7-hero > .container{
  max-width:1129px !important;
  width:min(1129px, calc(100% - 48px)) !important;
}

/* Slightly broader default container for the rest */
.v7-metrics .container,
.v7-section .container,
.v7-quote-footer .container,
.site-footer .container,
footer .container{
  max-width:1200px !important;
  width:min(1200px, calc(100% - 48px)) !important;
}

/* topbar */
.sampro-v7-topbar{
  height:22px !important;
  font-size:11px !important;
  line-height:1 !important;
}
.sampro-v7-topbar .topbar__inner{height:22px !important;}

/* main nav */
.sampro-v7-header{
  background:#fff !important;
  border-bottom:1px solid #e7edf5 !important;
  box-shadow:none !important;
}
.sampro-v7-navrow{
  min-height:63px !important;
  gap:22px !important;
  align-items:center !important;
}
.sampro-v7-logo{
  width:205px !important;
  min-width:205px !important;
}
.sampro-v7-logo img{
  max-height:52px !important;
  width:auto !important;
}
.sampro-v7-nav{
  margin-left:auto !important;
}
.sampro-v7-menu{
  gap:10px !important;
  align-items:center !important;
}
.sampro-v7-menu > li > a{
  min-height:63px !important;
  padding:0 12px !important;
  display:flex !important;
  align-items:center !important;
  font-size:13.2px !important;
  font-weight:800 !important;
  color:#0d2758 !important;
  letter-spacing:0 !important;
}
.sampro-v7-menu > li > a:hover,
.sampro-v7-menu > li:hover > a{color:#1d5fc0 !important;}
.sampro-v7-menu > li.current-menu-item > a,
.sampro-v7-menu > li.current_page_item > a,
.sampro-v7-menu > li.current-menu-ancestor > a{
  color:#1d5fc0 !important;
  box-shadow:inset 0 -3px 0 #1d5fc0 !important;
}

/* HERO exact-like proportions */
.v7-hero{
  background:#fff !important;
}
.v7-hero__grid{
  display:grid !important;
  grid-template-columns:46.1% 53.9% !important;
  min-height:478px !important;
  align-items:stretch !important;
  gap:0 !important;
}
.v7-hero__copy{
  padding:34px 22px 28px 0 !important;
}
.v7-hero__copy h1{
  margin:0 !important;
  max-width:520px !important;
  font-size:clamp(44px, 4vw, 58px) !important;
  line-height:1.06 !important;
  letter-spacing:0 !important;
}
.v7-gold-line{
  width:64px !important;
  height:4px !important;
  margin:20px 0 18px !important;
}
.v7-hero__copy p{
  max-width:515px !important;
  font-size:14px !important;
  line-height:1.55 !important;
  color:#334565 !important;
  margin:0 !important;
}
.v7-actions{
  margin-top:22px !important;
  gap:14px !important;
  flex-wrap:nowrap !important;
}
.v7-actions .btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  white-space:nowrap !important;
  min-height:44px !important;
  font-size:12.4px !important;
  font-weight:700 !important;
  padding:12px 18px !important;
}

.v7-hero__image{
  min-height:478px !important;
  background:#fff !important;
  overflow:hidden !important;
}
.v7-hero__image:before{display:none !important;}
.v7-hero__image-inner{
  position:absolute !important;
  inset:0 !important;
  background-image:url('../img/hero.webp') !important;
  background-repeat:no-repeat !important;
  background-position:center center !important;
  background-size:cover !important;
}

/* metrics directly under hero */
.v7-metrics article{min-height:88px !important;}
.v7-metrics strong{font-size:20px !important;}
.v7-metrics small{font-size:10.7px !important;}

@media (max-width:1200px){
  .sampro-v7-topbar .container,
  .sampro-v7-header .container,
  .v7-hero > .container,
  .v7-metrics .container,
  .v7-section .container,
  .v7-quote-footer .container,
  .site-footer .container,
  footer .container{width:min(100% - 28px, 1200px) !important;}
  .sampro-v7-navrow{min-height:60px !important;}
  .sampro-v7-menu > li > a{min-height:60px !important; font-size:12.2px !important; padding:0 8px !important;}
  .v7-hero__grid{grid-template-columns:1fr !important; min-height:auto !important;}
  .v7-hero__copy{padding:24px 0 18px !important;}
  .v7-hero__copy h1{font-size:clamp(34px, 5.2vw, 50px) !important; max-width:100% !important;}
  .v7-hero__copy p{max-width:100% !important;}
  .v7-hero__image{min-height:280px !important;}
  .v7-hero__image-inner{background-position:center center !important; background-size:cover !important;}
  .v7-actions{flex-wrap:wrap !important;}
}

@media (max-width:700px){
  .sampro-v7-logo{width:182px !important; min-width:182px !important;}
  .v7-hero__copy h1{font-size:32px !important; line-height:1.1 !important;}
  .v7-hero__copy p{font-size:13px !important;}
  .v7-actions{display:grid !important; grid-template-columns:1fr !important;}
}
