:root {
    --brand-green: #0F5B3A;
    --brand-green-deep: #0F4D37;
    --brand-gold: #D4AF37;
    --brand-gold-strong: #B58A2B;
    --brand-cream: #FFF2E1;
    --brand-cream-soft: #FFF8ED;
    --brand-white: #ffffff;
    --brand-text: #17352b;
    --brand-shadow-soft: 0 14px 28px rgba(15, 77, 55, 0.10);
    --brand-shadow-strong: 0 22px 46px rgba(15, 77, 55, 0.18);
}

.bg-cream {
    background-color: var(--brand-cream);
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(212, 175, 55, 0.09), transparent 32%),
        radial-gradient(circle at bottom right, rgba(15, 91, 58, 0.06), transparent 28%),
        linear-gradient(180deg, #fffaf3 0%, #fffaf3 100%);
    color: var(--brand-text);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0));
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 50;
    display: flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    border: 2px solid #D4AF37;
    border-radius: 50%;
    background: #FFF2E1;
    box-shadow: 0 20px 35px rgba(0, 0, 0, .18);
    transition: transform .22s ease, box-shadow .22s ease;
}

.whatsapp-float img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.whatsapp-float::before {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    width: max-content;
    max-width: 220px;
    padding: 7px 10px;
    border: 1px solid rgba(212, 175, 55, .7);
    border-radius: 6px;
    background: #0F4D37;
    color: #FFF8ED;
    content: attr(data-tooltip);
    font-size: .68rem;
    font-weight: 500;
    line-height: 1.35;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) translateX(4px);
    transition: opacity .2s ease, transform .2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(15, 77, 55, .24);
}

.whatsapp-float:hover::before,
.whatsapp-float:focus-visible::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.whatsapp-float:focus-visible {
    outline: 2px solid #D4AF37;
    outline-offset: 3px;
}

.hero-student-column { margin-top: 0; }
.resource-student-image { width: min(512px, 100%); height: auto; }
.true-false-image { width: 100%; height: auto; }

@media (min-width: 768px) {
    .true-false-image { width: 70%; }
}

@media (min-width: 1024px) {
    .hero-copy { padding-top: 48px; }
}

@media (min-width: 1024px) {
    .hero-student-column { margin-top: 3rem; }
}

a[href] {
    cursor: pointer;
}

a[href],
button,
input[type="submit"] {
    cursor: pointer;
}

.bg-yellow-500 {
    background-color: #F48C06;
}
.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.hero-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 58px;
    width: 270px;
    overflow: hidden;
    padding: 15px 22px;
    border: 2px solid transparent;
    border-radius: 9999px;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: box-shadow 180ms ease;
}
.hero-cta:hover {
    box-shadow: 0 10px 22px rgba(15, 91, 58, .2);
}
.hero-cta:focus-visible {
    outline: 3px solid #D4AF37;
    outline-offset: 4px;
}
.hero-cta-primary {
    background: #F48C06;
    color: #fff;
}
.hero-cta-primary:hover {
    border-color: #F48C06;
    background: #fff !important;
    color: #F48C06 !important;
}
.hero-cta-secondary {
    border-color: #0F5B3A;
    background: rgba(255, 255, 255, .34);
    color: #0F5B3A;
}
.hero-cta-secondary:hover {
    background: #0F5B3A;
    color: #fff;
}
.hero-cta-ripple {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%) scale(0);
    animation: hero-cta-ripple 550ms ease-out forwards;
}
.hero-cta > span:not(.hero-cta-ripple) {
    position: relative;
    z-index: 1;
    pointer-events: none;
    cursor: pointer;
}
.why-exylvyia {
    position: relative;
    padding: 42px 28px 46px;
    border-top: 1px solid rgba(15, 91, 58, .16);
    border-bottom: 1px solid rgba(15, 91, 58, .16);
    background: #fff8ed;
}
.why-exylvyia-heading { position: relative; }
.why-eyebrow {
    margin-bottom: 10px;
    color: #B58A2B;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.why-exylvyia-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}
.why-card {
    position: relative;
    display: flex;
    min-height: 214px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border: 1px solid rgba(212, 175, 55, .28);
    border-top: 4px solid var(--brand-gold);
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,247,233,0.96));
    box-shadow: var(--brand-shadow-soft);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.why-card:hover,
.why-card:focus-within {
    transform: translateY(-6px);
    box-shadow: var(--brand-shadow-strong);
    border-color: rgba(15, 91, 58, .28);
}
.why-card-featured {
    border-top-color: var(--brand-green);
    box-shadow: 0 18px 34px rgba(15, 77, 55, .15);
}
.why-card-index {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
    border: 1px solid #D4AF37;
    border-radius: 50%;
    color: #0F5B3A;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
}
.why-card h3 { max-width: 220px; }
.why-card p { max-width: 250px; }
.knowledge-hubs-grid { align-items: stretch; }
.knowledge-hubs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.knowledge-hub {
    position: relative;
    display: flex;
    min-height: 300px;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    padding: 34px;
    border: 1px solid rgba(212, 175, 55, .24);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,248,237,0.95));
    box-shadow: var(--brand-shadow-soft);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.knowledge-hub:hover,
.knowledge-hub:focus-within {
    transform: translateY(-5px);
    box-shadow: var(--brand-shadow-strong);
    border-color: rgba(15, 91, 58, .28);
}
.knowledge-hub::after {
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 170px;
    height: 170px;
    border: 1px solid rgba(212, 175, 55, .3);
    border-radius: 50%;
    content: '';
}
.knowledge-hub-science { border-top: 4px solid #D4AF37; }
.knowledge-hub-tech { border-top: 4px solid #0F5B3A; }
.knowledge-hub-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.knowledge-hub-icon {
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: #FFF2E1;
    color: #0F5B3A;
    font-size: 1.8rem;
}
.knowledge-hub-tech .knowledge-hub-icon { background: #e8f1ed; }
.knowledge-hub-label {
    color: #B58A2B;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.knowledge-hub h3 {
    position: relative;
    z-index: 1;
    margin-top: 30px;
    color: #0F5B3A;
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.25;
}
.knowledge-hub p {
    position: relative;
    z-index: 1;
    max-width: 34rem;
    margin-top: 12px;
    color: #66736d;
    line-height: 1.75;
}
.knowledge-hub-tags {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 26px;
}
.knowledge-hub-tags span {
    padding: 7px 12px;
    border: 1px solid #D4AF37;
    border-radius: 9999px;
    background: #FFF8ED;
    color: #0F5B3A;
    font-size: .78rem;
    font-weight: 600;
}
@keyframes hero-cta-ripple {
    to { opacity: 0; transform: translate(-50%, -50%) scale(28); }
}
@media (max-width: 640px) {
    .hero-cta-group { gap: 10px; }
    .hero-cta { width: 100%; height: 54px; white-space: normal; }
    .why-exylvyia { padding: 34px 16px 38px; }
    .why-exylvyia-grid { grid-template-columns: 1fr; }
    .why-card { min-height: 245px; }
    .knowledge-hubs-grid { grid-template-columns: 1fr; }
    .knowledge-hub { min-height: 0; padding: 26px 22px; }
    .knowledge-hub-label { font-size: .62rem; }
    .knowledge-hub h3 { margin-top: 24px; font-size: 1.35rem; }
}
@media (min-width: 641px) and (max-width: 1023px) {
    .why-exylvyia-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.text-yellow-500 {
    color: #D4AF37;
}
.floating { 
    animation-name: floating; 
    animation-duration: 3s; 
    animation-iteration-count: infinite; 
    animation-timing-function: ease-in-out;
} 
@keyframes floating { 
    0% { transform: translate(0, 0px); } 
    50% { transform: translate(0, 8px); } 
    100% { transform: translate(0, -0px); }  
} 
.floating-4 { 
    animation-name: floating; 
    animation-duration: 4s; 
    animation-iteration-count: infinite; 
    animation-timing-function: ease-in-out;
} 
@keyframes floating-4 { 
    0% { transform: translate(0, 0px); } 
    50% { transform: translate(0, 8px); } 
    100% { transform: translate(0, -0px); }  
}
.text-darken {
    color: #0F5B3A !important;
}

.container .text-darken,
.container .text-darken * {
    color: #0F5B3A !important;
}

.footer-links-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    overflow: visible;
    color: #D4AF37;
    font-size: clamp(0.7rem, 2.15vw, 0.875rem);
}

.footer-links-inline a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    white-space: nowrap;
}

.footer-links-inline > a:not(:last-child)::after {
    content: "|";
    display: inline-block;
    margin: 0 clamp(0.18rem, 1vw, 0.55rem);
    color: #0F5B3A;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 20px 0 14px;
    padding: 14px 16px;
    border-top: 1px solid rgba(15, 91, 58, .25);
    border-bottom: 1px solid rgba(15, 91, 58, .25);
}

.social-heading { margin-right: 8px; color: #0F5B3A; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.social-link {
    --social-color: #FFF8ED;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--social-color);
    border-radius: 50%;
    text-decoration: none;
    transition: transform .22s ease, background-color .22s ease, box-shadow .22s ease, color .22s ease;
    box-shadow: 0 6px 16px rgba(15, 77, 55, 0.10);
}

.social-link:hover,
.social-link:focus-visible {
    transform: translateY(-5px) scale(1.12);
    background: var(--social-color);
    color: #0F4D37;
    box-shadow: 0 0 0 5px rgba(255, 248, 237, .12), 0 10px 24px var(--social-color);
    outline: none;
}

.social-link:hover img,
.social-link:focus-visible img { filter: brightness(0) invert(1); }

.social-link.youtube { --social-color: #FF0033; }
.social-link.instagram { --social-color: #E4405F; }
.social-link.facebook { --social-color: #1877F2; }
.social-link.x-social { --social-color: #111111; }
.social-link.blog { --social-color: #FF5722; }
.social-link.threads { --social-color: #8A8A8A; }
.social-link img { width: 20px; height: 20px; object-fit: contain; pointer-events: none; }

.header-social-links {
    position: fixed;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    width: 100%;
    padding: 8px max(32px, calc((100% - 1280px) / 2 + 32px));
    border-bottom: 1px solid rgba(15, 91, 58, .12);
    background: rgba(255, 248, 237, .72);
    box-shadow: 0 4px 18px rgba(15, 77, 55, 0);
    backdrop-filter: blur(14px);
    animation: header-strip-enter .65s cubic-bezier(.2, .8, .2, 1) both;
    transition: background-color .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.social-header-root {
    padding-top: 46px;
}

.header-social-links.is-scrolled {
    border-bottom-color: rgba(212, 175, 55, .35);
    background: rgba(255, 248, 237, .94);
    box-shadow: 0 8px 24px rgba(15, 77, 55, .14);
}

@keyframes header-strip-enter {
    from { opacity: 0; transform: translateY(-100%); }
    to { opacity: 1; transform: translateY(0); }
}

.header-logo {
    position: relative;
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    border-radius: 50%;
    outline: none;
}

.header-branding {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.header-message {
    color: #0F4D37;
    font-size: .72rem;
    font-weight: 500;
    line-height: 1.25;
}

.header-message strong {
    color: #A67811;
    font-weight: 700;
}

.header-logo img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    pointer-events: none;
}

.header-logo[data-tooltip]::before {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 10;
    width: max-content;
    max-width: 260px;
    padding: 7px 10px;
    border: 1px solid rgba(212, 175, 55, .7);
    border-radius: 6px;
    background: #0F4D37;
    color: #FFF8ED;
    content: attr(data-tooltip);
    font-size: .68rem;
    font-weight: 500;
    line-height: 1.35;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity .2s ease, transform .2s ease;
}

.header-logo[data-tooltip]:hover::before,
.header-logo[data-tooltip]:focus-visible::before {
    opacity: 1;
    transform: translateY(0);
}

.header-logo:focus-visible {
    outline: 2px solid #D4AF37;
    outline-offset: 2px;
}

.header-social-controls {
    display: flex;
    align-items: center;
    gap: 7px;
}

.social-header-root nav > a {
    position: relative;
    transition: color .22s ease, transform .22s ease, background-color .22s ease;
}

.social-header-root nav > a[data-tooltip]::before {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    z-index: 10;
    width: max-content;
    max-width: 260px;
    padding: 7px 10px;
    border: 1px solid rgba(212, 175, 55, .7);
    border-radius: 6px;
    background: #0F4D37;
    color: #FFF8ED;
    content: attr(data-tooltip);
    font-size: .68rem;
    font-weight: 500;
    line-height: 1.35;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -4px);
    transition: opacity .2s ease, transform .2s ease;
}

.social-header-root nav > a[data-tooltip]:hover::before,
.social-header-root nav > a[data-tooltip]:focus-visible::before {
    opacity: 1;
    transform: translate(-50%, 0);
}

.social-header-root nav > a::after {
    position: absolute;
    right: 1rem;
    bottom: .3rem;
    left: 1rem;
    height: 2px;
    background: #D4AF37;
    content: '';
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .22s ease;
}

.social-header-root nav > a:hover,
.social-header-root nav > a:focus-visible {
    color: #0F5B3A !important;
    background: rgba(212, 175, 55, .12);
    transform: translateY(-2px);
}

.social-header-root nav > a:hover::after,
.social-header-root nav > a:focus-visible::after { transform: scaleX(1); }

.social-header-root nav > a:focus-visible {
    outline: 2px solid #D4AF37;
    outline-offset: 2px;
}

.social-header-container nav a:focus {
    outline: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.social-header-container nav a:focus-visible {
    outline: 2px solid #D4AF37 !important;
    outline-offset: 3px;
    box-shadow: none !important;
}

.social-header-container nav a:active {
    outline: 0 !important;
    box-shadow: none !important;
}

.header-social-links .social-link {
    width: 30px;
    height: 30px;
    border-color: var(--social-color);
}

.header-social-links .social-link img { width: 15px; height: 15px; }

@media (max-width: 480px) {
    .footer-links-inline {
        row-gap: 0.35rem;
    }

    .header-social-links {
        gap: 8px;
        padding: 8px 16px;
    }

    .header-social-links .social-heading {
        margin-right: 4px;
        font-size: .68rem;
    }

    .header-message {
        max-width: 145px;
        font-size: .58rem;
    }

    .header-social-links .social-heading { display: none; }

    .header-social-links .social-link {
        width: 28px;
        height: 28px;
    }

    .header-social-links .social-link img {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 767px) {
    nav.mobile-nav-open {
        height: auto !important;
        transform: scaleY(1) !important;
    }
}

.cookie-notice {
    position: fixed;
    right: 16px;
    bottom: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: min(460px, calc(100% - 32px));
    padding: 14px 16px;
    border: 1px solid #D4AF37;
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
    background: #0F4D37;
    color: #FFF8ED;
    box-shadow: 0 12px 30px rgba(15, 77, 55, .2);
    font-size: .78rem;
    line-height: 1.45;
}

.cookie-notice p { margin: 0; }
.cookie-notice a { color: #FFF8ED; font-weight: 700; text-decoration: underline; }
.cookie-notice-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.cookie-notice button { padding: 7px 10px; border: 1px solid #FFF8ED; border-radius: 4px; background: transparent; color: #FFF8ED; cursor: pointer; font-weight: 700; white-space: nowrap; }
.cookie-notice button[data-consent="accepted"] { background: #FFF8ED; color: #0F4D37; }

@media (max-width: 480px) {
    .cookie-notice { right: 0; max-width: 100%; border-right: 0; border-left: 0; border-radius: 6px 6px 0 0; flex-wrap: wrap; }
    .cookie-notice-actions { width: 100%; }
    .cookie-notice button { flex: 1; }
}