/* ACLOUD.LAT — marketing site theme layer.
   Retheme via the template's --theme-* custom properties + bespoke
   marketing components. Loaded after vendors.min.css / app.min.css. */

:root,
[data-bs-theme="light"] {
    --al-primary: #1463c7;
    --al-primary-dark: #0d4a99;
    --al-primary-darker: #0b3b7a;
    --al-ink: #16202b;
    --al-navy: #0b2e4e;
    --al-body-bg: #f7f8fa;
    --al-muted: #5b6672;
    --al-border: #e4e8ee;

    --theme-primary: var(--al-primary);
    --theme-primary-rgb: 20, 99, 199;
    --theme-primary-text-emphasis: var(--al-primary-dark);
    --theme-primary-bg-subtle: #e7f0fc;
    --theme-primary-border-subtle: #bcd6f5;

    --theme-secondary: var(--al-navy);
    --theme-secondary-rgb: 11, 46, 78;
    --theme-link-color: var(--al-primary);
    --theme-link-color-rgb: 20, 99, 199;
    --theme-link-hover-color: var(--al-primary-dark);

    --theme-body-font-family: "Inter", "Open Sans", sans-serif;
    --theme-body-bg: var(--al-body-bg);
    --theme-body-bg-rgb: 247, 248, 250;
    --theme-body-color: var(--al-ink);
    --theme-body-color-rgb: 22, 32, 43;
    --theme-heading-color: var(--al-ink);
    --theme-border-radius: 0.55rem;
}

body.al-body {
    background-color: var(--al-body-bg);
}

.al-body h1,
.al-body h2,
.al-body h3,
.al-body h4,
.al-body h5,
.al-body h6,
.al-body .al-serif {
    font-family: "Poppins", "Inter", sans-serif;
    letter-spacing: -0.01em;
    font-weight: 600;
}

.al-service-h1 {
    font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.6rem);
    line-height: 1.15;
}

.al-body mark {
    background: none;
    color: var(--al-primary);
}

/* ---------- navbar ---------- */

#landing-navbar {
    background-color: rgba(247, 248, 250, 0.92);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--al-border);
}

.al-wordmark {
    font-family: "Poppins", "Inter", sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
    color: var(--al-ink);
}
.al-wordmark-dot {
    color: var(--al-primary);
}
.al-wordmark-footer {
    color: #fff;
}
.al-wordmark-footer .al-wordmark-dot {
    color: #7db4f0;
}

/* ---------- hero / eyebrow ---------- */

.al-eyebrow {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--al-primary-dark);
    background: var(--theme-primary-bg-subtle);
    border: 1px solid var(--theme-primary-border-subtle);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
}

.al-hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 18% 20%, rgba(20, 99, 199, 0.08), transparent 45%), radial-gradient(circle at 82% 0%, rgba(11, 46, 78, 0.07), transparent 40%);
    pointer-events: none;
}

.al-service-hero {
    position: relative;
    background: linear-gradient(180deg, #eef3fb 0%, var(--al-body-bg) 100%);
    border-bottom: 1px solid var(--al-border);
}

/* ---------- breadcrumb band ---------- */

.al-breadcrumb-band {
    background: #eef3fb;
    border-bottom: 1px solid var(--al-border);
}
.al-breadcrumb-band .breadcrumb {
    padding: 0.65rem 0;
}
.al-breadcrumb-band .breadcrumb-item + .breadcrumb-item::before {
    color: #9aa7b4;
}
.al-breadcrumb-band a {
    color: var(--al-muted);
    text-decoration: none;
}
.al-breadcrumb-band a:hover {
    color: var(--al-primary);
}
.al-breadcrumb-band .active {
    color: var(--al-ink);
}

/* ---------- cards / pillars ---------- */

.al-card-shadow {
    box-shadow: 0 1px 2px rgba(16, 30, 54, 0.04);
    border: 1px solid var(--al-border) !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    border-radius: 1rem !important;
    background: #fff;
}
.al-card-shadow:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(16, 30, 54, 0.08);
    border-color: var(--theme-primary-border-subtle) !important;
}
.al-card-accent {
    background: linear-gradient(180deg, #fff 0%, #f4f8fe 100%);
}

.al-avatar-brand .avatar-title {
    background: linear-gradient(135deg, var(--al-primary) 0%, #2f9bd6 100%);
    color: #fff;
}

/* ---------- pain points ---------- */

.al-pain-card {
    background: #fff;
    border: 1px solid var(--al-border);
    border-radius: 1rem;
    padding: 1.75rem 1.5rem;
    position: relative;
}
.al-pain-icon {
    color: var(--theme-primary-border-subtle);
    display: block;
    margin-bottom: 0.75rem;
}

/* ---------- CTA band ---------- */

.al-cta-band {
    background: linear-gradient(120deg, var(--al-navy) 0%, var(--al-primary) 100%);
}

/* ---------- clients band ---------- */

.al-clients-band {
    padding: 4.5rem 0;
    background: #eef3fb;
    border-top: 1px solid var(--al-border);
    border-bottom: 1px solid var(--al-border);
}
.al-clients-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 1.5rem;
}
.al-client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 220px;
    max-width: 260px;
    min-height: 130px;
    background: #fff;
    border: 1px solid var(--al-border);
    border-radius: 1rem;
    box-shadow: 0 1px 2px rgba(16, 30, 54, 0.04);
    padding: 1.5rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.al-client-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(16, 30, 54, 0.08);
}
.al-client-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 100%;
}
.al-client-text {
    font-family: "Poppins", "Inter", sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: 0.01em;
    color: var(--al-navy);
}

/* ---------- credentials band ---------- */

.al-credentials-band {
    background: #eef3fb;
    border-top: 1px solid var(--al-border);
}

/* ---------- footer ---------- */

.section-footer {
    background-color: var(--al-navy) !important;
}
.section-footer .nav-link:hover {
    color: #7db4f0 !important;
}
.al-badge-chip {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
}

/* ---------- service page content lists ---------- */

.al-block {
    padding-bottom: 2.75rem;
    scroll-margin-top: 96px;
}
.al-block-highlight {
    background: var(--theme-primary-bg-subtle);
    border: 1px solid var(--theme-primary-border-subtle);
    border-radius: 1rem;
    padding: 1.75rem;
}
.al-block-highlight h2 {
    color: var(--al-primary-darker);
}

.al-checklist,
.al-list-yes,
.al-list-no {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.65rem;
}
.al-checklist li,
.al-list-yes li,
.al-list-no li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.94rem;
    color: var(--al-ink);
}
.al-icon-dot {
    color: var(--al-primary);
    margin-top: 3px;
    flex-shrink: 0;
}
.al-icon-yes {
    color: #1a9e6b;
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 1.1rem;
}
.al-icon-no {
    color: #8a96a3;
    margin-top: 3px;
    flex-shrink: 0;
}
.al-sub-heading {
    font-weight: 600;
    color: var(--al-navy);
    margin-top: 0.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.al-sub-heading:first-child {
    margin-top: 0;
}

/* ---------- timeline (cómo trabajamos) ---------- */

.al-timeline {
    list-style: none;
    counter-reset: al-step;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1.1rem;
}
.al-timeline li {
    counter-increment: al-step;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    font-size: 0.94rem;
    position: relative;
    padding-left: 0.1rem;
}
.al-timeline li::before {
    content: counter(al-step);
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--al-primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- table of contents (sticky) ---------- */

.al-toc {
    position: sticky;
    top: 96px;
    background: #fff;
    border: 1px solid var(--al-border);
    border-radius: 1rem;
    padding: 1.25rem;
}
.al-toc-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--al-muted);
    font-weight: 600;
}
.al-toc ul {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
    display: grid;
    gap: 0.5rem;
}
.al-toc ul a {
    color: var(--al-ink);
    text-decoration: none;
    font-size: 0.88rem;
}
.al-toc ul a:hover {
    color: var(--al-primary);
}
.al-toc .btn {
    color: #fff;
}

/* ---------- FAQ accordion ---------- */

.al-faq .accordion-item {
    border: 1px solid var(--al-border);
    border-radius: 0.75rem !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.al-faq .accordion-button {
    font-weight: 600;
    font-size: 0.96rem;
    background: #fff;
}
.al-faq .accordion-button:not(.collapsed) {
    color: var(--al-primary-darker);
    background: var(--theme-primary-bg-subtle);
    box-shadow: none;
}
.al-faq .accordion-button:focus {
    box-shadow: none;
}

/* ---------- team / role cards ---------- */

.al-role-card {
    background: #fff;
    border: 1px solid var(--al-border);
    border-radius: 1rem;
    padding: 1.75rem;
    height: 100%;
}

/* ---------- photo strips ---------- */

.al-photo-strip {
    margin: 0 0 0.5rem;
}
.al-photo {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 1rem;
    display: block;
}
@media (max-width: 767.98px) {
    .al-photo {
        height: 160px;
    }
}
.al-photo-strip-compact .al-photo {
    height: 110px;
}

/* ---------- placeholder media ---------- */

.al-placeholder-img {
    background: linear-gradient(135deg, #eef3fb 0%, #dfe9f7 100%);
    border: 1px dashed #c7d6ea;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7c93ad;
    font-size: 0.8rem;
    text-align: center;
    padding: 1rem;
    min-height: 100%;
}

/* ---------- contact ---------- */

.al-form-card {
    background: #fff;
    border: 1px solid var(--al-border);
    border-radius: 1.25rem;
    overflow: hidden;
    --al-form-height: 1000px;
}
.al-form-frame {
    width: 100%;
    height: var(--al-form-height);
    border: 0;
    display: block;
}
