/* ══ Agency Sáng Tạo — BOLD-EDITORIAL ══ */
/* Font: Syne (all weights) | Tone: mixed (light bg + dark hero/sections) | Identity: BOLD-EDITORIAL */
/* Prefix class: ag- | Accent: Amber #f59e0b | Nav: Nav-8 Underline-Active */

:root {
  --bg: #f5f5f0;
  --surface: #fff;
  --dark: #111111;
  --dark2: #1a1a1a;
  --border: #e0e0d8;
  --border-light: #ebebE4;
  --text: #111111;
  --text-2: #555550;
  --text-3: #999990;
  --accent: #f59e0b;
  --accent-h: #d97706;
  --accent-light: #fffbeb;
  --accent-mid: #fbbf24;
  --warm: #f0f0e8;
  --warm2: #e5e5de;
  --danger: #ef4444;
  --sans: 'Syne', sans-serif;
  --bs-body-font-family: var(--sans);
  --bs-body-bg: var(--bg);
  --bs-body-color: var(--text);
  --bs-border-color: var(--border);
}

/* ── Base ── */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

a {
  text-decoration: none;
}

::-webkit-scrollbar {
  width: 3px;
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
}

/* ── Layout ── */
.wd-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}

.ag-sec-pad {
  padding: clamp(80px, 10vw, 128px) 0;
}

/* ── Reveal animation ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .75s cubic-bezier(.16, 1, .3, 1), transform .75s cubic-bezier(.16, 1, .3, 1);
}

[data-reveal].visible {
  opacity: 1;
  transform: none;
}

[data-reveal-d1] {
  transition-delay: .1s;
}

[data-reveal-d2] {
  transition-delay: .2s;
}

[data-reveal-d3] {
  transition-delay: .3s;
}

/* ══════════════════════════════════════
   NAV — Nav-8: Underline-Active minimal
══════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: var(--bg);
  transition: background .3s, backdrop-filter .3s;
}

#nav.scrolled {
  background: rgba(245, 245, 240, .95);
  backdrop-filter: blur(12px);
}

.ag-nav-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ag-logo {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 3px;
  flex-shrink: 0;
}

.ag-logo span {
  color: var(--accent);
}

.ag-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ag-nav-links a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  padding-bottom: 4px;
  transition: color .2s;
}

.ag-nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.ag-nav-links a:hover {
  color: var(--text);
}

.ag-nav-links a:hover::after,
.ag-nav-links a.active::after {
  transform: scaleX(1);
}

.ag-nav-links a.active {
  color: var(--text);
}

.ag-nav-cta {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  background: var(--text);
  color: #fff;
  padding: 11px 24px;
  border-radius: 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.ag-nav-cta:hover {
  background: var(--accent);
  color: var(--text);
}

/* Hamburger */
.ag-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: transparent;
}

.ag-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 0;
  transition: all .3s;
}

.ag-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.ag-burger.open span:nth-child(2) {
  opacity: 0;
}

.ag-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.ag-nav-mob {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 490;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.ag-nav-mob.open {
  opacity: 1;
  pointer-events: auto;
}

.ag-nav-mob a {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 800;
  color: rgba(255, 255, 255, .55);
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color .2s;
}

.ag-nav-mob a:hover {
  color: var(--accent);
}

.ag-nav-mob .mob-cta {
  font-size: 13px;
  font-weight: 700;
  background: var(--accent);
  color: var(--dark);
  padding: 14px 40px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 12px;
}

@media (max-width: 768px) {

  .ag-nav-links,
  .ag-nav-cta {
    display: none;
  }

  .ag-burger {
    display: flex;
  }
}

/* ══════════════════════════════════════
   HERO — H5: Bold Typography Only
   Full dark bg, mega heading, NO image
══════════════════════════════════════ */
.ag-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--dark);
  padding-top: 68px;
  padding-bottom: clamp(48px, 8vw, 80px);
  overflow: hidden;
  position: relative;
}

.ag-hero-topbar {
  position: absolute;
  top: calc(68px + 32px);
  left: 0;
  right: 0;
}

.ag-hero-topbar .wd-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ag-hero-tagline {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.ag-hero-year {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, .35);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.ag-hero-body {
  margin-top: auto;
}

.ag-hero-headline {
  font-family: var(--sans);
  font-size: clamp(72px, 12vw, 160px);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -4px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 0;
}

.ag-hero-headline .hl-outline {
  -webkit-text-stroke: 2px rgba(255, 255, 255, .7);
  color: transparent;
  display: block;
}

.ag-hero-headline .hl-accent {
  color: var(--accent);
  display: block;
}

.ag-hero-headline .hl-white {
  color: #fff;
  display: block;
}

.ag-hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: clamp(32px, 4vw, 56px);
  gap: 24px;
}

.ag-hero-stats {
  display: flex;
  gap: clamp(24px, 4vw, 56px);
}

.ag-hero-stat {}

.ag-hero-stat-num {
  font-family: var(--sans);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -2px;
}

.ag-hero-stat-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, .35);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
}

.ag-hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ag-scroll-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, .3);
  text-transform: uppercase;
  letter-spacing: 2px;
  writing-mode: vertical-rl;
}

.ag-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .4), transparent);
  animation: ag-scroll-pulse 2s ease-in-out infinite;
}

@keyframes ag-scroll-pulse {

  0%,
  100% {
    opacity: .4;
    transform: scaleY(1);
  }

  50% {
    opacity: 1;
    transform: scaleY(.7);
  }
}

@media (max-width: 768px) {
  .ag-hero-headline {
    letter-spacing: -2px;
  }

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

  .ag-hero-scroll {
    display: none;
  }
}

/* ══════════════════════════════════════
   FEATURED WORK — MASONRY grid
══════════════════════════════════════ */
.ag-work-section {
  padding: clamp(48px, 6vw, 80px) 0;
  background: var(--bg);
}

.ag-work-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 24px;
}

.ag-section-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.ag-section-title {
  font-family: var(--sans);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.0;
  letter-spacing: -2px;
  text-transform: uppercase;
  margin: 0;
}

.ag-section-title em {
  font-style: normal;
  color: var(--accent);
}

.ag-view-all {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: color .2s;
  flex-shrink: 0;
}

.ag-view-all:hover {
  color: var(--text);
}

.ag-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 4px;
}

.ag-work-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--dark2);
}

.ag-work-item:nth-child(1) {
  grid-column: span 2;
}

.ag-work-item:nth-child(4) {
  grid-column: span 2;
}

.ag-work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s ease;
}

.ag-work-item:hover img {
  transform: scale(1.06);
}

.ag-work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .1) 50%, transparent 100%);
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.ag-work-item:hover .ag-work-overlay {
  opacity: 1;
}

.ag-work-cat {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.ag-work-name {
  font-family: var(--sans);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.ag-work-arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  transform: translate(4px, -4px);
  opacity: 0;
  transition: opacity .3s, transform .3s;
}

.ag-work-item:hover .ag-work-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

@media (max-width: 768px) {
  .ag-work-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 220px;
  }

  .ag-work-item:nth-child(1),
  .ag-work-item:nth-child(4) {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .ag-work-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .ag-work-item:nth-child(1),
  .ag-work-item:nth-child(4) {
    grid-column: span 1;
  }
}

/* ══════════════════════════════════════
   SERVICES — ALTERNATING-STRIPS (dark bg)
══════════════════════════════════════ */
.ag-services-section {
  background: var(--dark2);
  padding: clamp(80px, 10vw, 120px) 0;
}

.ag-services-header {
  margin-bottom: 64px;
}

.ag-services-header .ag-section-label {
  color: var(--accent);
}

.ag-services-header .ag-section-title {
  color: #fff;
}

.ag-service-strip {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 40px 0;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: start;
  gap: 32px;
  transition: background .25s;
  position: relative;
}

.ag-service-strip:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.ag-service-strip:hover {
  background: rgba(255, 255, 255, .03);
}

.ag-svc-num {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, .2);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-top: 4px;
}

.ag-svc-body {}

.ag-svc-name {
  font-family: var(--sans);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 12px;
  transition: color .2s;
}

.ag-service-strip:hover .ag-svc-name {
  color: var(--accent);
}

.ag-svc-desc {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, .45);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 16px;
}

.ag-svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ag-svc-tag {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, .35);
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 4px 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ag-svc-arrow {
  font-size: 24px;
  color: rgba(255, 255, 255, .2);
  padding-top: 4px;
  transition: color .2s, transform .2s;
  flex-shrink: 0;
}

.ag-service-strip:hover .ag-svc-arrow {
  color: var(--accent);
  transform: translate(4px, -4px);
}

@media (max-width: 640px) {
  .ag-service-strip {
    grid-template-columns: 40px 1fr;
  }

  .ag-svc-arrow {
    display: none;
  }
}

/* ══════════════════════════════════════
   PROCESS — HORIZONTAL-SCROLL
══════════════════════════════════════ */
.ag-process-section {
  background: var(--accent-light);
  padding: clamp(72px, 9vw, 112px) 0;
  overflow: hidden;
}

.ag-process-header {
  margin-bottom: 48px;
}

.ag-process-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
  margin: 0 calc(-1 * clamp(20px, 5vw, 80px));
  padding-left: clamp(20px, 5vw, 80px);
  padding-right: clamp(20px, 5vw, 80px);
}

.ag-process-track::-webkit-scrollbar {
  display: none;
}

.ag-process-step {
  flex: 0 0 340px;
  scroll-snap-align: start;
  padding: 40px 36px;
  border-left: 1px solid rgba(0, 0, 0, .08);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ag-process-step:last-child {
  border-right: 1px solid rgba(0, 0, 0, .08);
}

.ag-step-num {
  font-family: var(--sans);
  font-size: 80px;
  font-weight: 800;
  color: rgba(0, 0, 0, .06);
  line-height: 1;
  letter-spacing: -4px;
  margin-bottom: 24px;
}

.ag-step-name {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.ag-step-desc {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-2);
  line-height: 1.7;
}

.ag-step-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  margin-top: 24px;
}

/* ══════════════════════════════════════
   TEAM — FULL-BLEED editorial
══════════════════════════════════════ */
.ag-team-section {
  padding: clamp(80px, 10vw, 128px) 0;
  background: var(--bg);
}

.ag-team-hero-wrap {
  width: 100%;
  height: clamp(400px, 50vw, 600px);
  overflow: hidden;
  position: relative;
  margin-bottom: 4px;
}

.ag-team-hero-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.ag-team-hero-caption {
  position: absolute;
  bottom: 32px;
  left: 32px;
  right: 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.ag-team-hero-title {
  font-family: var(--sans);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -2px;
  line-height: .95;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .5);
}

.ag-team-hero-sub {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, .6);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  flex-shrink: 0;
  max-width: 200px;
  text-align: right;
}

.ag-team-members {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 4px;
}

.ag-member-card {
  background: var(--surface);
  padding: 28px 24px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.ag-member-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  margin-bottom: 20px;
  filter: grayscale(30%);
  transition: filter .3s;
}

.ag-member-card:hover .ag-member-photo {
  filter: grayscale(0%);
}

.ag-member-role {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.ag-member-name {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.ag-member-exp {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  color: var(--text-3);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .ag-team-members {
    grid-template-columns: 1fr 1fr;
  }

  .ag-team-hero-caption {
    flex-direction: column;
    align-items: flex-start;
  }

  .ag-team-hero-sub {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .ag-team-members {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════
   TESTIMONIALS — 2 large blockquotes (dark section)
══════════════════════════════════════ */
.ag-testimonial-section {
  background: var(--dark);
  padding: clamp(80px, 10vw, 128px) 0;
}

.ag-testimonial-section .ag-section-label {
  color: var(--accent);
  margin-bottom: 56px;
  display: block;
}

.ag-testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.ag-blockquote {
  padding: clamp(40px, 5vw, 64px);
  position: relative;
  border-left: 1px solid rgba(255, 255, 255, .06);
}

.ag-blockquote:first-child {
  border-left: none;
}

.ag-quote-mark {
  font-family: var(--sans);
  font-size: 200px;
  font-weight: 800;
  color: rgba(255, 255, 255, .04);
  line-height: .8;
  position: absolute;
  top: 24px;
  left: 32px;
  pointer-events: none;
  user-select: none;
}

.ag-quote-text {
  font-family: var(--sans);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 500;
  color: rgba(255, 255, 255, .85);
  line-height: 1.55;
  letter-spacing: -0.3px;
  position: relative;
  z-index: 1;
  margin-bottom: 32px;
}

.ag-quote-source {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ag-quote-avatar {
  width: 48px;
  height: 48px;
  border-radius: 0;
  object-fit: cover;
  filter: grayscale(40%);
}

.ag-quote-info {}

.ag-quote-name {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ag-quote-company {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .ag-testimonials-grid {
    grid-template-columns: 1fr;
  }

  .ag-blockquote {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, .06);
  }

  .ag-blockquote:first-child {
    border-top: none;
  }
}

/* ══════════════════════════════════════
   CTA SECTION — Accent bg + form
══════════════════════════════════════ */
.ag-cta-section {
  background: var(--accent);
  padding: clamp(72px, 9vw, 112px) 0;
}

.ag-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 80px);
  align-items: center;
}

.ag-cta-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  color: rgba(0, 0, 0, .45);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.ag-cta-title {
  font-family: var(--sans);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: -2px;
  line-height: .95;
  margin-bottom: 24px;
}

.ag-cta-desc {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  color: rgba(0, 0, 0, .6);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 380px;
}

.ag-cta-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ag-contact-item {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.ag-contact-item span {
  opacity: .5;
  font-weight: 400;
  min-width: 60px;
}

/* CTA Form */
.ag-cta-form {
  background: var(--dark);
  padding: 40px;
}

.ag-form-title {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin-bottom: 28px;
}

.ag-field {
  margin-bottom: 16px;
}

.ag-field label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, .4);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 8px;
}

.ag-field input,
.ag-field textarea,
.ag-field select {
  width: 100%;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
  padding: 12px 16px;
  border-radius: 0;
  outline: none;
  transition: border-color .2s;
  appearance: none;
}

.ag-field input::placeholder,
.ag-field textarea::placeholder {
  color: rgba(255, 255, 255, .25);
}

.ag-field input:focus,
.ag-field textarea:focus,
.ag-field select:focus {
  border-color: var(--accent);
}

.ag-field textarea {
  height: 100px;
  resize: none;
}

.ag-field select option {
  background: var(--dark);
  color: #fff;
}

.ag-form-submit {
  width: 100%;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  background: var(--accent);
  color: var(--dark);
  padding: 16px 24px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: background .2s, transform .2s;
  margin-top: 8px;
}

.ag-form-submit:hover {
  background: var(--accent-mid);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .ag-cta-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════
   FOOTER — Dark editorial
══════════════════════════════════════ */
.ag-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, .04);
}

.ag-footer-main {
  padding: clamp(56px, 7vw, 88px) 0 clamp(40px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}

.ag-footer-brand {}

.ag-footer-logo {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 16px;
  display: block;
}

.ag-footer-logo span {
  color: var(--accent);
}

.ag-footer-tagline {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, .35);
  line-height: 1.7;
  max-width: 240px;
  margin-bottom: 28px;
}

.ag-footer-social {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.ag-social-link {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, .3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color .2s;
  border-bottom: 1px solid transparent;
}

.ag-social-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.ag-footer-col {}

.ag-footer-col-title {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, .2);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.ag-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ag-footer-links a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, .45);
  transition: color .2s;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.ag-footer-links a:hover {
  color: #fff;
}

.ag-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ag-footer-copy {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, .2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ag-footer-made {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, .2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ag-footer-made span {
  color: var(--accent);
}

@media (max-width: 992px) {
  .ag-footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .ag-footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ag-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ══════════════════════════════════════
   INNER PAGE HERO (sub-pages)
══════════════════════════════════════ */
.ag-page-hero {
  background: var(--dark);
  padding: calc(68px + clamp(48px, 6vw, 80px)) 0 clamp(48px, 6vw, 72px);
}

.ag-ph-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.ag-ph-title {
  font-family: var(--sans);
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -3px;
  line-height: .92;
  margin-bottom: 20px;
}

.ag-ph-title .outline {
  -webkit-text-stroke: 2px rgba(255, 255, 255, .5);
  color: transparent;
}

.ag-ph-sub {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, .4);
  max-width: 480px;
  line-height: 1.7;
}

/* ══════════════════════════════════════
   BUTTONS (BOLD-EDITORIAL style)
══════════════════════════════════════ */
.ag-btn-primary {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  background: var(--text);
  color: #fff;
  padding: 14px 32px;
  border: 2px solid var(--text);
  border-radius: 0;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: background .2s, color .2s;
  display: inline-block;
}

.ag-btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text);
}

.ag-btn-outline {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  background: transparent;
  color: var(--text);
  padding: 14px 32px;
  border: 2px solid var(--text);
  border-radius: 0;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: background .2s, color .2s;
  display: inline-block;
}

.ag-btn-outline:hover {
  background: var(--text);
  color: #fff;
}

.ag-btn-accent {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  background: var(--accent);
  color: var(--dark);
  padding: 14px 32px;
  border: 2px solid var(--accent);
  border-radius: 0;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: background .2s;
  display: inline-block;
}

.ag-btn-accent:hover {
  background: var(--accent-h);
  border-color: var(--accent-h);
}

.ag-btn-ghost-dark {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  background: transparent;
  color: rgba(255, 255, 255, .7);
  padding: 14px 32px;
  border: 2px solid rgba(255, 255, 255, .2);
  border-radius: 0;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: border-color .2s, color .2s;
  display: inline-block;
}

.ag-btn-ghost-dark:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ══════════════════════════════════════
   STAT BAR
══════════════════════════════════════ */
.ag-stat-bar {
  background: var(--accent);
  padding: 48px 0;
}

.ag-stat-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.ag-stat-item {
  padding: 0 32px;
  border-right: 1px solid rgba(0, 0, 0, .1);
}

.ag-stat-item:first-child {
  padding-left: 0;
}

.ag-stat-item:last-child {
  border-right: none;
}

.ag-stat-number {
  font-family: var(--sans);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  letter-spacing: -2px;
}

.ag-stat-name {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  color: rgba(0, 0, 0, .5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 6px;
}

@media (max-width: 768px) {
  .ag-stat-bar-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px 0;
  }

  .ag-stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    padding: 16px 24px;
  }

  .ag-stat-item:nth-child(even) {
    border-right: none;
  }
}

/* ══════════════════════════════════════
   PROJECT CARD (du-an.html)
══════════════════════════════════════ */
.ag-project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s;
  height: 100%;
}

.ag-project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, .1);
}

.ag-project-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform .5s ease;
}

.ag-project-card:hover .ag-project-thumb {
  transform: scale(1.04);
}

.ag-project-body {
  padding: 24px;
}

.ag-project-cat {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.ag-project-title {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 10px;
}

.ag-project-desc {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 16px;
}

.ag-project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ag-project-tag {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  color: var(--text-3);
  border: 1px solid var(--border);
  padding: 3px 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ══════════════════════════════════════
   SERVICE DETAIL CARD (dich-vu.html)
══════════════════════════════════════ */
.ag-svc-card {
  padding: 36px 32px;
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
  height: 100%;
}

.ag-svc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}

.ag-svc-card:hover::before {
  transform: scaleX(1);
}

.ag-svc-card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(245, 158, 11, .08);
}

.ag-svc-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border: 1px solid rgba(245, 158, 11, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.ag-svc-card-title {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.ag-svc-card-desc {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 20px;
}

.ag-svc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ag-svc-list li {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.ag-svc-list li::before {
  content: '';
  width: 16px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   ABOUT (ve-chung-toi.html)
══════════════════════════════════════ */
.ag-about-manifesto {
  background: var(--dark);
  padding: clamp(80px, 10vw, 128px) 0;
}

.ag-manifesto-text {
  font-family: var(--sans);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  color: rgba(255, 255, 255, .15);
  text-transform: uppercase;
  letter-spacing: -1.5px;
  line-height: 1.05;
}

.ag-manifesto-text .highlight {
  color: #fff;
}

.ag-manifesto-text .accent-word {
  color: var(--accent);
}

.ag-value-item {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  align-items: start;
}

.ag-value-num {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  padding-top: 3px;
}

.ag-value-title {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.ag-value-desc {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-2);
  line-height: 1.7;
}

/* ══════════════════════════════════════
   CONTACT (lien-he.html)
══════════════════════════════════════ */
.ag-contact-section {
  padding: clamp(80px, 10vw, 128px) 0;
}

.ag-contact-grid {
  display: grid;
  gap: clamp(40px, 5vw, 64px);
  align-items: start;
}

.ag-contact-info {}

.ag-contact-big-title {
  font-family: var(--sans);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: -4px;
  line-height: .9;
  margin-bottom: 32px;
}

.ag-contact-big-title span {
  color: var(--accent);
}

.ag-contact-detail-item {
  display: flex;
  flex-direction: column;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.ag-cd-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.ag-cd-value {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: -0.3px;
}

.ag-cd-value a {
  color: var(--text);
  transition: color .2s;
}

.ag-cd-value a:hover {
  color: var(--accent);
}

.ag-contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 40px;
}

.ag-contact-form-title {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin-bottom: 28px;
}

/* Override dark-themed .ag-field for light background contact form */
.ag-contact-form-wrap .ag-field label {
  color: var(--text-2);
}

.ag-contact-form-wrap .ag-field input,
.ag-contact-form-wrap .ag-field textarea,
.ag-contact-form-wrap .ag-field select {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
}

.ag-contact-form-wrap .ag-field input::placeholder,
.ag-contact-form-wrap .ag-field textarea::placeholder {
  color: var(--text-3);
}

.ag-contact-form-wrap .ag-field select option {
  background: var(--surface);
  color: var(--text);
}

.ag-contact-form-wrap .ag-field input:focus,
.ag-contact-form-wrap .ag-field textarea:focus,
.ag-contact-form-wrap .ag-field select:focus {
  border-color: var(--accent);
  background: var(--surface);
}

@media (max-width: 768px) {
  .ag-contact-grid {}

  .ag-contact-big-title {
    font-size: clamp(40px, 10vw, 64px);
  }

  .ag-contact-form-wrap {
    padding: 24px;
  }
}

/* ══════════════════════════════════════
   ZALO FLOAT BUTTON
══════════════════════════════════════ */
.ag-zalo-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  width: 52px;
  height: 52px;
  background: #0068FF;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 104, 255, .4);
  transition: transform .2s, box-shadow .2s;
}

.ag-zalo-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(0, 104, 255, .5);
}

.ag-zalo-float img {
  width: 28px;
  height: 28px;
}

.ag-zalo-float-label {
  position: absolute;
  right: calc(100% + 12px);
  background: var(--dark);
  color: #fff;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}

.ag-zalo-float:hover .ag-zalo-float-label {
  opacity: 1;
}

/* ══════════════════════════════════════
   UTILITY
══════════════════════════════════════ */
.ag-tag-pill {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  background: var(--warm);
  color: var(--text-2);
  padding: 4px 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--border);
}

.ag-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

.ag-divider-dark {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, .06);
  margin: 0;
}

.text-accent {
  color: var(--accent);
}

.text-white-70 {
  color: rgba(255, 255, 255, .7);
}

/* ══════════════════════════════════════
   MARQUEE TICKER (decorative)
══════════════════════════════════════ */
.ag-ticker-wrap {
  background: var(--accent);
  padding: 14px 0;
  overflow: hidden;
}

.ag-ticker-track {
  display: flex;
  gap: 0;
  animation: ag-ticker 30s linear infinite;
  width: max-content;
}

.ag-ticker-item {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0 32px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 32px;
}

.ag-ticker-item::after {
  content: '★';
  color: rgba(0, 0, 0, .3);
}

@keyframes ag-ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}