/* ==========================================================================
   A&G Facades — brand override
   Loaded AFTER assets/css/main.css on every page. Recolors the PixelR
   template to the A&G palette (deep blue + steel grey + glass-green) and
   provides the text wordmark used in place of the template logo SVGs.
   ========================================================================== */

:root {
  /* Accent (was lime #C9F31D) -> A&G logo cyan */
  --gt-theme: #00a3c4;
  --gt-theme-2: #00a3c4;
  --gt-theme-3: #00a3c4;
  /* Dark UI + headings -> deep teal-navy (from logo) */
  --gt-header: #08344c;
  /* Body text -> steel */
  --gt-text: #4d5a67;

  /* A&G named tokens — derived from the logo (cyan + steel-blue + charcoal) */
  --ag-blue: #00628f; /* @kind color */
  --ag-blue-deep: #08344c; /* @kind color */
  --ag-blue-bright: #00a3c4; /* @kind color */
  --ag-cyan: #00a3c4; /* @kind color */
  --ag-steel: #5a6b7b; /* @kind color */
  --ag-steel-light: #aeb9c4; /* @kind color */
  --ag-glass: #00a3c4; /* @kind color */
  --ag-ink: #1c2024; /* @kind color */
  --ag-paper: #f4f6f8; /* @kind color */
}

::selection { background: var(--ag-blue); color: #fff; }

/* Links / hover accents that used pure black -> navy */
a:hover { color: var(--ag-blue-bright); }

/* ----- Logo lockup (real A&G logo image via the .ag-wordmark hook) --------- */
/* The pages mark up a text wordmark; we render the actual logo as a
   background image and hide the text, so no HTML changes are needed. */
.ag-wordmark {
  display: inline-block;
  width: 66px;   /* logo is ~square (148×152); box was 148px wide → big empty gap. Tighten to the logo. */
  height: 65px;
  background-image: url("../img/ag/logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  /* hide the literal A&G text */
  font-size: 0;
  line-height: 0;
  color: transparent;
  white-space: nowrap;
  overflow: hidden;
}
.ag-wordmark > span { display: none; }
/* white-text version on dark header / footer */
.ag-wordmark.is-light { background-image: url("../img/ag/logo-light.png"); }
/* charcoal version on light (sticky) header / offcanvas panel */
.ag-wordmark.is-dark { background-image: url("../img/ag/logo.png"); }

.footer-logo .ag-wordmark { width: 66px; height: 64px; }

@media (max-width: 480px) {
  .ag-wordmark { width: 48px; height: 46px; }
}

/* Footer — proper dark treatment (deep teal-navy bg + light text) */
.footer-area-one .footer-wrapper { background: var(--ag-blue-deep); }
.footer-area-one .footer-wrapper .footer-top-part,
.footer-area-one .footer-wrapper .footer-main-part { border-color: rgba(255,255,255,0.14); }
.footer-area-one .footer-wrapper .footer-top-left-content .contact-info .phone-number,
.footer-area-one .footer-wrapper .footer-top-left-content .contact-info .email { color: #e6edf3; }
.footer-area-one .footer-wrapper .footer-top-left-content .contact-info .phone-number:hover,
.footer-area-one .footer-wrapper .footer-top-left-content .contact-info .email:hover { color: var(--ag-blue-bright); }
.footer-area-one .footer-wrapper .footer-top-right-content .form-control,
.footer-area-one .footer-wrapper .footer-top-right-content .form-control::placeholder { color: #cdd8e2; }
.footer-area-one .footer-wrapper .footer-top-right-content .form-control { border-color: rgba(255,255,255,0.25) !important; }
.footer-area-one .footer-wrapper .footer-top-right-content .form-group .icon path { fill: var(--ag-blue-bright); }
.footer-area-one .footer-wrapper .footer-top-right-content .content .text,
.footer-area-one .footer-wrapper .footer-top-right-content .content .text a { color: #9fb0c4; }
.footer-area-one .footer-wrapper .footer-main-part .footer-menu .menu-title { color: #fff; }
.footer-area-one .footer-wrapper .footer-main-part .footer-menu ul li a { color: #b9c5d1; }
.footer-area-one .footer-wrapper .footer-main-part .footer-menu ul li a:hover { color: var(--ag-blue-bright); }
.footer-area-one .footer-bottom12 { background: #061f2e; }
.footer-area-one .footer-bottom12 p { border-top-color: rgba(255,255,255,0.14); }

/* ==========================================================================
   Service quick-info modal
   ========================================================================== */
.ag-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.ag-modal.is-open { display: flex; }
.ag-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6,24,36,0.72);
  backdrop-filter: blur(4px);
  animation: agFade .25s ease;
}
.ag-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 88vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 18px;
  padding: 44px 44px 36px;
  box-shadow: 0 40px 90px -30px rgba(6,24,36,0.6);
  animation: agPop .3s cubic-bezier(.2,.8,.2,1);
}
@keyframes agFade { from { opacity: 0; } }
@keyframes agPop { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.ag-modal__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--ag-paper);
  color: var(--ag-ink);
  font-size: 16px;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.ag-modal__close:hover { background: var(--ag-blue); color: #fff; }
.ag-modal__num {
  font-family: "Anton", sans-serif;
  font-size: 18px;
  color: var(--ag-cyan);
  letter-spacing: 1px;
}
.ag-modal__eyebrow {
  display: block;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--ag-steel);
  margin: 8px 0 6px;
}
.ag-modal__title {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1;
  color: var(--ag-ink);
  margin: 0 0 14px;
}
.ag-modal__lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ag-steel);
  margin: 0 0 26px;
}
.ag-modal__systems {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 30px;
}
.ag-modal__sys {
  background: var(--ag-paper);
  border: 1px solid #e7ebef;
  border-left: 3px solid var(--ag-cyan);
  border-radius: 10px;
  padding: 16px 18px;
}
.ag-modal__sys h4 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--ag-blue);
  margin: 0 0 6px;
  letter-spacing: .3px;
}
.ag-modal__sys p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ag-steel);
  margin: 0;
}
.ag-modal__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ag-modal__actions .ag-btn i { font-size: 12px; }
@media (max-width: 575px) {
  .ag-modal__dialog { padding: 36px 22px 28px; }
  .ag-modal__systems { grid-template-columns: 1fr; }
  .ag-modal__actions .ag-btn { flex: 1 1 auto; justify-content: center; }
}

/* ==========================================================================
   Services — interactive split showcase (list + live preview)
   ========================================================================== */
.ag-svc {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: center;
  margin-top: 56px;
}
.ag-svc__list { display: flex; flex-direction: column; }
.ag-svc__row {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 24px 6px;
  background: none;
  border: none;
  border-top: 1px solid #e2e7ec;
  text-align: left;
  cursor: pointer;
  transition: padding .3s ease;
}
.ag-svc__row:last-child { border-bottom: 1px solid #e2e7ec; }
.ag-svc__row .num {
  font-family: "Anton", sans-serif;
  font-size: 16px;
  color: var(--ag-steel-light);
  width: 30px;
  flex: none;
  transition: color .3s ease;
}
.ag-svc__row .name {
  font-family: "Anton", sans-serif;
  text-transform: uppercase;
  font-size: clamp(21px, 2.3vw, 31px);
  line-height: 1;
  color: var(--ag-ink);
  flex: 1;
  transition: color .3s ease;
}
.ag-svc__row .arw {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid #d9e0e7;
  display: flex; align-items: center; justify-content: center;
  color: var(--ag-steel);
  font-size: 13px;
  flex: none;
  opacity: 0;
  transform: translateX(-8px);
  transition: all .3s ease;
}
.ag-svc__row:hover .num,
.ag-svc__row.is-active .num { color: var(--ag-cyan); }
.ag-svc__row:hover .name,
.ag-svc__row.is-active .name { color: var(--ag-blue); }
.ag-svc__row:hover,
.ag-svc__row.is-active { padding-left: 14px; }
.ag-svc__row:hover .arw,
.ag-svc__row.is-active .arw {
  opacity: 1; transform: translateX(0);
  background: var(--ag-blue); border-color: var(--ag-blue); color: #fff;
}

.ag-svc__preview {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 34px 70px -34px rgba(8,52,76,0.45);
}
.ag-svc__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: #dfe4e9; }
.ag-svc__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease; }
.ag-svc__num {
  position: absolute; top: 18px; left: 18px;
  font-family: "Anton", sans-serif; font-size: 18px; color: #fff;
  width: 46px; height: 46px; border-radius: 10px;
  background: rgba(8,52,76,0.62); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
}
.ag-svc__info { padding: 30px 34px 34px; }
.ag-svc__info h3 {
  font-family: "Anton", sans-serif; font-weight: 400;
  text-transform: uppercase; letter-spacing: .5px;
  font-size: clamp(24px, 2.6vw, 32px); line-height: 1;
  color: var(--ag-ink); margin: 0 0 14px;
}
.ag-svc__info p { font-size: 15.5px; line-height: 1.7; color: var(--ag-steel); margin: 0 0 22px; }
@media (max-width: 991px) {
  .ag-svc { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 575px) {
  .ag-svc__row { padding: 18px 6px; gap: 12px; }
  .ag-svc__row:hover, .ag-svc__row.is-active { padding-left: 8px; }
  .ag-svc__info { padding: 26px 22px 28px; }
}

/* Glass-green pill chips used on services/projects */
.ag-chip {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(0,163,196,0.12);
  color: var(--ag-blue);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Client / architect marquee text */
.ag-client {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.2px;
  text-transform: none;
  color: #7c8894;
  padding: 15px 26px;
  border: 1px solid #e4e9ee;
  border-radius: 12px;
  background: #fff;
  transition: color .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.ag-client::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 2px;
  flex: none;
  background: var(--ag-steel-light);
  transition: background .3s ease;
}
.ag-client:hover {
  color: var(--ag-blue);
  border-color: var(--ag-blue-bright);
  box-shadow: 0 14px 30px -18px rgba(8,52,76,.5);
  transform: translateY(-2px);
}
.ag-client:hover::before { background: var(--ag-glass); }
.brand-area-one .brand-logo { padding: 0 10px; }

/* Section eyebrow line accent */
.sub-title2, .sub-title, .subtitle-3 { color: var(--ag-blue-bright); }

/* ==========================================================================
   A&G page components (inner pages)
   ========================================================================== */
.ag-page-hero {
  position: relative;
  padding: 230px 0 110px;
  background: var(--ag-blue-deep);
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.ag-page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,31,63,0.78), rgba(13,31,63,0.92));
}
.ag-page-hero .container { position: relative; z-index: 2; }
.ag-page-hero h1 {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 0.95;
  font-size: clamp(40px, 6vw, 80px);
  margin: 0 0 18px;
  color: #fff;
}
.ag-breadcrumb {
  display: flex; align-items: center; gap: 10px;
  font-family: "Inter", sans-serif; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; font-size: 13px;
  color: var(--ag-glass);
}
.ag-breadcrumb a { color: #cfd7e0; }
.ag-breadcrumb a:hover { color: #fff; }
.ag-breadcrumb .sep { opacity: 0.5; color: #fff; }
.ag-page-hero .lead { max-width: 640px; margin-top: 8px; color: #d4dbe4; font-size: 18px; line-height: 1.6; }

.ag-sec { padding: 110px 0; }
.ag-sec.tight { padding: 80px 0; }
.ag-sec.alt { background: var(--ag-paper); }
.ag-eyebrow {
  display: inline-block;
  font-family: "Inter", sans-serif; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; font-size: 14px;
  color: var(--ag-blue-bright); margin-bottom: 14px;
}
.ag-h2 {
  font-family: "Anton", sans-serif; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.5px; line-height: 1;
  font-size: clamp(30px, 4.2vw, 54px); color: var(--ag-ink); margin: 0 0 22px;
}
.ag-lead { font-size: 18px; line-height: 1.7; color: var(--ag-steel); max-width: 720px; }
.ag-body { font-size: 16px; line-height: 1.8; color: var(--ag-steel); }
.ag-body p { margin-bottom: 16px; }

/* Stat band */
.ag-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.ag-stat .num { font-family: "Anton", sans-serif; font-size: clamp(34px,4vw,56px); color: var(--ag-blue); line-height: 1; }
.ag-stat .lbl { margin-top: 8px; font-size: 14px; letter-spacing: 0.5px; color: var(--ag-steel); text-transform: uppercase; font-weight: 600; }
@media (max-width: 767px){ .ag-stats { grid-template-columns: repeat(2,1fr); gap: 24px; } }

/* Card grid (services / projects) */
.ag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ag-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 991px){ .ag-grid, .ag-grid.cols-2 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 575px){ .ag-grid, .ag-grid.cols-2 { grid-template-columns: 1fr; } }

.ag-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid #e7ebef; border-radius: 14px; overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.ag-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(13,31,63,0.45); border-color: transparent; }
.ag-card .thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #dfe4e9; }
.ag-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ag-card:hover .thumb img { transform: scale(1.06); }
.ag-card .meta { padding: 24px 24px 28px; }
.ag-card .meta .k { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ag-glass); font-weight: 700; }
.ag-card .meta h3 { font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase; font-size: 24px; line-height: 1.05; margin: 10px 0 10px; color: var(--ag-ink); }
.ag-card .meta p { font-size: 15px; line-height: 1.6; color: var(--ag-steel); margin: 0; }
.ag-card .tag { position: absolute; top: 14px; left: 14px; z-index: 3; background: rgba(13,31,63,0.85); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 6px 12px; border-radius: 100px; }

/* Service list rows */
.ag-list { list-style: none; margin: 0; padding: 0; }
.ag-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid #e7ebef; color: var(--ag-ink); font-weight: 500; }
.ag-list li i, .ag-list li .ic { color: var(--ag-glass); flex: none; margin-top: 2px; }

/* Buttons */
.ag-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ag-blue); color: #fff; font-family: "Inter", sans-serif; font-weight: 600;
  letter-spacing: 0.5px; padding: 16px 30px; border-radius: 100px; border: none;
  text-transform: uppercase; font-size: 14px; transition: background .3s ease, transform .3s ease; cursor: pointer;
}
.ag-btn:hover { background: var(--ag-blue-bright); color: #fff; transform: translateY(-2px); }
.ag-btn.ghost { background: transparent; color: var(--ag-blue); border: 1.5px solid var(--ag-blue); }
.ag-btn.ghost:hover { background: var(--ag-blue); color: #fff; }
.ag-btn.light { background: var(--ag-glass); color: #06222b; }
.ag-btn.light:hover { background: #2bbfde; }

/* Split feature row */
.ag-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ag-split .media { border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; background: #dfe4e9; }
.ag-split .media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 991px){ .ag-split { grid-template-columns: 1fr; gap: 34px; } }

/* News cards */
.ag-news-card { display: flex; flex-direction: column; background:#fff; border:1px solid #e7ebef; border-radius: 14px; overflow: hidden; transition: transform .35s, box-shadow .35s; }
.ag-news-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(13,31,63,0.4); }
.ag-news-card .thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background:#dfe4e9; }
.ag-news-card .thumb img { width:100%; height:100%; object-fit: cover; }
.ag-news-card .kind { position:absolute; top:14px; left:14px; background: var(--ag-glass); color:#06222b; font-size:11px; font-weight:700; letter-spacing:1px; text-transform:uppercase; padding:6px 12px; border-radius:100px; }
.ag-news-card .kind.video { background:#e2483d; color:#fff; }
.ag-news-card .kind.press { background: var(--ag-blue); color:#fff; }
.ag-news-card .kind.insight { background:#6b51b8; color:#fff; }
.ag-news-card .body { padding: 22px 24px 26px; }
.ag-news-card .date { font-size:12px; letter-spacing:1px; text-transform:uppercase; color:var(--ag-steel); font-weight:600; }
.ag-news-card h3 { font-family:"Inter",sans-serif; font-weight:700; font-size:20px; line-height:1.3; margin:10px 0 10px; color:var(--ag-ink); }
.ag-news-card p { font-size:15px; line-height:1.6; color:var(--ag-steel); margin:0; }
.ag-play { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; }
.ag-play span { width:64px; height:64px; border-radius:50%; background:rgba(255,255,255,0.92); display:flex; align-items:center; justify-content:center; color:var(--ag-blue); font-size:20px; padding-left:4px; }

/* Project filter chips */
.ag-filter { background:#fff; border:1.5px solid #d9e0e7; color:var(--ag-steel); font-family:"Inter",sans-serif; font-weight:600; font-size:14px; letter-spacing:.5px; padding:10px 22px; border-radius:100px; cursor:pointer; transition:all .25s ease; }
.ag-filter:hover { border-color:var(--ag-blue); color:var(--ag-blue); }
.ag-filter.is-active { background:var(--ag-blue); border-color:var(--ag-blue); color:#fff; }

/* Contact info tiles */
.ag-info { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; align-items:stretch; }
@media (max-width:1100px){ .ag-info { grid-template-columns:repeat(2,1fr); } }
@media (max-width:575px){ .ag-info { grid-template-columns:1fr; } }
.ag-info .tile { background:#fff; border:1px solid #e7ebef; border-radius:14px; padding:32px; }
.ag-info .tile .ic { width:52px; height:52px; border-radius:12px; background:rgba(0,163,196,0.12); color:var(--ag-blue); display:flex; align-items:center; justify-content:center; font-size:20px; margin-bottom:16px; }
.ag-info .tile h3 { font-family:"Anton",sans-serif; font-weight:400; text-transform:uppercase; font-size:20px; color:var(--ag-ink); margin:0 0 10px; }
.ag-info .tile p, .ag-info .tile a { font-size:15px; line-height:1.7; color:var(--ag-steel); display:block; }
.ag-info .tile a:hover { color:var(--ag-blue-bright); }

/* ==========================================================================
   A&G Hero (home) — left-aligned editorial layout with bottom stat bar
   ========================================================================== */
.ag-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;   /* fill exactly one screen so no next section peeks under the hero */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.ag-hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background-size: cover;
  background-position: center right;
  transform: scale(1.04);
}
.ag-hero__inner {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 104px 0 20px;   /* tightened so hero + stats bar fit within one screen */
}
.ag-hero__content { max-width: 760px; }
.ag-hero__eyebrow {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--ag-cyan);
  padding: 8px 0 4px;
  margin-bottom: 22px;
  border-top: 2px solid var(--ag-cyan);
}
.ag-hero__title {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  color: #fff;
  line-height: 0.92;
  letter-spacing: 1px;
  font-size: clamp(54px, 8.5vw, 132px);
  margin: 0 0 26px;
}
.ag-hero__title span { color: var(--ag-cyan); }
.ag-hero__lead {
  color: #d6dee6;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 0 34px;
}
.ag-hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }
.ag-btn.light-outline { color: #fff; border-color: rgba(255,255,255,0.55); }
.ag-btn.light-outline:hover { background: #fff; color: var(--ag-blue-deep); border-color: #fff; }
.ag-hero__cta .ag-btn i { font-size: 13px; transition: transform .3s ease; }
.ag-hero__cta .ag-btn:hover i { transform: translateX(4px); }

/* bottom stat bar */
.ag-hero__stats {
  position: relative;
  background: rgba(8,32,48,0.55);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255,255,255,0.14);
}
.ag-hero__stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.ag-hero__stat {
  padding: 18px 10px 18px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ag-hero__stat + .ag-hero__stat { padding-left: 40px; border-left: 1px solid rgba(255,255,255,0.14); }
.ag-hero__stat .n {
  font-family: "Anton", sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  color: #fff;
}
.ag-hero__stat .n em { font-style: normal; color: var(--ag-cyan); }
.ag-hero__stat .l {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #aebccb;
  font-weight: 600;
}
@media (max-width: 991px) {
  .ag-hero__inner { padding: 108px 0 20px; }
  .ag-hero__stats-row { grid-template-columns: repeat(2, 1fr); }
  .ag-hero__stat:nth-child(3) { border-left: 0; }
  .ag-hero__stat + .ag-hero__stat { padding-left: 26px; }
  .ag-hero__stat:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 575px) {
  .ag-hero { min-height: 100svh; }
  .ag-hero__stat { padding: 20px 8px 20px 0; }
  .ag-hero__cta .ag-btn { flex: 1 1 auto; justify-content: center; }
}

/* ----- Client / partner logo wall ----------------------------------------- */
.brand-area-one .brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
}
.client-logo {
  height: 46px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter .3s ease, opacity .3s ease;
}
.brand-logo:hover .client-logo { filter: grayscale(0); opacity: 1; }

/* ----- Recent works: consistent image fit --------------------------------- */
.project-area-one .project-wrapper .card-items .card-single-item .project-image {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
.project-area-one .project-wrapper .card-items .card-single-item .project-image img {
  width: 100%;
  height: clamp(340px, 40vw, 560px);
  object-fit: cover;
  object-position: center;
  display: block;
}
@media (max-width: 767px) {
  .project-area-one .project-wrapper .card-items .card-single-item .project-image img {
    height: clamp(260px, 70vw, 420px);
  }
}

/* ==========================================================================
   Team Directory (feature 3)
   ========================================================================== */
.ag-team { display: grid; grid-template-columns: repeat(4,1fr); gap: 26px; margin-top: 40px; }
@media (max-width: 991px){ .ag-team { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .ag-team { grid-template-columns: 1fr; } }
.ag-person {
  background: #fff; border: 1px solid #e7ebef; border-radius: 16px; overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.ag-person:hover { transform: translateY(-6px); box-shadow: 0 26px 54px -26px rgba(8,52,76,.42); border-color: transparent; }
.ag-person__ph {
  position: relative; aspect-ratio: 1/1; overflow: hidden;
  background: linear-gradient(150deg, var(--ag-blue) 0%, var(--ag-blue-deep) 100%);
  display: flex; align-items: center; justify-content: center;
}
.ag-person__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ag-person__mono {
  font-family: "Anton", sans-serif; font-size: 52px; color: rgba(255,255,255,.92); letter-spacing: 1px;
}
.ag-person__ph::after {
  content: ""; position: absolute; right: -30px; bottom: -30px; width: 120px; height: 120px;
  border-radius: 50%; border: 22px solid rgba(0,163,196,.22);
}
.ag-person__b { padding: 20px 22px 24px; }
.ag-person__b h3 { font-family: "Inter", sans-serif; font-weight: 700; font-size: 18px; color: var(--ag-ink); margin: 0 0 3px; }
.ag-person__role { font-size: 13.5px; color: var(--ag-blue-bright); font-weight: 600; }
.ag-person__dept { font-size: 12px; letter-spacing: .5px; text-transform: uppercase; color: var(--ag-steel-light); margin-top: 2px; }
.ag-person__bio { font-size: 13.5px; line-height: 1.6; color: var(--ag-steel); margin: 12px 0 0; }
.ag-person__soc { display: flex; gap: 8px; margin-top: 16px; }
.ag-person__soc a {
  width: 34px; height: 34px; border-radius: 8px; border: 1px solid #e2e7ec; color: var(--ag-steel);
  display: flex; align-items: center; justify-content: center; font-size: 13px; transition: .25s;
}
.ag-person__soc a:hover { background: var(--ag-blue); color: #fff; border-color: var(--ag-blue); }
.ag-dept-head { display: flex; align-items: baseline; gap: 14px; margin: 54px 0 4px; }
.ag-dept-head h2 { font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase; font-size: 26px; color: var(--ag-ink); margin: 0; }
.ag-dept-head .rule { flex: 1; height: 1px; background: #e2e7ec; }

/* ==========================================================================
   Top Performers Spotlight (feature 4)
   ========================================================================== */
.ag-perf { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 44px; }
@media (max-width: 900px){ .ag-perf { grid-template-columns: 1fr; } }
.ag-perf__card {
  position: relative; background: #fff; border: 1px solid rgba(255,255,255,.08); border-radius: 16px;
  padding: 30px 28px; display: flex; flex-direction: column; gap: 16px;
}
.ag-perf__top { display: flex; align-items: center; gap: 16px; }
.ag-perf__av {
  width: 62px; height: 62px; border-radius: 50%; flex: none; position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--ag-glass), var(--ag-blue)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: "Anton",sans-serif; font-size: 22px;
}
.ag-perf__av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ag-perf__who h3 { font-family: "Inter",sans-serif; font-weight: 700; font-size: 17px; color: var(--ag-ink); margin: 0; }
.ag-perf__who span { font-size: 13px; color: var(--ag-blue-bright); font-weight: 600; }
.ag-perf__badge {
  align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase; color: #b07a1e; background: #fbf0dd; border-radius: 100px; padding: 5px 12px;
}
.ag-perf__body { font-size: 14.5px; line-height: 1.65; color: var(--ag-steel); margin: 0; }
.ag-perf__metrics { display: flex; gap: 26px; border-top: 1px solid #eef1f4; padding-top: 18px; margin-top: 2px; }
.ag-perf__metrics .m .n { font-family: "Anton",sans-serif; font-size: 26px; color: var(--ag-blue); line-height: 1; }
.ag-perf__metrics .m .l { font-size: 12px; color: var(--ag-steel); margin-top: 4px; }

/* ==========================================================================
   Awards & Recognition (feature 11)
   ========================================================================== */
.ag-awards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 40px; }
@media (max-width: 900px){ .ag-awards { grid-template-columns: 1fr; } }
.ag-award {
  display: flex; gap: 18px; background: #fff; border: 1px solid #e7ebef; border-radius: 14px; padding: 24px 24px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.ag-award:hover { transform: translateY(-4px); box-shadow: 0 20px 44px -24px rgba(8,52,76,.4); }
.ag-award .ic {
  width: 52px; height: 52px; flex: none; border-radius: 12px; background: rgba(0,163,196,.12);
  color: var(--ag-blue); display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.ag-award .yr { font-family: "Anton",sans-serif; font-size: 14px; color: var(--ag-glass); letter-spacing: 1px; }
.ag-award h3 { font-family: "Inter",sans-serif; font-weight: 700; font-size: 16px; color: var(--ag-ink); margin: 3px 0 6px; }
.ag-award p { font-size: 13.5px; line-height: 1.55; color: var(--ag-steel); margin: 0; }

/* ==========================================================================
   Testimonials (feature 10)
   ========================================================================== */
.ag-quotes { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 42px; }
@media (max-width: 900px){ .ag-quotes { grid-template-columns: 1fr; } }
.ag-quote {
  background: #fff; border: 1px solid #e7ebef; border-radius: 16px; padding: 32px 30px;
  display: flex; flex-direction: column;
}
.ag-quote .mark { font-family: "Anton",sans-serif; font-size: 46px; line-height: .6; color: var(--ag-glass); }
.ag-quote p { font-size: 16px; line-height: 1.75; color: var(--ag-ink); margin: 14px 0 22px; flex: 1; }
.ag-quote .who { display: flex; align-items: center; gap: 13px; }
.ag-quote .who .av {
  width: 46px; height: 46px; border-radius: 50%; flex: none; background: linear-gradient(150deg,var(--ag-blue),var(--ag-blue-deep));
  color: #fff; display: flex; align-items: center; justify-content: center; font-family: "Anton",sans-serif; font-size: 16px;
}
.ag-quote .who .nm { font-weight: 700; font-size: 15px; color: var(--ag-ink); }
.ag-quote .who .rl { font-size: 13px; color: var(--ag-steel); }
.ag-quote .stars { color: #e8a33d; font-size: 13px; margin-bottom: 4px; }

/* ==========================================================================
   Get-a-Quote / inquiry form (feature 7)
   ========================================================================== */
.ag-quote-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
@media (max-width: 900px){ .ag-quote-wrap { grid-template-columns: 1fr; gap: 40px; } }
.ag-quote-aside h2 { font-family: "Anton",sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(28px,3.4vw,40px); color: var(--ag-ink); line-height: 1.02; margin: 10px 0 16px; }
.ag-quote-aside p { font-size: 16px; line-height: 1.7; color: var(--ag-steel); margin: 0 0 26px; }
.ag-quote-aside .step { display: flex; gap: 14px; margin-bottom: 20px; }
.ag-quote-aside .step .n { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--ag-blue); color: #fff; font-family: "Anton",sans-serif; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.ag-quote-aside .step h4 { font-size: 15px; font-weight: 700; color: var(--ag-ink); margin: 4px 0 3px; }
.ag-quote-aside .step p { font-size: 13.5px; margin: 0; }
.ag-form { background: #fff; border: 1px solid #e7ebef; border-radius: 18px; padding: 38px; box-shadow: 0 30px 70px -40px rgba(8,52,76,.4); }
.ag-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px){ .ag-form .row2 { grid-template-columns: 1fr; } }
.ag-field { margin-bottom: 18px; }
.ag-field label { display: block; font-size: 13px; font-weight: 600; color: var(--ag-ink); margin-bottom: 7px; }
.ag-field label .req { color: var(--ag-glass); }
.ag-field label .opt { color: var(--ag-steel); font-weight: 400; font-size: .85em; }
.ag-field input, .ag-field select, .ag-field textarea {
  width: 100%; border: 1px solid #dfe4e9; border-radius: 10px; padding: 12px 14px; font: inherit; font-size: 14.5px;
  color: var(--ag-ink); background: #fff; outline: none; transition: border-color .2s ease;
}
.ag-field input:focus, .ag-field select:focus, .ag-field textarea:focus { border-color: var(--ag-blue-bright); }
.ag-drop {
  border: 2px dashed #cfd8e1; border-radius: 12px; padding: 26px; text-align: center; color: var(--ag-steel);
  font-size: 14px; cursor: pointer; transition: .25s;
}
.ag-drop:hover { border-color: var(--ag-blue-bright); color: var(--ag-blue); background: #f8fbfc; }
.ag-drop i { font-size: 26px; display: block; margin-bottom: 10px; color: var(--ag-glass); }
.ag-drop .files { font-size: 12.5px; color: var(--ag-blue); margin-top: 10px; font-weight: 600; }
.ag-form .submit { width: 100%; justify-content: center; margin-top: 6px; font-size: 15px; }
.ag-form__ok { display: none; text-align: center; padding: 20px 6px; }
.ag-form__ok.show { display: block; }
.ag-form__ok .tick { width: 66px; height: 66px; border-radius: 50%; background: #e4f5ee; color: #1f9d6b; display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 18px; }
.ag-form__ok h3 { font-family: "Anton",sans-serif; font-weight: 400; text-transform: uppercase; font-size: 26px; color: var(--ag-ink); margin: 0 0 10px; }
.ag-form__ok p { font-size: 15px; color: var(--ag-steel); line-height: 1.6; }
