.eds-corporate-footer,
.eds-corporate-footer * {
    box-sizing: border-box;
}

footer:not(.eds-corporate-footer) {
    display: none !important;
}

.eds-corporate-footer {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: #f5f5f3;
    background:
        radial-gradient(circle at 8% 0%, rgba(255,255,255,.08), transparent 30%),
        radial-gradient(circle at 92% 20%, rgba(123,22,77,.18), transparent 34%),
        #070708;
    border-top: 1px solid rgba(255,255,255,.12);
    font-family: Inter, "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-align: left;
}

.eds-corporate-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fff 22%, #8a315f 50%, #fff 78%, transparent);
    opacity: .75;
}

.eds-footer-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 64px 0 26px;
}

.eds-footer-main {
    display: grid;
    grid-template-columns: minmax(260px, 1.55fr) repeat(3, minmax(150px, .75fr));
    gap: 42px;
}

.eds-footer-brand {
    max-width: 390px;
}

.eds-footer-brand img {
    display: block;
    width: 190px;
    height: auto;
    margin: 0 0 20px;
}

.eds-footer-brand p {
    max-width: 370px;
    margin: 0;
    color: #aaaab1;
    font-size: .96rem;
    line-height: 1.7;
}

.eds-footer-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 20px;
}

.eds-footer-trust span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    color: #d8d8dc;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.eds-footer-col h2 {
    margin: 4px 0 16px;
    color: #fff;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.eds-footer-col nav {
    display: grid;
    gap: 10px;
}

.eds-footer-col a,
.eds-footer-contact {
    width: fit-content;
    padding: 2px 0;
    color: #aaaab1 !important;
    background: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none !important;
    transition: color .2s ease, transform .2s ease;
}

.eds-footer-col a:hover {
    color: #fff !important;
    transform: translateX(3px);
}

.eds-footer-contact {
    display: block;
    margin: 17px 0 8px;
    color: #77777f !important;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.eds-footer-whatsapp {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 3px;
    padding: 10px 15px !important;
    color: #050505 !important;
    background: #fff !important;
    border-radius: 999px !important;
    font-weight: 800 !important;
}

.eds-footer-whatsapp:hover {
    color: #050505 !important;
    transform: translateY(-2px) !important;
}

.eds-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 46px;
    padding-top: 22px;
    color: #77777f;
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: .78rem;
    line-height: 1.5;
}

.eds-footer-bottom span:last-child {
    text-align: right;
}

@media (max-width: 930px) {
    .eds-footer-main {
        grid-template-columns: 1.35fr 1fr 1fr;
    }
    .eds-footer-brand {
        grid-column: 1 / -1;
        max-width: 600px;
    }
}

@media (max-width: 620px) {
    .eds-footer-shell {
        width: min(100% - 28px, 1180px);
        padding-top: 46px;
    }
    .eds-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 34px 22px;
    }
    .eds-footer-brand {
        grid-column: 1 / -1;
    }
    .eds-footer-brand img {
        width: 166px;
    }
    .eds-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
    .eds-footer-bottom span:last-child {
        text-align: left;
    }
}

@media (max-width: 400px) {
    .eds-footer-main {
        grid-template-columns: 1fr;
    }
    .eds-footer-brand {
        grid-column: auto;
    }
}

/* Institutional pages */
body.eds-page {
    min-height: 100vh;
    margin: 0;
    color: #171411;
    background:
        radial-gradient(circle at 10% 0%, rgba(123,22,77,.09), transparent 28%),
        radial-gradient(circle at 90% 8%, rgba(13,83,104,.09), transparent 28%),
        #f7f4ee;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.eds-page * {
    box-sizing: border-box;
}

.eds-page a {
    color: inherit;
}

.eds-page-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(247,244,238,.88);
    border-bottom: 1px solid rgba(0,0,0,.09);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.eds-page-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: min(1080px, calc(100% - 32px));
    min-height: 74px;
    margin: 0 auto;
}

.eds-page-brand img {
    display: block;
    width: 132px;
    height: auto;
}

.eds-page-back {
    color: #514b44 !important;
    font-size: .9rem;
    font-weight: 750;
    text-decoration: none;
}

.eds-page-main {
    width: min(900px, calc(100% - 32px));
    margin: 0 auto;
    padding: 78px 0 96px;
}

.eds-page-eyebrow {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 7px 11px;
    color: #fff;
    background: #171411;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.eds-page h1 {
    max-width: 790px;
    margin: 0 0 22px;
    color: #171411;
    font-size: clamp(2.5rem, 7vw, 5.3rem);
    line-height: .98;
    letter-spacing: -.045em;
}

.eds-page-lead {
    max-width: 760px;
    margin: 0 0 48px;
    color: #625a52;
    font-size: clamp(1.06rem, 2.3vw, 1.28rem);
    line-height: 1.7;
}

.eds-page-content {
    display: grid;
    gap: 16px;
}

.eds-founder-story {
    display: grid;
    grid-template-columns: minmax(280px, 1.08fr) minmax(280px, .92fr);
    align-items: center;
    gap: 34px;
    padding: 22px;
    color: #fff;
    background:
        radial-gradient(circle at 85% 10%, rgba(123,22,77,.28), transparent 36%),
        #171411;
    border-radius: 26px;
    box-shadow: 0 24px 70px rgba(35,24,15,.15);
}

.eds-founder-story picture,
.eds-founder-story img {
    display: block;
    width: 100%;
}

.eds-founder-story img {
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 18px;
}

.eds-founder-story-copy {
    padding: 12px 18px 12px 4px;
}

.eds-founder-story-copy small {
    display: block;
    margin-bottom: 12px;
    color: #c9c3bd;
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.eds-founder-story-copy h2 {
    margin: 0 0 15px;
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.02;
    letter-spacing: -.035em;
}

.eds-founder-story-copy p {
    margin: 0;
    color: #c4beb8;
    line-height: 1.7;
}

.eds-founder-story-copy p + p {
    margin-top: 12px;
}

.eds-founder-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 20px;
}

.eds-founder-badges span {
    padding: 7px 10px;
    color: #f1eeea;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 750;
}

.eds-page-section {
    padding: 28px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(50,35,20,.06);
}

.eds-page-section h2 {
    margin: 0 0 12px;
    color: #171411;
    font-size: clamp(1.3rem, 3vw, 1.75rem);
    letter-spacing: -.02em;
}

.eds-page-section h3 {
    margin: 22px 0 8px;
    color: #302a25;
    font-size: 1.05rem;
}

.eds-page-section p,
.eds-page-section li {
    color: #625a52;
    font-size: .98rem;
    line-height: 1.75;
}

.eds-page-section p + p {
    margin-top: 12px;
}

.eds-page-section ul {
    display: grid;
    gap: 8px;
    margin: 12px 0 0;
    padding-left: 20px;
}

.eds-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.eds-page-card {
    padding: 24px;
    background: #171411;
    border-radius: 20px;
    color: #fff;
}

.eds-page-card strong {
    display: block;
    margin-bottom: 7px;
    font-size: 1.05rem;
}

.eds-page-card span {
    color: #b8b3ad;
    line-height: 1.55;
}

.eds-page-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
}

.eds-page-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    color: #fff !important;
    background: #171411;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
}

.eds-page-button.alt {
    color: #171411 !important;
    background: #fff;
    border: 1px solid rgba(0,0,0,.12);
}

.eds-page-updated {
    margin-top: 28px;
    color: #817970;
    font-size: .8rem;
}

@media (max-width: 650px) {
    .eds-page-main {
        padding: 52px 0 70px;
    }
    .eds-page-grid {
        grid-template-columns: 1fr;
    }
    .eds-founder-story {
        grid-template-columns: 1fr;
        padding: 14px;
        border-radius: 20px;
    }
    .eds-founder-story-copy {
        padding: 10px 8px 12px;
    }
    .eds-page-section {
        padding: 21px;
        border-radius: 18px;
    }
    .eds-page-brand img {
        width: 112px;
    }
}
