@charset "UTF-8";
/* ==========================================================================
   WZ-AGENCY-001 — 주식회사 윤슬크리에이티브랩 (YUNSEUL CREATIVE LAB)
   Reference: https://react.agenci.wowtheme7.com/
   ========================================================================== */

:root {
  --font-display: 'Antonio', 'Bebas Neue', 'Paperlogy', 'SUIT Variable', sans-serif;
  --font-title: 'Mona Sans', 'Paperlogy', 'SUIT Variable', sans-serif;
  --font-sans: 'SUIT Variable', 'Mona Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --ag-accent: #B3DE4F;
  --ag-accent-hover: #9FCB3B;
  --ag-flame: #EA4C24;
  --ag-sand: #F5DC9E;
  --ag-amber: #F59E0B;
  --ag-azure: #38BDF8;

  /* Default Light Theme (html.theme-light) */
  --ag-bg: #F6F6F3;
  --ag-bg-alt: #ECECE6;
  --ag-surface: #FFFFFF;
  --ag-surface-2: #F0F0EB;
  --ag-text: #111115;
  --ag-text-muted: #52525C;
  --ag-border: rgba(17, 17, 21, 0.12);
  --ag-border-strong: rgba(17, 17, 21, 0.24);
  --ag-header-bg: rgba(246, 246, 243, 0.90);
  --ag-shadow: 0 20px 50px rgba(17, 17, 21, 0.08);

  --ag-container: 1340px;
  --ag-container-wide: 1600px;
}

/* Dark Theme (html.theme-dark) */
html.theme-dark {
  --ag-bg: #0E0E12;
  --ag-bg-alt: #14141A;
  --ag-surface: #181820;
  --ag-surface-2: #20202B;
  --ag-text: #F4F4F6;
  --ag-text-muted: #A1A1AE;
  --ag-border: rgba(255, 255, 255, 0.11);
  --ag-border-strong: rgba(255, 255, 255, 0.24);
  --ag-header-bg: rgba(14, 14, 18, 0.88);
  --ag-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

/* --------------------------------------------------------------------------
 * 1. Base & Reset
 * -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--ag-bg);
  color: var(--ag-text);
  line-height: 1.65;
  word-break: keep-all;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

main {
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--ag-accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--ag-accent);
  color: #111115;
  font-weight: 800;
}
.skip-link:focus {
  top: 12px;
}

/* --------------------------------------------------------------------------
 * 2. Containers, Grid & Typography
 * -------------------------------------------------------------------------- */
.ag-container {
  width: 100%;
  max-width: var(--ag-container);
  margin: 0 auto;
  padding: 0 24px;
}

.ag-container--wide {
  width: 100%;
  max-width: var(--ag-container-wide);
  margin: 0 auto;
  padding: 0 32px;
}

.ag-section {
  padding: 112px 0;
  position: relative;
}

.ag-section--sm {
  padding: 64px 0;
  position: relative;
}

.ag-section--alt {
  background-color: var(--ag-bg-alt);
  border-top: 1px solid var(--ag-border);
  border-bottom: 1px solid var(--ag-border);
}

.ag-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: center;
}

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

.ag-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.ag-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--ag-border-strong);
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.ag-eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--ag-accent);
  display: inline-block;
}

.ag-display-xl {
  font-family: var(--font-display);
  font-size: clamp(54px, 8.2vw, 118px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.ag-display-lg {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.2vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.ag-title-lg {
  font-family: var(--font-title);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.025em;
}

.ag-title-md {
  font-family: var(--font-title);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.02em;
}

.ag-lead {
  font-size: clamp(16px, 1.2vw, 18px);
  color: var(--ag-text-muted);
  line-height: 1.75;
}

.ag-sec-head {
  margin-bottom: 56px;
}

.ag-sec-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.ag-sec-head--split > div:first-child {
  max-width: 720px;
}

.ag-sec-head--split > div:last-child {
  max-width: 460px;
}

.ag-sec-head--center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
 * 3. Buttons & Tags
 * -------------------------------------------------------------------------- */
.ag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: all 0.22s ease;
}

.ag-btn--primary {
  background-color: var(--ag-accent);
  color: #111115;
  border-color: var(--ag-accent);
}
.ag-btn--primary:hover {
  background-color: var(--ag-accent-hover);
  border-color: var(--ag-accent-hover);
  transform: translateY(-2px);
}

.ag-btn--outline {
  background-color: transparent;
  color: var(--ag-text);
  border-color: var(--ag-border-strong);
}
.ag-btn--outline:hover {
  border-color: var(--ag-accent);
  background-color: rgba(179, 222, 79, 0.12);
  transform: translateY(-2px);
}

.ag-btn--dark {
  background-color: #111115;
  color: #FFFFFF;
  border-color: #111115;
}
html.theme-dark .ag-btn--dark {
  background-color: #FFFFFF;
  color: #111115;
  border-color: #FFFFFF;
}
.ag-btn--dark:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.ag-btn__arrow {
  font-size: 16px;
  line-height: 1;
  transition: transform 0.2s ease;
}
.ag-btn:hover .ag-btn__arrow {
  transform: translate(2px, -2px);
}

.ag-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background-color: var(--ag-surface-2);
  border: 1px solid var(--ag-border);
  color: var(--ag-text);
}

/* --------------------------------------------------------------------------
 * 4. Member Bar (TPL-001 4-1절: 시안 A / 시안 B)
 * -------------------------------------------------------------------------- */
.member-bar {
  width: 100%;
  min-height: 38px;
  background-color: #111115;
  color: rgba(244, 244, 246, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 13px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 130;
}

html.theme-light .member-bar {
  background-color: #E8E8E2;
  color: #27272F;
  border-bottom: 1px solid rgba(17, 17, 21, 0.09);
}

html.no-member-bar .member-bar {
  display: none !important;
}

.member-bar__inner {
  width: 100%;
  max-width: var(--ag-container-wide);
  margin: 0 auto;
  padding: 6px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.member-bar__Message {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.member-bar__links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

.member-bar__link {
  font-weight: 700;
}
.member-bar__link:hover {
  color: var(--ag-accent);
}
html.theme-light .member-bar__link:hover {
  color: var(--ag-flame);
}

.member-bar__sep {
  opacity: 0.35;
  font-size: 11px;
}

/* --------------------------------------------------------------------------
 * 5. Header, Mega Dropdown & Mobile Drawer
 * -------------------------------------------------------------------------- */
.ag-header {
  position: sticky;
  top: 0;
  z-index: 120;
  width: 100%;
  background-color: var(--ag-header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ag-border);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.ag-header.is-sticky {
  box-shadow: var(--ag-shadow);
}

.ag-header__inner {
  width: 100%;
  max-width: var(--ag-container-wide);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ag-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.ag-logo img {
  height: 36px;
  width: auto;
}

html.theme-light .ag-logo .logo-dark {
  display: none;
}
html.theme-light .ag-logo .logo-light {
  display: block;
}
html.theme-dark .ag-logo .logo-light {
  display: none;
}
html.theme-dark .ag-logo .logo-dark {
  display: block;
}

.ag-nav {
  display: flex;
  align-items: center;
}

.ag-nav__list {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background-color: var(--ag-surface);
  border: 1px solid var(--ag-border);
}

.ag-nav__item {
  position: relative;
}

.ag-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
}

.ag-nav__link:hover,
.ag-nav__link.is-active {
  background-color: var(--ag-accent);
  color: #111115;
}

.ag-nav__caret {
  font-size: 11px;
  opacity: 0.7;
}

/* Desktop Dropdowns (Hidden until hover/focus-within) */
.ag-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 240px;
  padding: 14px;
  border-radius: 18px;
  background-color: #16161D;
  color: #F4F4F6;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 200;
}

.ag-dropdown--mega {
  min-width: 620px;
  left: -80px;
  padding: 22px;
}

.ag-nav__item:hover > .ag-dropdown,
.ag-nav__item:focus-within > .ag-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.ag-mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ag-mega-col__title {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--ag-accent);
  text-transform: uppercase;
  padding: 4px 10px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 8px;
}

.ag-dropdown__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(244, 244, 246, 0.86);
}

.ag-dropdown__link span {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ag-accent);
}

.ag-dropdown__link:hover {
  background-color: rgba(179, 222, 79, 0.15);
  color: var(--ag-accent);
}

.ag-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.ag-search-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--ag-surface);
  border: 1px solid var(--ag-border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ag-search-btn:hover {
  border-color: var(--ag-accent);
}

/* Mobile Hamburger & Drawer */
.ag-burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--ag-surface);
  border: 1px solid var(--ag-border-strong);
  align-items: center;
  justify-content: center;
}

.ag-burger__lines {
  width: 18px;
  height: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ag-burger__lines span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--ag-text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.ag-burger.is-active .ag-burger__lines span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.ag-burger.is-active .ag-burger__lines span:nth-child(2) {
  opacity: 0;
}
.ag-burger.is-active .ag-burger__lines span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.ag-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 115;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.ag-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.ag-drawer {
  position: fixed;
  top: 76px;
  right: 0;
  width: min(100%, 400px);
  max-height: calc(100vh - 76px);
  background-color: #14141B;
  color: #F4F4F6;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 125;
  overflow-y: auto;
  padding: 24px 20px 36px;
  transform: translateX(102%);
  visibility: hidden;
  transition: transform 0.28s ease, visibility 0.28s ease;
}

.ag-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.ag-drawer__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ag-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
}

.ag-drawer__link {
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
}

.ag-drawer__toggle-sub {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ag-accent);
  font-size: 18px;
  font-weight: 800;
}

.ag-drawer__sub {
  display: none;
  padding: 4px 12px 14px;
  flex-direction: column;
  gap: 8px;
}
.ag-drawer__item.is-open .ag-drawer__sub {
  display: flex;
}

.ag-drawer__sub a {
  font-size: 14px;
  color: rgba(244, 244, 246, 0.78);
  padding: 6px 8px;
  border-radius: 8px;
}
.ag-drawer__sub a:hover {
  background: rgba(179, 222, 79, 0.15);
  color: var(--ag-accent);
}

.ag-drawer__footer {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ag-drawer__contact {
  font-size: 13px;
  color: rgba(244, 244, 246, 0.7);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
 * 6. Hero Variants (Home 01 ~ Home 09)
 * -------------------------------------------------------------------------- */
.ag-hero-1,
.ag-hero-2,
.ag-hero-3,
.ag-hero-4,
.ag-hero-5,
.ag-hero-6,
.ag-hero-7,
.ag-hero-8,
.ag-hero-9 {
  padding: 72px 0 96px;
  position: relative;
}

.ag-hero-1__top {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 48px;
}

.ag-hero-1__headline .line-2 {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.ag-hero-1__headline .accent-pill {
  display: inline-block;
  padding: 4px 24px;
  border-radius: 999px;
  background-color: var(--ag-accent);
  color: #111115;
}

.ag-hero-1__intro p {
  font-size: 17px;
  color: var(--ag-text-muted);
  margin-bottom: 24px;
  line-height: 1.75;
}

.ag-hero-1__showcase {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  gap: 28px;
  align-items: stretch;
}

.ag-hero-1__visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--ag-border);
}

.ag-hero-1__visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.ag-hero-1__badge {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 20px 24px;
  border-radius: 18px;
  background: rgba(14, 14, 18, 0.86);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ag-hero-1__badge-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
}

.ag-hero-1__stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
}

.ag-stat-card {
  flex: 1;
  padding: 28px;
  border-radius: 20px;
  background-color: var(--ag-surface);
  border: 1px solid var(--ag-border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ag-stat-card__num {
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 800;
  color: var(--ag-text);
  line-height: 1;
  margin-bottom: 10px;
}

.ag-stat-card__label {
  font-size: 16px;
  font-weight: 800;
}

.ag-hero-2__grid,
.ag-hero-4__layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.ag-hero-3__gallery {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 0.9fr;
  gap: 24px;
  align-items: end;
}

.ag-hero-3__card {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--ag-border);
}

.ag-hero-3__card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.ag-hero-4__portrait {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--ag-border);
}

.ag-hero-4__portrait img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
 * 7. Counter Strip, Marquee, Interactive Services & Projects
 * -------------------------------------------------------------------------- */
.ag-counter-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.ag-counter-box {
  padding: 32px 28px;
  border-radius: 20px;
  background-color: var(--ag-surface);
  border: 1px solid var(--ag-border);
}

.ag-counter-box__num {
  font-family: var(--font-display);
  font-size: clamp(44px, 4.5vw, 64px);
  font-weight: 800;
  line-height: 1;
  color: var(--ag-accent);
  margin-bottom: 12px;
}
html.theme-light .ag-counter-box__num {
  color: var(--ag-text);
}

.ag-counter-box__label {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.ag-counter-box__desc {
  font-size: 14px;
  color: var(--ag-text-muted);
}

/* Marquee */
.ag-marquee {
  width: 100%;
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--ag-border);
  border-bottom: 1px solid var(--ag-border);
  background-color: var(--ag-surface);
}

.ag-marquee--accent {
  background-color: var(--ag-accent);
  color: #111115;
  border-color: transparent;
}

.ag-marquee__track {
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  animation: agMarquee 32s linear infinite;
}
.ag-marquee:hover .ag-marquee__track {
  animation-play-state: paused;
}

@keyframes agMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ag-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.ag-marquee__star {
  color: var(--ag-accent);
}
.ag-marquee--accent .ag-marquee__star {
  color: #111115;
}

.ag-brand-item {
  padding: 16px 32px;
  border-radius: 14px;
  background-color: #16161D;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Interactive Service Rows */
.ag-srv-interactive {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--ag-border-strong);
}

.ag-srv-row {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1.1fr 1.4fr 56px;
  gap: 28px;
  align-items: center;
  padding: 36px 20px;
  border-bottom: 1px solid var(--ag-border-strong);
  transition: background-color 0.25s ease, padding-left 0.25s ease;
}

.ag-srv-row:hover,
.ag-srv-row.is-active {
  background-color: var(--ag-surface);
}

.ag-srv-row__num {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--ag-accent);
}
html.theme-light .ag-srv-row__num {
  color: var(--ag-flame);
}

.ag-srv-row__title {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 800;
  margin-bottom: 4px;
}

.ag-srv-row__desc {
  font-size: 15px;
  color: var(--ag-text-muted);
  margin-bottom: 14px;
}

.ag-srv-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ag-srv-row__arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--ag-border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
}
.ag-srv-row:hover .ag-srv-row__arrow,
.ag-srv-row.is-active .ag-srv-row__arrow {
  background-color: var(--ag-accent);
  color: #111115;
  border-color: var(--ag-accent);
}

.ag-srv-row__preview {
  display: none;
}

/* Service Cards (Grid) */
.ag-srv-card {
  padding: 36px 30px;
  border-radius: 22px;
  background-color: var(--ag-surface);
  border: 1px solid var(--ag-border);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.ag-srv-card:hover {
  transform: translateY(-4px);
  border-color: var(--ag-accent);
}

.ag-srv-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background-color: var(--ag-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.ag-srv-card__num {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--ag-accent);
  margin-bottom: 8px;
}

.ag-srv-card__title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}

.ag-srv-card__desc {
  font-size: 15px;
  color: var(--ag-text-muted);
}

/* Interactive Project Hover List (Home 2) */
.ag-project-interactive {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.ag-project-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--ag-border-strong);
}

.ag-proj-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 18px;
  border-bottom: 1px solid var(--ag-border-strong);
}
.ag-proj-row.is-active,
.ag-proj-row:hover {
  background-color: var(--ag-surface);
}

.ag-proj-row__meta {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ag-text-muted);
  margin-bottom: 6px;
}

.ag-proj-row__name {
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 800;
}

.ag-proj-preview {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--ag-border);
  aspect-ratio: 6 / 5;
  background-color: var(--ag-surface);
}

.ag-proj-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.ag-proj-preview img.is-active {
  opacity: 1;
}

/* --------------------------------------------------------------------------
 * 8. Portfolio Grid, Video Banner, Process, Team, Testimonials, Pricing, FAQ, Blog
 * -------------------------------------------------------------------------- */
.ag-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

.ag-portfolio-card {
  border-radius: 24px;
  overflow: hidden;
  background-color: var(--ag-surface);
  border: 1px solid var(--ag-border);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.ag-portfolio-card:hover {
  transform: translateY(-4px);
  border-color: var(--ag-accent);
}

.ag-portfolio-card__thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.ag-portfolio-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.ag-portfolio-card:hover .ag-portfolio-card__thumb img {
  transform: scale(1.04);
}

.ag-portfolio-card__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(14, 14, 18, 0.82);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 700;
}

.ag-portfolio-card__body {
  padding: 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.ag-portfolio-card__meta {
  font-size: 13px;
  font-weight: 700;
  color: var(--ag-text-muted);
  margin-bottom: 6px;
}

.ag-portfolio-card__title {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 800;
  line-height: 1.35;
}

.ag-portfolio-card__link {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--ag-border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
}
.ag-portfolio-card:hover .ag-portfolio-card__link {
  background-color: var(--ag-accent);
  color: #111115;
  border-color: var(--ag-accent);
}

/* Video Showreel Banner */
.ag-video-banner {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--ag-border);
  aspect-ratio: 16 / 7.5;
  min-height: 360px;
}

.ag-video-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ag-video-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 14, 0.25) 0%, rgba(10, 10, 14, 0.78) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ag-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 34px;
  border-radius: 999px;
  background-color: var(--ag-accent);
  color: #111115;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease;
}
.ag-play-btn:hover {
  transform: scale(1.06);
}

.ag-video-banner__caption {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* Process Grid */
.ag-process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.ag-process-card {
  padding: 34px 28px;
  border-radius: 22px;
  background-color: var(--ag-surface);
  border: 1px solid var(--ag-border);
}

.ag-process-card__step {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background-color: rgba(179, 222, 79, 0.16);
  color: var(--ag-accent);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
html.theme-light .ag-process-card__step {
  background-color: #111115;
  color: var(--ag-accent);
}

.ag-process-card__title {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 12px;
}

.ag-process-card__desc {
  font-size: 15px;
  color: var(--ag-text-muted);
}

/* Team Grid */
.ag-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.ag-team-card {
  padding: 20px;
  border-radius: 22px;
  background-color: var(--ag-surface);
  border: 1px solid var(--ag-border);
}

.ag-team-card__photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 4.8;
  margin-bottom: 18px;
}

.ag-team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ag-team-card__socials {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 8px;
}

.ag-team-card__socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(17, 17, 21, 0.85);
  color: var(--ag-accent);
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ag-team-card__name {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}

.ag-team-card__role {
  font-size: 14px;
  color: var(--ag-text-muted);
}

/* Testimonials */
.ag-testi-card {
  padding: 36px;
  border-radius: 24px;
  background-color: var(--ag-surface);
  border: 1px solid var(--ag-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.ag-testi-card__stars {
  color: #F59E0B;
  font-size: 16px;
  font-weight: 800;
}
.ag-testi-card__stars span {
  color: var(--ag-text-muted);
  font-size: 13px;
  margin-left: 6px;
}

.ag-testi-card__quote {
  font-size: 16.5px;
  line-height: 1.78;
  font-weight: 500;
}

.ag-testi-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--ag-border);
}

.ag-testi-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.ag-testi-card__name {
  font-size: 16px;
  font-weight: 800;
}

.ag-testi-card__role {
  font-size: 13.5px;
  color: var(--ag-text-muted);
}

/* Pricing */
.ag-pricing-toggle {
  display: inline-flex;
  padding: 6px;
  border-radius: 999px;
  background-color: var(--ag-surface);
  border: 1px solid var(--ag-border-strong);
  margin-top: 24px;
  gap: 6px;
  flex-wrap: wrap;
}

.ag-pricing-toggle button {
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}
.ag-pricing-toggle button.is-active {
  background-color: var(--ag-accent);
  color: #111115;
}

.ag-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.ag-price-card {
  padding: 38px 32px;
  border-radius: 24px;
  background-color: var(--ag-surface);
  border: 1px solid var(--ag-border);
  display: flex;
  flex-direction: column;
}

.ag-price-card.is-featured {
  border: 2px solid var(--ag-accent);
  box-shadow: var(--ag-shadow);
}

.ag-price-card__plan {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--ag-accent);
  font-weight: 800;
}
html.theme-light .ag-price-card__plan {
  color: var(--ag-flame);
}

.ag-price-card__amount {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.4vw, 46px);
  font-weight: 800;
  margin: 18px 0 14px;
  line-height: 1.1;
}
.ag-price-card__amount .unit {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ag-text-muted);
}

.ag-price-card__desc {
  font-size: 14.5px;
  color: var(--ag-text-muted);
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ag-border);
}

.ag-price-card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex: 1;
}

.ag-price-card__list li {
  font-size: 14.5px;
  padding-left: 22px;
  position: relative;
}
.ag-price-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ag-accent);
  font-weight: 800;
}
html.theme-light .ag-price-card__list li::before {
  color: var(--ag-flame);
}

/* Awards */
.ag-award-list {
  border-top: 1px solid var(--ag-border-strong);
}

.ag-award-row {
  display: grid;
  grid-template-columns: 90px 1fr 1.2fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px 16px;
  border-bottom: 1px solid var(--ag-border-strong);
}
.ag-award-row:hover {
  background-color: var(--ag-surface);
}

.ag-award-row__year {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--ag-accent);
}
html.theme-light .ag-award-row__year {
  color: var(--ag-flame);
}

.ag-award-row__org {
  font-size: 15px;
  font-weight: 700;
  color: var(--ag-text-muted);
}

.ag-award-row__title {
  font-size: 19px;
  font-weight: 800;
}

.ag-award-row__project {
  font-size: 14px;
  font-weight: 700;
  color: var(--ag-text-muted);
}

/* FAQ Accordion */
.ag-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ag-faq-item {
  border-radius: 18px;
  background-color: var(--ag-surface);
  border: 1px solid var(--ag-border);
  overflow: hidden;
}
.ag-faq-item.is-open {
  border-color: var(--ag-accent);
}

.ag-faq-item__q {
  width: 100%;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 17px;
  font-weight: 800;
}

.ag-faq-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--ag-surface-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.ag-faq-item.is-open .ag-faq-item__icon {
  transform: rotate(45deg);
  background-color: var(--ag-accent);
  color: #111115;
}

.ag-faq-item__a {
  display: none;
  padding: 0 24px 24px;
  font-size: 15px;
  color: var(--ag-text-muted);
  line-height: 1.75;
}
.ag-faq-item.is-open .ag-faq-item__a {
  display: block;
}

/* Blog Grid */
.ag-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.ag-blog-card {
  border-radius: 22px;
  overflow: hidden;
  background-color: var(--ag-surface);
  border: 1px solid var(--ag-border);
  display: flex;
  flex-direction: column;
}

.ag-blog-card__thumb {
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}
.ag-blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.ag-blog-card:hover .ag-blog-card__thumb img {
  transform: scale(1.04);
}

.ag-blog-card__body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.ag-blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 12.5px;
  color: var(--ag-text-muted);
}

.ag-blog-card__cat {
  color: var(--ag-accent);
  font-weight: 800;
}
html.theme-light .ag-blog-card__cat {
  color: var(--ag-flame);
}

.ag-blog-card__title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.4;
}

.ag-blog-card__excerpt {
  font-size: 14.5px;
  color: var(--ag-text-muted);
  flex: 1;
}

.ag-blog-card__more {
  font-size: 14px;
  font-weight: 800;
  margin-top: 6px;
}
.ag-blog-card__more:hover {
  color: var(--ag-accent);
}

/* --------------------------------------------------------------------------
 * 9. Inner Pages (Breadcrumb, Details Layout, Sidebar, Forms, Contact, Profile)
 * -------------------------------------------------------------------------- */
.ag-breadcrumb {
  padding: 64px 0;
  background-color: var(--ag-bg-alt);
  border-bottom: 1px solid var(--ag-border);
}

.ag-breadcrumb__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 36px;
  align-items: center;
}

.ag-breadcrumb__trail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ag-text-muted);
  margin-bottom: 16px;
}
.ag-breadcrumb__trail .current {
  color: var(--ag-accent);
  font-weight: 700;
}

.ag-breadcrumb__title {
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1.15;
}

.ag-breadcrumb__visual {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--ag-border);
}

.ag-details-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 44px;
  align-items: start;
}

.ag-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 96px;
}

.ag-widget {
  padding: 28px;
  border-radius: 22px;
  background-color: var(--ag-surface);
  border: 1px solid var(--ag-border);
}

.ag-widget__title {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ag-border);
}

.ag-profile-box {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.ag-profile-photo {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--ag-border);
}

.ag-skill-bars {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ag-skill-bar__top {
  display: flex;
  justify-content: space-between;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 8px;
}

.ag-skill-bar__track {
  height: 10px;
  border-radius: 999px;
  background-color: var(--ag-surface-2);
  overflow: hidden;
}

.ag-skill-bar__fill {
  height: 100%;
  border-radius: 999px;
  background-color: var(--ag-accent);
}

/* Contact & Forms */
.ag-contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ag-contact-card {
  padding: 32px;
  border-radius: 22px;
  background-color: var(--ag-surface);
  border: 1px solid var(--ag-border);
}

.ag-contact-card__label {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--ag-accent);
  margin-bottom: 8px;
}

.ag-contact-card__val {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}

.ag-contact-card__sub {
  font-size: 14px;
  color: var(--ag-text-muted);
  line-height: 1.7;
}

.ag-form-box {
  padding: 40px;
  border-radius: 24px;
  background-color: var(--ag-surface);
  border: 1px solid var(--ag-border);
}

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

.ag-form-grid .full {
  grid-column: 1 / -1;
}

.ag-label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 8px;
}

.ag-input,
.ag-select,
.ag-textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  background-color: var(--ag-bg);
  border: 1px solid var(--ag-border-strong);
  color: var(--ag-text);
  font-size: 15px;
}

.ag-select option {
  background-color: #16161D;
  color: #FFFFFF;
}

.ag-textarea {
  min-height: 130px;
  resize: vertical;
}

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

/* --------------------------------------------------------------------------
 * 10. Fullscreen Showcases & Masonry
 * -------------------------------------------------------------------------- */
.ag-fullscreen-stage {
  min-height: calc(100vh - 110px);
  display: flex;
  flex-direction: column;
}

.ag-fs1-swiper {
  width: 100%;
  height: calc(100vh - 110px);
  min-height: 620px;
}

.ag-fs1-slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 64px 0;
}

.ag-fs1-slide__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.48);
}

.ag-fs1-slide__content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
}

.ag-fs1-slide__meta {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.14em;
  color: var(--ag-accent);
  margin-bottom: 12px;
}

.ag-fs1-slide__title {
  font-size: clamp(32px, 4.8vw, 68px);
  font-weight: 800;
  line-height: 1.12;
  max-width: 880px;
  margin-bottom: 16px;
}

.ag-fs-controls {
  position: absolute;
  right: 40px;
  bottom: 48px;
  z-index: 10;
  display: flex;
  gap: 12px;
}

.ag-fs-nav-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(20, 20, 27, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ag-fs-nav-btn:hover {
  background-color: var(--ag-accent);
  color: #111115;
  border-color: var(--ag-accent);
}

/* Fullscreen 02 Hover Wall */
.ag-fs2-wall {
  position: relative;
  min-height: calc(100vh - 110px);
  padding: 72px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ag-fs2-wall__bgs {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ag-fs2-wall__bgs img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.32);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.ag-fs2-wall__bgs img.is-active {
  opacity: 1;
}

.ag-fs2-wall .ag-container {
  position: relative;
  z-index: 2;
}

.ag-fs2-wall__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ag-fs2-item {
  padding: 28px;
  border-radius: 20px;
  background: rgba(20, 20, 28, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ag-fs2-item.is-active,
.ag-fs2-item:hover {
  border-color: var(--ag-accent);
  background: rgba(179, 222, 79, 0.16);
}

.ag-fs2-item__num {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ag-accent);
}

.ag-fs2-item__name {
  font-size: 26px;
  font-weight: 800;
  color: #FFFFFF;
}

/* Fullscreen 03 Split */
.ag-fs3-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 110px);
}

.ag-fs3-split__info {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #111116;
}

.ag-fs3-split__media {
  position: relative;
  overflow: hidden;
}
.ag-fs3-split__media img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

/* Masonry Grid */
.ag-masonry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

/* --------------------------------------------------------------------------
 * 11. Footer & Modals & Custom Cursor
 * -------------------------------------------------------------------------- */
.ag-footer {
  background-color: #0B0B0F;
  color: #F4F4F6;
  padding: 96px 0 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ag-footer__cta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 64px;
}

.ag-footer__cta-title {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.2;
}
.ag-footer__cta-title span {
  color: var(--ag-accent);
}

.ag-footer__main {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ag-footer__desc {
  font-size: 14.5px;
  color: rgba(244, 244, 246, 0.68);
  margin: 18px 0 24px;
  line-height: 1.75;
}

.ag-footer__social {
  display: flex;
  gap: 10px;
}
.ag-footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}
.ag-footer__social a:hover {
  background-color: var(--ag-accent);
  color: #111115;
}

.ag-footer__col-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.ag-footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14.5px;
  color: rgba(244, 244, 246, 0.72);
}
.ag-footer__links a:hover {
  color: var(--ag-accent);
}

.ag-footer__contact-item p {
  font-size: 14px;
  color: rgba(244, 244, 246, 0.72);
  margin-bottom: 14px;
  line-height: 1.65;
}

.ag-footer__bottom {
  padding-top: 32px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(244, 244, 246, 0.56);
  line-height: 1.8;
}

.ag-footer__legal {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
}

/* Modals */
.ag-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 8, 0.82);
  backdrop-filter: blur(10px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.ag-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ag-modal__box {
  position: relative;
  width: 100%;
  max-width: 680px;
  padding: 40px;
  border-radius: 24px;
  background-color: var(--ag-surface);
  border: 1px solid var(--ag-border-strong);
}

.ag-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--ag-surface-2);
  font-size: 16px;
  font-weight: 800;
}

.ag-search-form {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.ag-modal__video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #0B0B0F;
}

/* Custom Magic Cursor */
.ag-cursor-dot,
.ag-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  border-radius: 50%;
}

.ag-cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--ag-accent);
}

.ag-cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--ag-accent);
  transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
}
.ag-cursor-ring.is-hover {
  width: 56px;
  height: 56px;
  background-color: rgba(179, 222, 79, 0.15);
}

@media (pointer: coarse), (max-width: 991px) {
  .ag-cursor-dot,
  .ag-cursor-ring {
    display: none !important;
  }
}

/* Scroll Reveal */
.ag-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
 * 12. Responsive Breakpoints (1199px, 991px, 767px)
 * -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .ag-nav {
    display: none;
  }
  .ag-burger {
    display: inline-flex;
  }
  .ag-hero-1__top,
  .ag-hero-1__showcase,
  .ag-hero-2__grid,
  .ag-hero-4__layout,
  .ag-project-interactive,
  .ag-details-layout,
  .ag-profile-box,
  .ag-fs3-split {
    grid-template-columns: 1fr;
  }
  .ag-counter-strip,
  .ag-pricing-grid,
  .ag-blog-grid,
  .ag-masonry-grid,
  .ag-contact-cards,
  .ag-fs2-wall__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ag-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .ag-container,
  .ag-container--wide,
  .ag-header__inner,
  .member-bar__inner {
    padding-left: 16px;
    padding-right: 16px;
  }
  .member-bar {
    font-size: 11.5px;
    min-height: 34px;
  }
  .ag-header__cta {
    display: none;
  }
  .ag-section {
    padding: 72px 0;
  }
  .ag-section--sm {
    padding: 44px 0;
  }
  .ag-hero-1,
  .ag-hero-2,
  .ag-hero-3,
  .ag-hero-4,
  .ag-hero-5,
  .ag-hero-6,
  .ag-hero-7,
  .ag-hero-8,
  .ag-hero-9 {
    padding: 44px 0 64px;
  }
  .ag-grid-2,
  .ag-grid-3,
  .ag-grid-4,
  .ag-counter-strip,
  .ag-portfolio-grid,
  .ag-pricing-grid,
  .ag-blog-grid,
  .ag-masonry-grid,
  .ag-contact-cards,
  .ag-form-grid,
  .ag-hero-3__gallery,
  .ag-breadcrumb__grid,
  .ag-fs2-wall__list,
  .ag-footer__main {
    grid-template-columns: 1fr !important;
  }
  .ag-srv-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 14px;
  }
  .ag-award-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .ag-fs3-split__info {
    padding: 36px 20px;
  }
  .ag-form-box {
    padding: 24px 18px;
  }
  .ag-search-form {
    flex-direction: column;
  }
}
