/* ==========================================================================
   Dorano Footer — Newsletter, Grid, Social Bar, Copyright, Back-to-Top
   ========================================================================== */

.dorano-footer {
    background: var(--dorano-gradient-dark);
    color: var(--dorano-off-white);
}

/* ---------- Newsletter CTA ---------- */
.dorano-footer__newsletter {
    background: var(--dorano-secondary);
    padding: 40px 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}

.dorano-footer__newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.dorano-footer__newsletter-title {
    color: var(--dorano-white);
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 4px;
}

.dorano-footer__newsletter-desc {
    color: var(--dorano-text-light);
    font-size: 14px;
    margin: 0;
}

.dorano-footer__newsletter-form {
    display: flex;
    gap: 0;
}

.dorano-footer__newsletter-input {
    padding: 12px 20px;
    width: 100%;
    max-width: 280px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-right: none;
    border-radius: 4px 0 0 4px;
    color: var(--dorano-white);
    font-size: 14px;
    outline: none;
    transition: border-color var(--dorano-transition);
}

.dorano-footer__newsletter-input::placeholder {
    color: var(--dorano-text-light);
}

.dorano-footer__newsletter-input:focus {
    border-color: var(--dorano-gold);
}

.dorano-footer__newsletter-btn {
    padding: 12px 24px;
    background: var(--dorano-gold);
    color: var(--dorano-main);
    border: none;
    border-radius: 0 4px 4px 0;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background var(--dorano-transition);
    white-space: nowrap;
}

.dorano-footer__newsletter-btn:hover {
    background: var(--dorano-gold-light);
}

/* ---------- Footer Grid ---------- */
.dorano-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 60px;
}

.dorano-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}

/* Column headings */
.dorano-footer__heading {
    color: var(--dorano-gold);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.dorano-footer__heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 30px;
    height: 2px;
    background: var(--dorano-gold);
}

/* Brand column */
.dorano-footer__logo {
    margin-bottom: 16px;
}

.dorano-footer__logo-img {
    max-width: 160px;
    height: auto;
}

.dorano-footer__site-name {
    color: var(--dorano-gold);
    font-size: 22px;
    margin-bottom: 12px;
}

.dorano-footer__tagline {
    color: var(--dorano-text-light);
    font-size: 14px;
    line-height: 1.7;
    max-width: 280px;
}

/* Quick Links & Service menus */
.dorano-footer__menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dorano-footer__menu li {
    margin-bottom: 10px;
}

.dorano-footer__menu a {
    color: var(--dorano-off-white);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--dorano-transition), padding-left var(--dorano-transition);
    display: inline-block;
}

.dorano-footer__menu a:hover {
    color: var(--dorano-gold);
    padding-inline-start: 6px;
}

/* Contact Info */
.dorano-footer__contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dorano-footer__contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--dorano-off-white);
}

.dorano-footer__contact-list svg {
    color: var(--dorano-gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.dorano-footer__contact-list a {
    color: var(--dorano-off-white);
    text-decoration: none;
    transition: color var(--dorano-transition);
}

.dorano-footer__contact-list a:hover {
    color: var(--dorano-gold);
}

/* ---------- Social Icons Bar ---------- */
.dorano-footer__social-bar {
    padding: 24px 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}

.dorano-footer__social-bar-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.dorano-footer__social-bar-inner::before,
.dorano-footer__social-bar-inner::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(201, 168, 76, 0.15);
}

.dorano-footer__social-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--dorano-gold);
    transition: all var(--dorano-transition);
}

.dorano-footer__social-bar a:hover {
    background: var(--dorano-gold);
    color: var(--dorano-main);
    border-color: var(--dorano-gold);
    transform: translateY(-2px);
}

/* ---------- Copyright Bar ---------- */
.dorano-footer__copyright {
    padding: 20px 0;
}

.dorano-footer__copyright-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.dorano-footer__copyright-text {
    margin: 0;
    font-size: 13px;
    color: var(--dorano-text-light);
}

.dorano-footer__payment-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dorano-footer__payment-cod {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--dorano-text-light);
    background: rgba(255, 255, 255, 0.06);
    padding: 3px 8px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dorano-footer__payment-cod svg {
    color: var(--dorano-text-light);
}

/* ---------- Back-to-Top ---------- */
.dorano-back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--dorano-gold);
    color: var(--dorano-main);
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--dorano-shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background var(--dorano-transition);
}

.dorano-back-to-top svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: currentColor;
}

.dorano-back-to-top--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dorano-back-to-top:hover {
    background: var(--dorano-gold-light);
    transform: translateY(-2px);
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .dorano-footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .dorano-footer__newsletter-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .dorano-footer__newsletter-input {
        max-width: 240px;
    }
}

@media (max-width: 768px) {
    .dorano-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .dorano-footer__newsletter-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .dorano-footer__newsletter-form {
        width: 100%;
        max-width: 360px;
    }

    .dorano-footer__newsletter-input {
        flex: 1;
        max-width: none;
    }
}

@media (max-width: 544px) {
    .dorano-footer__inner {
        padding-top: 40px;
    }

    .dorano-footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .dorano-footer__heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .dorano-footer__tagline {
        max-width: none;
    }

    .dorano-footer__menu a:hover {
        padding-inline-start: 0;
    }

    .dorano-footer__contact-list li {
        justify-content: center;
    }

    .dorano-footer__copyright-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .dorano-footer__newsletter-form {
        flex-direction: column;
        gap: 12px;
    }

    .dorano-footer__newsletter-input {
        width: 100%;
        border-right: 1px solid rgba(201, 168, 76, 0.3);
        border-radius: 4px;
    }

    .dorano-footer__newsletter-btn {
        border-radius: 4px;
    }

    .dorano-back-to-top {
        right: 16px;
        bottom: 16px;
        width: 40px;
        height: 40px;
    }
}
