/* Foto Carsi public layout and corporate pages - v134 */
html {
    min-height: 100%;
    overflow-y: scroll;
}
body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex !important;
    flex-direction: column !important;
}
body > main {
    width: 100%;
    flex: 1 0 auto !important;
}
body > .footer {
    flex: 0 0 auto;
    margin-top: auto !important;
}

.corporate-page {
    background: #f3f6fb;
}
.corporate-main {
    padding: 34px 0 42px;
}
.corporate-wrap {
    display: block;
}
.managed-page {
    display: grid;
    gap: 22px;
}
.managed-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid #cfe0f5;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 62%, #e9f8fb 100%);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .06);
}
.managed-hero::after {
    content: "";
    position: absolute;
    top: -90px;
    right: -60px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 169, 200, .16), rgba(0, 71, 171, 0) 68%);
    pointer-events: none;
}
.managed-hero > span {
    position: relative;
    z-index: 1;
    display: inline-flex;
    margin-bottom: 10px;
    color: #006cba;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .09em;
}
.managed-hero h1 {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 0 12px;
    color: #101828;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
    font-weight: 850;
    letter-spacing: -.025em;
}
.managed-hero p {
    position: relative;
    z-index: 1;
    max-width: 920px;
    margin: 0;
    color: #475467;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 520;
}

/* Bank accounts */
.bank-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.bank-info-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border: 1px solid #d8e4f2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .055);
}
.bank-info-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #0047ab, #00a9c8);
}
.bank-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.bank-mark {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #075bbd, #00a9c8);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .03em;
    box-shadow: 0 9px 20px rgba(0, 71, 171, .18);
}
.bank-card-head small {
    display: block;
    margin-bottom: 3px;
    color: #667085;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.bank-card-head h2 {
    margin: 0;
    color: #101828;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 820;
}
.bank-info-card dl {
    display: grid;
    gap: 0;
    margin: 0;
}
.bank-info-card dl > div {
    padding: 13px 0;
    border-top: 1px solid #edf2f7;
}
.bank-info-card dt {
    margin: 0 0 5px;
    color: #667085;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .055em;
}
.bank-info-card dd {
    margin: 0;
    color: #1d2939;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 650;
    overflow-wrap: anywhere;
}
.bank-info-card dd.iban {
    color: #0047ab;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.45;
    font-weight: 800;
    letter-spacing: .025em;
    font-variant-numeric: tabular-nums;
}
.bank-note {
    margin: 14px 0 0;
    padding: 11px 13px;
    border-radius: 10px;
    background: #f2f7ff;
    color: #475467;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 600;
}

/* Contact details and map */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(380px, .92fr) minmax(440px, 1.08fr);
    gap: 18px;
    align-items: stretch;
}
.contact-card-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.contact-card-list article {
    min-width: 0;
    min-height: 118px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 18px;
    border: 1px solid #d8e4f2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .045);
}
.contact-card-list article.contact-address {
    grid-column: 1 / -1;
    min-height: 108px;
}
.contact-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #eaf3ff;
    color: #075bbd;
    font-size: 19px;
    line-height: 1;
    font-weight: 900;
}
.contact-mark.whatsapp {
    background: #e9f9ef;
    color: #07883f;
    font-size: 12px;
}
.contact-card-list strong {
    display: block;
    margin-bottom: 6px;
    color: #667085;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .055em;
}
.contact-card-list p {
    margin: 0;
    color: #1d2939;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 650;
    overflow-wrap: anywhere;
}
.contact-card-list a {
    color: #075bbd;
    font-weight: 760;
}
.contact-card-list a:hover {
    color: #0047ab;
    text-decoration: underline;
}
.contact-map {
    height: 354px;
    min-height: 354px;
    overflow: hidden;
    border: 1px solid #d8e4f2;
    border-radius: 18px;
    background: #eaf0f7;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .055);
}
.contact-map iframe {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    border: 0 !important;
}

/* About */
.about-section-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.about-section-grid article,
.about-feature-card,
.about-seo-links {
    border: 1px solid #d8e4f2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .045);
}
.about-section-grid article {
    min-height: 100%;
    padding: 23px;
}
.about-section-grid article:first-child {
    grid-column: span 2;
    background: linear-gradient(135deg, #fff, #f7fbff);
}
.about-section-grid h3,
.about-feature-card h3 {
    margin: 0 0 10px;
    color: #101828;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: -.008em;
}
.about-section-grid p {
    margin: 0;
    color: #475467;
    font-size: 14.5px;
    line-height: 1.75;
    font-weight: 480;
}
.about-feature-card {
    padding: 24px;
}
.about-feature-card ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.about-feature-card li {
    position: relative;
    min-height: 54px;
    padding: 14px 13px 13px 43px;
    border-radius: 12px;
    background: #f4f8fd;
    color: #344054;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
}
.about-feature-card li::before {
    content: "✓";
    position: absolute;
    top: 14px;
    left: 14px;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #dff3ff;
    color: #006cba;
    font-size: 12px;
    font-weight: 900;
}
.about-seo-links {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, .9fr);
    align-items: center;
    gap: 24px;
    padding: 26px;
    background: linear-gradient(135deg, #0a438f, #006fbe);
    color: #fff;
}
.about-seo-links > div > span {
    display: block;
    margin-bottom: 6px;
    color: #bceeff;
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .07em;
}
.about-seo-links h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 21px;
    line-height: 1.35;
    font-weight: 820;
}
.about-seo-links p {
    margin: 0;
    color: #d9ebff;
    font-size: 13.5px;
    line-height: 1.6;
}
.about-seo-links nav {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}
.about-seo-links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: 12px;
    font-weight: 750;
}
.about-seo-links a:hover {
    border-color: #fff;
    background: #fff;
    color: #075bbd;
}

@media (max-width: 960px) {
    .contact-layout,
    .about-seo-links {
        grid-template-columns: 1fr;
    }
    .contact-map {
        height: 320px;
        min-height: 320px;
    }
    .about-seo-links nav {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .corporate-main {
        padding: 18px 0 28px;
    }
    .managed-page {
        gap: 14px;
    }
    .managed-hero {
        padding: 24px 20px;
        border-radius: 15px;
    }
    .managed-hero h1 {
        font-size: 28px;
    }
    .managed-hero p {
        font-size: 14.5px;
        line-height: 1.65;
    }
    .bank-card-grid,
    .contact-card-list,
    .about-section-grid,
    .about-feature-card ul {
        grid-template-columns: 1fr;
    }
    .about-section-grid article:first-child,
    .contact-card-list article.contact-address {
        grid-column: auto;
    }
    .bank-info-card,
    .about-section-grid article,
    .about-feature-card,
    .about-seo-links {
        padding: 19px;
        border-radius: 14px;
    }
    .contact-card-list article {
        min-height: 94px;
        padding: 15px;
    }
    .contact-map {
        height: 280px;
        min-height: 280px;
        border-radius: 14px;
    }
}
