/* ══ Footer v2 ══ */
.ccfv2-footer {
  background: #f9fafb;
  position: relative;
  z-index: 2;
  border-top: 1px solid #e5e7eb;
}
.ccfv2-inner {
  max-width: 1320px; margin: 0 auto;
  padding: 60px clamp(20px, 4vw, 60px) 0;
}

/* ── Top row: brand left, contact right ── */
.ccfv2-top {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px;
  padding-bottom: 40px;
}
.ccfv2-logo {
  height: 40px; width: auto; object-fit: contain; display: block; margin-bottom: 16px;
}
.ccfv2-brand-desc {
  font-size: 0.88rem; color: #6b7280;
  line-height: 1.75; margin: 0 0 24px; max-width: 440px;
}
.ccfv2-socials {
  display: flex; align-items: center; gap: 8px;
}
.ccfv2-socials a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(10,151,190,0.05);
  border: 1px solid rgba(10,151,190,0.18);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.ccfv2-socials a:hover { background: rgba(10,151,190,0.12); border-color: #0A97BE; transform: translateY(-2px); }
.ccfv2-socials img { width: 18px; height: 18px; object-fit: contain; display: block; }

/* ── Contact block ── */
.ccfv2-contact-heading {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: #0A97BE; margin: 0 0 20px;
}
.ccfv2-contact-items { display: flex; flex-direction: column; gap: 16px; }
.ccfv2-contact-item { display: flex; align-items: flex-start; gap: 12px; }
.ccfv2-contact-icon {
  width: 34px; height: 34px; flex-shrink: 0;
  background: rgba(10,151,190,0.1); border: 1px solid rgba(10,151,190,0.2);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
}
.ccfv2-contact-icon svg { width: 16px; height: 16px; stroke: #0A97BE; }
.ccfv2-contact-text { display: flex; flex-direction: column; gap: 2px; }
.ccfv2-contact-label { font-size: 0.68rem; color: #9ca3af; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.ccfv2-contact-value { font-size: 0.88rem; color: #374151; line-height: 1.55; }
.ccfv2-contact-value a { color: #374151; text-decoration: none; transition: color 0.2s; }
.ccfv2-contact-value a:hover { color: #0A97BE; }

/* ── Divider ── */
.ccfv2-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(10,151,190,0.25) 30%, rgba(10,151,190,0.25) 70%, transparent);
}

/* ── Links grid ── */
.ccfv2-links-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr 1.2fr;
  gap: 32px; padding: 40px 0 48px;
  align-items: start;
}
.ccfv2-col-heading {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: #0A97BE;
  margin: 0 0 18px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(10,151,190,0.18);
}
.ccfv2-links {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.ccfv2-links a {
  text-decoration: none; color: #4b5563;
  font-size: 0.9rem; line-height: 1.4;
  transition: color 0.2s, padding-left 0.2s; display: inline-block;
}
.ccfv2-links a:hover { color: #0A97BE; padding-left: 5px; }
.ccfv2-office-block { margin-top: 14px; }
.ccfv2-office-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #0A97BE; margin: 0 0 4px;
}
.ccfv2-address {
  font-size: 0.85rem; color: #6b7280;
  line-height: 1.7; margin: 0;
}
.ccfv2-map-img {
  width: 100%; height: auto; border-radius: 8px;
  border: 1px solid rgba(10,151,190,0.18); object-fit: cover; display: block;
}

/* ── Bottom bar ── */
.ccfv2-bottom {
  background: #0A1628;
  margin-top: 0;
}
.ccfv2-bottom-inner {
  max-width: 1320px; margin: 0 auto;
  padding: 18px clamp(20px, 4vw, 60px);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.ccfv2-bottom-logo { height: 30px; width: auto; object-fit: contain; }
.ccfv2-copyright { font-size: 0.82rem; color: rgba(255,255,255,0.35); margin: 0; }
.ccfv2-copyright strong { color: rgba(255,255,255,0.6); }
.ccfv2-bottom-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.ccfv2-bottom-links a {
  font-size: 0.82rem; color: rgba(255,255,255,0.38);
  text-decoration: none; transition: color 0.2s;
}
.ccfv2-bottom-links a:hover { color: #0A97BE; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .ccfv2-links-grid { grid-template-columns: 1fr 1fr 1fr; }
  .ccfv2-links-grid > div:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
}
@media (max-width: 860px) {
  .ccfv2-top { grid-template-columns: 1fr; gap: 32px; }
  .ccfv2-brand-desc { max-width: 100%; }
}
@media (max-width: 640px) {
  .ccfv2-links-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .ccfv2-links-grid > div:last-child { grid-column: auto; display: block; }
  .ccfv2-bottom-inner { flex-direction: column; text-align: center; }
  .ccfv2-bottom-links { justify-content: center; }
  .ccfv2-inner { padding: 40px 20px 0; }
}

/* ══════════════════════════════════════════
   REVAMPED FOOTER — Cryptiecraft
   Palette: white bg · #0A97BE accent · #1a1a2e text · #0A1628 dark
   ══════════════════════════════════════════ */

/* ── Brand header ── */
.cc-footer-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1320px; margin: 0 auto;
  padding: 36px clamp(24px, 4vw, 60px) 24px;
}
.cc-footer-brand-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cc-footer-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.cc-footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-left: 2px solid #0A97BE;
  padding-left: 14px;
}
.cc-footer-brand-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1a1a2e;
  letter-spacing: -0.02em;
  line-height: 1;
}
.cc-footer-tagline {
  font-size: 0.82rem;
  color: #6b7280;
  font-weight: 500;
}
.cc-footer-social-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cc-footer-social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(10,151,190,0.2);
  background: rgba(10,151,190,0.04);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.cc-footer-social-row a:hover {
  border-color: #0A97BE;
  background: rgba(10,151,190,0.12);
  transform: translateY(-2px);
}
.cc-footer-social-row img {
  width: 22px; height: 22px; object-fit: contain; display: block;
}

/* ── Divider ── */
.cc-footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(10,151,190,0.22) 30%, rgba(10,151,190,0.22) 70%, transparent);
  max-width: 1320px; margin: 0 auto 32px;
  padding: 0 clamp(24px, 4vw, 60px);
}

/* ── 4-column grid ── */
.cc-footer-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 32px;
  align-items: start;
}
.cc-footer-col-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0A97BE;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(10,151,190,0.15);
}
.cc-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.cc-footer-links a {
  text-decoration: none;
  color: #4b5563;
  font-size: 0.93rem;
  line-height: 1.4;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
}
.cc-footer-links a:hover { color: #0A97BE; padding-left: 4px; }
.cc-footer-address {
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 14px;
}
.cc-footer-map-img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(10,151,190,0.15);
  object-fit: cover;
}

/* ── Compact badges column (right corner, 2-per-row) ── */
.cc-badges-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.cc-badge-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafe;
  border: 1px solid rgba(10,151,190,0.12);
  border-radius: 7px;
  padding: 5px 6px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.cc-badge-pill:hover {
  box-shadow: 0 3px 10px rgba(10,151,190,0.18);
  transform: translateY(-2px);
  border-color: rgba(10,151,190,0.4);
}
.cc-badge-pill img {
  max-height: 26px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(15%);
  transition: filter 0.2s;
}
.cc-badge-pill:hover img { filter: grayscale(0%); }
/* last badge spans both columns to fill the row nicely */
.cc-badge-pill:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ── Bottom bar ── */
.cc-footer-bottom-bar {
  background: #0A1628;
  border-radius: 0 0 56px 56px;
  margin-top: 4px;
}
.cc-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0;
}
.cc-footer-bottom-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.cc-footer-copyright {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}
.cc-footer-copyright strong { color: rgba(255,255,255,0.85); }
.cc-footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cc-footer-bottom-links a {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.cc-footer-bottom-links a:hover { color: #0A97BE; }

/* ── Shutter ── */
.wl-process-ccontainer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60vh;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}
.wl-process-ccontainer.show {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.cc-shutter-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.cc-shutter-logo {
  width: 80%;
  max-width: 700px;
  height: auto;
  object-fit: contain;
  display: block;
}
.cc-shutter-copy {
  font-size: 0.72rem;
  color: #9ca3af;
  margin: 0;
  letter-spacing: 0.02em;
}

/* ── Main footer positioning / shadow ── */
.cryptiecraft-footer {
  margin-top: 0;
  padding-top: 0;
  margin-bottom: 60vh;
  background-color: #fff;
  z-index: 2;
  position: relative;
  border-radius: 0 0 56px 56px;
  box-shadow: 0px 8px 0px #0099cc, 0px 20px 180px 5px #0099cc66;
}
.iti { width: 100% !important; }

/* ── Floating contact buttons ── */
.cryptiecraft-footer-sidebar-links-v2-container {
  position: fixed; right: 0; bottom: 35%; z-index: 998;
}
.cryptiecraft-footer-sidebar-links-v2 {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px; background: transparent;
}
.cryptiecraft-footer-cta-v2 { position: relative; }
.cryptiecraft-footer-cta-v2__link {
  display: flex; align-items: center; text-decoration: none; color: #1a1a2e;
  padding: 8px 10px; border-radius: 30px 0 0 30px; border-right: none;
  white-space: nowrap; overflow: hidden; max-width: 46px; gap: 0;
  background: rgba(255,255,255,0.68); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.55); border-right: none;
  box-shadow: -3px 3px 18px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.85);
  transition: max-width 0.32s cubic-bezier(0.4,0,0.2,1), background 0.25s, box-shadow 0.25s, gap 0.32s, padding-right 0.32s;
}
.cryptiecraft-footer-cta-v2__link:hover {
  max-width: 160px; gap: 8px; padding-right: 16px;
  background: rgba(255,255,255,0.95);
  box-shadow: -5px 4px 26px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,1);
}
.icon-v2 { display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-v2 img { display: block; width: 26px; height: 26px; background: transparent; }
.text-v2 { font-size: 13px; font-weight: 600; color: #1a1a2e; opacity: 0; overflow: hidden; transition: opacity 0.18s ease 0.08s; }
.cryptiecraft-footer-cta-v2__link:hover .text-v2 { opacity: 1; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .cc-footer-main-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .cc-footer-brand-row { padding: 24px 20px 18px; }
  .cc-footer-divider { padding: 0 20px; margin: 0 auto 24px; }
}
@media (max-width: 768px) {
  .cc-footer-main-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cc-footer-bottom-inner { flex-direction: column; text-align: center; gap: 8px; }
  .cc-footer-bottom-links { justify-content: center; }
}
@media (max-width: 600px) {
  .cc-tcs-rec-row { grid-template-columns: 1fr; }
}
@media (max-width: 486px) {
  .cc-footer-main-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .cc-footer-brand-row { flex-direction: column; align-items: flex-start; }
  .cc-founder-card { flex-direction: column; align-items: center; text-align: center; }
  .cc-linkedin-follow-btn { margin: 0 auto; }
  .wl-process-ccontainer { height: 28vh; }
  .cryptiecraft-footer { margin-bottom: 28vh; }
  .cc-shutter-logo { width: 75%; }
  .cryptiecraft-footer-sidebar-links-v2-container { bottom: 0; right: 0; width: 100%; padding-block: 10px; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
  .cryptiecraft-footer-sidebar-links-v2 { flex-direction: row; justify-content: center; }
  .cryptiecraft-footer-cta-v2__link { border-radius: 30px; border-right: 1px solid rgba(255,255,255,0.55); max-width: none; padding: 8px 10px; }
  .cryptiecraft-footer-cta-v2__link:hover { max-width: none; gap: 0; padding-right: 10px; }
  .text-v2 { display: none; }
}
