/* Explain: Styling for buttons, brand logo, badges, hero sections, cards, and floating action buttons. */
/* ================= Buttons ================= */
.btn-call,
.btn-wa,
.btn-outline,
.btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-call {
    background: linear-gradient(135deg, var(--primary-color), #7a0400);
    color: #fff;
    box-shadow: 0 10px 24px rgba(225, 6, 0, 0.32);
    animation: btnShake 3.4s ease-in-out infinite;
}

.btn-call:hover {
    color: #fff;
    box-shadow: 0 16px 34px rgba(225, 6, 0, 0.46);
}

.btn-wa {
    background: linear-gradient(135deg, var(--whatsapp-color), var(--whatsapp-dark));
    color: #fff;
    box-shadow: 0 10px 24px rgba(18, 140, 126, 0.25);
}

.btn-wa:hover {
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline {
    background: #fff;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: #fff;
    backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--primary-color);
}

.btn-lg {
    padding: 1rem 1.75rem;
    font-size: 1.0625rem;
}

/* Bold, eye-catching direct-call number buttons */
.btn-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.9rem 1.6rem;
    border-radius: 999px;
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.125rem;
    letter-spacing: 0.04em;
    box-shadow: 0 10px 24px rgba(225, 6, 0, 0.28);
    animation: numberPulse 2.4s ease-in-out infinite;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

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

@keyframes numberPulse {
    0%, 100% {
        box-shadow: 0 10px 24px rgba(225, 6, 0, 0.28), 0 0 0 0 rgba(225, 6, 0, 0.55);
    }
    50% {
        box-shadow: 0 10px 24px rgba(225, 6, 0, 0.28), 0 0 0 12px rgba(225, 6, 0, 0);
    }
}

.btn-call.is-loading {
    opacity: 0.65;
}

/* Attention-grabbing shake for call buttons */
@keyframes btnShake {
    0%, 84%, 100% { transform: translateX(0) rotate(0deg); }
    86% { transform: translateX(-4px) rotate(-1.2deg); }
    88% { transform: translateX(4px) rotate(1.2deg); }
    90% { transform: translateX(-4px) rotate(-1.2deg); }
    92% { transform: translateX(4px) rotate(1.2deg); }
    94% { transform: translateX(-3px) rotate(-0.8deg); }
    96% { transform: translateX(3px) rotate(0.8deg); }
    98% { transform: translateX(-1px) rotate(0deg); }
}

/* ================= Brand / logo ================= */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.brand__emblem {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    flex: none;
    color: #fff;
    font-size: 1.35rem;
    background: linear-gradient(140deg, #ff2419 0%, var(--primary-color) 46%, #8a0400 100%);
    border-radius: 16px 16px 16px 5px;
    box-shadow: 0 10px 22px rgba(225, 6, 0, 0.36);
    overflow: hidden;
}

.brand__emblem::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 34%, rgba(255, 255, 255, 0.65) 50%, transparent 66%);
    transform: translateX(-130%);
    animation: brandShine 5s ease-in-out infinite;
}

@keyframes brandShine {
    0%, 72%, 100% { transform: translateX(-130%); }
    88% { transform: translateX(130%); }
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand__name {
    position: relative;
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: -0.01em;
    color: var(--dark-color);
    background-image: linear-gradient(100deg, var(--dark-color) 0%, var(--dark-color) 38%, #ff5a4d 50%, var(--dark-color) 62%, var(--dark-color) 100%);
    background-size: 230% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 7px rgba(225, 6, 0, 0.45));
    animation: brandShimmer 4.5s ease-in-out infinite, brandFloat 5s ease-in-out infinite, brandGlowPulse 3s ease-in-out infinite;
    will-change: background-position, transform;
}

@keyframes brandShimmer {
    0% { background-position: 130% 0; }
    60%, 100% { background-position: -130% 0; }
}

@keyframes brandFloat {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    20% { transform: translate3d(-0.5px, -0.5px, 0) rotate(-0.8deg); }
    40% { transform: translate3d(0.5px, 0.5px, 0) rotate(0.8deg); }
    60% { transform: translate3d(-0.5px, 0, 0) rotate(-0.5deg); }
    80% { transform: translate3d(0.5px, 0, 0) rotate(0.5deg); }
}

@keyframes brandGlowPulse {
    0%, 100% { filter: drop-shadow(0 0 6px rgba(225, 6, 0, 0.4)); }
    50% { filter: drop-shadow(0 0 12px rgba(225, 6, 0, 0.75)); }
}

.brand__accent {
    color: var(--primary-color);
    -webkit-text-fill-color: var(--primary-color);
    text-shadow: 0 0 10px rgba(225, 6, 0, 0.55);
}

.brand__tag {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.15rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
}

.brand__dot {
    width: 6px;
    height: 6px;
    flex: none;
    border-radius: 999px;
    background: var(--primary-color);
}

.brand--light .brand__name {
    color: #fff;
    background-image: linear-gradient(100deg, #ffffff 0%, #ffffff 38%, var(--primary-color) 50%, #ffffff 62%, #ffffff 100%);
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(225, 6, 0, 0.6));
}

.brand--light .brand__tag {
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 400px) {
    .brand__emblem {
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
    }

    .brand__name {
        font-size: 1.12rem;
    }
}

/* ================= Badges ================= */
.eyebrow {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: 999px;
    background: rgba(225, 6, 0, 0.09);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.8rem;
}

.hotline-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(225, 6, 0, 0.3);
}

.brand-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--dark-color);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.brand-chip:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(225, 6, 0, 0.14);
    transform: translateY(-2px);
}

/* ================= Hero ================= */
.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    overflow: hidden;
    min-height: 560px;
}

.hero__bg,
.page-hero__bg,
.hotline-banner__img {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(105deg, rgba(6, 6, 6, 0.96) 0%, rgba(18, 18, 20, 0.9) 46%, rgba(150, 8, 4, 0.84) 100%);
}

.hero__content {
    position: relative;
    z-index: 1;
    padding-block: 4rem;
}

.page-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    overflow: hidden;
    min-height: 360px;
}

.page-hero__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(115deg, rgba(6, 6, 6, 0.95), rgba(150, 8, 4, 0.86));
}

.page-hero__content {
    position: relative;
    z-index: 1;
    padding-block: 3.5rem;
}

/* ================= Hotline banner ================= */
.hotline-banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 280px;
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-lg);
}

.hotline-banner__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(120deg, rgba(6, 6, 6, 0.92), rgba(190, 8, 4, 0.78));
}

.hotline-banner__content {
    position: relative;
    z-index: 1;
    color: #fff;
}

.hotline-banner__title {
    font-weight: 700;
    font-size: 1.125rem;
}

.hotline-banner__number {
    display: inline-block;
    margin-top: 0.25rem;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(2.75rem, 9vw, 4.5rem);
    line-height: 1.1;
    letter-spacing: 0.04em;
    color: #fff;
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.hotline-banner__sub {
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

/* ================= Cards ================= */
.service-card,
.feature-card,
.step-card,
.review-card,
.panel,
.service-detail {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    padding: 1.5rem;
    height: 100%;
}

.service-card {
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

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

.service-icon,
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    flex: none;
    border-radius: 1rem;
    background: linear-gradient(140deg, var(--primary-color), #7a0400 55%, var(--dark-color));
    color: #fff;
    font-size: 1.5rem;
}

.feature-icon {
    width: 52px;
    height: 52px;
    font-size: 1.25rem;
}

.card-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: auto;
    padding: 0.75rem 1rem;
    border-radius: 0.875rem;
    background: rgba(225, 6, 0, 0.08);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.25s ease, color 0.25s ease;
}

.card-call:hover {
    background: var(--primary-color);
    color: #fff;
}

.step-card {
    position: relative;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary-color), #7a0400);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.25rem;
}

.review-card {
    display: flex;
    flex-direction: column;
}

/* ================= Service detail ================= */
.service-detail {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-detail__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface-alt);
}

.service-detail__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-detail__badge {
    position: absolute;
    bottom: 0.875rem;
    inset-inline-start: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    border-radius: 999px;
    background: rgba(225, 6, 0, 0.95);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
}

.service-detail__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* ================= CTA / disclaimer ================= */
.cta-box {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 3rem 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    background: linear-gradient(120deg, var(--dark-color) 0%, #1c1c20 42%, var(--primary-color) 100%);
}

.cta-box__content {
    position: relative;
    z-index: 1;
    max-width: 60rem;
    margin-inline: auto;
}

.disclaimer-box {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-inline-start: 5px solid var(--primary-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

/* ================= About / stats ================= */
.about-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.about-img__badge {
    position: absolute;
    bottom: 1rem;
    inset-inline-start: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-radius: 999px;
    background: rgba(225, 6, 0, 0.95);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.stat-box {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem;
    text-align: center;
}

.stat-box__value {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1.2;
    color: var(--primary-color);
}

.stat-box__label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ================= Contact ================= */
.contact-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
}

.contact-row__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: none;
    border-radius: 0.875rem;
    background: rgba(225, 6, 0, 0.08);
    color: var(--primary-color);
    font-size: 1.125rem;
}

.contact-row__icon--red {
    background: rgba(225, 6, 0, 0.1);
    color: var(--primary-color);
}

.contact-row__icon--wa {
    background: rgba(37, 211, 102, 0.12);
    color: var(--whatsapp-dark);
}

.contact-row__label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.contact-row__value {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.0625rem;
    color: var(--text-color);
}

.form-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}

.form-msg {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    font-weight: 700;
}

.form-msg--ok {
    color: #15803d;
}

.form-msg--err {
    color: #b91c1c;
}

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

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

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

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

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

.faq-answer {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ================= Navigation / footer / FAB ================= */
.nav-link {
    display: inline-block;
    padding: 0.5rem 0.875rem;
    border-radius: 0.75rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
    background: var(--surface-color);
    color: var(--primary-color);
}

.mobile-link {
    display: block;
    padding: 0.875rem 0.25rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-link:hover {
    color: var(--primary-color);
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.78);
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #fff;
}

.fab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease;
}

.fab:hover {
    transform: scale(1.08);
    color: #fff;
}

.fab-call {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    animation: pulseRing 2.6s infinite, btnShake 3.4s ease-in-out infinite;
}

.fab-wa {
    background: linear-gradient(135deg, var(--whatsapp-color), var(--whatsapp-dark));
    animation: pulseRingWa 2.6s infinite;
}

.fab-wa-pill {
    width: auto;
    height: auto;
    gap: 0.55rem;
    padding: 0.65rem 1.15rem;
    font-size: 1.35rem;
    white-space: nowrap;
    animation: pulseRingWa 2.6s infinite, btnShake 4.5s ease-in-out infinite;
}

.fab-wa-pill__num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
}

@keyframes pulseRingWa {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes pulseRing {
    0% { box-shadow: 0 0 0 0 rgba(225, 6, 0, 0.55); }
    70% { box-shadow: 0 0 0 16px rgba(225, 6, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(225, 6, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .btn-call,
    .btn-number,
    .fab-call,
    .fab-wa-pill,
    .brand__name,
    .brand__emblem::after {
        animation: none;
    }
}