/* ==========================================================================
   Seating Bases & Custom Structures — page-specific styles (a sub-page of
   Custom Fabrication, linked from its Seating Bases & Custom Structures
   card). Loads after styles.css and reuses its tokens, buttons, eyebrows,
   cards, header, footer and contact form. Everything here is prefixed .sbc-;
   the only unprefixed rules are the shared .sfr-ba slider styles, which every
   page that uses the slider defines for itself. Started as a copy of
   custom-consoles-dash-panels.css, whose comp has the same layout; the
   process photo's trailing edge is an arc here instead of a chevron.
   ========================================================================== */

/* The comp runs its bands nearly edge to edge: a 1760px frame whose content
   edge sits 57px in at 1536 (the comp's 38px). --sbc-edge is that edge, for
   bands that bleed a photo to the viewport instead. */
.sbc-hero,.sbc-intro,.sbc-process,.sbc-cta{
  --sbc-gutter:clamp(18px,3.7vw,64px);
  --sbc-edge:max(var(--sbc-gutter), calc((100% - 1760px) / 2 + var(--sbc-gutter)));
}
.sbc-wide{
  max-width:1760px;
  margin-inline:auto;
  padding-inline:clamp(18px,3.7vw,64px);
}
.sbc-eyebrow{
  color:var(--icon-blue);
  font-size:0.75rem;
  letter-spacing:2.2px;
  gap:14px;
  margin-bottom:8px;
}
.sbc-eyebrow i{background:var(--icon-blue);width:34px;}

/* ---------- Hero ----------
   sbc-hero.jpg (the comp's photo right of the copy) covers the right of the
   band, feathered into the navy on its left over the strip where the copy's
   line ends were painted out. It stops above the trust strip, which sits on
   the navy. The copy is indented past the eyebrow's rule, as in the comp. */
.sbc-hero{
  --sbc-indent:76px;                /* eyebrow rule (47px) + its gap (29px) */
  background:linear-gradient(100deg,#001A36 0%,var(--navy-2) 40%,#0B3A66 100%);
}
.sbc-hero-main{position:relative;overflow:hidden;}
.sbc-hero-img{
  position:absolute;top:0;right:0;
  width:57%;height:100%;
  object-fit:cover;
  object-position:right center;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 13%);
          mask-image:linear-gradient(90deg,transparent 0%,#000 13%);
}
.sbc-hero-scrim{
  position:absolute;inset:0;
  background:linear-gradient(90deg,
    rgba(0,22,46,.62) 0%,
    rgba(0,22,46,.42) 42%,
    rgba(0,22,46,0) 56%);
}
.sbc-hero-inner{
  position:relative;z-index:2;
  padding-top:clamp(22px,1.75vw,32px);
  padding-bottom:clamp(20px,1.2vw,24px);
}
.sbc-hero-content{max-width:780px;padding-left:var(--sbc-indent);}
.sbc-hero-eyebrow{
  margin-left:calc(-1 * var(--sbc-indent));
  margin-bottom:10px;
  font-size:0.8125rem;
  letter-spacing:2.1px;
  gap:29px;
  color:#E6F6FE;
}
.sbc-hero-eyebrow i{width:47px;}
.sbc-hero-eyebrow em{font-style:normal;color:var(--accent);}
.sbc-hero h1{
  font-size:clamp(1.875rem,3.25vw,3.375rem);
  letter-spacing:-1.1px;
  line-height:1.01;
  color:#fff;
  margin-bottom:12px;
}
.sbc-hero h1 .accent{color:var(--accent);}
.sbc-hero-sub{
  color:rgba(255,255,255,.92);
  font-size:clamp(0.9063rem,1.25vw,1.2813rem);
  line-height:1.25;
  max-width:29.6em;                 /* breaks after "bases," and "boat", as in the comp */
  margin-bottom:18px;
}
.sbc-hero-actions{display:flex;gap:16px;flex-wrap:wrap;}
.sbc-hero-actions .btn{padding:clamp(13px,1vw,16px) clamp(24px,1.95vw,34px);font-size:clamp(0.9063rem,1.02vw,1.0313rem);}

.sbc-trust-bar{
  background:linear-gradient(180deg,rgba(0,26,54,.82) 0%,rgba(0,20,42,.96) 100%);
}
.sbc-trust{
  display:grid;
  grid-template-columns:repeat(4,auto);
  justify-content:space-between;
  gap:14px 24px;
  padding-block:clamp(10px,.68vw,13px);
  padding-left:clamp(0px,5.3vw,92px);
  padding-right:clamp(0px,2.9vw,50px);
}
.sbc-trust li{display:flex;align-items:center;gap:16px;color:#fff;}
.sbc-trust-icon{flex:none;display:flex;color:var(--accent);}
.sbc-trust strong{display:block;font-family:var(--font-head);font-size:clamp(0.8438rem,1vw,1rem);line-height:1.25;}
.sbc-trust small{display:block;font-size:clamp(0.75rem,.88vw,0.875rem);line-height:1.3;color:rgba(255,255,255,.78);}

/* ---------- Intro: copy | diagram bleeding to the right edge ----------
   The copy keeps the frame's content edge; the photo is a grid cell that
   runs to the viewport edge and sets the band's height. */
.sbc-intro{
  display:grid;
  grid-template-columns:minmax(0,1fr) min(60.2%, 1160px);
  align-items:center;
  column-gap:clamp(12px,1vw,20px);
  padding-left:var(--sbc-edge);
  background:var(--light-bg);
}
.sbc-intro-copy{position:relative;z-index:1;padding-block:clamp(12px,.8vw,16px);}
.sbc-intro h2{
  font-size:clamp(1.5rem,2.3vw,2.5rem);
  letter-spacing:-.8px;
  line-height:1.1;
  margin-bottom:10px;
}
/* As in the comp, the paragraph runs a little past the column into the
   diagram's faded left edge (it stops short of the callout cards), which is
   what lets its first three lines break on the comp's words. Lines 4-6 are
   the comp's forced breaks. */
.sbc-intro-copy > p{
  font-size:clamp(0.9375rem,1.3vw,1.3125rem);
  line-height:1.22;
  color:var(--gray-text);
  max-width:30.4em;
  margin-right:-2.6vw;
  margin-bottom:clamp(16px,1.3vw,22px);
}
.sbc-intro-copy .btn{padding:clamp(12px,.95vw,15px) clamp(22px,2vw,34px);font-size:clamp(0.9063rem,1.02vw,1.0313rem);}

/* Diagram: the comp's photo with its pins and leader lines kept and its six
   callout cards whitened. Live cards are laid over the comp's in % of the
   photo, with type in container query units, so the whole diagram scales as
   one. Each card stops 3 comp px short of its pin side, so the comp's pins,
   drawn on the card edges, stay whole. */
.sbc-diagram{
  position:relative;
  container-type:inline-size;
  margin:0;
}
.sbc-diagram > img{
  display:block;width:100%;height:auto;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 4%);
          mask-image:linear-gradient(90deg,transparent,#000 4%);
}
.sbc-callouts{list-style:none;margin:0;padding:0;}
.sbc-callout{
  position:absolute;
  background:#fff;
  border-radius:clamp(4px,.75cqw,7px);
  box-shadow:0 10px 22px -14px rgba(0,38,75,.45);
  padding:1cqw 1.2cqw 1cqw 2.1cqw;
  display:flex;flex-direction:column;justify-content:center;
}
.sbc-co-builds    {left:3.79%;top:5.58%;width:24.83%;min-height:28.51%;}
.sbc-co-repair    {left:3.79%;top:37.81%;width:25.00%;min-height:23.55%;}
.sbc-co-reinforced{left:3.96%;top:65.08%;width:25.17%;min-height:29.34%;}
.sbc-co-comfort   {left:73.23%;top:3.10%;width:22.56%;min-height:24.38%;}
.sbc-co-storage   {left:73.40%;top:32.85%;width:23.40%;min-height:25.21%;}
.sbc-co-finish    {left:73.40%;top:65.08%;width:23.57%;min-height:26.03%;}
/* The right-hand cards start 3 comp px in, so their text sits as in the comp. */
.sbc-co-comfort,.sbc-co-storage,.sbc-co-finish{padding-left:1.55cqw;}
.sbc-callout strong{
  display:block;
  font-family:var(--font-head);
  font-weight:800;
  font-size:clamp(0.5938rem,1.72cqw,1.0625rem);
  line-height:1.2;
  color:var(--navy);
  margin-bottom:.25em;
}
.sbc-callout small{
  display:block;
  font-size:clamp(0.5313rem,1.52cqw,0.9375rem);
  line-height:1.32;
  color:var(--gray-text);
}
@container (max-width:620px){
  /* Too small for the descriptions to fit their cards; the titles stay. */
  .sbc-callout{padding:4px 6px 4px 8px;}
  .sbc-callout small{display:none;}
  .sbc-callout strong{margin:0;font-size:clamp(0.5938rem,2.5cqw,0.8125rem);}
}

/* ---------- Common services: five fg-cards without links ---------- */
.sbc-options{background:linear-gradient(180deg,#F4FAFE 0%,#F9FBFE 100%);}
/* The comp's diagram runs almost to the eyebrow. */
.sbc-options .sbc-wide{padding-block:clamp(3px,.2vw,4px) clamp(12px,.88vw,15px);}
.sbc-opt-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:clamp(12px,1.08vw,18px);
}
.sbc-opt{border-radius:8px;}
.sbc-opt:hover{transform:none;}
.sbc-opt .fg-card-media img{aspect-ratio:183/81;}
/* The comp's titles nearly fill the card (14 comp px in, 9 out), so the
   right padding is the smaller one. The descriptions wrap at ~150 comp px,
   which 14.8em reproduces at every size. */
.sbc-opt .fg-card-body{padding:clamp(12px,.95vw,16px) clamp(10px,.85vw,14px) clamp(13px,1vw,17px) clamp(14px,1.37vw,23px);}
.sbc-opt .fg-card-body h3{font-size:clamp(0.9063rem,1.03vw,1.0625rem);letter-spacing:-.3px;margin-bottom:clamp(3px,.3vw,5px);}
.sbc-opt .fg-card-body p{font-size:clamp(0.8125rem,.98vw,1rem);line-height:1.25;margin-bottom:0;max-width:14.8em;}

/* ---------- Shared slider (script.js binds every .sfr-ba) ----------
   Each image is one half of the comp's pair plus its mirror, so at rest the
   seam sits on the handle and the frame matches the comp. */
.sfr-ba{
  position:relative;
  aspect-ratio:307/92;
  border-radius:7px;
  overflow:hidden;
  box-shadow:0 14px 30px -20px rgba(0,38,75,.6);
  cursor:ew-resize;
  touch-action:none;
  user-select:none;
}
.sfr-ba:focus-visible{outline:2px solid var(--icon-blue);outline-offset:3px;}
.sfr-ba-img{
  position:absolute;inset:0;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
.sfr-ba-after{clip-path:inset(0 0 0 50%);}
.sfr-ba-line{
  position:absolute;top:0;bottom:0;left:50%;
  width:2px;margin-left:-1px;
  background:#fff;
  box-shadow:0 0 8px rgba(0,0,0,.3);
  pointer-events:none;
}
.sfr-ba-handle{
  position:absolute;top:50%;left:50%;
  transform:translate(-50%,-50%);
  width:clamp(34px,2.8vw,46px);height:clamp(34px,2.8vw,46px);
  border-radius:50%;
  background:#fff;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 16px rgba(0,0,0,.3);
  pointer-events:none;
}
.sfr-ba-handle svg{display:block;}
/* The comp's tags sit almost on the bottom edge. */
.sfr-ba-tag{
  position:absolute;bottom:clamp(2px,.2vw,4px);
  width:24.9%;
  text-align:center;
  font-family:var(--font-head);
  font-weight:800;
  font-size:clamp(0.6875rem,.95vw,0.9375rem);
  letter-spacing:.8px;
  padding:clamp(5px,.5vw,8px) 0;
  border-radius:5px;
  pointer-events:none;
}
.sfr-ba-tag-before{left:3.9%;background:rgba(0,22,46,.92);color:#fff;}
.sfr-ba-tag-after{right:3.9%;background:#1E9BF0;color:#fff;}

/* ---------- Process band ----------
   Photo bleeding off the left edge with a shallow arc on its trailing side
   (x 331 at the corners, 358 at the middle of the comp's 194px band), then
   copy and four step cards. The section's right padding reproduces
   .sbc-wide's content edge. */
.sbc-process{
  display:grid;
  /* 35.1% of the viewport, as in the comp: the % resolves against the
     content box, which loses the right padding. */
  grid-template-columns:clamp(260px,36.6%,704px) minmax(0,1fr);
  padding-right:calc(var(--sbc-edge) + clamp(0px,.5vw,8px));
  background:
    radial-gradient(ellipse at 85% 0%, rgba(28,148,220,.16), transparent 60%),
    linear-gradient(100deg,var(--navy) 0%,#062F5A 55%,var(--navy-2) 100%);
}
.sbc-process-photo{
  position:relative;
  /* An ellipse centred on the left edge: full width at the middle, 92.4% at
     the top and bottom, as in the comp. */
  clip-path:ellipse(100% 130% at 0 50%);
}
.sbc-process-photo img{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;
  object-position:right center;
}
.sbc-process-body{
  padding:clamp(10px,.6vw,11px) 0 clamp(10px,.75vw,13px) clamp(4px,.3vw,5px);
}
.sbc-process-head{margin-left:clamp(10px,1.2vw,18px);}
/* As in the comp, the eyebrow's rule hangs left of the heading. */
.sbc-process-eyebrow{
  color:var(--accent);
  font-size:0.75rem;
  letter-spacing:2.2px;
  margin-bottom:0;
  margin-left:-48px;
}
.sbc-process-eyebrow i{background:var(--accent);width:34px;}
.sbc-process h2{
  color:#fff;
  font-size:clamp(1.375rem,1.95vw,2rem);
  letter-spacing:-.6px;
  line-height:1.15;
  margin-bottom:4px;
}
.sbc-process-lead{
  color:rgba(255,255,255,.9);
  font-size:clamp(0.875rem,1.2vw,1.2188rem);
  line-height:1.18;
  max-width:39.2em;                 /* breaks after "structures", as in the comp */
  margin-bottom:clamp(14px,1vw,17px);
}
.sbc-steps{
  --step-gap:clamp(24px,1.95vw,34px);
  list-style:none;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:24px var(--step-gap);
}
.sbc-step{
  position:relative;
  padding:clamp(10px,.7vw,13px) clamp(14px,1.1vw,20px) clamp(10px,.7vw,13px);
  border:1px solid rgba(94,205,250,.2);
  border-radius:8px;
  background:linear-gradient(180deg,rgba(255,255,255,.06) 0%,rgba(255,255,255,.02) 100%);
}
/* Arrow between cards, centred in the gap. */
.sbc-step + .sbc-step::before{
  content:"";
  position:absolute;
  left:calc(-.5 * var(--step-gap) - 12px);
  top:50%;
  width:24px;height:24px;
  margin-top:-12px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h17M14 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center/contain;
  opacity:.9;
}
.sbc-step-top{display:flex;align-items:center;gap:clamp(14px,1.5vw,26px);margin-bottom:4px;}
.sbc-step-num{
  flex:none;
  width:clamp(32px,2.35vw,40px);height:clamp(32px,2.35vw,40px);
  border-radius:50%;
  background:#1E8BF0;
  box-shadow:0 0 0 4px rgba(28,148,220,.22);
  color:#fff;
  font-family:var(--font-head);
  font-weight:800;
  font-size:clamp(1rem,1.2vw,1.25rem);
  display:flex;align-items:center;justify-content:center;
}
.sbc-step-icon{display:flex;color:#fff;}
.sbc-step h3{color:#fff;font-size:clamp(0.9063rem,1.1vw,1.125rem);letter-spacing:-.2px;margin-bottom:4px;text-align:center;}
.sbc-step p{color:rgba(255,255,255,.8);font-size:clamp(0.8125rem,.88vw,0.9063rem);line-height:1.27;}

/* ---------- Before & after ---------- */
.sbc-results{
  background:linear-gradient(180deg,#F8FBFE 0%,var(--light-bg) 100%);
}
.sbc-results-inner{padding-block:clamp(12px,.95vw,16px) clamp(12px,.8vw,14px);}
.sbc-head{
  display:flex;align-items:flex-end;justify-content:space-between;
  gap:12px 40px;
  flex-wrap:wrap;
  margin-bottom:clamp(8px,.55vw,10px);
}
.sbc-head h2{
  font-size:clamp(1.4375rem,1.95vw,2.0625rem);
  letter-spacing:-.7px;
  line-height:1.12;
}
.sbc-head .btn{
  align-self:flex-start;
  margin-top:clamp(2px,.3vw,5px);
  padding:clamp(9px,.62vw,11px) clamp(20px,1.6vw,28px);
  font-size:clamp(0.8438rem,.98vw,0.9688rem);
}
.sbc-ba-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(14px,1.65vw,28px);
}

/* ---------- Other boat repair services ----------
   Head row (copy | button), then six title-only cards and a "can't find
   it" card. The card widths follow the comp; each card is one link. */
.sbc-related{background:linear-gradient(180deg,#F6FBFD 0%,#F3F9FE 100%);}
.sbc-related-inner{padding-block:clamp(10px,.75vw,13px) clamp(12px,.75vw,14px);}
.sbc-related-grid{
  display:grid;
  grid-template-columns:108fr 115fr 121fr 104fr 103fr 214fr 142fr;
  gap:clamp(10px,.85vw,14px);
}
.sbc-rel-card{position:relative;border:1px solid #E6EFF7;border-radius:8px;}
.sbc-rel-card:hover{transform:translateY(-2px);}
.sbc-rel-card .fg-card-media img{aspect-ratio:auto;height:clamp(76px,6.05vw,101px);}
.sbc-rel-card .fg-card-body{padding:clamp(9px,.68vw,12px) clamp(10px,1vw,16px) clamp(10px,.72vw,12px);}
.sbc-rel-card h3{font-size:clamp(0.7813rem,.95vw,0.9375rem);letter-spacing:-.3px;line-height:1.3;margin:0;}
.sbc-rel-card h3 a{color:inherit;}
/* The title's link covers the whole card. */
.sbc-rel-card h3 a::after{content:"";position:absolute;inset:0;border-radius:inherit;}
.sbc-rel-card h3 a:focus-visible{outline:none;}
.sbc-rel-card:has(a:focus-visible){outline:2px solid var(--icon-blue);outline-offset:3px;}
.sbc-rel-help{
  position:relative;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;
  gap:clamp(3px,.3vw,5px);
  padding:clamp(10px,.8vw,14px) clamp(10px,.8vw,14px);
  border-radius:10px;
  background:#E6F2FD;
}
.sbc-rel-help-icon{
  width:clamp(32px,2.25vw,38px);height:clamp(32px,2.25vw,38px);
  border-radius:50%;
  background:#fff;
  color:#1E8BF0;
  display:flex;align-items:center;justify-content:center;
  margin-bottom:2px;
}
.sbc-rel-help a{font-family:var(--font-head);font-weight:800;font-size:clamp(0.875rem,1.1vw,1.0938rem);line-height:1.18;letter-spacing:-.3px;color:var(--navy);}
.sbc-rel-help a::after{content:"";position:absolute;inset:0;border-radius:inherit;}
.sbc-rel-help a:focus-visible{outline:none;}
.sbc-rel-help:has(a:focus-visible){outline:2px solid var(--icon-blue);outline-offset:3px;}
.sbc-rel-help p{font-size:clamp(0.75rem,.88vw,0.875rem);line-height:1.25;color:var(--gray-text);}

/* ---------- Why choose us + FAQ ----------
   copy | four features | FAQ, the first two set off by a rule. Questions
   use native <details>, so they work without script. */
.sbc-why{background:linear-gradient(180deg,#F7FBFE 0%,#F2F8FD 100%);}
.sbc-why-inner{
  display:grid;
  grid-template-columns:minmax(0,37.4%) minmax(0,1fr) minmax(0,34.2%);
  align-items:center;
  padding-block:clamp(12px,.9vw,16px) clamp(12px,.8vw,14px);
}
.sbc-why-copy{padding-right:clamp(16px,1.4vw,24px);}
.sbc-why h2{
  font-size:clamp(1.375rem,1.79vw,1.8438rem);
  letter-spacing:-.6px;
  line-height:1.12;
  margin-bottom:4px;
}
.sbc-why-copy p{font-size:clamp(0.875rem,1.05vw,1.0625rem);line-height:1.38;color:var(--gray-text);}
.sbc-features{
  align-self:stretch;
  display:grid;align-content:center;
  gap:clamp(12px,1.05vw,18px);
  padding-left:clamp(20px,1.7vw,30px);
  padding-right:clamp(16px,1.6vw,28px);
  border-left:1px solid #DCE7F1;
}
.sbc-features li{display:flex;align-items:center;gap:clamp(14px,1.3vw,22px);}
.sbc-feature-icon{flex:none;display:flex;justify-content:center;width:32px;color:#1E8BF0;}
.sbc-features strong{display:block;font-family:var(--font-head);font-size:clamp(0.875rem,.98vw,1rem);line-height:1.25;color:var(--navy);}
.sbc-features small{display:block;font-size:clamp(0.8125rem,.9vw,0.9063rem);line-height:1.3;color:var(--gray-text);}
.sbc-faq{
  align-self:stretch;
  display:flex;flex-direction:column;justify-content:center;
}
.sbc-faq h2{font-size:clamp(1.1875rem,1.45vw,1.5rem);letter-spacing:-.5px;margin-bottom:6px;}
.sbc-faq-list{display:grid;gap:4px;}
.sbc-faq details{background:#fff;border:1px solid #DCE7F1;border-radius:6px;box-shadow:0 4px 10px -8px rgba(0,38,75,.3);}
.sbc-faq summary{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:3px 14px;
  line-height:1.4;
  font-size:clamp(0.8438rem,.9vw,0.9375rem);
  font-weight:500;
  color:var(--navy);
  cursor:pointer;
  list-style:none;
}
.sbc-faq summary::-webkit-details-marker{display:none;}
.sbc-faq summary::after{
  content:"";flex:none;
  width:13px;height:13px;
  background:
    linear-gradient(var(--icon-blue),var(--icon-blue)) center/13px 2px no-repeat,
    linear-gradient(var(--icon-blue),var(--icon-blue)) center/2px 13px no-repeat;
  transition:transform .2s ease;
}
.sbc-faq details[open] summary::after{transform:rotate(45deg);}
.sbc-faq summary:focus-visible{outline:2px solid var(--icon-blue);outline-offset:2px;border-radius:6px;}
.sbc-faq details p{padding:0 16px 14px;font-size:0.875rem;line-height:1.6;color:var(--gray-text);}

/* ---------- Closing CTA band ----------
   The comp's boat and skyline at the left edge, feathered into the navy;
   the faint skyline on the right is the faded end of results-marina.jpg.
   Copy | two buttons. */
.sbc-cta{
  position:relative;
  overflow:hidden;
  background:linear-gradient(100deg,#001A36 0%,var(--navy) 55%,#0B3A66 100%);
}
.sbc-cta-bg{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;
  object-position:center 62%;
  opacity:.22;
  -webkit-mask-image:linear-gradient(90deg,transparent 45%,#000 95%);
          mask-image:linear-gradient(90deg,transparent 45%,#000 95%);
}
.sbc-cta-boat{
  position:absolute;top:0;bottom:0;left:0;
  width:clamp(200px,34.2vw,600px);
  -webkit-mask-image:linear-gradient(90deg,#000 70%,transparent 100%);
          mask-image:linear-gradient(90deg,#000 70%,transparent 100%);
}
.sbc-cta-boat img{width:100%;height:100%;object-fit:cover;object-position:left center;}
.sbc-cta-inner{
  position:relative;
  display:flex;align-items:center;justify-content:space-between;
  gap:16px clamp(14px,1.05vw,20px);
  flex-wrap:wrap;
  min-height:clamp(90px,6.64vw,117px);
  padding-block:clamp(12px,.9vw,16px);
  /* The copy starts just past the boat (the comp's x 362 of 1024). */
  padding-left:max(var(--sbc-gutter), calc(35.35vw - max(0px, (100vw - 1760px) / 2)));
}
.sbc-cta h2{color:#fff;font-size:clamp(1.1875rem,1.42vw,1.4688rem);letter-spacing:-.5px;line-height:1.15;margin-bottom:2px;}
.sbc-cta p{font-size:clamp(0.7813rem,.84vw,0.875rem);color:rgba(255,255,255,.85);}
.sbc-cta-actions{display:flex;gap:clamp(10px,1.05vw,18px);flex-wrap:wrap;margin-left:auto;}
.sbc-cta-actions .btn{padding:clamp(12px,.95vw,15px) clamp(22px,1.8vw,32px);font-size:clamp(0.875rem,.98vw,1rem);}
.sbc-cta-actions .btn-outline-light{background:rgba(0,22,46,.55);border-color:rgba(94,205,250,.7);}

/* ==========================================================================
   Responsive — widest first (see BUILDING-SERVICE-PAGES.md §7: equal
   specificity, so the later block wins).
   ========================================================================== */

@media (max-width:1400px){
  /* Hero: the copy no longer fits left of the photo, so the photo narrows
     and fades in over a longer run and the scrim reaches further. */
  .sbc-hero-img{
    width:54%;
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 38%);
            mask-image:linear-gradient(90deg,transparent 0%,#000 38%);
  }
  .sbc-hero-scrim{
    background:linear-gradient(90deg, rgba(0,22,46,.7) 0%, rgba(0,22,46,.55) 50%, rgba(0,22,46,0) 72%);
  }
  /* Related: the help card becomes a strip under the six service cards. */
  .sbc-related-grid{grid-template-columns:repeat(6,minmax(0,1fr));}
  .sbc-rel-help{
    grid-column:1 / -1;
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    grid-template-areas:"icon title" "icon copy";
    align-items:center;
    column-gap:16px;row-gap:2px;
    text-align:left;
    padding:12px 20px;
  }
  .sbc-rel-help-icon{grid-area:icon;margin:0;}
  .sbc-rel-help a{grid-area:title;}
  .sbc-rel-help p{grid-area:copy;}
  .sbc-rel-help a br{display:none;}
}

@media (max-width:1240px){
  .sbc-opt-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
  /* The comp's description breaks belong to the five-up row. */
  .sbc-opt .fg-card-body p{max-width:none;}
  .sbc-opt .fg-card-body p br{display:none;}
  .sbc-steps{grid-template-columns:repeat(2,minmax(0,1fr));}
  .sbc-step p br{display:none;}
  .sbc-step:nth-child(3)::before{display:none;}
  .sbc-related-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
  /* Why: copy | features on top, the FAQ full width below. The comp's
     forced line breaks only hold in the three-column layout. */
  .sbc-why-copy p br{display:none;}
  .sbc-why-inner{grid-template-columns:minmax(0,1fr) minmax(0,1fr);row-gap:24px;padding-block:28px;}
  .sbc-features{padding-right:0;}
  .sbc-faq{grid-column:1 / -1;border-top:1px solid #DCE7F1;padding-top:22px;}
  /* The CTA copy wraps under the boat; the buttons drop below it. */
  .sbc-cta-inner{padding-left:clamp(200px,34.2vw,600px);}
  .sbc-cta-actions{margin-left:0;}
}

@media (max-width:1100px){
  /* Intro stacks: the diagram becomes a full-width row under the copy so its
     callouts keep room for their descriptions. */
  .sbc-intro{grid-template-columns:minmax(0,1fr);padding-inline:0;}
  .sbc-intro-copy{padding:clamp(28px,4vw,40px) var(--sbc-edge) 8px;}
  .sbc-intro-copy > p{margin-right:0;}
  .sbc-intro-copy > p br{display:none;}
  .sbc-diagram{width:100%;max-width:900px;justify-self:end;}
}

@media (max-width:1024px){
  .sbc-hero-img{width:100%;object-position:70% center;-webkit-mask-image:none;mask-image:none;}
  .sbc-hero-scrim{
    background:linear-gradient(90deg, rgba(0,22,46,.9) 0%, rgba(0,22,46,.76) 60%, rgba(0,22,46,.5) 100%);
  }
  .sbc-trust{grid-template-columns:repeat(2,auto);justify-content:start;column-gap:clamp(24px,6vw,64px);padding-inline:0;}
  .sbc-process{grid-template-columns:minmax(0,1fr);padding-right:0;}
  .sbc-process-photo{clip-path:none;aspect-ratio:2.4/1;}
  .sbc-process-photo img{object-position:center 40%;}
  .sbc-process-body{padding:clamp(24px,4vw,36px) var(--pad) clamp(26px,4vw,40px);}
  .sbc-process-head{margin-left:0;}
  .sbc-process-eyebrow{margin-left:0;}
  .sbc-step h3{text-align:left;}
  .sbc-cta-boat{width:40%;opacity:.45;}
  .sbc-cta-inner{padding-block:24px;padding-left:var(--sbc-gutter);}
}

@media (max-width:820px){
  .sbc-opt-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .sbc-related-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .sbc-rel-card h3{font-size:0.9375rem;}
  .sbc-why-inner{grid-template-columns:minmax(0,1fr);}
  .sbc-why-copy{padding-right:0;}
  .sbc-features{border-left:0;padding-inline:0;}
  .sbc-ba-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}

@media (max-width:640px){
  .sbc-hero{--sbc-indent:0px;}
  .sbc-hero-inner{padding-top:34px;padding-bottom:28px;}
  .sbc-hero-eyebrow{font-size:0.6875rem;letter-spacing:1.6px;gap:10px;}
  .sbc-hero-eyebrow i{width:24px;}
  .sbc-hero h1{font-size:clamp(1.75rem,8vw,2.25rem);letter-spacing:-.7px;}
  .sbc-hero h1 br{display:none;}
  .sbc-hero-sub{font-size:0.9063rem;margin-bottom:22px;}
  .sbc-hero-img{object-position:62% center;}
  .sbc-hero-scrim{
    background:linear-gradient(180deg, rgba(0,22,46,.9) 0%, rgba(0,22,46,.82) 55%, rgba(0,22,46,.74) 100%);
  }
  .sbc-hero-actions,.sbc-cta-actions{width:100%;gap:10px;}
  .sbc-hero-actions .btn,.sbc-cta-actions .btn{flex:1 1 100%;justify-content:center;}
  .sbc-trust{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;}
  .sbc-intro h2 br{display:none;}
  .sbc-intro-copy .btn{width:100%;justify-content:center;}
  .sbc-opt-grid{grid-template-columns:minmax(0,1fr);}
  .sbc-steps{grid-template-columns:minmax(0,1fr);}
  .sbc-step + .sbc-step::before{display:none;}
  .sbc-head .btn{width:100%;justify-content:center;margin-top:0;}
  .sbc-ba-grid{grid-template-columns:minmax(0,1fr);max-width:520px;}
  .sfr-ba{aspect-ratio:2.6/1;}
  .sbc-why h2 br{display:none;}
  .sbc-faq summary{padding-block:10px;}
  .sbc-cta-boat{width:70%;opacity:.3;}
}

@media (max-width:400px){
  .sbc-trust{grid-template-columns:minmax(0,1fr);}
  .sbc-related-grid{grid-template-columns:minmax(0,1fr);}
}
