/**
 * =========================================================
 * FILE: /assets/css/theme.css
 * TEMA: Gieffe Classic
 * SCOPO:
 * - Stile principale del tema
 * - Layout generale
 * - Header, menu, footer
 * - Home page personalizzata
 * - Blog, archivi e ricerca
 * - Sezioni personalizzate Home con shortcode
 * VERSIONE: 1.2
 * =========================================================
 */

/* =========================================================
   BLOCCO: RESET BASE
   ========================================================= */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #1f2933;
    background: #f5f7fa;
    line-height: 1.6;
}

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

a {
    color: #005fa3;
    text-decoration: none;
}

a:hover {
    color: #003f73;
    text-decoration: underline;
}

/* =========================================================
   BLOCCO: ACCESSIBILITÀ
   ========================================================= */

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =========================================================
   BLOCCO: HEADER
   ========================================================= */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #dde3ea;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-branding {
    display: flex;
    flex-direction: column;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

.site-title:hover {
    color: #111827;
    text-decoration: none;
}

.site-description {
    margin: 2px 0 0;
    font-size: 0.875rem;
    color: #64748b;
}

.site-logo img {
    max-height: 70px;
    width: auto;
}

/* =========================================================
   BLOCCO: MENU
   ========================================================= */

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 22px;
    align-items: center;
}

.main-navigation a {
    color: #1f2933;
    font-weight: 600;
    font-size: 0.95rem;
}

.main-navigation a:hover {
    color: #005fa3;
    text-decoration: none;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle__line {
    display: block;
    width: 26px;
    height: 2px;
    background: #1f2933;
    margin: 5px 0;
}

/* =========================================================
   BLOCCO: LAYOUT GENERALE
   ========================================================= */

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

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px;
}

.content-wrapper--narrow {
    max-width: 860px;
}

.content-wrapper--full {
    max-width: none;
}

/* =========================================================
   BLOCCO: LISTA ARTICOLI / CARD
   ========================================================= */

.post-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.post-card {
    background: #ffffff;
    border: 1px solid #dde3ea;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.post-card__image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.post-card__content {
    padding: 22px;
}

.post-card__title {
    margin: 0 0 10px;
    font-size: 1.25rem;
    line-height: 1.3;
}

.post-card__title a {
    color: #111827;
}

.post-card__title a:hover {
    color: #005fa3;
    text-decoration: none;
}

.post-card__meta {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 14px;
}

.post-card__category {
    display: inline-flex;
    margin-left: 8px;
    padding-left: 8px;
    border-left: 1px solid #cbd5e1;
    color: #005fa3;
    font-weight: 700;
}

.post-card__excerpt {
    color: #475569;
    margin-bottom: 18px;
}

/* =========================================================
   BLOCCO: ARTICOLO SINGOLO / PAGINA
   ========================================================= */

.single-content,
.page-content {
    background: #ffffff;
    border: 1px solid #dde3ea;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.single-content__title,
.page-content__title {
    margin: 0 0 14px;
    color: #111827;
    font-size: 2.3rem;
    line-height: 1.2;
}

.single-content__meta {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.single-content__author {
    margin-left: 8px;
}

.single-content__image,
.page-content__image {
    margin: 28px 0;
}

.single-content__image img,
.page-content__image img {
    border-radius: 12px;
}

.single-content__body,
.page-content__body {
    font-size: 1.05rem;
}

.single-content__body h2,
.page-content__body h2 {
    margin-top: 2rem;
    color: #111827;
}

.single-content__body p,
.page-content__body p {
    margin-bottom: 1.2rem;
}

/* =========================================================
   BLOCCO: ARCHIVI
   ========================================================= */

.archive-header {
    margin-bottom: 32px;
}

.archive-title {
    margin: 0 0 8px;
    font-size: 2rem;
    color: #111827;
}

.archive-description {
    color: #64748b;
}

/* =========================================================
   BLOCCO: BOTTONI
   ========================================================= */

.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #005fa3;
    color: #ffffff;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
}

.button-link:hover {
    background: #003f73;
    color: #ffffff;
    text-decoration: none;
}

.button-link--secondary {
    background: #ffffff;
    color: #005fa3;
    border: 1px solid #c8d8e6;
}

.button-link--secondary:hover {
    background: #eef5fb;
    color: #003f73;
}

/* =========================================================
   BLOCCO: PAGINAZIONE
   ========================================================= */

.pagination-wrapper {
    margin-top: 40px;
}

.nav-links {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #dde3ea;
    color: #1f2933;
    font-weight: 600;
}

.page-numbers.current {
    background: #005fa3;
    color: #ffffff;
    border-color: #005fa3;
}

/* =========================================================
   BLOCCO: 404 / CONTENUTO VUOTO
   ========================================================= */

.error-404,
.empty-content {
    background: #ffffff;
    border: 1px solid #dde3ea;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}

/* =========================================================
   BLOCCO: HOME PAGE - HERO
   ========================================================= */

.home-hero {
    background:
        radial-gradient(circle at top left, rgba(0, 95, 163, 0.18), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, #eef5fb 100%);
    border-bottom: 1px solid #dde3ea;
}

.home-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 24px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    align-items: center;
    gap: 56px;
}

.home-hero__eyebrow,
.section-header__eyebrow {
    margin: 0 0 12px;
    color: #005fa3;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.home-hero__title {
    margin: 0;
    color: #111827;
    font-size: clamp(2.3rem, 5vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.home-hero__text {
    margin: 24px 0 0;
    max-width: 680px;
    color: #475569;
    font-size: 1.15rem;
}

.home-hero__text p {
    margin: 0 0 1rem;
}

.home-hero__text p:last-child {
    margin-bottom: 0;
}

.home-hero__text a {
    font-weight: 700;
}

.home-hero__actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.home-hero__box {
    display: flex;
    justify-content: flex-end;
}

.home-hero__box-card {
    width: 100%;
    max-width: 420px;
    min-height: 320px;
    background: #111827;
    color: #ffffff;
    border-radius: 28px;
    padding: 34px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
}

.home-hero__box-card::before {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    right: -50px;
    top: -50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.home-hero__box-card::after {
    content: "</>";
    position: absolute;
    right: 28px;
    top: 24px;
    color: rgba(255, 255, 255, 0.14);
    font-size: 4rem;
    font-weight: 800;
}

.home-hero__box-label {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.82rem;
    font-weight: 700;
}

.home-hero__box-card strong {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 12px;
}

.home-hero__box-card p {
    margin: 0;
    color: #dbeafe;
}

/* =========================================================
   BLOCCO: HOME PAGE - SEZIONI BASE
   ========================================================= */

.section-header {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-header--row {
    max-width: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.section-header__title {
    margin: 0;
    color: #111827;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.section-header__text {
    margin: 14px 0 0;
    color: #64748b;
    font-size: 1.05rem;
}

.home-services {
    background: #f5f7fa;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.service-card {
    background: #ffffff;
    border: 1px solid #dde3ea;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.service-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #eef5fb;
    color: #005fa3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 18px;
}

.service-card__title {
    margin: 0 0 10px;
    color: #111827;
    font-size: 1.25rem;
}

.service-card__text {
    margin: 0;
    color: #64748b;
}

.home-latest-posts {
    background: #ffffff;
    border-top: 1px solid #dde3ea;
}

/* =========================================================
   BLOCCO: SEZIONI PERSONALIZZATE HOME
   ========================================================= */

.home-custom-section {
    border-top: 1px solid #dde3ea;
}

.home-custom-section--bg-white {
    background: #ffffff;
}

.home-custom-section--bg-gray {
    background: #f5f7fa;
}

.home-custom-section--bg-blue {
    background: #eef5fb;
}

.home-custom-section__wrapper {
    padding-top: 56px;
    padding-bottom: 56px;
}

.home-custom-section__header {
    max-width: 780px;
    margin-bottom: 28px;
}

.home-custom-section__title {
    margin: 0;
    color: #111827;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.home-custom-section__content {
    color: #475569;
    font-size: 1.05rem;
}

.home-custom-section__content p {
    margin-top: 0;
    margin-bottom: 1.2rem;
}

.home-custom-section__content p:last-child {
    margin-bottom: 0;
}

.home-custom-section__content iframe,
.home-custom-section__content video,
.home-custom-section__content embed,
.home-custom-section__content object {
    max-width: 100%;
}

.home-custom-section__content form {
    max-width: 720px;
}

.home-custom-section__content input,
.home-custom-section__content textarea,
.home-custom-section__content select {
    max-width: 100%;
}

.home-custom-section__content input[type="text"],
.home-custom-section__content input[type="email"],
.home-custom-section__content input[type="tel"],
.home-custom-section__content input[type="url"],
.home-custom-section__content input[type="search"],
.home-custom-section__content textarea,
.home-custom-section__content select {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 1rem;
    color: #111827;
    background: #ffffff;
}

.home-custom-section__content input:focus,
.home-custom-section__content textarea:focus,
.home-custom-section__content select:focus {
    outline: none;
    border-color: #005fa3;
    box-shadow: 0 0 0 3px rgba(0, 95, 163, 0.12);
}

.home-custom-section__content input[type="submit"],
.home-custom-section__content button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #005fa3;
    color: #ffffff;
    border: 0;
    border-radius: 999px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
}

.home-custom-section__content input[type="submit"]:hover,
.home-custom-section__content button:hover {
    background: #003f73;
}

/* =========================================================
   BLOCCO: PAGINA BLOG
   ========================================================= */

.blog-hero {
    background:
        radial-gradient(circle at top right, rgba(0, 95, 163, 0.14), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #eef5fb 100%);
    border-bottom: 1px solid #dde3ea;
}

.blog-hero__header {
    max-width: 780px;
}

.blog-hero__eyebrow {
    margin: 0 0 12px;
    color: #005fa3;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.blog-hero__title {
    margin: 0;
    color: #111827;
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.blog-hero__text {
    margin-top: 22px;
    color: #475569;
    font-size: 1.1rem;
}

.blog-hero__text p {
    margin: 0 0 1rem;
}

.blog-hero__text p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   BLOCCO: RICERCA
   ========================================================= */

.search-hero {
    background:
        radial-gradient(circle at top right, rgba(0, 95, 163, 0.14), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #eef5fb 100%);
    border-bottom: 1px solid #dde3ea;
}

.search-hero__header {
    max-width: 860px;
}

.search-hero__eyebrow {
    margin: 0 0 12px;
    color: #005fa3;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.search-hero__title {
    margin: 0;
    color: #111827;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.search-hero__title span {
    color: #005fa3;
}

.search-hero__form {
    margin-top: 28px;
    max-width: 640px;
}

.search-form {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: 100%;
}

.search-form__field {
    flex: 1;
    min-width: 0;
    height: 48px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    padding: 0 18px;
    font-size: 1rem;
    color: #111827;
    background: #ffffff;
    outline: none;
}

.search-form__field:focus {
    border-color: #005fa3;
    box-shadow: 0 0 0 3px rgba(0, 95, 163, 0.12);
}

.search-form__submit {
    height: 48px;
    border: 0;
    border-radius: 999px;
    padding: 0 22px;
    background: #005fa3;
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
}

.search-form__submit:hover {
    background: #003f73;
}

.search-results-info {
    margin-bottom: 24px;
    color: #64748b;
    font-weight: 700;
}

.empty-content--search {
    max-width: 720px;
    margin: 0 auto;
}

.empty-content__search {
    margin-top: 24px;
}

/* =========================================================
   BLOCCO: FOOTER
   ========================================================= */

.site-footer {
    background: #111827;
    color: #ffffff;
}

.site-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-footer a {
    color: #ffffff;
}

.footer-navigation ul {
    list-style: none;
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 0;
}

/* =========================================================
   BLOCCO: RESPONSIVE TABLET
   ========================================================= */

@media (max-width: 900px) {
    .post-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .single-content__title,
    .page-content__title {
        font-size: 1.9rem;
    }

    .home-hero__inner {
        grid-template-columns: 1fr;
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .home-hero__box {
        justify-content: flex-start;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .section-header--row {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================================
   BLOCCO: RESPONSIVE MOBILE
   ========================================================= */

@media (max-width: 720px) {
    .site-header__inner {
        align-items: flex-start;
    }

    .menu-toggle {
        display: block;
    }

    .main-navigation {
        display: none;
        width: 100%;
        position: absolute;
        top: 82px;
        left: 0;
        background: #ffffff;
        border-bottom: 1px solid #dde3ea;
        padding: 18px 24px;
    }

    .main-navigation.is-open {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .post-list {
        grid-template-columns: 1fr;
    }

    .single-content,
    .page-content {
        padding: 24px;
    }

    .home-hero__inner {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .home-hero__box-card {
        min-height: 260px;
        padding: 26px;
        border-radius: 22px;
    }

    .home-hero__box-card strong {
        font-size: 1.6rem;
    }

    .home-hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-custom-section__wrapper {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .site-footer__inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-navigation ul {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* =========================================================
   BLOCCO: RESPONSIVE RICERCA
   ========================================================= */

@media (max-width: 600px) {
    .search-form {
        flex-direction: column;
    }

    .search-form__submit {
        width: 100%;
    }
}
/* =========================================================
   BLOCCO: HOME MODULARE - SEZIONI RIUTILIZZABILI
   ========================================================= */

.home-section {
    border-bottom: 1px solid #dde3ea;
}

.home-section--bg-white {
    background: #ffffff;
}

.home-section--bg-gray {
    background: #f5f7fa;
}

.home-section--bg-blue {
    background: #eef5fb;
}

.home-section--bg-dark {
    background: #111827;
    color: #ffffff;
}

.home-section__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 24px;
}

.home-section__inner--narrow {
    max-width: 860px;
}

.home-section__inner--full {
    max-width: none;
}

.home-section__inner--hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: center;
    gap: 56px;
    min-height: 420px;
}

.home-section__header {
    max-width: 780px;
    margin-bottom: 34px;
}

.home-section__header--row {
    max-width: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.home-section__eyebrow {
    margin: 0 0 12px;
    color: #005fa3;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.home-section--bg-dark .home-section__eyebrow {
    color: #93c5fd;
}

.home-section__hero-title {
    margin: 0;
    color: #111827;
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.home-section__title {
    margin: 0;
    color: #111827;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.home-section--bg-dark .home-section__hero-title,
.home-section--bg-dark .home-section__title {
    color: #ffffff;
}

.home-section__text {
    margin-top: 18px;
    color: #475569;
    font-size: 1.05rem;
}

.home-section__text--large {
    max-width: 720px;
    font-size: 1.16rem;
}

.home-section--bg-dark .home-section__text,
.home-section--bg-dark .home-section__free-content {
    color: #dbeafe;
}

.home-section__text p,
.home-section__free-content p {
    margin-top: 0;
    margin-bottom: 1.2rem;
}

.home-section__text p:last-child,
.home-section__free-content p:last-child {
    margin-bottom: 0;
}

.home-section__actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.home-section__media img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
}

.home-section__free-content {
    color: #475569;
    font-size: 1.05rem;
}

.home-section__free-content iframe,
.home-section__free-content video,
.home-section__free-content embed,
.home-section__free-content object {
    max-width: 100%;
}

.home-section__free-content form {
    max-width: 760px;
}

.home-section__free-content input,
.home-section__free-content textarea,
.home-section__free-content select {
    max-width: 100%;
}

.home-section__free-content input[type="text"],
.home-section__free-content input[type="email"],
.home-section__free-content input[type="tel"],
.home-section__free-content input[type="url"],
.home-section__free-content input[type="search"],
.home-section__free-content textarea,
.home-section__free-content select {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 1rem;
    color: #111827;
    background: #ffffff;
}

.home-section__free-content input:focus,
.home-section__free-content textarea:focus,
.home-section__free-content select:focus {
    outline: none;
    border-color: #005fa3;
    box-shadow: 0 0 0 3px rgba(0, 95, 163, 0.12);
}

.home-section__free-content input[type="submit"],
.home-section__free-content button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #005fa3;
    color: #ffffff;
    border: 0;
    border-radius: 999px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
}

.home-section__free-content input[type="submit"]:hover,
.home-section__free-content button:hover {
    background: #003f73;
}

/* =========================================================
   BLOCCO: HOME MODULARE - SERVIZI
   ========================================================= */

.home-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.home-service-card {
    background: #ffffff;
    border: 1px solid #dde3ea;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.home-section--bg-dark .home-service-card {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.home-service-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #eef5fb;
    color: #005fa3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 18px;
}

.home-service-card__title {
    margin: 0 0 10px;
    color: #111827;
    font-size: 1.25rem;
}

.home-section--bg-dark .home-service-card__title {
    color: #ffffff;
}

.home-service-card__text {
    margin: 0;
    color: #64748b;
}

.home-section--bg-dark .home-service-card__text {
    color: #dbeafe;
}

.home-service-card__link {
    display: inline-flex;
    margin-top: 18px;
    font-weight: 800;
}

/* =========================================================
   BLOCCO: HOME MODULARE - RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
    .home-section__inner--hero {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .home-services-grid {
        grid-template-columns: 1fr;
    }

    .home-section__header--row {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 720px) {
    .home-section__inner {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .home-section__hero-title {
        font-size: clamp(2.1rem, 12vw, 3.1rem);
    }

    .home-section__actions {
        flex-direction: column;
        align-items: flex-start;
    }
}