/**
 * Toivo Estate — Property Management Styles
 *
 * @package ToivoEstate
 */

/* ============================================================
   THE PROBLEM
   ============================================================ */
.te-problem {
    padding: 100px 0;
}

.te-problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.te-problem-content .te-label {
    margin-bottom: 16px;
}

.te-problem-content h2 {
    margin-bottom: 16px;
}

.te-problem-content > p {
    font-size: 0.95rem;
    margin-bottom: 32px;
    line-height: 1.8;
}

.te-pain-points {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.te-pain-point {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--te-sand);
    border-radius: var(--te-radius-lg);
    transition: all 0.3s var(--te-ease);
}

.te-pain-point:hover {
    background: var(--te-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.te-pain-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--te-white);
    border-radius: var(--te-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.te-pain-point:hover .te-pain-icon {
    background: var(--te-copper-muted);
}

.te-pain-text h4 {
    font-size: 0.92rem;
    margin-bottom: 4px;
}

.te-pain-text p {
    font-size: 0.82rem;
    margin: 0;
    line-height: 1.6;
}

/* Solution Visual */
.te-solution-visual {
    position: relative;
}

.te-solution-card {
    background: var(--te-charcoal);
    border-radius: var(--te-radius-xl);
    padding: 40px;
    color: var(--te-white);
}

.te-solution-card h3 {
    font-family: var(--te-serif);
    font-weight: 400;
    color: var(--te-white);
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.te-solution-card h3 em {
    color: var(--te-copper);
    font-style: italic;
}

.te-solution-checks {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.te-sol-check {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
}

.te-sol-check-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: rgba(46, 139, 87, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.te-sol-check-icon svg {
    width: 12px;
    height: 12px;
    color: var(--te-green);
}

/* Floating Card */
.te-solution-float {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--te-white);
    border-radius: var(--te-radius-lg);
    padding: 18px 22px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 14px;
    animation: te-float 4s ease-in-out infinite;
}

@keyframes te-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.te-solution-float-icon {
    width: 44px;
    height: 44px;
    background: var(--te-green-bg);
    border-radius: var(--te-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.te-solution-float strong {
    display: block;
    font-size: 0.88rem;
    color: var(--te-charcoal);
}

.te-solution-float small {
    font-size: 0.72rem;
    color: var(--te-gray-400);
}

/* ============================================================
   SERVICES DETAIL
   ============================================================ */
.te-services-detail {
    padding: 100px 0;
    background: var(--te-off-white);
}

.te-sd-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 60px;
}

.te-sd-header h2 {
    margin-bottom: 16px;
}

.te-sd-header p {
    font-size: 1rem;
}

.te-sd-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.te-sd-card {
    background: var(--te-white);
    border: 1px solid var(--te-gray-200);
    border-radius: var(--te-radius-xl);
    padding: 36px 30px;
    transition: all 0.4s var(--te-ease);
    position: relative;
    overflow: hidden;
}

.te-sd-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--te-copper);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--te-ease);
}

.te-sd-card:hover::before {
    transform: scaleX(1);
}

.te-sd-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    border-color: transparent;
}

.te-sd-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.te-sd-icon {
    width: 52px;
    height: 52px;
    background: var(--te-copper-muted);
    border-radius: var(--te-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.te-sd-card-header h3 {
    font-size: 1.05rem;
}

.te-sd-card > p {
    font-size: 0.88rem;
    margin-bottom: 18px;
    line-height: 1.75;
}

.te-sd-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.te-sd-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--te-gray-600);
}

.te-sd-list li .te-sd-check {
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: var(--te-green-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.te-sd-list li .te-sd-check svg {
    width: 10px;
    height: 10px;
    color: var(--te-green);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.te-how-it-works {
    padding: 100px 0;
}

.te-hiw-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 60px;
}

.te-hiw-header h2 {
    margin-bottom: 16px;
}

.te-hiw-header p {
    font-size: 1rem;
}

.te-hiw-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

.te-hiw-steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: var(--te-gray-200);
    z-index: 0;
}

.te-hiw-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.te-hiw-num {
    width: 72px;
    height: 72px;
    background: var(--te-white);
    border: 2px solid var(--te-copper);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: var(--te-serif);
    font-size: 1.5rem;
    color: var(--te-copper);
    font-weight: 400;
}

.te-hiw-step h4 {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.te-hiw-step p {
    font-size: 0.82rem;
    margin: 0;
    line-height: 1.7;
    max-width: 220px;
    margin: 0 auto;
}

/* ============================================================
   REPORT PREVIEW
   ============================================================ */
.te-report-preview {
    padding: 100px 0;
    background: var(--te-charcoal);
    position: relative;
    overflow: hidden;
}

.te-report-preview::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(184, 115, 51, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.te-report-preview .te-container {
    position: relative;
    z-index: 1;
}

.te-report-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.te-report-content h2 {
    font-family: var(--te-serif);
    font-weight: 400;
    color: var(--te-white);
    margin-bottom: 16px;
}

.te-report-content h2 em {
    color: var(--te-copper);
    font-style: italic;
}

.te-report-content > p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 32px;
    line-height: 1.8;
}

.te-report-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.te-report-feat {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.te-report-feat-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(184, 115, 51, 0.1);
    border-radius: var(--te-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.te-report-feat h4 {
    color: var(--te-white);
    font-size: 0.92rem;
    margin-bottom: 4px;
}

.te-report-feat p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
    line-height: 1.6;
}

/* Mock Report */
.te-mock-report {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--te-radius-xl);
    overflow: hidden;
}

.te-mock-report-header {
    background: rgba(255, 255, 255, 0.06);
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.te-mock-report-header h4 {
    color: var(--te-white);
    font-size: 0.92rem;
}

.te-mock-report-header span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
}

.te-mock-report-body {
    padding: 24px;
}

.te-report-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.te-report-row:last-child {
    border-bottom: none;
}

.te-report-row-label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

.te-report-row-value {
    font-size: 0.88rem;
    color: var(--te-white);
    font-weight: 600;
}

.te-report-row-value.te-copper {
    color: var(--te-copper);
}

.te-report-row-value.te-green {
    color: var(--te-green);
}

.te-report-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 16px;
}

.te-report-photo {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--te-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.te-report-photo svg {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.15);
}

/* ============================================================
   PM PRICING
   ============================================================ */
.te-pm-pricing {
    padding: 100px 0;
    background: var(--te-off-white);
}

.te-pm-pricing-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 60px;
}

.te-pm-pricing-header h2 {
    margin-bottom: 16px;
}

.te-pm-pricing-header p {
    font-size: 1rem;
}

.te-pm-pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.te-plan-card {
    background: var(--te-white);
    border: 1px solid var(--te-gray-200);
    border-radius: var(--te-radius-xl);
    padding: 36px 28px;
    text-align: center;
    transition: all 0.4s var(--te-ease);
    position: relative;
}

.te-plan-card.te-featured {
    border-color: var(--te-copper);
    box-shadow: 0 8px 32px rgba(184, 115, 51, 0.12);
}

.te-plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.te-plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--te-copper);
    color: var(--te-white);
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.te-plan-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.te-plan-card .te-plan-desc {
    font-size: 0.82rem;
    color: var(--te-gray-400);
    margin-bottom: 20px;
}

.te-plan-price {
    font-family: var(--te-serif);
    font-size: 2.2rem;
    color: var(--te-charcoal);
    font-weight: 400;
    margin-bottom: 4px;
}

.te-plan-price small {
    font-family: var(--te-font);
    font-size: 0.82rem;
    color: var(--te-gray-400);
    font-weight: 400;
}

.te-plan-period {
    font-size: 0.75rem;
    color: var(--te-gray-400);
    margin-bottom: 24px;
}

.te-plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    margin-bottom: 28px;
}

.te-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--te-gray-600);
}

.te-plan-features li .te-pf-check {
    width: 18px;
    height: 18px;
    min-width: 18px;
    background: var(--te-green-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.te-plan-features li .te-pf-check svg {
    width: 10px;
    height: 10px;
    color: var(--te-green);
}

.te-plan-features li.te-disabled {
    color: var(--te-gray-400);
}

.te-plan-features li.te-disabled .te-pf-check {
    background: var(--te-gray-100);
}

.te-plan-features li.te-disabled .te-pf-check svg {
    color: var(--te-gray-300);
}

.te-plan-btn {
    width: 100%;
    justify-content: center;
}

/* ============================================================
   FAQ
   ============================================================ */
.te-faq {
    padding: 100px 0;
}

.te-faq-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
}

.te-faq-header h2 {
    margin-bottom: 14px;
}

.te-faq-header p {
    font-size: 0.95rem;
}

.te-faq-list {
    max-width: 740px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.te-faq-item {
    background: var(--te-sand);
    border: 1px solid var(--te-gray-200);
    border-radius: var(--te-radius-lg);
    overflow: hidden;
    transition: all 0.3s var(--te-ease);
}

.te-faq-item:hover {
    border-color: var(--te-copper);
}

.te-faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    color: var(--te-charcoal);
    font-size: 0.92rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.te-faq-question:hover {
    color: var(--te-copper-dark);
}

.te-faq-toggle {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: var(--te-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--te-copper);
    transition: all 0.3s;
}

.te-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--te-ease);
}

.te-faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 0.88rem;
    color: var(--te-gray-500);
    line-height: 1.8;
}

.te-faq-item.open .te-faq-answer {
    max-height: 300px;
}

.te-faq-item.open .te-faq-toggle {
    background: var(--te-copper-muted);
    transform: rotate(45deg);
}

/* ============================================================
   TESTIMONIALS (standalone loading — matches homepage.css)
   ============================================================ */
.te-testimonials {
    padding: 100px 0;
}

.te-test-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 60px;
}

.te-test-header h2 {
    margin-bottom: 16px;
}

.te-test-header p {
    font-size: 1rem;
}

.te-test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.te-test-card {
    background: var(--te-white);
    border: 1px solid var(--te-gray-200);
    border-radius: var(--te-radius-xl);
    padding: 32px 28px;
    transition: all 0.4s var(--te-ease);
}

.te-test-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    border-color: transparent;
}

.te-test-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.te-test-stars span {
    font-size: 0.92rem;
    color: var(--te-copper);
}

.te-test-card blockquote {
    font-size: 0.88rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--te-gray-600);
    margin: 0 0 20px;
    padding: 0;
    border: none;
}

.te-test-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.te-test-avatar {
    width: 40px;
    height: 40px;
    background: var(--te-copper-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--te-serif);
    font-size: 0.95rem;
    color: var(--te-copper-dark);
}

.te-test-info strong {
    display: block;
    font-size: 0.85rem;
    color: var(--te-charcoal);
}

.te-test-info span {
    font-size: 0.75rem;
    color: var(--te-gray-400);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .te-problem-grid,
    .te-report-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .te-sd-grid {
        grid-template-columns: 1fr;
    }

    .te-hiw-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .te-hiw-steps::before {
        display: none;
    }

    .te-pm-pricing-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .te-test-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .te-problem,
    .te-services-detail,
    .te-how-it-works,
    .te-report-preview,
    .te-pm-pricing,
    .te-faq,
    .te-testimonials {
        padding: 72px 0;
    }

    .te-hiw-steps {
        grid-template-columns: 1fr;
    }

    .te-solution-float {
        display: none;
    }

    .te-sd-header,
    .te-hiw-header,
    .te-pm-pricing-header,
    .te-faq-header {
        margin-bottom: 40px;
    }
}
