/*
Theme Name: Chimney Professionals
Theme URI:
Author: Geeks360
Author URI: https://geeks360.net
Description: Custom ACF-based WordPress theme for Chimney Professionals. Pages are built with an ACF Flexible Content field (page_sections); global header and footer are managed from the Theme Settings options page.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: chimney-professionals
*/

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */
:root {
    /* Colors - replace with the brand palette */
    --color-primary: #c0392b;   /* brand red - CTA button, active/hover nav */
    --color-primary-dark: #a52f24;
    --color-secondary: #1d4e89; /* accent blue - header detail bar */
    --color-text: #1a1a1a;
    --color-muted: #6b7280;
    --color-bg: #ffffff;
    --color-bg-light: #f4f5f7;  /* light grey section background */
    --color-border: #e5e7eb;
    --color-overlay: rgba(16, 33, 58, .55); /* hero image darkening */
    --color-overlay-dark: rgba(15, 23, 35, .88); /* dark sections (who-we-serve) */

    /* Typography */
    --font-heading: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --fs-body: 16px;
    --fs-h1: 48px;
    --fs-h2: 36px;
    --fs-lead: 18px;
    --lh-body: 1.5;

    /* Spacing scale */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 40px;
    --spacing-2xl: 64px;

    /* Layout */
    --container-max: 1200px;
    --container-pad: 20px;
    --radius: 8px;

    /* Header */
    --header-pad-y: 18px;
    --header-gap: 28px;
}

/* ==========================================================================
   BASE
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--color-text);
    background: var(--color-bg);
}

img,
svg { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin: 0 0 var(--spacing-sm);
}

p { margin: 0 0 var(--spacing-md); }

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

.site-main { min-height: 50vh; }

.section,
.page-content { padding-block: var(--spacing-2xl); }

/* ==========================================================================
   BLOCK-HERO
   ========================================================================== */
.block-hero {
    position: relative;
    padding-block: 96px;
    background-color: #1b2a44;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.block-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--color-overlay);
    z-index: 1;
}

.block-hero > .container {
    position: relative;
    z-index: 2;
}

.block-hero__content {
    max-width: 900px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.block-hero__title {
    margin: 0 0 var(--spacing-md);
    font-size: var(--fs-h1);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
}

.block-hero__description {
    max-width: 720px;
    margin: 0 0 var(--spacing-xl);
    font-size: var(--fs-lead);
    line-height: 1.5;
    color: rgba(255, 255, 255, .9);
}

/* Rating + CTA card */
.block-hero__card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    padding: 18px 22px;
    background: var(--color-bg);
    border-radius: 12px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .25);
}

.block-hero__metrics {
    display: flex;
    align-items: center;
}

.block-hero__metric {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-inline: 22px;
    color: var(--color-text);
}

.block-hero__metric:first-child { padding-left: 6px; }

.block-hero__metric + .block-hero__metric {
    border-left: 1px solid var(--color-border);
}

/* Rating widgets are injected as raw HTML - keep their inline media inline. */
.block-hero__metric img,
.block-hero__metric svg {
    display: inline-block;
    vertical-align: middle;
}

.block-hero__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 22px;
    border-left: 1px solid var(--color-border);
}

/* Right arrow on the primary CTA (scoped to the hero). */
/* .block-hero__actions .btn--primary::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-left: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
} */

.block-hero__phone {
    margin-top: var(--spacing-lg);
}

.block-hero__phone a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
}

.block-hero__phone-icon {
    display: inline-flex;
    color: var(--color-primary);
}

/* ==========================================================================
   BLOCK-SAME-TEAM
   ========================================================================== */
.block-same-team {
    background: var(--color-bg-light);
}

/* Top feature strip */
.block-same-team__features {
    background: #ececee;
}

.block-same-team__features-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
    margin: 0;
    padding: 14px 0;
    list-style: none;
}

.block-same-team__feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.block-same-team__feature-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    object-fit: contain;
}

.block-same-team__feature-text {
    font-size: 15px;
    color: var(--color-text);
}

.block-same-team__feature-text span{
    font-weight: bold;
}

/* Two-column body */
.block-same-team__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--spacing-2xl);
    padding-block: var(--spacing-2xl);
}

.block-same-team__subtitle {
    margin: 0 0 var(--spacing-sm);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.block-same-team__title {
    margin: 0 0 var(--spacing-md);
    font-size: var(--fs-h2);
    font-weight: 700;
    line-height: 1.2;
}

.block-same-team__text {
    margin: 0 0 var(--spacing-lg);
    line-height: 1.7;
}

.block-same-team__text p:last-child {
    margin-bottom: 0;
}

/* Badge gallery */
.block-same-team__badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0 0;
    padding: 0;
    list-style: none;
}

.block-same-team__badge-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

/* Right image */
.block-same-team__media {
    position: relative;
    height: 100%;
}

.block-same-team__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* Metrics overlaid on the image (bottom corners). Wrap the number in <strong>
   inside the field to get the large top line. */
.block-same-team__img-metric {
    position: absolute;
    bottom: var(--spacing-lg);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 18px;
    line-height: 1.35;
}

.block-same-team__img-metric span{
    font-weight: bold;
    font-size: 34px;
}

.block-same-team__img-metric--left {
    left: var(--spacing-lg);
}

.block-same-team__img-metric--right {
    right: var(--spacing-lg);
}

.block-same-team__img-metric strong {
    display: block;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.1;
}

/* Alternative markup inside the field: span for the number + br for the break. */
.block-same-team__img-metric span {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.1;
}

/* ==========================================================================
   BLOCK-WHO-WE-SERVE
   ========================================================================== */
.block-who-we-serve {
    position: relative;
    padding-block: var(--spacing-2xl);
    background-color: #141d28;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

/* .block-who-we-serve::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--color-overlay-dark);
    z-index: 1;
} */

.block-who-we-serve > .container {
    position: relative;
    z-index: 2;
}

.block-who-we-serve__subtitle {
    margin: 0 0 var(--spacing-sm);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.block-who-we-serve__title {
    margin: 0 0 var(--spacing-sm);
    font-size: var(--fs-h2);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.block-who-we-serve__description {
    max-width: 720px;
    margin: 0 auto var(--spacing-xl);
    color: rgba(255, 255, 255, .85);
}

/* Card grid */
.block-who-we-serve__cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.block-who-we-serve__card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 22px;
    background: #203947;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 4px;
    font-size: 15px;
    color: #fff;
}

/* Red dot marker */
.block-who-we-serve__card::before {
    content: "";
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--color-primary);
}

/* ==========================================================================
   SINGLE-SERVICE
   ========================================================================== */
/* Plain skeleton until the single service design is provided. */
.single-service {
    padding-block: var(--spacing-2xl);
}

.single-service__title {
    margin: 0 0 var(--spacing-lg);
    font-size: var(--fs-h1);
}

.single-service__image {
    width: 100%;
    border-radius: 16px;
    margin: 0 0 var(--spacing-lg);
}

.single-service__description {
    max-width: 720px;
    margin: 0 0 var(--spacing-lg);
    line-height: 1.7;
}

.single-service__features {
    margin: 0;
    padding: 0;
    list-style: none;
}

.single-service__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-block: var(--spacing-sm);
}

.single-service__feature::before {
    content: "";
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--color-primary);
}

/* ==========================================================================
   BLOCK-WHAT-WE-DO
   ========================================================================== */
.block-what-we-do {
    padding-block: var(--spacing-2xl);
    background: var(--color-bg);
    text-align: center;
}

.block-what-we-do__subtitle {
    margin: 0 0 var(--spacing-sm);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.block-what-we-do__title {
    margin: 0 0 var(--spacing-sm);
    font-size: var(--fs-h2);
    font-weight: 700;
    line-height: 1.2;
}

.block-what-we-do__description {
    max-width: 720px;
    margin: 0 auto var(--spacing-xl);
    color: var(--color-muted);
}

/* Cards grid */
.block-what-we-do__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    text-align: left;
}

.block-what-we-do__card {
    display: flex;
    flex-direction: column;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
}

/* Image with overlaid category + title */
.block-what-we-do__media {
    position: relative;
    display: block;
    height: 270px;
    text-decoration: none;
}

.block-what-we-do__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.block-what-we-do__media-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--spacing-lg);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .65) 100%);
}

.block-what-we-do__categories {
    margin-bottom: 4px;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.block-what-we-do__card-title {
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 26px;
    line-height: 1.2;
}

/* Card body */
.block-what-we-do__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: var(--spacing-lg);
}

.block-what-we-do__text {
    margin: 0 0 var(--spacing-lg);
    line-height: 1.6;
}

.block-what-we-do__features {
    margin: 0 0 var(--spacing-lg);
    padding: 0;
    list-style: none;
}

.block-what-we-do__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-block: 6px;
    font-size: 15px;
}

/* Red check circle */
.block-what-we-do__feature::before {
    content: "\2713";
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-size: 11px;
    line-height: 1;
}

/* CTA pinned to the card bottom */
.block-what-we-do__cta {
    margin-top: auto;
    width: 100%;
    gap: 8px;
}

.block-what-we-do__cta-arrow {
    flex: 0 0 auto;
}

/* Pagination */
.block-what-we-do__pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: var(--spacing-xl);
}

.block-what-we-do__pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding-inline: 10px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    color: var(--color-text);
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}

.block-what-we-do__pagination .page-numbers:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.block-what-we-do__pagination .page-numbers.current {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.block-what-we-do__pagination .page-numbers.dots {
    border: 0;
}

/* ==========================================================================
   BLOCK-MAKES-DIFFERENT
   ========================================================================== */
.block-makes-different {
    padding-block: var(--spacing-2xl);
    background: var(--color-bg);
    text-align: center;
}

.block-makes-different__subtitle {
    margin: 0 0 var(--spacing-sm);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.block-makes-different__title {
    margin: 0 0 var(--spacing-xl);
    font-size: var(--fs-h2);
    font-weight: 700;
    line-height: 1.2;
}

/* Cards: extra top margin leaves room for the overlapping number circles. */
.block-makes-different__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: 44px;
}

.block-makes-different__card {
    position: relative;
    padding: 44px var(--spacing-lg) var(--spacing-lg);
    /* background: #f9fafb; */
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}

/* Auto number circle, half-overlapping the card's top edge */
.block-makes-different__number {
    position: absolute;
    top: -27px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
}

.block-makes-different__card-subtitle {
    margin: 0 0 var(--spacing-sm);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.block-makes-different__card-title {
    margin: 0 0 var(--spacing-sm);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.block-makes-different__card-text {
    margin: 0;
    color: var(--color-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

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

.btn--primary:hover,
.btn--primary:focus-visible {
    background: var(--color-primary-dark);
}

.btn--secondary {
    background: var(--color-bg);
    color: var(--color-text);
    border-color: var(--color-border);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

/* ==========================================================================
   SITE HEADER
   ========================================================================== */
.site-header {
    background: var(--color-bg);
}

.site-header__inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: var(--header-gap);
    padding-block: var(--header-pad-y);
}

.site-header__logo {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
}

.site-header__logo-img {
    display: block;
    width: auto;
    height: 48px;
}

/* Centre navigation */
.site-header__nav {
    flex: 1 1 auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.header-menu {
    display: flex;
    align-items: stretch;
    gap: var(--header-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-menu li {
    position: relative;
}

/* Top-level items fill the header height so the active/hover bar can pin to
   the header's bottom edge. (The sub-menu is absolute, so it stays a dropdown.) */
.header-menu > li {
    display: flex;
}

.header-menu a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease;
}

.header-menu > li > a:hover,
.header-menu > li.current-menu-item > a,
.header-menu > li.current-menu-ancestor > a {
    color: var(--color-primary);
}

/* Active / hover bar, pinned to the bottom edge of the header.
   The link fills the header height, so dropping the bar by the header's
   vertical padding lands it flush on the header's bottom edge. */
.header-menu > li > a::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(-1 * var(--header-pad-y));
    height: 3px;
    background: var(--color-primary);
    opacity: 0;
    transition: opacity .2s ease;
}

.header-menu > li > a:hover::before,
.header-menu > li:focus-within > a::before,
.header-menu > li.current-menu-item > a::before,
.header-menu > li.current-menu-ancestor > a::before {
    opacity: 1;
}

/* Dropdown arrow on items with children */
.header-menu .menu-item-has-children > a::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-left: 2px;
    position: relative;
    top: -2px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s ease, top .2s ease;
}

.header-menu .menu-item-has-children.is-open > a::after {
    top: 1px;
    transform: rotate(-135deg);
}

/* Sub-menu (dropdown) */
.header-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    z-index: 100;
}

.header-menu .menu-item-has-children.is-open > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-menu .sub-menu li {
    width: 100%;
}

.header-menu .sub-menu a {
    display: block;
    width: 100%;
    padding: 8px 18px;
    font-weight: 500;
}

.header-menu .sub-menu a:hover {
    color: var(--color-primary);
    background: rgba(192, 57, 43, .06);
}

.site-header__actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

/* ==========================================================================
   BLOCK-OUR-WORK
   ========================================================================== */
.block-our-work {
    padding-block: var(--spacing-2xl);
    background: var(--color-bg-light);
    text-align: center;
}

.block-our-work__subtitle {
    margin: 0 0 var(--spacing-sm);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.block-our-work__title {
    margin: 0 0 var(--spacing-sm);
    font-size: var(--fs-h2);
    font-weight: 700;
    line-height: 1.2;
}

.block-our-work__description {
    max-width: 720px;
    margin: 0 auto var(--spacing-xl);
    color: var(--color-muted);
}

/* Cards grid - project_image fills the top ~62% of the card, the text part
   sits on solid dark #162a35, joined by a smooth fade over the image bottom */
.block-our-work__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    text-align: left;
}

.block-our-work__card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    background: #162a35; /* card body colour from the design */
    overflow: hidden;
    color: #fff;
}

/* Image area: keeps ~62% of the card height via its aspect ratio */
.block-our-work__media {
    position: relative;
    aspect-ratio: 12 / 11;
    padding: var(--spacing-lg);
    background-color: #162a35;
    background-size: cover;
    background-position: center;
}

/* Fade from the image into the dark text part below */
.block-our-work__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(22, 42, 53, 0) 45%, #162a35 100%);
}

.block-our-work__types {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin: 0;
    padding: 0;
    list-style: none;
}

.block-our-work__type {
    padding: 12px 25px;
    border-radius: 999px;
    background: var(--color-primary);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
}

.block-our-work__card-body {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    padding-bottom: 36px;
    padding-top: 20px;
}

.block-our-work__card-title {
    margin: 0 0 var(--spacing-sm);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

.block-our-work__card-text {
    margin: 0;
    color: rgba(255, 255, 255, .85);
    font-size: 15px;
}

.block-our-work__actions {
    margin-top: var(--spacing-xl);
}

.block-our-work__cta {
    gap: var(--spacing-sm);
}

/* ==========================================================================
   BLOCK-HOW-WE-WORK
   ========================================================================== */
.block-how-we-work {
    padding-block: var(--spacing-2xl);
    background: var(--color-bg);
    text-align: center;
}

.block-how-we-work__subtitle {
    margin: 0 0 var(--spacing-sm);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.block-how-we-work__title {
    margin: 0 0 var(--spacing-xl);
    font-size: var(--fs-h2);
    font-weight: 700;
    line-height: 1.2;
}

/* Numbered steps row */
.block-how-we-work__points {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
    text-align: left;
}

.block-how-we-work__point {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

/* Auto-numbered 01/02/... circle */
.block-how-we-work__number {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
}

.block-how-we-work__point-title {
    /* margin: 14px 0 var(--spacing-sm); */
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.block-how-we-work__point-text {
    margin: 0;
    color: var(--color-muted);
    font-size: 15px;
}
