/* ==========================================================================
   CODHAUS REUSABLE MODERN LUXURY FOOTER COMPONENT
   ========================================================================== */

.modern-luxury-footer,
footer.modern-luxury-footer {
  background: #fdfcf9 !important;
  background-color: #fdfcf9 !important;
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  color: #0f172a !important;
  box-sizing: border-box !important;
}

/* 5-Column Grid */
.mlf-main {
  background: #fdfcf9 !important;
  background-color: #fdfcf9 !important;
  max-width: 1440px;
  margin: 0 auto;
  padding: 55px 40px 45px;
  display: grid;
  grid-template-columns: 1.4fr 1.05fr 0.9fr 0.9fr 1.6fr;
  box-sizing: border-box;
}
.mlf-col {
  padding: 0 28px;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}
.mlf-col:first-child {
  padding-left: 0;
}
.mlf-col:last-child {
  padding-right: 0;
  border-right: none;
}

/* Brand Column */
.mlf-brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
  display: block;
}
.mlf-brand-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: #475569;
  margin: 0 0 16px 0;
  max-width: 260px;
}
.mlf-brand-region {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
}
.mlf-brand-region svg {
  color: #b88628;
  flex-shrink: 0;
}
.mlf-world-map {
  width: 100%;
  max-width: 210px;
  height: auto;
  object-fit: contain;
  display: block;
  margin-top: auto;
}

/* Link Columns (Services, Company, Resources) */
.mlf-col-title {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #b88628;
  text-transform: uppercase;
  margin: 0 0 18px 0;
}
.mlf-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.mlf-link-list a {
  color: #334155;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}
.mlf-link-list a:hover {
  color: #b88628;
  transform: translateX(2px);
}

/* Explore Top AI Tools Column */
.mlf-ai-desc {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 18px 0;
}
.mlf-ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.ai-tool-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.ai-card-box {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
}
.ai-tool-item:hover .ai-card-box {
  transform: translateY(-2px);
  border-color: #b88628;
  box-shadow: 0 6px 14px rgba(184, 134, 40, 0.12);
}
.ai-tool-label {
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  text-align: center;
  transition: color 0.2s;
}
.ai-tool-item:hover .ai-tool-label {
  color: #b88628;
}
.mlf-ai-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b88628;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  transition: gap 0.2s, color 0.2s;
}
.mlf-ai-explore-btn:hover {
  color: #8f671b;
  gap: 12px;
}

/* Newsletter Strip */
.mlf-newsletter-strip {
  background: #f7f5f0;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  padding: 34px 0;
}
.mlf-news-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.3fr 1.4fr 1.3fr;
  gap: 32px;
  align-items: center;
  box-sizing: border-box;
}
.news-editorial-col .news-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #b88628;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.news-editorial-col h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 0 0 6px 0;
}
.news-editorial-col p {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}
.news-form-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.news-input-wrap {
  display: flex;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.news-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 13px;
  color: #0f172a;
  background: transparent;
}
.news-input-wrap button {
  background: linear-gradient(135deg, #e5aa42 0%, #cb8f29 100%);
  color: #0f172a;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  border: none;
  padding: 0 20px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.news-input-wrap button:hover {
  background: linear-gradient(135deg, #f0b54d 0%, #d89932 100%);
}
.news-spam-note {
  font-size: 11px;
  color: #94a3b8;
}
.news-pillars-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}
.news-pillar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 0 10px;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}
.news-pillar-item:last-child {
  border-right: none;
}
.news-pillar-icon {
  color: #b88628;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-pillar-icon svg {
  width: 22px;
  height: 22px;
  stroke: #b88628;
}
.news-pillar-text {
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
  line-height: 1.25;
}

/* Contact Info & Social Bar */
.mlf-contact-bar {
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  padding: 22px 0;
}
.mlf-contact-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.1fr 1.15fr 1.1fr 1.2fr;
  gap: 20px;
  align-items: center;
  box-sizing: border-box;
}
.mlf-contact-block {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 20px;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}
.mlf-contact-block:last-child {
  border-right: none;
  padding-right: 0;
  justify-content: flex-end;
}
.mcb-icon {
  color: #b88628;
  font-size: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mcb-icon svg {
  width: 22px;
  height: 22px;
  stroke: #b88628;
}
.mcb-info {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.mcb-main {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s;
}
.mcb-main:hover {
  color: #b88628;
}
.mcb-sub {
  font-size: 11.5px;
  color: #64748b;
}
.mlf-social-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.mlf-social-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
}
.mlf-social-icons {
  display: flex;
  align-items: center;
  gap: 14px;
}
.mlf-social-link {
  color: #0f172a;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mlf-social-link:hover {
  color: #b88628;
  transform: translateY(-2px);
}

/* Subfooter Bar */
.mlf-subfooter {
  background: #fcfbfa;
  padding: 18px 0;
}
.mlf-sub-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #64748b;
  box-sizing: border-box;
}
.mlf-sub-links {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mlf-sub-links a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}
.mlf-sub-links a:hover {
  color: #0f172a;
}
.mlf-gold-sep {
  color: #c99738;
  font-weight: 700;
  margin: 0 4px;
}
.mlf-tagline {
  color: #475569;
  font-weight: 500;
}

/* Tablet Media Queries */
@media (max-width: 1024px) {
  .mlf-main {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  .mlf-col {
    padding: 0;
    border-right: none;
  }
  .mlf-newsletter-strip .mlf-news-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .mlf-contact-container {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .mlf-contact-block:nth-child(2) {
    border-right: none;
  }
}

/* Mobile Media Queries */
@media (max-width: 768px) {
  .mlf-main {
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
    row-gap: 34px;
    padding: 40px 20px;
  }
  /* Brand column spans full width across top */
  .mlf-col:nth-child(1) {
    grid-column: 1 / -1;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    padding-bottom: 28px;
  }
  /* Column 2: SERVICES in left column */
  .mlf-col:nth-child(2) {
    grid-column: 1 / 2;
    grid-row: 2 / span 2;
  }
  /* Column 3: COMPANY in right column top */
  .mlf-col:nth-child(3) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }
  /* Column 4: RESOURCES in right column bottom */
  .mlf-col:nth-child(4) {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
  }
  /* Column 5: Explore Top AI Tools spans full width */
  .mlf-col:nth-child(5) {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    padding-top: 28px;
  }
  /* Mobile link sizes and spacing */
  .mlf-col-title {
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 0.12em !important;
    margin-bottom: 16px !important;
  }
  .mlf-link-list {
    gap: 13px !important;
  }
  .mlf-link-list a {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    line-height: 1.45 !important;
    padding: 2px 0 !important;
    display: inline-block !important;
  }
  .mlf-news-container {
    padding: 0 20px;
  }
  .news-pillars-col {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .news-pillar-item {
    border-right: none;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    gap: 12px;
  }
  .mlf-contact-container {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 16px;
  }
  .mlf-contact-block {
    border-right: none;
    padding-right: 0;
  }
  .mlf-contact-block:last-child {
    justify-content: flex-start;
  }
  .mlf-sub-container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 0 20px;
  }
  .mlf-sub-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
