/*
 * business.css — Easy Tidings Business/Senior Living Page
 * Copyright SandCat LLC, 2024. All Rights Reserved.
 *
 * PURPOSE: Page-specific styles for business.blade.php
 * REQUIRES: base.css loaded first (provides CSS variables, fonts, 
 *           buttons, nav, footer, label-pill, section, .inner)
 *
 */

/* ============================================================
   HERO
   ============================================================ */
.hero {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 96px 40px 88px;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 80px;
    align-items: center;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.6rem, 4.5vw, 3.8rem);
    font-weight: 600;
    color: var(--navy);
    line-height: 1.08;
    margin-bottom: 22px;
}

.hero h1 em { font-style: italic; color: var(--blue); }

.hero-sub {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.72;
    margin-bottom: 36px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

/* ── Hero Card (stats panel) ── */
.hero-card {
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    color: var(--white);
}

.hero-card-label {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-soft);
    font-weight: 500;
    margin-bottom: 20px;
    font-family: 'DM Sans', sans-serif;
}

.hero-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 28px;
}

.hero-stat .num {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat .num em { font-style: italic; color: var(--blue-soft); }

.hero-stat p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    font-family: 'DM Sans', sans-serif;
}

.hero-card-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
}

.hero-card-quote {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
    margin-bottom: 10px;
}

.hero-card-attr {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'DM Sans', sans-serif;
}

/* ============================================================
   THE PROBLEM SECTION
   ============================================================ */
.problem-section {
    background: var(--off-white);
    padding: 88px 40px;
}

.problem-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.problem-copy h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 600;
    color: var(--navy);
    line-height: 1.12;
    margin-bottom: 18px;
}

.problem-copy h2 em { font-style: italic; color: var(--blue); }

.problem-copy p {
    font-family: 'Lora', serif;
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 16px;
}

/* Stat cards column */
.stat-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 24px;
    border-left: 3px solid var(--blue);
}

.stat-card .stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
}

.stat-card p {
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.5;
    font-family: 'DM Sans', sans-serif;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 88px 40px;
}

.how-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.how-cell {
    background: var(--white);
    padding: 40px 36px;
}

.how-num {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 600;
    color: var(--blue);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 16px;
}

.how-cell h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
}

.how-cell p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
    font-family: 'DM Sans', sans-serif;
}

/* ============================================================
   PARTNERSHIP MODELS
   ============================================================ */
.models-section {
    background: var(--off-white);
    padding: 88px 40px;
}

.models-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.model-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.model-card:hover {
    box-shadow: 0 8px 40px rgba(26, 38, 64, 0.09);
    transform: translateY(-2px);
}

.model-card.featured {
    border-color: var(--navy);
    background: var(--navy);
}

.model-icon {
    width: 52px;
    height: 52px;
    background: var(--blue-pale);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.model-card.featured .model-icon {
    background: rgba(255, 255, 255, 0.12);
}

.model-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 4px;
    font-family: 'DM Sans', sans-serif;
}

.model-tag.referral  { background: var(--blue-pale); color: var(--blue); }
.model-tag.sponsored { background: rgba(26, 38, 64, 0.08); color: var(--navy); }
.model-card.featured .model-tag.sponsored {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
}

.model-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.2;
}

.model-card h3 em            { font-style: italic; color: var(--blue); }
.model-card.featured h3       { color: var(--white); }
.model-card.featured h3 em    { color: var(--blue-soft); }

.model-card p {
    font-family: 'Lora', serif;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.model-card.featured p { color: rgba(255, 255, 255, 0.65); }

.model-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    padding: 0;
}

.model-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    font-family: 'DM Sans', sans-serif;
}

.model-card.featured .model-features li { color: rgba(255, 255, 255, 0.7); }

.model-features li::before {
    content: '';
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--blue-pale);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='4 9 7.5 12.5 14 6' stroke='%234a90c4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
}

.model-card.featured .model-features li::before {
    background-color: rgba(255, 255, 255, 0.12);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='4 9 7.5 12.5 14 6' stroke='rgba(255,255,255,0.8)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.model-cta {
    display: block;
    text-align: center;
    padding: 13px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.2s;
    font-family: 'DM Sans', sans-serif;
}

.model-cta.outline {
    border: 1.5px solid var(--navy);
    color: var(--navy);
}

.model-cta.outline:hover { background: var(--navy); color: var(--white); }

.model-cta.solid {
    background: var(--white);
    color: var(--navy);
}

.model-cta.solid:hover { opacity: 0.92; }

/* ============================================================
   WHAT RESIDENTS GET
   ============================================================ */
.residents-section {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 88px 40px;
}

.residents-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.resident-card {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 32px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.resident-icon {
    font-size: 1.4rem;
    width: 46px;
    min-width: 46px;
    height: 46px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resident-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.resident-card p {
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-family: 'DM Sans', sans-serif;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
    background: var(--off-white);
    padding: 88px 40px;
}

.testimonials-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.testimonial-card blockquote {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.7;
    flex: 1;
    margin: 0;
    padding: 0;
    border: none;
}

.testimonial-card blockquote::before {
    content: '\201C';
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--blue);
    line-height: 0;
    vertical-align: -0.5rem;
    margin-right: 4px;
}

.testimonial-attr {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    border-top: 1px solid var(--border);
    padding-top: 14px;
    font-family: 'DM Sans', sans-serif;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 88px 40px;
}

.faq-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.faq-item-mini {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
}

.faq-item-mini h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
}

.faq-item-mini p {
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.65;
    font-family: 'DM Sans', sans-serif;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
    background: var(--navy);
    padding: 96px 40px;
}

.final-cta-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.final-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.12;
    margin-bottom: 18px;
}

.final-cta h2 em { font-style: italic; color: var(--blue-soft); }

.final-cta p {
    font-family: 'Lora', serif;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.72;
    margin-bottom: 40px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.final-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    font-family: 'DM Sans', sans-serif;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
    .hero-inner          { grid-template-columns: 1fr; gap: 48px; }
    .problem-grid        { grid-template-columns: 1fr; gap: 48px; }
    .how-grid            { grid-template-columns: 1fr; gap: 0; }
    .models-grid         { grid-template-columns: 1fr; }
    .residents-grid      { grid-template-columns: 1fr; }
    .testimonials-grid   { grid-template-columns: 1fr; }
    .faq-grid            { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .hero,
    .problem-section,
    .how-section,
    .models-section,
    .residents-section,
    .testimonials-section,
    .faq-section,
    .final-cta          { padding-left: 20px; padding-right: 20px; }

    .hero-stat-grid     { grid-template-columns: 1fr 1fr; }
    .how-grid           { border-radius: 0; }
    .model-card         { padding: 28px 24px; }
    .resident-card      { flex-direction: column; }
}