/* Shared visual refinements. Loaded after the legacy page styles. */
.multipage {
  --bg: #0b1730;
  --panel: #142b44;
  --panel-hover: #1a3953;
  --muted: #b7c8dc;
  --line: rgba(155, 213, 233, .22);
  background: #0b1730;
}

/* A continuous blue atmosphere, with the same cyan and violet light as the footer. */
.multipage main {
  background-color: #0c1931;
  background-image:
    radial-gradient(ellipse 85% 42% at 100% 50%, rgba(52, 128, 161, .27), transparent 100%),
    radial-gradient(ellipse 70% 40% at 0 50%, rgba(106, 93, 182, .15), transparent 100%),
    linear-gradient(115deg, #0b1832, #132e43 52%, #0b1a35);
  background-size: 100% 1200px, 100% 1600px, 100% 100%;
  background-repeat: repeat-y, repeat-y, no-repeat;
}
.multipage main::before {
  background-image:
    radial-gradient(circle at 12% 19%, rgba(201, 244, 255, .72) 0 1px, transparent 1.6px),
    radial-gradient(circle at 73% 48%, rgba(137, 241, 235, .6) 0 .8px, transparent 1.6px),
    radial-gradient(circle at 88% 81%, rgba(185, 172, 255, .65) 0 1px, transparent 1.7px),
    url('../media/cosmo-wallpaper-overlay.png');
  background-size: 380px 510px, 510px 690px, 620px 780px, 760px 760px;
  opacity: .15;
}
.multipage .page-hero::after { opacity: .55; }
.multipage .page-hero::after,
.multipage .page-hero .cosmic-atmosphere {
  -webkit-mask-image: linear-gradient(transparent, #000 80px, #000 62%, transparent);
  mask-image: linear-gradient(transparent, #000 80px, #000 62%, transparent);
}
.multipage .page-hero .cosmic-atmosphere { transform: none; }
.multipage :is(.lead-section, .quality-band, .contact-section) {
  background: radial-gradient(ellipse at 85% 10%, rgba(137, 241, 235, .1), transparent 60%), linear-gradient(125deg, #142942, #102a40 55%, #172442);
  border-color: var(--line);
}
.multipage .site-header,
.multipage .site-header.is-scrolled {
  background: rgba(10, 24, 45, .96);
  border-bottom-color: rgba(155, 213, 233, .2);
}
.multipage .mobile-menu { background: #10263e; }
.multipage .mobile-service-list a strong { overflow: visible; text-overflow: clip; white-space: normal; line-height: 1.45; }
.multipage .mobile-service-list a small { white-space: normal; line-height: 1.4; }
.multipage .mobile-service-list a { padding-block: 12px !important; }
/* Keep the floating messenger rail outside text and image content. */
@media (min-width: 641px) {
  .multipage main .container,
  .multipage .site-footer .container { max-width: min(1280px, calc(100% - 208px)); }
}
.multipage :is(.inline-lead, .contact-details, .contact-note, .price-calculator, .calculator-controls) {
  background: linear-gradient(135deg, #17374c, #12273f);
  color: var(--text);
  border-color: rgba(137, 241, 235, .27);
}
.multipage .calculator-result { background: linear-gradient(140deg, #10283f, #18334b); }
.multipage .price-calculator[data-calculation-mode="individual"] .calculator-result-top strong { font-size: clamp(25px, 4vw, 36px); line-height: 1.25; overflow-wrap: anywhere; }
.multipage .calculator-adjustment-note { font-size: 12px; line-height: 1.65; color: var(--muted); margin: -8px 0 0; }
.multipage .calculator-result .price-service-link { align-self: flex-start; position: relative; z-index: 1; }
.multipage :is(.inline-lead input, .inline-lead textarea, .calculator-field select, .calculator-extras label, .catalog-search input) {
  background: #0d2238;
  color: var(--text);
  border-color: rgba(155, 213, 233, .3);
}
.multipage :is(.calculator-field, .calculator-extras legend) { color: var(--text); }
.multipage :is(.inline-lead, .price-calculator, .price-detail-group, .contact-details, .contact-note) { box-shadow: 0 16px 40px rgba(3, 13, 29, .16); }

/* Secondary actions remain visibly actionable on every page. */
.multipage .hero-actions .button-text,
.multipage .button[data-callback],
.multipage .button-outline,
.multipage .dock-callback {
  min-height: 48px;
  padding: 13px 21px;
  border: 1px solid rgba(137, 241, 235, .58);
  border-radius: 12px;
  color: #eaffff;
  background: rgba(16, 49, 68, .68);
  font-weight: 750;
  line-height: 1.4;
  text-align: center;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.multipage .hero-actions .button-text:hover,
.multipage .button[data-callback]:hover,
.multipage .button-outline:hover,
.multipage .dock-callback:hover {
  border-color: var(--cyan);
  background: #20475b;
}
.multipage .site-footer .footer-contact .button {
  min-width: 200px;
  background: var(--cyan);
  border-color: var(--cyan);
  color: #092333;
  box-shadow: 0 8px 28px rgba(84, 233, 222, .12);
}
.multipage .site-footer .footer-contact .button:hover { background: #b4fff7; }
.multipage .contact-dock { gap: 14px; background: rgba(13, 33, 53, .97); border-color: rgba(137, 241, 235, .3); }
.multipage .contact-dock .dock-callback { padding: 10px 16px; min-height: 44px; }

/* Scenario choices have a clear edge and a distinct action area. */
.multipage .situation-grid { gap: 20px; }
.multipage .situation-card {
  position: relative;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(137, 241, 235, .42);
  border-top: 3px solid #89f1eb;
  background: linear-gradient(145deg, #1b3b51, #132a42);
  box-shadow: 0 14px 30px rgba(3, 13, 29, .2);
}
.multipage .situation-card:nth-child(3n + 2) { border-top-color: #a799ff; background: linear-gradient(145deg, #243450, #152a44); }
.multipage .situation-card:nth-child(3n) { border-top-color: #76c5f0; background: linear-gradient(145deg, #173e55, #132b45); }
.multipage .situation-card > span { font-size: 21px; line-height: 1.35; }
.multipage .situation-card p { color: #c0d1e2; line-height: 1.65; }
.multipage .situation-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  justify-self: start;
  margin-top: 5px;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid rgba(137, 241, 235, .48);
  border-radius: 10px;
  color: var(--cyan);
  background: #102c40;
  font-size: 14px;
}
.multipage .situation-card strong::after {
  content: '';
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.multipage .situation-card:hover strong { background: #1f4b5a; border-color: var(--cyan); }

/* Prices keep their semantic table structure and use the site's blue surfaces. */
.multipage .direction-price-scroll {
  max-width: 100%;
  margin: 24px 0;
  overflow: visible;
  border: 1px solid rgba(137, 241, 235, .3);
  border-radius: 20px;
  background: #122c43;
  box-shadow: 0 14px 36px rgba(3, 13, 29, .18);
}
.multipage .service-price-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--text);
}
.multipage .service-price-table caption {
  padding: 18px 22px;
  border-radius: 19px 19px 0 0;
  background: rgba(89, 175, 196, .09);
  border-color: var(--line);
  color: #c1d5e5;
  line-height: 1.6;
}
.multipage .service-price-table th,
.multipage .service-price-table td {
  padding: 20px;
  border-color: var(--line);
  overflow-wrap: anywhere;
  white-space: normal;
  line-height: 1.55;
}
.multipage .service-price-table thead th {
  background: #0f253c;
  color: #bdd5e5;
  font-size: 11px;
  letter-spacing: .1em;
}
.multipage .service-price-table tbody th { width: auto; color: #f2f7fd; font-weight: 650; font-size: 15px; }
.multipage .service-price-table tbody td:nth-child(2) { width: auto; color: var(--cyan); font-size: 17px; font-weight: 750; white-space: normal; }
.multipage .service-price-table tbody td:nth-child(3) { color: #b9cddd; font-size: 14px; }
.multipage .service-price-table tbody td:nth-child(4) { width: auto; white-space: normal; }
.multipage .service-price-table tbody tr:hover > :is(th, td) { background: rgba(137, 241, 235, .045); }
.multipage .service-price-table tbody tr:last-child > :first-child { border-bottom-left-radius: 19px; }
.multipage .service-price-table tbody tr:last-child > :last-child { border-bottom-right-radius: 19px; }
.multipage .full-price-table .price-col-service { width: 27%; }
.multipage .full-price-table .price-col-value { width: 21%; }
.multipage .full-price-table .price-col-factors { width: 35%; }
.multipage .full-price-table .price-col-link { width: 17%; }
.multipage .price-service-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid rgba(137, 241, 235, .4);
  border-radius: 9px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}
.multipage .price-service-link:hover { border-color: var(--cyan); background: rgba(137, 241, 235, .08); }
.multipage .price-detail-catalog { display: grid; gap: 28px; }
.multipage .price-detail-catalog > .section-intro { margin-bottom: 0; }
.multipage .price-detail-group {
  min-width: 0;
  padding: 30px;
  border: 1px solid rgba(137, 241, 235, .35);
  border-radius: 24px;
  background: radial-gradient(ellipse at 100% 0, rgba(137, 241, 235, .09), transparent 70%), linear-gradient(130deg, #17354b, #132b44);
  scroll-margin-top: 112px;
}
.multipage .price-detail-group h3 { max-width: 850px; color: var(--text); line-height: 1.3; }
.multipage .price-detail-group .direction-price-scroll { margin-bottom: 0; box-shadow: none; }
.multipage .price-detail-table { min-width: 0; }
.multipage .price-detail-table tbody th { width: 65%; }
.multipage .price-detail-table tbody td:nth-child(2) { width: 35%; text-align: right; white-space: normal; }
.multipage .price-detail-table td { white-space: normal; }
.multipage .price-category-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.multipage .price-category-nav a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(155, 213, 233, .35);
  border-radius: 9px;
  background: #132d45;
  color: #dcf3f6;
  font-size: 13px;
  line-height: 1.4;
}
.multipage .price-category-nav a:hover { border-color: var(--cyan); color: var(--cyan); }
.multipage .price-footnote { color: #b9cddd; line-height: 1.7; }

/* Contact information is a label/value pair, with enough room for real numbers. */
.multipage .contact-journey { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 52px; align-items: start; }
.multipage .contact-journey-copy > p:not(.section-kicker) { max-width: 650px; font-size: 18px; line-height: 1.7; color: var(--muted); }
.multipage .contact-details { margin-top: 28px; padding: 28px; border: 1px solid rgba(137, 241, 235, .3); gap: 0; }
.multipage .contact-details p { display: grid; gap: 8px; margin: 0; padding: 21px 0; }
.multipage .contact-details p + p { border-top: 1px solid var(--line); }
.multipage .contact-details p:first-child { padding-top: 0; }
.multipage .contact-details p:last-child { padding-bottom: 0; }
.multipage .contact-details p strong { display: block; font-size: 13px; font-weight: 650; color: #a4c4d8; letter-spacing: .03em; line-height: 1.5; }
.multipage .contact-details p :is(span, a) { display: block; font-size: 20px; line-height: 1.5; color: #effcff; overflow-wrap: anywhere; }
.multipage .contact-note { padding: 30px; border: 1px solid rgba(137, 241, 235, .3); border-radius: 22px; }
.multipage .contact-note > strong { display: block; max-width: 320px; font-size: 26px; line-height: 1.3; }
.multipage .contact-note p { margin: 20px 0 26px; color: var(--muted); line-height: 1.75; }

@media (max-width: 960px) {
  .multipage .contact-journey { grid-template-columns: 1fr; gap: 26px; }
  .multipage .service-price-table th,
  .multipage .service-price-table td { padding: 17px 14px; }
}

@media (max-width: 760px) {
  /* The overview becomes one self-contained record per service, with no hidden columns. */
  .multipage .full-price-catalog .direction-price-scroll { border: 0; background: transparent; box-shadow: none; }
  .multipage .full-price-table,
  .multipage .full-price-table tbody { display: block; }
  .multipage .full-price-table colgroup { display: none; }
  .multipage .full-price-table caption { display: block; margin-bottom: 14px; padding: 0; background: none; border: 0; font-size: 13px; }
  .multipage .full-price-table thead { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
  .multipage .full-price-table tbody tr { display: grid; min-width: 0; padding: 21px; margin-bottom: 14px; border: 1px solid rgba(137, 241, 235, .3); border-radius: 17px; background: linear-gradient(130deg, #18384e, #122b43); }
  .multipage .full-price-table tbody :is(th, td) { display: block; width: auto; padding: 0; border: 0; background: none; }
  .multipage .full-price-table tbody th { font-size: 19px; line-height: 1.4; }
  .multipage .full-price-table tbody td:nth-child(2) { width: auto; margin-top: 13px; font-size: 23px; line-height: 1.3; }
  .multipage .full-price-table tbody td:nth-child(3) { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); font-size: 14px; }
  .multipage .full-price-table tbody td:nth-child(3)::before { content: attr(data-label); display: block; margin-bottom: 5px; color: #91b7ca; font-size: 11px; font-weight: 650; letter-spacing: .045em; }
  .multipage .full-price-table tbody td:nth-child(4) { width: auto; margin-top: 17px; }
  .multipage .full-price-table tbody tr:hover > :is(th, td) { background: none; }
  .multipage .full-price-table .price-service-link { padding-inline: 15px; }
}

@media (max-width: 640px) {
  .multipage main { background-size: 100% 1000px, 100% 1300px, 100% 100%; }
  .multipage main::before { opacity: .13; background-size: 290px 450px, 430px 620px, 540px 680px, 580px 580px; }
  .multipage .hero-actions { gap: 12px; }
  .multipage .hero-actions .button-text { min-height: 50px; padding: 13px 18px; }
  .multipage .situation-grid { gap: 17px; }
  .multipage .situation-card { padding: 24px; gap: 14px; }
  .multipage .situation-card > span { font-size: 20px; }
  .multipage .contact-dock .dock-callback { font-size: 11px; min-height: 42px; padding: 9px 11px; }
  .multipage .site-footer .footer-contact .button { width: 100%; }
  .multipage .price-detail-group { padding: 22px 16px; border-radius: 19px; scroll-margin-top: 88px; }
  .multipage .price-detail-group h3 { font-size: 24px; }
  .multipage .price-detail-table { table-layout: auto; }
  .multipage .price-detail-table caption { padding: 14px; font-size: 12px; }
  .multipage .price-detail-table :is(th, td) { padding: 17px 12px; }
  .multipage .price-detail-table tbody th { width: 59%; font-size: 13px; }
  .multipage .price-detail-table tbody td:nth-child(2) { width: 41%; font-size: 14px; line-height: 1.5; }
  .multipage .price-category-nav { gap: 7px; }
  .multipage .price-category-nav a { font-size: 12px; padding: 9px 11px; }
  .multipage .contact-journey-copy > p:not(.section-kicker) { font-size: 16px; }
  .multipage .contact-details { padding: 24px; }
  .multipage .contact-details p :is(span, a) { font-size: 19px; }
  .multipage .contact-note { padding: 26px 24px; }
  .multipage .contact-note > strong { font-size: 24px; }
  .multipage .contact-note .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .multipage .hero-actions .button-text,
  .multipage .button[data-callback],
  .multipage .button-outline,
  .multipage .dock-callback { transition: none; }
}
