:root {
    --color-beige: #F8F8EE;
    --color-primary-bg: #35342E;
    --color-accent-green: #6B8F63;
    --color-white: #FFFFFF;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: #F8F8EE;
}

p {
    opacity: 0.7;
}

/* ── Scroll reveal utility ──
   The JS only ever toggles the .visible class on scroll; without this
   rule the .reveal elements would never animate in. */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─────────────────────────────
   SHARED UTILITIES
───────────────────────────── */

.eyebrow {
    color: #0b0b0b;
    font-size: 15px;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-align: left;
    font-family: var(--font-body);
}

.section-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 64px 0;
}

.section-header--centered .eyebrow,
.section-header--centered .section-header__title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 16px;
}

.section-header__title {
    font-size: 48px;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
}

.button--outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #F8F8EE;
    color: #171717;
    padding: 14px 16px;
    border-radius: 12px;
    font-family: var(--font-body-1-family), sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.button--outline:hover {
    transform: translateY(-2px);
}

/* ─────────────────────────────
   CORNER DECORATIONS
   (used by the hero card and the closing CTA card)
───────────────────────────── */

.corner-decoration {
    position: absolute;
    width: 54px;
    height: auto;
    z-index: 5;
    pointer-events: none;
}

.corner-decoration--top-left {
    top: -80px;
    left: -80px;
}

.corner-decoration--top-right {
    top: -80px;
    right: -80px;
}

.corner-decoration--bottom-left {
    bottom: -80px;
    left: -80px;
}

.corner-decoration--bottom-right {
    bottom: -80px;
    right: -80px;
}

@media (max-width: 767px) {
    .corner-decoration {
        width: 44px;
    }

    .corner-decoration--top-left {
        top: -30px;
        left: -30px;
    }

    .corner-decoration--top-right {
        top: -30px;
        right: -30px;
    }

    .corner-decoration--bottom-left {
        bottom: -30px;
        left: -30px;
    }

    .corner-decoration--bottom-right {
        bottom: -30px;
        right: -30px;
    }
}

@media (max-width: 768px) {
    .hero .corner-decoration {
        display: none;
    }
}

/* ─────────────────────────────
   ACTION BUTTONS (shared component)
   Used by both the hero and the closing CTA. Default theme is white/dark;
   the hero overrides the accent color and adds a caption label below.
───────────────────────────── */

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
    font-family: var(--font-body-1-family), sans-serif;
    animation: fadeUp .8s .5s ease both;
}

.action-button {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* top corner brackets */
.action-button::before,
.action-button::after {
    content: '';
    position: absolute;
    top: -8px;
    width: 14px;
    height: 14px;
    z-index: 2;
    pointer-events: none;
}

.action-button::before {
    left: -8px;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    border-radius: 3px 0 0 0;
}

.action-button::after {
    right: -8px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    border-radius: 0 3px 0 0;
}

.action-button__link {
    text-decoration: none;
    display: flex;
}

.action-button__card {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 13px 20px 12px;
    border-radius: 9px;
    border: 1px solid #fff;
    text-align: left;
    transition: .2s ease;
}

/* bottom corner brackets */
.action-button__card::before,
.action-button__card::after {
    content: '';
    position: absolute;
    bottom: -8px;
    width: 14px;
    height: 14px;
    pointer-events: none;
}

.action-button__card::before {
    left: -8px;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    border-radius: 0 0 0 3px;
}

.action-button__card::after {
    right: -8px;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    border-radius: 0 0 3px 0;
}

.action-button__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, .25);
    border-color: #3a3a3a;
}

.action-button__title {
    font-family: var(--font-body-1-family), sans-serif;
    font-size: .95rem;
    font-weight: 700;
    color: #fff;
    transition: .2s ease;
}

.action-button__label {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    color: #fff;
    text-align: center;
    letter-spacing: .02em;
}

/* variants */
.action-button__card--primary {
    background: #fff;
}

.action-button__card--primary .action-button__title {
    color: #000;
}

.action-button__card--secondary {
    background: transparent;
}

@media (max-width: 767px) {
    .action-buttons {
        gap: 30px;
    }

    .action-button__card {
        width: 75%;
        max-width: 320px;
    }
}

@media (max-width: 580px) {
    .action-buttons {
        gap: 48px;
    }

    .action-button__card {
        padding: 13px 15px 12px;
    }
}

/* ─────────────────────────────
   HERO
───────────────────────────── */

.hero {
    background-color: #F8F8EE;
    position: relative;
    overflow: hidden;
    align-items: stretch;
    font-family: var(--font-display-family), system-ui, sans-serif;
    margin: 15px auto 0;
    padding: 90px 64px;
}

.hero__inner {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0;
    gap: 40px;
    max-height: 840px;
}

@media (min-width: 1540px) {
    .hero__inner {
        padding: 90px 0;
    }
}

.hero__content {
    flex: 0 0 45%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
}

@media (min-width: 1024px) {
    .hero__content {
        padding: 40px 5px 60px;
    }
}

.hero__title {
    font-size: clamp(46px, 4.5vw, 64px);
    text-align: center;
    font-weight: 800;
    line-height: 110%;
    color: #1A1A1A;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
    max-width: 650px;
    animation: fadeUp .8s .2s ease both;
}

.hero__title-light {
    font-weight: 400;
    color: #1A1A1A;
}

.hero__subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #5A5A5A;
    margin: 0 auto 36px;
    text-align: center;
    max-width: 680px;
    font-family: 'Inter', system-ui, sans-serif;
}

.hero__bg-shape--left-top {
    position: absolute;
    left: -140px;
    top: 160px;
}

.hero__bg-shape--left-bottom {
    position: absolute;
    left: -40px;
    top: 400px;
}

.hero__bg-shape--right-top {
    position: absolute;
    right: -140px;
    top: 160px;
}

.hero__bg-shape--right-bottom {
    position: absolute;
    right: -40px;
    top: 400px;
}

.hero__globe {
    position: absolute;
    bottom: 0;
    width: 300px;
    height: 250px;
}

.hero__globe--left {
    left: 170px;
}

.hero__globe--right {
    right: 170px;
}

/* hero-specific accent color for its action buttons (green instead of white) */
.hero .action-button__card--primary {
    background-color: #1C312E;
}

.hero .action-button__card--primary .action-button__title {
    color: #fff;
    font-weight: 500;
}

.hero .action-button__title {
    color: #1C312E;
    font-weight: 500;
}

.hero .action-button__card {
    border: 1px solid #1C312E33;
    padding: 10px 15px;
}

.hero .action-button::before {
    border-top: 1px solid #0C9B54;
    border-left: 1px solid #0C9B54;
    top: -10px;
    left: -10px;
}

.hero .action-button::after {
    border-top: 1px solid #0C9B54;
    border-right: 1px solid #0C9B54;
    top: -10px;
    right: -10px;
}

.hero .action-button__card::before {
    border-bottom: 1px solid #0C9B54;
    border-left: 1px solid #0C9B54;
    bottom: -10px;
    left: -10px;
}

.hero .action-button__card::after {
    border-bottom: 1px solid #0C9B54;
    border-right: 1px solid #0C9B54;
    bottom: -10px;
    right: -10px;
}

.hero .action-button__label {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    color: #1C312E;
    text-align: center;
    letter-spacing: .02em;
}

.hero .action-buttons {
    gap: 60px;
    margin-top: 10px;
    background: url(/wp-content/themes/liceumai-theme/assets/images/2.0/pricing-hero-banner-element.png) no-repeat center;
}

@media (max-width: 580px) {
    .hero .action-buttons {
        background-image: url(/wp-content/themes/liceumai-theme/assets/images/2.0/pricing-hero-banner-element-1.png);
        background-position: center;
        flex-direction: column;
        gap: 60px;
    }

    .action-button__card {
        width: 80%;
    }

    .hero .action-button::before {
        left: 113px;
    }

    .hero .action-button::after {
        right: 113px;
    }
}

@media (max-width: 1024px) {
    .hero__content {
        flex: 0 0 60%;
    }

    .hero__globe {
        bottom: -130px;
    }
}

@media (max-width: 900px) {
    .hero {
        padding: 0 20px;
    }

    .hero__inner {
        flex-direction: column;
        padding: 0;
        gap: 10px;
        max-height: 100%;
    }

    .hero__content {
        max-width: 100%;
        flex: none;
        padding: 50px 0;
        text-align: center;
        margin: auto;
    }

    .hero__subtitle {
        font-size: 16px;
        max-width: 397px;
        margin: 0 auto 30px;
    }
}

@media (min-width: 581px) and (max-width: 768px) {
    .hero__subtitle {
        font-size: 16px;
        max-width: 397px;
    }
}

@media (max-width: 580px) {
    .hero {
        padding: 0;
    }

    .hero__title {
        max-width: 390px;
        font-size: 36px;
    }
}

/* ─────────────────────────────
   PRICING PLANS
───────────────────────────── */

.pricing-plans {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0;
    background: #35342E;
}

.pricing-plans__outer,
.pricing-plans__container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.pricing-plans__grid {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1440px;
    padding: 0 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    background-image: url(../../images/2.0/pricing/Group.png);
    background-repeat: no-repeat;
    background-size: 65%;
    background-position: center;
}

.pricing-plans__content {
    padding: 140px 10px;
}

.pricing-plans__content h2 {
    color: #f5f3ee;
    font-family: var(--font-display-family), system-ui, sans-serif;
    font-size: 64px;
    line-height: 0.95;
    font-weight: 700;
    margin: 0 0 24px;
    letter-spacing: -3px;
}

.pricing-plans__content .eyebrow {
    color: #f2f0ea;
    margin-bottom: 20px;
}

.pricing-plans__description {
    color: #F8F8EE;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    max-width: 560px;
    margin-bottom: 36px;
}

.pricing-plans__fees {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 40px;
    width: 67%;
}

.pricing-plans__fee {
    flex: 1;
    position: relative;
}

.pricing-plans__fee+.pricing-plans__fee {
    padding-left: 60px;
}

.pricing-plans__fee:first-child::after {
    content: "";
    position: absolute;
    right: 0px;
    top: 6px;
    width: 1px;
    height: 68px;
    background: rgba(255, 255, 255, 0.18);
}

.pricing-plans__fee-value {
    color: #fff;
    font-family: var(--font-display-family), system-ui, sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1;
}

.pricing-plans__fee-label {
    color: #d7d4cb;
    font-size: 16px;
    line-height: 1.4;
    font-family: var(--font-body-1-family), sans-serif;
}

.pricing-plans__visual {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    width: 100%;
    margin-left: -120px;
    overflow: hidden;
    height: 100%;
}

.pricing-plans__visual-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.pricing-plans__frame {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    margin-left: 50px;
}

.pricing-plans__ellipse {
    position: absolute;
    right: 90px;
    height: 1247px;
    rotate: 3deg;
}

.pricing-plans__orbit {
    --orbit-size: 2019px;
    --orbit-radius: 1033px;
    --item-size: 124px;
    position: absolute;
    right: 110px;
    margin-top: -25px;
    width: var(--orbit-size);
    height: var(--orbit-size);
    border-radius: 50%;
    z-index: 2;
}

.pricing-plans__orbit-item {
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--item-size);
    height: var(--item-size);
    margin-left: calc(var(--item-size) / -2);
    margin-top: calc(var(--item-size) / -2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(58, 56, 50, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #F4F1EA;
    font-size: 38px;
    font-weight: 700;
    backdrop-filter: blur(12px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 10px 30px rgb(57 57 57 / 48%);
    transition: box-shadow 0.4s ease;
}

.pricing-plans__orbit-item img {
    width: 35%;
    height: 55%;
    object-fit: contain;
}

@media (max-width: 580px) {
    .pricing-plans__visual {
        margin-left: 0 !important;
    }

    .pricing-plans__content {
        margin: 30px auto 70px !important;
    }
}

@media (max-width: 1024px) {
    .pricing-plans__grid {
        display: flex;
        flex-direction: column-reverse;
        gap: 0;
        justify-content: flex-end;
        background-position: bottom;
        padding: 0;
    }

    .pricing-plans__content {
        text-align: center;
        margin: 0 auto;
        z-index: 3;
        padding: 15px 10px 60px;
    }

    .pricing-plans__content h2 {
        text-align: center;
    }

    .pricing-plans__description {
        text-align: center;
        margin: 0 auto 36px;
    }

    .pricing-plans__fees {
        width: 100%;
    }

    .pricing-plans__fee+.pricing-plans__fee {
        padding: 0;
    }

    .pricing-plans__visual-inner {
        rotate: -90deg;
        margin: 180px 0 115px;
    }

    .pricing-plans__visual {
        overflow: unset;
        justify-content: center;
        margin-left: -10px;
    }

    .pricing-plans__frame {
        margin-left: 0;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .pricing-plans {
        padding: 0;
    }

    .pricing-plans__content {
        padding: 15px 10px 40px;
    }

    .pricing-plans__grid {
        padding: 0;
        background-position: bottom;
        background-size: 105%;
    }

    .pricing-plans__content .eyebrow {
        font-size: 15px;
        text-align: center;
    }

    .pricing-plans__content h2 {
        font-size: 75px;
    }

    .pricing-plans__description {
        font-size: 16px;
    }

    .pricing-plans__fees {
        gap: 26px;
    }
}

@media (max-width: 576px) {
    .pricing-plans__content .eyebrow {
        font-size: 15px;
    }

    .pricing-plans__content h2 {
        font-size: 36px;
        line-height: 1.1em;
        letter-spacing: 0.01em;
    }

    .pricing-plans__grid {
        background-position: center;
    }
}

/* ─────────────────────────────
   PAYMENT METHODS
───────────────────────────── */

.payment-methods {
    padding: 90px 32px;
}

.payment-methods .section-header__title {
    font-size: 48px;
    font-family: 'Stack Sans Notch';
    line-height: 110%;
}

.payment-methods .section-header {
    max-width: 1440px;
    margin: auto;
}

.payment-methods__inner {
    max-width: 1440px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px 0 80px;
}

.payment-methods__partners {
    text-align: center;
}

.payment-methods__partners img {
    width: 100%;
}

@media (max-width: 786px) {
    .payment-methods .section-header__title {
        font-size: 36px;
        padding: 20px;
        max-width: 510px;
    }

    .payment-methods__inner {
        flex-direction: column-reverse;
        padding: 40px 0;
    }
}

@media (max-width: 580px) {
    .payment-methods {
        padding: 40px 15px;
    }
}

/* ─────────────────────────────
   CTA
───────────────────────────── */

.cta {
    padding: 120px 48px;
    background: #21251f;
    text-align: center;
}

.cta__card {
    position: relative;
    z-index: 2;
    background: #557961;
    border-radius: 24px;
    padding: 50px 48px 100px;
    max-width: 860px;
    margin: 0 auto;
    border: 1px solid #557961;
}

.cta__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/wp-content/themes/liceumai-theme/assets/images/CTA-bg.png') center / 75% no-repeat;
}

.cta__heading {
    font-family: var(--font-display-family), system-ui, sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
    line-height: 1.1;
}

.cta__description {
    font-size: 18px;
    color: #fff;
    margin-bottom: 32px;
    position: relative;
    width: 50%;
    margin: 0 auto;
    font-weight: 400;
}

@media (max-width: 786px) {
    .cta__description {
        width: 100%;
    }

    .hero__bg {
        display: none;
    }
}

@media (max-width: 767px) {
    .cta {
        padding: 80px 20px;
    }

    .cta__card {
        padding: 70px 24px;
        border-radius: 28px;
    }
}

@media (max-width: 580px) {
    .cta__heading {
        font-size: 36px;
    }

    .cta__card {
        padding: 40px 15px;
    }

    .corner-decoration {
        display: none;
    }
}

@media (max-width: 580px) {
    .action-buttons {
        gap: 48px;
        flex-direction: column;
        max-width: fit-content;
        margin: 30px auto;
    }
}



.hero .action-button::after {
    right: -10px !important;
}

.hero .action-button::before {
    left: -10px !important;
}

.pricing-plans__fees {
    width: 74%;
}

@media (max-width: 1024px) {
    .pricing-plans__fees {
        width: 100%;
    }

    .pricing-plans__content .eyebrow {
        text-align: center;
    }
}

@media (max-width: 580px) {
    .pricing-plans__fee:first-child::after {
        height: 100px;
        right: -15px;
    }
}