/* ===== Custom Properties ===== */
:root {
    --purple: #5B2D8E;
    --purple-dark: #462270;
    --purple-light: #7B4DAE;
    --blue: #1A3C6E;
    --blue-light: #2A5BA0;
    --orange: #E8892E;
    --orange-light: #F5A623;
    --gold: #D4A843;
    --red: #C0392B;
    --white: #FFFFFF;
    --off-white: #F8F6FC;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --gray-500: #9E9E9E;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: 0.3s ease;
    --max-width: 1200px;
}

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

html {
    scroll-padding-top: 80px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--purple);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--purple-light);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition);
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--purple);
}

.nav-login {
    color: var(--purple) !important;
    font-weight: 600 !important;
}

.nav-cta {
    flex-shrink: 0;
    margin-left: 16px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--purple);
    color: var(--white);
    border-color: var(--purple);
}

.btn-primary:hover {
    background: var(--purple-dark);
    border-color: var(--purple-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--purple);
    border-color: var(--purple);
}

.btn-outline:hover {
    background: var(--purple);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 50%, var(--purple-dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(255,255,255,0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(255,255,255,0.08) 0%, transparent 40%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 14px;
}

.hero-topical {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 600;
    color: var(--orange-light);
    letter-spacing: 0.01em;
    max-width: 720px;
    margin: 0 auto 22px;
    line-height: 1.4;
}

.hero-sub {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    opacity: 0.92;
    max-width: 620px;
    margin: 0 auto 20px;
    line-height: 1.7;
}

.hero-detail {
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn-primary {
    background: var(--orange);
    border-color: var(--orange);
}

.hero .btn-primary:hover {
    background: var(--orange-light);
    border-color: var(--orange-light);
}

.hero .btn-outline {
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.hero .btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
    color: var(--white);
}

/* ===== Sections ===== */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--off-white);
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-600);
    font-size: 1.1rem;
    margin-bottom: 48px;
}

.booking-help-note {
    max-width: 960px;
    margin: 0 auto 12px;
    text-align: center;
    color: var(--gray-600);
    font-size: 0.95rem;
}

.booking-help-note a {
    color: var(--blue);
    font-weight: 600;
    text-decoration: underline;
}

/* ===== About ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-text p {
    margin-bottom: 16px;
    font-size: 1.05rem;
    color: var(--gray-700);
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlight-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--purple);
}

.highlight-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--purple);
    line-height: 1;
    margin-bottom: 4px;
}

.highlight-label {
    color: var(--gray-600);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ===== Team ===== */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 8px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
    flex: 0 1 260px;
    max-width: 260px;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.team-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    display: block;
    box-shadow: var(--shadow-sm);
    max-width: 100%;
}

.team-photo-placeholder {
    background: var(--purple);
    color: var(--white);
    font-size: 3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.team-name {
    color: var(--blue);
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.team-bio {
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.55;
    text-align: left;
}

@media (max-width: 520px) {
    .team-card { flex-basis: 100%; max-width: 100%; }
}

/* ===== Services ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 48px;
    height: 48px;
    color: var(--purple);
    margin-bottom: 16px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 1.15rem;
    color: var(--blue);
    margin-bottom: 8px;
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Subjects bar */
.subjects-bar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.subjects-bar h3 {
    color: var(--blue);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.subjects-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.subject-tag {
    background: var(--purple);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== Why Choose Us ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.feature {
    text-align: center;
    padding: 24px 16px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    color: var(--purple);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature h4 {
    color: var(--blue);
    margin-bottom: 6px;
    font-size: 1rem;
}

.feature p {
    color: var(--gray-600);
    font-size: 0.88rem;
    line-height: 1.5;
}

/* ===== Pricing ===== */
.pricing-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
}

/* Each row is its own grid; --cols set inline based on the admin layout config. */
.pricing-row {
    display: grid;
    grid-template-columns: repeat(var(--cols, 3), 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: all var(--transition);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-featured {
    border: 2px solid var(--purple);
    transform: scale(1.03);
}

.pricing-featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--orange);
    color: var(--white);
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-card h3 {
    color: var(--blue);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--purple);
    line-height: 1;
    margin-bottom: 4px;
}

.pricing-period {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.pricing-unit {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-500);
    margin-left: 2px;
}

.pricing-was {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-500);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--orange, #f59e0b);
    margin-right: 10px;
    vertical-align: middle;
}

.pricing-discount {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--orange, #f59e0b);
    color: var(--white, #fff);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.35rem;
    line-height: 1;
    transform: rotate(12deg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.18), 0 0 0 4px rgba(255,255,255,0.9);
    z-index: 2;
    letter-spacing: -0.5px;
    pointer-events: none;
}

.pricing-discount span {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 2px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 28px;
}

.pricing-features li {
    padding: 8px 0;
    color: var(--gray-700);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-features li::before {
    content: '\2713';
    color: var(--purple);
    font-weight: 700;
    flex-shrink: 0;
}

/* ===== Testimonials ===== */
.testimonials-scroller {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 4px 4px 16px;
    scrollbar-width: thin;
}

.testimonials-scroller::-webkit-scrollbar {
    height: 8px;
}
.testimonials-scroller::-webkit-scrollbar-thumb {
    background: var(--gray-200);
    border-radius: 4px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    flex: 1 1 360px;
    min-width: 280px;
    max-width: 460px;
    min-height: 360px;
}

.testimonial-stars {
    color: var(--orange);
    font-size: 1.2rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-stars-empty {
    color: var(--gray-200);
}

.testimonial-card blockquote {
    flex: 1;
    margin: 0;
}

.testimonial-card blockquote p {
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-card.expanded blockquote p {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
}

.testimonial-read-more {
    background: none;
    border: none;
    color: var(--blue);
    cursor: pointer;
    padding: 8px 0 0;
    margin: 0;
    font: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    align-self: flex-start;
    display: none;
}

.testimonial-card.is-overflow .testimonial-read-more {
    display: inline-block;
}

/* Cloned cards are only revealed when the originals overflow — otherwise
   they would appear as visible duplicates to the right of the originals. */
.testimonial-card.is-clone {
    display: none;
}

.testimonials-scroller.has-overflow .testimonial-card.is-clone {
    display: flex;
}

.testimonial-read-more:hover {
    text-decoration: underline;
}

.testimonial-author {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.testimonial-author strong {
    display: block;
    color: var(--blue);
    font-size: 1rem;
}

.testimonial-author span {
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* ===== Booking ===== */
.booking-redeem {
    max-width: 520px;
    margin: 0 auto 24px;
    padding: 16px 20px;
    background: var(--white);
    border: 1px solid var(--gray-200, #e5e7eb);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.booking-redeem-label {
    display: block;
    font-weight: 600;
    color: var(--gray-700, #374151);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.booking-redeem-row {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.booking-redeem input {
    flex: 1 1 200px;
    min-width: 0;
    padding: 10px 14px;
    font-size: 1rem;
    border: 2px solid var(--gray-200, #e5e7eb);
    border-radius: var(--radius);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.booking-redeem input:focus {
    outline: none;
    border-color: var(--purple);
}

.booking-redeem-btn {
    flex: 0 0 auto;
}

.booking-redeem-status {
    margin: 8px 0 0;
    min-height: 1.2em;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.booking-redeem-status.error {
    color: #dc2626;
}

.booking-tabs {
    max-width: 960px;
    margin: 0 auto 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    scroll-margin-top: 96px;
}

.booking-tab {
    padding: 10px 20px;
    border: 2px solid var(--purple);
    background: var(--white);
    color: var(--purple);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.booking-tab:hover {
    background: rgba(124, 58, 237, 0.08);
}

.booking-tab.active {
    background: var(--purple);
    color: var(--white);
}

.booking-tab-dropdown {
    position: relative;
}

.booking-tab-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.booking-tab-caret {
    font-size: 0.75rem;
    line-height: 1;
}

.booking-tab-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: var(--white);
    border: 1px solid var(--gray-200, #e5e7eb);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.booking-tab-menu[hidden] {
    display: none;
}

.booking-tab-menu button {
    width: 100%;
    padding: 8px 12px;
    background: transparent;
    border: 0;
    text-align: left;
    color: var(--gray-700, #374151);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: calc(var(--radius) / 2);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.booking-tab-menu button:hover,
.booking-tab-menu button:focus {
    background: rgba(124, 58, 237, 0.08);
    color: var(--purple);
    outline: none;
}

.booking-tab-menu button.active {
    background: var(--purple);
    color: var(--white);
}

.booking-embed {
    max-width: 960px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.booking-embed iframe {
    display: block;
    width: 100%;
    border: 0;
}

.booking-fallback {
    max-width: 960px;
    margin: 16px auto 0;
    text-align: center;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.booking-fallback a {
    color: var(--purple);
    font-weight: 600;
}

/* ===== Contact ===== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--purple);
    margin-top: 2px;
}

.contact-item strong {
    display: block;
    color: var(--blue);
    margin-bottom: 2px;
}

.contact-item a,
.contact-item span {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.contact-item a:hover {
    color: var(--purple);
}

/* ===== Modal ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

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

.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 500px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal h2 {
    color: var(--blue);
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.modal p {
    margin-bottom: 16px;
    color: var(--gray-700);
    line-height: 1.5;
}

.modal-hint {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    color: var(--blue);
    margin: 0 0 18px;
    font-size: 1.35rem;
}

.contact-form .form-row {
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form .form-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 0;
}

.contact-form label {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.contact-form label span {
    color: var(--purple);
}

[hidden] { display: none !important; }

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font: inherit;
    line-height: 1.4;
    color: var(--gray-800, #222);
    background: var(--white);
    transition: border-color var(--transition);
    box-sizing: border-box;
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form select {
    height: 44px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(128, 90, 213, 0.15);
}

.contact-form fieldset {
    border: 0;
    padding: 0;
    margin: 0 0 14px;
}

.contact-form legend {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
    margin-bottom: 8px;
    padding: 0;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 14px;
}

.checkbox-grid label {
    font-weight: 400;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-grid input[type="checkbox"] {
    accent-color: var(--purple);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.radio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 14px;
}

.radio-grid label {
    font-weight: 400;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-grid input[type="radio"] {
    accent-color: var(--purple);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.form-hint {
    margin: 0 0 8px;
    font-size: 0.85rem;
    color: var(--gray-700);
    line-height: 1.4;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0;
}

.form-status {
    margin: 14px 0 0;
    font-size: 0.9rem;
    min-height: 1.2em;
}

.form-status.success {
    color: #15803d;
}

.form-status.error {
    color: #b91c1c;
}

@media (max-width: 600px) {
    .contact-form {
        padding: 20px 16px;
        border-radius: var(--radius);
    }

    .contact-form h3 {
        font-size: 1.2rem;
        margin-bottom: 14px;
    }

    .contact-form .form-row-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .checkbox-grid,
    .radio-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .checkbox-grid label,
    .radio-grid label {
        padding: 6px 4px;
        font-size: 0.95rem;
    }

    .checkbox-grid input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }

    .contact-form input[type="text"],
    .contact-form input[type="tel"],
    .contact-form input[type="email"],
    .contact-form textarea {
        font-size: 16px;
        padding: 12px 14px;
    }

    .contact-form .form-row {
        margin-bottom: 16px;
    }

    .contact-form button[type="submit"] {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
    }

    .contact-layout {
        gap: 32px;
    }

    .contact-info {
        gap: 18px;
    }
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--gray-500);
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition);
}

.modal-close:hover {
    color: var(--gray-800);
}

/* ===== Footer ===== */
.footer {
    background: var(--blue);
    color: rgba(255,255,255,0.85);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
}

.footer-logo {
    height: 50px;
    width: auto;
    max-width: none;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.85;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p,
.footer-contact a {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    margin-bottom: 4px;
    display: block;
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-social {
    margin-top: 16px;
}

.footer-social a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.75);
    transition: color var(--transition);
}

.footer-social a:hover {
    color: var(--white);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ===== Scroll Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Community Strip ===== */
.community-strip {
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
    color: var(--white);
    padding: 32px 0;
}

.community-strip .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
}

.community-strip-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.community-strip-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    color: var(--white);
}

.community-strip-text {
    flex: 1;
}

.community-strip-text h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.community-strip-text p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.btn-light {
    background: var(--white);
    color: var(--purple);
    border: 2px solid var(--white);
    padding: 10px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: all var(--transition);
    flex-shrink: 0;
    text-decoration: none;
    display: inline-block;
}

.btn-light:hover {
    background: transparent;
    color: var(--white);
}

@media (max-width: 768px) {
    .community-strip-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 0;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 14px 0;
        font-size: 1.05rem;
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        min-height: 80vh;
        padding: 100px 24px 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

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

    .pricing-grid {
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-row {
        grid-template-columns: 1fr;
    }

    .pricing-featured {
        transform: none;
        order: -1;
    }

    .pricing-featured:hover {
        transform: translateY(-4px);
    }

    .testimonial-card {
        flex-basis: calc(100% - 8px);
        max-width: none;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

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

    .section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

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

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

    .booking-embed iframe {
        height: 700px;
    }
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow var(--transition);
}

.faq-item[open] {
    box-shadow: var(--shadow-md);
}

.faq-item summary {
    cursor: pointer;
    padding: 1.1rem 1.25rem;
    font-weight: 600;
    color: var(--purple-dark);
    list-style: none;
    position: relative;
    padding-right: 2.75rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--orange);
    transition: transform var(--transition);
    line-height: 1;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    padding: 0 1.25rem 1.25rem;
    margin: 0;
    color: var(--gray-700);
    line-height: 1.65;
}

.faq-item p a {
    color: var(--purple);
    text-decoration: underline;
}

.faq-item p a:hover {
    color: var(--orange);
}

.faq-review-banner {
    background: var(--orange);
    color: var(--white);
    text-align: center;
    padding: 0.6rem 1rem;
    font-weight: 600;
    font-size: 0.95rem;
}
