/*
Theme Name: Asir Hi-Tech International Group
Theme URI: https://asirhtig.com/
Author: Asir Hi-Tech International Group
Description: Custom theme for Asir Hi-Tech International Group.
Version: 1.1.0
Text Domain: asir-group-theme
*/

:root {
  --asir-bg: #f6f4ef;
  --asir-surface: #fffdf8;
  --asir-panel: #ffffff;
  --asir-ink: #090f14;
  --asir-muted: #616a73;
  --asir-line: rgba(11, 23, 34, 0.12);
  --asir-line-strong: rgba(11, 23, 34, 0.24);
  --asir-dark: #090d11;
  --asir-dark-2: #141a20;
  --asir-accent: #c99a4a;
  --asir-accent-2: #9a712f;
  --asir-shadow: 0 24px 70px rgba(11, 23, 34, 0.08);
  --asir-radius: 30px;
  --asir-width: min(1280px, calc(100vw - 28px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #ece7de 0%, #f6f4ef 20%, #fffdf8 100%);
  color: var(--asir-ink);
  font-family: "Söhne", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.site-width {
  width: var(--asir-width);
  margin: 0 auto;
}

.site-shell {
  min-height: 100vh;
}

.site-main {
  padding-bottom: 48px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(8, 11, 14, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 154, 74, 0.2);
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.site-header--scrolled {
  background: rgba(8, 11, 14, 0.98);
  border-color: rgba(201, 154, 74, 0.28);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.site-header__shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  grid-template-areas:
    "brand utility actions"
    "nav nav nav";
  gap: 12px 18px;
  align-items: center;
  padding: 16px 0 14px;
}

.site-branding {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-width: 272px;
  padding: 10px 16px;
  border: 1px solid rgba(201, 154, 74, 0.18);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(245, 239, 228, 0.96));
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  line-height: 0;
  text-decoration: none;
}

.site-logo {
  max-width: 240px;
  max-height: 46px;
  filter: none;
}

.section-kicker,
.footer-label,
.ticker-band span,
.sector-row__index,
.masthead-card span,
.capability-label,
.menu--primary > li > a,
.button-primary,
.button-secondary,
.site-header__cta {
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-header__utility {
  grid-area: utility;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.site-header__actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-utility {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(201, 154, 74, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.site-language-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.site-language-list__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-language-list__flag {
  width: 18px;
  height: 12px;
  flex: 0 0 auto;
  display: block;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.site-language-list__flag-fallback {
  font-size: 12px;
  line-height: 1;
}

.site-language-list__code {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-language-list__item.is-current {
  background: rgba(201, 154, 74, 0.18);
  color: #fff;
}

.site-utility--panel {
  display: none;
  margin: 8px 8px 0;
  width: calc(100% - 16px);
  justify-content: flex-start;
}

.gtranslate_wrapper {
  display: flex;
  align-items: center;
  gap: 3px;
}

.gtranslate_wrapper img {
  width: 18px !important;
  height: 18px !important;
  border-radius: 50%;
}

.site-nav {
  grid-area: nav;
  min-width: 0;
  overflow: visible;
  border: 1px solid rgba(201, 154, 74, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.site-nav .menu {
  height: 100%;
  overflow: visible;
}

.menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu--primary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  min-height: 100%;
  padding: 8px;
  overflow: visible;
}

.menu--primary > li {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: -10px;
}

.menu--primary > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.menu-item-has-children > a::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.78;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu--primary > li > a:hover,
.menu--primary > li:focus-within > a,
.menu--primary > li.current-menu-item > a,
.menu--primary > li.current-menu-ancestor > a {
  color: #fff;
  border-color: rgba(201, 154, 74, 0.4);
  background: rgba(201, 154, 74, 0.16);
}

.menu-item-has-children > .sub-menu {
  position: absolute;
  left: 0;
  top: calc(100% - 2px);
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  min-width: 290px;
  z-index: 120;
  padding: 14px 10px 10px;
  border: 1px solid rgba(201, 154, 74, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(17, 21, 28, 0.98), rgba(8, 11, 16, 0.98));
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.38);
  transform: translateY(8px);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 160ms ease;
}

.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.menu-item-has-children:hover > a::after,
.menu-item-has-children:focus-within > a::after {
  opacity: 1;
  transform: rotate(225deg) translateY(1px);
}

.sub-menu li + li {
  margin-top: 4px;
}

.sub-menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 11px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.sub-menu a:hover {
  color: #fff;
  border-color: rgba(201, 154, 74, 0.3);
  background: rgba(201, 154, 74, 0.14);
  transform: translateX(2px);
}

.button-primary,
.button-secondary,
.site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary,
.site-header__cta {
  background: var(--asir-dark);
  color: #fff;
  border-color: rgba(201, 154, 74, 0.28);
  box-shadow: inset 0 0 0 1px rgba(201, 154, 74, 0.16);
}

.button-primary:hover,
.site-header__cta:hover {
  background: var(--asir-dark-2);
  color: #fff;
}

.button-secondary {
  background: transparent;
  color: var(--asir-ink);
  border-color: rgba(11, 23, 34, 0.18);
}

.button-secondary:hover {
  background: rgba(11, 23, 34, 0.05);
}

.button-secondary--dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

.button-secondary--dark:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(201, 154, 74, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

.section-kicker {
  margin: 0 0 10px;
  color: rgba(11, 23, 34, 0.58);
  font-size: 11px;
  font-weight: 800;
}

.section-kicker--dark {
  color: rgba(255, 255, 255, 0.68);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: inherit;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

p {
  margin: 0;
}

section + section {
  margin-top: 18px;
}

.masthead {
  padding-top: 16px;
}

.masthead__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 18px;
  align-items: stretch;
  padding: 22px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(9, 13, 17, 0.99), rgba(18, 23, 29, 0.97)),
    linear-gradient(90deg, rgba(201, 154, 74, 0.18), transparent);
  color: #fff;
  box-shadow: 0 34px 90px rgba(11, 23, 34, 0.22);
}

.masthead__copy h1 {
  max-width: 12ch;
  font-size: clamp(46px, 7vw, 88px);
}

.masthead__lead {
  max-width: 720px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.masthead__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.masthead__stack {
  display: grid;
  gap: 12px;
}

.masthead__stack--media {
  position: relative;
  overflow: hidden;
  align-content: end;
  min-height: 520px;
  padding: 18px;
  border: 1px solid rgba(201, 154, 74, 0.16);
  border-radius: 26px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.24);
}

.masthead__stack--media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 11, 16, 0.18), rgba(7, 11, 16, 0.82));
  z-index: 1;
}

.masthead__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.masthead-card {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.masthead-card--primary {
  background:
    linear-gradient(135deg, rgba(201, 154, 74, 0.18), rgba(255, 255, 255, 0.04));
}

.masthead-card span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 800;
}

.masthead-card strong {
  font-size: 24px;
  line-height: 1.08;
}

.ticker-band {
  border-top: 1px solid rgba(11, 23, 34, 0.08);
  border-bottom: 1px solid rgba(11, 23, 34, 0.08);
  background: rgba(255, 255, 255, 0.45);
}

.ticker-band__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 12px 0;
}

.ticker-band span {
  font-size: 11px;
  font-weight: 800;
  color: rgba(11, 23, 34, 0.62);
}

.sector-matrix,
.command-grid,
.portfolio-block,
.closing-rail,
.page-shell,
.footer-band,
.footer-grid > div {
  border-radius: var(--asir-radius);
}

.sector-matrix,
.portfolio-block,
.closing-rail,
.page-shell__header,
.page-shell__content,
.footer-band,
.footer-grid > div {
  border: 1px solid var(--asir-line);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--asir-shadow);
}

.sector-matrix {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
}

.sector-matrix__intro {
  padding: 24px;
  background: linear-gradient(180deg, rgba(11, 23, 34, 0.05), rgba(11, 23, 34, 0));
}

.sector-matrix__intro h2,
.command-panel h2,
.portfolio-block__intro h2,
.closing-rail__copy h2,
.page-shell__title,
.footer-band__intro h2 {
  font-size: clamp(32px, 4vw, 54px);
}

.sector-matrix__intro p:last-child,
.command-panel p,
.portfolio-block__intro p,
.closing-rail__copy p,
.page-shell__content,
.footer-band__intro p {
  margin-top: 12px;
  color: var(--asir-muted);
}

.sector-matrix__table {
  display: grid;
}

.sector-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 220px) minmax(0, 1fr) 70px;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-left: 1px solid var(--asir-line);
  border-top: 1px solid var(--asir-line);
  text-decoration: none;
}

.sector-row:first-child {
  border-top: 0;
}

.sector-row:hover {
  background: rgba(11, 23, 34, 0.04);
}

.sector-row__index {
  color: rgba(11, 23, 34, 0.46);
  font-size: 11px;
  font-weight: 800;
}

.sector-row__title {
  font-size: 20px;
  line-height: 1.05;
}

.sector-row__copy,
.command-link span,
.portfolio-tile span {
  color: var(--asir-muted);
}

.sector-row__cta {
  justify-self: end;
  color: var(--asir-accent-2);
  font-size: 13px;
  font-weight: 800;
}

.command-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
}

.command-panel {
  padding: 24px;
}

.command-panel--dark {
  background: linear-gradient(135deg, var(--asir-dark), var(--asir-dark-2));
  color: #fff;
  box-shadow: 0 28px 70px rgba(11, 23, 34, 0.2);
}

.command-panel--dark p {
  color: rgba(255, 255, 255, 0.76);
}

.command-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.command-link,
.portfolio-tile {
  display: grid;
  gap: 8px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(201, 154, 74, 0.12);
  border-radius: var(--asir-radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(248, 244, 236, 0.72));
  box-shadow: var(--asir-shadow);
  text-decoration: none;
}

.command-link strong,
.portfolio-tile strong {
  font-size: 22px;
  line-height: 1.06;
}

.portfolio-block {
  padding: 22px;
}

.portfolio-block__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.portfolio-tile {
  min-height: 164px;
  align-content: start;
}

.closing-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 22px;
}

.closing-rail__actions,
.footer-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-shell {
  padding-top: 20px;
}

.page-shell__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: end;
  padding: 22px;
  margin-bottom: 14px;
}

.page-shell__aside {
  color: var(--asir-muted);
  font-size: 15px;
  max-width: 30ch;
}

.page-shell__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 14px;
}

.page-shell__body--full {
  grid-template-columns: 1fr;
}

.page-shell__content {
  padding: 22px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.legal-summary {
  display: grid;
  gap: 14px;
}

.legal-document {
  border: 1px solid rgba(201, 154, 74, 0.16);
  border-radius: var(--asir-radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 242, 233, 0.82));
  box-shadow: var(--asir-shadow);
}

.legal-document p,
.legal-document li {
  color: var(--asir-ink-soft);
  line-height: 1.75;
}

.legal-document h2,
.legal-document h3 {
  margin-top: 28px;
}

.legal-document > *:first-child {
  margin-top: 0;
}

.page-shell__rail {
  padding: 18px;
  border: 1px solid rgba(201, 154, 74, 0.18);
  border-radius: var(--asir-radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(247, 242, 233, 0.68));
  box-shadow: var(--asir-shadow);
}

.page-shell--feature .page-shell__header {
  background: linear-gradient(135deg, rgba(9, 13, 17, 0.98), rgba(21, 26, 32, 0.96));
}

.page-shell--feature .section-kicker,
.page-shell--feature .page-shell__title,
.page-shell--feature .page-shell__aside {
  color: #fff;
}

.page-shell__feature-grid,
.contact-panels {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 14px;
}

.page-shell__feature-grid--compact {
  margin-bottom: 14px;
}

.feature-stack {
  display: grid;
  gap: 14px;
}

.feature-panel {
  padding: 22px;
  border: 1px solid rgba(201, 154, 74, 0.12);
  border-radius: var(--asir-radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(248, 244, 236, 0.74));
  box-shadow: var(--asir-shadow);
}

.feature-panel--dark {
  background: linear-gradient(135deg, rgba(9, 13, 17, 0.98), rgba(18, 23, 29, 0.96));
  border-color: rgba(201, 154, 74, 0.24);
  color: #fff;
}

.feature-panel--media {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 360px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

.feature-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  color: var(--asir-muted);
}

.feature-list li + li {
  margin-top: 8px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--asir-accent);
}

.feature-panel--dark p,
.feature-panel--dark h2 {
  color: #fff;
}

.feature-panel h3 {
  font-size: 28px;
}

.feature-panel p {
  margin-top: 10px;
  color: var(--asir-muted);
}

.service-list {
  border: 1px solid var(--asir-line);
  border-radius: var(--asir-radius);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(248, 244, 236, 0.74));
  box-shadow: var(--asir-shadow);
}

.service-list__row {
  display: grid;
  grid-template-columns: 56px 240px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  text-decoration: none;
}

.service-list__row + .service-list__row {
  border-top: 1px solid var(--asir-line);
}

.service-list__row:hover {
  background: rgba(201, 154, 74, 0.08);
}

.service-list__row span {
  color: rgba(11, 23, 34, 0.46);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-list__row strong {
  font-size: 22px;
  line-height: 1.06;
}

.service-list__row em {
  color: var(--asir-muted);
  font-style: normal;
}

.page-shell__rail-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-shell__rail-links li + li {
  margin-top: 8px;
}

.page-shell__rail-links a {
  text-decoration: none;
  color: var(--asir-muted);
}

.page-shell__rail-links a:hover {
  color: var(--asir-ink);
}

.page-shell__content > * + * {
  margin-top: 14px;
}

.legal-notice__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.page-shell__content h2,
.page-shell__content h3 {
  margin-top: 24px;
  font-size: 28px;
}

.page-shell__content ul,
.page-shell__content ol {
  padding-left: 20px;
}

.site-footer {
  margin-top: 20px;
  padding: 0 0 28px;
}

.footer-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.9fr;
  gap: 12px;
  margin-top: 12px;
}

.footer-grid > div {
  padding: 18px;
}

.footer-label {
  margin-bottom: 10px;
  color: rgba(11, 23, 34, 0.56);
  font-size: 11px;
  font-weight: 800;
}

.menu--footer li + li {
  margin-top: 6px;
}

.menu--footer a {
  text-decoration: none;
}

.footer-ledger {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: rgba(11, 23, 34, 0.58);
  font-size: 13px;
}

.footer-language-rail {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 18px 22px;
  border: 1px solid var(--asir-line);
  border-radius: var(--asir-radius);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--asir-shadow);
}

.footer-language-rail__list {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.footer-language-rail .site-language-list__item {
  border: 1px solid rgba(11, 23, 34, 0.12);
  background: rgba(11, 23, 34, 0.04);
  color: var(--asir-ink);
}

.footer-language-rail .site-language-list__item.is-current {
  border-color: rgba(201, 154, 74, 0.34);
  background: rgba(201, 154, 74, 0.18);
  color: var(--asir-ink);
}

.asir-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  width: min(380px, calc(100vw - 24px));
}

.asir-consent__panel {
  padding: 20px 20px 18px;
  border: 1px solid rgba(201, 154, 74, 0.24);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(14, 18, 24, 0.98), rgba(8, 11, 14, 0.98));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
  color: rgba(255, 255, 255, 0.9);
}

.asir-consent__eyebrow {
  margin: 0 0 10px;
  color: rgba(201, 154, 74, 0.88);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.asir-consent__panel h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.05;
}

.asir-consent__panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.asir-consent__actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.asir-consent__actions .button-primary,
.asir-consent__actions .button-secondary {
  flex: 1 1 0;
  justify-content: center;
}

@media (max-width: 1280px) {
  .masthead__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  }

  .masthead__copy h1 {
    max-width: 11ch;
    font-size: clamp(44px, 5.4vw, 76px);
  }

  .masthead__lead {
    max-width: 60ch;
    font-size: 17px;
  }
}

@media (max-width: 1180px) {
  .site-header__shell {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand actions"
      "utility utility"
      "nav nav";
    gap: 10px 14px;
  }

  .site-branding {
    min-width: 240px;
    padding: 9px 14px;
  }

  .site-logo {
    max-width: 210px;
    max-height: 42px;
  }

  .menu--primary > li > a {
    min-height: 38px;
    padding: 0 11px;
    font-size: 10px;
  }

  .site-header__utility {
    justify-content: flex-start;
  }

  .site-utility {
    width: 100%;
    min-height: 40px;
    padding: 6px 10px;
    border-radius: 14px;
  }

  .site-utility .site-language-list {
    justify-content: flex-start;
  }

  .masthead__copy h1 {
    max-width: 10ch;
    font-size: clamp(40px, 6vw, 68px);
  }

  .masthead__lead {
    max-width: 58ch;
    font-size: 17px;
  }

  .masthead__stack--media {
    min-height: 420px;
  }

  .sector-matrix,
  .command-grid,
  .page-shell__feature-grid,
  .legal-layout,
  .contact-panels,
  .portfolio-block__grid,
  .closing-rail,
  .page-shell__header,
  .page-shell__body,
  .footer-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .sector-row {
    grid-template-columns: 56px 1fr;
  }

  .sector-row__copy,
  .sector-row__cta {
    grid-column: 2;
  }

  .service-list__row {
    grid-template-columns: 56px 1fr;
  }

  .service-list__row em {
    grid-column: 2;
  }

  .command-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) {
  .site-header__shell {
    padding: 12px 0 10px;
  }

  .site-header__actions {
    gap: 8px;
  }

  .site-utility .site-language-list {
    justify-content: flex-start;
    gap: 4px;
  }

  .site-utility .site-language-list__item {
    padding: 5px 6px;
    font-size: 9px;
  }

  .masthead__grid {
    grid-template-columns: 1fr;
  }

  .masthead__copy h1 {
    max-width: 9ch;
    font-size: clamp(34px, 5.2vw, 54px);
  }

  .masthead__lead {
    max-width: 48ch;
    font-size: 16px;
  }

  .feature-panel--media,
  .masthead__stack--media {
    min-height: 320px;
  }
}

@media (max-width: 940px) {
  .site-nav {
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-header__actions > .site-utility {
    display: none;
  }

  .site-header__utility {
    display: none;
  }

  .site-utility--panel {
    display: flex;
    width: 100%;
    margin: 8px 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .site-utility--panel .site-language-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .site-utility--panel .site-language-list__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-width: 0;
    min-height: 32px;
    padding: 6px 4px;
    border-radius: 10px;
    line-height: 1;
    border: 1px solid rgba(201, 154, 74, 0.18);
    background: rgba(255, 255, 255, 0.04);
  }

  .site-utility--panel .site-language-list__flag {
    width: 16px;
    height: 11px;
  }

  .menu--primary {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .menu--primary > li,
  .menu--primary > li > a {
    width: 100%;
  }

  .menu--primary > li > a {
    min-height: 42px;
  }

  .menu-item-has-children > .sub-menu {
    position: static;
    display: block;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    min-width: 0;
    margin-top: 6px;
    box-shadow: none;
    transition: none;
  }

  .command-links,
  .portfolio-block__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .asir-consent {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  .asir-consent__actions {
    flex-direction: column;
  }

  .site-branding {
    min-width: 0;
    padding: 8px 12px;
  }

  .site-utility,
  .site-utility--panel {
    width: 100%;
    min-width: 0;
    padding: 0;
    border-radius: 0;
  }

  .site-language-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 6px;
  }

  .site-language-list__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-width: 0;
    min-height: 32px;
    padding: 6px 4px;
    border-radius: 10px;
    font-size: 9px;
    line-height: 1;
  }

  .site-language-list__flag {
    width: 16px;
    height: 11px;
  }

  .site-utility--panel .site-language-list__item.is-current,
  .site-header__utility .site-language-list__item.is-current {
    border-radius: 10px;
  }

  .masthead__grid,
  .sector-matrix__intro,
  .command-panel,
  .portfolio-block,
  .closing-rail,
  .page-shell__header,
  .page-shell__content,
  .footer-band,
  .footer-language-rail,
  .footer-grid > div {
    padding: 18px;
  }

  .masthead__copy h1 {
    font-size: 40px;
  }

  .masthead-card strong,
  .command-link strong,
  .portfolio-tile strong {
    font-size: 20px;
  }

  .footer-ledger {
    flex-direction: column;
  }
}
