/* Shared service masthead; isolated from the legacy banner theme. */
.service-masthead {position:relative;overflow:hidden;background:linear-gradient(115deg,#f8f9fc 0%,#f6f7fb 62%,#fff3f5 100%);padding:150px 24px 0;border-bottom:1px solid #e4e8f0;color:#13223c;}
.service-masthead-container {max-width:1200px;margin:auto;}
.service-masthead-grid>* {min-width:0;}
.service-masthead *, .service-masthead *::before, .service-masthead *::after {box-sizing:border-box;}
.service-masthead-crumbs {display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-size:10px;line-height:1.7;color:#77859b;margin-bottom:36px;}
.service-masthead-crumbs a {color:#6a7a91;}
.service-masthead-crumbs [aria-current] {color:#c31a38;font-weight:600;}
.service-masthead-grid {display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:70px;align-items:center;padding-bottom:42px;}
.service-masthead-eyebrow {display:flex;align-items:center;gap:10px;font-size:9px;letter-spacing:1.7px;font-weight:800;color:#a9233d;line-height:1.7;}
.service-masthead-eyebrow>span {height:7px;width:7px;flex-shrink:0;background:#e91d40;border-radius:50%;box-shadow:0 0 0 5px #fde4eb;}
body.page-service .service-masthead h1 {font-family:Outfit,sans-serif;font-size:clamp(40px,4.5vw,64px);line-height:1.04;letter-spacing:-2.3px;font-weight:600;color:#10203c;margin:23px 0;max-width:700px;overflow-wrap:break-word;}
.service-masthead-copy>p {overflow-wrap:anywhere;font-size:15px;line-height:1.9;color:#62728a;max-width:540px;margin:0 0 28px;}
.service-masthead-actions {display:flex;align-items:center;flex-wrap:wrap;gap:22px;}
.service-masthead-primary {display:inline-flex;align-items:center;justify-content:space-between;gap:26px;padding:15px 21px;border:1px solid #ed2547;border-radius:9px;background:#e81b3e;color:#fff;font-size:12px;font-weight:700;box-shadow:0 8px 20px #dc18351a;transition:transform .2s,background .2s;}
.service-masthead-primary>span {font-size:22px;line-height:1;}
.service-masthead-primary:hover {background:#bd1030;color:#fff;transform:translateY(-2px);}
.service-masthead-secondary {display:inline-flex;gap:9px;align-items:center;color:#253650;font-size:11px;font-weight:600;padding:12px 0;border-bottom:1px solid #cfd7e3;}
.service-masthead-secondary i {color:#d31a3a;}
.service-masthead-secondary:hover {color:#c31a38;}
.service-masthead-note {font-size:10px;color:#7a889d;margin-top:20px;line-height:1.8;}
.service-masthead-note>span {color:#d21b3a;margin-right:6px;}
.service-masthead-visual {position:relative;isolation:isolate;overflow:hidden;min-height:330px;border-radius:22px;background:radial-gradient(ellipse at 95% 0%,#344561,transparent 70%),#102039;border:1px solid #35445c;box-shadow:0 18px 40px #17264014;padding:25px 28px;display:flex;flex-direction:column;color:white;}
.service-masthead-visual::before {content:'';position:absolute;z-index:-1;right:-90px;top:-100px;width:290px;height:290px;border:1px solid #ffffff10;border-radius:50%;box-shadow:0 0 0 40px #ffffff03,0 0 0 80px #ffffff02;}
.service-masthead-visual-top {display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:8px;font-weight:600;letter-spacing:1.8px;color:#bbcae0;}
.service-masthead-visual-arrow {flex-shrink:0;display:grid;place-items:center;width:30px;height:30px;border:1px solid #ffffff25;border-radius:50%;color:#ff91a4;font-size:19px;}
.service-masthead-symbol {position:relative;display:grid;place-items:center;width:126px;height:126px;align-self:center;margin:9px 0 15px;}
.service-masthead-symbol>i {display:grid;place-items:center;width:70px;height:70px;border-radius:21px;border:1px solid #ff8da360;background:linear-gradient(135deg,#fa4665,#c81335);color:#fff;box-shadow:0 10px 35px #ff255b2b;font-size:28px;transform:rotate(-8deg);}
.service-masthead-orbit {position:absolute;inset:0;border:1px solid #ffffff20;border-radius:50%;transform:rotate(-25deg) scaleX(1.3);}
.service-masthead-orbit-dot {position:absolute;right:0;top:15px;width:8px;height:8px;border-radius:50%;background:#ff8ba2;box-shadow:0 0 0 5px #ff8ba210;}
.service-masthead-visual-caption {margin-top:auto;}
.service-masthead-visual-caption>span {display:block;font-size:8px;letter-spacing:1.8px;color:#9dacc4;margin-bottom:9px;}
.service-masthead-visual-caption strong {color:#fff !important;font-family:Outfit,sans-serif;font-weight:500;display:block;font-size:25px;line-height:1.2;letter-spacing:-.5px;max-width:310px;}
.service-masthead-tags {display:flex;flex-wrap:wrap;gap:7px;margin-top:17px;}
.service-masthead-tags>span {padding:6px 10px;background:#ffffff08;border:1px solid #ffffff1c;border-radius:6px;color:#c6d1e1;font-size:8px;letter-spacing:.3px;}
.service-masthead-bottom {display:flex;justify-content:space-between;gap:20px;border-top:1px solid #dfe4ed;padding:18px 0;font-size:10px;color:#7b879a;line-height:1.7;}
.service-masthead-bottom i {color:#cc1a38;margin-right:6px;}
.service-masthead-bottom>span:last-child {font-size:8px;letter-spacing:1.7px;}
.service-masthead-visual-photo>img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;}
.service-masthead-visual-photo::after {content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#0b193a80,#0b193a25 30%,#0b193af5 100%);}
.service-masthead-visual-photo .service-masthead-symbol {visibility:hidden;}
.service-masthead a:focus-visible {outline:3px solid #e51b3d;outline-offset:5px;}
@media(max-width:1199px) {
  .service-masthead {padding-top:112px;}
}
@media(max-width:1000px) {
  .service-masthead-grid {gap:30px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);}
  .service-masthead-visual {padding:23px;}
  .service-masthead-actions {gap:15px;}
  body.page-service .service-masthead h1 {font-size:clamp(36px,4.8vw,48px);letter-spacing:-1.6px;}
}
@media(max-width:800px) {
  .service-masthead-grid {grid-template-columns:1fr;gap:30px;}
  .service-masthead-copy>p {max-width:600px;}
  .service-masthead-visual {min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 140px;gap:24px;align-items:center;}
  .service-masthead-visual-top {grid-column:1/-1;}
  .service-masthead-symbol {position:relative;grid-column:2;grid-row:2;margin:0;justify-self:center;width:110px;height:110px;}
  .service-masthead-visual-caption {grid-column:1;grid-row:2;margin:0;min-width:0;}
  .service-masthead-visual-caption strong {max-width:none;overflow-wrap:anywhere;}
  .service-masthead-crumbs {margin-bottom:28px;}
  .service-masthead-bottom {flex-wrap:wrap;gap:8px;}
}
@media(max-width:480px) {
  .service-masthead {padding:104px 16px 0;}
  body.page-service .service-masthead h1 {font-size:clamp(32px,9vw,42px);letter-spacing:-1.2px;}
  .service-masthead-eyebrow {font-size:8px;letter-spacing:1px;}
  .service-masthead-copy>p {font-size:13px;}
  .service-masthead-actions {align-items:stretch;flex-direction:column;gap:8px;}
  .service-masthead-primary {min-height:48px;}
  .service-masthead-secondary {min-height:44px;align-self:flex-start;}
  .service-masthead-visual {grid-template-columns:minmax(0,1fr);gap:18px;padding:23px;}
  .service-masthead-symbol {grid-column:1;grid-row:2;width:100px;height:100px;}
  .service-masthead-visual-caption {grid-column:1;grid-row:3;}
  .service-masthead-visual-caption strong {font-size:23px;}
  .service-masthead-bottom>span:last-child {font-size:7px;letter-spacing:1px;}
  .service-masthead-visual-photo .service-masthead-symbol {height:70px;}
}
@media(prefers-reduced-motion:reduce) {.service-masthead * {transition:none !important;}.service-masthead-primary:hover {transform:none;}}
/* Mobile: keep both masthead buttons on one row, without the arrow. */
@media(max-width:767px) {
  .service-masthead .service-masthead-actions {display:grid !important;grid-template-columns:1fr 1fr;gap:8px !important;align-items:stretch;flex-direction:row;}
  .service-masthead .service-masthead-actions a {display:inline-flex !important;align-items:center;justify-content:center !important;gap:6px !important;min-width:0;min-height:48px;padding:9px 8px !important;font-size:11px !important;white-space:nowrap;text-align:center;align-self:stretch;}
  .service-masthead .service-masthead-primary>span {display:none !important;}
}
