:root {
  --bg: #f5f9fc;
  --bg-soft: #edf6fb;
  --surface: #ffffff;
  --surface-2: #eaf7f7;
  --text: #102a43;
  --muted: #5d7183;
  --primary: #087f8c;
  --primary-dark: #05616b;
  --secondary: #1479c9;
  --accent: #e0a52b;
  --danger: #d94f68;
  --border: rgba(16, 42, 67, 0.12);
  --shadow: 0 24px 70px rgba(28, 75, 105, 0.13);
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1180px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background:
    radial-gradient(circle at 85% 10%, rgba(20, 121, 201, 0.11), transparent 30%),
    radial-gradient(circle at 10% 55%, rgba(8, 127, 140, 0.08), transparent 25%),
    var(--bg);
  color: var(--text);
  font-family: "Be Vietnam Pro", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(20, 121, 201, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 121, 201, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

ul {
  list-style: none;
}

::selection {
  color: #02120f;
  background: var(--primary);
}

:focus-visible {
  outline: 3px solid rgba(56, 189, 248, 0.7);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-header.left {
  margin-inline: 0;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  content: "";
  background: currentColor;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.55rem, 6vw, 5.15rem);
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.2rem;
}

.lead {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.text-gradient {
  color: transparent;
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-brand {
  display: inline-block;
  color: #ffffff;
  background: linear-gradient(120deg, #087f8c, #1479c9);
  padding: 8px 18px 10px;
  margin-bottom: 9px;
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(20, 121, 201, 0.2);
}

.btn {
  display: inline-flex;
  min-height: 50px;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 750;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 12px 35px rgba(8, 127, 140, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 16px 40px rgba(8, 127, 140, 0.3);
}

.btn-outline {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.72);
}

.btn-outline:hover {
  border-color: rgba(45, 212, 191, 0.55);
  background: rgba(8, 127, 140, 0.08);
}

.btn-sm {
  min-height: 42px;
  padding: 9px 16px;
  font-size: 0.85rem;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 10px 14px;
  color: #001814;
  background: var(--primary);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.scrolled {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.96);
}

.navbar {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  font-size: 0.96rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.logo-mark {
  position: relative;
  display: grid;
  width: 52px;
  height: 42px;
  flex: 0 0 52px;
  font-size: 0.78rem;
  color: #03231f;
  background: linear-gradient(145deg, var(--primary), var(--secondary));
  border-radius: 12px;
  place-items: center;
  box-shadow: 0 8px 24px rgba(45, 212, 191, 0.22);
}

.logo-mark::after {
  position: absolute;
  inset: 5px;
  content: "";
  border: 1px solid rgba(2, 32, 28, 0.3);
  border-radius: 8px;
}

.logo small {
  display: block;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-links a:not(.btn) {
  padding: 10px 14px;
  color: var(--muted);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:not(.btn):hover,
.nav-links a.active:not(.btn) {
  color: var(--text);
  background: rgba(45, 212, 191, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  place-items: center;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - var(--header-height));
  align-items: center;
  overflow: hidden;
  padding: 70px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 70px;
  align-items: center;
}

.hero-copy p {
  max-width: 690px;
  margin: 24px 0 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 36px;
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-trust span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.hero-trust span::before {
  width: 7px;
  height: 7px;
  content: "";
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
}

.tech-visual {
  position: relative;
  min-height: 500px;
}

.visual-card {
  position: absolute;
  inset: 8% 0 5% 8%;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(231, 246, 250, 0.9));
  border-radius: 32px;
  box-shadow: var(--shadow);
  transform: perspective(1000px) rotateY(-5deg) rotateX(3deg);
}

.visual-card::before {
  position: absolute;
  width: 220px;
  height: 220px;
  content: "";
  background: rgba(45, 212, 191, 0.13);
  border-radius: 50%;
  filter: blur(45px);
  transform: translate(170px, -110px);
}

.board {
  position: relative;
  height: 100%;
  border: 1px solid rgba(45, 212, 191, 0.2);
  background:
    linear-gradient(90deg, transparent 49%, rgba(45, 212, 191, 0.08) 50%, transparent 51%),
    linear-gradient(transparent 49%, rgba(45, 212, 191, 0.08) 50%, transparent 51%),
    #dff4f3;
  background-size: 42px 42px;
  border-radius: 22px;
}

.chip {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 145px;
  height: 145px;
  color: var(--primary);
  border: 10px solid #b7d9df;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(8, 127, 140, 0.35), 0 22px 60px rgba(28, 75, 105, 0.18);
  transform: translate(-50%, -50%);
  place-items: center;
}

.chip::before,
.chip::after {
  position: absolute;
  width: 180px;
  height: 7px;
  content: "";
  border-top: 2px dashed rgba(56, 189, 248, 0.35);
  border-bottom: 2px dashed rgba(56, 189, 248, 0.35);
}

.chip::after {
  transform: rotate(90deg);
}

.chip strong {
  z-index: 1;
  font-size: 1.7rem;
}

.node {
  position: absolute;
  width: 15px;
  height: 15px;
  background: var(--secondary);
  border: 4px solid #d7eef1;
  border-radius: 50%;
  box-shadow: 0 0 18px var(--secondary);
}

.node:nth-child(2) { top: 18%; left: 18%; }
.node:nth-child(3) { top: 24%; right: 14%; background: var(--accent); box-shadow: 0 0 18px var(--accent); }
.node:nth-child(4) { bottom: 16%; left: 20%; background: var(--primary); box-shadow: 0 0 18px var(--primary); }
.node:nth-child(5) { right: 21%; bottom: 21%; }

.floating-badge {
  position: absolute;
  right: -2%;
  bottom: 4%;
  padding: 17px 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.floating-badge strong {
  display: block;
  color: var(--primary);
  font-size: 1.15rem;
}

.stats-grid,
.services-grid,
.projects-grid,
.values-grid,
.team-grid,
.contact-grid {
  display: grid;
  gap: 22px;
}

.stats-grid {
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 26px;
  text-align: center;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
}

.stat strong {
  display: block;
  margin-bottom: 6px;
  color: var(--primary);
  font-size: 2rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.87rem;
}

.services-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(238, 248, 251, 0.92));
  border-radius: var(--radius);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  border-color: rgba(45, 212, 191, 0.38);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

.icon-box {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  color: var(--primary);
  border: 1px solid rgba(45, 212, 191, 0.2);
  background: rgba(45, 212, 191, 0.08);
  border-radius: 15px;
  font-size: 1.45rem;
  place-items: center;
}

.card h3 {
  margin-bottom: 10px;
}

.card p,
.card li {
  color: var(--muted);
  font-size: 0.92rem;
}

.card-list {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.card-list li {
  display: flex;
  gap: 8px;
}

.card-list li::before {
  color: var(--primary);
  content: "✓";
  font-weight: 800;
}

.section-alt {
  border-block: 1px solid rgba(148, 211, 229, 0.08);
  background: rgba(235, 246, 250, 0.72);
}

.projects-grid {
  grid-template-columns: repeat(3, 1fr);
}

.project-card {
  padding: 0;
}

.project-thumb {
  position: relative;
  display: grid;
  height: 220px;
  overflow: hidden;
  background: #d9eef3;
  place-items: center;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.project-card:hover .project-thumb img {
  transform: scale(1.045);
}

.project-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  color: var(--primary-dark);
  background:
    radial-gradient(circle at 65% 25%, rgba(20, 121, 201, 0.18), transparent 22%),
    linear-gradient(140deg, #d9f1f3, #eaf5fb);
  font-size: 4rem;
  place-items: center;
}

.project-category {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 11px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(45, 212, 191, 0.35);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 750;
  backdrop-filter: blur(8px);
}

.project-content {
  padding: 24px;
}

.project-content p {
  min-height: 58px;
  margin: 10px 0 18px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}

.tag {
  padding: 5px 9px;
  color: var(--primary-dark);
  background: rgba(56, 189, 248, 0.07);
  border: 1px solid rgba(56, 189, 248, 0.13);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 650;
}

.project-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 750;
}

.project-link:hover {
  gap: 12px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 38px;
}

.filter-btn {
  padding: 10px 17px;
  color: var(--muted);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.filter-btn:hover,
.filter-btn.active {
  color: #06211d;
  border-color: var(--primary);
  background: var(--primary);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
  counter-reset: process;
}

.process-item {
  position: relative;
  padding: 10px 10px 10px 78px;
  counter-increment: process;
}

.process-item::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 56px;
  height: 56px;
  color: var(--primary);
  content: "0" counter(process);
  border: 1px solid rgba(45, 212, 191, 0.28);
  background: rgba(45, 212, 191, 0.07);
  border-radius: 16px;
  font-weight: 850;
  place-items: center;
}

.process-item p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.88rem;
}

.cta-box {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 35px;
  align-items: center;
  overflow: hidden;
  padding: 52px;
  border: 1px solid rgba(45, 212, 191, 0.25);
  background: linear-gradient(135deg, #dff4f2, #e7f1fb);
  border-radius: 28px;
}

.cta-box::after {
  position: absolute;
  right: -70px;
  bottom: -100px;
  width: 250px;
  height: 250px;
  content: "";
  border: 45px solid rgba(45, 212, 191, 0.06);
  border-radius: 50%;
}

.cta-box p {
  max-width: 730px;
  margin-top: 10px;
  color: var(--muted);
}

.page-hero {
  padding: 105px 0 72px;
  text-align: center;
}

.page-hero .lead {
  max-width: 720px;
  margin: 20px auto 0;
}

.breadcrumb {
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.82rem;
}

.breadcrumb span {
  color: var(--primary);
}

.about-grid,
.contact-layout,
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-visual {
  position: relative;
  display: grid;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, #d9f1f3, #e8f1fb);
  border-radius: 28px;
  place-items: center;
}

.about-visual .big-icon {
  color: var(--primary);
  font-size: 7rem;
  filter: drop-shadow(0 0 30px rgba(45, 212, 191, 0.25));
}

.about-copy p + p {
  margin-top: 16px;
}

.about-copy p {
  color: var(--muted);
}

.values-grid {
  grid-template-columns: repeat(4, 1fr);
}

.team-grid {
  grid-template-columns: repeat(3, 1fr);
}

.member-avatar {
  display: grid;
  width: 84px;
  height: 84px;
  margin-bottom: 20px;
  color: var(--primary);
  background: linear-gradient(145deg, #d7f0ef, #e4eff9);
  border: 1px solid rgba(45, 212, 191, 0.24);
  border-radius: 24px;
  font-size: 2rem;
  font-weight: 850;
  place-items: center;
}

.member-role {
  display: block;
  margin: 7px 0 12px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
}

.contact-layout {
  align-items: start;
}

.contact-grid {
  grid-template-columns: 1fr 1fr;
}

.contact-card {
  display: flex;
  min-height: 145px;
  gap: 16px;
  align-items: flex-start;
}

.contact-card .icon-box {
  flex: 0 0 auto;
  width: 45px;
  height: 45px;
  margin: 0;
  font-size: 1.1rem;
}

.contact-card a {
  display: inline-block;
  margin-top: 7px;
  color: var(--primary);
  font-size: 0.87rem;
  font-weight: 700;
}

.form-card {
  padding: 34px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.84rem;
  font-weight: 700;
}

.form-control {
  width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  border: 1px solid var(--border);
  outline: none;
  background: #f8fcfe;
  border-radius: 11px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea.form-control {
  min-height: 125px;
  resize: vertical;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.08);
}

.form-note {
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.75rem;
}

.detail-layout {
  align-items: start;
}

.detail-main,
.detail-sidebar {
  min-width: 0;
}

.detail-layout {
  grid-template-columns: minmax(0, 1fr) 330px;
}

.detail-cover {
  display: grid;
  min-height: 430px;
  margin-bottom: 32px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, #d9f1f3, #e8f1fb);
  border-radius: 26px;
  place-items: center;
}

.detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-section {
  margin-bottom: 38px;
}

.detail-section h2 {
  font-size: 1.55rem;
}

.detail-section p,
.detail-section li {
  color: var(--muted);
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.feature-list li {
  padding: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 11px;
}

.feature-list li::before {
  margin-right: 8px;
  color: var(--primary);
  content: "✓";
  font-weight: 800;
}

.sidebar-box {
  position: sticky;
  top: calc(var(--header-height) + 22px);
  padding: 25px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 20px;
}

.meta-list {
  display: grid;
  gap: 15px;
  margin: 20px 0;
}

.meta-list li {
  padding-bottom: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  font-size: 0.84rem;
}

.meta-list strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 70px 20px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed var(--border);
  border-radius: 20px;
}

.site-footer {
  padding: 62px 0 24px;
  border-top: 1px solid var(--border);
  background: #eaf3f7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, 0.7fr) 1fr;
  gap: 45px;
  margin-bottom: 42px;
}

.footer-brand p {
  max-width: 370px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-title {
  margin-bottom: 16px;
  font-size: 0.92rem;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-links li {
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding-top: 23px;
  color: #718894;
  border-top: 1px solid var(--border);
  font-size: 0.76rem;
}

.zalo-float,
.back-to-top {
  position: fixed;
  right: 22px;
  z-index: 900;
  display: grid;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
  place-items: center;
}

.zalo-float {
  bottom: 24px;
  color: white;
  background: #0878f9;
  font-size: 0.72rem;
  font-weight: 900;
}

.zalo-float::before {
  position: absolute;
  inset: -6px;
  content: "";
  border: 1px solid rgba(8, 120, 249, 0.55);
  border-radius: inherit;
  animation: pulse 2s infinite;
}

.back-to-top {
  right: 28px;
  bottom: 90px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  opacity: 0;
  background: var(--surface-2);
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes pulse {
  0% { opacity: 0.8; transform: scale(0.92); }
  70%, 100% { opacity: 0; transform: scale(1.35); }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    right: 20px;
    left: 20px;
    display: grid;
    padding: 16px;
    border: 1px solid var(--border);
    opacity: 0;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 18px;
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    visibility: hidden;
    transition: 0.2s ease;
  }

  .nav-links.open {
    opacity: 1;
    transform: none;
    visibility: visible;
  }

  .nav-links a:not(.btn) {
    padding: 13px;
  }

  .hero-grid,
  .about-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 20px;
  }

  .hero {
    min-height: auto;
  }

  .tech-visual {
    min-height: 420px;
  }

  .services-grid,
  .projects-grid,
  .process-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .logo-text small {
    display: none;
  }

  .hero {
    padding: 58px 0;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.7rem);
  }

  .hero-trust {
    display: grid;
    gap: 10px;
  }

  .tech-visual {
    min-height: 340px;
  }

  .visual-card {
    inset: 5% 2%;
    padding: 20px;
    transform: none;
  }

  .chip {
    width: 110px;
    height: 110px;
  }

  .chip::before,
  .chip::after {
    width: 140px;
  }

  .floating-badge {
    right: 0;
    bottom: 0;
  }

  .services-grid,
  .projects-grid,
  .process-grid,
  .team-grid,
  .contact-grid,
  .detail-layout,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .cta-box {
    grid-template-columns: 1fr;
    padding: 34px 25px;
  }

  .cta-box .btn {
    width: fit-content;
  }

  .page-hero {
    padding: 76px 0 50px;
  }

  .detail-cover {
    min-height: 280px;
  }

  .sidebar-box {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .stats-grid,
  .values-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .form-card .btn {
    width: 100%;
  }

  .form-card,
  .card {
    padding: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
