/* Explain: Styles for reusable UI components like buttons, cards, and navigation. */
/* ---------- Navigation ---------- */
.nav-link {
    display: inline-block;
    padding: .55rem .9rem;
    border-radius: .85rem;
    font-size: .95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .78);
    transition: all .3s ease;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, .1);
}

.mobile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .85rem 1rem;
    border-radius: .85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .85);
    transition: all .3s ease;
}

.mobile-link:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .85rem;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-hover);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 800;
    margin-top: 1rem;
}

.section-sub {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

/* ---------- Buttons ---------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .9rem 1.6rem;
    border-radius: .9rem;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s ease;
    box-shadow: 0 10px 24px rgba(29, 78, 216, .28);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .9rem 1.6rem;
    border-radius: .9rem;
    border: 1px solid rgba(255, 255, 255, .35);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s ease;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .12);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .9rem 1.6rem;
    border-radius: .9rem;
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-color);
    font-weight: 700;
    cursor: pointer;
    transition: all .3s ease;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ---------- Cards ---------- */
.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    background: #fff;
    transition: all .3s ease;
}

.service-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
    background: var(--primary-soft);
    color: var(--primary-color);
    font-size: 1.3rem;
}

.service-card h3 {
    margin-top: 1.25rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.service-card p {
    margin-top: .6rem;
    color: var(--text-muted);
    font-size: .95rem;
}

/* ---------- Feature rows ---------- */
.feature-row {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    transition: all .3s ease;
}

.feature-row:hover {
    background: rgba(255, 255, 255, .1);
}

.feature-row .feature-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: .85rem;
    background: var(--primary-color);
    color: #fff;
}

.feature-row h3 {
    font-size: 1.05rem;
    font-weight: 700;
}

.feature-row p {
    margin-top: .35rem;
    color: rgba(255, 255, 255, .68);
    font-size: .92rem;
}

/* ---------- Stats ---------- */
.stat-box {
    padding: 1.5rem;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--border-color);
    text-align: center;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    margin-top: .5rem;
    color: var(--text-muted);
    font-size: .9rem;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.75rem;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.testimonial-quote {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.75;
}

.testimonial-person {
    margin-top: auto;
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: .75rem;
}

.testimonial-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
}

/* ---------- FAQ ---------- */
.faq-item {
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    background: #fff;
    overflow: hidden;
}

.faq-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.35rem;
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

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

.faq-chevron {
    color: var(--primary-color);
    transition: transform .3s ease;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-body {
    padding: 0 1.35rem 1.35rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ---------- CTA band ---------- */
.cta-band {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2.5rem;
    border-radius: calc(var(--radius) + 6px);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-2) 100%);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.cta-band h2 {
    font-size: 1.6rem;
    font-weight: 800;
}

.cta-band p {
    margin-top: .6rem;
    color: rgba(255, 255, 255, .82);
}

@media (min-width: 768px) {
    .cta-band {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 3rem;
    }
    .cta-band h2 {
        font-size: 2rem;
    }
}

/* ---------- Checklist ---------- */
.check-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    color: var(--text-color);
}

.check-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-color);
    font-size: .75rem;
    margin-top: .15rem;
}

/* ---------- Forms ---------- */
.field-label {
    display: block;
    margin-bottom: .5rem;
    font-size: .9rem;
    font-weight: 700;
    color: var(--text-color);
}

.field-input {
    width: 100%;
    padding: .8rem 1rem;
    border-radius: .85rem;
    border: 1px solid var(--border-color);
    background: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: all .25s ease;
}

.field-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, .15);
}

.info-card {
    display: flex;
    gap: 1rem;
    padding: 1.15rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    background: #fff;
}

.info-card .info-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: .85rem;
    background: var(--primary-soft);
    color: var(--primary-color);
    font-size: 1.05rem;
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
    position: fixed;
    bottom: 1.25rem;
    left: 1.25rem;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .85rem;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(37, 211, 102, .38);
    transition: all .3s ease;
}

.wa-float::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #25d366;
    z-index: -1;
    animation: wa-pulse 2.6s ease-out infinite;
}

.wa-float:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 16px 34px rgba(37, 211, 102, .5);
}

.wa-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.wa-text {
    display: none;
    padding-inline-end: .35rem;
    font-size: .95rem;
}

@media (min-width: 768px) {
    .wa-text {
        display: inline;
    }
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        opacity: .55;
    }
    70% {
        transform: scale(1.7);
        opacity: 0;
    }
    100% {
        transform: scale(1.7);
        opacity: 0;
    }
}