/* ══════════════════════════════════════════════════════════════
   NATURA DENTAL — Footer (Xcare-style, light bg)
   ══════════════════════════════════════════════════════════════ */

/* ── Main section ── */
.nd-footer {
    background: #f4f6fb;
    font-family: var(--font-body, 'DM Sans', sans-serif);
}
.nd-footer-main {
    padding: 72px 5% 56px;
    position: relative;
    overflow: hidden;
}
.nd-footer-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 80px;
    align-items: start;
}

/* ── LEFT: brand column ── */
.nd-footer-brand { position: relative; }

/* Large decorative tooth shape */
.nd-footer-deco {
    position: absolute;
    right: -20px; bottom: -40px;
    width: 200px; height: 260px;
    color: #d6e0f5;
    opacity: .7;
    pointer-events: none;
}

/* Logo */
.nd-footer-logo {
    display: inline-flex; align-items: center; gap: 10px;
    text-decoration: none; margin-bottom: 20px;
    font-size: 1.1rem; font-weight: 700;
    color: #13134b;
    letter-spacing: -.01em;
}
.nd-footer-logo strong { color: #4441cc; }
.nd-footer-logo-icon {
    width: 38px; height: 38px;
    background: #4441cc;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    flex-shrink: 0;
}
.nd-footer-desc {
    font-size: .9rem; color: #6b6e8e;
    line-height: 1.75; margin-bottom: 24px;
    max-width: 280px;
}

/* Social icons */
.nd-footer-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.nd-footer-social {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border: 1.5px solid #c8cadf;
    border-radius: 50%;
    color: #6b6e8e;
    text-decoration: none;
    transition: border-color .2s, color .2s, background .2s;
}
.nd-footer-social:hover {
    border-color: #4441cc; color: #4441cc;
    background: rgba(68,65,204,.06);
}

/* ── RIGHT: info column ── */
.nd-footer-headline {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800; color: #13134b;
    line-height: 1.25; letter-spacing: -.02em;
    margin-bottom: 36px;
}

/* 3-col info grid */
.nd-footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.nd-footer-col-title {
    font-size: .8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .1em;
    color: #4441cc; margin-bottom: 16px;
}

/* Links column */
.nd-footer-col-links {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 10px;
}
.nd-footer-col-links a {
    font-size: .9rem; color: #4b4e6e;
    text-decoration: none; transition: color .2s;
}
.nd-footer-col-links a:hover { color: #4441cc; }

/* Hours column */
.nd-footer-col-hours {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 10px;
}
.nd-footer-col-hours li { display: flex; flex-direction: column; gap: 2px; }
.nd-footer-col-hours li span:first-child {
    font-size: .8rem; color: #9295b0; font-weight: 500;
}
.nd-footer-col-hours li span:last-child {
    font-size: .9rem; color: #4b4e6e; font-weight: 600;
}
.nd-footer-closed { color: #d0334a !important; }

/* Address column */
.nd-footer-address {
    font-size: .9rem; color: #4b4e6e; line-height: 1.65; margin: 0 0 12px;
}
.nd-footer-phone,
.nd-footer-email {
    display: block; font-size: .875rem; color: #4b4e6e;
    text-decoration: none; margin-bottom: 6px; transition: color .2s;
}
.nd-footer-phone:hover, .nd-footer-email:hover { color: #4441cc; }
.nd-footer-phone { font-weight: 600; }

/* ── Bottom bar ── */
.nd-footer-bottom {
    border-top: 1px solid #dde1ef;
    padding: 20px 5%;
    background: #f4f6fb;
}
.nd-footer-bottom-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr auto 1fr;
    align-items: center; gap: 16px;
}
#fcreds { text-align: center; font-size: .8rem !important; color: #6b6e8e; }
#fcreds a { color: #4441cc !important; font-weight: 700; text-decoration: none !important; }
.nd-footer-copy { text-align: right; }
.nd-footer-legal {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.nd-footer-legal a {
    font-size: .8rem; color: #6b6e8e;
    text-decoration: none; transition: color .2s;
}
.nd-footer-legal a:hover { color: #4441cc; }
.nd-footer-sep { color: #c8cadf; font-size: .8rem; }
.nd-footer-copy { font-size: .8rem; color: #9295b0; margin: 0; }
.nd-footer-copy strong { color: #4b4e6e; }

/* ── Floating CTA ── */
.floating-cta {
    position: fixed; bottom: 28px; right: 28px; z-index: 999;
    opacity: 0; pointer-events: none;
    transform: translateY(12px);
    transition: opacity .3s, transform .3s;
}
.floating-cta.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.floating-cta-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: #4441cc; color: #fff;
    padding: 13px 22px; border-radius: 9999px;
    font-size: .875rem; font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(68,65,204,.4);
    transition: background .2s, transform .2s;
}
.floating-cta-btn:hover { background: #5e5ce6; transform: translateY(-2px); }
.floating-cta-btn svg { width: 18px; height: 18px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .nd-footer-inner { grid-template-columns: 260px 1fr; gap: 48px; }
    .nd-footer-headline { font-size: 1.6rem; }
}
@media (max-width: 768px) {
    .nd-footer-main { padding: 48px 5% 40px; }
    .nd-footer-inner { grid-template-columns: 1fr; gap: 40px; }
    .nd-footer-deco { display: none; }
    .nd-footer-desc { max-width: 100%; }
    .nd-footer-cols { grid-template-columns: 1fr 1fr; }
    .nd-footer-headline { font-size: 1.4rem; margin-bottom: 24px; }
    .nd-footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 480px) {
    .nd-footer-cols { grid-template-columns: 1fr; }
}
