/* Explain: Styles for reusable components, including the floating contact button positioning. */
.btn-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: #ffffff;
    font-weight: 700;
    border: none;
    border-radius: 999px;
    padding: 0.78rem 1.5rem;
    cursor: pointer;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 6px 18px rgba(242, 102, 13, 0.28);
    transition: background .2s, transform .2s;
}
.btn-main:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-main:disabled { opacity: .7; cursor: progress; }

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #ffffff;
    color: var(--secondary-color);
    font-weight: 600;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 0.72rem 1.35rem;
    cursor: pointer;
    text-decoration: none;
    transition: border-color .2s, color .2s;
}
.btn-outline:hover { border-color: var(--primary-color); color: var(--primary-color); }

.btn-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #22c55e;
    color: #ffffff;
    font-weight: 700;
    border: none;
    border-radius: 999px;
    padding: 0.74rem 1.4rem;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s;
}
.btn-wa:hover { background: #16a34a; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
}
.brand { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.brand-mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 12px;
    background: var(--primary-color); color: #ffffff; font-size: 1.05rem;
}
.brand-text { font-family: var(--font-heading); font-weight: 800; font-size: 1.3rem; color: var(--secondary-color); }
.brand-accent { color: var(--primary-color); }

.main-nav { display: none; align-items: center; gap: 1.25rem; }
@media (min-width: 992px) { .main-nav { display: flex; } }

.nav-link {
    background: none; border: none; cursor: pointer;
    font-weight: 600; color: var(--secondary-color); font-size: 0.95rem;
    text-decoration: none; padding: 0.35rem 0;
    display: inline-flex; align-items: center; gap: 0.35rem;
    transition: color .2s;
}
.nav-link:hover { color: var(--primary-color); }

.nav-dropdown { position: relative; }
.nav-menu {
    position: absolute; top: 100%; inset-inline-start: 0;
    min-width: 240px; background: #ffffff;
    border: 1px solid var(--border-color); border-radius: 14px;
    box-shadow: var(--shadow-soft); padding: 0.5rem;
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .18s, transform .18s, visibility .18s;
    z-index: 70;
}
.nav-dropdown.open .nav-menu,
.nav-dropdown:hover .nav-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu-link {
    display: block; padding: 0.55rem 0.75rem; border-radius: 9px;
    color: var(--secondary-color); text-decoration: none; font-size: 0.92rem; font-weight: 500;
}
.nav-menu-link:hover { background: var(--surface-color); color: var(--primary-color); }
.nav-dropdown-toggle .fa-chevron-down { font-size: 0.7rem; transition: transform .2s; }
.nav-dropdown.open .nav-dropdown-toggle .fa-chevron-down { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.header-cta { display: none; }
@media (min-width: 992px) { .header-cta { display: inline-flex; } }

.menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 1px solid var(--border-color);
    border-radius: 12px; background: #ffffff; color: var(--secondary-color);
    font-size: 1.1rem;
}
@media (min-width: 992px) { .menu-toggle { display: none; } }

.mobile-menu { border-top: 1px solid var(--border-color); background: #ffffff; }
.mobile-nav { display: flex; flex-direction: column; gap: 0.3rem; padding-block: 1rem 1.5rem; }
.mobile-link {
    display: block; padding: 0.7rem 0.5rem; border-radius: 10px;
    color: var(--secondary-color); font-weight: 600; text-decoration: none;
}
.mobile-link:hover { background: var(--surface-color); color: var(--primary-color); }
.mobile-group { font-family: var(--font-heading); font-weight: 700; color: var(--text-muted); font-size: 0.8rem; padding: 0.6rem 0.5rem 0.2rem; }
.mobile-cta { margin-top: 0.6rem; width: 100%; }
.mobile-contact { display: flex; gap: 0.6rem; margin-top: 0.6rem; }
.mobile-contact > * { flex: 1; }

/* Hero */
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: rgba(242, 102, 13, 0.12); color: var(--primary-hover);
    font-weight: 700; font-size: 0.82rem; padding: 0.35rem 0.85rem; border-radius: 999px;
}
.hero-title { font-size: 1.7rem; font-weight: 800; margin-top: 0.9rem; letter-spacing: -0.01em; }
@media (min-width: 768px) { .hero-title { font-size: 2.5rem; } }
.hero-sub { margin-top: 0.75rem; color: var(--text-muted); font-size: 1.05rem; }
.trust-list { list-style: none; padding: 0; margin: 1.1rem 0 0; display: flex; flex-direction: column; gap: 0.5rem; }
.trust-list li { display: flex; align-items: center; gap: 0.55rem; font-weight: 600; color: var(--secondary-color); font-size: 0.95rem; }
.trust-list i { color: var(--success-color); }

/* Lead form */
.lead-box {
    background: #ffffff; border: 1px solid var(--border-color);
    border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow-soft);
}
@media (min-width: 768px) { .lead-box { padding: 1.75rem; } }
.lf-head { margin-bottom: 1rem; }
.lf-step-label { font-size: 0.82rem; font-weight: 700; color: var(--text-muted); margin-bottom: 0.45rem; }
.lf-progress-track { height: 7px; background: var(--surface-alt); border-radius: 999px; overflow: hidden; }
.lf-progress-fill {
    display: block; height: 100%; width: 33.33%;
    background: var(--primary-color); border-radius: 999px; transition: width .3s ease;
}
.lf-question { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.9rem; }
.lf-options { display: grid; gap: 0.55rem; }
.lf-option {
    width: 100%; text-align: start;
    background: var(--surface-color); border: 1.5px solid var(--border-color);
    border-radius: 12px; padding: 0.8rem 1rem;
    font-weight: 600; color: var(--secondary-color);
    transition: border-color .18s, background .18s;
}
.lf-option:hover { border-color: var(--primary-color); background: #ffffff; }
.lf-option.is-selected { border-color: var(--primary-color); background: rgba(242, 102, 13, 0.08); }

.lf-field { display: block; font-weight: 600; font-size: 0.9rem; color: var(--secondary-color); margin-bottom: 0.8rem; }
.lf-field input,
.calc-field input {
    display: block; width: 100%; margin-top: 0.35rem;
    padding: 0.75rem 0.9rem; border: 1.5px solid var(--border-color);
    border-radius: 12px; background: #ffffff; color: var(--text-color); font-size: 1rem;
    transition: border-color .18s, box-shadow .18s;
}
.lf-field input:focus,
.calc-field input:focus {
    outline: none; border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(242, 102, 13, 0.15);
}
.lf-consent { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.9rem; line-height: 1.5; }
.lf-consent input { margin-top: 0.2rem; width: 18px; height: 18px; accent-color: var(--primary-color); flex-shrink: 0; }
.lf-consent a { color: var(--primary-color); text-decoration: underline; }
.lf-error { color: #dc2626; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.6rem; }
.lf-submit { width: 100%; }
.lf-back { background: none; border: none; color: var(--text-muted); font-weight: 600; font-size: 0.88rem; margin-top: 0.7rem; padding: 0.3rem; display: block; }
.lf-back:hover { color: var(--primary-color); }
.lf-success { text-align: center; padding: 1rem 0.5rem; }
.lf-success i { font-size: 2.5rem; color: var(--success-color); }
.lf-success h3 { margin: 0.6rem 0 0.4rem; font-size: 1.25rem; }
.lf-success p { color: var(--text-muted); }

/* Cards */
.section-head { max-width: 640px; margin-bottom: 2rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: 1.6rem; font-weight: 800; }
@media (min-width: 768px) { .section-head h2 { font-size: 2rem; } }
.section-head p { margin-top: 0.6rem; color: var(--text-muted); }

.info-card {
    background: #ffffff; border: 1px solid var(--border-color);
    border-radius: var(--radius); padding: 1.5rem; height: 100%;
    transition: transform .2s, box-shadow .2s;
}
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.info-card-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 13px;
    background: rgba(242, 102, 13, 0.12); color: var(--primary-color);
    font-size: 1.15rem; margin-bottom: 0.9rem;
}
.info-card h3 { font-size: 1.1rem; margin-bottom: 0.45rem; }
.info-card p { color: var(--text-muted); font-size: 0.95rem; }

.highlight-box {
    background: rgba(242, 102, 13, 0.08);
    border-inline-start: 4px solid var(--primary-color);
    border-radius: 12px; padding: 1.25rem 1.4rem; margin-top: 1.5rem;
}
.highlight-box p { color: var(--text-color); }

/* About */
.about-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-name { font-family: var(--font-heading); font-weight: 800; font-size: 1.3rem; color: var(--primary-color); margin-top: 0.5rem; }
.about-copy h3 { margin-top: 1.3rem; font-size: 1.05rem; }
.about-list { list-style: none; padding: 0; margin: 0.6rem 0 0; display: grid; gap: 0.45rem; }
.about-list li { display: flex; gap: 0.5rem; align-items: flex-start; color: var(--text-muted); font-size: 0.95rem; }
.about-list i { color: var(--primary-color); margin-top: 0.3rem; }
.about-cta { margin-top: 1.5rem; }

/* FAQ */
.faq-list { display: grid; gap: 0.7rem; max-width: 820px; margin-inline: auto; }
.faq-item { background: #ffffff; border: 1px solid var(--border-color); border-radius: 14px; overflow: hidden; }
.faq-item summary {
    list-style: none; cursor: pointer; padding: 1rem 1.2rem;
    font-weight: 700; color: var(--secondary-color);
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    font-family: var(--font-heading);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { transition: transform .25s; color: var(--primary-color); }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-body { padding: 0 1.2rem 1.1rem; color: var(--text-muted); font-size: 0.95rem; }
.faq-body p + p { margin-top: 0.6rem; }

/* CTA */
.cta-section { background: linear-gradient(180deg, #ffffff, var(--surface-color)); }
.cta-contacts { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.1rem; }
.cta-note { margin-top: 1rem; font-size: 0.82rem; color: var(--text-muted); }

/* Content pages */
.crumb { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.7rem; display: flex; gap: 0.4rem; }
.crumb a { color: var(--primary-color); text-decoration: none; }
.page-hero-copy h1 { font-size: 1.7rem; font-weight: 800; }
@media (min-width: 768px) { .page-hero-copy h1 { font-size: 2.2rem; } }
.page-hero-copy > p { margin-top: 0.7rem; color: var(--text-muted); }
.content-wrap { max-width: 820px; }
.content-wrap h2 { font-size: 1.35rem; margin-top: 1.9rem; }
.content-wrap h2:first-child { margin-top: 0; }
.content-wrap p { margin-top: 0.7rem; }
.content-list { margin-top: 0.8rem; padding-inline-start: 1.2rem; display: grid; gap: 0.5rem; color: var(--text-muted); }
.content-list li { line-height: 1.6; }
.content-cta { margin-top: 2rem; }

/* Calculator */
.calc-panel {
    background: #ffffff; border: 1px solid var(--border-color);
    border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-soft);
}
.calc-field { display: block; font-weight: 600; font-size: 0.9rem; color: var(--secondary-color); margin-bottom: 0.9rem; }
.calc-results { display: grid; gap: 0.8rem; }
.calc-result-row {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 0.9rem 1.1rem; background: var(--surface-color); border-radius: 12px;
}
.calc-result-row span { color: var(--text-muted); font-size: 0.92rem; }
.calc-result-row strong { font-family: var(--font-heading); font-size: 1.15rem; color: var(--secondary-color); }
.calc-highlight {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.1rem; background: rgba(242, 102, 13, 0.1);
    border: 1.5px solid rgba(242, 102, 13, 0.35); border-radius: 12px;
}
.calc-highlight span { font-weight: 700; color: var(--secondary-color); }
.calc-highlight strong { font-family: var(--font-heading); font-size: 1.5rem; color: var(--primary-hover); }
.calc-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.5rem; line-height: 1.55; }

/* Footer */
.site-footer { background: var(--secondary-color); color: rgba(255, 255, 255, 0.82); margin-top: 2rem; }
.footer-logo { font-family: var(--font-heading); font-weight: 800; color: #ffffff; font-size: 1.4rem; }
.footer-logo span { color: var(--primary-color); }
.site-footer h3 { color: #ffffff; font-size: 1rem; margin-bottom: 0.7rem; }
.site-footer a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.site-footer a:hover { color: #ffffff; }
.footer-links, .footer-sites { display: flex; flex-direction: column; gap: 0.45rem; }
.footer-contact p { margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.footer-contact i, .footer-sites i { color: var(--primary-color); }
.footer-disclaimer { border-top: 1px solid rgba(255, 255, 255, 0.15); padding-block: 1.2rem; font-size: 0.8rem; }
.footer-disclaimer p { line-height: 1.6; }
.footer-copy { margin-top: 0.5rem; opacity: 0.7; }

/* Mobile action bar */
.mobile-actionbar {
    position: fixed; bottom: 0; inset-inline: 0; z-index: 55;
    display: flex; gap: 0.6rem; padding: 0.55rem 0.8rem;
    background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(8px);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -6px 20px rgba(14, 44, 77, 0.08);
}
.actionbar-btn {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.8rem 0.6rem; border-radius: 12px; font-weight: 700; font-size: 0.95rem; text-decoration: none;
}
.actionbar-call { background: var(--secondary-color); color: #ffffff; }
.actionbar-wa { background: #22c55e; color: #ffffff; }
@media (min-width: 768px) { .mobile-actionbar { display: none; } }

/* Cookie banner */
.cookie-banner {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 54;
    background: rgba(14, 44, 77, 0.97); color: #ffffff; font-size: 0.8rem;
}
@media (max-width: 767px) { .cookie-banner { bottom: 66px; } }
.cookie-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.6rem; }
.cookie-inner a { color: var(--accent-color); text-decoration: underline; }
.cookie-accept {
    background: var(--primary-color); color: #ffffff; border: none;
    border-radius: 999px; padding: 0.4rem 1.1rem; font-weight: 700; flex-shrink: 0;
}

/* Floating contact button */
.contact-fab {
    position: fixed;
    left: 16px;
    bottom: calc(16px + var(--cookie-banner-gap, 0px));
    z-index: 80;
    font-family: var(--font-body);
}
.contact-fab-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 0.55rem 1rem 0.55rem 0.65rem;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(242, 102, 13, 0.35);
    transition: background .2s, transform .2s, box-shadow .2s;
}
.contact-fab-button:hover { background: var(--primary-hover); transform: translateY(-2px); }
.contact-fab-button:focus-visible { outline: 3px solid var(--secondary-color); outline-offset: 2px; }
.contact-fab-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.22); font-size: 1rem;
}
.contact-fab-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; text-align: start; }
.contact-fab-title { font-weight: 800; font-size: 0.95rem; }
.contact-fab-phone { font-weight: 700; font-size: 0.85rem; opacity: 0.95; letter-spacing: 0.01em; }
.contact-fab-panel {
    position: absolute;
    left: 0;
    bottom: calc(100% + 10px);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 235px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    padding: 0.5rem;
}
.contact-fab-panel[hidden] { display: none; }
.contact-fab-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: background .18s, color .18s;
}
.contact-fab-item:hover { background: var(--surface-color); color: var(--primary-color); }
.contact-fab-item i { width: 20px; text-align: center; color: var(--primary-color); font-size: 1rem; }
@media (max-width: 767px) {
    .contact-fab { left: 12px; bottom: calc(10px + var(--cookie-banner-gap, 0px)); }
}

/* Article table (content pages) */
.article-table-wrap {
    overflow-x: auto;
    margin-top: 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: #ffffff;
}
.article-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px;
    font-size: 0.95rem;
}
.article-table th,
.article-table td {
    padding: 0.85rem 1rem;
    text-align: start;
    vertical-align: top;
    border-bottom: 1px solid var(--border-color);
}
.article-table thead th {
    background: var(--secondary-color);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 600;
    white-space: nowrap;
}
.article-table tbody tr:nth-child(even) { background: var(--surface-color); }
.article-table tbody tr:last-child td { border-bottom: none; }

/* Long-form article content */
.hero-sub a { color: var(--primary-color); text-decoration: underline; text-underline-offset: 2px; }
.hero-sub a:hover { color: var(--primary-hover); }
.content-wrap h3 { font-size: 1.12rem; margin-top: 1.5rem; }
.content-wrap strong { color: var(--secondary-color); }
.content-wrap a { color: var(--primary-color); text-decoration: underline; text-underline-offset: 2px; }
.content-wrap a:hover { color: var(--primary-hover); }
.content-wrap .btn-main { color: #ffffff; text-decoration: none; }
.content-ordered {
    margin: 0.9rem 0 0;
    padding-inline-start: 1.35rem;
    display: grid;
    gap: 0.6rem;
    color: var(--text-muted);
}
.content-ordered li { line-height: 1.65; }
.content-ordered li strong { color: var(--secondary-color); }
.content-sources { font-size: 0.92rem; }
.content-quote {
    background: rgba(242, 102, 13, 0.08);
    border-inline-start: 4px solid var(--primary-color);
    border-radius: 12px;
    padding: 1.1rem 1.3rem;
    margin: 1.4rem 0 0;
}
.content-quote p { margin: 0; color: var(--text-color); }
.content-disclaimer {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.3rem 1.4rem;
    margin-top: 1rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.72;
}
.content-disclaimer p { margin-top: 0.7rem; }
.content-disclaimer p:first-child { margin-top: 0; }
.content-disclaimer strong { color: var(--secondary-color); }