/* Presentation only. All text, product images and catalogue data stay unchanged. */
:root {
  --tech-cyan: #548eaf;
  --font-body: "NST Montserrat", "Segoe UI", Arial, sans-serif;
  --muted: #536579;
}

/* One locally hosted family, with a calmer heading scale and readable body copy. */
body { font-size: 1rem; line-height: 1.75; letter-spacing: -.01em; }
h1, h2, h3, h4 { font-weight: 600; text-wrap: balance; }
h1 { letter-spacing: -.025em; line-height: 1.2; }
h2 { letter-spacing: -.025em; line-height: 1.3; }
h3, h4 { letter-spacing: -.015em; }
.hero-copy h1 { font-size: clamp(2.375rem, 3.9vw, 3.5rem); line-height: 1.18; letter-spacing: -.03em; }
.hero-copy > p:not(.eyebrow) { font-size: 1.0625rem; line-height: 1.8; }
.eyebrow { font-size: .875rem; font-weight: 600; letter-spacing: .075em; }
.site-nav a, .button, .text-link { font-weight: 500; letter-spacing: -.01em; }
.header-contact, .languages a, .contact-details dt { font-size: .875rem; }
.hero-visual figcaption { font-size: .875rem; }
.hero-visual figcaption a { font-size: 1rem; font-weight: 500; line-height: 1.6; }
.hero-foot > div { font-size: .9375rem; line-height: 1.75; }
.hero-foot strong, .hero-foot b, .hero-foot h3 { margin-bottom: 8px; font-size: 1rem; }
.category-card p, .step-card p { font-size: 1rem; line-height: 1.75; }
.product-intro h1 { letter-spacing: -.025em; line-height: 1.3; }
.rich-text { line-height: 1.85; }
body .nst-geography .section-title { letter-spacing: -.025em; line-height: 1.3; }
body .nst-geography .nst-geo-objects p { font-size: 1rem; line-height: 1.75; }

/* Soft light and a single diagonal beam echo the contact section; no grid. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #e4edf5;
  background: #10273e;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 90% 24%, rgba(66, 136, 181, .32), transparent 57%),
    radial-gradient(ellipse at 8% 95%, rgba(47, 119, 164, .26), transparent 55%),
    linear-gradient(120deg, transparent 48%, rgba(120, 171, 204, .06) 57.7%, rgba(148, 195, 225, .15) 58%, transparent 58.25%);
}
.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(169,197,218,.3), transparent);
}
.hero-copy h1 { color: #f7faff; }
.hero-copy > p:not(.eyebrow), .hero-copy .eyebrow { color: #c6d8e7; }
.hero .button-secondary { color: #edf4fa; border-color: #66849e; background: rgba(255,255,255,.035); }
.hero .button-secondary:hover { color: #fff; border-color: #b6cddd; background: rgba(255,255,255,.09); }
.hero .button:focus-visible { outline-color: #bdddf4; }
.hero-visual {
  border-color: #d9e5ed;
  box-shadow: 0 24px 64px -28px rgba(0, 10, 23, .55), 0 0 0 6px rgba(183, 215, 237, .055);
  color: var(--text);
}
.hero-stage::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 8px;
  left: 46px;
  right: 46px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(55, 126, 170, .42), transparent);
  box-shadow: 0 0 12px 2px rgba(70, 139, 182, .08);
  pointer-events: none;
  opacity: 0;
}
.tech-scan .hero-stage::after { animation: tech-scan 2200ms 350ms cubic-bezier(.3,.1,.3,1) 1 both; }
@keyframes tech-scan {
  0% { top: 8px; opacity: 0; }
  18% { opacity: 1; }
  82% { opacity: 1; }
  100% { top: calc(100% - 8px); opacity: 0; }
}
.hero-visual figcaption { border-top-color: #d4e2ec; }
.hero-nav:not([hidden]), .hero-playback:not([hidden]) { border-color: #c1d5e4; }
.hero-foot { border-top-color: rgba(174, 204, 226, .22); }
.hero-foot > div { color: #c6d8e7; border-left-color: rgba(174, 204, 226, .3); }
.hero-foot strong, .hero-foot b, .hero-foot h3 { color: #f2f7fc; }

/* Subtle structural accents carry through the inner pages. */
.page-intro { position: relative; }
.page-intro::after {
  content: "";
  display: block;
  width: 88px;
  height: 3px;
  margin-top: 27px;
  background: linear-gradient(90deg, var(--accent) 0 22px, #bacede 22px 100%);
  border-radius: 2px;
}
.page-product .page-intro::after { display: none; }
.category-card { position: relative; overflow: hidden; border-color: #d4e0e9; }
.step-card { border-top-color: #c6d9e7; position: relative; }
.step-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 38px;
  height: 2px;
  background: var(--tech-cyan);
}
body .nst-geography .nst-geo-map {
  background-color: #132e49;
  background-image: radial-gradient(ellipse at 10% 90%, rgba(47,119,164,.32), transparent 65%), linear-gradient(120deg, transparent 58%, rgba(120,171,204,.1) 58.1%, transparent 58.3%);
  box-shadow: 0 16px 40px -25px rgba(18, 47, 75, .5);
}
.request-section {
  background-color: #10273e;
  background-image: radial-gradient(ellipse at 5% 90%, rgba(47, 119, 164, .32), transparent 55%), linear-gradient(120deg, transparent 58%, rgba(120, 171, 204, .1) 58.1%, transparent 58.3%);
}
.request-section .request-card { box-shadow: 0 16px 40px rgba(0, 12, 27, .14); }
/* Only panel backgrounds are translucent; text and controls stay fully opaque. */
.hero-visual, .request-section .request-card {
  --navy: #10273e;
  --text: #10273e;
  --muted: #10273e;
  position: relative;
  isolation: isolate;
  background: linear-gradient(135deg, rgba(255,255,255,.62), rgba(244,249,255,.52));
  border-color: rgba(255,255,255,.46);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
/* Reflection stays behind the photograph, text and controls; focus rings are not clipped. */
.hero-visual::before, .request-section .request-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse at 16% 0, rgba(207,236,255,.20), transparent 55%),
    linear-gradient(115deg, transparent 34%, rgba(255,255,255,.16) 49%, rgba(198,231,255,.10) 52%, transparent 67%);
  background-size: 100% 100%, 250% 100%;
  background-position: 0 0, 100% 50%;
  background-repeat: no-repeat;
}
.hero-visual figcaption a:hover { color: #071b2f; text-decoration: underline; }
.request-section .request-card:focus-within { border-color: rgba(211,236,255,.86); }
.request-section .request-card.tech-entered { animation: none; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero-visual::before, .request-section .request-card::before { transition: background-position 1400ms ease; }
  .hero-visual:hover::before, .hero-visual:focus-within::before,
  .request-section .request-card:hover::before, .request-section .request-card:focus-within::before {
    background-position: 0 0, 0% 50%;
  }
}
.site-footer { border-top-color: #c9d9e5; }

/* Interaction effects are restricted to devices with a precise pointer. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .button { position: relative; overflow: hidden; transition: background-color .2s, border-color .2s, box-shadow .2s, transform .2s; }
  .button::after {
    content: "";
    position: absolute;
    inset: -40% auto -40% -60%;
    width: 38%;
    background: linear-gradient(110deg, transparent, rgba(255,255,255,.2), transparent);
    transform: skewX(-15deg);
    pointer-events: none;
  }
  .button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 7px 18px -12px rgba(16,39,62,.5); }
  .button:hover::after { animation: tech-button-light 650ms ease-out 1; }
  .button:active:not(:disabled) { transform: translateY(0); }
  .category-card, .product-card, .news-card { transition: border-color .22s, box-shadow .22s, transform .22s; }
  .category-card:hover, .product-card:hover, .news-card:hover { transform: translateY(-4px); border-color: #8faec7; box-shadow: 0 14px 30px -20px rgba(23, 64, 103, .35); }
  .product-media img { transition: transform 380ms ease; }
  .product-card:hover .product-media img { transform: scale(1.025); }
}
@keyframes tech-button-light { to { left: 130%; } }

/* Reveal only after JS observes a visible element; content is never pre-hidden. */
@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: tech-ambient-arrive 4800ms cubic-bezier(.2,.6,.3,1) 1 both; }
  .tech-entered { animation: tech-enter 580ms var(--tech-delay, 0ms) cubic-bezier(.22,.61,.36,1) backwards; }
  .tech-entered:focus-within { animation: none; }
}
@keyframes tech-ambient-arrive {
  from { opacity: .35; transform: translateX(2%) scale(1.04); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes tech-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.tech-progress { position: fixed; z-index: 60; top: 0; left: 0; width: 100%; height: 2px; transform: scaleX(var(--tech-progress, 0)); transform-origin: left; background: linear-gradient(90deg, #2c4292, #548eaf); pointer-events: none; }

@media (max-width: 767px) {
  .hero-copy h1 { font-size: clamp(2rem, 5.4vw, 2.625rem); }
  .hero-copy > p:not(.eyebrow) { font-size: 1rem; line-height: 1.8; }
  .hero .eyebrow { font-size: .875rem; letter-spacing: .04em; }
  .hero-visual { box-shadow: 0 14px 40px -20px rgba(0,10,23,.45); }
  .hero-stage::after { left: 39px; right: 39px; }
  .page-intro::after { margin-top: 22px; width: 64px; }
}
/* Shared rhythm and surfaces after the visual / UX review. */
:root { --radius: 20px; }
.button, .menu-toggle, .field input, .field textarea, .field select,
.catalog-search input, .pagination a, .pagination span { border-radius: 12px; }
.languages { border-radius: 12px; }
.languages a { min-height: 42px; border-radius: 9px; }
.hero-visual, .request-section .request-card {
  box-shadow: 0 20px 48px -24px rgba(0, 12, 27, .36), inset 0 1px 0 rgba(255,255,255,.36), inset 0 -1px 0 rgba(148,195,225,.12);
}
.hero-photo img { border-radius: 14px; }
.hero-visual figcaption { padding-top: 18px; border-top-color: rgba(51,76,100,.18); }
.category-card, .product-card, .news-card {
  border-color: #e0e7ee;
  box-shadow: 0 5px 18px -12px rgba(23,50,79,.16);
}
.category-card { padding: 26px; }
.category-number { margin-bottom: 20px; color: #536579; font-weight: 500; }
.product-summary { font-size: 1rem; }
.product-category { font-size: .875rem; font-weight: 500; }
.news-card, .news-body { display: flex; flex-direction: column; }
.news-body { flex: 1; }
.news-body .text-link { margin-top: auto; padding-top: 8px; }
.page-intro + .section { padding-top: 24px; }
.page-about .page-intro + .section .split-grid { align-items: start; }
.page-contacts .contact-layout { padding-bottom: 0; }
.page-contacts .section + .section { padding-top: 0; }
.product-intro .eyebrow { text-transform: none; letter-spacing: 0; font-weight: 500; }
.product-intro > .text-link { margin-top: 14px; }
.field { display: flex; flex-direction: column; }
.field input, .field textarea, .field select { margin-top: auto; }
.form-note { margin-block: 18px; }
.category-row { grid-template-columns: minmax(0,1fr) 44px; }
.category-menu { border-radius: 18px; }
.dialog-close { width: 44px; height: 44px; border-radius: 12px; }
.request-dialog h2 { margin-right: 40px; }
.article-header { padding-top: 28px; }

@media (min-width: 921px) {
  .header-top { min-height: 82px; padding-block: 14px; }
  .nav-row { min-height: 64px; }
  .site-nav a { min-height: 62px; }
  .hero-foot { padding-block: 24px 28px; }
  .hero-foot > div { border-left-color: rgba(174,204,226,.2); }
}
@media (min-width: 601px) {
  .category-card h3 { min-height: 2.7em; }
  .page-services .step-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .page-services .step-card:last-child:nth-child(odd) p { max-width: 72ch; }
}
@media (min-width: 701px) and (max-width: 820px) {
  .hero-grid { grid-template-columns: minmax(0,1fr); gap: 30px; }
  .hero-copy { max-width: 660px; padding-block: 0; }
  .hero-visual { min-height: 0; }
  .hero-visual img { height: 340px; }
}
@media (max-width: 600px) {
  .category-grid, .product-grid, .catalog-content .product-grid, .news-grid,
  .steps-grid, .page-services .steps-grid { grid-template-columns: minmax(0,1fr); }
  .form-grid, .request-layout .form-grid, .request-card .form-grid { grid-template-columns: minmax(0,1fr); }
  .field-wide { grid-column: 1; }
  .page-intro + .section { padding-top: 12px; }
  .category-card { min-height: 0; padding: 24px; }
  .hero-photo { padding-inline: 34px; }
  .hero-photo .hero-slide-outgoing { left: 34px; width: calc(100% - 68px); }
  .hero-previous { left: -10px; }
  .hero-next { right: -10px; }
  .hero-stage::after { left: 34px; right: 34px; }
  .hero-photo img { border-radius: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-stage::after, .tech-progress { display: none; }
  .tech-entered, .tech-scan .hero-stage::after, .button::after { animation: none !important; }
}
@media print {
  .hero-visual, .request-section .request-card { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hero-visual::before, .request-section .request-card::before { display: none; }
  .hero { background: #fff; color: #283c50; }
  .hero-copy h1, .hero-copy > p:not(.eyebrow), .hero-copy .eyebrow, .hero-foot > div, .hero-foot strong { color: #283c50; }
  .hero::before, .hero::after, .hero-stage::before, .hero-stage::after, .tech-progress { display: none; }
  .tech-entered { animation: none !important; }
}
