/* ============================================
   一川官网 - 基于 Dhun Wellness 设计语言重构
   字体: Playfair Display (衬线) + Inter (无衬线) + DM Sans (正文)
   ============================================ */

/* === CSS Variables === */
:root {
    /* 一川配色 — 自然·温暖·专业 */
    --color-background: 245, 240, 235;        /* #f5f0eb 暖白 */
    --color-background-alt: 232, 228, 223;    /* #e8e4df 浅灰米 */
    --color-background-deep: 212, 221, 224;   /* #d4dde0 冷灰 */
    --color-foreground: 45, 52, 54;           /* #2d3436 深墨 */
    --color-button: 86, 123, 107;             /* #567b6b 墨绿 */
    --color-button-text: 255, 255, 255;       /* #ffffff */
    --color-link: 86, 123, 107;               /* #567b6b */
    --color-custom: 160, 147, 130;            /* #a09382 暖棕 */
    --color-shadow: 0, 0, 0;
    --color-badge-foreground: 45, 52, 54;
    --color-badge-background: 245, 240, 235;
    --color-badge-border: 45, 52, 54;

    /* 透明度 */
    --alpha-button-background: 1;
    --alpha-button-border: 1;

    /* 圆角 */
    --media-radius: 1.2rem;
    --buttons-radius-outset: 100px;
    --inputs-radius: 0.8rem;

    /* 间距 */
    --page-width: 140rem;
    --spacing-sections-desktop: 8rem;
    --spacing-sections-mobile: 4rem;

    /* 动画时长 */
    --duration-short: 0.1s;
    --duration-default: 0.2s;
    --duration-medium: 0.3s;
    --duration-long: 0.5s;
    --duration-extra-long: 0.6s;
    --duration-extra-longer: 0.75s;
    --ease-out-slow: cubic-bezier(0, 0, 0.3, 1);

    /* 字体 */
    --font-heading-family: 'Playfair Display', 'Noto Serif SC', serif;
    --font-heading-weight: 400;
    --font-heading-style: normal;
    --font-body-family: 'Inter', 'Noto Sans SC', 'DM Sans', sans-serif;
    --font-body-weight: 300;
    --font-body-style: normal;
}

/* === Reset === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%; /* 1rem = 10px */
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body-family);
    font-weight: var(--font-body-weight);
    font-style: var(--font-body-style);
    font-size: 1.6rem;
    line-height: 1.6;
    color: rgb(var(--color-foreground));
    background: rgb(var(--color-background));
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: rgb(var(--color-foreground));
    transition: color var(--duration-long) ease;
}

a:hover {
    color: rgb(var(--color-button));
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font: inherit;
    color: inherit;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading-family);
    font-weight: var(--font-heading-weight);
    font-style: var(--font-heading-style);
    color: rgb(var(--color-foreground));
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.main-heading {
    font-size: 5rem;
    line-height: 1;
}

.main-heading span {
    display: inline-block;
}

.main-heading em {
    font-style: italic;
    color: rgba(var(--color-button));
}

.h2 { font-size: 4rem; }
.h3, h3 { font-size: 3rem; }
.h4 { font-size: 2.4rem; }
.h5 { font-size: 2rem; }
.h6 { font-size: 1.8rem; }

.main-subheading {
    font-size: 1.8rem;
    line-height: 1.5;
    padding-bottom: 1.2rem;
    margin-bottom: 2.4rem;
    position: relative;
    color: rgba(var(--color-custom));
    border-bottom: 1px solid rgba(var(--color-custom));
    max-width: 40%;
    width: 100%;
}

.main-description {
    font-size: 1.6rem;
    line-height: 1.6;
    margin-top: 2.4rem;
    color: rgb(var(--color-foreground));
    max-width: 40%;
    width: 100%;
}

.main-description strong {
    color: rgba(var(--color-button));
}

/* === Layout === */
.page-width {
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 0 2.5rem;
}

.section-padding {
    padding: var(--spacing-sections-desktop) 0;
}

.title-bottom-space {
    margin-bottom: 6rem;
}

.title-bottom-space.center .main-description,
.title-bottom-space.center .main-subheading {
    margin-left: auto;
    margin-right: auto;
}

.center { text-align: center; }
.p-relative { position: relative; }

/* === Button === */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 3rem;
    min-height: 5rem;
    min-width: 12rem;
    font-size: 1.5rem;
    font-family: var(--font-body-family);
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgb(var(--color-button-text));
    background-color: rgba(var(--color-button), var(--alpha-button-background));
    border-radius: var(--buttons-radius-outset);
    border: none;
    cursor: pointer;
    transition: all var(--duration-extra-longer) ease;
    column-gap: 2rem;
    text-decoration: none;
    position: relative;
}

.button:hover {
    background-color: rgb(var(--color-foreground));
    color: rgb(var(--color-button-text));
}

.button--secondary {
    background-color: transparent;
    color: rgb(var(--color-button));
    border: 1px solid rgba(var(--color-button));
}

.button--secondary:hover {
    background-color: rgba(var(--color-button));
    color: rgb(var(--color-button-text));
}

.button .button-svg {
    transition: all var(--duration-long) ease;
    height: 2rem;
    width: 2rem;
}

.button .button-svg path {
    fill: rgba(var(--color-custom));
    transition: all var(--duration-long) ease;
}

.button:hover .button-svg path {
    fill: rgb(var(--color-button-text));
}

/* === Header === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    transition: background var(--duration-extra-longer) ease, box-shadow var(--duration-extra-longer) ease;
}

.site-header.scrolled {
    background: rgba(var(--color-background), 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(var(--color-shadow), 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 8rem;
    padding: 0 4rem;
}

.header-logo {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.header-logo img {
    height: 4rem;
    width: auto;
    display: block;
}

.header-logo span {
    font-family: var(--font-heading-family);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: rgba(var(--color-text));
    transition: color 0.3s ease;
}

.site-header.scrolled .header-logo span {
    color: rgba(var(--color-text));
}

.site-header:not(.scrolled) .header-logo span {
    color: #fff;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.header-nav a {
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--duration-long) ease;
}

.header-nav a:hover,
.header-nav a.active {
    color: #fff;
}

.site-header.scrolled .header-nav a {
    color: rgba(var(--color-foreground), 0.75);
}

.site-header.scrolled .header-nav a:hover,
.site-header.scrolled .header-nav a.active {
    color: rgb(var(--color-foreground));
}

.header-cta {
    font-size: 1.3rem;
    padding: 0.8rem 2rem;
    background: rgba(var(--color-button));
    color: rgb(var(--color-button-text));
    border-radius: var(--buttons-radius-outset);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.header-cta:hover {
    background: rgb(var(--color-foreground));
    color: rgb(var(--color-button-text));
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 101;
}

.menu-toggle span {
    width: 24px;
    height: 1.5px;
    background: rgb(var(--color-foreground));
    transition: all var(--duration-long) ease;
}

/* === Hero Section === */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(var(--color-foreground), 0.3) 0%,
        rgba(var(--color-foreground), 0.1) 40%,
        rgba(var(--color-foreground), 0.4) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 80rem;
    padding: 0 2.5rem;
}

.hero-tagline {
    font-size: 2.8rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 1.6rem;
    opacity: 0.9;
}

.hero-title {
    font-family: var(--font-heading-family);
    font-size: 7rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #fff;
}

.hero-title em {
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.6;
    opacity: 0.85;
    max-width: 50rem;
    margin: 0 auto 3rem;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta .button {
    min-width: 16rem;
}

.hero-cta .button--secondary {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

.hero-cta .button--secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    width: 2.4rem;
    height: 4rem;
    border: 1.5px solid rgba(255,255,255,0.5);
    border-radius: 1.2rem;
    position: relative;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 0.8rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}

/* === About Section === */
.about-section {
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--media-radius);
}

.about-image-wrapper img {
    width: 100%;
    height: 60rem;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.about-image-wrapper:hover img {
    transform: scale(1.03);
}

.about-content {
    max-width: 50rem;
}

.about-content .main-description,
.about-content .main-subheading {
    max-width: 100%;
}

/* === Services Section === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.service-card {
    position: relative;
    border-radius: var(--media-radius);
    overflow: hidden;
    cursor: pointer;
    group: true;
}

.service-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    border-radius: var(--media-radius);
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-extra-longer) ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 20%,
        rgba(0, 0, 0, 0.85) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem;
    color: #fff;
}

.service-card-overlay .service-card-title {
    font-family: var(--font-heading-family);
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: 0.8rem;
}

.service-card-desc {
    font-size: 1.4rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--duration-extra-longer) ease;
    max-height: 0;
    overflow: hidden;
}

.service-card:hover .service-card-desc {
    opacity: 0.85;
    transform: translateY(0);
    max-height: 10rem;
    margin-top: 0.8rem;
}

/* === Space Section === */
.space-section {
    position: relative;
    overflow: hidden;
}

.space-image {
    width: 100%;
    height: 70vh;
    min-height: 50rem;
    object-fit: cover;
    border-radius: var(--media-radius);
}

.space-content {
    max-width: 60rem;
    margin: 4rem auto;
    text-align: center;
}

.space-content .main-description,
.space-content .main-subheading {
    max-width: 100%;
}

/* === Programs Section === */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.program-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--media-radius);
    overflow: hidden;
    background: rgb(var(--color-background));
    box-shadow: 0 4px 20px rgba(var(--color-shadow), 0.06);
    transition: box-shadow var(--duration-long) ease;
}

.program-card:hover {
    box-shadow: 0 8px 40px rgba(var(--color-shadow), 0.1);
}

.program-card-image {
    overflow: hidden;
    position: relative;
}

.program-card-image video,
.program-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.program-card-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.program-card-title {
    font-family: var(--font-heading-family);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.program-card-desc {
    font-size: 1.4rem;
    line-height: 1.6;
    color: rgba(var(--color-foreground), 0.7);
    margin-bottom: 2rem;
}

/* === FAQ / Accordion === */
.accordion-section {
    overflow: hidden;
}

.accordion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.accordion-image {
    border-radius: 300px 300px 0 0;
    overflow: hidden;
    max-width: 52%;
    margin-left: auto;
}

.accordion-image img {
    width: 100%;
    height: 60rem;
    object-fit: cover;
}

.accordion-content-wrapper {
    max-width: 86%;
}

.accordion-item {
    border-bottom: 1px solid rgba(var(--color-foreground), 0.08);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    padding: 1.8rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all var(--duration-default) ease;
    font-size: 1.8rem;
    font-weight: 400;
}

.accordion-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid rgba(var(--color-foreground));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    transition: transform var(--duration-long) ease;
}

.accordion-icon::before {
    width: 1rem;
    height: 1px;
}

.accordion-icon::after {
    width: 1px;
    height: 1rem;
}

.accordion-item.active .accordion-icon::before {
    opacity: 0;
}

.accordion-item.active .accordion-icon::after {
    transform: rotate(90deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height var(--duration-extra-longer) cubic-bezier(0.4, 0, 0.2, 1),
                opacity var(--duration-extra-longer) cubic-bezier(0.4, 0, 0.2, 1),
                visibility var(--duration-extra-longer) cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-body {
    opacity: 1;
    visibility: visible;
}

.accordion-body p {
    font-size: 1.4rem;
    line-height: 1.7;
    color: rgba(var(--color-foreground), 0.75);
    padding-bottom: 0;
    transition: padding-bottom var(--duration-extra-longer) cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-body p {
    padding-bottom: 1.8rem;
}

/* === Blog Section === */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.blog-card {
    background: rgb(var(--color-background));
    border-radius: var(--media-radius);
    overflow: hidden;
    transition: transform var(--duration-long) ease, box-shadow var(--duration-long) ease;
    box-shadow: 0 0.5rem 2rem rgba(var(--color-shadow) / 0.08);
    padding-bottom: 2rem;
}

.blog-card:hover {
    transform: translateY(-4px);
}

.blog-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: var(--media-radius);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-extra-longer) ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-meta {
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(var(--color-custom));
    margin-top: 2rem;
    padding: 0 2rem;
}

.blog-card-title {
    font-family: var(--font-heading-family);
    font-size: 2rem;
    margin-top: 1rem;
    line-height: 1.4;
    padding: 0 2rem;
}

.blog-card-excerpt {
    font-size: 1.4rem;
    line-height: 1.7;
    color: rgba(var(--color-foreground), 0.7);
    margin-top: 1rem;
    padding: 0 2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === Contact / Form Section === */
.contact-section {
    background: rgb(var(--color-background-alt));
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.contact-info {
    max-width: 45rem;
}

.contact-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.contact-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.contact-info .main-description,
.contact-info .main-subheading {
    max-width: 100%;
}

.contact-details {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    font-size: 1.5rem;
    line-height: 1.5;
}

.contact-detail-item svg {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
    stroke: rgba(var(--color-button));
}

.contact-form {
    background: rgb(var(--color-background));
    padding: 4rem;
    border-radius: var(--media-radius);
    box-shadow: 0 4px 20px rgba(var(--color-shadow), 0.06);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-size: 1.3rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(var(--color-foreground), 0.6);
    margin-bottom: 0.6rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.2rem 1.5rem;
    font-family: var(--font-body-family);
    font-size: 1.5rem;
    color: rgb(var(--color-foreground));
    background: rgb(var(--color-background));
    border: 1px solid rgba(var(--color-foreground), 0.12);
    border-radius: var(--inputs-radius);
    transition: border-color var(--duration-short) ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: rgba(var(--color-button));
}

.form-group textarea {
    min-height: 12rem;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-submit {
    margin-top: 1rem;
}

.form-submit .button {
    width: 100%;
}

/* === Footer === */
.site-footer {
    background: rgb(var(--color-foreground));
    color: rgba(255,255,255,0.7);
    padding: 6rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    font-family: var(--font-heading-family);
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-brand span {
    font-style: italic;
    color: rgba(var(--color-button));
}

.footer-desc {
    font-size: 1.4rem;
    line-height: 1.7;
    max-width: 30rem;
}

.footer-title {
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.6);
    transition: color var(--duration-long) ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-long) ease;
}

.footer-social a:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.4);
}

.footer-social svg {
    width: 1.6rem;
    height: 1.6rem;
    fill: rgba(255,255,255,0.7);
}

/* === Scroll Animations === */
.animate {
    position: relative;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate.animated {
    opacity: 1;
    transform: none;
}

.show_up {
    transform: translateY(30px);
}

.show_up.animated {
    transform: translateY(0);
}

.slide_left {
    transform: translateX(30px);
}

.slide_left.animated {
    transform: translateX(0);
}

.slide_right {
    transform: translateX(-30px);
}

.slide_right.animated {
    transform: translateX(0);
}

.zoom {
    transform: scale(0.9);
}

.zoom.animated {
    transform: scale(1);
}

/* === Parallax === */
.parallax-section {
    position: relative;
    height: 60vh;
    min-height: 40rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-bg,
.parallax-video {
    position: absolute;
    inset: -20%;
    width: 140%;
    height: 140%;
    object-fit: cover;
    will-change: transform;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: rgba(var(--color-foreground), 0.4);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 70rem;
    padding: 0 2.5rem;
}

.parallax-content .main-heading {
    color: #fff;
    font-size: 4.5rem;
}

.parallax-content .main-description {
    color: rgba(255,255,255,0.85);
    max-width: 100%;
    margin-top: 1.5rem;
}

/* === Marquee === */
.marquee-section {
    overflow: hidden;
    padding: 2rem 0;
    border-top: 1px solid rgba(var(--color-foreground), 0.08);
    border-bottom: 1px solid rgba(var(--color-foreground), 0.08);
}

.marquee-track {
    display: flex;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

.marquee-item {
    font-family: var(--font-heading-family);
    font-size: 3rem;
    font-style: italic;
    color: rgba(var(--color-foreground), 0.15);
    padding: 0 3rem;
    flex-shrink: 0;
}

.marquee-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(var(--color-button));
    flex-shrink: 0;
    align-self: center;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(var(--marquee-half, -50%)); }
}

/* === Responsive === */
@media screen and (max-width: 1399px) {
    .main-heading { font-size: 4.5rem; }
    .hero-title { font-size: 6rem; }
    .hero-tagline { font-size: 2.4rem; }
    .title-bottom-space { margin-bottom: 4rem; }
    .main-description { max-width: 60%; }
}

@media screen and (max-width: 1199px) {
    .title-bottom-space { margin-bottom: 3rem; }
    .main-description { max-width: 80%; font-size: 1.4rem; }
    .main-heading { font-size: 4rem; }
    .hero-title { font-size: 5rem; }
    .hero-tagline { font-size: 2.2rem; }
    .about-grid,
    .accordion-grid,
    .contact-grid { gap: 4rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media screen and (max-width: 991px) {
    .main-heading { font-size: 3.5rem; }
    .hero-title { font-size: 4rem; }
    .hero-tagline { font-size: 2rem; }
    .h2 { font-size: 2.8rem; }
    .h3 { font-size: 2.2rem; }

    .header-nav { display: none; }
    .menu-toggle { display: flex; }

    /* Mobile nav */
    .header-nav.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgb(var(--color-background));
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        z-index: 100;
    }

    .header-nav.open a {
        font-size: 2rem;
    }

    .about-grid,
    .accordion-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image-wrapper img { height: 40rem; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .programs-grid { grid-template-columns: 1fr; }

    .program-card { grid-template-columns: 1fr 2fr; }

    .main-description, .main-subheading { max-width: 100%; }

    .accordion-image { display: none; }
    .accordion-content-wrapper { max-width: 100%; }

    .footer-grid { grid-template-columns: 1fr; }
}

@media screen and (max-width: 767px) {
    .main-heading { font-size: 3rem; }
    .hero-title { font-size: 3.2rem; }
    .hero-tagline { font-size: 1.8rem; }
    .hero-subtitle { font-size: 1.6rem; }
    .h2 { font-size: 2.6rem; }
    .h3 { font-size: 2rem; }
    .h4 { font-size: 1.8rem; }

    .section-padding { padding: 4rem 0; }
    .page-width { padding: 0 1.5rem; }
    .header-inner { padding: 0 1.5rem; height: 6rem; }

    .services-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }

    .program-card { grid-template-columns: 1fr; }
    .program-card-image { aspect-ratio: 16/9; }

    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 2.5rem; }

    .parallax-section { height: 50vh; min-height: 30rem; }
    .parallax-content .main-heading { font-size: 3rem; }

    .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
}

@media screen and (max-width: 575px) {
    .main-heading { font-size: 2.5rem; }
    .hero-title { font-size: 2.8rem; }
    .hero-cta { flex-direction: column; align-items: center; }
    .hero-cta .button { width: 100%; max-width: 28rem; }
    .marquee-item { font-size: 2rem; }
}

/* === Utility === */
.visually-hidden {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0 0 0 0);
}

.gradient {
    background: rgb(var(--color-background));
}

@media (prefers-reduced-motion) {
    .animate, .animated {
        transition: none !important;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .marquee-track { animation: none; }
}

/* ============================================
   Services Page Components
   ============================================ */

/* Page Hero */
.page-hero {
    position: relative;
    height: 60vh;
    min-height: 40rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.page-hero-bg img,
.page-hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(var(--color-foreground), 0.3) 0%,
        rgba(var(--color-foreground), 0.5) 100%
    );
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 2rem;
}

.page-hero-tagline {
    font-family: var(--font-body-family);
    font-size: 1.4rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.page-hero-title {
    font-family: var(--font-heading-family);
    font-size: 5rem;
    font-weight: var(--font-heading-weight);
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #fff;
}

.page-hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 60rem;
    margin: 0 auto;
    opacity: 0.95;
}

/* Section Spacing */
.section-spacing {
    padding: var(--spacing-sections-desktop) 0;
}

/* Services Intro */
.services-intro {
    background: rgb(var(--color-background));
}

.services-intro-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 6rem;
    align-items: center;
}

.services-intro-text h2 {
    font-family: var(--font-heading-family);
    font-size: 3.6rem;
    margin-bottom: 2rem;
}

.services-intro-text p {
    font-size: 1.7rem;
    line-height: 1.8;
    color: rgb(var(--color-foreground) / 0.8);
}

.services-intro-stats {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading-family);
    font-size: 4.8rem;
    color: rgb(var(--color-button));
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.4rem;
    color: rgb(var(--color-foreground) / 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Services Category */
.services-category {
    background: rgb(var(--color-background));
}

.services-category--alt {
    background: rgb(var(--color-background-alt));
}

.category-header {
    text-align: center;
    max-width: 70rem;
    margin: 0 auto 5rem;
}

.category-label {
    display: inline-block;
    font-family: var(--font-heading-family);
    font-size: 1.4rem;
    color: rgb(var(--color-button));
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.category-title {
    font-family: var(--font-heading-family);
    font-size: 4rem;
    font-weight: var(--font-heading-weight);
    margin-bottom: 1.5rem;
}

.category-desc {
    font-size: 1.7rem;
    line-height: 1.8;
    color: rgb(var(--color-foreground) / 0.7);
}

/* Services Grid - Horizontal Layout for Services Page */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.service-card {
    background: rgb(var(--color-background));
    border-radius: var(--media-radius);
    overflow: hidden;
    transition: transform var(--duration-medium) ease, box-shadow var(--duration-medium) ease;
}

.services-category--alt .service-card {
    background: rgb(var(--color-background));
}

.services-category:not(.services-category--alt) .service-card {
    background: rgb(var(--color-background-alt));
}

.service-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1rem 3rem rgba(var(--color-shadow) / 0.1);
}

.service-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-extra-longer) ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-content {
    padding: 2.5rem;
}

.service-card-content .service-card-title {
    font-family: var(--font-heading-family);
    font-size: 2.2rem;
    font-weight: var(--font-heading-weight);
    margin-bottom: 1rem;
    color: rgb(var(--color-foreground));
}

.service-card-desc {
    font-size: 1.5rem;
    line-height: 1.7;
    color: rgb(var(--color-foreground) / 0.7);
    margin-bottom: 2rem;
}

.service-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.4rem;
    color: rgb(var(--color-foreground) / 0.6);
}

.service-meta-item svg {
    width: 1.6rem;
    height: 1.6rem;
}

.service-card-cta {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 500;
    color: rgb(var(--color-button));
    text-decoration: none;
    transition: color var(--duration-medium) ease;
}

.service-card-cta:hover {
    color: rgb(var(--color-button) / 0.7);
}

/* Services Process */
.services-process {
    background: rgb(var(--color-background-alt));
}

.process-header {
    text-align: center;
    max-width: 60rem;
    margin: 0 auto 5rem;
}

.process-header h2 {
    font-family: var(--font-heading-family);
    font-size: 3.6rem;
    margin-bottom: 1.5rem;
}

.process-header p {
    font-size: 1.7rem;
    color: rgb(var(--color-foreground) / 0.7);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.process-step {
    text-align: center;
}

.process-step-number {
    font-family: var(--font-heading-family);
    font-size: 4.8rem;
    color: rgb(var(--color-button) / 0.3);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.process-step h3 {
    font-family: var(--font-heading-family);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.process-step p {
    font-size: 1.5rem;
    line-height: 1.7;
    color: rgb(var(--color-foreground) / 0.7);
}

/* Services FAQ */
.services-faq {
    background: rgb(var(--color-background));
}

.faq-header {
    text-align: center;
    max-width: 60rem;
    margin: 0 auto 5rem;
}

.faq-header h2 {
    font-family: var(--font-heading-family);
    font-size: 3.6rem;
    margin-bottom: 1.5rem;
}

.faq-header p {
    font-size: 1.7rem;
    color: rgb(var(--color-foreground) / 0.7);
}

.faq-list {
    max-width: 80rem;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgb(var(--color-foreground) / 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 2.5rem 0;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-body-family);
    font-size: 1.7rem;
    font-weight: 400;
    color: rgb(var(--color-foreground));
    transition: color var(--duration-medium) ease;
}

.faq-question:hover {
    color: rgb(var(--color-button));
}

.faq-icon {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    transition: transform var(--duration-medium) ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-extra-longer) ease;
}

.faq-answer p {
    padding-bottom: 2rem;
    font-size: 1.5rem;
    line-height: 1.8;
    color: rgba(var(--color-foreground), 0.85);
}

/* Services CTA */
.services-cta {
    position: relative;
    overflow: hidden;
    color: #fff;
}

.services-cta-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.services-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.services-cta .page-width {
    position: relative;
    z-index: 2;
}

.services-cta .services-cta-actions .button {
    background-color: rgb(var(--color-button));
    color: rgb(var(--color-button-text));
}

.services-cta .services-cta-actions .button:hover {
    background-color: rgb(var(--color-foreground));
    color: rgb(var(--color-button-text));
}

.services-cta-inner {
    text-align: center;
    max-width: 70rem;
    margin: 0 auto;
}

.services-cta-title {
    font-family: var(--font-heading-family);
    font-size: 4rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.services-cta-desc {
    font-size: 1.8rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.services-cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.services-cta-actions .button {
    background: rgb(var(--color-button));
    color: rgb(var(--color-button-text));
}

.services-cta-actions .button--secondary {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
}

.services-cta-note {
    font-size: 1.4rem;
    opacity: 0.8;
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .services-intro-inner {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .services-intro-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-hero-title {
        font-size: 4rem;
    }
}

@media screen and (max-width: 767px) {
    .section-spacing {
        padding: var(--spacing-sections-mobile) 0;
    }

    .services-intro-inner {
        gap: 3rem;
    }

    .services-intro-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .category-title {
        font-size: 3rem;
    }

    .page-hero-title {
        font-size: 3.2rem;
    }

    .page-hero-subtitle {
        font-size: 1.6rem;
    }

    .services-cta-title {
        font-size: 3rem;
    }

    .services-cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* =============================================
   Programs Page Styles
   ============================================= */

/* Page Hero */
.page-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-bg img,
.page-hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(var(--color-foreground), 0.45);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 6rem 2.5rem;
    max-width: 80rem;
}

.page-hero-content .main-heading {
    color: rgb(var(--color-background));
    margin-bottom: 2rem;
}

.page-hero-content .hero-tagline {
    color: rgba(var(--color-background), 0.8);
    font-size: 1.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.page-hero-desc {
    font-size: 1.7rem;
    line-height: 1.7;
    color: rgba(var(--color-background), 0.9);
    max-width: 60rem;
    margin: 0 auto;
}

/* Programs List */
.programs-list {
    background: rgb(var(--color-background));
}

.program-card {
    margin-bottom: 8rem;
}

.program-card:last-child {
    margin-bottom: 0;
}

.program-card-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.program-card--alt .program-card-inner {
    direction: rtl;
}

.program-card--alt .program-card-inner > * {
    direction: ltr;
}

.program-image {
    position: relative;
    border-radius: var(--media-radius);
    overflow: hidden;
}

.program-image img,
.program-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-extra-longer) ease;
}

.program-card:hover .program-image img {
    transform: scale(1.03);
}

.program-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(var(--color-button), 0.9);
    color: rgb(var(--color-button-text));
    padding: 0.6rem 1.6rem;
    border-radius: var(--buttons-radius-outset);
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.program-content {
    padding: 3rem;
}

.program-title {
    font-size: 3.6rem;
    margin-bottom: 0.8rem;
    color: rgb(var(--color-foreground));
}

.program-tagline {
    font-size: 1.7rem;
    color: rgba(var(--color-custom));
    font-style: italic;
    font-family: var(--font-heading-family);
    margin-bottom: 2.5rem;
}

.program-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: rgba(var(--color-background-alt), 0.6);
    border-radius: var(--inputs-radius);
}

.meta-item {
    display: flex;
    gap: 1rem;
    align-items: baseline;
}

.meta-label {
    font-size: 1.3rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(var(--color-button));
    min-width: 7rem;
    flex-shrink: 0;
}

.meta-value {
    font-size: 1.5rem;
    color: rgb(var(--color-foreground));
    line-height: 1.5;
}

.program-includes {
    margin-bottom: 2.5rem;
}

.program-includes h4 {
    font-size: 1.6rem;
    font-family: var(--font-body-family);
    font-weight: 500;
    margin-bottom: 1rem;
    color: rgb(var(--color-foreground));
}

.program-includes ul {
    padding-left: 0;
}

.program-includes li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.6rem;
    font-size: 1.5rem;
    line-height: 1.6;
    color: rgb(var(--color-foreground));
}

.program-includes li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.9rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(var(--color-button));
}

.program-price {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 3rem;
    font-family: var(--font-heading-family);
    font-weight: 500;
    color: rgba(var(--color-button));
}

.price-note {
    font-size: 1.3rem;
    color: rgba(var(--color-custom));
}

.program-cta {
    min-width: 16rem;
}

/* Program Details / Accordion */
.program-details {
    background: rgb(var(--color-background-alt));
}

.details-accordion {
    max-width: 90rem;
    margin: 0 auto;
}

.details-accordion .accordion-body {
    max-height: none !important;
    overflow: visible !important;
}

.accordion-item {
    border-bottom: 1px solid rgba(var(--color-foreground), 0.1);
}

.accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 2.4rem 0;
    font-size: 1.8rem;
    font-family: var(--font-heading-family);
    font-weight: 400;
    text-align: left;
    color: rgb(var(--color-foreground));
    cursor: pointer;
    transition: color var(--duration-default) ease;
}

.accordion-trigger:hover {
    color: rgba(var(--color-button));
}

.accordion-icon {
    flex-shrink: 0;
    transition: transform var(--duration-medium) ease;
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-extra-longer) ease;
}

.accordion-item.active .accordion-content {
    max-height: 5000px;
}

.accordion-body {
    padding-bottom: 2.4rem;
}

.accordion-body p {
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    color: rgb(var(--color-foreground));
}

.accordion-body p strong {
    color: rgba(var(--color-button));
}

/* Testimonials */
.testimonials {
    background: rgb(var(--color-background));
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.testimonial-card {
    background: rgb(var(--color-background-alt));
    border-radius: var(--media-radius);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--duration-extra-longer) ease, box-shadow var(--duration-extra-longer) ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(var(--color-shadow), 0.08);
}

.testimonial-quote {
    position: relative;
    margin-bottom: 2.5rem;
}

.quote-icon {
    color: rgba(var(--color-button), 0.3);
    margin-bottom: 1rem;
}

.testimonial-quote p {
    font-size: 1.5rem;
    line-height: 1.8;
    font-style: italic;
    color: rgb(var(--color-foreground));
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(var(--color-foreground), 0.08);
}

.author-avatar {
    width: 4.8rem;
    height: 4.8rem;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 1.4rem;
    font-weight: 500;
    color: rgb(var(--color-foreground));
}

.author-program {
    font-size: 1.2rem;
    color: rgba(var(--color-custom));
    margin-top: 0.2rem;
}

/* FAQ */
.faq {
    background: rgb(var(--color-background-alt));
}

.faq-list {
    max-width: 80rem;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(var(--color-foreground), 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 2rem 0;
    font-size: 1.6rem;
    font-weight: 400;
    text-align: left;
    color: rgb(var(--color-foreground));
    cursor: pointer;
    transition: color var(--duration-default) ease;
    font-family: var(--font-body-family);
}

.faq-question:hover {
    color: rgba(var(--color-button));
}

.faq-icon {
    flex-shrink: 0;
    transition: transform var(--duration-medium) ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-extra-longer) ease;
}

.faq-answer p {
    padding-bottom: 2rem;
    font-size: 1.5rem;
    line-height: 1.8;
    color: rgba(var(--color-foreground), 0.85);
}

/* CTA Section */
.cta-section {
    background: rgba(var(--color-button), 0.06);
    position: relative;
    overflow: hidden;
}

.cta-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.cta-section .page-width {
    position: relative;
    z-index: 1;
}

.cta-content {
    max-width: 70rem;
    margin: 0 auto;
}

.cta-content .main-heading {
    margin-bottom: 2rem;
    color: #fff;
}

.cta-desc {
    font-size: 1.7rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1024px) {
    .program-card-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .program-card--alt .program-card-inner {
        direction: ltr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 50vh;
    }

    .page-hero-content .main-heading {
        font-size: 3.4rem;
    }

    .page-hero-desc {
        font-size: 1.5rem;
    }

    .program-title {
        font-size: 2.8rem;
    }

    .price-amount {
        font-size: 2.4rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* === QR Popup Modal === */
.qr-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.qr-modal.active {
    display: flex;
}

.qr-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.qr-modal-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 3rem;
    max-width: 360px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: qrModalIn 0.3s ease;
}

@keyframes qrModalIn {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.qr-modal-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 8px;
}

.qr-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 3.2rem;
    height: 3.2rem;
    border: none;
    background: transparent;
    font-size: 2.4rem;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.qr-modal-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
}
