* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.digiondel-home-template {
    margin: 0;
    background: #ffffff;
    color: #18324a;
    font-family: Arial, Helvetica, sans-serif;
}

.dg-home {
    overflow: hidden;
}

.dg-home a {
    color: inherit;
}

.dg-home-container {
    width: min(1140px, calc(100% - 40px));
    margin: 0 auto;
}

.dg-home-header {
    position: relative;
    z-index: 20;
    background: #ffffff;
    border-bottom: 1px solid #e7edf1;
}

.dg-home-header__inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    gap: 34px;
}

.dg-home-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-right: auto;
    color: #18324a;
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
}

.dg-home-brand__mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #213f5b;
    color: #ffffff;
}

.dg-home-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.dg-home-nav a {
    color: #42596d;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.dg-home-nav a:hover {
    color: #13785f;
}

.dg-home-header__cta {
    padding: 11px 18px;
    border-radius: 9px;
    background: #168a63;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.dg-home-hero {
    padding: 90px 0;
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(168, 220, 207, 0.35),
            transparent 30%
        ),
        #f7f2e9;
}

.dg-home-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(350px, 0.85fr);
    align-items: center;
    gap: 70px;
}

.dg-home-eyebrow {
    display: inline-block;
    color: #13785f;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.dg-home-hero h1 {
    max-width: 720px;
    margin: 18px 0 24px;
    color: #18324a;
    font-size: clamp(50px, 6vw, 80px);
    line-height: 1.03;
    letter-spacing: -0.045em;
}

.dg-home-hero h1 span {
    display: block;
    color: #168a63;
}

.dg-home-hero__copy > p {
    max-width: 670px;
    margin: 0;
    color: #4a6174;
    font-size: 19px;
    line-height: 1.75;
}

.dg-home-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 34px;
}

.dg-home-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 2px solid #168a63;
    border-radius: 10px;
    background: #168a63;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
}

.dg-home-button--outline {
    background: transparent;
    color: #18324a !important;
    border-color: #bdcbd3;
}

.dg-home-hero__panel {
    padding: 36px;
    border: 1px solid rgba(24, 50, 74, 0.1);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 25px 70px rgba(24, 50, 74, 0.12);
}

.dg-home-panel__label {
    color: #168a63;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.dg-home-hero__panel h2 {
    margin: 14px 0 28px;
    font-size: 30px;
    line-height: 1.2;
}

.dg-home-panel__items {
    display: grid;
    gap: 12px;
}

.dg-home-panel__items div {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px;
    border-radius: 12px;
    background: #f5f8f8;
}

.dg-home-panel__items strong {
    color: #168a63;
}

.dg-home-panel__items span {
    color: #344d61;
    font-weight: 700;
}

.dg-home-products {
    padding: 95px 0;
}

.dg-home-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
    align-items: end;
    gap: 60px;
    margin-bottom: 46px;
}

.dg-home-section-heading h2 {
    max-width: 700px;
    margin: 13px 0 0;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.dg-home-section-heading > p {
    margin: 0;
    color: #597083;
    font-size: 17px;
    line-height: 1.7;
}

.dg-home-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.dg-home-product-card {
    overflow: hidden;
    border: 1px solid #e4eaee;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 14px 40px rgba(24, 50, 74, 0.07);
}

.dg-home-product-card__image {
    position: relative;
    min-height: 310px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: #edf5f8;
    text-decoration: none;
}

.dg-home-product-card__image img {
    width: 100%;
    height: 280px;
    object-fit: contain;
}

.dg-home-product-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 11px;
    border-radius: 999px;
    background: #18324a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
}

.dg-home-product-card__content {
    padding: 25px;
}

.dg-home-product-card__type {
    color: #168a63;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.dg-home-product-card h3 {
    margin: 10px 0 12px;
    font-size: 25px;
    line-height: 1.2;
}

.dg-home-product-card h3 a {
    text-decoration: none;
}

.dg-home-product-card p {
    min-height: 72px;
    margin: 0;
    color: #607588;
    font-size: 15px;
    line-height: 1.65;
}

.dg-home-product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #e7ecef;
}

.dg-home-product-card__footer strong {
    color: #18324a;
    font-size: 18px;
}

.dg-home-product-card__footer del {
    display: block;
    color: #81909c;
    font-size: 12px;
}

.dg-home-product-card__footer a {
    color: #168a63;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

.dg-home-empty {
    padding: 50px;
    border-radius: 18px;
    background: #f7f2e9;
    text-align: center;
}

.dg-home-values {
    padding: 70px 0;
    background: #18324a;
}

.dg-home-value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.dg-home-value-grid article {
    padding: 15px 38px;
    color: #ffffff;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.dg-home-value-grid article:first-child {
    padding-left: 0;
}

.dg-home-value-grid article:last-child {
    border-right: 0;
}

.dg-home-value-grid strong {
    font-size: 24px;
}

.dg-home-value-grid p {
    margin: 10px 0 0;
    color: #ccdae4;
    line-height: 1.7;
}

.dg-home-how {
    padding: 95px 0;
    background: #f7f2e9;
}

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

.dg-home-how__grid article {
    padding: 30px;
    border-radius: 18px;
    background: #ffffff;
}

.dg-home-how__grid article > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #dff2ec;
    color: #13785f;
    font-weight: 900;
}

.dg-home-how__grid h3 {
    margin: 20px 0 10px;
    font-size: 22px;
}

.dg-home-how__grid p {
    margin: 0;
    color: #607588;
    line-height: 1.65;
}

.dg-home-final {
    padding: 95px 0;
    background: #ffffff;
    text-align: center;
}

.dg-home-final .dg-home-container {
    max-width: 850px;
}

.dg-home-final h2 {
    margin: 15px auto 30px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.dg-home-footer {
    padding: 42px 0;
    background: #10283b;
    color: #ffffff;
    text-align: center;
}

.dg-home-footer p {
    margin: 9px 0;
}

.dg-home-footer small {
    color: #b8c7d2;
}

@media (max-width: 900px) {
    .dg-home-nav {
        display: none;
    }

    .dg-home-hero__grid,
    .dg-home-section-heading {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .dg-home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .dg-home-container {
        width: min(100% - 28px, 1140px);
    }

    .dg-home-header__inner {
        min-height: 64px;
    }

    .dg-home-header__cta {
        padding: 10px 13px;
        font-size: 12px;
    }

    .dg-home-hero {
        padding: 65px 0;
    }

    .dg-home-hero h1 {
        font-size: 45px;
    }

    .dg-home-hero__copy > p {
        font-size: 17px;
    }

    .dg-home-hero__panel {
        padding: 25px;
    }

    .dg-home-products,
    .dg-home-how,
    .dg-home-final {
        padding: 70px 0;
    }

    .dg-home-product-grid,
    .dg-home-value-grid,
    .dg-home-how__grid {
        grid-template-columns: 1fr;
    }

    .dg-home-value-grid article {
        padding: 24px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    }

    .dg-home-value-grid article:last-child {
        border-bottom: 0;
    }

    .dg-home-product-card__image {
        min-height: 260px;
    }

    .dg-home-product-card__image img {
        height: 235px;
    }
}

/* DIGIONDEL HOME FAQ + SINGLE PRODUCT */

.dg-home-product-grid--single {
    grid-template-columns: minmax(0, 420px);
}

.dg-home-faq {
    padding: 95px 0;
    background: #ffffff;
}

.dg-home-faq__grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
    align-items: start;
    gap: 75px;
}

.dg-home-faq__intro {
    position: sticky;
    top: 30px;
}

.dg-home-faq__intro h2 {
    margin: 14px 0 18px;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.dg-home-faq__intro p {
    margin: 0;
    color: #607588;
    font-size: 17px;
    line-height: 1.7;
}

.dg-home-faq__list {
    display: grid;
    gap: 14px;
}

.dg-home-faq details {
    overflow: hidden;
    border: 1px solid #e1e8ec;
    border-radius: 15px;
    background: #ffffff;
}

.dg-home-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 24px;
    color: #18324a;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.4;
    cursor: pointer;
    list-style: none;
}

.dg-home-faq summary::-webkit-details-marker {
    display: none;
}

.dg-home-faq summary::after {
    content: "+";
    flex: 0 0 auto;
    color: #168a63;
    font-size: 25px;
    font-weight: 500;
}

.dg-home-faq details[open] summary::after {
    content: "−";
}

.dg-home-faq details[open] summary {
    border-bottom: 1px solid #e7ecef;
}

.dg-home-faq details p {
    margin: 0;
    padding: 20px 24px 24px;
    color: #607588;
    line-height: 1.75;
}

@media (max-width: 900px) {
    .dg-home-faq__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .dg-home-faq__intro {
        position: static;
    }
}

@media (max-width: 650px) {
    .dg-home-faq {
        padding: 70px 0;
    }

    .dg-home-faq summary {
        padding: 19px;
        font-size: 16px;
    }

    .dg-home-faq details p {
        padding: 18px 19px 21px;
    }

    .dg-home-product-grid--single {
        grid-template-columns: 1fr;
    }
}
/* DIGIONDEL HOME MOBILE FAQ OVERFLOW FIX */

html,
body.digiondel-home-template {
    max-width: 100%;
    overflow-x: hidden;
}

.dg-home,
.dg-home-container,
.dg-home-faq__grid,
.dg-home-faq__intro,
.dg-home-faq__list,
.dg-home-faq details {
    min-width: 0;
    max-width: 100%;
}

.dg-home-faq details {
    width: 100%;
}

.dg-home-faq summary {
    width: 100%;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}

.dg-home-faq summary::after {
    margin-left: 12px;
}

.dg-home-faq details p {
    width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 650px) {
    .dg-home-faq__grid,
    .dg-home-faq__list,
    .dg-home-faq details {
        width: 100%;
    }
}
