.max-w-7xl {
  max-width: 1380px;
}
/* Main navigation stays visible while visitors move through long pages. */
.site-header-frame {
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header {
  position: relative;
  z-index: 50;
  background: var(--background);
  border-bottom: 1px solid color-mix(in oklab, var(--foreground) 10%, transparent);
  box-shadow: 0 6px 20px color-mix(in oklab, var(--foreground) 13%, transparent);
}

.language-link {
  display: inline-flex;
  min-width: 42px;
  height: 36px;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  padding-inline: 0.45rem;
  color: var(--foreground);
  background: var(--card);
  font-size: 1.15rem;
  line-height: 1;
  transition: border-color 160ms ease, color 160ms ease;
}

.language-link:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.language-link__label {
  font-size: 0.72rem;
  font-weight: 700;
}

/* Shared title banner for primary content pages. */
.page-banner {
  position: relative;
  isolation: isolate;
  min-height: 260px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.page-banner::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -12px;
  background-image: var(--page-banner-image);
  background-position: center;
  background-size: cover;
  filter: blur(3px);
  transform: scale(1.03);
}

.page-banner::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, color-mix(in oklab, var(--primary-deep) 92%, transparent) 0%, color-mix(in oklab, var(--primary-deep) 72%, transparent) 42%, color-mix(in oklab, var(--primary-deep) 18%, transparent) 100%);
}

.page-banner__inner {
  width: min(100% - 2rem, 1380px);
  margin-inline: auto;
  padding-block: 3.5rem;
}

.page-banner__eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.page-banner__title {
  margin-top: 0.6rem;
  color: var(--primary-foreground);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0;
  text-shadow: 0 2px 18px color-mix(in oklab, var(--primary-deep) 70%, transparent);
}

.page-banner__description {
  max-width: 42rem;
  margin-top: 0.85rem;
  color: color-mix(in oklab, var(--primary-foreground) 88%, transparent);
  font-size: 1rem;
  line-height: 1.65;
}

@media (max-width: 640px) {
  .page-banner { min-height: 220px; }
  .page-banner__inner { padding-block: 2.75rem; }
  .page-banner::after {
    background: color-mix(in oklab, var(--primary-deep) 76%, transparent);
  }
}


.language-link__flag {
  width: 22px;
  height: auto;
  border-radius: 2px;
  display: inline-block;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

/* About page — balanced corporate presentation. */
.about-page {
  background: var(--background);
}

.about-banner {
  min-height: 330px;
}

.about-container {
  width: min(100% - 2rem, 1180px);
  margin-inline: auto;
}

.about-partners {
  border-bottom: 1px solid var(--border);
  background: var(--secondary);
}

.about-partners__inner {
  width: min(100% - 2rem, 1180px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  min-height: 84px;
}

.about-partners__inner span {
  padding: 0.8rem;
  color: color-mix(in oklab, var(--primary) 68%, var(--muted-foreground));
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0;
}

.about-intro,
.about-values,
.about-industries {
  padding-block: 6rem;
}

.about-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  gap: clamp(3rem, 6vw, 6.5rem);
  align-items: center;
}

.about-kicker {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.about-intro__copy h2,
.about-heading h2,
.about-direction h2 {
  margin-top: 0.65rem;
  color: var(--foreground);
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: 0;
}

.about-lead {
  margin-top: 1.5rem;
  color: var(--foreground);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.75;
}

.about-copy {
  margin-top: 1.25rem;
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.8;
}

.about-copy p + p {
  margin-top: 0.85rem;
}

.about-proof {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
}

.about-proof strong {
  flex: 0 0 auto;
  color: var(--primary);
  font-size: 1.75rem;
}

.about-proof span {
  max-width: 13rem;
  color: var(--muted-foreground);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
}

.about-intro__visual {
  position: relative;
  margin: 0;
  padding-bottom: 2.5rem;
}

.about-intro__visual::before {
  content: "";
  position: absolute;
  inset: 1rem -1rem 1.5rem 1.5rem;
  border: 1px solid color-mix(in oklab, var(--accent) 46%, var(--border));
  z-index: 0;
}

.about-intro__visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.375rem;
  box-shadow: var(--shadow-elevated);
}

.about-intro__visual figcaption {
  position: absolute;
  z-index: 2;
  right: -1.5rem;
  bottom: 0;
  width: min(82%, 22rem);
  border-top: 3px solid var(--accent);
  background: var(--card);
  padding: 1rem 1.25rem;
  color: var(--foreground);
  box-shadow: var(--shadow-card);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.55;
}

.about-values {
  border-block: 1px solid var(--border);
  background: var(--secondary);
}

.about-heading {
  max-width: 45rem;
  margin-inline: auto;
  text-align: center;
}

.about-heading > p:last-child {
  margin-top: 1rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.about-values__grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-values__grid article {
  min-height: 240px;
  padding: 2.25rem;
  background: var(--card);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.about-values__grid article + article {
  border-left: 1px solid var(--border);
}

.about-values__grid article:hover {
  position: relative;
  z-index: 1;
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.about-value__number {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
}

.about-values__grid h3,
.about-industries__grid h3 {
  margin-top: 1.2rem;
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 800;
}

.about-values__grid p,
.about-industries__grid p {
  margin-top: 0.75rem;
  color: var(--muted-foreground);
  font-size: 0.9rem;
  line-height: 1.7;
}

.about-direction {
  position: relative;
  overflow: hidden;
  background: var(--primary-deep);
  padding-block: 5rem;
}

.about-direction::after {
  content: "";
  position: absolute;
  top: -5rem;
  right: 7%;
  width: 16rem;
  height: 16rem;
  border: 1px solid color-mix(in oklab, var(--primary-foreground) 16%, transparent);
  transform: rotate(45deg);
}

.about-direction__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.about-kicker--light {
  color: var(--accent);
}

.about-direction h2 {
  color: var(--primary-foreground);
}

.about-direction__inner > p {
  border-left: 1px solid color-mix(in oklab, var(--primary-foreground) 24%, transparent);
  padding-left: 2rem;
  color: color-mix(in oklab, var(--primary-foreground) 82%, transparent);
  font-size: 1rem;
  line-height: 1.8;
}

.about-heading--left {
  margin-inline: 0;
  text-align: left;
}

.about-industries__grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border);
}

.about-industries__grid article {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  min-height: 170px;
  border-bottom: 1px solid var(--border);
  padding: 2rem 1.5rem 2rem 0;
}

.about-industries__grid article:nth-child(even) {
  border-left: 1px solid var(--border);
  padding-left: 2rem;
}

.about-industries__grid article > span {
  color: color-mix(in oklab, var(--accent) 72%, var(--muted-foreground));
  font-size: 0.78rem;
  font-weight: 800;
}

.about-industries__grid h3 {
  margin-top: 0;
}

@media (max-width: 900px) {
  .about-intro,
  .about-values,
  .about-industries { padding-block: 4.5rem; }
  .about-intro__grid { grid-template-columns: 1fr; }
  .about-intro__visual { max-width: 42rem; }
  .about-values__grid { grid-template-columns: 1fr; }
  .about-values__grid article + article { border-left: 0; border-top: 1px solid var(--border); }
  .about-direction__inner { grid-template-columns: 1fr; gap: 2rem; }
  .about-direction__inner > p { padding-left: 1.5rem; }
}

@media (max-width: 640px) {
  .about-banner { min-height: 260px; }
  .about-partners__inner { grid-template-columns: repeat(3, 1fr); padding-block: 0.65rem; }
  .about-intro__grid { gap: 3rem; }
  .about-intro__visual::before { display: none; }
  .about-intro__visual figcaption { right: 0; width: 90%; }
  .about-values__grid article { min-height: auto; padding: 1.75rem; }
  .about-industries__grid { grid-template-columns: 1fr; }
  .about-industries__grid article:nth-child(even) { border-left: 0; padding-left: 0; }
  .about-industries__grid article { min-height: auto; padding-block: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .about-values__grid article { transition: none; }
  .about-values__grid article:hover { transform: none; }
}


/* Professional content pages: services, SCADA, projects and contact. */
.section-page { background: var(--background); }
.section-banner { min-height: 330px; }
.section-container { width: min(100% - 2rem, 1180px); margin-inline: auto; }
.section-intro { padding-block: 4.5rem; border-bottom: 1px solid var(--border); }
.section-intro__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 7vw, 7rem); align-items: end; }
.section-kicker { color: var(--accent); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; }
.section-intro h2, .section-heading h2, .contact-heading h2, .service-commerce h2 { margin-top: 0.65rem; color: var(--foreground); font-size: clamp(1.9rem, 3.2vw, 2.8rem); font-weight: 800; line-height: 1.16; letter-spacing: 0; }
.section-intro__grid > p, .section-heading--split > p, .contact-heading > p { color: var(--muted-foreground); line-height: 1.8; }
.service-capabilities, .showcase-section, .projects-list, .contact-main { padding-block: 6rem; }
.service-capabilities__grid { display: grid; grid-template-columns: repeat(6, 1fr); border-block: 1px solid var(--border); }
.service-feature { grid-column: span 2; min-height: 250px; padding: 2.2rem; border-left: 1px solid var(--border); background: var(--card); }
.service-feature:nth-child(3) { border-right: 1px solid var(--border); }
.service-feature:nth-child(n+4) { grid-column: span 3; border-top: 1px solid var(--border); }
.service-feature:last-child { border-right: 1px solid var(--border); }
.service-feature--primary { background: var(--primary); }
.service-feature > span, .scada-capabilities article > span { color: var(--accent); font-size: 0.75rem; font-weight: 800; }
.service-feature h3, .scada-capabilities h3 { margin-top: 2.2rem; color: var(--primary); font-size: 1.08rem; font-weight: 800; }
.service-feature p, .scada-capabilities p { margin-top: 0.8rem; color: var(--muted-foreground); font-size: 0.9rem; line-height: 1.7; }
.service-feature--primary h3 { color: var(--primary-foreground); }
.service-feature--primary p { color: color-mix(in oklab, var(--primary-foreground) 80%, transparent); }
.service-commerce { position: relative; overflow: hidden; background: var(--primary-deep); padding-block: 5.5rem; }
.service-commerce__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.section-kicker--light { color: var(--accent); }
.service-commerce h2 { color: var(--primary-foreground); }
.service-commerce__content > p:not(.section-kicker) { margin-top: 1.2rem; color: color-mix(in oklab, var(--primary-foreground) 80%, transparent); line-height: 1.75; }
.service-brands { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid color-mix(in oklab, var(--primary-foreground) 20%, transparent); }
.service-brands span { padding: 1.4rem; border-bottom: 1px solid color-mix(in oklab, var(--primary-foreground) 16%, transparent); color: var(--primary-foreground); font-size: 0.86rem; font-weight: 800; text-align: center; }
.service-brands span:nth-child(odd) { border-right: 1px solid color-mix(in oklab, var(--primary-foreground) 16%, transparent); }
.service-cta { background: var(--background); border-top: 1px solid var(--border); padding-block: 4.5rem; }
.service-cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.service-cta h2 { margin-top: 0.6rem; color: var(--foreground); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.15; }
.service-cta p { margin-top: 1rem; color: var(--muted-foreground); line-height: 1.75; }
.service-cta__phones { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.service-cta__phone { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.5rem; border: 1px solid var(--border); border-radius: 0.5rem; background: var(--card); text-decoration: none; transition: border-color 160ms ease, transform 160ms ease; }
.service-cta__phone:hover { border-color: var(--primary); transform: translateY(-3px); }
.service-cta__phone span { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
.service-cta__phone strong { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.scada-capabilities { background: var(--primary-deep); }
.scada-capabilities__grid { width: min(100% - 2rem, 1180px); margin-inline: auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.scada-capabilities article { min-height: 230px; padding: 2rem; border-left: 1px solid color-mix(in oklab, var(--primary-foreground) 18%, transparent); }
.scada-capabilities article:last-child { border-right: 1px solid color-mix(in oklab, var(--primary-foreground) 18%, transparent); }
.scada-capabilities h3 { color: var(--primary-foreground); }
.scada-capabilities p { color: color-mix(in oklab, var(--primary-foreground) 72%, transparent); }
.section-heading--split { display: grid; grid-template-columns: 1fr 0.8fr; gap: 4rem; align-items: end; }
.showcase-grid { margin-top: 3rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.showcase-card { display: grid; grid-template-columns: 0.9fr 1.1fr; min-height: 250px; overflow: hidden; border: 1px solid var(--border); background: var(--card); transition: transform 180ms ease, box-shadow 180ms ease; }
.showcase-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); }
.showcase-card img { width: 100%; height: 100%; object-fit: cover; }
.showcase-card > div { display: flex; flex-direction: column; padding: 1.7rem; }
.showcase-card span, .project-card span { color: var(--accent); font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.showcase-card h3 { margin-top: 0.8rem; color: var(--foreground); font-size: 1.02rem; font-weight: 800; line-height: 1.45; }
.showcase-card b, .project-card b { margin-top: auto; padding-top: 1.5rem; color: var(--primary); font-size: 0.76rem; text-transform: uppercase; }
.showcase-card--featured { grid-column: span 2; grid-template-columns: 1.25fr 0.75fr; min-height: 360px; }
.showcase-card--featured h3 { font-size: 1.45rem; }
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.project-card { display: grid; grid-template-columns: 1fr; overflow: hidden; border: 1px solid var(--border); background: var(--card); transition: transform 180ms ease, box-shadow 180ms ease; }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); }
.project-card figure { min-height: 300px; overflow: hidden; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.project-card:hover img { transform: scale(1.025); }
.project-card > div { display: flex; flex-direction: column; min-height: 190px; padding: 1.8rem; }
.project-card h2 { margin-top: 0.75rem; color: var(--foreground); font-size: 1.25rem; font-weight: 800; }
.project-card p { margin-top: 0.75rem; color: var(--muted-foreground); line-height: 1.65; }
.project-card--wide { grid-column: span 2; grid-template-columns: 1.3fr 0.7fr; }
.project-card--wide figure { min-height: 380px; }
.project-card--wide > div { min-height: auto; padding: 2.5rem; }
.project-card--wide h2 { font-size: 1.65rem; }
.project-card--reverse figure { order: 2; }
.contact-main { background: var(--secondary); }
.contact-heading { max-width: 48rem; margin-bottom: 3rem; }
.contact-heading > p { margin-top: 1rem; }
.contact-heading > .section-kicker { margin-top: 0; }
.contact-layout { display: grid; grid-template-columns: 0.92fr 1.08fr; background: var(--card); box-shadow: var(--shadow-elevated); }
.contact-details { padding: clamp(2rem, 4vw, 3.5rem); }
.contact-details > h3 { margin-bottom: 2rem; color: var(--primary); font-size: 1.05rem; font-weight: 800; line-height: 1.45; }
.contact-row { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding-block: 1rem; border-top: 1px solid var(--border); }
.contact-row > span { color: var(--muted-foreground); font-size: 0.76rem; font-weight: 800; text-transform: uppercase; }
.contact-row p { color: var(--foreground); font-size: 0.9rem; line-height: 1.65; }
.contact-row a { color: var(--primary); font-weight: 700; }
.contact-row em { color: var(--muted-foreground); }
.contact-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-top: 2rem; }
.contact-action { display: flex; min-height: 44px; align-items: center; justify-content: center; border: 1px solid var(--border); color: var(--foreground); font-size: 0.84rem; font-weight: 700; transition: border-color 160ms ease, color 160ms ease; }
.contact-action:hover { border-color: var(--primary); color: var(--primary); }
.contact-action--primary { border-color: var(--primary); background: var(--primary); color: var(--primary-foreground); }
.contact-action--primary:hover { color: var(--primary-foreground); }
.contact-map { position: relative; min-height: 580px; }
.contact-map iframe { width: 100%; height: 100%; border: 0; }
.contact-map > a { position: absolute; right: 1.5rem; bottom: 1.5rem; background: var(--card); padding: 0.9rem 1.15rem; color: var(--primary); box-shadow: var(--shadow-card); font-size: 0.8rem; font-weight: 800; }
@media (max-width: 900px) {
  .section-intro__grid, .service-commerce__grid, .service-cta__grid, .service-cta__phones, .section-heading--split, .contact-layout { grid-template-columns: 1fr; }
  .service-feature { grid-column: span 3; border-top: 1px solid var(--border); }
  .service-feature:nth-child(3) { border-right: 0; }
  .service-feature:nth-child(n+4) { grid-column: span 3; }
  .scada-capabilities__grid { grid-template-columns: repeat(2, 1fr); }
  .scada-capabilities article:nth-child(3) { border-top: 1px solid color-mix(in oklab, var(--primary-foreground) 18%, transparent); }
  .scada-capabilities article:nth-child(4) { border-top: 1px solid color-mix(in oklab, var(--primary-foreground) 18%, transparent); }
  .showcase-card, .showcase-card--featured { grid-column: auto; grid-template-columns: 1fr; }
  .showcase-card img { height: 240px; }
  .showcase-card--featured h3 { font-size: 1.15rem; }
  .contact-map { min-height: 430px; }
}
@media (max-width: 640px) {
  .section-banner { min-height: 260px; }
  .section-intro, .service-capabilities, .service-cta, .showcase-section, .projects-list, .contact-main { padding-block: 3rem; }
  .service-cta__phone strong { font-size: 1.35rem; }
  .service-capabilities__grid, .scada-capabilities__grid, .showcase-grid, .projects-grid { grid-template-columns: 1fr; }
  .service-feature, .service-feature:nth-child(n+4) { grid-column: auto; min-height: auto; border-right: 1px solid var(--border); }
  .scada-capabilities article { min-height: auto; border-right: 1px solid color-mix(in oklab, var(--primary-foreground) 18%, transparent); border-bottom: 1px solid color-mix(in oklab, var(--primary-foreground) 18%, transparent); }
  .showcase-card--featured, .project-card--wide { grid-column: auto; grid-template-columns: 1fr; }
  .showcase-card img { height: 220px; }
  .project-card figure, .project-card--wide figure { min-height: 240px; }
  .project-card--wide > div { padding: 1.8rem; }
  .project-card--reverse figure { order: 0; }
  .contact-details { padding: 1.5rem; }
  .contact-row { grid-template-columns: 1fr; gap: 0.35rem; }
  .contact-actions { grid-template-columns: 1fr; }
  .contact-map { min-height: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  .showcase-card, .project-card, .project-card img { transition: none; }
  .showcase-card:hover, .project-card:hover { transform: none; }
  .project-card:hover img { transform: none; }
}

/* ===== Policy pages ===== */
.policy-layout {
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
  padding-block: 3.5rem 4.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2.5rem;
  align-items: start;
}
.policy-body {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}
.policy-lead {
  font-size: 1.075rem;
  line-height: 1.75;
  color: var(--foreground);
  font-weight: 500;
  padding-left: 1rem;
  border-left: 3px solid var(--primary);
  margin-bottom: 1.5rem;
}
.policy-intro {
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.policy-section { margin-top: 2.25rem; }
.policy-section:first-of-type { margin-top: 1.5rem; }
.policy-section__title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.policy-section__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.6rem;
  background: color-mix(in oklab, var(--primary) 10%, transparent);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
}
.policy-list { display: grid; gap: 0.85rem; list-style: none; padding: 0; margin: 0; }
.policy-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}
.policy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--accent);
}
.policy-note {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border-radius: 0.65rem;
  background: color-mix(in oklab, var(--accent) 12%, transparent);
  border-left: 3px solid var(--accent);
  color: var(--foreground);
  line-height: 1.7;
  font-size: 0.95rem;
}
.policy-aside { display: grid; gap: 1.25rem; position: sticky; top: 6.5rem; }
.policy-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}
.policy-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}
.policy-card p { color: var(--muted-foreground); font-size: 0.92rem; line-height: 1.7; margin-bottom: 1rem; }
.policy-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.35rem; }
.policy-nav__link {
  display: block;
  padding: 0.6rem 0.85rem;
  border-radius: 0.5rem;
  font-size: 0.92rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.policy-nav__link:hover { background: color-mix(in oklab, var(--primary) 8%, transparent); color: var(--primary); }
.policy-nav__link.is-active {
  background: color-mix(in oklab, var(--primary) 12%, transparent);
  color: var(--primary);
  font-weight: 600;
}
.policy-phone {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  text-decoration: none;
  margin-bottom: 0.65rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.policy-phone:hover { border-color: var(--primary); transform: translateY(-2px); }
.policy-phone span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
.policy-phone strong { font-size: 1.2rem; color: var(--primary); }
.policy-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}
.policy-link:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .policy-layout { grid-template-columns: 1fr; padding-block: 2.5rem 3.5rem; }
  .policy-aside { position: static; }
  .policy-body { padding: 1.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .policy-phone:hover { transform: none; }
}

/* ===== Home page ===== */
.home-hero { position: relative; overflow: hidden; background: var(--primary-deep); }
.home-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.22; }
.home-hero__inner { position: relative; padding-block: 6.5rem; }
.home-hero__inner h1 { margin-top: 1rem; max-width: 46rem; color: var(--primary-foreground); font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 800; line-height: 1.16; }
.home-hero__lead { margin-top: 1.25rem; max-width: 40rem; color: color-mix(in oklab, var(--primary-foreground) 85%, transparent); font-size: 1.05rem; line-height: 1.75; }
.home-hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.85rem; }
.home-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.75rem; font-size: 0.88rem; font-weight: 700; text-decoration: none; transition: transform 160ms ease, background 160ms ease; }
.home-btn--primary { background: var(--accent); color: var(--accent-foreground); }
.home-btn--primary:hover { transform: translateY(-2px); }
.home-btn--ghost { border: 1px solid color-mix(in oklab, var(--primary-foreground) 40%, transparent); color: var(--primary-foreground); }
.home-btn--ghost:hover { background: color-mix(in oklab, var(--primary-foreground) 10%, transparent); }
.home-hero__stats { margin-top: 3.5rem; display: grid; max-width: 46rem; grid-template-columns: repeat(4, 1fr); border: 1px solid color-mix(in oklab, var(--primary-foreground) 18%, transparent); }
.home-hero__stats > div { padding: 1.3rem 1.5rem; border-left: 1px solid color-mix(in oklab, var(--primary-foreground) 18%, transparent); }
.home-hero__stats > div:first-child { border-left: 0; }
.home-hero__stats strong { display: block; color: var(--accent); font-size: 1.55rem; font-weight: 800; }
.home-hero__stats span { display: block; margin-top: 0.3rem; color: color-mix(in oklab, var(--primary-foreground) 75%, transparent); font-size: 0.78rem; }
.home-partners { background: var(--secondary); border-bottom: 1px solid var(--border); padding-block: 1.6rem; }
.home-partners__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem 2.75rem; }
.home-partners__inner span { color: var(--primary); opacity: 0.65; font-size: 0.95rem; font-weight: 800; letter-spacing: 0.08em; }
.home-intro__copy p { color: var(--muted-foreground); line-height: 1.8; }
.home-intro__copy p + p { margin-top: 1rem; }
.home-link { display: inline-block; margin-top: 1.4rem; color: var(--primary); font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 0.25rem; }
.home-intro__visual { margin-top: 3.5rem; }
.home-intro__visual img { width: 100%; max-height: 480px; object-fit: cover; border: 1px solid var(--border); box-shadow: var(--shadow-elevated); }
.home-block-title { margin-top: 0.65rem; color: var(--foreground); font-size: clamp(1.9rem, 3.2vw, 2.8rem); font-weight: 800; line-height: 1.16; }
.home-services__grid { margin-top: 3rem; }
.home-services__grid .service-feature { grid-column: span 3; border-top: 0; }
.home-services__grid .service-feature p + p { margin-top: 0.5rem; }
.showcase-section--alt { background: var(--secondary); }
.home-products-grid { margin-top: 3rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.home-product-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); background: var(--card); text-decoration: none; transition: transform 180ms ease, box-shadow 180ms ease; }
.home-product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); }
.home-product-card figure { aspect-ratio: 247 / 296; overflow: hidden; background: var(--secondary); }
.home-product-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.home-product-card:hover img { transform: scale(1.04); }
.home-product-card h3 { padding: 1.1rem 1.25rem; color: var(--foreground); font-size: 0.88rem; font-weight: 700; line-height: 1.5; }
.home-product-card:hover h3 { color: var(--primary); }
@media (max-width: 900px) {
  .home-hero__inner { padding-block: 4.5rem; }
  .home-hero__stats { grid-template-columns: repeat(2, 1fr); }
  .home-hero__stats > div:nth-child(3) { border-left: 0; }
  .home-hero__stats > div:nth-child(n+3) { border-top: 1px solid color-mix(in oklab, var(--primary-foreground) 18%, transparent); }
  .home-services__grid .service-feature { grid-column: auto; border-top: 1px solid var(--border); }
  .home-services__grid .service-feature:first-child { border-top: 0; }
  .home-products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .home-hero__inner { padding-block: 3.5rem; }
  .home-hero__stats > div { padding: 1rem 1.1rem; }
  .home-hero__stats strong { font-size: 1.3rem; }
  .home-products-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .home-product-card figure { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  .home-btn, .home-product-card, .home-product-card img { transition: none; }
  .home-btn--primary:hover, .home-product-card:hover, .home-product-card:hover img { transform: none; }
}

/* ===== Tin tức kỹ thuật ===== */
.policy-paragraph { color: var(--muted-foreground); line-height: 1.85; margin-top: 0.85rem; }
.knowledge-section { padding-block: 4rem 4.5rem; }
.knowledge-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.knowledge-card {
  display: block; overflow: hidden; border: 1px solid var(--border); border-radius: 8px;
  background: var(--card); text-decoration: none; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.knowledge-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--secondary); }
.knowledge-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.knowledge-card__content { padding: 1.5rem 1.75rem 1.75rem; }
.knowledge-card:hover .knowledge-card__media img { transform: scale(1.035); }
.knowledge-card:hover { transform: translateY(-3px); border-color: var(--primary); box-shadow: var(--shadow-card); }
.knowledge-card__tag { color: var(--accent); font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; }
.knowledge-card__title { margin-top: 0.6rem; color: var(--foreground); font-size: 1.2rem; font-weight: 800; line-height: 1.35; }
.knowledge-card__desc { margin-top: 0.7rem; color: var(--muted-foreground); font-size: 0.93rem; line-height: 1.75; }
.knowledge-card__more { display: inline-block; margin-top: 1rem; color: var(--primary); font-size: 0.85rem; font-weight: 700; }
.knowledge-links { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.knowledge-links h2 { color: var(--foreground); font-size: 1.35rem; font-weight: 800; margin-bottom: 1.1rem; }

@media (max-width: 900px) {
  .knowledge-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .knowledge-card { transition: none; }
  .knowledge-card:hover { transform: none; }
}

/* ===== Liên kết nội bộ cuối trang ===== */
.internal-links { padding-block: 2.75rem 3.25rem; border-top: 1px solid var(--border); background: var(--secondary); }
.internal-links h2 { color: var(--foreground); font-size: 1.15rem; font-weight: 800; margin-bottom: 1rem; }
.internal-links__list { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; padding: 0; margin: 0; }
.internal-links__list a {
  display: inline-block; padding: 0.5rem 1rem; border: 1px solid var(--border); border-radius: 999px;
  background: var(--card); color: var(--primary); font-size: 0.86rem; font-weight: 600; text-decoration: none;
}
.internal-links__list a:hover { border-color: var(--primary); }


/* ===== Ảnh đại diện bài viết ===== */
.article-cover { margin: 0 0 2rem; overflow: hidden; border-radius: 8px; background: var(--secondary); }
.article-cover img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-cover figcaption { padding: 0.65rem 1rem; color: var(--muted-foreground); font-size: 0.78rem; line-height: 1.5; border-top: 1px solid var(--border); }
@media (prefers-reduced-motion: reduce) {
  .knowledge-card__media img { transition: none; }
  .knowledge-card:hover .knowledge-card__media img { transform: none; }
}
