/* Explain: Styles for various UI components like buttons, cards, and forms. */
/* ============ Buttons ============ */
.btn-call,
.btn-whatsapp,
.btn-primary,
.btn-outline-dark,
.btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 48px;
    padding: .78rem 1.35rem;
    border-radius: 999px;
    border: 2px solid transparent;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .95rem;
    text-align: center;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}

.btn-call {
    background: linear-gradient(135deg, var(--hotline-color), var(--hotline-dark));
    color: #fff;
    box-shadow: 0 10px 22px rgba(216, 31, 54, .28);
}

.btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(216, 31, 54, .38);
}

/* ============ Shiny hotline button (nav) ============ */
.btn-hotline-glow {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--hotline-color), var(--hotline-dark));
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .38);
    box-shadow: 0 8px 20px rgba(216, 31, 54, .35);
    animation: hotlinePulse 2.4s ease-in-out infinite, hotlineShake 4.2s ease-in-out infinite;
}

.btn-hotline-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 55%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .7) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-22deg);
    animation: hotlineShine 3s ease-in-out infinite;
    pointer-events: none;
}

.btn-hotline-glow i {
    position: relative;
    z-index: 2;
}

@keyframes hotlineShine {
    0% { left: -80%; }
    55%, 100% { left: 130%; }
}

@keyframes hotlinePulse {
    0%, 100% {
        box-shadow: 0 8px 20px rgba(216, 31, 54, .35), 0 0 0 0 rgba(216, 31, 54, .5);
    }
    50% {
        box-shadow: 0 10px 26px rgba(216, 31, 54, .5), 0 0 0 12px rgba(216, 31, 54, 0);
    }
}

@keyframes hotlineShake {
    0%, 88%, 100% { transform: rotate(0deg) scale(1); }
    90% { transform: rotate(-3deg) scale(1.06); }
    92% { transform: rotate(3deg) scale(1.06); }
    94% { transform: rotate(-3deg) scale(1.06); }
    96% { transform: rotate(2deg) scale(1.03); }
    98% { transform: rotate(-1deg) scale(1.01); }
}

@media (prefers-reduced-motion: reduce) {
    .btn-hotline-glow,
    .btn-hotline-glow::before {
        animation: none;
    }
}

.btn-whatsapp {
    background: var(--whatsapp-color);
    color: #fff;
    box-shadow: 0 10px 22px rgba(37, 211, 102, .28);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(37, 211, 102, .36);
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 10px 22px rgba(11, 79, 158, .22);
}

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

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

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

.btn-outline-light {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border-color: rgba(255, 255, 255, .55);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, .24);
}

/* ============ Hotline badge ============ */
.hotline-badge {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    background: linear-gradient(135deg, var(--hotline-color), var(--hotline-dark));
    color: #fff;
    border-radius: 999px;
    padding: .55rem 1.35rem .6rem;
    box-shadow: 0 14px 30px rgba(216, 31, 54, .32);
    border: 2px solid rgba(255, 255, 255, .25);
}

.hotline-badge > i {
    font-size: 1.4rem;
}

.hb-label {
    display: block;
    font-size: .72rem;
    opacity: .92;
    line-height: 1.2;
}

.hb-number {
    display: block;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.55rem;
    line-height: 1.1;
    letter-spacing: 1px;
}

/* ============ Media frames & hotline tag ============ */
.media-frame {
    position: relative;
    overflow: hidden;
    background: var(--surface-2);
}

.media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hotline-tag {
    position: absolute;
    bottom: .55rem;
    inset-inline-start: .55rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: rgba(216, 31, 54, .95);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: .7rem;
    padding: .3rem .65rem;
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .28);
    white-space: nowrap;
}

/* ============ Hero ============ */
.hero-section {
    position: relative;
    overflow: hidden;
    background: #051223;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 18, 35, .78) 0%, rgba(5, 18, 35, .88) 55%, rgba(5, 18, 35, .96) 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    padding: .4rem 1rem;
    font-size: .82rem;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(1.75rem, 5vw, 3.1rem);
    margin-top: 1.15rem;
    color: #fff;
}

.hero-text {
    margin-top: 1rem;
    font-size: clamp(.98rem, 2.2vw, 1.15rem);
    color: rgba(255, 255, 255, .86);
    max-width: 42rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: 1.6rem;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.4rem;
    margin-top: 1.8rem;
    font-size: .9rem;
    color: rgba(255, 255, 255, .88);
}

.hero-points li {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.hero-points i {
    color: var(--accent-color);
}

/* ============ Section head ============ */
.section-head {
    text-align: center;
    max-width: 46rem;
    margin: 0 auto 2.4rem;
}

.section-head h2 {
    font-size: clamp(1.4rem, 3.6vw, 2.1rem);
}

.section-head p {
    color: var(--text-muted);
    margin-top: .7rem;
}

.section-eyebrow {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 800;
    font-size: .8rem;
    letter-spacing: .5px;
    margin-bottom: .5rem;
}

/* ============ Service card ============ */
.service-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

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

.service-card__body {
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    flex: 1;
}

.service-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--primary-light);
    color: var(--primary-color);
    font-size: 1.15rem;
}

.service-card__title {
    font-size: 1.1rem;
}

.service-card__desc {
    color: var(--text-muted);
    font-size: .92rem;
}

.service-card__actions {
    margin-top: auto;
    padding-top: .6rem;
}

/* ============ Feature card ============ */
.feature-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.4rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: .9rem;
}

.feature-card h3 {
    font-size: 1.05rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: .92rem;
    margin-top: .45rem;
}

/* ============ Steps ============ */
.step-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.2rem;
    height: 100%;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    margin: 0 auto .8rem;
    background: var(--primary-color);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.15rem;
}

.step-card h3 {
    font-size: 1.05rem;
}

.step-card p {
    color: var(--text-muted);
    font-size: .92rem;
    margin-top: .45rem;
}

/* ============ Brand chips ============ */
.brand-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem 1rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border-color);
    font-weight: 700;
    font-size: .9rem;
    color: var(--text-color);
    box-shadow: var(--shadow-sm);
}

.brand-chip i {
    color: var(--primary-color);
    font-size: .8rem;
}

.brand-note {
    text-align: center;
    color: var(--text-muted);
    font-size: .85rem;
    margin-top: 1.5rem;
    max-width: 46rem;
    margin-inline: auto;
}

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

.faq-item + .faq-item {
    margin-top: .75rem;
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.05rem 1.15rem;
    background: none;
    border: 0;
    cursor: pointer;
    text-align: start;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-color);
}

.faq-q i {
    color: var(--primary-color);
    transition: transform .25s ease;
    flex-shrink: 0;
}

.faq-a {
    padding: 0 1.15rem 1.15rem;
    color: var(--text-muted);
    font-size: .94rem;
}

/* ============ CTA band ============ */
.cta-band {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #071a30, var(--primary-color));
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.4rem;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.cta-band h2 {
    color: #fff;
    font-size: clamp(1.35rem, 3.4vw, 2rem);
}

.cta-band p {
    color: rgba(255, 255, 255, .85);
    margin-top: .8rem;
    max-width: 40rem;
    margin-inline: auto;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .7rem;
    margin-top: 1.6rem;
}

/* ============ Disclaimer ============ */
.disclaimer-box {
    border: 1px dashed var(--hotline-color);
    background: #fff6f7;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.disclaimer-box h2 {
    font-size: 1.15rem;
    color: var(--hotline-dark);
}

.disclaimer-box p {
    color: var(--text-muted);
    font-size: .92rem;
    margin-top: .7rem;
}

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

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

.form-status {
    min-height: 1.4rem;
    font-weight: 700;
    font-size: .95rem;
}

.form-status.is-success {
    color: #0f7a3d;
}

.form-status.is-error {
    color: var(--hotline-color);
}

/* ============ Contact method card ============ */
.contact-card {
    display: flex;
    align-items: center;
    gap: .9rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.1rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.contact-card__icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    color: #fff;
    flex-shrink: 0;
}

.contact-card__icon--call {
    background: linear-gradient(135deg, var(--hotline-color), var(--hotline-dark));
}

.contact-card__icon--wa {
    background: var(--whatsapp-color);
}

.contact-card__icon--hot {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

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

.contact-card__value {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    direction: ltr;
    text-align: start;
}

/* ============ Service detail row ============ */
.detail-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.detail-card__body {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: .7rem;
    flex: 1;
}

.detail-card ul {
    display: grid;
    gap: .4rem;
}

.detail-card li {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    color: var(--text-muted);
    font-size: .92rem;
}

.detail-card li i {
    color: var(--secondary-color);
    margin-top: .45rem;
    font-size: .7rem;
}

.detail-brands {
    font-size: .88rem;
    color: var(--text-muted);
    background: var(--surface-color);
    border-radius: 12px;
    padding: .6rem .8rem;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: auto;
    padding-top: .5rem;
}

.detail-actions > * {
    flex: 1 1 auto;
}

/* ============ Glowing brand lockup (header) ============ */
.site-header .brand-lockup {
    position: relative;
    gap: .8rem;
    padding-block: .35rem;
    padding-inline: .5rem 1.05rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(11, 79, 158, .10), rgba(15, 124, 116, .14));
    border: 1.5px solid rgba(11, 79, 158, .22);
    animation: brandGlow 3.4s ease-in-out infinite, brandShake 5.6s ease-in-out infinite;
    transition: background-color .3s ease, border-color .3s ease;
}

.site-header .brand-lockup:hover {
    background: linear-gradient(135deg, rgba(11, 79, 158, .20), rgba(15, 124, 116, .24));
    border-color: rgba(11, 79, 158, .5);
}

.site-header .brand-logo {
    position: relative;
    z-index: 1;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 1.35rem;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    animation: logoPulse 2.6s ease-in-out infinite;
}

.site-header .brand-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -70%;
    width: 55%;
    height: 100%;
    background: linear-gradient(110deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .8), rgba(255, 255, 255, 0));
    transform: skewX(-22deg);
    animation: logoShine 3.4s ease-in-out infinite;
    pointer-events: none;
}

.site-header .brand-logo i {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .28));
}

.site-header .brand-name {
    font-size: 1.18rem;
    font-weight: 900;
    color: var(--primary-color);
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color) 50%, var(--primary-color));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: brandTextFlow 5s linear infinite;
}

.site-header .brand-sub {
    font-size: .74rem;
    font-weight: 600;
    color: var(--text-muted);
}

@keyframes brandGlow {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(11, 79, 158, .16), 0 0 0 0 rgba(245, 158, 11, 0);
    }
    50% {
        box-shadow: 0 10px 32px rgba(11, 79, 158, .30), 0 0 0 6px rgba(245, 158, 11, .12);
    }
}

@keyframes brandShake {
    0%, 90%, 100% { transform: translateX(0) rotate(0deg); }
    92% { transform: translateX(-2px) rotate(-1deg); }
    94% { transform: translateX(2px) rotate(1deg); }
    96% { transform: translateX(-1.5px) rotate(-.6deg); }
    98% { transform: translateX(1.5px) rotate(.6deg); }
}

@keyframes logoPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(11, 79, 158, .45), 0 8px 20px rgba(11, 79, 158, .35);
    }
    50% {
        box-shadow: 0 0 0 9px rgba(11, 79, 158, 0), 0 10px 26px rgba(11, 79, 158, .5);
    }
}

@keyframes logoShine {
    0% { left: -70%; }
    55%, 100% { left: 130%; }
}

@keyframes brandTextFlow {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@media (prefers-reduced-motion: reduce) {
    .site-header .brand-lockup,
    .site-header .brand-logo,
    .site-header .brand-logo::before,
    .site-header .brand-name {
        animation: none;
    }
}