.ets-footer {
  /* palette: from the ETS Labs brand system */
  --ets-green: #00FF88;
  --ets-green-hover: #66FFB3;
  --ets-black: #000000;
  --ets-rich-black: #141414;
  --ets-text: #A5A9BD;          /* 9.01:1 on black, passes AA and AAA */
  --ets-text-strong: #FFFFFF;
  /* --ets-muted was rgba(255,255,255,0.45) in the first draft. That computes to
     #737373 = 4.43:1 on black, which FAILS WCAG AA for the 11px label text.
     #9096AB measures 7.14:1. Do not lighten this value. */
  --ets-muted: #9096AB;
  --ets-rule: rgba(255, 255, 255, 0.14);
  --ets-font: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  background-color: var(--ets-black);
  color: var(--ets-text);
  font-family: var(--ets-font);
  font-size: 16px;
  line-height: 1.6;
  padding: 88px 0 28px;
}

.ets-footer__inner {
  max-width: 1550px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ---------- headings ---------- */
.ets-footer__heading {
  color: var(--ets-green);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 18px;
  padding-bottom: 14px;
  position: relative;
}

.ets-footer__heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--ets-green), rgba(0, 255, 136, 0));
}

/* headings that should not carry the accent rule */
.ets-footer__heading--plain { padding-bottom: 0; margin-bottom: 12px; }
.ets-footer__heading--plain::after { display: none; }

/* second heading inside the contact column needs top spacing */
.ets-footer__col--contact .ets-footer__heading:not(:first-child) { margin-top: 32px; }

/* ---------- row 1 layout ---------- */
.ets-footer__top {
  display: grid;
  grid-template-columns: minmax(260px, 24%) 1fr;
  gap: 56px;
  padding-bottom: 48px;
}

.ets-footer__cols {
  display: grid;
  /* v8.0: three nav columns plus the contact block, was four plus contact. */
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(230px, 1.25fr);
  gap: 32px;
}

/* ---------- brand block ---------- */
.ets-footer__logo-link { display: inline-block; }

.ets-footer__logo-link img {
  max-width: 170px;
  height: auto;
  display: block;
}

/* Tagline, restored in v11.0. "AI Innovation Lab" is the homepage H1 and
   opens the meta description sitewide, so the footer carries it. */
.ets-footer__tagline {
  color: var(--ets-text-strong)!important;
  font-size: 20px!important;
  font-weight: 700;
  line-height: 1.3;
  margin: 20px 0 6px;
}

/* Entity line. Sits under the tagline and states the relationship the tagline
   does not. Replaced .ets-footer__endorsement ("An Etech Global Services
   Company"), which contradicted this on company vs division. */
.ets-footer__identity {
  color: var(--ets-text)!important;
  font-size: 15px!important;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
  max-width: 320px;
}

.ets-footer__identity a {
  color: var(--ets-green);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 255, 136, 0.35);
}

.ets-footer__identity a:hover { border-bottom-color: var(--ets-green); }
.ets-footer__identity a:focus-visible { outline: 2px solid var(--ets-green); outline-offset: 3px; }

/* Primary conversion path, moved out of the Services column. */
.ets-footer__cta {
  display: inline-block;
  margin-top: 24px;
  padding: 13px 26px;
  border-radius: 30px;
  background-color: var(--ets-green);
  color: var(--ets-black);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease;
}

.ets-footer__cta:hover { background-color: var(--ets-green-hover); }
.ets-footer__cta:focus-visible { outline: 2px solid var(--ets-text-strong); outline-offset: 3px; }

.ets-footer__newsletter-sub {
  font-size: 13px!important;
  line-height: 1.55;
  color: var(--ets-muted)!important;
  margin: 0 0 14px;
  max-width: 320px;
}

/* ---------- newsletter ---------- */
.ets-footer__newsletter { margin-top: 36px; max-width: 340px; }

/* CF7 form 135 renders inside .ets-footer__newsletter.
   Selectors below match the markup Contact Form 7 outputs. */
.ets-footer__newsletter .wpcf7-form p { position: relative; margin: 0; max-width: 340px; }

.ets-footer__newsletter input[type="email"] {
  width: 100%;
  height: 52px;
  padding: 14px 60px 14px 26px;
  border: 1px solid transparent;
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--ets-text-strong);
  font-family: var(--ets-font);
  font-size: 16px;
}

.ets-footer__newsletter input[type="email"]::placeholder { color: var(--ets-text); }

/* visible focus ring: the current build sets outline:none with no replacement,
   which is a WCAG 2.4.7 failure */
.ets-footer__newsletter input[type="email"]:focus-visible {
  outline: none;
  border-color: var(--ets-green);
  box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.25);
}

.ets-footer__newsletter input[type="submit"] {
  position: absolute;
  top: 4px;
  right: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: transparent;
  background: var(--ets-green) url('https://cdn.etslabs.ai/wp-content/uploads/2025/12/balck-arrow.png') no-repeat center / 48%;
  transition: transform .4s ease, background-color .3s ease;
}

.ets-footer__newsletter input[type="submit"]:hover { transform: rotate(45deg); background-color: var(--ets-green-hover); }
.ets-footer__newsletter input[type="submit"]:focus-visible { outline: 2px solid var(--ets-text-strong); outline-offset: 2px; }

.ets-footer__consent { font-size: 13px!important; line-height: 1.5; margin: 14px 0 0; color: var(--ets-muted) !important;}
.ets-footer__consent a { color: var(--ets-green); text-decoration: underline; }

/* ---------- link columns ---------- */
.ets-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ets-footer__col li { margin: 0 0 12px; }

.ets-footer__col a {
  color: var(--ets-text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s ease;
}

.ets-footer__col a:hover,
.ets-footer__col a:focus-visible { color: var(--ets-text-strong); }

.ets-footer__col a:focus-visible { outline: 2px solid var(--ets-green); outline-offset: 3px; border-radius: 2px; }

/* ---------- contact / NAP ---------- */
.ets-footer__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ets-muted);
  margin-bottom: 4px;
}

.ets-footer__address {
  font-style: normal;
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 22px;
}

.ets-footer__contact { list-style: none; margin: 0; padding: 0; }
.ets-footer__contact li { margin-bottom: 14px; }

.ets-footer__contact a {
  color: var(--ets-text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.ets-footer__contact a:hover { color: var(--ets-text-strong); }
.ets-footer__contact a:focus-visible { outline: 2px solid var(--ets-green); outline-offset: 3px; }

/* ---------- social ---------- */
/* The legacy build set the anchors to opacity:0 over a CSS background image.
   That hides the interactive element from sighted keyboard users. Replaced
   with inline SVG that inherits currentColor. */
.ets-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-flow: row;
}

.ets-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ets-rule);
  border-radius: 50%;
  color: var(--ets-text);
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}

.ets-footer__social a:hover {
  color: var(--ets-black);
  background-color: var(--ets-green);
  border-color: var(--ets-green);
}

.ets-footer__social a:focus-visible { outline: 2px solid var(--ets-green); outline-offset: 3px; }
.ets-footer__social svg { fill: currentColor; display: block; }

/* screen-reader-only text */
.ets-footer__sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- legal bar ---------- */
.ets-footer__legal-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding-top: 24px;
  border-top: 1px solid var(--ets-rule);
}

.ets-footer__copyright { font-size: 14px!important; margin: 0;color: var(--ets-muted) !important; }

.ets-footer__legal ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-direction:row;
}

.ets-footer__legal a {
  color: var(--ets-text);
  font-size: 14px;
  text-decoration: none;
}

.ets-footer__legal a:hover { color: var(--ets-text-strong); text-decoration: underline; }
.ets-footer__legal a:focus-visible { outline: 2px solid var(--ets-green); outline-offset: 3px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1280px) {
  .ets-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
  .ets-footer__col--contact { grid-column: span 1; }
  .ets-footer__identity, .ets-footer__newsletter-sub { max-width: none; }
}

@media (max-width: 1024px) {
  .ets-footer__top { grid-template-columns: 1fr; gap: 44px; }
  .ets-footer { padding-top: 64px; }
}

@media (max-width: 720px) {
  .ets-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ets-footer__col--contact { grid-column: span 2; }
  .ets-footer__legal-bar { flex-direction: column; align-items: flex-start; }
  .ets-footer { padding-top: 52px; }
}

@media (max-width: 480px) {
  .ets-footer__cols { grid-template-columns: 1fr; }
  .ets-footer__col--contact { grid-column: span 1; }
  .ets-footer__newsletter { max-width: 100%; }
}

/* ---------- motion + contrast preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  .ets-footer__newsletter input[type="submit"] { transition: none; }
  .ets-footer__newsletter input[type="submit"]:hover { transform: none; }
}

@media (forced-colors: active) {
  .ets-footer__social a { border: 1px solid CanvasText; }
}


@media (max-width: 1600px) and (min-width: 1181px){
  .ets-footer__inner{max-width:96%;}
}