:root {
  --ink: #f7f2f1;
  --muted: #b9aeac;
  --paper: #f2efeb;
  --paper-ink: #1b1214;
  --night: #120709;
  --night-soft: #1b0c0f;
  --red: #d52d32;
  --red-bright: #f04a4e;
  --wine: #8f161d;
  --line: rgba(255, 255, 255, .13);
  --shell: min(1180px, calc(100vw - 48px));
  --radius: 18px;
  --shadow: 0 28px 80px rgba(15, 2, 5, .28);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  font-family: "Titillium Web", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--night);
  font-family: "Titillium Web", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; font-family: inherit; }
.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #000;
  background: #fff;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: absolute;
  z-index: 30;
  inset: 0 0 auto;
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.is-fixed {
  position: fixed;
  background: rgba(18, 7, 9, .93);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .24);
  backdrop-filter: blur(16px);
}
.nav-wrap {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { width: 145px; height: 72px; overflow: hidden; }
.brand img { width: 148px; height: 70px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: clamp(17px, 2vw, 30px); }
.site-nav > a:not(.button) {
  position: relative;
  color: #d9cfcd;
  font-size: 18px;
  font-weight: 500;
}
.site-nav > a:not(.button):not(.language-link)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: var(--red-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}
.site-nav > a:not(.button):hover::after { transform: scaleX(1); transform-origin: left; }
.language-switcher {
  position: relative;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}
.language-switcher::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 10px;
}
.language-switcher summary {
  min-width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  list-style: none;
  font-size: 17px !important;
  cursor: pointer;
}
.language-switcher summary::-webkit-details-marker { display: none; }
.language-options {
  position: absolute;
  top: calc(100% + 10px);
  left: 7px;
  display: none;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(18,7,9,.98);
  box-shadow: var(--shadow);
}
.language-switcher[open] .language-options { display: grid; gap: 3px; }
@media (hover: hover) and (pointer: fine) {
  .language-switcher:hover .language-options { display: grid; gap: 3px; }
}
.language-link {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  font-size: 17px !important;
}
.language-link:hover { background: rgba(255,255,255,.08); }
}
.attack-label {
  margin-right: -10px;
  color: var(--red-bright);
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
}
.menu-toggle {
  display: none;
  border: 0;
  background: none;
  color: white;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.menu-toggle__label { font-size: 15px; }
.menu-toggle__icon { width: 24px; height: 16px; display: grid; align-content: center; gap: 6px; }
.menu-toggle__icon i { display: block; width: 100%; height: 1px; background: currentColor; transition: transform .2s ease; }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 23px;
  border: 1px solid var(--red);
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), #b51f27);
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(143, 22, 29, .3);
  transition: transform .2s ease, filter .2s ease;
}
.button:hover { transform: translateY(-2px); filter: brightness(1.12); }
.button--small { min-height: 43px; padding: 9px 17px; font-size: 15px; }
.panic-button { min-height: 48px; padding: 10px 20px; font-size: 17px; }

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--night);
}
.hero__media, .hero__veil { position: absolute; inset: 0; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; opacity: .84; filter: saturate(.82) contrast(1.04); }
.hero__veil {
  background:
    linear-gradient(90deg, rgba(18,7,9,.73) 0%, rgba(18,7,9,.38) 50%, rgba(18,7,9,.14) 100%),
    linear-gradient(0deg, rgba(18,7,9,.76) 0%, transparent 30%, rgba(18,7,9,.18) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: 160px;
  display: flex;
  align-items: center;
}
.hero-slider { width: 100%; }
.hero-slider__slides { position: relative; min-height: 335px; }
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
  transition: opacity .5s ease, transform .5s ease;
}
.hero-slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.hero h1 {
  position: relative;
  width: fit-content;
  max-width: 1120px;
  margin: 0 0 25px;
  overflow: hidden;
  font-size: clamp(62px, 7.4vw, 104px);
  line-height: .95;
  font-weight: 600;
  letter-spacing: -.045em;
}
.hero h1::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(143, 22, 29, .18),
    rgba(213, 45, 50, .9),
    rgba(143, 22, 29, .28),
    transparent
  );
  filter: blur(5px);
}
.hero-slide.is-active h1::before { animation: heroDigitalScan 2.8s linear infinite; }
@keyframes heroDigitalScan {
  0% { left: -120%; }
  68%, 100% { left: 120%; }
}
.hero__lead {
  max-width: 800px;
  margin: 0;
  color: #d5ccca;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.4;
  font-weight: 300;
}
html[lang^="it"] .hero__lead,
html[lang^="de"] .hero__lead,
html[lang^="fr"] .hero__lead {
  max-width: 1120px;
  font-size: clamp(24px, 2.7vw, 36px);
}
.hero-slider__controls { margin-top: 38px; display: flex; align-items: center; gap: 10px; }
.hero-slider__controls button {
  position: relative;
  width: 46px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255,255,255,.32);
  overflow: hidden;
  cursor: pointer;
}
.hero-slider__controls button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: white;
  transform: scaleX(0);
  transform-origin: left;
}
.hero-slider__controls button.is-active::after { animation: hero-progress 3.2s linear forwards; }
@keyframes hero-progress { to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-active h1::before { display: none; animation: none; }
}

.section { padding: 120px 0; }
.company-intro {
  position: relative;
  color: white;
  background:
    linear-gradient(rgba(18,7,9,.5), rgba(18,7,9,.7)),
    url("images/luganobg1-0da345ab.jpeg") center / cover fixed;
}
.company-intro__panel {
  padding: clamp(44px, 5vw, 60px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(48px, 6vw, 76px);
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 10% 0%, rgba(213,45,50,.18), transparent 35%),
    rgba(19, 8, 10, .6);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
h2, h3, h4, p { margin-top: 0; }
.company-intro h2,
.service-heading h2,
.contact-details h2 {
  margin-bottom: 0;
  font-size: clamp(46px, 5.2vw, 74px);
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: -.04em;
}
.company-intro h2 {
  font-size: clamp(43px, 4.25vw, 60px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
html[lang^="de"] .company-intro h2 {
  font-size: clamp(42px, 3.8vw, 56px);
}
.company-intro__copy {
  max-width: 56ch;
  color: #c9bfbd;
  font-size: 17px;
  line-height: 1.62;
}
.company-intro__copy p { margin-bottom: 24px; }
.company-intro__copy p:last-child { margin-bottom: 0; }

.overview-grid { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.overview-card {
  min-height: 260px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 0%, rgba(240,74,78,.19), transparent 42%),
    linear-gradient(145deg, rgba(49,19,24,.95), rgba(19,8,10,.95));
  transition: transform .25s ease, border-color .25s ease;
}
.overview-card:hover { transform: translateY(-6px); border-color: rgba(240,74,78,.38); }
.overview-card__icon {
  width: 76px;
  height: 76px;
  margin: 5px auto 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .96;
}
.overview-card h3 { margin: 0 0 16px; font-size: 30px; line-height: 1.1; font-weight: 400; }
.overview-card p { margin-bottom: 0; color: #aaa09e; font-size: 16px; }

.service-section { padding: 130px 0; background: var(--night-soft); scroll-margin-top: 100px; }
.service-section:nth-of-type(even) { background: #100608; }
.service-heading { margin-bottom: 62px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.service-heading h4 { margin: 10px 0 0; color: #b7acaa; font-size: 21px; line-height: 1.55; font-weight: 300; }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.detail-card {
  min-height: 370px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(213,45,50,.16), transparent 38%),
    linear-gradient(145deg, #211014, #14080a);
  box-shadow: 0 20px 55px rgba(0,0,0,.14);
}
.detail-card__title { margin-bottom: 23px; display: flex; align-items: flex-start; gap: 15px; }
.detail-card__title img { width: 38px; height: 38px; flex: 0 0 38px; object-fit: contain; }
.detail-card h3 { margin: 0; font-size: 29px; line-height: 1.1; font-weight: 400; letter-spacing: -.02em; }
.detail-card h3::after { content: ""; width: 34px; height: 2px; margin-top: 18px; display: block; background: var(--red); }
.detail-card p { margin-bottom: 0; color: #a99e9c; font-size: 16px; }

.service-section--cyber {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  /* Photo: Pixabay, Pexels #207580 (CC0). */
  background:
    radial-gradient(circle at 18% 35%, rgba(143, 22, 29, .22), transparent 31%),
    linear-gradient(108deg, rgba(27, 12, 15, .96) 0%, rgba(43, 13, 18, .87) 52%, rgba(18, 7, 9, .95) 100%),
    url("images/cyber-security-code-pexels-207580.jpg") center / cover no-repeat;
}
.service-section--cyber::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .14;
  background-image:
    radial-gradient(circle, rgba(240, 74, 78, .72) 0 1.4px, transparent 1.8px),
    linear-gradient(30deg, transparent 48%, rgba(240, 74, 78, .34) 49%, rgba(240, 74, 78, .34) 51%, transparent 52%),
    linear-gradient(-30deg, transparent 48%, rgba(240, 74, 78, .34) 49%, rgba(240, 74, 78, .34) 51%, transparent 52%);
  background-size: 48px 48px, 96px 56px, 96px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 72% 42%, #000 0%, rgba(0,0,0,.9) 38%, transparent 78%);
  mask-image: radial-gradient(ellipse at 72% 42%, #000 0%, rgba(0,0,0,.9) 38%, transparent 78%);
}
.service-section--cyber .shell { position: relative; z-index: 1; }

.service-section--paper {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #f7fbfd;
  /* Photo: panumas nikhomkhai, Pexels #17489163 (Pexels License). */
  background:
    radial-gradient(circle at 78% 16%, rgba(190, 192, 194, .12), transparent 28%),
    linear-gradient(118deg, rgba(20, 21, 22, .98) 0%, rgba(48, 49, 51, .94) 52%, rgba(17, 18, 19, .97) 100%),
    url("images/it-engineering-server-room-pexels-17489163.jpg") center / cover no-repeat !important;
}
.service-section--paper::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .17;
  background-image:
    linear-gradient(rgba(210, 212, 214, .34) 1px, transparent 1px),
    linear-gradient(90deg, rgba(210, 212, 214, .34) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(105deg, transparent 5%, #000 45%, rgba(0,0,0,.7) 100%);
  mask-image: linear-gradient(105deg, transparent 5%, #000 45%, rgba(0,0,0,.7) 100%);
}
.service-section--paper .shell { position: relative; z-index: 1; }
.service-section--paper .service-heading h2 {
  color: var(--ink);
  text-shadow: 0 3px 28px rgba(4, 15, 23, .38);
}
.service-section--paper .service-heading h4 { color: #b7acaa; }
.service-section--paper .detail-card {
  color: white;
  border-color: rgba(39,12,17,.1);
  background:
    radial-gradient(circle at 100% 0%, rgba(213,45,50,.2), transparent 40%),
    linear-gradient(145deg, #34171c, #190b0e);
  box-shadow: 0 24px 60px rgba(44,17,20,.18);
}
.service-section--training {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  /* Photo: Pavel Danilyuk, Pexels #7234414 (Pexels License). */
  background:
    radial-gradient(circle at 14% 22%, rgba(224, 226, 228, .2), transparent 30%),
    linear-gradient(108deg, rgba(91, 94, 98, .94) 0%, rgba(68, 72, 76, .91) 52%, rgba(45, 49, 53, .94) 100%),
    url("images/education-training-seminar-pexels-7234414.jpg") center / cover fixed !important;
}
.service-section--training::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    repeating-radial-gradient(circle at 12% 42%, transparent 0 48px, rgba(242, 244, 245, .46) 49px 50px, transparent 51px 88px),
    radial-gradient(circle, rgba(71, 75, 79, .62) 0 1.2px, transparent 1.6px);
  background-size: auto, 38px 38px;
  -webkit-mask-image: linear-gradient(95deg, #000 0%, rgba(0,0,0,.78) 45%, transparent 88%);
  mask-image: linear-gradient(95deg, #000 0%, rgba(0,0,0,.78) 45%, transparent 88%);
}
.service-section--training .shell { position: relative; z-index: 1; }
.service-section--training .service-heading h2 { color: var(--ink); }
.service-section--training .service-heading h4 { color: #b7acaa; }
.service-section--training .detail-card { background: linear-gradient(145deg, rgba(54,14,20,.88), rgba(30,9,12,.92)); }

.contact-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 130px 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(126, 35, 54, .18), transparent 32%),
    linear-gradient(105deg, rgba(54, 8, 18, .90) 0%, rgba(78, 13, 29, .80) 55%, rgba(43, 7, 16, .90) 100%),
    url("images/jhhhhhh.jpg") center / cover no-repeat;
  scroll-margin-top: 100px;
}
.contact-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(135deg, transparent 44%, rgba(241, 130, 143, .42) 45%, rgba(241, 130, 143, .42) 47%, transparent 48%),
    linear-gradient(225deg, transparent 44%, rgba(241, 130, 143, .42) 45%, rgba(241, 130, 143, .42) 47%, transparent 48%),
    radial-gradient(circle, rgba(255, 225, 229, .78) 0 1.3px, transparent 1.8px);
  background-size: 84px 84px, 84px 84px, 84px 84px;
  background-position: 0 0, 42px 0, 42px 42px;
  -webkit-mask-image: linear-gradient(100deg, transparent 2%, rgba(0,0,0,.75) 42%, #000 100%);
  mask-image: linear-gradient(100deg, transparent 2%, rgba(0,0,0,.75) 42%, #000 100%);
}
.contact-section .shell { position: relative; z-index: 1; }
.contact-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; align-items: start; }
.contact-details h2 { margin-bottom: 48px; }
.contact-details > div { padding: 20px 0; border-top: 1px solid var(--line); }
.contact-details > div:last-child { border-bottom: 1px solid var(--line); }
.contact-details span, .contact-details a { display: block; }
.contact-details span { margin-bottom: 6px; color: #786d6b; font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.contact-details a { font-size: 17px; }
.contact-details a:hover { color: var(--red-bright); }

.contact-form-card {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(213,45,50,.19), transparent 38%),
    rgba(19, 8, 10, .72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.contact-form label { display: block; color: #ded5d3; font-size: 14px; font-weight: 600; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-form input:not([type="hidden"]):not([type="submit"]),
.contact-form textarea {
  width: 100%;
  margin: 8px 0 24px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.35);
  border-radius: 0;
  outline: 0;
  color: white;
  background: transparent;
  font-size: 17px;
  transition: border-color .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--red-bright) !important; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #716664; opacity: 1; }
.contact-form textarea { min-height: 130px; resize: vertical; }
.u-form-submit { margin-top: 9px; }
.u-form-submit .button { cursor: pointer; }
.u-form-submit .button:disabled { cursor: wait; opacity: .65; transform: none; }
.u-form-control-hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; }
.contact-form__trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.u-form-send-message { display: none; margin-top: 18px; padding: 12px 15px; border-radius: 5px; font-size: 15px; }
.u-form-send-success { color: #bff1d3; background: rgba(75,190,125,.14); }
.u-form-send-error { color: #ffc7c7; background: rgba(213,45,50,.18); }

.site-footer { padding: 54px 0 30px; background: #0b0405; }
.site-footer__grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.brand--footer { width: 140px; }
.site-footer__grid > a:not(.brand) { color: #c5bab8; font-size: 15px; }
.site-footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 22px; color: #c5bab8; font-size: 15px; }
.site-footer__links button { padding: 0; border: 0; color: inherit; background: none; cursor: pointer; }
.site-footer__links a:hover, .site-footer__links button:hover { color: #fff; }
.site-footer__meta { grid-column: 1 / -1; padding-top: 22px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: #655b59; font-size: 13px; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* iOS WebKit does not reliably paint fixed backgrounds on long mobile pages. */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 1050px) {
    .company-intro {
      background-attachment: scroll;
      background-position: center, center var(--ios-fixed-background-y, 0px);
      background-repeat: no-repeat;
      background-size: auto, auto 100svh;
    }
    .service-section--training {
      background-attachment: scroll !important;
      background-position: 0 0, 0 0, center var(--ios-fixed-background-y, 0px) !important;
      background-repeat: no-repeat !important;
      background-size: auto, auto, auto 100svh !important;
    }
  }
}

@media (max-width: 1050px) {
  :root { --shell: min(100% - 36px, 820px); }
  .menu-toggle { display: flex; }
  .menu-open .site-header.is-fixed {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    padding: 120px 28px 48px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 23px;
    background: rgba(18,7,9,.985);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .site-nav > a:not(.button) { font-size: 29px; font-weight: 300; }
  .language-switcher { padding: 0; border: 0; }
  .language-switcher::after { display: none; }
  .language-switcher summary { justify-content: start; font-size: 24px !important; }
  .language-options {
    position: static;
    margin-top: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .language-switcher[open] .language-options { display: flex; gap: 12px; }
  .language-link { width: 36px; height: 36px; font-size: 24px !important; }
  .site-nav .panic-button { margin-top: 8px; min-width: 180px; }
  .attack-label { margin: 5px 0 -15px; font-size: 18px; }
  .menu-open .menu-toggle__icon i:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-open .menu-toggle__icon i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .company-intro__panel, .service-heading, .contact-layout { grid-template-columns: 1fr; gap: 38px; }
  .overview-grid, .detail-grid { grid-template-columns: 1fr; }
  .detail-card { min-height: 0; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 32px); }
  body { font-size: 17px; }
  .nav-wrap { height: 78px; }
  .brand, .brand img { width: 120px; height: 60px; }
  .hero, .hero__content { min-height: max(670px, 100svh); }
  .hero__content { padding-top: 100px; align-items: center; }
  .hero h1 { font-size: clamp(51px, 16vw, 72px); }
  .hero__lead { font-size: 24px; }
  .hero-slider__slides { min-height: 360px; }
  .hero-slide br { display: none; }
  .section, .service-section, .contact-section { padding: 78px 0; }
  .company-intro__panel { padding: 32px 24px; }
  .company-intro h2, .service-heading h2, .contact-details h2 { font-size: 43px; }
  .overview-card { min-height: 230px; padding: 28px 24px; }
  .service-heading { margin-bottom: 42px; }
  .service-heading h4 { font-size: 18px; }
  .detail-card { padding: 28px 24px; }
  .contact-form-card { padding: 30px 22px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .contact-form .button { width: 100%; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__meta { grid-column: auto; flex-direction: column; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
