:root {
    --navy:#071d40;
    --navy2:#0a315e;
    --cyan:#34bdd9;
    --yellow:#ffd900;
    --red:#ed0035;
    --ink:#08224b;
    --soft:#f2f7fb;
    --white:#fff;
    --radius:24px;
    --shadow:0 12px 28px rgba(7,29,64,.10);
}
* {
    box-sizing:border-box;
}
html {
    scroll-behavior:smooth;
}
body {
    margin:0;
    font-family:Arial,Helvetica,sans-serif;
    color:var(--ink);
    background:#fff;
}
a {
    text-decoration:none;
    color:inherit;
}
.hero {
    width:100%;
    background:var(--navy);
    overflow:hidden;
}
.hero {
    display:flex;
    justify-content:center;
    align-items:center;
    background:#071d40;
}
.hero img {
    display:block;
    width:75%;
    height:auto;
    max-height:320px;
    object-fit:contain;
    object-position:center;
}
.section-shell {
    width:min(1400px,92%);
    margin-inline:auto;
}
.process {
    display:grid;
    grid-template-columns:240px 1fr 1.25fr;
    gap:28px;
    align-items:center;
    padding:32px 0 20px;
}
.accent {
    display:block;
    width:52px;
    height:9px;
    background:var(--yellow);
    border-radius:10px;
    margin-bottom:8px;
}
.section-intro h1,.sections h2,.quick-wrap h2 {
    margin:0;
    font-weight:900;
    line-height:.96;
}
.section-intro h1 {
    font-size:35px;
}
.section-intro h1 em,.sections h2 em {
    font-style:normal;
    color:var(--cyan);
}
.section-intro p {
    font-size:17px;
    line-height:1.35;
    margin:12px 0 0;
    color:#405578;
}
.primary-actions {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}
.action {
    min-height:128px;
    border-radius:22px;
    padding:22px;
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    gap:16px;
    color:#fff;
    box-shadow:var(--shadow);
    transition:transform .22s ease,box-shadow .22s ease,filter .22s ease;
}
.action:hover {
    transform:translateY(-4px);
    box-shadow:0 16px 30px rgba(7,29,64,.20);
    filter:brightness(1.04);
}
.action-cyan {
    background:linear-gradient(135deg,#16b4d1,#36c3df);
}
.action-navy {
    background:linear-gradient(135deg,#09264e,#061a37);
}
.action .icon {
    font-size:45px;
}
.action strong {
    display:block;
    font-size:22px;
    line-height:1.05;
}
.action small {
    display:block;
    margin-top:7px;
    font-size:13px;
}
.action b {
    font-size:42px;
    font-weight:400;
}
.quick-wrap {
    border-left:1px solid #b8c4d0;
    padding-left:22px;
}
.quick-wrap h2 {
    font-size:23px;
    margin-bottom:12px;
}
.quick-wrap h2 .accent,.sections h2 .accent {
    display:inline-block;
    width:45px;
    height:8px;
    margin:0 10px 2px 0;
}
.quick-actions {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
}
.quick-actions a {
    background:var(--soft);
    border-radius:18px;
    min-height:104px;
    padding:14px;
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    gap:9px;
    transition:.2s;
}
.quick-actions a:hover {
    transform:translateY(-3px);
    box-shadow:var(--shadow);
}
.quick-icon {
    font-size:30px;
    color:#0a60ae;
}
.quick-actions strong {
    font-size:15px;
}
.quick-actions b {
    font-size:27px;
}
.info-cta {
    padding:6px 0 18px;
}
.info-button {
    background:var(--yellow);
    border-radius:25px;
    min-height:105px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:28px;
    padding:18px 40px;
    box-shadow:0 22px 45px rgba(7,29,64,.32),0 10px 22px rgba(7,29,64,.22),0 3px 8px rgba(7,29,64,.16);
    transition:transform .22s ease,box-shadow .22s ease;
}
.info-button:hover {
    transform:translateY(-7px) scale(1.006);
    box-shadow:0 30px 55px rgba(7,29,64,.38),0 14px 28px rgba(7,29,64,.24);
}
.info-button .plane {
    font-size:50px;
    transform:rotate(-35deg);
}
.info-button small {
    display:block;
    font-size:19px;
    font-weight:700;
}
.info-button strong {
    display:block;
    font-size:42px;
    line-height:1;
}
.info-button b {
    font-size:48px;
}
.sections {
    padding:0 0 26px;
}
.sections h2 {
    font-size:25px;
    margin:0 0 14px;
}
.section-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}
.section-card {
    position:relative;
    display:flex;
    flex-direction:column;
    aspect-ratio:4/6;
    min-height:370px;
    border-radius:24px;
    overflow:hidden;
    background:var(--cyan);
    box-shadow:var(--shadow);
    transition:transform .22s ease,box-shadow .22s ease;
}
.section-card:hover {
    transform:translateY(-5px);
    box-shadow:0 18px 34px rgba(7,29,64,.18);
}
.section-photo {
    display:block;
    flex:1;
    min-height:0;
    overflow:hidden;
    background:var(--cyan);
}
.section-photo img {
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center top;
    display:block;
    transition:transform .3s ease;
}
.section-card:hover .section-photo img {
    transform:scale(1.025);
}
.section-name {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    background:var(--yellow);
    color:var(--navy);
    font-size:clamp(17px,1.45vw,25px);
    font-weight:900;
    padding:15px 20px;
    line-height:1;
}
.section-name b {
    font-size:32px;
    font-weight:400;
    line-height:.7;
}
.floating-actions {
    position:fixed;
    right:22px;
    bottom:135px;
    z-index:20;
    display:grid;
    gap:10px;
}
.floating-actions a {
    width:84px;
    height:84px;
    border-radius:50%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:#fff;
    font-size:11px;
    font-weight:700;
    border:3px solid #fff;
    box-shadow:0 5px 16px rgba(0,0,0,.25);
}
.floating-actions span {
    font-size:25px;
}
.float-info {
    background:#04aee0;
}
.float-wa {
    background:#12be62;
}
.site-footer {
    background:linear-gradient(135deg,#061a37,#0a315e);
    color:#fff;
    padding:34px 0 0;
}
.footer-inner {
    width:min(1400px,92%);
    margin:auto;
    display:grid;
    grid-template-columns:180px 270px 180px 1fr;
    gap:32px;
    align-items:start;
}
.footer-brand {
    font-size:28px;
    line-height:.9;
    padding-top:8px;
}
.footer-contact h3 {
    margin:0 0 9px;
}
.footer-contact p {
    margin:6px 0;
    font-size:14px;
}
.footer-social {
    display:flex;
    gap:12px;
    padding-top:24px;
}
.footer-social a {
    width:38px;
    height:38px;
    border-radius:50%;
    background:#fff;
    color:var(--navy);
    display:grid;
    place-items:center;
    font-weight:900;
}
.footer-legal {
    font-size:12px;
    line-height:1.55;
    color:#d8e3ef;
}
.footer-legal p {
    margin:0;
}
.footer-legal a {
    text-decoration:underline;
    color:#fff;
}
.footer-bottom {
    text-align:center;
    border-top:1px solid rgba(255,255,255,.16);
    margin-top:25px;
    padding:15px;
    font-size:12px;
    color:#c9d7e6;
}
@media(max-width:1050px) {
    .process {
        grid-template-columns:1fr 2fr;
    }
    .quick-wrap {
        grid-column:1/-1;
        border-left:0;
        padding-left:0;
    }
    .section-grid {
        grid-template-columns:repeat(2,1fr);
    }
    .footer-inner {
        grid-template-columns:1fr 1fr;
    }
    .footer-legal {
        grid-column:1/-1;
    }
}
@media(max-width:700px) {
    .section-shell {
        width:90%;
    }
    .hero img {
        width:100%;
        max-height:none;
        height:auto;
        object-fit:contain;
        object-position:center;
    }
    .process {
        display:block;
        padding-top:24px;
    }
    .section-intro h1 {
        font-size:38px;
    }
    .section-intro p {
        font-size:16px;
    }
    .primary-actions {
        margin-top:22px;
        grid-template-columns:1fr 1fr;
    }
    .action {
        min-height:112px;
        padding:15px;
        gap:10px;
    }
    .action .icon {
        font-size:34px;
    }
    .action strong {
        font-size:18px;
    }
    .action small {
        font-size:11px;
    }
    .quick-wrap {
        margin-top:24px;
    }
    .quick-actions {
        grid-template-columns:repeat(3,1fr);
    }
    .quick-actions a {
        display:flex;
        flex-direction:column;
        text-align:center;
        justify-content:center;
        min-height:120px;
        padding:10px;
    }
    .quick-actions b {
        display:none;
    }
    .quick-actions strong {
        font-size:12px;
    }
    .info-button {
        padding:18px 16px;
        gap:12px;
    }
    .info-button .plane {
        font-size:38px;
    }
    .info-button small {
        font-size:14px;
    }
    .info-button strong {
        font-size:28px;
    }
    .info-button b {
        font-size:36px;
    }
    .sections h2 {
        font-size:22px;
    }
    .section-grid {
        grid-template-columns:repeat(2,1fr);
        gap:10px;
    }
    .section-card {
        aspect-ratio:4/6;
        min-height:0;
    }
    .section-name {
        font-size:15px;
        padding:12px 13px;
    }
    .section-name b {
        font-size:25px;
    }
    .floating-actions {
        right:10px;
        bottom:18px;
    }
    .floating-actions a {
        width:67px;
        height:67px;
        font-size:9px;
    }
    .floating-actions span {
        font-size:20px;
    }
    .footer-inner {
        display:block;
    }
    .footer-brand,.footer-contact,.footer-social,.footer-legal {
        margin-bottom:24px;
    }
    .footer-social {
        padding-top:0;
    }
    .footer-legal {
        padding-right:65px;
    }
}
@media(max-width:430px) {
    .primary-actions {
        grid-template-columns:1fr;
    }
    .quick-actions {
        gap:7px;
    }
    .quick-icon {
        font-size:25px;
    }
    .info-button strong {
        font-size:24px;
    }
    .section-grid {
        grid-template-columns:1fr 1fr;
    }
}
/* ===== Integración final: banner 100%, footer logo y modal ===== */
.hero {
    width: 100%;
    background: #071c3b;
    overflow: hidden;
}
.hero img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: cover;
    object-position: center center;
}
.footer-brand img {
    display: block;
    width: min(280px, 100%);
    height: auto;
    object-fit: contain;
}
.admission-modal {
    position:fixed;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:30px;
    background:rgba(0,20,45,.78);
    opacity:0;
    visibility:hidden;
    transition:opacity .25s ease,visibility .25s ease;
    z-index:9999;
}
.admission-modal.is-open {
    opacity:1;
    visibility:visible;
}
.admission-modal-dialog {
    width:80vw;
    height:80vh;
    max-width:1500px;
    display:flex;
    flex-direction:column;
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 25px 70px rgba(0,0,0,.35);
    transform:translateY(20px) scale(.98);
    transition:transform .25s ease;
}
.admission-modal.is-open .admission-modal-dialog {
    transform:translateY(0) scale(1);
}
.admission-modal-header {
    flex-shrink:0;
    min-height:72px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:15px 24px;
    background:#071c3b;
    color:#fff;
}
.admission-modal-header h2 {
    margin:0;
    font-size:1.45rem;
    font-weight:700;
    color:#fff;
}
.admission-modal-close {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:9px 15px;
    border:1px solid rgba(255,255,255,.45);
    border-radius:8px;
    background:transparent;
    color:#fff;
    font:inherit;
    font-size:.9rem;
    font-weight:600;
    cursor:pointer;
    transition:background .2s ease,color .2s ease,transform .2s ease;
}
.admission-modal-close:hover {
    background:#fff;
    color:#071c3b;
    transform:translateY(-1px);
}
.admission-modal-body {
    flex:1;
    min-height:0;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
    overflow:auto;
    background:#f4f6f8;
}
.admission-modal-body img {
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
}
body.modal-open {
    overflow:hidden;
}
@media(max-width:768px) {
    .admission-modal {
        padding:0;
    }
    .admission-modal-dialog {
        width:100vw;
        height:100dvh;
        max-width:none;
        border-radius:0;
    }
    .admission-modal-header {
        min-height:64px;
        padding:12px 16px;
    }
    .admission-modal-header h2 {
        font-size:1.05rem;
        line-height:1.2;
    }
    .admission-modal-close {
        padding:9px 11px;
    }
    .admission-modal-close span {
        display:none;
    }
    .admission-modal-body {
        padding:10px;
    }
    .footer-brand img {
        width:min(230px,75vw);
    }
}

/* ==========================================================
   AJUSTES FINALES HOME ADMISIONES
   ========================================================== */

/* CTA Queremos conocerte */
.info-cta {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3vh;
}

/* Espacio inferior del logotipo del footer */
.footer-brand {
    padding-top: 8px;
    padding-bottom: 8px;
}

/* Iconos de redes sociales con Bootstrap Icons */
.footer-social a i {
    font-size: 20px;
    line-height: 1;
}

/* Modal para formulario Superleads / CRM */
.crm-modal-body {
    display: block;
    padding: 0;
    background: #ffffff;
    overflow: auto;
}

.crm-embed-container {
    width: 100%;
    min-height: 100%;
    padding: 24px;
}

@media (max-width: 900px) {
    .info-cta {
        width: 90%;
        margin-bottom: 3vh;
    }

    .footer-brand {
        padding-bottom: 12px;
    }

    .crm-embed-container {
        padding: 12px;
    }
}
