/*
Theme Name: Topqueen
Theme URI: https://topqueen.vn
Author: Topqueen
Description: Theme giới thiệu công ty, dịch vụ gia công và tin tức cho Topqueen.
Version: 1.2.2
Text Domain: topqueen
*/

:root {
  --ink: #182a3a;
  --muted: #667586;
  --line: #dbe4ea;
  --soft: #f3f7f6;
  --paper: #ffffff;
  --brand: #15675b;
  --brand-dark: #0d433d;
  --accent: #d79b33;
  --shadow: 0 18px 45px rgba(14, 38, 50, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section,
.service-card {
  scroll-margin-top: 128px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, "Helvetica Neue", sans-serif;
  line-height: 1.6;
  background: var(--paper);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  color: #e8f4f1;
  background: var(--brand-dark);
  font-size: 14px;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 40px;
}

.topbar__inner span {
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(20, 43, 54, 0.08);
  backdrop-filter: blur(12px);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
  background: linear-gradient(135deg, var(--brand), #1e8b77);
}

.brand img,
.brand img.brand__logo {
  display: block;
  width: 64px !important;
  height: 64px !important;
  max-width: 64px !important;
  max-height: 64px !important;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 20px;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.menu {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu > li {
  position: relative;
}

.menu a {
  display: block;
  padding: 12px 11px;
  border-radius: 6px;
  color: #203647;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.menu a:hover,
.menu a:focus {
  color: var(--brand);
  background: #edf6f3;
}

.submenu,
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: grid;
  min-width: 250px;
  margin: 0;
  padding: 18px 10px 10px;
  list-style: none;
  background: transparent;
  border-radius: 0 0 var(--radius) var(--radius);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.submenu::before,
.sub-menu::before {
  content: "";
  position: absolute;
  inset: 8px 0 0;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

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

.submenu a,
.sub-menu a {
  text-transform: none;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

/* ===== Banner slider ===== */
.banner-slider {
  position: relative;
  overflow: hidden;
  background: var(--brand-dark);
}

.banner-slider__track {
  position: relative;
  height: clamp(240px, 40vw, 560px);
}

.banner-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
}

.banner-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.banner-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-slide__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  padding: 96px max(16px, calc((100% - 1180px) / 2)) 42px;
  color: #fff;
  background: linear-gradient(0deg, rgba(5, 26, 29, 0.86), rgba(5, 26, 29, 0));
}

.banner-slide__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.banner-slide__caption strong {
  display: block;
  max-width: 620px;
  font-size: clamp(22px, 3.2vw, 40px);
  line-height: 1.16;
}

.banner-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  background: rgba(13, 67, 61, 0.55);
  transition: background 0.2s ease;
}

.banner-slider__arrow:hover {
  background: var(--brand);
}

.banner-slider__arrow--prev {
  left: 18px;
}

.banner-slider__arrow--next {
  right: 18px;
}

.banner-slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 9px;
}

.banner-slider__dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  background: transparent;
  transition: background 0.2s ease;
}

.banner-slider__dots button.is-active {
  background: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 13px;
}

.section h2 {
  margin: 0;
  line-height: 1.14;
  letter-spacing: 0;
}

.page-hero {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.page-hero__image,
.page-hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-hero__image {
  object-fit: cover;
}

.page-hero__overlay {
  background: linear-gradient(90deg, rgba(6, 30, 33, 0.88), rgba(6, 30, 33, 0.5));
}

.page-hero__content {
  position: relative;
  max-width: 820px;
  padding: 88px 0 72px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.12;
}

.page-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 980px;
  margin-top: 34px;
}

.hero-service {
  position: relative;
  min-height: 132px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.hero-service img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  opacity: 0.78;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero-service::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 30, 33, 0.12), rgba(6, 30, 33, 0.78));
}

.hero-service span {
  position: absolute;
  z-index: 1;
  left: 14px;
  right: 14px;
  bottom: 12px;
  color: #fff;
  font-weight: 800;
  line-height: 1.25;
}

.hero-service:hover img {
  opacity: 1;
  transform: scale(1.04);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.btn--primary {
  color: #fff;
  background: var(--brand);
}

.btn--primary:hover {
  background: var(--brand-dark);
}

.btn--light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.12);
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--brand);
  font-weight: 800;
}

.intro-strip {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding-top: 46px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.stats article {
  padding: 26px;
  background: #fff;
}

.stats strong {
  display: block;
  color: var(--brand);
  font-size: 24px;
}

.stats span {
  color: var(--muted);
}

.section {
  padding: 86px 0;
}

.section--muted {
  background: var(--soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1fr);
  gap: 58px;
  align-items: center;
}

.split__content p:not(.eyebrow),
.section-heading p,
.image-band p,
.contact p {
  color: var(--muted);
  font-size: 17px;
}

.section h2 {
  font-size: clamp(30px, 4vw, 46px);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

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

.page-content__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 44px;
  align-items: start;
}

.page-main {
  font-size: 17px;
}

.page-main h1,
.page-main h2 {
  margin: 0 0 18px;
  line-height: 1.16;
  font-size: clamp(30px, 4vw, 46px);
}

.page-main p {
  color: var(--muted);
}

.content-blocks {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.content-block {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.content-block h3 {
  margin: 0 0 10px;
  line-height: 1.25;
}

.content-block p {
  margin: 0 0 14px;
}

.content-block ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.content-block li {
  color: var(--muted);
}

.page-sidebar {
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  position: sticky;
  top: 130px;
}

.page-sidebar h3 {
  margin: 0 0 10px;
}

.page-sidebar a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ink);
  font-weight: 700;
}

.page-sidebar a:hover {
  color: var(--brand);
  background: #fff;
}

.image-stack {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 18px;
  align-items: end;
}

.image-stack img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-stack img:nth-child(2) {
  height: 310px;
  margin-bottom: -42px;
}

.section--process {
  background:
    linear-gradient(180deg, rgba(243, 247, 246, 0.98), rgba(255, 255, 255, 0.98)),
    url("assets/machine.jpg") center / cover;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1.28fr);
  gap: 42px;
  align-items: center;
}

.process-layout p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.process-poster,
.process-detail {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.process-poster img,
.process-detail img {
  width: 100%;
  height: auto;
}

.process-detail {
  margin-top: 28px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card,
.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(14, 38, 50, 0.06);
}

.service-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.service-card div,
.news-card {
  padding: 22px;
}

.service-card h3,
.timeline h3,
.news-card h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.25;
}

.service-card p,
.timeline p,
.news-card p {
  color: var(--muted);
}

.service-card a {
  color: var(--brand);
  font-weight: 800;
}

.activity {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline article {
  display: grid;
  grid-template-columns: 64px 1fr;
  column-gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.timeline span {
  grid-row: span 2;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  background: var(--brand);
}

.timeline p {
  margin: 8px 0 0;
}

.activity-categories {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.activity-categories article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.activity-categories h3 {
  margin: 0;
}

.activity-categories p {
  margin: 8px 0 0;
  color: var(--muted);
}

.activity__lead {
  color: var(--muted);
  font-size: 17px;
}

.section--capability {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.96)),
    url("assets/lab.jpg") center / cover;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.capability-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(14, 38, 50, 0.08);
}

.capability-grid span {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  background: var(--brand);
}

.capability-grid h3,
.gallery-item h3 {
  margin: 0;
  line-height: 1.25;
}

.capability-grid p {
  margin: 10px 0 0;
  color: var(--muted);
}

.achievements {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 46, 43, 0.96), rgba(8, 46, 43, 0.86)),
    url("assets/team/team-front.jpg") center / cover;
}

.achievements__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 46px;
  align-items: center;
}

.achievements h2 {
  color: #fff;
}

.achievements p {
  color: rgba(255, 255, 255, 0.82);
}

.achievement-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.achievement-list article {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.achievement-list strong {
  display: block;
  color: #fff;
  font-size: 42px;
  line-height: 1;
}

.achievement-list span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.84);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-item {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 8px 18px rgba(14, 38, 50, 0.08);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 25, 28, 0.02), rgba(5, 25, 28, 0.72));
}

.gallery-item img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item figcaption {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: #fff;
}

.gallery-item h3 {
  font-size: 17px;
}

.gallery-item p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.gallery-item:nth-child(6n + 1),
.gallery-item:nth-child(8n + 4) {
  grid-row: span 2;
}

.gallery-item:nth-child(6n + 1),
.gallery-item:nth-child(8n + 4),
.gallery-item:nth-child(6n + 1) img,
.gallery-item:nth-child(8n + 4) img {
  height: 474px;
}

.team-section {
  background: #fff;
}

.team-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  gap: 38px;
  align-items: end;
  margin-bottom: 22px;
}

.team-feature,
.team-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(14, 38, 50, 0.08);
}

.team-feature img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.team-feature div,
.team-grid article {
  padding: 22px;
}

.team-feature h3,
.team-grid h3 {
  margin: 0;
  line-height: 1.25;
}

.team-feature p,
.team-grid p {
  margin: 8px 0 0;
  color: var(--muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.team-grid article {
  padding: 0;
}

.team-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.team-grid h3,
.team-grid p {
  padding-inline: 22px;
}

.team-grid h3 {
  padding-top: 20px;
}

.team-grid p {
  padding-bottom: 22px;
}

.section--image-band {
  position: relative;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 47, 43, 0.92), rgba(7, 47, 43, 0.7)),
    url("assets/machine.jpg") center / cover;
}

.image-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.image-band div {
  max-width: 720px;
}

.image-band p {
  color: rgba(255, 255, 255, 0.86);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.video-grid,
.certificate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.video-grid article,
.certificate-grid article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(14, 38, 50, 0.06);
}

.video-grid article {
  position: relative;
  display: grid;
  align-content: end;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(6, 30, 33, 0.12), rgba(6, 30, 33, 0.84)),
    url("assets/machine.jpg") center / cover;
}

.video-grid span,
.certificate-grid span {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  background: var(--brand);
}

.video-grid p {
  color: rgba(255, 255, 255, 0.82);
}

.certificate-grid p {
  color: var(--muted);
}

.certificate-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.certificate-preview article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(14, 38, 50, 0.06);
}

.certificate-preview img {
  width: 100%;
  height: 340px;
  object-fit: contain;
  padding: 16px;
  background: #f8fbfa;
}

.certificate-preview h3,
.certificate-preview p,
.certificate-preview a {
  margin-inline: 20px;
}

.certificate-preview h3 {
  margin-top: 18px;
  margin-bottom: 8px;
}

.certificate-preview p {
  color: var(--muted);
}

.certificate-preview a:not(.btn) {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--brand);
  font-weight: 800;
}

.certificate-preview > article > span {
  display: grid;
  height: 340px;
  place-items: center;
  color: #fff;
  font-size: 42px;
  font-weight: 900;
  background:
    linear-gradient(135deg, rgba(21, 103, 91, 0.94), rgba(13, 67, 61, 0.94)),
    url("assets/control.jpg") center / cover;
}

.certificate-preview--page img,
.certificate-preview--page > article > span {
  height: 460px;
}

.certificate-download {
  display: grid;
  align-content: start;
}

.certificate-download .btn {
  margin: 4px 20px 24px;
}

.news-card span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact {
  background: #fff;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 54px;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: var(--brand);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #304657;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c9d6dd;
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
}

.footer {
  color: #c9d6d2;
  background: #0f2927;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 34px;
  padding: 50px 0 30px;
}

.brand--footer small {
  color: #b0c5c0;
}

.brand--footer img,
.brand--footer img.brand__logo {
  width: 58px !important;
  height: 58px !important;
  max-width: 58px !important;
  max-height: 58px !important;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.18));
}

.footer p {
  max-width: 420px;
}

.footer h3 {
  margin: 0 0 12px;
  color: #fff;
}

.footer a:not(.brand) {
  display: block;
  margin: 8px 0;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer .social-links a {
  display: grid;
  width: 36px;
  height: 36px;
  margin: 0;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.12);
}

.footer .social-links a:hover {
  background: var(--brand);
}

.copyright {
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

@media (max-width: 1020px) {
  .menu-toggle {
    display: block;
  }

  .menu {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .menu.is-open {
    display: grid;
  }

  .submenu,
  .sub-menu {
    position: static;
    display: grid;
    min-width: 0;
    margin-left: 12px;
    padding: 0;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .submenu::before,
  .sub-menu::before {
    display: none;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid,
  .capability-grid,
  .hero-services,
  .hero-slider__nav,
  .news-grid,
  .video-grid,
  .certificate-grid,
  .certificate-preview {
    grid-template-columns: repeat(3, 1fr);
  }

  .split,
  .hero-slide__inner,
  .process-layout,
  .activity,
  .contact__grid,
  .page-content__grid,
  .team-layout,
  .achievements__grid {
    grid-template-columns: 1fr;
  }

  .activity-categories {
    grid-column: auto;
  }

  .page-sidebar {
    position: static;
  }

  .image-stack img:nth-child(2) {
    margin-bottom: 0;
  }

  .hero-banner-card {
    min-height: 300px;
  }

  .hero-banner-card img {
    min-height: 300px;
  }

  .hero-slider__controls {
    right: 24px;
    bottom: 120px;
  }
}

@media (max-width: 720px) {
  .topbar__inner {
    display: grid;
    gap: 2px;
    padding: 8px 0;
  }

  .navbar__inner {
    min-height: 66px;
  }

  .hero {
    min-height: 580px;
  }

  .hero-slider,
  .hero-slider__track,
  .hero-slide__inner {
    min-height: 640px;
  }

  .hero__content {
    padding: 64px 0 94px;
  }

  .hero h1,
  .hero-slide h1 {
    font-size: 36px;
  }

  .stats,
  .service-grid,
  .capability-grid,
  .hero-services,
  .hero-slider__nav,
  .gallery-grid,
  .activity-categories,
  .achievement-list,
  .video-grid,
  .certificate-grid,
  .certificate-preview,
  .team-grid,
  .news-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .hero-slider__nav {
    margin-top: -96px;
  }

  .hero-slider__nav button {
    min-height: 58px;
  }

  .hero-slide__inner {
    grid-template-columns: 1fr;
    padding: 56px 0 170px;
  }

  .hero-banner-card {
    display: none;
  }

  .hero-slider__controls {
    right: 18px;
    bottom: 110px;
  }

  .hero-slide p:not(.eyebrow) {
    font-size: 17px;
  }

  .hero-slide ul {
    display: grid;
  }

  .certificate-preview img,
  .certificate-preview > article > span,
  .certificate-preview--page img,
  .certificate-preview--page > article > span {
    height: 320px;
  }

  .section {
    padding: 64px 0;
  }

  .image-stack {
    grid-template-columns: 1fr;
  }

  .image-stack img,
  .image-stack img:nth-child(2),
  .team-feature img,
  .team-grid img,
  .gallery-item,
  .gallery-item img,
  .gallery-item:nth-child(6n + 1),
  .gallery-item:nth-child(8n + 4),
  .gallery-item:nth-child(6n + 1) img,
  .gallery-item:nth-child(8n + 4) img {
    height: 260px;
  }

  .image-band {
    display: grid;
  }

  .timeline article {
    grid-template-columns: 1fr;
  }

  .timeline span {
    grid-row: auto;
    margin-bottom: 14px;
  }
}
