/* TOP footer layout and visual system. Interaction states live in interactions.css. */
.top-real-footer {
    --topf-navy: var(--top-color-navy);
    --topf-panel: #0a203b;
    --topf-cyan: var(--top-color-neon-cyan);
    --topf-line: #294c70;
    /* The final .top-section supplies the shared 16px page rhythm below. */
    margin-block-start: 0;
    border-top: 1px solid rgba(0, 217, 255, .38);
    background: var(--topf-navy);
    color: var(--top-color-white);
    direction: rtl;
    font-family: inherit;
}
.topf-wrap { padding-block: 16px 10px; }
.topf-brand { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-block: 0 14px; text-align: center; }
.topf-brand-home { display: inline-flex; width: 180px; min-height: 44px; align-items: center; justify-content: center; }
.topf-logo { display: block; width: 180px; max-width: 100%; height: auto; object-fit: contain; }
.topf-brand h2 { margin: 0; color: var(--top-color-white); font-size: 26px; font-weight: 800; line-height: 1.35; }
.topf-since, .topf-lead { margin: 0; }
.topf-since { color: var(--top-color-champagne-light); font-size: 16px; line-height: 1.5; }
.topf-lead { max-width: 900px; color: var(--top-color-white); font-size: 14px; line-height: 1.7; }
.topf-features, .topf-assurance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.topf-features { min-height: 68px; border-block: 1px solid rgba(52, 81, 107, .62); }
.topf-features li, .topf-assurance li { display: flex; min-width: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 8px; text-align: center; }
.topf-features li + li, .topf-assurance li + li { border-inline-start: 1px solid rgba(52, 81, 107, .72); }
.topf-features svg, .topf-assurance svg { display: block; width: 24px; height: 24px; flex: 0 0 24px; fill: none; stroke: var(--topf-cyan); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.topf-features strong { color: var(--top-color-white); font-size: 14px; line-height: 1.4; }
.topf-locations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 12px; margin-block-start: 12px; }
.topf-location-card { display: flex; min-width: 0; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid var(--topf-line); border-radius: 12px; background: var(--topf-panel); color: var(--top-color-champagne-light); }
.topf-location-card > header { display: flex; align-items: center; gap: 8px; }
.topf-location-card > header svg, .topf-address-link svg { display: block; width: 22px; height: 22px; flex: 0 0 22px; fill: none; stroke: var(--topf-cyan); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.topf-location-card h3 { margin: 0; color: var(--top-color-champagne-light); font-size: 18px; font-weight: 750; line-height: 1.45; }
.top-real-footer a.topf-address-link { display: flex; min-width: 0; align-items: flex-start; gap: 8px; color: var(--top-color-white); font-size: 14px; line-height: 1.8; text-decoration: none; }
.topf-address-link > span { min-width: 0; }
.topf-contact-group { display: flex; min-width: 0; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; color: var(--top-color-white); font-size: 13px; line-height: 1.7; }
.topf-contact-group > span { color: var(--top-color-white); }
.topf-contact-group > div { display: flex; min-width: 0; flex-wrap: wrap; gap: 4px 10px; }
.topf-contact-group a { color: var(--top-color-white); direction: ltr; white-space: nowrap; text-decoration: none; }
.topf-socials { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-block-start: 12px; }
.topf-social-card { display: flex; height: 65px; min-width: 0; max-height: 65px; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0 6px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 10px; color: var(--top-color-white); text-align: center; text-decoration: none; }
.topf-social-card svg, .topf-social-card img, .topf-social-card i { display: block; width: 28px; height: 28px; flex: 0 0 28px; object-fit: contain; }
.topf-original-social-logo:not([data-ready="true"]), .topf-original-trustseal:not([data-ready="true"]) { visibility: hidden; }
.topf-social-card svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.topf-social-card i { font-size: 28px; line-height: 28px; }
.topf-social-card span { display: block; max-width: 100%; color: var(--top-color-white); font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.top-real-footer a.top-card.topf-social-card { color: var(--top-color-white); }
.top-real-footer a.top-card.topf-social-call { background: linear-gradient(135deg, #084bbb, #168af4); }
.top-real-footer a.top-card.topf-social-whatsapp { background: linear-gradient(135deg, #07913c, #20c563); }
.top-real-footer a.top-card.topf-social-eitaa { background: linear-gradient(135deg, #d96a09, #f6a532); }
.top-real-footer a.top-card.topf-social-bale { background: linear-gradient(135deg, #087f83, #41b9a5); }
.top-real-footer a.top-card.topf-social-rubika { background: linear-gradient(135deg, #6637ba, #9876db); }
.topf-assurance { min-height: 72px; margin-block-start: 12px; padding-block: 8px; border-block: 1px solid rgba(52, 81, 107, .72); }
.topf-assurance li { gap: 3px; }
.topf-assurance svg { width: 20px; height: 20px; flex-basis: 20px; }
.topf-assurance strong { color: var(--top-color-white); font-size: 14px; font-weight: 700; line-height: 1.35; }
.topf-assurance span { color: var(--top-color-champagne-light); font-size: 12px; line-height: 1.4; }
.topf-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; padding-block: 8px; border-bottom: 1px solid rgba(52, 81, 107, .72); }
.topf-nav a { display: inline-flex; min-height: 40px; align-items: center; padding-inline: 6px; color: var(--top-color-white); font-size: 13px; text-decoration: none; }
.topf-bottom { display: grid; grid-template-columns: minmax(90px, 1fr) minmax(0, 2fr) minmax(140px, 1fr); align-items: center; gap: 10px; padding-block: 10px 0; border-top: 1px solid rgba(52, 81, 107, .28); }
.topf-enamad { display: flex; min-height: 64px; align-items: center; justify-content: flex-start; }
.topf-enamad img { display: block; width: 60px; max-height: 64px; object-fit: contain; }
.topf-copy { margin: 0; color: var(--top-color-champagne-light); font-size: 12px; line-height: 1.6; text-align: center; }
.topf-3d { text-align: end; }
.topf-3d a { display: inline-flex; min-height: 44px; align-items: center; justify-content: flex-end; gap: 8px; color: var(--top-color-champagne-light); text-decoration: none; }
.topf-3d strong { color: var(--top-color-neon-cyan); font-size: 24px; line-height: 1; }
.topf-3d span { font-size: 12px; }

@media (min-width: 768px) and (max-width: 1024px) {
    .topf-location-card { padding: 14px; }
}
@media (max-width: 767px) {
    .topf-wrap { padding-block: 16px 10px; }
    .topf-brand-home, .topf-logo { width: 140px; }
    .topf-brand h2 { font-size: 26px; }
    .topf-since { font-size: 16px; }
    .topf-features, .topf-assurance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .topf-features li:nth-child(2n + 1), .topf-assurance li:nth-child(2n + 1) { border-inline-start: 0; }
    .topf-features li:nth-child(n + 3), .topf-assurance li:nth-child(n + 3) { border-top: 1px solid rgba(52, 81, 107, .72); }
    .topf-locations { grid-template-columns: minmax(0, 1fr); }
    .topf-socials { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
    .topf-social-card { grid-column: span 2; }
    .topf-social-card:nth-child(4) { grid-column: 2 / span 2; }
    .topf-social-card:nth-child(5) { grid-column: 4 / span 2; }
    .topf-bottom { grid-template-columns: 1fr 1fr; gap: 8px; }
    .topf-enamad { justify-content: flex-start; }
    .topf-copy { grid-column: 1 / -1; grid-row: 2; }
    .topf-3d { grid-column: 2; grid-row: 1; text-align: end; }
}
