/* ─── Footer Styles ──────────────────────────────────────────────────────────── */

.ycc-footer {
  position:    relative;
  background:  var(--ycc-slate-50);
  color:       var(--ycc-slate-500);
  border-top:  1px solid var(--ycc-border);
  transition:  background-color 0.3s ease;
}
html.dark .ycc-footer {
  background: var(--ycc-slate-950);
  color:      var(--ycc-slate-400);
  border-color: var(--ycc-border-dark);
}

.ycc-footer-gradient-border {
  position:   absolute;
  top:        -1px;
  left:       0;
  right:      0;
  height:     1px;
  background: linear-gradient(to right, transparent, var(--ycc-blue-600), transparent);
  opacity:    0.3;
}

.ycc-footer-grid-wrap { padding-top: 20px; padding-bottom: 20px; }
@media (min-width: 768px) { .ycc-footer-grid-wrap { padding-top: 32px; padding-bottom: 32px; } }

.ycc-footer-grid {
  display:               grid;
  grid-template-columns: repeat(2, 1fr);
  gap:                   16px;
}
.ycc-footer-brand { grid-column: span 2; }
.ycc-footer-col   { grid-column: span 1; }
.ycc-footer-col:last-child { grid-column: span 2; }

@media (min-width: 768px) {
  .ycc-footer-grid {
    grid-template-columns: repeat(12, 1fr);
    gap:                   24px;
  }
  .ycc-footer-brand { grid-column: span 12; }
  .ycc-footer-col   { grid-column: span 3; }
  .ycc-footer-col:last-child { grid-column: span 6; }
}

@media (min-width: 1024px) {
  .ycc-footer-brand { grid-column: span 4; }
  .ycc-footer-col   { grid-column: span 2; }
  .ycc-footer-col:last-child { grid-column: span 4; }
}
.ycc-footer-brand-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ycc-footer-logo-icon {
  width:           32px;
  height:          32px;
  background:      var(--ycc-blue-600);
  border-radius:   var(--ycc-radius-lg);
  display:         flex;
  align-items:     center;
  justify-content: center;
  color:           #fff;
  box-shadow:      0 4px 12px rgba(37,99,235,0.2);
  flex-shrink:     0;
}
.ycc-footer-brand-name {
  font-size:      18px;
  font-weight:    700;
  color:          var(--ycc-text);
  letter-spacing: -0.025em;
  line-height:    1;
  margin:         0;
}
html.dark .ycc-footer-brand-name { color: var(--ycc-text-dark); }
.ycc-footer-brand-tagline {
  display:        block;
  font-size:      9px;
  font-weight:    700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color:          var(--ycc-text-muted);
  margin-top:     2px;
}
.ycc-footer-brand-desc {
  font-size:   12px;
  line-height: 1.6;
  color:       var(--ycc-slate-600);
  max-width:   360px;
  margin:      0;
}
html.dark .ycc-footer-brand-desc { color: var(--ycc-slate-400); }

/* Socials */
.ycc-footer-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}
.ycc-social-link {
  width: 32px;
  height: 32px;
  border-radius: var(--ycc-radius-lg);
  border: 1px solid var(--ycc-border);
  background: var(--ycc-surface);
  color: var(--ycc-slate-500);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  text-decoration: none;
}
.ycc-social-link:hover {
  background: var(--ycc-blue-50);
  border-color: var(--ycc-blue-300);
  color: var(--ycc-blue-600);
  transform: translateY(-2px);
}
html.dark .ycc-social-link {
  background: var(--ycc-slate-900);
  border-color: var(--ycc-border-dark);
  color: var(--ycc-slate-400);
}
html.dark .ycc-social-link:hover {
  background: rgba(37,99,235,0.15);
  border-color: var(--ycc-blue-600);
  color: var(--ycc-blue-400);
}

/* Columns */
.ycc-footer-col-heading {
  font-size:      11px;
  font-weight:    700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color:          var(--ycc-text);
  margin:         0 0 8px;
  padding-bottom: 4px;
  border-bottom:  1px solid var(--ycc-border);
}
html.dark .ycc-footer-col-heading { color: var(--ycc-text-dark); border-color: var(--ycc-border-dark); }
@media (min-width: 768px) {
  .ycc-footer-col-heading { border-bottom: none; padding-bottom: 0; }
}

.ycc-footer-links { list-style: none; padding: 0; margin: 0; }
.ycc-footer-links li { margin-bottom: 6px; }
.ycc-footer-link {
  font-size:       12px;
  color:           var(--ycc-slate-600);
  text-decoration: none;
  transition:      color 0.15s, padding-left 0.15s;
  display:         inline-block;
}
.ycc-footer-link:hover { color: var(--ycc-blue-600); padding-left: 4px; }
html.dark .ycc-footer-link { color: var(--ycc-slate-400); }
html.dark .ycc-footer-link:hover { color: var(--ycc-blue-400); }

/* Contact */
.ycc-footer-contact-list { list-style: none; padding: 0; margin: 0; }
.ycc-footer-contact-item {
  display:     flex;
  align-items: flex-start;
  gap:         8px;
  margin-bottom: 8px;
  font-size:   12px;
  color:       var(--ycc-slate-600);
}
html.dark .ycc-footer-contact-item { color: var(--ycc-slate-400); }
.ycc-footer-contact-icon {
  padding:       4px;
  background:    var(--ycc-blue-50);
  border-radius: var(--ycc-radius-md);
  color:         var(--ycc-blue-600);
  flex-shrink:   0;
  margin-top:    1px;
}
html.dark .ycc-footer-contact-icon { background: rgba(37,99,235,0.15); }

/* Payments */
.ycc-footer-payments-label {
  font-size:      9px;
  font-weight:    700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color:          var(--ycc-text-muted);
  margin-bottom:  8px;
}
.ycc-footer-payments { display: flex; flex-wrap: nowrap; gap: 6px; }
.ycc-payment-badge {
  height:       28px;
  padding:      0 8px;
  background:   var(--ycc-surface);
  border:       1px solid var(--ycc-border);
  border-radius: var(--ycc-radius-md);
  display:      flex;
  align-items:  center;
  gap:          4px;
  font-size:    10px;
  font-weight:  700;
  color:        var(--ycc-slate-700);
  box-shadow:   var(--ycc-shadow-sm);
  flex-shrink:  0;
}
html.dark .ycc-payment-badge {
  background: var(--ycc-slate-800);
  border-color: var(--ycc-border-dark);
  color: var(--ycc-slate-300);
}

/* Bottom Bar */
.ycc-footer-bottom {
  margin-top:      24px;
  padding-top:     16px;
  border-top:      1px solid var(--ycc-border);
  display:         flex;
  flex-direction:  column;
  align-items:     center;
  gap:             12px;
  font-size:       10px;
  color:           var(--ycc-slate-500);
}
html.dark .ycc-footer-bottom { border-color: var(--ycc-border-dark); }
@media (min-width: 768px) {
  .ycc-footer-bottom { flex-direction: row; justify-content: space-between; }
}
.ycc-footer-copyright { margin: 0; text-align: center; }
@media (min-width: 768px) { .ycc-footer-copyright { text-align: left; } }
.ycc-footer-policy-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.ycc-footer-policy-link {
  color:           var(--ycc-slate-500);
  text-decoration: none;
  font-weight:     500;
  transition:      color 0.15s;
}
.ycc-footer-policy-link:hover { color: var(--ycc-blue-600); }
html.dark .ycc-footer-policy-link:hover { color: var(--ycc-blue-400); }

/* Elementor footer wrapper */
.elementor-location-footer .ycc-footer { width: 100%; }
.elementor-location-footer .elementor-section { padding: 0 !important; }
.elementor-location-footer .elementor-container { max-width: 100% !important; padding: 0 !important; }
