/*
Theme Name: Coverage By Design
Template: hello-elementor
Version: 0.2.0
Requires PHP: 7.4
Text Domain: coverage-by-design
*/

:root {
    --cbd-ink: #08090b;
    --cbd-red: #c61e2e;
    --cbd-muted: #575c66;
    --cbd-border: #e3e6ea;
}

.cbd-section { padding: 104px 40px 0; }

.cbd-site-header,
.cbd-site-footer {
    font-family: Archivo, sans-serif;
    padding: clamp(16px, 3vw, 40px);
}

.cbd-site-header { align-items: center; justify-content: space-between; }
.cbd-site-footer { background: var(--cbd-ink); color: #fff; margin-top: 72px; }
.cbd-site-wordmark a { color: inherit; font-weight: 800; text-decoration: none; }
.cbd-global-links { flex-wrap: wrap; }
.cbd-global-links .elementor-button { color: inherit; }
.cbd-site-header .cbd-global-links .elementor-button { color: var(--cbd-ink); }
.cbd-site-footer .elementor-heading-title { color: #fff; }
.cbd-service-grid > .cbd-card { flex: 1 1 0; min-width: 0; }
.cbd-hub-hero .elementor-widget-text-editor { max-width: 56ch; }

@media (max-width: 767px) {
    .cbd-site-header { align-items: flex-start; }
    .cbd-site-header .cbd-global-links { flex-direction: row; }
    .cbd-service-grid > .cbd-card { flex: 0 0 auto; width: 100%; }
}

.cbd-home-hero {
    min-height: calc(100svh - 118px);
    padding: 56px 32px 64px;
    background-color: var(--cbd-ink);
    align-items: flex-end;
}

.cbd-home-hero .elementor-background-video-container + .elementor-background-overlay {
    background: linear-gradient(180deg, rgb(8 9 11 / 55%), rgb(8 9 11 / 10%) 32%, rgb(8 9 11 / 85%));
    opacity: 1;
}

.cbd-home-hero .cbd-title .elementor-heading-title,
.cbd-service-hero .cbd-title .elementor-heading-title {
    font-family: Archivo, Arial, sans-serif;
    font-weight: 500;
    font-size: clamp(42px, 5vw, 78px);
    line-height: 1.04;
    letter-spacing: -.03em;
    text-wrap: balance;
}

.cbd-home-hero .cbd-title .elementor-heading-title { color: #fff; }
.cbd-service-hero .cbd-title .elementor-heading-title { color: var(--cbd-ink); }
.cbd-accent { color: var(--cbd-red); }

.cbd-kicker .elementor-heading-title {
    font: 500 12px/1.5 Archivo, Arial, sans-serif;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--cbd-red);
}
.cbd-home-hero .cbd-kicker .elementor-heading-title { color: rgb(255 255 255 / 82%); }

.cbd-home-hero .cbd-testimonial {
    padding: 24px;
    border-radius: 16px;
    background-color: rgb(8 9 11 / 72%);
    color: #fff;
}

.cbd-primary .elementor-button {
    display: inline-flex;
    align-items: center;
    background: var(--cbd-red);
    color: #fff;
    border-radius: 999px;
    padding: 16px 23px;
    font: 600 15px/1.2 Archivo, Arial, sans-serif;
}

.cbd-secondary .elementor-button {
    border: 1px solid currentColor;
    border-radius: 999px;
    padding: 15px 22px;
    background: transparent;
    color: inherit;
}
.cbd-home-hero .cbd-secondary { color: #fff; }

.cbd-service-hero { padding: 76px 40px 56px; }
.cbd-service-hero .elementor-widget-text-editor { color: var(--cbd-muted); }
.cbd-service-hero .elementor-widget-image img { border-radius: 24px; }

.cbd-section-title .elementor-heading-title {
    color: var(--cbd-ink);
    font: 500 clamp(31px, 4.1vw, 63px)/1.06 Archivo, Arial, sans-serif;
    letter-spacing: -.035em;
}
.cbd-card {
    border: 1px solid var(--cbd-border);
    border-radius: 16px;
    padding: 24px;
}
.cbd-card .elementor-heading-title {
    color: var(--cbd-ink);
    font: 500 24px/1.12 Archivo, Arial, sans-serif;
}
.cbd-card .elementor-widget-text-editor { font-size: 16px; color: var(--cbd-muted); }

@media (max-width: 767px) {
    .cbd-section { padding: 64px 20px 0; }
    .cbd-service-hero { padding: 36px 20px; }
    .cbd-home-hero { padding: 48px 20px 36px; min-height: 75svh; }
    .cbd-home-hero .cbd-title .elementor-heading-title,
    .cbd-service-hero .cbd-title .elementor-heading-title { font-size: clamp(38px, 10vw, 52px); }
}

@media (prefers-reduced-motion: reduce) {
    .cbd-home-hero .elementor-background-video-container { display: none; }
}
