/* LAYOUT – sticky header with dropdown menu, mobile drawer, subpage header, footer.
   Desktop menu from 1100px; below it a drawer with accordion sections. */

/* ===== Header ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy-900); border-bottom: 1px solid rgba(255, 255, 255, .08);
}
/* frosted glass where supported – desktop only: backdrop-filter makes the header the containing block of
   position:fixed children, which would trap the mobile drawer (.main-nav is fixed below 1100px) */
@media (min-width: 1100px) {
  @supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .site-header { background: rgba(18, 28, 34, .9); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); }
  }
}
.site-header__inner { display: flex; align-items: center; gap: 12px 24px; min-height: var(--header-h); }
@media (max-width: 1099px) { .site-header__inner { gap: 8px; } }
@media (max-width: 420px) {
  .site-header__logo img { height: 32px; }
  .site-header .site-header__cta { padding: 6px 10px; font-size: 13px; }
}
.site-header__logo { display: block; flex-shrink: 0; padding: 4px 0; border-radius: 8px; }
.site-header__logo img { width: auto; height: 40px; }
.site-header__cta { flex-shrink: 0; }
.site-header__burger {
  display: none; width: 44px; height: 44px; margin-left: auto; margin-right: -8px; border-radius: var(--radius-md);
  flex-direction: column; justify-content: center; align-items: center; gap: 5px; color: var(--white);
}
.site-header__burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.site-header__burger:hover { background: rgba(255, 255, 255, .1); }

/* ===== Main menu – desktop ============================================================== */
.main-nav { flex: 1 1 auto; }
.main-nav__top, .main-nav .main-nav__cta-mobile { display: none; }
.main-menu { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; }
.main-menu__item { position: relative; }
.main-menu__link {
  display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 10px 12px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 600; color: var(--slate-300); text-decoration: none; transition: background .2s, color .2s;
}
.main-menu__link:hover, .main-menu__item:hover > .main-menu__link, .main-menu__item.is-open > .main-menu__link,
.main-menu__item.is-active > .main-menu__link { background: rgba(255, 255, 255, .1); color: var(--white); }
.main-menu__item.is-active > .main-menu__link { box-shadow: inset 0 -2px 0 var(--teal-500); color: var(--white); }
.main-menu__chevron { width: 12px; height: 8px; transition: transform .2s; }
.main-menu__item.is-open .main-menu__chevron { transform: rotate(180deg); }

/* dropdown panel */
.nav-panel {
  position: absolute; left: 0; top: calc(100% + 8px); z-index: 60; width: 560px; max-width: calc(100vw - 48px);
  padding: 10px; border-radius: var(--radius-lg); background: var(--white);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, .06), 0 30px 70px -20px rgba(18, 28, 34, .45), 0 12px 24px -16px rgba(18, 28, 34, .25);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top left;
  transition: opacity .2s, transform .3s var(--ease-out), visibility .2s;
}
.nav-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }   /* hover bridge */
.main-menu__item:nth-child(n+4) > .nav-panel { left: auto; right: 0; transform-origin: top right; }
.main-menu__item:hover > .nav-panel, .main-menu__item:focus-within > .nav-panel, .main-menu__item.is-open > .nav-panel {
  opacity: 1; visibility: visible; transform: none;
}
.main-menu__item.is-closed > .nav-panel { opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); }
.nav-panel__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; list-style: none; }
.nav-panel__link {
  position: relative; display: block; min-height: 44px; padding: 12px 14px; border-radius: var(--radius-md); text-decoration: none; color: var(--slate-900);
  transition: background .2s, box-shadow .2s;
}
.nav-panel__link:hover, .nav-panel__link[aria-current] { background: var(--slate-50); color: var(--slate-900); box-shadow: inset 3px 0 0 var(--teal-500); }
.nav-panel__label { display: block; font-size: 15px; font-weight: 700; }
.nav-panel__link[aria-current] .nav-panel__label { color: var(--brand-700); }
.nav-panel__desc { display: block; margin-top: 2px; font-size: 12px; line-height: 1.4; color: var(--muted); }

/* ===== Mobile drawer (< 1100px) ======================================================== */
.main-nav-backdrop { display: none; }
@media (max-width: 1099px) {
  .site-header__burger { display: flex; }
  /* the fixed CTA stays in the bar on tablets/phones (spec: always-visible configurator button) */
  .site-header__cta { margin-left: auto; }
  .site-header__burger { margin-left: 4px; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(380px, 88vw); overflow-y: auto; overscroll-behavior: contain;
    padding: 12px 16px 32px; background: var(--navy-900); box-shadow: -20px 0 60px rgba(0, 0, 0, .35);
    transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s;
  }
  /* visibility switches at once when opening (so JS can move focus into the menu), with a delay when closing */
  .main-nav.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
  .main-nav__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
  .main-nav__top img { height: 32px; width: auto; }
  .main-nav__close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-md); color: var(--white); }
  .main-nav__close:hover { background: rgba(255, 255, 255, .1); }
  .main-nav__close svg { width: 18px; height: 18px; }
  .main-menu { display: block; }
  .main-menu__item { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .main-menu__link { width: 100%; justify-content: space-between; padding: 12px 8px; font-size: 16px; color: var(--white); }
  .main-menu__item.is-active > .main-menu__link { box-shadow: none; color: var(--teal-300); }
  .nav-panel,
  .main-menu__item:hover > .nav-panel, .main-menu__item:focus-within > .nav-panel {
    position: static; width: auto; max-width: none; padding: 0 0 12px; background: none; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; transition: none; display: none;
  }
  .main-menu__item.is-open > .nav-panel { display: block; }
  .nav-panel::before { display: none; }
  .nav-panel__list { grid-template-columns: minmax(0, 1fr); }
  .nav-panel__link { color: var(--slate-300); padding: 10px 12px; }
  .nav-panel__link:hover, .nav-panel__link[aria-current] { background: rgba(255, 255, 255, .08); color: var(--white); }
  .nav-panel__label { color: var(--white); font-weight: 600; }
  .nav-panel__link[aria-current] .nav-panel__label { color: var(--teal-300); }
  .nav-panel__desc { color: var(--slate-400); }
  .main-nav .main-nav__cta-mobile { display: flex; width: 100%; margin-top: 20px; }
  .main-nav-backdrop { display: block; position: fixed; inset: 0; z-index: 99; background: rgba(18, 28, 34, .5); }
  .main-nav-backdrop[hidden] { display: none; }
}
.is-locked { overflow: hidden; }

/* ===== Subpage header ===================================================================
   component('page-hero'): full-width navy band (glows + blueprint grid from components.css .page-hero::after),
   breadcrumb, chip, h1, lead, actions, optional photo */
.site-main { display: block; padding-bottom: 24px; }
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-900); color: var(--white); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(820px 520px at 100% 0%, rgba(13, 176, 181, .24), transparent 65%),
              radial-gradient(760px 520px at 0% 100%, rgba(2, 108, 182, .38), transparent 70%);
}
.page-hero__box { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 48px; padding-bottom: 56px; }
.page-hero__text { flex: 1 1 480px; min-width: 0; }
.page-hero__media {
  position: relative; flex: 1 1 380px; min-width: 0; align-self: stretch; min-height: 300px; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 70px -30px rgba(0, 0, 0, .8);
}
.page-hero__media .ph { height: 100%; }
.page-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero h1 { margin: 16px 0 14px; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.03em; color: var(--white); }
.page-hero__lead { max-width: 640px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; color: rgba(255, 255, 255, .84); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.page-hero__text > * { animation: th-rise .6s var(--ease) both; }
.page-hero h1 { animation-name: th-lift; }   /* LCP text: move only, no fade */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 14px; list-style: none; font-size: 13px; color: rgba(255, 255, 255, .7); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, .4); }
.breadcrumb a { padding-block: 13px; color: var(--teal-300); text-decoration: none; }   /* inline padding: 44px tap area, same layout */
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
@media (max-width: 640px) { .page-hero__box { gap: 28px; padding-top: 28px; padding-bottom: 36px; } .page-hero__media { min-height: 220px; } }

/* ===== Footer ==========================================================================
   contact band (headline, trust facts, 3 contact cards) · logo + columns + newsletter · bottom row · wordmark */
.site-footer { position: relative; overflow: hidden; margin-top: 24px; background: var(--navy-900); color: var(--slate-400); font-size: 14px; }
.site-footer::before {   /* soft glow behind the contact band */
  content: ""; position: absolute; inset: 0 0 auto; height: 520px; pointer-events: none;
  background: radial-gradient(700px 380px at 85% 0%, rgba(13, 176, 181, .16), transparent 70%), radial-gradient(600px 360px at 0% 0%, rgba(2, 108, 182, .22), transparent 70%);
}
.site-footer > * { position: relative; }
.site-footer a { color: var(--slate-300); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
/* contact band */
.site-footer__band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 56px; }
.site-footer__kicker { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-300); }
.site-footer__headline { margin: 0; font-size: clamp(30px, 3.8vw, 52px); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; color: var(--white); }
.site-footer__accent { background: linear-gradient(90deg, var(--teal-300), var(--white)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-footer__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 24px 0 0; padding: 0; list-style: none; }
.site-footer__trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--slate-300); }
.site-footer__trust svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--teal-300); }
.site-footer__cards { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer .fcard {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--radius-lg); color: var(--white); text-decoration: none;
  background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  transition: background .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.site-footer .fcard:hover { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(111, 217, 220, .5); color: var(--white); text-decoration: none; transform: translateX(4px); }
.fcard__icon { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--radius-md); background: var(--grad-tile); }
.fcard__icon svg { width: 20px; height: 20px; }
.fcard__text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.fcard__label { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--slate-400); }
.fcard__value { overflow-wrap: anywhere; font-size: 17px; font-weight: 700; }
.fcard__go { width: 18px; height: 18px; flex-shrink: 0; color: var(--teal-300); transition: transform .2s var(--ease); }
.fcard:hover .fcard__go { transform: translateX(3px); }
/* logo, link columns, newsletter */
.site-footer__top {
  display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.5fr); gap: 40px;
  padding-top: 48px; padding-bottom: 40px; border-top: 1px solid rgba(255, 255, 255, .1);
}
.site-footer__brand img { height: 40px; width: auto; }
.site-footer__about { max-width: 34ch; margin: 16px 0 12px; font-size: 14px; line-height: 1.6; }
.site-footer__address { margin: 0 0 16px; font-size: 13px; line-height: 1.7; }
.site-footer__address a { padding-block: 13px; color: var(--teal-300); }
.site-footer__social {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); transition: background .2s, box-shadow .2s;
}
.site-footer__social:hover { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(111, 217, 220, .55); }
.site-footer__social svg { width: 18px; height: 18px; }
.site-footer__title { margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--white); }
.site-footer__title label { cursor: pointer; }
.site-footer__links { display: flex; flex-direction: column; gap: 2px; list-style: none; }
.site-footer__links a { display: inline-block; padding: 5px 0; transition: color .2s; }
/* touch layouts: full-width rows, 44px tall */
@media (max-width: 1099px) { .site-footer__links { gap: 0; } .site-footer__links a { display: flex; align-items: center; min-height: 44px; padding: 0; } }
.site-footer__news-text { margin: 0 0 12px; font-size: 13px; }
.site-footer__news-row { display: flex; gap: 8px; }
.site-footer__news input {
  flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 8px 14px; border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: var(--white);
}
.site-footer__news input::placeholder { color: var(--slate-400); }
.site-footer__news .btn { min-width: 48px; min-height: 48px; padding: 0 14px; }
.site-footer__news .btn svg { width: 18px; height: 18px; }
.site-footer__news .site-footer__consent { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 6px 0 0; font-size: 12px; font-weight: 400; line-height: 1.45; color: var(--slate-400); cursor: pointer; }
.site-footer__news .site-footer__consent input { flex: 0 0 auto; width: 18px; height: 18px; min-height: 0; padding: 0; accent-color: var(--teal-500); }
.site-footer__consent a { color: var(--teal-300); }
.site-footer__note { margin: 0; font-size: 12px; color: var(--slate-400); }
/* bottom row */
.site-footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; padding-top: 8px; padding-bottom: 8px;
  border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px;
}
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; }
.site-footer__legal a { padding-block: 14px; color: var(--slate-400); }
.site-footer .site-footer__up { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; color: var(--slate-300); }
.site-footer__up svg { width: 14px; height: 14px; }
/* oversized wordmark, cropped by the page edge (decorative, aria-hidden) */
.site-footer__wordmark {
  height: .62em; margin: 8px 0 0; overflow: hidden; text-align: center; white-space: nowrap; user-select: none; pointer-events: none;
  font-size: clamp(72px, 18.5vw, 280px); font-weight: 800; line-height: .9; letter-spacing: -.05em;
  background: linear-gradient(180deg, rgba(111, 217, 220, .2) 0%, rgba(111, 217, 220, 0) 80%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (max-width: 1099px) {
  .site-footer__band { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 56px; padding-bottom: 40px; }
  .site-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
  .site-footer__brand, .site-footer__news { grid-column: 1 / -1; }
  .site-footer__news { max-width: 520px; }
}
@media (max-width: 640px) {
  .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; padding-bottom: 16px; }
  .fcard__value { font-size: 16px; }
}
