:root {
    --primary: #0f2747;
    --primary-soft: #173761;
    --secondary: #d7b067;
    --secondary-soft: #f4ead7;
    --text: #1d2939;
    --text-soft: #526071;
    --white: #ffffff;
    --light: #f7f9fc;
    --border: rgba(15, 39, 71, 0.12);
    --shadow: 0 20px 60px rgba(15, 39, 71, 0.14);
    --shadow-soft: 0 10px 30px rgba(15, 39, 71, 0.08);
    --radius: 24px;
    --transition: all 0.35s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

.topbar {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
    padding: 10px 0;
}

.topbar a {
    color: rgba(255, 255, 255, 0.95);
}

.topbar a:hover {
    color: var(--secondary);
}

.topbar-separator {
    margin: 0 12px;
    opacity: 0.45;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.site-header.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-soft);
}

.brand-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-subtitle {
    font-size: 0.82rem;
    color: var(--text-soft);
}

.brand-logo-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.menu-logo {
    width: 180px;
    height: 41px;
    object-fit: contain;
    display: block;
}

.brand-subtitle {
    font-size: 0.82rem;
    color: var(--text-soft);
    line-height: 1.1;
    margin-left: 2px;
}

.footer-logo {
    width: 320px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 18px;
}

.navbar {
    padding-top: 0;
    padding-bottom: 0;
}

.nav-link {
    color: var(--primary);
    font-weight: 600;
    margin-left: 18px;
    position: relative;
}

    .nav-link:hover {
        color: var(--secondary);
    }

.btn-call {
    background: var(--primary);
    color: var(--white);
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: var(--shadow-soft);
}

    .btn-call:hover {
        color: var(--white);
        background: var(--primary-soft);
        transform: translateY(-2px);
    }

.menu-btn {
    border: 0;
    background: transparent;
    box-shadow: none !important;
}

.menu-btn-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    margin: 5px 0;
    border-radius: 2px;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(15, 39, 71, 0.92), rgba(15, 39, 71, 0.70)), url('/images/accounting-hero.webp') center center / cover no-repeat;
    overflow: hidden;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(215, 176, 103, 0.28), transparent 30%), radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.08), transparent 25%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--white);
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 600;
    margin-bottom: 22px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 22px;
    max-width: 780px;
}

.hero-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.84);
    max-width: 650px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}

.btn-hero-primary,
.btn-hero-secondary,
.btn-panel,
.btn-cta,
.btn-cta-outline,
.btn-submit-contact {
    border-radius: 999px;
    font-weight: 700;
    padding: 14px 24px;
    transition: var(--transition);
}

.btn-hero-primary {
    background: var(--secondary);
    color: var(--primary);
    box-shadow: var(--shadow-soft);
}

    .btn-hero-primary:hover {
        color: var(--primary);
        transform: translateY(-3px);
    }

.btn-hero-secondary {
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.btn-hero-secondary:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-3px);
}

.hero-highlight-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 18px;
    backdrop-filter: blur(8px);
}

.hero-highlight-card strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
}

.hero-highlight-card span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.95rem;
}

.hero-panel {
    display: flex;
    justify-content: center;
}

.hero-panel-card {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text);
    border-radius: 28px;
    padding: 34px;
    box-shadow: var(--shadow);
    max-width: 460px;
    width: 100%;
}

.hero-panel-topline {
    color: var(--secondary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    margin-bottom: 12px;
}

.hero-panel-card h3 {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
}

.hero-panel-list {
    padding-left: 18px;
    margin-bottom: 24px;
}

    .hero-panel-list li {
        margin-bottom: 10px;
        color: var(--text-soft);
    }

.btn-panel {
    background: var(--primary);
    color: var(--white);
    width: 100%;
}

.btn-panel:hover {
    color: var(--white);
    background: var(--primary-soft);
    transform: translateY(-2px);
}



.trust-strip {
    background: #ffc107;
    padding: 36px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.trust-item {
    padding: 18px;
    position: relative;
    z-index: 1;
}

.trust-number {
    font-size: 2.2rem;
    color: white;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
}

/* efecto suave para que no sea plano */
.trust-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(215, 176, 103, 0.18), transparent 30%), radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.06), transparent 30%);
}

.trust-label {
    font-weight: 600;
    color: black;
}

.section-block {
    padding: 30px 0;
}

.bg-light-soft {
    background: var(--light);
}

.section-header {
    max-width: 900px;
    margin: 0 auto 30px auto;
}

.section-tag {
    display: inline-block;
    color: var(--secondary);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.82rem;
    margin-bottom: 14px;
}

#testimonials .section-tag {
    color: black;
}

.section-tag-light {
    color: rgba(255, 255, 255, 0.78);
}

.section-title {
    color: var(--primary);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
}

#testimonials .section-title {
    color: white;
}

.section-subtext,
.section-text {
    color: var(--text-soft);
    font-size: 1.05rem;
    font-weight: 800;
}

#testimonials .section-subtext {
    color: black;
}

.about-image-card {
    position: relative;
    min-height: 520px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: linear-gradient(180deg, rgba(15, 39, 71, 0.12), rgba(15, 39, 71, 0.72)), url('/images/accounting-office.webp') center center / cover no-repeat;
}

.about-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(15, 39, 71, 0.82));
}

.about-image-content {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 30px;
    color: var(--white);
    z-index: 2;
}

.about-image-content h3 {
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.mini-label {
    display: inline-block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-points {
    margin-top: 30px;
}

.about-point {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-weight: 600;
    color: var(--primary);
}

.point-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--secondary-soft);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.services-editorial-section {
    position: relative;
    background: radial-gradient(circle at top left, rgba(215, 176, 103, 0.07), transparent 24%), radial-gradient(circle at bottom right, rgba(15, 39, 71, 0.05), transparent 24%), #ffffff;
}

.service-category-divider {
    position: relative;
    margin: 56px 0 30px 0;
    text-align: center;
}

.service-category-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15, 39, 71, 0.18), transparent);
    transform: translateY(-50%);
}

.service-category-divider span {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
    color: var(--white);
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: var(--shadow-soft);
}

.editorial-service-block {
    margin-top: 18px;
}

.editorial-service-shell {
    background: linear-gradient(180deg, #ffffff, #fbfcfe);
    border: 1px solid rgba(15, 39, 71, 0.10);
    border-radius: 30px;
    padding: 42px;
    box-shadow: var(--shadow-soft);
}

.editorial-service-shell-featured {
    background: linear-gradient(135deg, rgba(15, 39, 71, 0.98), rgba(23, 55, 97, 0.96)), linear-gradient(180deg, #ffffff, #fbfcfe);
    color: var(--white);
    overflow: hidden;
    position: relative;
}

.editorial-service-shell-featured::after {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(215, 176, 103, 0.14);
    filter: blur(8px);
}

.editorial-service-shell-featured .editorial-service-kicker {
    color: rgba(255, 255, 255, 0.72);
}

.editorial-service-shell-featured .editorial-service-heading h3,
.editorial-service-shell-featured .editorial-service-content strong,
.editorial-service-shell-featured .editorial-service-content a {
    color: var(--white);
}

.editorial-service-shell-featured .editorial-service-content p {
    color: rgba(255, 255, 255, 0.86);
}

.editorial-service-heading {
    margin-bottom: 26px;
}

.editorial-service-kicker {
    display: inline-block;
    color: var(--secondary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    margin-bottom: 12px;
}

.editorial-service-heading h3 {
    color: var(--primary);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 0;
    max-width: 900px;
}

.editorial-service-content p {
    color: var(--text-soft);
    font-size: 1.03rem;
    margin-bottom: 18px;
}

.business-income-feature {
    margin-top: 26px;
}

.business-income-shell {
    background: linear-gradient(180deg, #ffffff, #fbfcfe);
    border: 1px solid rgba(15, 39, 71, 0.10);
    border-radius: 32px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.business-income-shell::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 6px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
}

.business-income-header {
    margin-bottom: 24px;
}

.business-income-kicker {
    display: inline-block;
    color: var(--secondary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    margin-bottom: 12px;
}

.business-income-header h3 {
    color: var(--primary);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 0;
    max-width: 900px;
}

.business-income-body p {
    color: var(--text-soft);
    font-size: 1.02rem;
    margin-bottom: 18px;
}

.business-income-subgrid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 24px;
    margin-top: 26px;
}

.nested-service-panel {
    background: rgba(15, 39, 71, 0.03);
    border: 1px solid rgba(15, 39, 71, 0.08);
    border-radius: 24px;
    padding: 28px;
    position: relative;
    transition: var(--transition);
}

.nested-service-panel:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
    background: #ffffff;
}

.nested-service-topbar {
    width: 72px;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    margin-bottom: 18px;
}

.nested-service-panel h4 {
    color: var(--primary);
    font-size: 1.24rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.business-income-footer-banner {
    margin-top: 32px;
    background: #ffffff;
    border: 1px solid rgba(15, 39, 71, 0.10);
    border-radius: 22px;
    padding: 24px 26px;
    box-shadow: 0 14px 30px rgba(15, 39, 71, 0.08);
    position: relative;
    overflow: hidden;
}

.business-income-footer-banner::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
}

.business-income-footer-banner p {
    margin-bottom: 0;
    color: var(--text-soft);
    font-size: 0.98rem;
    line-height: 1.7;
}

.business-income-footer-banner strong {
    color: var(--primary);
}

.business-income-footer-banner a {
    color: var(--primary);
    font-weight: 800;
    text-decoration: none;
    text-underline-offset: 3px;
}

.business-income-footer-banner a:hover {
    text-decoration: underline;
}

.editorial-subservice-stack {
    display: grid;
    gap: 24px;
}

.editorial-long-card {
    background: linear-gradient(180deg, #ffffff, #fbfcfe);
    border: 1px solid rgba(15, 39, 71, 0.10);
    border-radius: 28px;
    padding: 34px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.editorial-long-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.editorial-long-card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.editorial-long-card p {
    color: var(--text-soft);
    margin-bottom: 14px;
    font-size: 1rem;
}

.editorial-feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 26px 0;
}

.editorial-feature-list.two-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.editorial-feature-item {
    background: rgba(15, 39, 71, 0.04);
    border: 1px solid rgba(15, 39, 71, 0.08);
    border-radius: 18px;
    padding: 16px 18px;
    color: var(--text);
    font-weight: 600;
}

.editorial-list {
    margin: 0;
    padding-left: 18px;
}

.editorial-list li {
    color: var(--text);
    margin-bottom: 10px;
}

.editorial-note {
    margin-bottom: 0;
    color: var(--primary) !important;
    font-weight: 600;
}

.services-transition-banner {
    margin: 50px 0;
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 39, 71, 0.96), rgba(23, 55, 97, 0.96)), linear-gradient(180deg, #ffffff, #fbfcfe);
    position: relative;
    box-shadow: var(--shadow);
}

.services-transition-banner::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: rgba(215, 176, 103, 0.12);
    border-radius: 50%;
    filter: blur(6px);
}

.services-transition-banner::after {
    content: "";
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.services-transition-inner {
    padding: 40px 42px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.services-transition-inner h3 {
    color: var(--white);
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    font-weight: 900;
    margin-bottom: 14px;
}

.services-transition-inner p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.7;
}

.services-transition-inner strong {
    color: var(--white);
}

.edge-decoration {
    border-left: 13px #4676cd solid;
}

.contact-section {
    background: var(--light);
    position: relative;
    padding-bottom: 80px;
    z-index: 1;
}

.contact-form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
    height: 100%;
    transition: var(--transition);
}

.contact-info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    height: auto;
}

.contact-info-item {
    margin-bottom: 22px;
}

.contact-info-item strong {
    display: block;
    color: var(--primary);
    margin-bottom: 6px;
}

.contact-info-item a,
.contact-info-item span {
    color: var(--text-soft);
}

.form-label {
    font-weight: 700;
    color: var(--primary);
}

.form-control {
    border-radius: 16px;
    border: 1px solid rgba(15, 39, 71, 0.14);
    padding: 14px 16px;
    min-height: 54px;
    box-shadow: none !important;
}

textarea.form-control {
    min-height: 160px;
    resize: vertical;
}

.form-control:focus {
    border-color: var(--secondary);
}

.btn-submit-contact {
    background: var(--primary);
    color: var(--white);
    min-width: 220px;
}

.btn-submit-contact:hover {
    color: var(--white);
    background: var(--primary-soft);
    transform: translateY(-2px);
}

.btn-disabled {
    opacity: 0.75;
    pointer-events: none;
}

.contact-result-panel {
    border-radius: 18px;
    padding: 18px 20px;
    font-weight: 600;
}

.contact-result-panel.success {
    background: #e8f6ee;
    color: #0f6b3c;
}

.contact-result-panel.error {
    background: #fdecec;
    color: #9b1c1c;
}

.site-footer {
    background: #ffffff;
    color: var(--text);
    padding: 80px 0 24px 0;
    border-top: 1px solid var(--border);
}

.site-footer .col-lg-3,
.site-footer .col-lg-4,
.site-footer .col-lg-5 {
    min-width: 0;
}

.footer-title {
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 18px;
}

.footer-text {
    color: var(--text-soft);
    max-width: 420px;
    overflow-wrap: break-word;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.footer-links a,
.footer-contact a {
    min-width: 300px;
    color: var(--text-soft);
    padding: 6px 10px;
    border-radius: 8px;
    display: inline-block;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    margin-top: 36px;
    padding-top: 22px;
    text-align: center;
    font-size: 0.92rem;
    color: var(--text-soft);
}

.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: transform, opacity;
}

.reveal-up {
    transform: translateY(32px);
}

.reveal-left {
    transform: translateX(-32px);
}

.reveal-right {
    transform: translateX(32px);
}

.reveal-scale {
    transform: scale(0.92);
}

.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible {
    opacity: 1;
    transform: none;
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

.delay-6 {
    transition-delay: 0.6s;
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: 120px 0 80px 0;
        min-height: auto;
    }

    .hero-highlights {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        margin-top: 30px;
    }

    .section-block {
        padding: 80px 0;
    }

    .cta-card {
        padding: 34px;
    }

    .nav-link {
        margin-left: 0;
        padding: 12px 0;
    }

    .business-income-subgrid,
    .editorial-feature-list,
    .editorial-feature-list.two-columns {
        grid-template-columns: 1fr;
    }

    .business-income-shell,
    .editorial-service-shell,
    .editorial-long-card {
        padding: 28px;
    }
}

@media (max-width: 767.98px) {
    .topbar .container {
        gap: 6px;
    }

    .brand-subtitle {
        display: none;
    }

    .hero-title {
        font-size: 2.35rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-panel,
    .btn-cta,
    .btn-cta-outline,
    .btn-submit-contact {
        width: 100%;
        text-align: center;
    }

    .about-image-card {
        min-height: 360px;
    }

    .cta-card {
        padding: 26px;
    }

    .service-category-divider span {
        font-size: 0.8rem;
        padding: 12px 20px;
    }

    .business-income-shell,
    .editorial-service-shell,
    .editorial-long-card,
    .nested-service-panel,
    .services-transition-inner {
        padding: 22px;
    }

    .editorial-service-heading h3,
    .business-income-header h3 {
        font-size: 1.7rem;
    }

    .services-transition-inner h3 {
        font-size: 1.5rem;
    }
}


.cta-section {
    padding: 0 0 110px 0;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
    color: var(--white);
    border-radius: 32px;
    padding: 48px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: "";
    position: absolute;
    top: -70px;
    right: -70px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(215, 176, 103, 0.12);
    filter: blur(8px);
}

.cta-card::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.cta-card .row {
    position: relative;
    z-index: 1;
}

.cta-card .section-tag-light {
    display: inline-block;
    color: rgba(255, 255, 255, 0.76);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
    margin-bottom: 14px;
}

.cta-title {
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 14px;
}

.cta-text {
    color: rgba(255, 255, 255, 0.84);
    margin-bottom: 0;
    font-size: 1.05rem;
    max-width: 760px;
}

.btn-cta {
    background: var(--secondary);
    color: var(--primary);
    border-radius: 999px;
    font-weight: 800;
    padding: 14px 24px;
    box-shadow: var(--shadow-soft);
}

.btn-cta:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-cta-outline {
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    font-weight: 800;
    padding: 14px 24px;
}

.btn-cta-outline:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

@media (max-width: 991.98px) {
    .cta-card {
        padding: 34px;
    }
}

@media (max-width: 767.98px) {
    .cta-card {
        padding: 26px;
    }

    .cta-title {
        font-size: 2rem;
    }

    .btn-cta,
    .btn-cta-outline {
        width: 100%;
        text-align: center;
    }
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 1199.98px) {
    .hero-highlights {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .hero-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .hero-highlights {
        grid-template-columns: 1fr;
    }
}

.hero-highlight-link strong {
    color: var(--white);
}

.hero-highlight-link span {
    color: rgba(255, 255, 255, 0.76);
}

.hero-main-row {
    padding-top: 30px;
    padding-bottom: 10px;
}

.hero-panel-card-compact {
    max-width: 430px;
    margin-left: auto;
    padding: 28px;
}

.hero-panel-card-compact h3 {
    font-size: 1.55rem;
    margin-bottom: 14px;
}

.hero-panel-card-compact .hero-panel-list {
    margin-bottom: 18px;
}

.hero-panel-card-compact .hero-panel-list li {
    margin-bottom: 8px;
    font-size: 0.96rem;
}

.hero-highlights-full {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}

.hero-highlight-card {
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 18px;
    padding-bottom: 18px;
}

.hero-highlight-card strong {
    margin-bottom: 6px;
    display: block;
}

.hero-highlight-card span {
    line-height: 1.4;
}

.hero-highlight-link {
    text-decoration: none;
    color: var(--white);
    cursor: pointer;
}

.hero-highlight-link:visited {
    color: var(--white);
}

.hero-highlight-link:hover {
    text-decoration: none;
    color: var(--white);
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.hero-highlight-link strong {
    color: var(--white);
}

.hero-highlight-link span {
    color: rgba(255, 255, 255, 0.76);
}

@media (max-width: 1199.98px) {
    .hero-highlights-full {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .hero-main-row {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 8px;
    }

    .hero-panel-card-compact {
        max-width: 100%;
        margin-left: 0;
    }

    .hero-highlights-full {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .hero-highlights-full {
        grid-template-columns: 1fr;
    }

    .hero-highlight-card {
        min-height: auto;
    }
}

.hero-highlight-multilingual {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(178, 34, 52, 0.22) 0%, rgba(178, 34, 52, 0.22) 22%, rgba(255, 255, 255, 0.14) 22%, rgba(255, 255, 255, 0.14) 34%, rgba(60, 59, 110, 0.24) 34%, rgba(60, 59, 110, 0.24) 46%, rgba(198, 0, 43, 0.22) 46%, rgba(198, 0, 43, 0.22) 66%, rgba(255, 204, 0, 0.18) 66%, rgba(255, 204, 0, 0.18) 80%, rgba(0, 102, 0, 0.22) 80%, rgba(0, 102, 0, 0.22) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-highlight-multilingual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    pointer-events: none;
}

.hero-highlight-multilingual strong,
.hero-highlight-multilingual span {
    position: relative;
    z-index: 1;
}

/*//////////////// a@c.com ///////////////////*/

/* CLEAN REFACE */

.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(120deg, rgba(10, 24, 44, 0.92), rgba(15, 39, 71, 0.72)), url('/images/accounting-hero.webp') center center / cover no-repeat;
    overflow: hidden;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 82% 18%, rgba(215, 176, 103, 0.22), transparent 24%), radial-gradient(circle at 10% 85%, rgba(255, 255, 255, 0.06), transparent 24%);
}

.hero-title {
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 1;
    letter-spacing: -0.03em;
    max-width: 820px;
    margin-bottom: 20px;
}

.hero-text {
    max-width: 680px;
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.84);
}

.hero-badge {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-actions {
    gap: 16px;
    margin-bottom: 0;
}

.btn-hero-primary,
.btn-hero-secondary {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #e1bc78, #d7b067);
    color: var(--primary);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.btn-hero-primary:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-hero-secondary {
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.10);
}

.btn-hero-secondary:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.hero-panel {
    justify-content: flex-end;
}

.hero-panel-card,
.hero-panel-card-compact {
    position: relative;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 39, 71, 0.08);
    border-radius: 30px;
    box-shadow: 0 24px 60px rgba(10, 26, 48, 0.20);
    overflow: hidden;
}

.hero-panel-card::before,
.hero-panel-card-compact::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
}

.hero-panel-card-compact {
    max-width: 430px;
    margin-left: auto;
    padding: 30px;
}

.hero-panel-card-compact h3 {
    font-size: 1.6rem;
    line-height: 1.1;
    margin-bottom: 14px;
}

.hero-panel-list li {
    margin-bottom: 8px;
    color: var(--text-soft);
}

.hero-highlights-full {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.hero-highlight-card {
    min-height: 142px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.10);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    transform: translateZ(0);
}

.hero-highlight-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--white);
    font-size: 1rem;
}

.hero-highlight-card span {
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.4;
    font-size: 0.94rem;
}

.hero-highlight-link {
    text-decoration: none;
    color: var(--white);
}

.hero-highlight-link:visited {
    color: var(--white);
}

.hero-highlight-link:hover {
    color: var(--white);
    text-decoration: none;
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.11);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14);
}

.hero-highlight-multilingual {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(178, 34, 52, 0.20) 0%, rgba(178, 34, 52, 0.20) 22%, rgba(255, 255, 255, 0.12) 22%, rgba(255, 255, 255, 0.12) 34%, rgba(60, 59, 110, 0.20) 34%, rgba(60, 59, 110, 0.20) 46%, rgba(198, 0, 43, 0.20) 46%, rgba(198, 0, 43, 0.20) 66%, rgba(255, 204, 0, 0.16) 66%, rgba(255, 204, 0, 0.16) 80%, rgba(0, 102, 0, 0.20) 80%, rgba(0, 102, 0, 0.20) 100%);
}

.hero-highlight-multilingual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
}

.hero-highlight-multilingual strong,
.hero-highlight-multilingual span {
    position: relative;
    z-index: 1;
}

.about-image-card,
.editorial-service-shell,
.business-income-shell,
.editorial-long-card,
.contact-form-card,
.contact-info-card,
.cta-card {
    box-shadow: 0 20px 50px rgba(15, 39, 71, 0.10);
}

.about-point {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(15, 39, 71, 0.07);
    border-radius: 18px;
    padding: 12px 14px;
}

.service-category-divider span {
    box-shadow: 0 12px 28px rgba(15, 39, 71, 0.14);
}

.nested-service-panel,
.editorial-feature-item {
    box-shadow: 0 10px 22px rgba(15, 39, 71, 0.05);
}

.edge-decoration {
    border-left: 0;
    position: relative;
    overflow: hidden;
}

.edge-decoration::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 8px;
    background: linear-gradient(180deg, #5f8ee5, #1e4c9a);
}

.contact-form-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
}

.contact-form-card {
    position: relative;
    overflow: hidden;
}

.form-control {
    background: #fbfcfe;
}

.form-control:focus {
    background: #ffffff;
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.18rem rgba(215, 176, 103, 0.12) !important;
}

@media (max-width: 1199.98px) {
    .hero-highlights-full {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: 110px 0 70px 0;
        min-height: auto;
    }

    .hero-main-row {
        min-height: auto;
        padding-top: 40px;
    }

    .hero-panel {
        justify-content: flex-start;
        margin-top: 28px;
    }

    .hero-panel-card-compact {
        max-width: 100%;
        margin-left: 0;
    }

    .hero-highlights-full {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.45rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-highlights-full {
        grid-template-columns: 1fr;
    }

    .hero-highlight-card {
        min-height: auto;
    }
}

.footer-credit {
    margin-top: 8px;
    font-size: 0.85rem;
}

.footer-credit a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.footer-credit a:hover {
    text-decoration: underline;
}

.testimonial-video-frame {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000000db;
    padding: 20px;
}

.testimonial-video-frame-vertical iframe {
    width: 267px;
    max-width: 100%;
    height: 476px;
    border-radius: 16px;
    display: block;
}

.testimonial-video-card {
    background: linear-gradient(180deg, #ffffff, #fbfcfe);
    border: 1px solid rgba(15, 39, 71, 0.10);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    height: 100%;
    transition: var(--transition);
}

.testimonial-video-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.testimonial-video-content {
    padding: 24px;
    background-color: #152747;
}

.testimonial-video-content h3 {
    color: #efc41d;
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 10px;
}

#testimonials {
    background-color: #f6c319;
}

.testimonial-video-content p {
    color: white;
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .testimonial-video-frame {
        padding: 16px;
    }

    .testimonial-video-frame-vertical iframe {
        width: 240px;
        height: 428px;
    }

    .testimonial-video-content {
        padding: 20px;
    }
}



.services-dropdown-menu {
    border: 1px solid rgba(15, 39, 71, 0.10);
    border-radius: 16px;
    padding: 10px;
    box-shadow: var(--shadow-soft);
    min-width: 280px;
}

.services-dropdown-menu .dropdown-item {
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 600;
    color: var(--primary);
}

.services-dropdown-menu .dropdown-item:hover,
.services-dropdown-menu .dropdown-item:focus {
    background: var(--primary);
    color: var(--white);
}

@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

.dropdown-subitem {
    padding-left: 28px !important;
    font-size: 0.94rem;
    opacity: 0.9;
}

.services-dropdown-menu .dropdown-divider {
    margin: 8px 0;
    border-top: 1px solid rgba(15, 39, 71, 0.10);
}

.dropdown-subitem {
    padding-left: 28px !important;
    font-size: 0.94rem;
    opacity: 0.9;
}





.footer-links-grouped .footer-link-group-title {
    margin-top: 16px;
    margin-bottom: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    opacity: 0.7;
    pointer-events: none;
}

.footer-links-grouped li:first-child.footer-link-group-title {
    margin-top: 0;
}

.footer-links-grouped a {
    display: block;
    padding: 8px 12px;
    border-radius: 10px;
}













.hero-panel-heading {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
}

.hero-panel-card-compact .hero-panel-heading {
    font-size: 1.55rem;
    margin-bottom: 14px;
}

.about-image-heading {
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    color: var(--white);
    font-size: 1.75rem;
}

.section-tag,
.hero-panel-topline,
.editorial-service-kicker,
.business-income-kicker,
.cta-title {
    margin-top: 0;
}