/* ============================================
   The Wax Box by MC — Component Styles
   Buttons, Cards, Hero, CTAs, Forms
   ============================================ */

/* ---- Buttons ---- */
.btn-primary {
    display: inline-block;
    background: var(--gold-light);
    color: var(--chocolate);
    padding: 14px 32px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
    letter-spacing: 0.04em;
}

.btn-primary:hover {
    background: var(--gold);
    color: var(--chocolate);
}

.btn-secondary {
    display: inline-block;
    background: var(--warm-white);
    border: 2px solid var(--gold);
    color: var(--chocolate);
    padding: 14px 32px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease;
    letter-spacing: 0.04em;
}

.btn-secondary:hover {
    background: var(--cream);
}

/* ---- Hero Section ---- */
.hero {
    padding: 0 24px;
    text-align: center;
    background: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.hero-logo {
    max-width: 320px;
    margin-bottom: 8px;
}

.hero-tagline {
    font-family: var(--font-script);
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 8px;
}

.hero-heading {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--chocolate);
    font-weight: 700;
    line-height: 1.2;
    max-width: 700px;
}

.hero-body {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--chocolate);
    line-height: 1.8;
    max-width: 640px;
}

.hero-list {
    list-style: none;
    padding: 0;
    text-align: left;
    display: inline-block;
}

.hero-list li {
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
}

.hero-list li::before {
    content: '♥';
    color: var(--gold);
    position: absolute;
    left: 0;
}

/* ---- Service Cards ---- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 767px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

.card {
    background: var(--warm-white);
    border-radius: 8px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--gold-20);
    transition: box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 4px 16px var(--chocolate-10);
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--chocolate);
    margin-bottom: 12px;
}

.card-body {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--chocolate);
    line-height: 1.7;
    opacity: 0.85;
}

/* ---- CTA Banner ---- */
.cta-banner {
    background: var(--gold-light);
    padding: 56px 24px;
    text-align: center;
}

.cta-banner .btn-primary {
    background: var(--chocolate);
    color: var(--warm-white);
}

.cta-banner .btn-primary:hover {
    background: #1a0e07;
    color: var(--warm-white);
}

.cta-banner h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--chocolate);
    margin-bottom: 16px;
}

.cta-banner p {
    font-family: var(--font-body);
    color: var(--chocolate);
    margin-bottom: 24px;
    opacity: 0.85;
}

/* ---- Why Choose Us / Feature List ---- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

@media (max-width: 767px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-item h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--chocolate);
    margin-bottom: 8px;
}

.feature-item p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--chocolate);
    opacity: 0.85;
}

/* ---- Services List (Services Page) ---- */
.service-category {
    margin-bottom: 48px;
}

.service-category h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--chocolate);
    border-bottom: 2px solid var(--gold-light);
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 24px;
}

@media (max-width: 767px) {
    .service-list {
        grid-template-columns: 1fr;
    }
}

.service-list li {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--chocolate);
    padding: 8px 0;
    border-bottom: 1px solid var(--gold-15);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-list li::before {
    content: '—';
    color: var(--gold);
}

/* ---- FAQ Accordion ---- */
.faq-list {
    max-width: 780px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gold-25);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--chocolate);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    outline: none;
}

.faq-icon {
    font-size: 1.4rem;
    color: var(--gold);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer p {
    padding: 0 0 20px;
    margin-bottom: 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--chocolate);
    opacity: 0.85;
}

/* ---- Policy Section (Policies Page) ---- */
.policy-section {
    max-width: 780px;
    margin: 0 auto;
}

.policy-section h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--chocolate);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid var(--gold-light);
    padding-bottom: 12px;
}

.policy-icon {
    color: var(--gold);
    font-weight: 700;
}

.policy-section ul {
    list-style: none;
    padding: 0;
}

.policy-section li {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.9;
    color: var(--chocolate);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.policy-section li::before {
    content: '·';
    color: var(--gold);
    font-size: 1.4rem;
    position: absolute;
    left: 0;
    top: -2px;
    font-weight: 700;
}

.policy-highlight {
    color: var(--gold);
    font-weight: 700;
}

.policy-acknowledgment {
    max-width: 640px;
    margin: 0 auto;
    background: var(--rose-blush);
    background: rgba(242, 196, 196, 0.25);
    border-left: 4px solid var(--rose-blush);
    border-radius: 0 6px 6px 0;
    padding: 20px 24px;
    font-family: var(--font-body);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--chocolate);
    line-height: 1.8;
    text-align: center;
}

/* ---- Policy Aftercare Diagram ---- */
.aftercare-diagram {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.aftercare-diagram img {
    display: block;
    width: 100%;
    max-width: 620px;
    height: auto;
    margin: 0 auto;
    border: 1px solid var(--gold-20);
    border-radius: 8px;
    box-shadow: 0 4px 16px var(--chocolate-10);
}

/* ---- Aftercare Sections ---- */
.aftercare-section {
    margin-bottom: 40px;
}

.aftercare-section h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--chocolate);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gold-light);
}

.aftercare-section h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--chocolate);
    margin-bottom: 8px;
    margin-top: 20px;
}

.aftercare-section ul,
.aftercare-section ol {
    padding-left: 20px;
}

.aftercare-section li {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 6px;
    color: var(--chocolate);
}

.aftercare-note {
    background: var(--warm-white);
    border-left: 4px solid var(--gold-light);
    padding: 16px 20px;
    border-radius: 0 4px 4px 0;
    margin-top: 16px;
    font-style: italic;
    font-family: var(--font-body);
    color: var(--chocolate);
    opacity: 0.9;
}

/* ---- Location Page ---- */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 767px) {
    .location-grid {
        grid-template-columns: 1fr;
    }
}

.map-embed {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 12px var(--chocolate-10);
}

.location-address {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--chocolate);
}

.landmark-list {
    list-style: none;
    padding: 0;
}

.landmark-list li {
    padding: 6px 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.landmark-list li::before {
    content: '📍';
    margin-right: 8px;
}

/* ---- Pricing Table ---- */
.pricing-table {
    width: 100%;
}

.pricing-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--gold-15);
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-name {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--chocolate);
    flex: 1;
}

.pricing-duration {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--chocolate);
    opacity: 0.5;
    white-space: nowrap;
}

.pricing-price {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold);
    white-space: nowrap;
    min-width: 60px;
    text-align: right;
}

/* ---- Pricing Placeholder ---- */
.pricing-placeholder {
    text-align: center;
    padding: 80px 24px;
    background: var(--warm-white);
    border-radius: 8px;
    max-width: 600px;
    margin: 40px auto;
}

.pricing-placeholder h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--chocolate);
    margin-bottom: 16px;
}

.pricing-placeholder p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--chocolate);
    margin-bottom: 24px;
    opacity: 0.8;
}

/* ---- Page Hero (Non-Home Pages) ---- */
.page-hero {
    background: var(--cream);
    padding: 48px 24px;
    text-align: center;
    border-bottom: 2px solid var(--gold-20);
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--chocolate);
    margin-bottom: 12px;
}

.page-hero p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--chocolate);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* ---- Communities List (Location Page) ---- */
.communities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

@media (max-width: 767px) {
    .communities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.communities-grid span {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--chocolate);
    padding: 6px 12px;
    background: var(--warm-white);
    border-radius: 4px;
    border: 1px solid var(--gold-20);
    text-align: center;
}

/* ---- Utility Classes ---- */
.text-gold {
    color: var(--gold);
}

.text-bold {
    font-weight: 700;
}

.link-gold {
    color: var(--gold);
    font-weight: 700;
}

.mt-8 {
    margin-top: 8px;
}

.mt-16 {
    margin-top: 16px;
}

.mt-24 {
    margin-top: 24px;
}

.mt-32 {
    margin-top: 32px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-20 {
    margin-bottom: 20px;
}

.ml-0 {
    margin-left: 0;
}

.text-left {
    text-align: left;
}

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

.max-width-780 {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.max-width-900 {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.max-width-480 {
    max-width: 480px;
}

.bg-warm-white {
    background: var(--warm-white);
}

.padding-64 {
    padding: 64px 24px;
}

.card-spacing {
    margin-top: 16px;
    display: inline-block;
}

.faq-list-style {
    padding-left: 20px;
    margin-top: 8px;
    line-height: 1.8;
}

.body-text {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--chocolate);
}

.body-text-normal {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.9;
    color: var(--chocolate);
}

.body-text-small {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--chocolate);
    opacity: 0.85;
}

.italic-muted {
    font-family: var(--font-body);
    font-style: italic;
    color: var(--chocolate);
    opacity: 0.8;
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--chocolate);
    margin-bottom: 8px;
}

.location-heading {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--chocolate);
    margin-bottom: 20px;
}

.location-subheading {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--chocolate);
    margin: 32px 0 16px;
}
