/* ==========================================================================
   DIDC Footer V2 — Comprehensive Scoped Styles  (LOCKED)
   Everything scoped under .didc-footer to prevent conflicts

   LOCK METADATA
   -------------
   Locked on:        2026-08-19
   Locked by:        Gaurav Gaikwad
   HTML counterpart: footer.php  (also LOCKED, build footer.php.bak.LOCKED_*)
   Scope:            Every rule here lives under .didc-footer  *except*
                     the :root design tokens which are intentionally
                     global so other pages can use the brand variables.
   ========================================================================== */

/* CSS Custom Properties (scoped via :root for global access) */
:root {
  --didc-red: #ED1440;
  --didc-red2: #FF2742;
  --didc-red3: #C00A2E;
  --didc-navy: #0A1F44;
  --didc-ink: #1A1F2E;
  --didc-body: #5A6072;
  --didc-muted: #8A91A0;
  --didc-line: #E2E7EF;
  --didc-line2: rgba(45,27,14,0.08);
  --didc-soft: #FFF3F5;
  --didc-card: #FFFFFF;
  --didc-shadow: 0 18px 50px rgba(15,31,68,0.06);
  --didc-shadow2: 0 8px 24px rgba(15,31,68,0.04);
  --didc-shadow3: 0 4px 14px rgba(15,31,68,0.04);
  --didc-wrap: 1320px;
  --didc-font-d: "Sora", sans-serif;
  --didc-font-b: "Manrope", sans-serif;
  --didc-font-m: "JetBrains Mono", ui-monospace, monospace;
  --didc-ease: cubic-bezier(0.22, 0.85, 0.3, 1);
}

/* === FOOTER ROOT === */
.didc-footer {
  box-sizing: border-box;
  padding: 18px 0 0 0;
  background: linear-gradient(180deg, #f7f9fc 0%, #f4f7fb 100%);
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.didc-footer *,
.didc-footer *::before,
.didc-footer *::after {
  box-sizing: border-box;
}
.didc-footer a {
  text-decoration: none;
  color: inherit;
}
.didc-footer button {
  font: inherit;
}

/* === WRAPPER === */
.didc-footer .didc-wrap {
  width: 100%;
  max-width: var(--didc-wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== CTA PANEL ===== */
.didc-footer .future-panel {
  position: relative;
  overflow: hidden;
  min-height: 200px;
  border: 1px solid var(--didc-line);
  border-radius: 16px;
  background: linear-gradient(135deg, #FFFFFF 0%, #FBFCFE 60%, #FFF5F6 100%);
  display: grid;
  grid-template-columns: 0.95fr 1.45fr;
  gap: 40px;
  align-items: center;
  padding: 32px 40px;
}
.didc-footer .future-circuit-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.didc-footer .future-wave-img {
  position: absolute;
  right: -30px;
  bottom: -55px;
  width: 620px;
  max-width: 100%;
  height: auto;
  opacity: 0.85;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 8px 20px rgba(239, 35, 60, 0.12));
}
.didc-footer .future-copy {
  position: relative;
  z-index: 2;
  text-align: left;
}
.didc-footer .eyebrow {
  display: block;
  color: var(--didc-red);
  font-family: var(--didc-font-m);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-align: left;
}
.didc-footer .future-copy h2 {
  margin: 0;
  color: var(--didc-navy);
  font-family: var(--didc-font-d);
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 800;
  text-align: left;
}
.didc-footer .future-copy h2 span {
  color: var(--didc-red);
}
.didc-footer .future-copy p {
  max-width: 600px;
  margin: 12px 0 0;
  color: var(--didc-body);
  font-size: 0.94rem;
  line-height: 1.6;
  font-weight: 400;
  text-align: left;
}
.didc-footer .future-features {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr) 200px;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.didc-footer .future-feature {
  min-height: 88px;
  padding: 4px 14px;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  border-right: 1px solid var(--didc-line2);
  transition: 0.3s var(--didc-ease);
}
.didc-footer .future-feature:nth-child(3) { border-right: 0; }
.didc-footer .future-feature:hover { transform: translateY(-4px); }
.didc-footer .feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--didc-line);
  box-shadow: var(--didc-shadow3);
  color: var(--didc-red);
  flex-shrink: 0;
}
.didc-footer .feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.didc-footer .future-feature strong {
  display: block;
  color: var(--didc-navy);
  font-family: var(--didc-font-d);
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 3px;
  letter-spacing: -0.01em;
  text-align: left;
}
.didc-footer .future-feature small {
  display: block;
  color: var(--didc-body);
  font-size: 0.7rem;
  line-height: 1.45;
  text-align: left;
}
.didc-footer .enquire-btn {
  height: 46px;
  margin-left: 10px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--didc-red2), var(--didc-red3));
  box-shadow: 0 12px 26px rgba(237, 20, 64, 0.28);
  font-family: var(--didc-font-d);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: 0.3s var(--didc-ease);
  text-decoration: none;
}
.didc-footer .enquire-btn::before {
  content: "";
  position: absolute;
  left: -45%;
  top: 0;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-18deg);
}
.didc-footer .enquire-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(237, 20, 64, 0.4);
}
.didc-footer .enquire-btn:hover::before { animation: didcShine 0.65s forwards; }
@keyframes didcShine { to { left: 125%; } }
.didc-footer .enquire-circle {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  line-height: 1;
}

/* ===== FOOTER BODY ===== */
.didc-footer .footer-body {
  position: relative;
  overflow: hidden;
  margin-top: 20px;
  padding: 0;
  border: 1px solid var(--didc-line);
  border-radius: 18px;
  background: radial-gradient(circle at 8% 92%, rgba(237,20,64,0.04) 0%, transparent 28%), linear-gradient(180deg, #FFFFFF 0%, #FBFCFE 100%);
}
.didc-footer .brand-globe-img {
  position: absolute;
  left: -30px;
  bottom: 0px;
  width: 100%;
  max-width: 560px;
  height: auto;
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 12px 32px rgba(237, 20, 64, 0.2));
}
.didc-footer .footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 2.1fr 0.95fr;
  gap: 24px;
  padding: 32px 32px 24px;
}

/* Brand block */
.didc-footer .brand-block {
  padding: 8px 0 0 0;
  position: relative;
  z-index: 1;
}
.didc-footer .brand-lockup {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.didc-footer .footer-brand-home {
  display: inline-flex;
  align-items: center;
  max-width: 220px;
  text-decoration: none;
}
.didc-footer .logo-svg {
  width: 210px;
  max-width: 100%;
  height: auto;
  flex: none;
  display: block;
  object-fit: contain;
  object-position: left center;
  transition: transform 0.28s var(--didc-ease), filter 0.28s var(--didc-ease);
}
.didc-footer .footer-brand-home:hover .logo-svg,
.didc-footer .footer-brand-home:focus-visible .logo-svg {
  transform: translateY(-2px);
  filter: drop-shadow(0 8px 14px rgba(237, 20, 64, 0.14));
}
.didc-footer .brand-block p {
  max-width: 330px;
  margin: 0;
  color: var(--didc-body);
  font-size: 0.82rem;
  line-height: 1.65;
  font-family: var(--didc-font-b);
  text-align: left;
}
.didc-footer .brand-line {
  width: 48px;
  height: 2px;
  background: var(--didc-red);
  margin: 18px 0 16px;
}
.didc-footer .socials {
  display: flex;
  gap: 8px;
}
.didc-footer .socials a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--didc-line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--didc-ink);
  font-size: 0.72rem;
  font-weight: 700;
  transition: 0.28s var(--didc-ease);
  text-decoration: none;
  position: relative;
}
/* SVG icons inside socials */
.didc-footer .socials a svg {
  display: block;
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: 0.28s var(--didc-ease);
}
.didc-footer .socials a:nth-child(3) svg { width: 12px; height: 12px; } /* X logo slightly smaller */
.didc-footer .socials a:hover {
  background: var(--didc-red);
  border-color: var(--didc-red);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(237, 20, 64, 0.25);
}

/* Links panel */
.didc-footer .links-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--didc-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
}
.didc-footer .link-col {
  padding: 24px 22px;
  border-right: 1px solid var(--didc-line2);
  text-align: left;
}
.didc-footer .link-col:last-child { border-right: 0; }
.didc-footer .link-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--didc-red);
  font-family: var(--didc-font-d);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: left;
}
.didc-footer .link-title svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
}
.didc-footer .link-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}
.didc-footer .link-col a {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--didc-ink);
  font-size: 0.82rem;
  font-weight: 500;
  font-family: var(--didc-font-b);
  padding: 0 4px;
  transition: 0.24s var(--didc-ease);
  text-align: left;
}
.didc-footer .link-col a::after {
  content: "›";
  font-size: 1.1rem;
  color: #94A3B8;
  transition: 0.24s var(--didc-ease);
  line-height: 1;
}
.didc-footer .link-col a:hover {
  color: var(--didc-red);
  transform: translateX(4px);
}
.didc-footer .link-col a:hover::after {
  color: var(--didc-red);
  transform: translateX(3px);
}

/* Contact card */
.didc-footer .contact-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--didc-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--didc-shadow);
  text-align: left;
}
.didc-footer .contact-head {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--didc-line2);
  text-align: left;
  justify-items: start;
}
.didc-footer .contact-head-icon,
.didc-footer .contact-item-icon {
  display: grid;
  place-items: center;
  color: var(--didc-red);
  background: var(--didc-soft);
  border-radius: 9px;
}
.didc-footer .contact-head-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}
.didc-footer .contact-head-icon svg,
.didc-footer .contact-item-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}
.didc-footer .contact-head-text {
  display: block;
  text-align: left;
  min-width: 0;
}
.didc-footer .contact-head-text strong {
  display: block;
  color: var(--didc-red);
  font-family: var(--didc-font-d);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
  text-align: left;
}
.didc-footer .contact-head-text span {
  display: block;
  color: var(--didc-body);
  font-size: 0.72rem;
  line-height: 1.5;
  font-family: var(--didc-font-b);
  text-align: left;
}
.didc-footer .contact-list {
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
  position: relative;
  z-index: 2;
  text-align: left;
}
.didc-footer .contact-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 10px;
  color: var(--didc-ink);
  font-size: 0.84rem;
  font-weight: 500;
  font-family: var(--didc-font-b);
  text-align: left;
}
.didc-footer .contact-item-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.didc-footer .skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  opacity: 0.85;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.didc-footer .skyline-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
}
.didc-footer .skyline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -32px;
  height: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

/* === Support section in contact card === */
.didc-footer .contact-support {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--didc-line2);
  text-align: left;
  position: relative;
  z-index: 2;
}
.didc-footer .contact-support-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--didc-red);
  font-family: var(--didc-font-d, "Sora"), sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
}
.didc-footer .contact-support-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--didc-soft);
  color: var(--didc-red);
  flex-shrink: 0;
}
.didc-footer .contact-support-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}
.didc-footer .contact-support-list li { margin: 0; padding: 0; }
.didc-footer .contact-support-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 30px;
  color: var(--didc-ink);
  font-family: var(--didc-font-b, "Manrope"), sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0 4px;
  text-decoration: none;
  transition: 0.24s var(--didc-ease);
}
.didc-footer .contact-support-list a::after {
  content: "›";
  font-size: 1rem;
  color: #94A3B8;
  transition: 0.24s var(--didc-ease);
  line-height: 1;
}
.didc-footer .contact-support-list a:hover {
  color: var(--didc-red);
  transform: translateX(3px);
}
.didc-footer .contact-support-list a:hover::after {
  color: var(--didc-red);
  transform: translateX(2px);
}

/* ===== FOOTER BOTTOM ===== */
.didc-footer .footer-bottom {
  position: relative;
  z-index: 3;
  min-height: 64px;
  margin: 0 32px 22px 32px;
  padding: 14px 20px;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 42px;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--didc-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  text-align: left;
}
.didc-footer .security {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.didc-footer .security-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--didc-red);
  background: #fff;
  border: 1px solid var(--didc-line);
  box-shadow: var(--didc-shadow3);
  flex-shrink: 0;
}
.didc-footer .security-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
}
.didc-footer .security > div {
  text-align: left;
  min-width: 0;
}
.didc-footer .security strong {
  color: var(--didc-navy);
  font-family: var(--didc-font-d);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  display: block;
  text-align: left;
}
.didc-footer .security .dotsep {
  color: var(--didc-red);
  margin: 0 5px;
  font-weight: 800;
}
.didc-footer .security p {
  margin: 4px 0 0;
  color: var(--didc-body);
  font-size: 0.66rem;
  line-height: 1.5;
  font-family: var(--didc-font-b);
  text-align: left;
}
.didc-footer .copyright {
  text-align: left;
  font-family: var(--didc-font-b);
  font-size: 0.66rem;
  line-height: 1.5;
  color: var(--didc-body);
  margin: 0;
}
.didc-footer .legal {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  font-size: 0.72rem;
  font-weight: 500;
  font-family: var(--didc-font-b);
}
.didc-footer .legal a {
  color: var(--didc-ink);
  text-decoration: none;
  transition: color 0.2s var(--didc-ease);
}
.didc-footer .legal a:hover {
  color: var(--didc-red);
}
.didc-footer .top-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: linear-gradient(135deg, var(--didc-red2), var(--didc-red3));
  color: #fff;
  box-shadow: 0 10px 22px rgba(237, 20, 64, 0.28);
  transition: 0.28s var(--didc-ease);
  flex-shrink: 0;
}
.didc-footer .top-btn:hover {
  transform: translateY(-5px);
}
.didc-footer .top-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
}

/* Reveal */
.didc-footer .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.7s var(--didc-ease);
}
.didc-footer .reveal.visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Separate Full-Width Bottom Strip (BELOW the footer)
   Contains: security badge · copyright · legal links · back-to-top
   Spans edge to edge of the viewport
   ========================================================================== */
.didc-footer-strip {
  width: 100%;
  background: #0A1F44 !important;
  color: #FFFFFF !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 0;
  padding: 14px 0;
  font-family: var(--didc-font-b, "Manrope"), sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.didc-footer-strip *,
.didc-footer-strip *::before,
.didc-footer-strip *::after {
  box-sizing: border-box;
}
.didc-footer-strip-inner {
  width: 100%;
  max-width: var(--didc-wrap, 1320px);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: .9fr 1.15fr 1.65fr 44px;
  gap: 18px;
  align-items: center;
}

/* Security badge column */
.didc-footer-strip-security {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.didc-footer-strip-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ED1440 !important;
  background: rgba(237, 20, 64, 0.12);
  border: 1px solid rgba(237, 20, 64, 0.25);
  flex-shrink: 0;
}
.didc-footer-strip-icon svg {
  display: block;
}
.didc-footer-strip-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  text-align: left;
}
.didc-footer-strip-text strong {
  color: #FFFFFF !important;
  font-family: var(--didc-font-d, "Sora"), sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.2;
  text-align: left;
}
.didc-footer-strip-text strong .dotsep,
.didc-footer-strip .dotsep {
  color: #ED1440 !important;
  margin: 0 5px;
  font-weight: 800;
}
.didc-footer-strip-sub {
  color: #CBD5E1 !important;
  font-size: 0.72rem;
  line-height: 1.3;
  text-align: left;
  opacity: 0.85;
}

/* Copyright */
.didc-footer-strip-copyright {
  text-align: left;
  font-size: 0.74rem;
  line-height: 1.5;
  color: #94A3B8 !important;
}
.didc-footer-strip-sep {
  color: #ED1440 !important;
  margin: 0 4px;
  font-weight: 700;
}

/* Legal links */
.didc-footer-strip-legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 5px 9px;
  font-size: 0.74rem;
  font-weight: 600;
}
.didc-footer-strip-legal a {
  color: #F1F5F9 !important;
  text-decoration: none;
  transition: color 0.2s ease;
  opacity: 0.92;
}
.didc-footer-strip-legal a:hover {
  color: #ED1440 !important;
}
.didc-footer-strip-legal .legal-dot {
  color: #ED1440 !important;
  font-size: 0.7rem;
}

/* Back to top button */
.didc-footer-strip-top {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: linear-gradient(135deg, #FF2742, #C00A2E);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(237, 20, 64, 0.4);
  transition: 0.28s ease;
  flex-shrink: 0;
  padding: 0;
}
.didc-footer-strip-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(237, 20, 64, 0.5);
}
.didc-footer-strip-top svg {
  display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1250px) {
  .didc-footer .future-panel {
    grid-template-columns: 1fr;
  }
  .didc-footer .future-features {
    grid-template-columns: repeat(3, 1fr);
  }
  .didc-footer .enquire-btn {
    grid-column: 1 / -1;
    margin: 18px 0 0;
    width: 200px;
  }
  .didc-footer .footer-grid {
    grid-template-columns: 1fr;
  }
  .didc-footer .footer-bottom {
    grid-template-columns: 1fr 1fr 1fr 42px;
  }
}

@media (max-width: 1024px) {
  .didc-footer,
  .didc-footer-strip {
    max-width: 100%;
    overflow-x: clip;
  }
  .didc-footer .didc-wrap {
    padding: 0 24px !important;
  }
  .didc-footer .future-panel,
  .didc-footer .footer-body,
  .didc-footer .footer-grid,
  .didc-footer .links-panel,
  .didc-footer .contact-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .didc-footer .future-features {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .didc-footer .future-feature {
    min-width: 0;
    padding-inline: 10px;
  }
  .didc-footer .footer-grid {
    gap: 18px;
    padding: 24px;
  }
  .didc-footer .links-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .didc-footer .link-col {
    min-width: 0;
    padding: 20px 16px;
  }
  .didc-footer .contact-card {
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
    grid-template-rows: auto 1fr;
    gap: 0 28px;
  }
  .didc-footer .contact-head,
  .didc-footer .contact-list {
    grid-column: 1;
  }
  .didc-footer .contact-support {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0;
    padding-top: 0;
    padding-left: 24px;
    border-top: 0;
    border-left: 1px solid var(--didc-line2);
  }
  .didc-footer .skyline {
    display: none;
  }
  .didc-footer-strip-inner {
    grid-template-columns: 1fr 44px !important;
    gap: 16px 12px !important;
    padding: 16px 24px !important;
  }
  .didc-footer-strip-security {
    grid-column: 1 !important;
  }
  .didc-footer-strip-top {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
  }
  .didc-footer-strip-copyright {
    grid-column: 1 / -1 !important;
  }
  .didc-footer-strip-legal {
    grid-column: 1 / -1 !important;
    justify-content: flex-start !important;
  }
}

@media (max-width: 640px) {
  .didc-footer .didc-wrap { padding: 0 16px !important; }
  .didc-footer .future-panel {
    min-height: 0;
    gap: 24px;
    padding: 24px 20px !important;
  }
  .didc-footer .future-copy h2 br { display: none; }
  .didc-footer .future-features { grid-template-columns: 1fr !important; }
  .didc-footer .future-feature {
    min-height: 72px;
    padding: 8px 0;
    border-right: 0 !important;
    border-bottom: 1px solid var(--didc-line2) !important;
  }
  .didc-footer .future-feature:nth-child(3) { border-bottom: 0 !important; }
  .didc-footer .enquire-btn {
    width: 100%;
    max-width: 280px;
    margin-top: 10px;
  }
  .didc-footer .footer-grid {
    padding: 20px 16px 18px;
  }
  .didc-footer .brand-lockup {
    margin-bottom: 14px;
  }
  .didc-footer .brand-block p {
    max-width: 62ch;
  }
  .didc-footer .links-panel { grid-template-columns: 1fr !important; }
  .didc-footer .link-col {
    padding: 18px 16px;
    border-right: 0 !important;
    border-bottom: 1px solid var(--didc-line2) !important;
  }
  .didc-footer .link-col:last-child { border-bottom: 0 !important; }
  .didc-footer .link-col a { min-height: 29px; }
  .didc-footer .contact-card {
    display: block;
    padding: 18px;
  }
  .didc-footer .contact-support {
    margin-top: 18px;
    padding: 16px 0 0;
    border-top: 1px solid var(--didc-line2);
    border-left: 0;
  }
  .didc-footer .contact-list li,
  .didc-footer .contact-list a,
  .didc-footer .contact-support-list a {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .didc-footer .footer-bottom {
    grid-template-columns: 1fr !important;
  }
  .didc-footer .legal { justify-content: flex-start; flex-wrap: wrap; }
  .didc-footer .brand-globe-img {
    width: 320px;
    left: -50px;
    bottom: 50px;
    opacity: 0.4;
  }
  .didc-footer .future-wave-img {
    width: 420px;
    right: -60px;
    opacity: 0.6;
  }
  .didc-footer .future-circuit-img { opacity: 0.35; }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .didc-footer .brand-block {
    display: grid;
    grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
    gap: 12px 28px;
    align-items: start;
  }
  .didc-footer .brand-lockup { margin-bottom: 0; }
  .didc-footer .brand-line { display: none; }
  .didc-footer .socials { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .didc-footer { padding-top: 10px; }
  .didc-footer .logo-svg { width: 190px; }
  .didc-footer .footer-brand-home { max-width: 205px; }
  .didc-footer-strip {
    padding: 18px 0 76px !important;
  }
  .didc-footer-strip-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 14px !important;
    padding: 0 16px !important;
  }
  .didc-footer-strip-security {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .didc-footer-strip-icon {
    width: 44px !important;
    height: 44px !important;
  }
  .didc-footer-strip-text {
    align-items: center !important;
    text-align: center !important;
  }
  .didc-footer-strip-text strong {
    text-align: center !important;
    font-size: 0.84rem !important;
  }
  .didc-footer-strip-sub {
    text-align: center !important;
    font-size: 0.76rem !important;
  }
  .didc-footer-strip-copyright {
    text-align: center !important;
    font-size: 0.74rem !important;
    line-height: 1.5 !important;
    padding: 10px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    width: 100% !important;
  }
  .didc-footer-strip-legal {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px 12px !important;
    font-size: 0.8rem !important;
    width: 100% !important;
  }
  .didc-footer-strip-top {
    position: absolute !important;
    right: 16px !important;
    bottom: 16px !important;
    margin: 0 !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
  }
  .didc-footer-strip-inner { position: relative !important; }
}

/* Final responsive footer contract. Large phones and tablets previously fell
   between the compact-phone and desktop strip layouts, leaving no reliable
   bottom reserve for the fixed quick actions. Keep the complete navy strip in
   normal document flow at every responsive width and reserve the action rail. */
@media (max-width: 1024px) {
  html body .didc-footer-strip {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 20px 0 calc(92px + env(safe-area-inset-bottom, 0px)) !important;
    background: #0A1F44 !important;
  }

  html body .didc-footer-strip-inner {
    position: relative !important;
    width: 100% !important;
    max-width: 760px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 14px !important;
    text-align: center !important;
  }

  html body .didc-footer-strip-security {
    width: 100% !important;
    justify-content: center !important;
  }

  html body .didc-footer-strip-text,
  html body .didc-footer-strip-text strong,
  html body .didc-footer-strip-sub,
  html body .didc-footer-strip-copyright {
    text-align: center !important;
  }

  html body .didc-footer-strip-legal {
    width: 100% !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
  }
}

@media (max-width: 600px) {
  html body .didc-footer-strip-inner {
    padding-inline: 16px !important;
  }

  html body .didc-footer-strip-security {
    flex-direction: column !important;
  }
}
