/* ==========================================================================
   CYBROMEDIA - MINIMALIST PREMIUM FOOTER (FULL WIDTH UNIVERSAL)
   Exact alignment with .cyStudioCta width (100% edge-to-edge), luxury typography,
   breathable spacing, refined obsidian dark aesthetic & zero visual clutter.
   ========================================================================== */

#footer {
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  display: block !important;
  background: transparent !important;
}

.cmFooter {
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  /* Exactly matching .cyStudioCta's 24px lateral padding */
  padding: clamp(48px, 5vh, 64px) 24px 28px;
  box-sizing: border-box;

  /* Seamless continuity with CTA background (#060814) */
  background:
    radial-gradient(ellipse at 85% 20%, rgba(113, 56, 255, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 80%, rgba(237, 61, 157, 0.06) 0%, transparent 50%),
    #060814;

  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: none;
  border-radius: 0;

  color: var(--text-subtle);
  font-family: var(--cybro-font-sans, "Inter", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif);
  -webkit-font-smoothing: antialiased;
}

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

/* Subtle Top Laser Line */
.cmFooter__glowLine {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(113, 56, 255, 0.5) 25%,
    rgba(237, 61, 157, 0.6) 50%,
    rgba(56, 189, 248, 0.5) 75%,
    transparent 100%
  );
}

/* Inner Container - Matches .cyStudioCta__container EXACTLY */
.cmFooter__container {
  position: relative;
  width: min(100%, var(--container-width));
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   MAIN GRID (4 CLEAN BALANCED COLUMNS)
   -------------------------------------------------------------------------- */
.cmFooter__grid {
  display: grid;
  grid-template-columns: 2.2fr 1.05fr 1.05fr 1.45fr;
  gap: 48px;
  align-items: start;
}

/* --------------------------------------------------------------------------
   COLUMN 1: BRAND
   -------------------------------------------------------------------------- */
.cmFooter__col--brand {
  display: flex;
  flex-direction: column;
  padding-right: 24px;
}

.cmFooter__logo {
  display: inline-block;
  width: 190px;
  max-width: 100%;
  margin-bottom: 16px;
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.cmFooter__logo:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.cmFooter__logo img {
  width: 100%;
  height: auto;
  max-height: 54px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.cmFooter__tagline {
  max-width: 380px;
  margin: 0 0 16px;
  color: var(--text-subtle);
  font-size: 13.5px;
  line-height: 1.65;
  letter-spacing: -0.1px;
}

/* Status Indicator */
.cmFooter__locationStatus {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 12px;
  color: #cbd5e1;
  font-weight: 500;
}

.cmFooter__statusDot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
  animation: cmStatusPulse 2.5s infinite ease-in-out;
}

@keyframes cmStatusPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

/* Minimalist Social Circles */
.cmFooter__socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cmFooter__socialLink {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-subtle);
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.cmFooter__socialLink:hover {
  color: var(--text-on-dark);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
}

.cmFooter__socialLink--wa:hover {
  color: var(--color-whatsapp);
  border-color: rgba(37, 211, 102, 0.4);
  background: rgba(37, 211, 102, 0.1);
}

.cmFooter__socialLink--ig:hover {
  color: #f43f5e;
  border-color: rgba(244, 63, 94, 0.4);
  background: rgba(244, 63, 94, 0.1);
}

.cmFooter__socialLink--li:hover {
  color: var(--color-light-blue);
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.1);
}

.cmFooter__socialLink--fb:hover {
  color: #60a5fa;
  border-color: rgba(96, 165, 250, 0.4);
  background: rgba(96, 165, 250, 0.1);
}

/* --------------------------------------------------------------------------
   COLUMNS: HEADINGS & NAVIGATION
   -------------------------------------------------------------------------- */
.cmFooter__col {
  display: flex;
  flex-direction: column;
}

.cmFooter__heading {
  margin: 0 0 18px;
  color: #f8fafc;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.cmFooter__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cmFooter__nav a {
  color: var(--text-subtle);
  font-size: 13.5px;
  line-height: 1.45;
  text-decoration: none;
  transition: color var(--transition-fast), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.cmFooter__nav a:hover {
  color: var(--text-on-dark);
  transform: translateX(3px);
}

/* Link With Minimal Hiring Tag */
.cmFooter__linkHiring {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cmFooter__hiringPill {
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   COLUMN 4: STUDIO DESK & CONTACT
   -------------------------------------------------------------------------- */
.cmFooter__col--contact {
  display: flex;
  flex-direction: column;
}

.cmFooter__contactList {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.cmFooter__contactRow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-subtle);
  font-size: 13px;
  text-decoration: none;
  transition: color var(--transition-fast);
  width: fit-content;
}

.cmFooter__contactRow:hover {
  color: var(--text-on-dark);
}

.cmFooter__contactIcon {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.cmFooter__contactRow:hover .cmFooter__contactIcon {
  color: #a78bfa;
}

/* Minimal WhatsApp Pill Button */
.cmFooter__waBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  width: fit-content;
  border-radius: var(--radius-pill);
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.28);
  color: #4ade80;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.22s ease;
  margin-bottom: 16px;
}

.cmFooter__waBtn:hover {
  background: var(--color-whatsapp);
  border-color: var(--color-whatsapp);
  color: #050714;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.cmFooter__waBtn svg {
  fill: currentColor;
}

/* Subtle Trust Line */
.cmFooter__trustLine {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--text-muted);
}

.cmFooter__trustStars {
  color: #fbbf24;
  letter-spacing: 1.5px;
  font-size: 11px;
}

/* --------------------------------------------------------------------------
   BOTTOM COPYRIGHT & LEGAL BAR
   -------------------------------------------------------------------------- */
.cmFooter__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-muted);
}

.cmFooter__copyright {
  color: var(--text-muted);
}

.cmFooter__copyright a {
  color: var(--text-subtle);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.cmFooter__copyright a:hover {
  color: var(--text-on-dark);
  text-decoration: underline;
}

.cmFooter__origin {
  color: var(--text-muted);
}

.cmFooter__legalNav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cmFooter__legalNav a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.cmFooter__legalNav a:hover {
  color: var(--text-on-dark);
}

.cmFooter__legalDot {
  color: #334155;
}

/* Minimal Back to Top Button */
.cmFooter__topBtn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--text-subtle);
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cmFooter__topBtn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-on-dark);
  transform: translateY(-1px);
}

.cmFooter__topBtn svg {
  transition: transform var(--transition-fast);
}

.cmFooter__topBtn:hover svg {
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN (TABLET & MOBILE)
   -------------------------------------------------------------------------- */

/* Medium Desktops & Tablets Landscape (992px - 1200px) */
@media (max-width: 1200px) {
  .cmFooter__grid {
    grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
    gap: 36px;
  }
}

/* Tablets Portrait (768px - 991px) */
@media (max-width: 991px) {
  .cmFooter {
    padding: 44px 24px 24px;
  }

  .cmFooter__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .cmFooter__col--brand {
    grid-column: span 2;
    padding-right: 0;
  }

  .cmFooter__tagline {
    max-width: 100%;
  }
}

/* Mobile Screens (<= 768px) */
@media (max-width: 768px) {
  .cmFooter {
    padding: 34px 18px 24px;
  }

  .cmFooter__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cmFooter__col--brand {
    grid-column: span 1;
    padding-right: 0;
  }

  .cmFooter__tagline {
    max-width: 100%;
    font-size: 13px;
  }

  .cmFooter__waBtn {
    width: 100%;
  }

  .cmFooter__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 36px;
    padding-top: 20px;
  }

  .cmFooter__legalNav {
    width: 100%;
    justify-content: space-between;
  }
}

/* ========================================================================== 
   CYBROMEDIA GLOBAL FOOTER — REFERENCE DESIGN
   Shared by every page through component/footer.js
   ========================================================================== */
#footer .cmFooter {
  position: relative !important;
  isolation: isolate;
  overflow: hidden;
  padding: 68px 32px 0 !important;
  border-top: 1px solid rgba(255,255,255,.12) !important;
  color: #b9bed2;
  background:
    radial-gradient(circle at 10% -20%, rgba(92,45,220,.35), transparent 27%),
    radial-gradient(circle at 96% 92%, rgba(255,71,100,.18), transparent 24%),
    radial-gradient(circle at 72% 105%, rgba(28,186,137,.11), transparent 23%),
    linear-gradient(120deg,#080a18 0%,#080b1d 48%,#080916 100%) !important;
}

#footer .cmFooter::before,
#footer .cmFooter::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
}

#footer .cmFooter::before {
  left: -110px;
  bottom: 62px;
  width: 440px;
  height: 210px;
  border-bottom: 2px solid rgba(117,65,255,.9);
  transform: rotate(18deg);
  box-shadow: 0 18px 35px rgba(82,39,228,.23);
}

#footer .cmFooter::after {
  right: -125px;
  bottom: 74px;
  width: 450px;
  height: 220px;
  border-bottom: 2px solid rgba(255,91,96,.82);
  transform: rotate(-19deg);
  box-shadow: 0 18px 35px rgba(255,66,91,.18);
}

#footer .cmFooter__glowLine {
  height: 1px;
  opacity: .75;
  background: linear-gradient(90deg,transparent 3%,#7643f4 28%,#ff6a68 49%,#7db5ff 73%,transparent 97%);
}

#footer .cmFooter__container {
  width: min(1400px,100%) !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

#footer .cmFooter__grid {
  display: grid;
  grid-template-columns: minmax(320px,2.05fr) minmax(215px,1.25fr) minmax(220px,1.3fr) minmax(300px,1.65fr);
  gap: 0;
  align-items: stretch;
}

#footer .cmFooter__col {
  min-width: 0;
  padding: 8px 34px 12px;
}

#footer .cmFooter__col:first-child {
  padding-left: 0;
}

#footer .cmFooter__col + .cmFooter__col {
  border-left: 1px solid rgba(142,132,194,.18);
}

#footer .cmFooter__col--brand {
  padding-right: 36px;
}

#footer .cmFooter__logo {
  width: 235px;
  margin-bottom: 18px;
}

#footer .cmFooter__logo img {
  max-height: 72px;
}

#footer .cmFooter__tagline {
  max-width: 405px;
  margin-bottom: 17px;
  color: #c6cad8;
  font-size: 15px;
  line-height: 1.58;
}

#footer .cmFooter__locationStatus {
  min-height: 34px;
  width: fit-content;
  max-width: 100%;
  gap: 8px;
  margin-bottom: 22px;
  padding: 0 12px;
  border: 1px solid rgba(127,78,238,.45);
  border-radius: 999px;
  color: #d5c8f3;
  background: rgba(35,25,71,.28);
  box-shadow: inset 0 0 18px rgba(101,56,211,.08);
  font-size: 11.5px;
}

#footer .cmFooter__locationStatus svg {
  width: 15px;
  height: 15px;
  color: #9b5cff;
  fill: rgba(155,92,255,.14);
  flex: 0 0 auto;
}

#footer .cmFooter__socials {
  gap: 14px;
}

#footer .cmFooter__socialLink {
  width: 45px;
  height: 45px;
  border-color: rgba(121,87,216,.42);
  color: #edf0ff;
  background: rgba(13,15,35,.55);
  box-shadow: inset 0 0 18px rgba(106,65,214,.08);
}

#footer .cmFooter__socialLink svg {
  width: 19px;
  height: 19px;
}

#footer .cmFooter__kicker {
  display: block;
  margin: 0 0 8px;
  color: #a169ff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
}

#footer .cmFooter__heading {
  margin: 0 0 18px;
  color: #fff;
  font-family: var(--font-heading,"Plus Jakarta Sans",sans-serif);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.025em;
  text-transform: none;
}

#footer .cmFooter__nav {
  gap: 9px;
}

#footer .cmFooter__nav a {
  min-height: 32px;
  gap: 10px;
  color: #d0d3df;
  font-size: 13px;
  line-height: 1.3;
}

#footer .cmFooter__nav a > svg {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  padding: 8px;
  border: 1px solid rgba(133,91,228,.18);
  border-radius: 9px;
  color: #b66bff;
  background: linear-gradient(145deg,rgba(80,51,142,.25),rgba(22,25,52,.5));
}

#footer .cmFooter__nav a:hover > svg {
  border-color: rgba(169,104,255,.5);
  color: #d6a9ff;
}

#footer .cmFooter__hiringPill {
  padding: 3px 9px;
  border-color: #00d882;
  color: #25ed9a;
  background: rgba(0,211,126,.09);
  box-shadow: 0 0 13px rgba(0,211,126,.15);
}

#footer .cmFooter__contactList {
  gap: 9px;
  margin-bottom: 15px;
}

#footer .cmFooter__contactRow {
  width: 100%;
  min-height: 34px;
  gap: 12px;
  color: #d3d5e0;
  font-size: 13px;
}

#footer .cmFooter__contactIcon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  padding: 8px;
  border: 1px solid rgba(132,91,228,.2);
  border-radius: 9px;
  color: #bd70ff;
  background: rgba(66,42,118,.2);
}

#footer .cmFooter__waBtn {
  width: 100%;
  min-height: 48px;
  margin: 3px 0 15px;
  border-color: #2de690;
  color: #fff;
  background: linear-gradient(90deg,rgba(1,79,60,.5),rgba(0,177,104,.38));
  box-shadow: 0 0 22px rgba(31,219,134,.16), inset 0 0 20px rgba(21,205,125,.08);
  font-size: 14px;
  font-weight: 750;
}

#footer .cmFooter__waBtn svg {
  width: 24px;
  height: 24px;
}

#footer .cmFooter__trustLine {
  gap: 11px;
  color: #8f96b1;
  font-size: 10.5px;
}

#footer .cmFooter__trustStars {
  color: #ffbd24;
  font-size: 14px;
}

#footer .cmFooter__bottom {
  min-height: 80px;
  margin-top: 38px;
  padding: 0;
  border-top: 1px solid rgba(149,139,194,.2);
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  align-items: center;
  gap: 24px;
  color: #9298b2;
  font-size: 11.5px;
}

#footer .cmFooter__origin {
  justify-self: center;
  padding-inline: 46px;
  border-left: 1px solid rgba(149,139,194,.16);
  border-right: 1px solid rgba(149,139,194,.16);
}

#footer .cmFooter__heart {
  margin-right: 8px;
  color: #ff405e;
  filter: drop-shadow(0 0 6px rgba(255,64,94,.35));
}

#footer .cmFooter__legalNav {
  gap: 12px;
}

#footer .cmFooter__topBtn {
  min-width: 74px;
  min-height: 40px;
  justify-content: center;
  margin-left: 8px;
  border-color: rgba(126,73,236,.55);
  border-radius: 999px;
  color: #fff;
  background: rgba(32,24,65,.36);
  font-weight: 700;
}

@media (max-width: 1180px) {
  #footer .cmFooter {
    padding: 54px 24px 0 !important;
  }

  #footer .cmFooter__grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  #footer .cmFooter__col--brand {
    grid-column: 1 / -1;
    padding: 0 0 28px;
    border-bottom: 1px solid rgba(142,132,194,.16);
  }

  #footer .cmFooter__col:nth-child(2) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 760px) {
  #footer .cmFooter {
    padding: 40px 16px 0 !important;
  }

  #footer .cmFooter__grid {
    grid-template-columns: 1fr;
  }

  #footer .cmFooter__col,
  #footer .cmFooter__col:first-child,
  #footer .cmFooter__col:nth-child(2) {
    grid-column: auto;
    padding: 24px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(142,132,194,.15);
  }

  #footer .cmFooter__col--brand {
    padding-top: 0;
  }

  #footer .cmFooter__tagline {
    font-size: 13.5px;
  }

  #footer .cmFooter__locationStatus {
    align-items: flex-start;
    border-radius: 12px;
    padding-block: 8px;
  }

  #footer .cmFooter__bottom {
    min-height: 0;
    margin-top: 18px;
    padding: 24px 0 28px;
    grid-template-columns: 1fr;
    gap: 15px;
  }

  #footer .cmFooter__origin {
    justify-self: start;
    padding: 0;
    border: 0;
  }

  #footer .cmFooter__legalNav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
