/* =============================================
   CARTANTS - footer.css
   ============================================= */

.cartants-footer {
    width: 100%;
    background: #1E2461;
    padding: 48px 100px 0;
    box-sizing: border-box;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 1240px;
    max-width: 100%;
    margin: 0 auto;
}

/* ── Top Row: Logo + Tagline ── */
.footer-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 24px;
}

.footer-logo {
    display: block; flex-shrink: 0;
}
.footer-logo img {
    height: 44px; width: auto;
    display: block; object-fit: contain;
}

/* Figma: Montserrat 400 31px → professional 20px */
.footer-tagline {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    text-align: right;
    color: #FFFFFF;
    white-space: nowrap;
}

/* ── Main Row ── */
.footer-main {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
}

/* ── LEFT BOX: Links — Figma: 694x328 bg #2D335D ── */
.footer-links-box {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    padding: 24px;
    gap: 24px;
    flex: 1;
    background: #2D335D;
    border-radius: 16px;
    box-sizing: border-box;
    min-height: 280px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

/* Figma: Montserrat 400 16px #AFB4D7 */
.footer-col__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 11px;
    line-height: 16px;
    letter-spacing: 1px;
    color: #AFB4D7;
    text-transform: uppercase;
    display: block;
}

.footer-col__list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col__list li a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 18px;
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.15s;
    display: flex;
    align-items: center;
}
.footer-col__list li a:hover { color: #C6CDFA; }

/* Social links with icons */
.footer-col__list--social li a {
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-col__list--social img {
    width: 16px; height: 16px;
    object-fit: contain;
    opacity: 0.85;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

/* Business links — underlined */
.footer-col__list--business li a {
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
}

/* ── RIGHT BOX ── */
.footer-right-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 460px;
    flex-shrink: 0;
}

/* Newsletter Box */
.footer-newsletter {
    background: #2D335D;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-newsletter__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: #FFFFFF;
    margin: 0;
}

.footer-newsletter__form { width: 100%; }

.footer-newsletter__input-wrap {
    display: flex;
    align-items: center;
    position: relative;
    background: #3A4278;
    border-radius: 12px;
    border: 1px solid rgba(175,180,215,0.3);
    overflow: hidden;
    padding: 0 12px;
    height: 48px;
    gap: 8px;
}

.footer-newsletter__input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #FFFFFF;
    padding: 0;
}
.footer-newsletter__input::placeholder { color: #AFB4D7; }

.footer-newsletter__icon {
    width: 18px; height: 18px;
    object-fit: contain;
    opacity: 0.7;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.footer-newsletter__btn {
    background: none;
    border: none;
    color: #AFB4D7;
    font-size: 20px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    transition: color 0.15s;
    flex-shrink: 0;
}
.footer-newsletter__btn:hover { color: #FFFFFF; }

.footer-newsletter__msg {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #C6CDFA;
    margin: 8px 0 0;
    min-height: 16px;
}

/* Payments Box */
.footer-payments {
    background: #2D335D;
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-payments__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: #FFFFFF;
    margin: 0;
}

.footer-payments__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ── Bottom Bar ── */
.footer-bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid rgba(175,180,215,0.15);
    width: 100%;
    gap: 16px;
}

.footer-bottom__copy {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #AFB4D7;
}

.footer-bottom__links {
    display: flex;
    gap: 20px;
}
.footer-bottom__links a {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #AFB4D7;
    text-decoration: none;
    transition: color 0.15s;
}
.footer-bottom__links a:hover { color: #FFFFFF; }

/* ── Responsive ── */
@media(max-width:1280px){
    .cartants-footer { padding: 48px 60px 0; }
    .footer-right-box { width: 380px; }
}
@media(max-width:1024px){
    .cartants-footer   { padding: 40px 40px 0; }
    .footer-main       { flex-direction: column; }
    .footer-links-box  { width: 100%; }
    .footer-right-box  { width: 100%; flex-direction: row; gap: 16px; }
    .footer-newsletter,
    .footer-payments   { flex: 1; }
}
@media(max-width:768px){
    .cartants-footer   { padding: 40px 24px 0; }
    .footer-top        { flex-direction: column; align-items: flex-start; gap: 12px; }
    .footer-tagline    { font-size: 16px; text-align: left; white-space: normal; }
    .footer-links-box  { flex-wrap: wrap; gap: 20px; }
    .footer-col        { min-width: calc(50% - 12px); }
    .footer-right-box  { flex-direction: column; }
    .footer-bottom     { flex-direction: column; gap: 8px; text-align: center; }
    .footer-bottom__links { justify-content: center; }
}
@media(max-width:480px){
    .footer-col { min-width: 100%; }
    .footer-tagline { font-size: 14px; }
}
