.alohi-ep {
    --alohi-violet: #8663de;
    --alohi-violet-dark: #4b2a91;
    --alohi-yellow: #ffd166;
    --alohi-ink: #2b2b2b;
    --alohi-paper: #ffffff;
    --alohi-soft: #f5f2fb;
    box-sizing: border-box;
    color: var(--alohi-ink);
    font-family: "Inter", Poppins, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 54px auto 70px;
    max-width: 1180px;
    padding: 0 24px;
}

.alohi-ep *, .alohi-ep *::before, .alohi-ep *::after { box-sizing: border-box; }
.alohi-ep__intro { margin: 0 auto 36px; max-width: 760px; text-align: center; }
.alohi-ep__eyebrow { color: var(--alohi-violet-dark); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.alohi-ep h1, .alohi-ep h2, .alohi-ep h3 { color: var(--alohi-ink); font-family: "Playfair Display", Georgia, "Times New Roman", serif; line-height: 1.08; margin: 10px 0 14px; }
.alohi-ep h1 { font-size: clamp(34px, 4.5vw, 50px); letter-spacing: -.025em; }
.alohi-ep__intro h2 { font-size: clamp(32px, 5vw, 52px); }
.alohi-ep__intro p { font-size: 18px; line-height: 1.6; margin: 0; }
.alohi-ep__grid { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.alohi-ep__card { background: #fff; border: 1px solid #e9e3f4; border-radius: 24px; box-shadow: 0 16px 45px rgba(58,37,99,.08); display: flex; flex-direction: column; min-height: 430px; overflow: hidden; padding: clamp(28px, 4vw, 42px); position: relative; }
.alohi-ep__card::before { background: var(--alohi-violet); content: ""; height: 5px; left: 0; position: absolute; right: 0; top: 0; }
.alohi-ep__card--booking::before { background: var(--alohi-yellow); }
.alohi-ep__card::after { background: rgba(134,99,222,.06); border-radius: 50%; content: ""; height: 160px; position: absolute; right: -85px; top: -85px; width: 160px; }
.alohi-ep__card--primary { background: linear-gradient(145deg, var(--alohi-violet-dark), var(--alohi-violet)); color: #fff; }
.alohi-ep__card--online { background: var(--alohi-yellow); color: var(--alohi-ink); }
.alohi-ep__card h2, .alohi-ep__card h3 { color: var(--alohi-ink); font-size: clamp(27px, 3vw, 36px); max-width: 640px; }
.alohi-ep__card--primary h3 { color: #fff; }
.alohi-ep__card--primary .alohi-ep__tag { background: rgba(255,255,255,.18); color: #fff; }
.alohi-ep__card p { font-size: 17px; line-height: 1.65; margin: 0 0 24px; max-width: 620px; }
.alohi-ep__card .alohi-ep__lead { color: #55505d; font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
.alohi-ep__card small { display: block; font-size: 13px; line-height: 1.5; margin-top: 16px; }
.alohi-ep__tag { align-self: flex-start; background: var(--alohi-soft); border-radius: 999px; color: var(--alohi-violet-dark); font-size: 11px; font-weight: 800; letter-spacing: .12em; padding: 9px 13px; }
.alohi-ep__card--online .alohi-ep__tag { background: rgba(75,42,145,.10); color: var(--alohi-violet-dark); }
.alohi-ep__card--booking .alohi-ep__tag { background: #fff4d5; }
.alohi-ep__features { display: grid; gap: 11px; list-style: none !important; margin: 0 0 28px !important; padding: 0 !important; }
.alohi-ep__features li { color: #3d3943; font-size: 14px; line-height: 1.45; margin: 0 !important; padding: 0 0 0 27px; position: relative; }
.alohi-ep__features li::before { align-items: center; background: var(--alohi-soft); border-radius: 50%; color: var(--alohi-violet-dark); content: "✓"; display: flex; font-size: 11px; font-weight: 900; height: 18px; justify-content: center; left: 0; position: absolute; top: 1px; width: 18px; }
.alohi-ep__card--booking .alohi-ep__features li::before { background: #fff4d5; }
.alohi-ep__button { align-self: flex-start; border-radius: 12px; display: inline-flex; font-weight: 800; justify-content: center; margin-top: auto; padding: 14px 22px; text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease; }
.alohi-ep__button:hover, .alohi-ep__button:focus { box-shadow: 0 10px 28px rgba(27,18,48,.18); transform: translateY(-2px); }
.alohi-ep__button--light { background: #fff; color: var(--alohi-violet-dark) !important; }
.alohi-ep__button--dark { background: var(--alohi-violet-dark); color: #fff !important; }
.alohi-ep__button--primary { background: var(--alohi-violet-dark); color: #fff !important; }
.alohi-ep__button--outline { background: #fff; border: 2px solid var(--alohi-violet-dark); color: var(--alohi-violet-dark) !important; }
.alohi-ep__button span { margin-left: 9px; }
.alohi-ep__notice { background: var(--alohi-soft); border: 0; border-radius: 14px; color: #514b5b; font-size: 13px; margin: 24px auto 0; max-width: 840px; padding: 15px 20px; text-align: center; }

/* Mi portal: tratamiento editorial con fotografía. Estos estilos no afectan la portada. */
.alohi-ep--portal { margin-top: 12px; }
.alohi-ep--portal .alohi-ep__intro { margin-bottom: 32px; }
.alohi-ep--portal .alohi-ep__card {
    background-color: #f8f6f2;
    background-image: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.93) 43%, rgba(255,255,255,.24) 71%, rgba(255,255,255,.04) 100%), var(--alohi-card-image);
    background-position: center;
    background-size: cover;
    border-color: rgba(75,42,145,.12);
    box-shadow: 0 18px 48px rgba(42,29,72,.09);
    min-height: 465px;
    padding: 38px;
}
.alohi-ep--portal .alohi-ep__card::before { height: 4px; }
.alohi-ep--portal .alohi-ep__card::after { display: none; }
.alohi-ep--portal .alohi-ep__card-content { display: flex; flex: 1; flex-direction: column; max-width: 62%; position: relative; z-index: 1; }
.alohi-ep--portal .alohi-ep__card h2 { font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-size: clamp(31px, 3.2vw, 43px); font-weight: 600; letter-spacing: -.025em; line-height: 1.02; margin-top: 20px; }
.alohi-ep--portal .alohi-ep__lead { color: #4d4854; margin-bottom: 24px; }
.alohi-ep--portal .alohi-ep__button { margin-top: 0; white-space: nowrap; }
.alohi-ep__button--yellow { background: var(--alohi-yellow); color: #241a35 !important; }
.alohi-ep__quick-links { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; list-style: none !important; margin: auto 0 0 !important; padding: 0 !important; position: relative; z-index: 1; }
.alohi-ep__quick-links li { backdrop-filter: blur(7px); background: rgba(255,255,255,.88); border: 1px solid rgba(75,42,145,.11); border-radius: 999px; color: #40384d; font-size: 12px; font-weight: 700; margin: 0 !important; padding: 8px 12px; }

/* El tema agregaba una cabecera vacía muy alta en la página Mi portal. */
body.alohi-portal-page .page-header,
body.alohi-portal-page .entry-header,
body.alohi-portal-page .woocommerce-products-header,
body.alohi-portal-page .page-title-wrap,
body.alohi-portal-page .page-title-area {
    display: none !important;
}
body.alohi-portal-page .site-content,
body.alohi-portal-page .content-area,
body.alohi-portal-page .site-main,
body.alohi-portal-page .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

@media (max-width: 760px) {
    .alohi-ep { margin: 42px auto; padding: 0 16px; }
    .alohi-ep__grid { grid-template-columns: 1fr; }
    .alohi-ep__card { border-radius: 22px; min-height: 330px; padding: 30px 24px; }
    .alohi-ep__intro p { font-size: 16px; }
    .alohi-ep__button { width: 100%; }
    .alohi-ep--portal .alohi-ep__card { background-image: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.91) 50%, rgba(255,255,255,.18) 100%), var(--alohi-card-image); background-position: 64% center; min-height: 460px; padding: 28px 22px; }
    .alohi-ep--portal .alohi-ep__card-content { max-width: 100%; }
    .alohi-ep--portal .alohi-ep__card h2 { font-size: 32px; }
    .alohi-ep--portal .alohi-ep__quick-links { margin-top: 115px !important; }
}

/* Portada editorial: se limita al bloque inicial y no altera el resto del sitio. */
.alohi-ep--home {
    align-items: center;
    display: grid;
    gap: clamp(34px, 5vw, 76px);
    grid-template-columns: minmax(310px, .82fr) minmax(520px, 1.18fr);
    margin-bottom: 56px;
    margin-top: 0;
    max-width: 1440px;
    min-height: min(720px, calc(100vh - 115px));
    padding-bottom: 46px;
    padding-top: 46px;
}
.alohi-home__copy { max-width: 545px; }
.alohi-ep--home h1 {
    color: #14112d;
    font-family: "Inter", Poppins, system-ui, sans-serif;
    font-size: clamp(48px, 5.2vw, 78px);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.02;
    margin: 18px 0 24px;
}
.alohi-ep--home h1 span {
    color: #6b4cc1;
    display: inline-block;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 600;
    letter-spacing: -.035em;
    position: relative;
    z-index: 0;
}
.alohi-ep--home h1 span::after {
    background: #ffd166;
    border-radius: 999px;
    bottom: .03em;
    content: "";
    height: .09em;
    left: .04em;
    opacity: .9;
    position: absolute;
    right: -.03em;
    transform: rotate(-1.5deg);
    z-index: -1;
}
.alohi-home__copy > p { color: #514d62; font-size: 17px; line-height: 1.72; margin: 0 0 30px; }
.alohi-home__actions { align-items: center; display: flex; flex-wrap: wrap; gap: 20px; }
.alohi-home__actions .alohi-ep__button { margin: 0; }
.alohi-home__text-link { color: #332653 !important; font-size: 14px; font-weight: 800; text-decoration: none !important; }
.alohi-home__text-link:hover { text-decoration: underline !important; }
.alohi-home__mosaic { display: grid; gap: 14px; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr 1fr; height: 610px; position: relative; }
.alohi-home__edit-photos {
    background: #fff;
    border: 1px solid #d9d0eb;
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(35,25,60,.14);
    color: #4b2a91 !important;
    font-size: 12px;
    font-weight: 800;
    padding: 9px 14px;
    position: absolute;
    right: 12px;
    text-decoration: none !important;
    top: 12px;
    z-index: 8;
}
.alohi-home__tile {
    align-items: flex-start;
    background-color: #4b2a91;
    background-image: linear-gradient(180deg, rgba(12,8,28,.02) 35%, rgba(12,8,28,.82) 100%), var(--alohi-home-image, none);
    background-position: center;
    background-size: cover;
    border-radius: 19px;
    box-shadow: 0 14px 38px rgba(36,28,55,.12);
    color: #fff !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 0;
    overflow: hidden;
    padding: 23px;
    position: relative;
    text-decoration: none !important;
    transition: transform .25s ease, box-shadow .25s ease;
}
.alohi-home__tile::after { border: 1px solid rgba(255,255,255,.32); border-radius: inherit; content: ""; inset: 0; pointer-events: none; position: absolute; }
.alohi-home__tile:hover { box-shadow: 0 19px 44px rgba(36,28,55,.2); transform: translateY(-3px); }
.alohi-home__tile span { backdrop-filter: blur(8px); background: rgba(27,18,48,.48); border: 1px solid rgba(255,255,255,.54); border-radius: 999px; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .11em; line-height: 1.3; max-width: calc(100% - 30px); padding: 7px 11px; position: absolute; right: 16px; text-align: center; text-transform: uppercase; top: 16px; white-space: nowrap; }
.alohi-home__tile strong { color: #fff; font-family: "Inter", Poppins, sans-serif; font-size: clamp(21px, 2vw, 31px); font-weight: 800; letter-spacing: -.025em; line-height: 1.04; margin-top: 10px; text-shadow: 0 2px 14px rgba(0,0,0,.28); }
.alohi-home__tile--educa strong,
.alohi-home__tile--aventura strong,
.alohi-home__tile--giras strong,
.alohi-home__tile--medida strong { color: #fff; }
.alohi-home__tile--educa { grid-row: 1 / span 2; }
.alohi-home__tile--giras { grid-column: 1; grid-row: 3; }
.alohi-home__tile--medida { background-color: #c78e25; grid-column: 2; grid-row: 2 / span 2; }
.alohi-home__support {
    background: #fff;
    border-bottom: 1px solid #eeeaf5;
    border-top: 1px solid #eeeaf5;
    display: grid;
    gap: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 auto 64px;
    max-width: 1080px;
    padding: 0;
    width: calc(100% - 48px);
}
.alohi-home__support a {
    align-items: center;
    color: #211934 !important;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 25px 25px;
    position: relative;
    text-align: center;
    text-decoration: none !important;
}
.alohi-home__support a + a { border-left: 1px solid #eeeaf5; }
.alohi-home__support strong { font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-size: 21px; font-weight: 500; }
.alohi-home__support span { color: #625c6c; font-size: 12px; line-height: 1.45; }
.alohi-home__support b { color: #6b4cc1; font-size: 18px; font-weight: 500; line-height: 1; margin-top: 4px; transition: transform .2s ease; }
.alohi-home__support a:hover b { transform: translateX(4px); }

.alohi-classic-cards {
    background: #faf8fc;
    border: 1px solid #e9e3f2;
    border-radius: 24px;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 auto 66px;
    max-width: 1040px;
    padding: 16px;
    position: relative;
    width: calc(100% - 64px);
    z-index: 20;
}
.alohi-classic-card {
    background-color: #4b2a91;
    background-image: linear-gradient(180deg, rgba(16,10,31,.03) 20%, rgba(16,10,31,.82) 100%), var(--alohi-home-image, none);
    background-position: center;
    background-size: cover;
    border-radius: 17px;
    border: 2px solid #fff;
    box-shadow: 0 12px 30px rgba(32,22,55,.11);
    color: #fff !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 190px;
    overflow: hidden;
    padding: 22px;
    pointer-events: auto;
    position: relative;
    text-decoration: none !important;
    text-align: center;
    transition: transform .22s ease, box-shadow .22s ease;
    z-index: 2;
}
.alohi-classic-card:nth-child(2) { background-color: #7661a9; }
.alohi-classic-card:nth-child(3) { background-color: #b7892e; }
.alohi-classic-card:hover { box-shadow: 0 17px 38px rgba(32,22,55,.19); transform: translateY(-3px); }
.alohi-classic-card span { color: rgba(255,255,255,.82); font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.alohi-classic-card strong { color: #fff; font-family: "Inter", Poppins, sans-serif; font-size: 25px; font-weight: 800; letter-spacing: -.025em; line-height: 1.06; margin-top: 7px; text-shadow: 0 2px 12px rgba(0,0,0,.32); }

.alohi-home-why {
    background: #f7f4fb;
    border: 1px solid #ece6f5;
    border-radius: 26px;
    display: grid;
    grid-template-columns: 38% 62%;
    margin: 4px auto 58px;
    max-width: 980px;
    min-height: 210px;
    overflow: hidden;
    width: calc(100% - 48px);
}
.alohi-home-why__photo {
    background-color: #d9d0eb;
    background-image: linear-gradient(180deg, rgba(26,18,48,.02), rgba(26,18,48,.2)), var(--alohi-home-image, none);
    background-position: center;
    background-size: cover;
    min-height: 100%;
}
.alohi-home-why__content { align-items: center; align-self: center; display: grid; gap: 7px 28px; grid-template-columns: 1fr auto; padding: 34px 42px; }
.alohi-home-why__content .alohi-ep__eyebrow { grid-column: 1; }
.alohi-home-why h2 {
    color: #18122e;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 3.4vw, 46px);
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1.02;
    grid-column: 1;
    margin: 4px 0 0;
}
.alohi-home-why__content > p { color: #514b5d; font-size: 16px; line-height: 1.65; margin: 0 0 27px; max-width: 590px; }
.alohi-home-why ul { display: grid; gap: 0; list-style: none !important; margin: 0 0 30px !important; padding: 0 !important; }
.alohi-home-why li { border-top: 1px solid #ded6ea; display: grid; gap: 8px; grid-template-columns: minmax(175px,.8fr) 1.2fr; margin: 0 !important; padding: 13px 0; }
.alohi-home-why li strong { color: #272039; font-size: 13px; }
.alohi-home-why li span { color: #696273; font-size: 12px; line-height: 1.45; }
.alohi-home-why__actions { align-items: center; display: flex; grid-column: 2; grid-row: 1 / span 2; }
.alohi-home-why__actions .alohi-ep__button { margin: 0; }
.alohi-home-why__actions > a:not(.alohi-ep__button) { color: #4b2a91 !important; font-size: 13px; font-weight: 750; text-decoration: none !important; }
.alohi-home-why__actions > a:not(.alohi-ep__button):hover { text-decoration: underline !important; }

@media (max-width: 1020px) {
    .alohi-ep--home { grid-template-columns: 1fr; min-height: 0; }
    .alohi-home__copy { max-width: 760px; text-align: center; justify-self: center; }
    .alohi-home__actions { justify-content: center; }
    .alohi-home__mosaic { height: 680px; width: 100%; }
    .alohi-home-why { grid-template-columns: 1fr; }
    .alohi-home-why__photo { min-height: 260px; }
    .alohi-home-why__content { grid-template-columns: 1fr auto; }
}
@media (max-width: 640px) {
    .alohi-ep--home { gap: 30px; margin-top: 0; padding: 32px 16px 20px; }
    .alohi-ep--home h1 { font-size: clamp(42px, 13vw, 58px); }
    .alohi-home__copy > p { font-size: 15px; }
    .alohi-home__actions { align-items: stretch; flex-direction: column; }
    .alohi-home__mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 260px 190px 190px; height: auto; }
    .alohi-home__tile { padding: 18px; }
    .alohi-home__tile--educa { grid-column: 1 / -1; grid-row: 1; }
    .alohi-home__tile--aventura { grid-column: 1; grid-row: 2; }
    .alohi-home__tile--giras { grid-column: 2; grid-row: 2; }
    .alohi-home__tile--medida { grid-column: 1 / -1; grid-row: 3; }
    .alohi-home__tile strong { font-size: 20px; }
    .alohi-home__support { grid-template-columns: 1fr; margin: 8px 16px 45px; padding: 0; }
    .alohi-home__support a { padding: 20px 18px; }
    .alohi-home__support a + a { border-left: 0; border-top: 1px solid #eeeaf5; }
    .alohi-home-why { border-radius: 20px; margin: 10px 16px 48px; width: auto; }
    .alohi-home-why__photo { min-height: 180px; }
    .alohi-home-why__content { display: block; padding: 27px 22px 30px; text-align: center; }
    .alohi-home-why h2 { font-size: 36px; margin: 8px 0 20px; }
    .alohi-home-why li { grid-template-columns: 1fr; }
    .alohi-home-why__actions { align-items: stretch; flex-direction: column; }
    .alohi-home-why__actions > a:not(.alohi-ep__button) { text-align: center; }
    .alohi-classic-cards { grid-template-columns: 1fr; margin: 4px 16px 48px; padding: 10px; width: auto; }
    .alohi-classic-card { min-height: 175px; }
}
