﻿/* =========================================================
   HUONGQUYNH Group
   Innovating Today, Transforming Tomorrow.
   ========================================================= */

/* ---------- Design tokens ---------- */

:root {
  color-scheme: dark;

  --color-bg: #050b18;
  --color-bg-soft: #091426;
  --color-surface: #0d1b2f;
  --color-surface-light: #122540;
  --color-border: rgba(104, 215, 255, 0.18);

  --color-primary: #00c8ff;
  --color-primary-light: #6de3ff;
  --color-primary-dark: #008bb8;
  --color-secondary: #29f2c2;

  --color-text: #f4f8ff;
  --color-text-soft: #b5c3d8;
  --color-text-muted: #7f91aa;
  --color-white: #ffffff;

  --gradient-primary: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );

  --gradient-surface: linear-gradient(
    145deg,
    rgba(18, 37, 64, 0.96),
    rgba(7, 17, 34, 0.96)
  );

  --shadow-small: 0 10px 30px rgba(0, 0, 0, 0.18);
  --shadow-large: 0 24px 70px rgba(0, 0, 0, 0.38);
  --shadow-glow: 0 0 36px rgba(0, 200, 255, 0.18);

  --radius-small: 0.65rem;
  --radius-medium: 1rem;
  --radius-large: 1.5rem;
  --radius-pill: 999px;

  --container-width: 1180px;
  --header-height: 76px;

  --transition-fast: 160ms ease;
  --transition-normal: 280ms ease;
}

/* ---------- Reset ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;

  font-family:
    Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;

  color: var(--color-text);
  background:
    radial-gradient(
      circle at 15% 15%,
      rgba(0, 200, 255, 0.12),
      transparent 34rem
    ),
    radial-gradient(
      circle at 90% 35%,
      rgba(41, 242, 194, 0.08),
      transparent 30rem
    ),
    var(--color-bg);

  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";

  background-image:
    linear-gradient(rgba(0, 200, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 255, 0.025) 1px, transparent 1px);

  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.15;
  text-wrap: balance;
}

p {
  color: var(--color-text-soft);
}

::selection {
  color: var(--color-bg);
  background: var(--color-primary-light);
}

/* ---------- Accessibility ---------- */

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 4px;
  border-radius: 0.25rem;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 9999;

  padding: 0.75rem 1rem;

  color: var(--color-bg);
  font-weight: 800;
  background: var(--color-primary);
  border-radius: var(--radius-small);

  transform: translateY(-200%);
  transition: transform var(--transition-fast);
}

.skip-link:focus {
  transform: translateY(0);
}

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

/* ---------- Shared layout ---------- */

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

section {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 7rem);
}

.section-alt {
  background:
    linear-gradient(
      to bottom,
      transparent,
      rgba(9, 20, 38, 0.76),
      transparent
    );
}

.section-heading {
  max-width: 760px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;

  margin-bottom: 1rem;

  color: var(--color-primary-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-label::before {
  width: 2rem;
  height: 2px;
  content: "";
  background: var(--gradient-primary);
}

.section-heading h2,
.section-title {
  margin-bottom: 1rem;

  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: -0.04em;
}

.section-heading p,
.section-description {
  max-width: 660px;
  margin-inline: auto;
  font-size: clamp(1rem, 2vw, 1.12rem);
}

.text-gradient {
  color: transparent;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
}

/* ---------- Header and navigation ---------- */

.site-header,
header {
  position: sticky;
  top: 0;
  z-index: 1000;

  min-height: var(--header-height);

  background: rgba(5, 11, 24, 0.82);
  border-bottom: 1px solid rgba(104, 215, 255, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.navbar,
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
}

.logo,
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;

  color: var(--color-white);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 900;
  letter-spacing: 0.03em;
}

.logo-mark,
.brand-mark {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;

  color: var(--color-bg);
  background: var(--gradient-primary);
  border-radius: 0.75rem;
  box-shadow: 0 0 24px rgba(0, 200, 255, 0.25);
}

.logo span,
.brand span {
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  list-style: none;
}

.nav-links a {
  position: relative;
  padding-block: 0.6rem;

  color: var(--color-text-soft);
  font-size: 0.94rem;
  font-weight: 650;

  transition:
    color var(--transition-fast),
    transform var(--transition-fast);
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;

  height: 2px;
  content: "";
  background: var(--gradient-primary);

  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-fast);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--color-white);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;

  color: var(--color-white);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
}

/* ---------- Buttons ---------- */

.button,
.btn,
button[type="submit"] {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;

  padding: 0.8rem 1.3rem;

  color: var(--color-bg);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;

  background: var(--gradient-primary);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 200, 255, 0.18);

  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    filter var(--transition-fast);
}

.button:hover,
.btn:hover,
button[type="submit"]:hover {
  filter: brightness(1.08);
  box-shadow: 0 14px 40px rgba(0, 200, 255, 0.28);
  transform: translateY(-2px);
}

.button:active,
.btn:active,
button[type="submit"]:active {
  transform: translateY(0);
}

.button-secondary,
.btn-secondary,
.button-outline {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--color-border);
  box-shadow: none;
}

.button-secondary:hover,
.btn-secondary:hover,
.button-outline:hover {
  color: var(--color-white);
  background: rgba(0, 200, 255, 0.09);
  border-color: rgba(0, 200, 255, 0.48);
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  min-height: calc(100svh - var(--header-height));
  align-items: center;
  padding-block: clamp(5rem, 10vw, 8rem);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  top: 5%;
  right: -15%;

  width: min(52rem, 82vw);
  aspect-ratio: 1;
  content: "";

  background:
    radial-gradient(
      circle,
      rgba(0, 200, 255, 0.17),
      rgba(0, 200, 255, 0.035) 40%,
      transparent 70%
    );

  border: 1px solid rgba(0, 200, 255, 0.08);
  border-radius: 50%;
  filter: blur(2px);
}

.hero-grid,
.hero .container {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.hero-content {
  max-width: 760px;
}

.hero h1 {
  margin-bottom: 1.4rem;

  font-size: clamp(3rem, 8vw, 6.2rem);
  letter-spacing: -0.065em;
}

.hero h1 span {
  display: block;
  color: transparent;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-subtitle {
  max-width: 670px;
  margin-bottom: 2rem;

  color: var(--color-text-soft);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;

  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: 1.5rem;

  border-top: 1px solid var(--color-border);
}

.stat strong {
  display: block;
  margin-bottom: 0.2rem;

  color: var(--color-primary-light);
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.stat span {
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

/* ---------- Hero technology illustration ---------- */

.hero-visual,
.tech-visual {
  position: relative;
  display: grid;
  min-height: 430px;
  place-items: center;
}

.tech-orbit {
  position: absolute;
  width: min(390px, 82vw);
  aspect-ratio: 1;

  border: 1px solid rgba(0, 200, 255, 0.24);
  border-radius: 50%;

  animation: rotate 24s linear infinite;
}

.tech-orbit::before,
.tech-orbit::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(41, 242, 194, 0.16);
  border-radius: inherit;
}

.tech-orbit::before {
  inset: 12%;
}

.tech-orbit::after {
  inset: 26%;
}

.tech-core {
  position: relative;
  z-index: 2;

  display: grid;
  width: 180px;
  aspect-ratio: 1;
  place-items: center;

  color: var(--color-bg);
  font-size: 2rem;
  font-weight: 900;
  text-align: center;

  background: var(--gradient-primary);
  border: 10px solid rgba(5, 11, 24, 0.7);
  border-radius: 2rem;
  box-shadow:
    0 0 0 1px rgba(109, 227, 255, 0.4),
    0 0 70px rgba(0, 200, 255, 0.32);

  transform: rotate(45deg);
}

.tech-core span {
  transform: rotate(-45deg);
}

.tech-node {
  position: absolute;
  z-index: 3;

  display: grid;
  min-width: 86px;
  min-height: 42px;
  place-items: center;
  padding: 0.5rem 0.75rem;

  color: var(--color-primary-light);
  font-size: 0.75rem;
  font-weight: 800;

  background: rgba(9, 20, 38, 0.94);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-small);
}

.tech-node:nth-child(3) {
  top: 12%;
  left: 8%;
}

.tech-node:nth-child(4) {
  top: 20%;
  right: 0;
}

.tech-node:nth-child(5) {
  right: 10%;
  bottom: 12%;
}

.tech-node:nth-child(6) {
  bottom: 17%;
  left: 0;
}

/* ---------- Cards and grids ---------- */

.cards-grid,
.solutions-grid,
.services-grid,
.projects-grid,
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.card,
.solution-card,
.service-card,
.project-card,
.feature-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  padding: clamp(1.4rem, 3vw, 2rem);

  background: var(--gradient-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-small);

  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal);
}

.card::before,
.solution-card::before,
.service-card::before,
.project-card::before,
.feature-card::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;

  width: 100%;
  height: 3px;
  content: "";

  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.card:hover,
.solution-card:hover,
.service-card:hover,
.project-card:hover,
.feature-card:hover {
  border-color: rgba(0, 200, 255, 0.44);
  box-shadow: var(--shadow-large), var(--shadow-glow);
  transform: translateY(-8px);
}

.card:hover::before,
.solution-card:hover::before,
.service-card:hover::before,
.project-card:hover::before,
.feature-card:hover::before {
  transform: scaleX(1);
}

.card-icon,
.solution-icon,
.service-icon,
.feature-icon {
  display: grid;
  width: 3.3rem;
  height: 3.3rem;
  margin-bottom: 1.3rem;
  place-items: center;

  color: var(--color-primary-light);
  font-size: 1.35rem;

  background: rgba(0, 200, 255, 0.09);
  border: 1px solid rgba(0, 200, 255, 0.2);
  border-radius: 1rem;
}

.card h3,
.solution-card h3,
.service-card h3,
.project-card h3,
.feature-card h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.card p,
.solution-card p,
.service-card p,
.project-card p,
.feature-card p {
  margin-bottom: 0;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.25rem;

  color: var(--color-primary-light);
  font-size: 0.92rem;
  font-weight: 800;
}

.card-link:hover {
  color: var(--color-secondary);
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
}

.about-visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      rgba(0, 200, 255, 0.13),
      rgba(41, 242, 194, 0.04)
    ),
    var(--color-surface);

  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-large);
}

.about-visual::before {
  position: absolute;
  inset: 12%;
  content: "";

  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 28px,
      rgba(0, 200, 255, 0.07) 29px 30px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0 28px,
      rgba(0, 200, 255, 0.07) 29px 30px
    );

  border: 1px solid rgba(0, 200, 255, 0.25);
  border-radius: 50%;
  transform: perspective(500px) rotateX(62deg) rotateZ(25deg);
}

.about-content h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.check-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  color: var(--color-text-soft);
}

.check-list li::before {
  position: absolute;
  top: 0.15rem;
  left: 0;

  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;

  color: var(--color-bg);
  font-size: 0.78rem;
  font-weight: 900;
  content: "✓";

  background: var(--gradient-primary);
  border-radius: 50%;
}

/* ---------- Technologies ---------- */

.technology-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.technology-item,
.tech-tag {
  padding: 0.7rem 1rem;

  color: var(--color-text-soft);
  font-size: 0.9rem;
  font-weight: 700;

  background: rgba(13, 27, 47, 0.75);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);

  transition:
    color var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast);
}

.technology-item:hover,
.tech-tag:hover {
  color: var(--color-white);
  background: rgba(0, 200, 255, 0.1);
  border-color: rgba(0, 200, 255, 0.46);
}

/* ---------- Projects ---------- */

.project-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  background:
    linear-gradient(
      to top,
      rgba(5, 11, 24, 0.98),
      rgba(5, 11, 24, 0.35)
    ),
    linear-gradient(
      135deg,
      rgba(0, 200, 255, 0.18),
      rgba(41, 242, 194, 0.05)
    ),
    var(--color-surface);
}

.project-card .project-category {
  width: max-content;
  margin-bottom: auto;
  padding: 0.4rem 0.75rem;

  color: var(--color-primary-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  background: rgba(0, 200, 255, 0.08);
  border: 1px solid rgba(0, 200, 255, 0.2);
  border-radius: var(--radius-pill);
}

/* ---------- Contact ---------- */

.contact-wrapper {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 5rem);

  padding: clamp(1.5rem, 5vw, 4rem);

  background: var(--gradient-surface);
  border: 1px solid var(--color-border);
  border-radius: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-large);
}

.contact-info h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.contact-details {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  list-style: none;
}

.contact-details li {
  padding-bottom: 1rem;
  color: var(--color-text-soft);
  border-bottom: 1px solid var(--color-border);
}

.contact-details strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--color-white);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: var(--color-text-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  color: var(--color-text);

  background: rgba(5, 11, 24, 0.72);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);

  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

input,
select {
  min-height: 50px;
  padding-inline: 0.9rem;
}

textarea {
  min-height: 140px;
  padding: 0.9rem;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: var(--color-text-muted);
}

input:hover,
textarea:hover,
select:hover {
  border-color: rgba(0, 200, 255, 0.38);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 200, 255, 0.11);
}

/* ---------- Call to action ---------- */

.cta {
  padding-block: clamp(3rem, 8vw, 6rem);
}

.cta-box {
  position: relative;
  overflow: hidden;

  padding: clamp(2rem, 7vw, 5rem);
  text-align: center;

  background:
    radial-gradient(
      circle at top right,
      rgba(41, 242, 194, 0.22),
      transparent 32%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(0, 200, 255, 0.22),
      transparent 36%
    ),
    var(--color-surface);

  border: 1px solid rgba(0, 200, 255, 0.3);
  border-radius: 2rem;
  box-shadow: var(--shadow-large);
}

.cta-box h2 {
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 6vw, 4rem);
}

.cta-box p {
  max-width: 650px;
  margin: 0 auto 2rem;
}

/* ---------- Footer ---------- */

.site-footer,
footer {
  padding-block: 3rem 1.5rem;
  background: #030711;
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, 0.8fr);
  gap: 2rem;
}

.footer-description {
  max-width: 430px;
  margin-top: 1rem;
}

.footer-title {
  margin-bottom: 1rem;
  color: var(--color-white);
  font-size: 1rem;
}

.footer-links {
  display: grid;
  gap: 0.7rem;
  list-style: none;
}

.footer-links a {
  color: var(--color-text-soft);
  transition:
    color var(--transition-fast),
    padding-left var(--transition-fast);
}

.footer-links a:hover {
  padding-left: 0.35rem;
  color: var(--color-primary-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  margin-top: 2.5rem;
  padding-top: 1.5rem;

  color: var(--color-text-muted);
  font-size: 0.88rem;
  border-top: 1px solid var(--color-border);
}

/* ---------- Utility classes ---------- */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.text-center {
  text-align: center;
}

.margin-top {
  margin-top: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;

  padding: 0.45rem 0.75rem;

  color: var(--color-primary-light);
  font-size: 0.78rem;
  font-weight: 800;

  background: rgba(0, 200, 255, 0.08);
  border: 1px solid rgba(0, 200, 255, 0.2);
  border-radius: var(--radius-pill);
}

/* ---------- Animations ---------- */

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.hero-content,
.hero-visual {
  animation: float 7s ease-in-out infinite;
}

.hero-content {
  animation-delay: -3.5s;
}

/* ---------- Tablet ---------- */

@media (max-width: 960px) {
  .hero-grid,
  .hero .container,
  .about-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    max-width: 800px;
  }

  .hero-visual,
  .tech-visual {
    min-height: 360px;
  }

  .about-visual {
    min-height: 340px;
    order: 2;
  }

  .cards-grid,
  .solutions-grid,
  .services-grid,
  .projects-grid,
  .features-grid,
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

/* ---------- Mobile navigation and layout ---------- */

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(100% - 1.25rem, var(--container-width));
  }

  section {
    padding-block: 4rem;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;

    display: none;
    max-height: calc(100vh - var(--header-height));
    gap: 0;
    padding: 0.75rem 1rem 1.25rem;
    overflow-y: auto;

    background: rgba(5, 11, 24, 0.98);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-large);
  }

  .nav-links.is-open,
  .nav-links[data-open="true"] {
    display: grid;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.9rem 0.35rem;
    border-bottom: 1px solid rgba(104, 215, 255, 0.08);
  }

  .hero {
    text-align: center;
  }

  .hero-grid,
  .hero .container {
    gap: 2rem;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 14vw, 4.4rem);
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .stat {
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--color-border);
  }

  .hero-visual,
  .tech-visual {
    min-height: 310px;
  }

  .tech-core {
    width: 135px;
  }

  .tech-orbit {
    width: min(290px, 85vw);
  }

  .tech-node {
    min-width: 72px;
    font-size: 0.65rem;
  }

  .cards-grid,
  .solutions-grid,
  .services-grid,
  .projects-grid,
  .features-grid,
  .grid-2,
  .grid-3,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid > :first-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ---------- Small mobile ---------- */

@media (max-width: 480px) {
  .hero-actions,
  .hero-actions .button,
  .hero-actions .btn {
    width: 100%;
  }

  .button,
  .btn,
  button[type="submit"] {
    min-height: 50px;
  }

  .card,
  .solution-card,
  .service-card,
  .project-card,
  .feature-card {
    padding: 1.25rem;
  }

  .contact-wrapper {
    padding: 1.25rem;
  }

  .tech-node {
    display: none;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Print ---------- */

@media print {
  body {
    color: #000000;
    background: #ffffff;
  }

  header,
  nav,
  .menu-toggle,
  .hero-actions,
  .contact-form,
  footer {
    display: none !important;
  }

  section {
    padding-block: 1.5rem;
  }

  .card,
  .solution-card,
  .service-card,
  .project-card,
  .feature-card {
    color: #000000;
    background: #ffffff;
    border: 1px solid #cccccc;
    box-shadow: none;
  }

  p {
    color: #333333;
  }
}

/* HUONGQUYNH Group brand logo */
.brand-logo,
.site-header .brand-logo,
.site-footer .brand-logo {
    display: block;
    width: 78px;
    height: 78px;
    flex: 0 0 78px;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 760px) {
    .brand-logo,
    .site-header .brand-logo,
    .site-footer .brand-logo {
        width: 52px;
        height: 52px;
        flex: 0 0 52px;
    }
}

/* HQ LOGO START */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-logo,
.site-header .brand-logo,
.site-footer .brand-logo {
    display: block;
    width: 78px;
    height: 78px;
    min-width: 78px;
    flex: 0 0 78px;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 760px) {
    .brand {
        gap: 10px;
    }

    .brand-logo,
    .site-header .brand-logo,
    .site-footer .brand-logo {
        width: 52px;
        height: 52px;
        min-width: 52px;
        flex: 0 0 52px;
    }
}
/* HQ LOGO END */

/* HQ TYPOGRAPHY SYSTEM START */
:root {
    --hq-font-body: Arial, "Segoe UI", Helvetica, sans-serif;
    --hq-text-xs: 0.8125rem;
    --hq-text-sm: 0.9375rem;
    --hq-text-base: 1rem;
    --hq-text-lead: 1.125rem;
    --hq-text-card: 1.25rem;
    --hq-heading-sm: clamp(1.75rem, 3vw, 2.25rem);
    --hq-heading-md: clamp(2.25rem, 4vw, 3rem);
    --hq-heading-lg: clamp(3.75rem, 5.8vw, 4.5rem);
    --hq-line-tight: 1.08;
    --hq-line-heading: 1.16;
    --hq-line-body: 1.65;
    --hq-letter-tight: -0.035em;
    --hq-letter-label: 0.12em;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--hq-font-body);
    font-size: var(--hq-text-base);
    line-height: var(--hq-line-body);
    letter-spacing: 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    color: inherit;
    font-family: var(--hq-font-body);
    font-weight: 700;
    text-wrap: balance;
}

h1 {
    font-size: var(--hq-heading-lg);
    line-height: var(--hq-line-tight);
    letter-spacing: -0.045em;
}

h2 {
    font-size: var(--hq-heading-md);
    line-height: var(--hq-line-heading);
    letter-spacing: var(--hq-letter-tight);
}

h3 {
    font-size: var(--hq-text-card);
    line-height: 1.3;
    letter-spacing: -0.015em;
}

p, li, label, input, textarea, button {
    font-size: var(--hq-text-base);
}

.brand {
    font-size: 1.05rem;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.brand > span:last-child {
    font-size: 1.05rem;
    font-weight: 800;
}

.nav-links a {
    font-size: var(--hq-text-sm);
    font-weight: 600;
    line-height: 1.3;
}

.hero h1,
.industrial-hero h1 {
    max-width: 820px;
    margin-bottom: 0;
    font-size: var(--hq-heading-lg);
    font-weight: 720;
    line-height: var(--hq-line-tight);
    letter-spacing: -0.05em;
}

.hero h1 span,
.industrial-hero h1 span {
    display: block;
    margin-top: 0.12em;
    font-size: inherit;
    line-height: inherit;
}

.eyebrow,
.hero-eyebrow,
.section-label,
.project-category {
    font-size: var(--hq-text-xs);
    font-weight: 750;
    line-height: 1.55;
    letter-spacing: var(--hq-letter-label);
    text-transform: uppercase;
}

.hero-subtitle,
.hero-description {
    max-width: 700px;
    font-size: var(--hq-text-lead);
    line-height: 1.65;
}

.button,
button,
input[type="submit"] {
    font-family: inherit;
    font-size: var(--hq-text-sm);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
}

.hero-stats strong,
.hero-metrics dt,
.stat strong {
    font-size: 1.5rem;
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.hero-stats span,
.hero-metrics dd,
.stat span {
    font-size: var(--hq-text-sm);
    line-height: 1.45;
}

.section-heading {
    max-width: 820px;
}

.section-heading h2,
.about-content h2,
.contact-info h2,
.cta-box h2 {
    margin-bottom: 1.25rem;
    font-size: var(--hq-heading-md);
    font-weight: 700;
    line-height: var(--hq-line-heading);
    letter-spacing: var(--hq-letter-tight);
}

.section-heading > p:not(.section-label),
.about-content > p,
.contact-info > p,
.cta-box > p {
    font-size: var(--hq-text-base);
    line-height: var(--hq-line-body);
}

.solution-card h3,
.service-card h3,
.project-card h3,
.capability-item strong {
    margin-bottom: 0.75rem;
    font-size: var(--hq-text-card);
    font-weight: 700;
    line-height: 1.3;
}

.solution-card p,
.service-card p,
.project-card p,
.capability-item > span:last-child,
.check-list li,
.contact-details li,
.footer-description,
.footer-links a {
    font-size: var(--hq-text-base);
    line-height: 1.6;
}

.contact-form label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: var(--hq-text-sm);
    font-weight: 650;
}

.contact-form input,
.contact-form textarea {
    font-size: var(--hq-text-base);
    line-height: 1.45;
}

.footer-title {
    font-size: var(--hq-text-base);
    font-weight: 750;
    line-height: 1.3;
}

.footer-bottom {
    font-size: var(--hq-text-sm);
    line-height: 1.5;
}

@media (max-width: 960px) {
    :root {
        --hq-heading-lg: clamp(3.25rem, 8vw, 4rem);
        --hq-heading-md: clamp(2rem, 5vw, 2.65rem);
    }

    .hero-subtitle,
    .hero-description {
        font-size: 1.0625rem;
    }
}

@media (max-width: 760px) {
    :root {
        --hq-text-base: 0.96875rem;
        --hq-text-lead: 1rem;
        --hq-text-card: 1.125rem;
        --hq-heading-lg: clamp(2.5rem, 11vw, 3rem);
        --hq-heading-md: clamp(1.875rem, 8vw, 2.25rem);
    }

    body { line-height: 1.6; }

    .brand > span:last-child {
        max-width: 150px;
        font-size: 0.86rem;
        line-height: 1.08;
    }

    .nav-links a { font-size: 1rem; }

    .hero h1,
    .industrial-hero h1 {
        font-size: var(--hq-heading-lg);
        line-height: 1.02;
        letter-spacing: -0.04em;
    }

    .hero-subtitle,
    .hero-description { font-size: var(--hq-text-lead); }

    .hero-stats strong,
    .hero-metrics dt,
    .stat strong { font-size: 1.3rem; }

    .section-heading h2,
    .about-content h2,
    .contact-info h2,
    .cta-box h2 { font-size: var(--hq-heading-md); }
}

@media (max-width: 390px) {
    :root {
        --hq-heading-lg: 2.35rem;
        --hq-heading-md: 1.8rem;
    }

    .brand > span:last-child {
        max-width: 125px;
        font-size: 0.78rem;
    }
}
/* HQ TYPOGRAPHY SYSTEM END */
/* ==================================================
   HUONGQUYNH GROUP - INDUSTRIAL HERO PLACEHOLDER
   Temporary gradient background
   ================================================== */

.industrial-hero {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    isolation: isolate;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 76% 45%,
            rgba(0, 204, 204, 0.22) 0,
            rgba(0, 204, 204, 0.08) 22%,
            transparent 48%
        ),
        linear-gradient(
            118deg,
            #000028 0%,
            #06103d 48%,
            #002b46 100%
        );
}

.industrial-hero .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 40, 0.76) 0%,
            rgba(0, 0, 40, 0.34) 56%,
            rgba(0, 0, 40, 0.10) 100%
        );
}

.industrial-hero > .container {
    position: relative;
    z-index: 1;
}
/* Header adjustment for 78px desktop logo */
@media (min-width: 761px) {
    *root {
        --header-height: 96*x;
    }

    .site-header,
    .s*te-header .navbar {
        min-he*ght: var(--header-height);
    }
}*
/* Header navigation for complete website structure */
.navbar {
    gap: 2rem;
}

.nav-links {
    flex: 1;
    justify-content: flex-end;
    gap: clamp(0.75rem, 1.35vw, 1.5rem);
}

.nav-links a {
    font-size: clamp(0.78rem, 0.86vw, 0.94rem);
    white-space: nowrap;
}

@media (max-width: 1180px) {
    .nav-links {
        gap: 0.85rem;
    }

    .nav-links a {
        font-size: 0.78rem;
    }

    .brand > span:last-child {
        max-width: 145px;
    }
}

@media (max-width: 960px) {
    .menu-toggle {
        display: grid;
        place-items: center;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        display: none;
        max-height: calc(100vh - var(--header-height));
        padding: 0.75rem 1rem 1.25rem;
        overflow-y: auto;
        background: rgba(5, 11, 24, 0.98);
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-large);
    }

    .nav-links.is-open,
    .nav-links[data-open="true"] {
        display: grid;
    }

    .nav-links li,
    .nav-links a {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 0.9rem 0.35rem;
        font-size: 1rem;
        border-bottom: 1px solid rgba(104, 215, 255, 0.08);
    }
}
/* Visible industrial hero redesign */
.industrial-hero {
    min-height: min(760px, calc(100svh - var(--header-height)));
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 40, 0.98) 0%,
            rgba(3, 25, 60, 0.94) 52%,
            rgba(0, 73, 100, 0.88) 100%
        );
}

.industrial-hero::before {
    top: 50%;
    right: -8%;
    width: min(680px, 55vw);
    background:
        radial-gradient(
            circle,
            rgba(0, 204, 204, 0.22),
            rgba(0, 110, 150, 0.09) 42%,
            transparent 70%
        );
    transform: translateY(-50%);
}

.industrial-hero > .container {
    grid-template-columns: minmax(0, 1.22fr) minmax(340px, 0.78fr);
}

.industrial-hero .hero-content {
    animation: none;
}

.industrial-hero .hero-visual {
    animation: none;
}

.industrial-hero .eyebrow {
    color: #6de3ff;
}

.industrial-hero h1 {
    max-width: 850px;
}

.industrial-hero .hero-subtitle {
    max-width: 720px;
    color: rgba(244, 248, 255, 0.78);
}

@media (max-width: 960px) {
    .industrial-hero > .container {
        grid-template-columns: 1fr;
    }
}
/* ==================================================
   HUONGQUYNH GROUP - ADDITIONAL WEBSITE SECTIONS
   ================================================== */

.industries-section,
.partners-section,
.insights-section {
    padding-block: clamp(4.5rem, 9vw, 7rem);
    scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;

    margin-bottom: 1rem;

    color: var(--color-primary-light);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-kicker::before {
    width: 2rem;
    height: 2px;
    content: "";
    background: var(--gradient-primary);
}

/* Industries */

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.industry-item {
    position: relative;
    min-height: 260px;
    padding: 2rem;
    overflow: hidden;

    background: var(--gradient-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-small);

    transition:
        transform var(--transition-normal),
        border-color var(--transition-normal),
        box-shadow var(--transition-normal);
}

.industry-item::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;

    height: 3px;
    content: "";
    background: var(--gradient-primary);
}

.industry-item:hover {
    border-color: rgba(0, 200, 255, 0.44);
    box-shadow: var(--shadow-large), var(--shadow-glow);
    transform: translateY(-7px);
}

.industry-number {
    color: var(--color-primary-light);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.industry-item h3 {
    margin: 4.5rem 0 1rem;
    font-size: var(--hq-text-card);
}

.industry-item p {
    margin-bottom: 0;
}

/* Partners */

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.partner-placeholder {
    display: grid;
    min-height: 150px;
    place-items: center;
    padding: 1.5rem;

    color: var(--color-text-muted);
    text-align: center;
    font-weight: 700;

    background:
        linear-gradient(
            145deg,
            rgba(18, 37, 64, 0.8),
            rgba(7, 17, 34, 0.92)
        );

    border: 1px dashed rgba(104, 215, 255, 0.35);
    border-radius: var(--radius-medium);

    transition:
        color var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast);
}

.partner-placeholder:hover {
    color: var(--color-primary-light);
    border-color: rgba(0, 200, 255, 0.7);
    transform: translateY(-4px);
}

/* Insights */

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.insight-card {
    min-width: 0;
    overflow: hidden;

    background: var(--gradient-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-small);

    transition:
        transform var(--transition-normal),
        border-color var(--transition-normal),
        box-shadow var(--transition-normal);
}

.insight-card:hover {
    border-color: rgba(0, 200, 255, 0.44);
    box-shadow: var(--shadow-large), var(--shadow-glow);
    transform: translateY(-7px);
}

.content-placeholder {
    display: grid;
    min-height: 230px;
    place-items: center;
    padding: 1.5rem;

    color: var(--color-primary-light);
    text-align: center;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    background:
        radial-gradient(
            circle at 72% 28%,
            rgba(41, 242, 194, 0.18),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            rgba(0, 200, 255, 0.18),
            rgba(5, 11, 24, 0.92)
        );

    border-bottom: 1px solid var(--color-border);
}

.insight-body {
    padding: 1.75rem;
}

.insight-category {
    color: var(--color-primary-light);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.insight-body h3 {
    margin: 0.85rem 0;
    font-size: var(--hq-text-card);
}

.insight-body p {
    margin-bottom: 1rem;
}

.insight-body a {
    display: inline-flex;
    align-items: center;
    color: var(--color-primary-light);
    font-weight: 800;
}

.insight-body a:hover {
    color: var(--color-secondary);
}

/* Anchor positioning below sticky header */

#home,
#about,
#solutions,
#services,
#industries,
#projects,
#partners,
#insights,
#contact {
    scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

/* Responsive layout */

@media (max-width: 1100px) {
    .industries-grid,
    .partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 700px) {
    .industries-grid,
    .partners-grid,
    .insights-grid {
        grid-template-columns: 1fr;
    }

    .industry-item {
        min-height: auto;
    }

    .industry-item h3 {
        margin-top: 2.5rem;
    }
}
/* Final anchor offset for sticky header */
html {
    scroll-padding-top: calc(var(--header-height) + 24px);
}

#home,
#about,
#solutions,
#services,
#industries,
#projects,
#partners,
#insights,
#contact {
    scroll-margin-top: calc(var(--header-height) + 24px);
}
/* ==================================================
   FOOTER FINAL THREE-COLUMN LAYOUT
   ================================================== */

@media (min-width: 961px) {
    .site-footer .footer-grid {
        display: grid;
        grid-template-columns:
            minmax(360px, 1.45fr)
            minmax(240px, 0.8fr)
            minmax(220px, 0.7fr);
        align-items: start;
        gap: clamp(3rem, 6vw, 6rem);
        width: 100%;
    }

    .site-footer .footer-grid > div {
        min-width: 0;
    }

    .site-footer .footer-grid > div:first-child {
        grid-column: auto;
    }
}

.site-footer .footer-bottom {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

@media (max-width: 960px) {
    .site-footer .footer-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem;
    }

    .site-footer .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .site-footer .footer-grid > div:first-child {
        grid-column: auto;
    }

    .site-footer .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
    }
}
/* ==================================================
   FOOTER TOP ALIGNMENT FIX
   Can thang hang ba cot tren man hinh may tinh
   ================================================== */

@media (min-width: 961px) {
    .site-footer .footer-grid {
        display: grid !important;
        grid-template-columns:
            minmax(380px, 1.4fr)
            minmax(260px, 0.8fr)
            minmax(220px, 0.65fr) !important;
        align-items: start !important;
        column-gap: clamp(4rem, 7vw, 7rem);
    }

    .site-footer .footer-grid > div {
        min-width: 0;
        align-self: start;
        margin: 0;
        padding: 0;
    }

    .site-footer .footer-grid > div:first-child {
        grid-column: auto !important;
    }

    .site-footer .footer-grid > div:first-child .brand {
        margin: -0.35rem 0 0;
        padding: 0;
        align-items: flex-start;
    }

    .site-footer .footer-grid .footer-title {
        margin: 0 0 1rem;
        padding: 0;
        line-height: 1.2;
    }

    .site-footer .footer-grid .brand-logo {
        margin: 0;
    }
}
/* ==================================================
   FOOTER TOP ALIGNMENT FIX
   Can thang hang ba cot tren man hinh may tinh
   ================================================== */

@media (min-width: 961px) {
    .site-footer .footer-grid {
        display: grid !important;
        grid-template-columns:
            minmax(380px, 1.4fr)
            minmax(260px, 0.8fr)
            minmax(220px, 0.65fr) !important;
        align-items: start !important;
        column-gap: clamp(4rem, 7vw, 7rem);
    }

    .site-footer .footer-grid > div {
        min-width: 0;
        align-self: start;
        margin: 0;
        padding: 0;
    }

    .site-footer .footer-grid > div:first-child {
        grid-column: auto !important;
    }

    .site-footer .footer-grid > div:first-child .brand {
        margin: -0.35rem 0 0;
        padding: 0;
        align-items: flex-start;
    }

    .site-footer .footer-grid .footer-title {
        margin: 0 0 1rem;
        padding: 0;
        line-height: 1.2;
    }

    .site-footer .footer-grid .brand-logo {
        margin: 0;
    }
}
/* ==================================================
   FOOTER TOP ALIGNMENT FIX
   Can thang hang ba cot tren man hinh may tinh
   ================================================== */

@media (min-width: 961px) {
    .site-footer .footer-grid {
        display: grid !important;
        grid-template-columns:
            minmax(380px, 1.4fr)
            minmax(260px, 0.8fr)
            minmax(220px, 0.65fr) !important;
        align-items: start !important;
        column-gap: clamp(4rem, 7vw, 7rem);
    }

    .site-footer .footer-grid > div {
        min-width: 0;
        align-self: start;
        margin: 0;
        padding: 0;
    }

    .site-footer .footer-grid > div:first-child {
        grid-column: auto !important;
    }

    .site-footer .footer-grid > div:first-child .brand {
        margin: -0.35rem 0 0;
        padding: 0;
        align-items: flex-start;
    }

    .site-footer .footer-grid .footer-title {
        margin: 0 0 1rem;
        padding: 0;
        line-height: 1.2;
    }

    .site-footer .footer-grid .brand-logo {
        margin: 0;
    }
}
/* ==================================================
   FOOTER BRAND LOGO POSITION FIX
   Can giua logo va ten thuong hieu
   ================================================== */

@media (min-width: 961px) {
    .site-footer .footer-grid > div:first-child .brand {
        display: inline-flex;
        align-items: center !important;
        justify-content: flex-start;
        gap: 14px;

        min-height: 78px;
        margin: 0 !important;
        padding: 0 !important;
    }

    .site-footer .footer-grid > div:first-child .brand-logo {
        display: block;
        width: 78px;
        height: 78px;
        min-width: 78px;
        flex: 0 0 78px;

        margin: 0 !important;
        padding: 0;
        object-fit: contain;
        object-position: center;
        transform: none !important;
    }

    .site-footer .footer-grid > div:first-child .brand > span:last-child {
        display: block;
        margin: 0;
        padding: 0;
        line-height: 1.15;
    }
}


/* ==================================================
   FOOTER BRAND LOGO POSITION FIX
   ================================================== */

@media (min-width: 961px) {
    .site-footer .footer-grid > div:first-child .brand {
        display: inline-flex;
        min-height: 78px;
        align-items: center !important;
        justify-content: flex-start;
        gap: 14px;
        margin: 0 !important;
        padding: 0 !important;
    }

    .site-footer .footer-grid > div:first-child .brand-logo {
        display: block;
        width: 78px;
        height: 78px;
        min-width: 78px;
        flex: 0 0 78px;
        margin: 0 !important;
        padding: 0;
        object-fit: contain;
        object-position: center;
        transform: translateY(-4px) !important;
    }

    .site-footer .footer-grid > div:first-child .brand > span:last-child {
        display: block;
        margin: 0;
        padding: 0;
        line-height: 1.15;
    }
}
/* FOOTER BRAND LOGO POSITION FIX END */
