.page-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(220px, 32vh, 340px);
    overflow: hidden;
    background-color: var(--dg-secondary);
    margin: 1rem;
    border-radius: 8px;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--page-hero-bg-mobile, var(--page-hero-bg));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        105deg,
        rgba(14, 61, 102, 0.45) 0%,
        rgba(20, 79, 132, 0.35) 45%,
        rgba(20, 79, 132, 0.25) 100%
    );
}

.page-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem;
}

.page-hero__breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: var(--dg-font-body);
    font-size: 1rem;
    font-weight: 500;
}

.page-hero__breadcrumb-item {
    display: inline-flex;
    align-items: center;
    color: rgba(243, 243, 243, 0.75);
}

.page-hero__breadcrumb-item:not(:last-child)::after {
    content: '›';
    margin: 0 0.55rem;
    font-size: 1rem;
    line-height: 1;
    color: var(--dg-highlight);
    opacity: 0.9;
}

.page-hero__breadcrumb-item a {
    color: rgba(243, 243, 243, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-hero__breadcrumb-item a:hover {
    color: var(--dg-highlight);
}

.page-hero__breadcrumb-item[aria-current='page'] {
    color: var(--dg-highlight);
    font-weight: 600;
}

.page-hero__title {
    letter-spacing: 0.01em;
    margin: 0 0 1.25rem;
    font-size: clamp(2.75rem, 5vw, 5.25rem);
    font-weight: 700;
    /* line-height: 1.12; */
    color: var(--dg-text);
    font-family: var(--dg-font-heading);
}

.dg-featured-image-section {
    padding: clamp(1.75rem, 4vw, 2.75rem) 0;
    background: rgba(20, 79, 132, 0.04);
    overflow: hidden;
}

.dg-featured-image-section .section-title {
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.dg-logo-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.dg-logo-slider__track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: clamp(2.5rem, 5vw, 4rem);
    padding: 0.5rem 0;
    animation: dg-logo-marquee 35s linear infinite;
}

.dg-logo-slider:hover .dg-logo-slider__track {
    animation-play-state: paused;
}

.dg-logo-slider__item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    padding: 0 0.25rem;
}

.dg-logo-slider__item img {
    display: block;
    max-height: 70px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.72;
    transition: filter 0.25s ease, opacity 0.25s ease;
}

.dg-logo-slider__item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

@keyframes dg-logo-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .dg-logo-slider__track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        max-width: 1100px;
        margin: 0 auto;
        padding: 0 1.25rem;
        gap: 1.75rem 2.5rem;
    }

    .dg-logo-slider__track .dg-logo-slider__item:nth-child(n + 10) {
        display: none;
    }
}

/* Legacy featured image (unused) */
.dg-featured-image-section__inner {
    background-color: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 .5rem 0 rgba(0, 0, 0, 0.1);
    max-width: 1280px;
    margin: 0 auto;
}

.dg-featured-image-section__inner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Cards Section */
.dg-cards-section {
    padding: 4rem 1.25rem 4rem;
    background: #fff;
}

.dg-cards-section__inner {
    max-width: 1280px;
    margin: 0 auto;
}

/* What You Will Experience — split intro + icon rows */
.dg-experience-section {
    padding: clamp(3.5rem, 7vw, 5rem) 1.25rem;
    background: #fff;
}

.dg-experience-section__inner {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.2fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.dg-experience-section__intro .dg-eyebrow {
    margin-bottom: 0.85rem;
}

.dg-experience-section__intro .dg-title {
    margin: 0 0 1rem;
    text-align: left;
}

.dg-experience-section__intro .title-desc {
    margin: 0;
    max-width: 28rem;
    color: rgba(14, 61, 102, 0.72);
    text-align: left;
}

.dg-experience-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dg-experience-row {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    padding: 1.15rem 0;
    border-bottom: 1px solid rgba(20, 79, 132, 0.1);
    transition: background 0.25s ease;
}

.dg-experience-row:last-child {
    border-bottom: none;
}

.dg-experience-row__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: rgba(167, 199, 83, 0.18);
    color: var(--dg-secondary);
    font-size: 1rem;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.dg-experience-row:hover .dg-experience-row__icon {
    background: var(--dg-highlight);
    color: #fff;
    transform: scale(1.06);
}

.dg-experience-row__text {
    margin: 0;
    padding-top: 0.45rem;
    font-family: var(--dg-font-body);
    font-size: 1.08rem;
    font-weight: 500;
    line-height: 1.55;
    color: var(--dg-secondary);
}

@media (max-width: 767.5px) {
    .dg-experience-section__inner {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .dg-experience-section__intro .dg-title,
    .dg-experience-section__intro .title-desc {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .dg-experience-section__intro .dg-eyebrow {
        display: inline-block;
    }

    .dg-experience-section__intro {
        text-align: center;
    }
}

.dg-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.dg-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}


.dg-card__img-wrap {
   display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    margin: 1rem;
    background-color:  rgba(255, 255, 255, 0.95);
    border-radius: 8px;
}

.dg-card__img-wrap img {
    transition: transform 0.4s ease;
    height: 100%;
    width: 100%;
    object-fit: cover;
    max-width: 200px;
    max-height: 200px;
}

.dg-card__img-wrap--svg img {
    object-fit: contain;
    max-width: 240px;
    max-height: 190px;
}

.dg-card:hover .dg-card__img-wrap img {
    transform: scale(1.05);
}


.dg-card__body {
    padding: 0rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}



.dg-expertise-list {
    list-style: none;
    /* margin: auto 0 0; */
    padding: 0.75rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    text-align: left;
    width: 100%;
}

.dg-expertise-list li {
    margin: 0;
}

.dg-expertise-list a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0;
    font-family: var(--dg-font-body);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.dg-expertise-list a::before {
    content: "";
    flex-shrink: 0;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--dg-highlight);
}

.dg-expertise-list a:hover {
    color: var(--dg-highlight-hover);
}
.dg-card__title{
color: #fff !important;
}
.dg-card__title, .dg-journey-content-title {
    margin: 0 0 0.75rem;
    font-family: var(--dg-font-heading);
    font-size: 1.50rem;
    font-weight: 800;
    color: var(--dg-primary);
    line-height: 1.3;
}

.dg-card__desc {
    margin: 0;
    font-family: var(--dg-font-body);
    font-size: 1.10rem;
    font-weight: 400;
    line-height: 1.7;
    color: #475569;
}
/* Our Expertise — solid theme bg + stats pattern */
.dg-expertise-section {
    padding: 5rem 1.25rem;
    background-color: var(--dg-secondary);
    background-image:
        radial-gradient(circle at 15% 80%, rgba(167, 199, 83, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 85% 15%, rgba(167, 199, 83, 0.04) 0%, transparent 35%),
        radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 24px 24px, 24px 24px;
    background-position: 0 0, 0 0, 0 0, 12px 12px;
}

.dg-expertise-section .section-title {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}


/* Parallax (used by other sections if needed) */
.dg-parallax {
    position: relative;
    background-image: url('../img/digitofy-hero-1.png');
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 0;
}

.dg-parallax__overlay {
    position: absolute;
    inset: 0;
    background: rgba(14, 61, 102, 0.85);
    z-index: 1;
}

.dg-parallax__content {
    position: relative;
    z-index: 2;
    padding: 5rem 1.25rem;
}

.points-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    max-width: 900px;
    margin: 2rem auto 0;
}

.point-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(167, 199, 83, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    transition: background 0.25s, transform 0.25s, border-color 0.25s;
}

.point-item:hover {
    background: rgba(167, 199, 83, 0.08);
    border-color: rgba(167, 199, 83, 0.3);
    transform: translateY(-2px);
}

.point-item__icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(167, 199, 83, 0.5);
    color: var(--dg-primary);
    font-size: 0.85rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.point-item__content {
    flex: 1;
    text-align: left;
}

/* Testimonials */
.dg-testimonials-section{
   padding: 4rem 1.25rem 4rem;
}
.dg-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.dg-testimonial-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(14, 61, 102, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dg-testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(14, 61, 102, 0.14);
}

.dg-testimonial-card__video {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0e3d66;
}

.dg-testimonial-card__video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.dg-testimonial-card:hover .dg-testimonial-card__video img {
    transform: scale(1.03);
}

.dg-testimonial-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    color: var(--dg-primary);
    font-size: 1.1rem;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s, background 0.25s;
}

.dg-testimonial-card__play:hover {
    transform: translate(-50%, -50%) scale(1.12);
    background: var(--dg-highlight);
    color: #fff;
}
.dg-testimonial-card__body {
    padding: 1rem 1.5rem;
}
.dg-testimonial-card__body p{
    text-align: justify;
}
.dg-testimonial-card__title {
    background-color: var(--dg-primary);
    padding: .5rem 0;
    text-align: center;
    font-family: var(--dg-font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
}

.dg-testimonial-card__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: rgba(20, 79, 132, 0.04);
    border-radius: 8px;
}

.dg-testimonial-card__stat {
    text-align: center;
}

.dg-testimonial-card__stat-value {
    display: block;
    font-family: var(--dg-font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dg-primary);
    line-height: 1.2;
}

.dg-testimonial-card__stat-label {
    display: block;
    margin-top: 0.2rem;
    font-family: var(--dg-font-body);
    font-size: 0.78rem;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dg-testimonial-card__read-more a{
    color: var(--dg-primary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

/* Video Modal */
.dg-video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.dg-video-modal[hidden] {
    display: none;
}

.dg-video-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.dg-video-modal__content {
    position: relative;
    width: 100%;
    max-width: 900px;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.dg-video-modal__close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.dg-video-modal__close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.dg-video-modal__iframe-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.dg-video-modal__iframe-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Stats Section */
.dg-stats-section {
    padding: 5rem 1.25rem;
    background-color: var(--dg-secondary);
    background-image:
        radial-gradient(circle at 15% 80%, rgba(167, 199, 83, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 85% 15%, rgba(167, 199, 83, 0.04) 0%, transparent 35%),
        radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 24px 24px, 24px 24px;
    background-position: 0 0, 0 0, 0 0, 12px 12px;
}

.dg-stats-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}

.dg-stats__left .dg-title {
    margin-bottom: 1rem;
    color: #fff;
    font-family: var(--dg-font-heading) !important;
}

.dg-stats__right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.dg-stat-box {
    padding: 1.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.dg-stat-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    border-color: rgba(167, 199, 83, 0.4);
    background: rgba(167, 199, 83, 0.06);
}

.dg-stat-box__value {
    display: block;
    font-family: var(--dg-font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.dg-stat-box__value small {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dg-highlight);
}

.dg-stat-box__label {
    display: block;
    margin-top: 0.5rem;
    font-family: var(--dg-font-body);
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(243, 243, 243, 0.6);
    line-height: 1.4;
}

/* Founder Message Section */
.dg-founder-section {
    padding: 5rem 1.25rem;
    background: #f8fafc;
}

.dg-founder-section__inner {
    max-width: 820px;
    margin: 0 auto;
}

.dg-founder-card {
    position: relative;
    background: #fff;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(14, 61, 102, 0.08);
}

.dg-founder-card__accent-top,
.dg-founder-card__accent-bottom {
    height: 4px;
    position: relative;
    overflow: hidden;
    background:
        repeating-linear-gradient(
            90deg,
            var(--dg-primary) 0px,
            var(--dg-primary) 12px,
            transparent 12px,
            transparent 18px,
            var(--dg-highlight) 18px,
            var(--dg-highlight) 30px,
            transparent 30px,
            transparent 36px
        );
    background-size: 72px 100%;
    animation: dg-dash-scroll 6s linear infinite;
}

.dg-founder-card__accent-bottom {
    animation-direction: reverse;
}

@keyframes dg-dash-scroll {
    0% { background-position: 0 0; }
    100% { background-position: 72px 0; }
}

.dg-founder-card__body {
    padding: 3rem 3rem 2.5rem;
    text-align: left;
}

.dg-founder-card__message {
    margin: 1.25rem 0 2rem;
}

.dg-founder-card__message p {
    margin: 0 0 1.1rem;
    font-family: var(--dg-font-body);
    font-size: 1.05rem;
    font-weight: 400;
    font-style: normal;
    line-height: 1.8;
    color: #334155;
}

.dg-founder-card__message p:last-child {
    margin-bottom: 0;
}

.dg-founder-card__message em {
    font-style: italic;
    font-weight: 600;
    color: var(--dg-primary);
}

.dg-founder-card__quote {
    margin: 1.25rem 0 2rem;
    font-family: var(--dg-font-body);
    font-size: 1.15rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.8;
    color: #334155;
}

.dg-founder-card__author {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.dg-founder-card__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--dg-primary);
}

.dg-founder-card__info {
    text-align: left;
}

.dg-founder-card__name {
    display: block;
    font-family: var(--dg-font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: var(--dg-primary);
}

.dg-founder-card__role {
    display: block;
    margin-top: 0.15rem;
    font-family: var(--dg-font-body);
    font-size: 0.82rem;
    font-weight: 500;
    color: #64748b;
}

.dg-founder-card__titles {
    display: block;
    margin-top: 0.2rem;
    font-family: var(--dg-font-body);
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.4;
    color: #64748b;
}

/* Books Section — dark promo cards */
.dg-books-section {
    padding: clamp(3.5rem, 7vw, 5.5rem) 1.25rem clamp(4rem, 8vw, 6rem);
    background-color: var(--dg-secondary);
    background-image:
        linear-gradient(135deg, rgba(20, 79, 132, 0.55) 0%, transparent 55%),
        radial-gradient(circle at 90% 10%, rgba(167, 199, 83, 0.12) 0%, transparent 40%),
        radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 22px 22px;
    overflow: hidden;
}

.dg-books-section__wrap {
    display: grid;
    grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.35fr);
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: start;
    max-width: 1200px;
}

.dg-books-section__intro {
    position: sticky;
    top: 6rem;
    padding-top: 0.25rem;
}

.dg-books-section__intro .dg-eyebrow {
    margin-bottom: 0.85rem;
}

.dg-books-section__intro .dg-title {
    margin: 0 0 1rem;
    text-align: left;
}

.dg-books-section__intro .title-desc {
    margin: 0 0 1.75rem;
    max-width: 28rem;
    opacity: 0.9;
    text-align: left;
}

.dg-books-section__cta {
    display: inline-flex;
}

.dg-books-shelf {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.dg-books-shelf__item {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: center;
    padding: clamp(1.35rem, 2.5vw, 1.85rem) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.dg-books-shelf__cover {
    position: relative;
    width: 7.5rem;
    /* aspect-ratio: 3 / 4; */
    flex-shrink: 0;
}


.dg-books-shelf__cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.35s ease;
}


.dg-books-shelf__meta {
    min-width: 0;
}

.dg-books-shelf__index {
    display: block;
    margin-bottom: 0.35rem;
    font-family: var(--dg-font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--dg-highlight);
}

.dg-books-shelf__title {
    margin: 0 0 0.55rem;
    font-family: var(--dg-font-heading);
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
}

.dg-books-shelf__text {
    margin: 0 0 0.9rem;
    max-width: 34rem;
    font-family: var(--dg-font-body);
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(243, 243, 243, 0.78);
}

.dg-books-shelf__link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--dg-font-body);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dg-highlight);
    text-decoration: none;
    transition: gap 0.25s ease, color 0.25s ease;
}

.dg-books-shelf__link:hover {
    color: #fff;
    gap: 0.7rem;
}

/* Legacy single-book layout (service pages) */
.dg-books-section__inner {
    display: grid;
    grid-template-columns: minmax(220px, 0.9fr) 1.1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.dg-books-section__media {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dg-books-section__media img {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    filter: drop-shadow(0 18px 48px rgba(0, 0, 0, 0.35));
}

.dg-books-section__content .dg-eyebrow {
    margin-bottom: 0.85rem;
}

.dg-books-section__content .dg-title {
    margin: 0 0 1.1rem;
    text-align: left;
}

.dg-books-section__content .p-text-w {
    margin: 0 0 1.75rem;
    max-width: 34rem;
    opacity: 0.9;
}

.dg-books-section__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.dg-books-section__actions .custom-btn--outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
}

.dg-books-section__actions .custom-btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

@media (max-width: 991.5px) {
    .dg-books-section__wrap {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .dg-books-section__intro {
        position: static;
        text-align: center;
    }

    .dg-books-section__intro .dg-title,
    .dg-books-section__intro .title-desc {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .dg-books-section__cta {
        margin-inline: auto;
    }

    .dg-books-section__inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .dg-books-section__content .dg-title {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .dg-books-section__content .dg-eyebrow {
        display: inline-block;
    }

    .dg-books-section__content .p-text-w {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .dg-books-section__actions {
        justify-content: center;
    }

    .dg-books-section__media img {
        max-width: 260px;
    }
}

@media (max-width: 575.5px) {
    .dg-books-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .dg-books-shelf__item {
        grid-template-columns: 5.75rem minmax(0, 1fr);
        gap: 1rem;
    }

    .dg-books-shelf__cover {
        width: 5.75rem;
    }
}

/* CTA Section */
.dg-cta-section {
    padding: 5rem 1.25rem;
    /* background: var(--dg-primary); */
    overflow: hidden;
}

.dg-cta-section__inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    align-items: center;
    max-width: 1150px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--dg-primary); 
    border-radius: 8px;
}


.dg-cta__text {
    margin: 0 0 2rem;
    font-family: var(--dg-font-body);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(243, 243, 243, 0.8);
    /* max-width: 50ch; */
}

.dg-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.dg-cta__right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dg-cta-visual {
    position: relative;
    width: 340px;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dg-cta-visual__orbit {
    position: absolute;
    inset: 0;
}

.dg-cta-visual__ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(167, 199, 83, 0.25);
    animation: dg-orbit-spin 20s linear infinite;
}

.dg-cta-visual__ring--1 {
    inset: 0;
}

.dg-cta-visual__ring--2 {
    inset: 40px;
    border-color: rgba(255, 255, 255, 0.12);
    animation-duration: 15s;
    animation-direction: reverse;
}

.dg-cta-visual__ring--3 {
    inset: 80px;
    border-color: rgba(167, 199, 83, 0.15);
    animation-duration: 25s;
}

@keyframes dg-orbit-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.dg-cta-visual__center {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dg-text);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--dg-secondary);
    box-shadow: 0 0 40px rgba(167, 199, 83, 0.4), 0 0 80px rgba(167, 199, 83, 0.15);
    animation: dg-center-pulse 3s ease-in-out infinite;
    z-index: 2;
}

@keyframes dg-center-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 40px rgba(167, 199, 83, 0.4), 0 0 80px rgba(167, 199, 83, 0.15); }
    50% { transform: scale(1.08); box-shadow: 0 0 50px rgba(167, 199, 83, 0.5), 0 0 100px rgba(167, 199, 83, 0.2); }
}

.dg-cta-visual__float {
    position: absolute;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1rem;
    z-index: 3;
    animation: dg-float 4s ease-in-out infinite;
}

.dg-cta-visual__float--1 {
    top: 10%;
    right: 10%;
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
    animation-delay: 0s;
}

.dg-cta-visual__float--2 {
    bottom: 15%;
    right: 5%;
    background: rgba(236, 72, 153, 0.15);
    color: #f472b6;
    animation-delay: 1s;
}

.dg-cta-visual__float--3 {
    top: 15%;
    left: 5%;
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    animation-delay: 2s;
}

.dg-cta-visual__float--4 {
    bottom: 10%;
    left: 10%;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    animation-delay: 3s;
}

@keyframes dg-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* FAQ Section */
.dg-faq-section {
    padding: 5rem 1.25rem;
    background: #f8fafc;
}

.dg-faq-section__inner {
    max-width: 1150px;
    margin: 0 auto;
}

.dg-faq-list {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dg-faq-item {
    background: #fff;
    border-radius: 8px;
    border: 1px solid rgba(20, 79, 132, 0.08);
    overflow: hidden;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.dg-faq-item.is-open {
    border-color: rgba(167, 199, 83, 0.4);
    box-shadow: 0 4px 20px rgba(14, 61, 102, 0.06);
}

.dg-faq-item__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.25rem 1.5rem;
    font-family: var(--dg-font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dg-primary);
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.dg-faq-item__trigger:hover {
    color: var(--dg-highlight);
}

.dg-faq-item__icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    min-height: 2rem;
    aspect-ratio: 1;
    padding: 0;
    font-size: 1rem;
    line-height: 1;
    color: var(--dg-highlight);
    background: rgba(167, 199, 83, 0.12);
    border: 1px solid rgba(167, 199, 83, 0.25);
    border-radius: 50%;
    box-sizing: border-box;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.dg-faq-item__icon::before {
    display: block;
    line-height: 1;
}

.dg-faq-item.is-open .dg-faq-item__icon {
    transform: rotate(45deg);
    background: rgba(167, 199, 83, 0.22);
    border-color: rgba(167, 199, 83, 0.45);
}

.dg-faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.dg-faq-item.is-open .dg-faq-item__answer {
    max-height: 300px;
}

.dg-faq-item__answer p {
    margin: 0;
    padding: 0 1.5rem 1.25rem;
    font-family: var(--dg-font-body);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.75;
    color: #475569;
}

/* Journey Section */
.dg-journey-start{
    overflow: hidden;
}
.dg-journey-title{
    color: var(--dg-primary);
    font-family: var(--dg-font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
}
.dg-journey-inner{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.journey-image {
    width: 100%;
    max-width: 100%;
    margin: 0.5rem 0;
    overflow: hidden;
    border-radius: 8px;
}

.journey-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 767.5px) {
    .journey-image {
        margin: 0.25rem 0;
        border-radius: 6px;
    }
}

.ab-founder-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 2.5rem auto;
    overflow: hidden;
    border-radius: 8px;
}

.ab-founder-image img {
    display: block;
    width: 100%;
    max-width: min(100%, 520px);
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 8px;
}

@media (max-width: 767.5px) {
    .ab-founder-image {
        margin: 1.25rem auto;
        border-radius: 6px;
    }

    .ab-founder-image img {
        max-width: 100%;
        border-radius: 6px;
    }
}

.arrow-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.arrow-image picture {
    display: block;
}

.arrow-image img {
    display: block;
    max-width: 100%;
    height: auto;
}
.dg-journey-content-right,
.dg-journey-content-left {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.dg-journey-image,
.dg-journey-content-content {
    flex: 1;
    min-width: 0;
}

.dg-journey-content-left img,
.dg-journey-content-right img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.dg-journey-content-left {
    flex-direction: row-reverse;
}

.dg-journey-date{
    display:block;
    font-size:clamp(1.75rem, 5vw, 3.25rem);
    font-weight:800;
    line-height:1;
    letter-spacing:2px;
    color:transparent;
    -webkit-text-stroke:1.5px #9db5d3;
    text-transform:uppercase;
    margin-bottom:15px;
}

/* Tablet & below */
@media (max-width: 991.5px) {
    .dg-journey-date {
        font-size: 42px;
    }

    .dg-journey-content-right,
    .dg-journey-content-left {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .dg-journey-image,
    .dg-journey-content-content {
        flex: none;
        width: 100%;
        max-width: 100%;
        text-align: left;
    }

    .dg-journey-content-left img,
    .dg-journey-content-right img {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        margin: 0;
    }
}

/* Mobile */
@media (max-width: 767.5px) {
    .dg-journey-date{
        font-size:32px;
        -webkit-text-stroke:1px #9db5d3;
    }
}

/* Journey Stats — 2024 */
.dg-journey-stats {
    background-color: var(--dg-secondary);
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 3vw, 2.5rem);
    text-align: center;
    color: #fff;
}

.dg-journey-stats__year {
    display: block;
    font-family: var(--dg-font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.dg-journey-stats__title {
    font-family: var(--dg-font-heading);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem;
    line-height: 1.2;
}

.dg-journey-stats__subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 2.5rem;
}

.dg-journey-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.dg-journey-stats__card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1.75rem 1.25rem;
}

.dg-journey-stats__value {
    display: block;
    font-family: var(--dg-font-heading);
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 0.65rem;
}

.dg-journey-stats__label {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.45;
}

@media (max-width: 991px) {
    .dg-journey-stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .dg-journey-stats__grid {
        grid-template-columns: 1fr;
    }

    .dg-journey-stats__card {
        padding: 1.5rem 1rem;
    }
}

/* Team Teaser — links to core team page */
.dg-team-teaser {
    position: relative;
    padding-bottom: clamp(3rem, 6vw, 5rem);
}

.dg-team-teaser__photo {
    height: clamp(260px, 38vw, 420px);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.dg-team-teaser__pattern {
    min-height: clamp(160px, 22vw, 240px);
    /* background-color: #f4f7fa; */
    background-image: radial-gradient(rgba(14, 61, 102, 0.07) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
}

.dg-team-teaser__container {
    position: relative;
    z-index: 2;
    margin-top: clamp(-7rem, -12vw, -5rem);
}

.dg-team-teaser__card {
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 3.75rem);
    background: #fff;
    box-shadow: 0 12px 48px rgba(14, 61, 102, 0.12);
    text-align: left;
}

.dg-team-teaser__title {
    margin: 0 0 1.25rem;
    font-family: var(--dg-font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--dg-primary);
}

.dg-team-teaser__text {
    margin: 0 0 2rem;
    max-width: 720px;
    font-family: var(--dg-font-body);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.75;
    color: #334155;
}

.dg-team-teaser__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1.5rem;
    background: #fff;
    border: 1px solid rgba(14, 61, 102, 0.2);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(14, 61, 102, 0.1);
    font-family: var(--dg-font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--dg-primary);
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.dg-team-teaser__btn:hover,
.dg-team-teaser__btn:focus-visible {
    color: #fff;
    background-color: var(--dg-primary);
    border-color: var(--dg-primary);
    box-shadow: 0 8px 24px rgba(14, 61, 102, 0.2);
}

.dg-team-teaser__btn:active {
    transform: translateY(1px);
}

@media (max-width: 767px) {
    .dg-team-teaser__container {
        margin-top: -4.5rem;
    }

    .dg-team-teaser__card {
        padding: 1.75rem 1.25rem;
    }

    .dg-team-teaser__text {
        font-size: 1rem;
    }
}

/* Vision & Mission */
.dg-vision-mission {
    padding: clamp(3rem, 6vw, 2rem) 1.25rem;
    background-color: #fff;
}

.dg-vision-mission__inner {
    max-width: 1280px;
}

.dg-vision-mission__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.dg-vision-mission__card {
    padding: clamp(2rem, 4vw, 2.75rem);
    background: #fff;
    border: 1px solid rgba(14, 61, 102, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(14, 61, 102, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.dg-vision-mission__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(14, 61, 102, 0.12);
    border-color: rgba(167, 199, 83, 0.45);
}

.dg-vision-mission__card .dg-eyebrow {
    margin-bottom: 1.25rem;
}

.dg-vision-mission__heading {
    margin: 0 0 1.25rem;
    font-family: var(--dg-font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--dg-primary);
}

.dg-vision-mission__text {
    margin: 0;
    font-family: var(--dg-font-body);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.75;
    color: #475569;
}

@media (max-width: 767px) {
    .dg-vision-mission {
        padding: 2.5rem 1rem;
    }

    .dg-vision-mission__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Core Team */
.dg-core-team {
    padding: clamp(3rem, 6vw, 2rem) 1.25rem;
    background: #fff;
}

.dg-core-team .section-title {
    margin-bottom: 3rem;
}

.dg-core-team__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.dg-core-team__card {
    position: relative;
    flex: 0 1 calc(33.333% - 1.34rem);
    min-width: 260px;
    max-width: 360px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(14, 61, 102, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dg-core-team__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(14, 61, 102, 0.15);
}

.dg-core-team__card-top {
    position: relative;
    height: 110px;
    background: var(--dg-primary);
}

.dg-core-team__card-icon {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--dg-secondary);
    color: #fff;
    font-size: 0.7rem;
}

.dg-core-team__card-body {
    margin-top: -65px;
    padding: 0 1.5rem 2rem;
    text-align: center;
}

.dg-core-team__avatar {
    display: block;
    position: relative;
    width: 130px;
    height: 130px;
    margin: 0 auto 1.15rem;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    outline: 3px solid var(--dg-primary);
    box-shadow: 0 4px 16px rgba(14, 61, 102, 0.15);
}

.dg-core-team__name {
    margin: 0 0 0.4rem;
    font-family: var(--dg-font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--dg-primary);
    line-height: 1.3;
}

.dg-core-team__role {
    margin: 0;
    font-family: var(--dg-font-body);
    font-size: 0.92rem;
    font-weight: 500;
    color: #94a3b8;
    line-height: 1.4;
}

.dg-core-team__accent {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 4px;
}

.dg-core-team__accent span:nth-child(1) {
    background: var(--dg-primary);
}

.dg-core-team__accent span:nth-child(2) {
    background: var(--dg-secondary);
}

.dg-core-team__accent span:nth-child(3) {
    background: var(--dg-highlight);
}

.dg-core-team__accent span:nth-child(4) {
    background: #5eb8e8;
}

@media (max-width: 991px) {
    .dg-core-team__card {
        flex: 0 1 calc(50% - 1rem);
    }
}

@media (max-width: 575px) {
    .dg-core-team__card {
        flex: 0 1 100%;
        max-width: 340px;
    }
}

/* Why Choose Us */
.dg-why-intro {
    padding: clamp(3rem, 6vw, 5rem) 1.25rem;
    background: #fff;
}

.dg-why-intro__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}

.dg-why-intro__content .dg-title {
    margin: 0.5rem 0 1.25rem;
    text-align: left;
}

.dg-why-intro__content .p-text {
    margin-bottom: 1.75rem;
}

.dg-why-intro__media {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(14, 61, 102, 0.12);
}

.dg-why-intro__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

.dg-why-reasons {
    padding: clamp(3rem, 6vw, 5rem) 1.25rem;
    background: #f8fafc;
}

.dg-why-reasons .section-title {
    margin-bottom: 3rem;
}

.dg-why-reasons__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    max-width: 1280px;
    margin: 0 auto;
}

.dg-why-reason {
    padding: 2rem 1.5rem;
    background: #fff;
    border: 1px solid rgba(14, 61, 102, 0.08);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(14, 61, 102, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.dg-why-reason:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(14, 61, 102, 0.12);
    border-color: rgba(167, 199, 83, 0.4);
}


.dg-why-reason__title {
    margin: 0 0 0.75rem;
    font-family: var(--dg-font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dg-primary);
    line-height: 1.3;
}

.dg-why-reason .p-text {
    margin: 0;
    font-size: 1rem;
}

.dg-why-experience .title-desc {
    color: rgba(243, 243, 243, 0.85);
}

@media (max-width: 991.5px) {
    .dg-why-intro__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .dg-why-intro__content .dg-title {
        text-align: center;
    }

    .dg-why-intro__content {
        text-align: center;
    }

    .dg-why-intro__content .dg-eyebrow {
        margin-left: auto;
        margin-right: auto;
    }

    .dg-why-reasons__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 767.5px) {
    .dg-why-intro,
    .dg-why-reasons {
        padding: 2.5rem 1rem;
    }

    .dg-why-intro__inner {
        gap: 1.5rem;
    }

    .dg-why-intro__content .dg-title {
        font-size: clamp(1.85rem, 6vw, 2.5rem);
    }

    .dg-why-intro__media img {
        min-height: 220px;
        max-height: 280px;
    }

    .dg-why-reasons .section-title,
    .dg-why-experience .section-title {
        margin-bottom: 2rem;
    }

    .dg-why-reasons .title-desc {
        margin-bottom: 0;
    }

    .dg-why-reason {
        padding: 1.5rem 1.25rem;
    }

    .dg-why-reason__title {
        font-size: 1.08rem;
    }

    .dg-why-reason .p-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 575px) {
    .dg-why-reasons__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .dg-why-intro__content .custom-btn {
        display: flex;
        width: 100%;
        max-width: 100%;
    }
}

/* Testimonials Page */
.dg-testimonials-quotes {
    padding: clamp(3rem, 6vw, 5rem) 1.25rem;
    background: #fff;
}

.dg-testimonials-quotes .section-title {
    margin-bottom: 2.5rem;
}

.dg-testimonials-carousel {
    position: relative;
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 3.25rem;
}

.dg-testimonials-carousel__viewport {
    overflow: hidden;
}

.dg-testimonials-carousel__track {
    display: flex;
    transition: transform 0.55s ease;
    will-change: transform;
}

.dg-testimonials-carousel__slide {
    flex: 0 0 100%;
    padding: 0 0.5rem;
    box-sizing: border-box;
}

.dg-testimonials-carousel__btn {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--dg-primary);
    color: #fff;
    font-size: 0.95rem;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.dg-testimonials-carousel__btn:hover,
.dg-testimonials-carousel__btn:focus-visible {
    background: var(--dg-highlight);
    color: #fff;
}

.dg-testimonials-carousel__btn:active {
    transform: translateY(-50%) scale(0.96);
}

.dg-testimonials-carousel__btn--prev {
    left: 0;
}

.dg-testimonials-carousel__btn--next {
    right: 0;
}

.dg-testimonial-slide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    margin: 0;
    padding: clamp(2rem, 4vw, 3rem);
    min-height: 280px;
    background: #f8fafc;
    border: 1px solid rgba(14, 61, 102, 0.1);
    border-radius: 8px;
}

.dg-testimonial-slide__content {
    position: relative;
    flex: 1;
    min-width: 0;
    padding-top: 1.5rem;
}

.dg-testimonial-slide__quote-icon {
    position: absolute;
    top: -0.75rem;
    left: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(3.5rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1;
    color: var(--dg-highlight);
    opacity: 0.95;
}

.dg-testimonial-slide__text {
    margin: 0 0 1.25rem;
    font-family: var(--dg-font-body);
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    font-weight: 400;
    line-height: 1.75;
    color: var(--dg-primary);
}

.dg-testimonial-slide__stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    color: #f5b301;
    font-size: 0.85rem;
}

.dg-testimonial-slide__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1.25rem;
    font-family: var(--dg-font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dg-primary);
    line-height: 1.4;
}

.dg-testimonial-slide__divider {
    color: rgba(20, 79, 132, 0.45);
    font-weight: 400;
}

.dg-testimonial-slide__media {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(120px, 22vw, 170px);
    height: clamp(120px, 22vw, 170px);
    border-radius: 50%;
    padding: 4px;
    box-shadow: 0 8px 24px rgba(14, 61, 102, 0.12);
}

.dg-testimonial-slide__media img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #e8f0f8;
}

@media (max-width: 767.5px) {
    .dg-testimonials-quotes {
        padding: 2.5rem .15rem;
    }

    .dg-testimonials-carousel {
        padding: 0 1.75rem;
    }

    .dg-testimonials-carousel__btn {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }

    .dg-testimonial-slide {
        flex-direction: column-reverse;
        text-align: center;
        padding: .75rem;
        min-height: 0;
    }

    .dg-testimonial-slide__content {
        padding-top: 0;
    }

    .dg-testimonial-slide__quote-icon {
        position: static;
        display: block;
        margin-bottom: 0.5rem;
        font-size: 3rem;
    }

    .dg-testimonial-slide__stars {
        justify-content: center;
    }

    .dg-testimonial-slide__meta {
        justify-content: center;
    }
}

/* Digitofy for Manufacturers */
.dg-mfg-challenges__grid {
    grid-template-columns: repeat(3, 1fr);
}

.dg-mfg-deliver .point-item__content strong {
    color: #fff;
    font-weight: 700;
}

@media (max-width: 991.5px) {
    .dg-mfg-challenges__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .dg-mfg-challenges__grid {
        grid-template-columns: 1fr;
    }
}

/* Manufacturer FAQ — image + Q&A split */
.dg-mfg-faq {
    padding: clamp(3rem, 6vw, 5rem) 1.25rem;
    background: #f8fafc;
}

.dg-mfg-faq__inner {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
    max-width: 1280px;
    margin: 0 auto;
}

.dg-mfg-faq__media {
    position: sticky;
    top: 6rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(14, 61, 102, 0.12);
}

.dg-mfg-faq__media img {
    display: block;
    width: 100%;
    min-height: clamp(320px, 42vw, 520px);
    object-fit: cover;
}

.dg-mfg-faq__media-caption {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    font-family: var(--dg-font-body);
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--dg-primary);
    background: #fff;
    border-top: 3px solid var(--dg-highlight);
}

.dg-mfg-faq__media-caption i {
    flex-shrink: 0;
    margin-top: 0.15rem;
    font-size: 1.1rem;
    color: var(--dg-highlight);
}

.dg-mfg-faq__content .dg-title {
    margin: 0.5rem 0 1rem;
    text-align: left;
}

.dg-mfg-faq__intro {
    margin-bottom: 0;
    max-width: 42rem;
}

.dg-mfg-faq__content .dg-faq-list {
    margin-top: 1.75rem;
}

.dg-mfg-faq .dg-faq-item.is-open .dg-faq-item__answer {
    max-height: 320px;
}

@media (max-width: 991.5px) {
    .dg-mfg-faq__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .dg-mfg-faq__media {
        position: static;
    }

    .dg-mfg-faq__media img {
        min-height: 280px;
    }

    .dg-mfg-faq__content .dg-title,
    .dg-mfg-faq__intro {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .dg-mfg-faq__content .dg-eyebrow {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ===== e-Books ===== */
.dg-ebook-intro {
    padding: clamp(1rem, 6vw, 1rem) 1.25rem;
    background: #fff;
     background-image:
        radial-gradient(rgba(14, 61, 102, 0.09) 1.15px, transparent 1.15px),
        linear-gradient(135deg, rgba(14, 61, 102, 0.035) 0%, transparent 42%, rgba(20, 79, 132, 0.04) 100%);
    background-size: 22px 22px, 100% 100%;
    background-position: 0 0, center;
    overflow: hidden;
}

.dg-ebook-intro__inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}

.dg-ebook-intro__content .dg-eyebrow {
    margin-bottom: 1.25rem;
}

.dg-ebook-intro__title {
    margin: 0 0 1.5rem;
    text-align: left;
}

.dg-ebook-intro__title span {
    color: var(--dg-highlight);
}

.dg-ebook-intro__quote {
    margin: 0 0 2rem;
    padding-left: 1rem;
    border-left: 4px solid var(--dg-highlight);
    font-family: var(--dg-font-body);
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-style: italic;
    line-height: 1.6;
    color: var(--dg-text-on-light);
}

.dg-ebook-intro__media {
    display: flex;
    justify-content: center;
}

.dg-ebook-intro__media img {
    display: block;
    width: 100%;
    max-width: 520px;
    height: auto;
}

.dg-ebook-points .section-title {
    max-width: 900px;
    margin: 0 auto;
}

.dg-ebook-themes__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.75rem;
    max-width: 1280px;
    margin: 0 auto;
}

.dg-ebook-themes__item--wide {
    grid-column: span 3;
}

.dg-ebook-themes__item--narrow {
    grid-column: span 2;
}

.dg-ebook-themes__item--wide.dg-why-reason {
    min-height: 240px;
}

.dg-ebook-discover {
    padding: clamp(3.5rem, 6vw, 5.5rem) 1.25rem;
    background-color: var(--dg-secondary);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(167, 199, 83, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(167, 199, 83, 0.05) 0%, transparent 35%),
        radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 24px 24px, 24px 24px;
    background-position: 0 0, 0 0, 0 0, 12px 12px;
    overflow: visible;
}

.dg-ebook-discover__header {
    max-width: 760px;
    margin: 0 auto 3rem;
    text-align: center;
}

.dg-ebook-discover__header .dg-eyebrow {
    margin-bottom: 0.75rem;
}

.dg-ebook-discover__header .dg-md-title-light {
    margin: 0;
}

.dg-ebook-discover__body {
    display: grid;
    grid-template-columns: minmax(240px, 380px) 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.dg-ebook-discover__showcase {
    position: sticky;
    top: 7rem;
    align-self: start;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    z-index: 1;
}

.dg-ebook-discover__showcase img {
    display: block;
    width: 100%;
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.3));
}

.dg-ebook-discover__points {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.dg-ebook-discover__point {
    display: grid;
    grid-template-columns: 3.5rem 1fr;
    gap: 1.25rem;
    align-items: start;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: padding-left 0.25s ease;
}

.dg-ebook-discover__point:first-child {
    padding-top: 0;
}

.dg-ebook-discover__point:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.dg-ebook-discover__point:hover {
    padding-left: 0.5rem;
}

.dg-ebook-discover__point-num {
    font-family: var(--dg-font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
    color: var(--dg-highlight);
    opacity: 0.9;
}

.dg-ebook-discover__point-title {
    margin: 0 0 0.35rem;
    font-family: var(--dg-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff;
}

.dg-ebook-discover__point .p-text-w {
    margin: 0;
    /* line-height: 1.65; */
}

.dg-ebook-discover__cta {
    margin-top: 2.5rem;
    text-align: center;
}

/* Light variant — used on Digital Growth Audit */
.dg-ebook-discover--light {
    background-color: #ffffff;
    background-image: none;
}

.dg-ebook-discover--light .dg-ebook-discover__header .dg-title {
    color: var(--dg-secondary);
}

.dg-ebook-discover--light .dg-ebook-discover__point {
    border-bottom-color: rgba(14, 61, 102, 0.1);
}

.dg-ebook-discover--light .dg-ebook-discover__point .p-text {
    margin: 0;
    color: #64748b;
}

.dg-ebook-discover--light .dg-ebook-discover__showcase img {
    filter: drop-shadow(0 12px 28px rgba(14, 61, 102, 0.12));
}

/* Leads That Find You First — audience */
.ltfy-audience {
    padding: clamp(3rem, 6vw, 5rem) 1.25rem;
    background: #ffffff;
}
.ltfy-experience{
    background-color: #f8fafc;
}
.ltfy-audience__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
}

.ltfy-audience__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.5rem 1.35rem;
    background: #f8fafc9c;
    /* border: 1px solid rgba(14, 61, 102, 0.08); */
    border-radius: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.ltfy-audience__item:hover {
    transform: translateY(-1px);
}

.ltfy-audience__item .dg-icon {
    margin-bottom: 0;
}

.ltfy-audience__title {
    margin: 0;
    font-family: var(--dg-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--dg-primary);
}


@media (max-width: 991.5px) {
    .ltfy-audience__grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 575.5px) {
    .ltfy-audience__grid {
        grid-template-columns: 1fr;
    }


    .ltfy-audience__item:hover {
        transform: none;
    }
}

/* Leads That Find You First — problems split */
.ltfy-problems {
    padding: clamp(3rem, 6vw, 5rem) 1.25rem;
    background: #f8fafc;
}

.ltfy-problems__inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.ltfy-problems__content .dg-eyebrow {
    display: inline-flex;
    margin-bottom: 1rem;
}

.ltfy-problems__list {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
}

.ltfy-problems__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
    font-family: var(--dg-font-body);
    font-size: 1.05rem;
    line-height: 1.5;
    font-weight: 500;
}

.ltfy-problems__list li i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
    font-size: 0.7rem;
    color: #ffffff;
    background: var(--dg-primary);
    border-radius: 50%;
}

.ltfy-problems__media {
    border-radius: 8px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ltfy-problems__media svg {
    display: block;
    width: 100%;
    height: auto;
    max-width: 560px;
}

@media (max-width: 991.5px) {
    .ltfy-problems__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ltfy-problems__content {
        text-align: center;
    }

    .ltfy-problems__content .dg-eyebrow {
        justify-content: center;
    }

    .ltfy-problems__content .dg-title {
        text-align: center;
    }

    .ltfy-problems__list {
        display: inline-block;
        text-align: left;
    }

    .ltfy-problems__media {
        order: -1;
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 575.5px) {
    .ltfy-problems__media {
        max-width: 100%;
    }
}

/* Leads That Find You First — what makes it different */
.ltfy-different {
    padding: clamp(3.5rem, 7vw, 5.5rem) 1.25rem;
    background: #ffffff;
}

.ltfy-different__inner {
    max-width: 760px;
    margin: 0;
    text-align: left;
}

.ltfy-different__lead {
    font-family: var(--dg-font-heading) !important;
    font-size: clamp(1.15rem, 2.4vw, 1.4rem) !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    color: var(--dg-secondary) !important;
}

/* Leads That Find You First — walk away outcomes */
.ltfy-walkaway {
    padding: clamp(3.5rem, 7vw, 5.5rem) 1.25rem;
    background: #f8fafc;
}

.ltfy-walkaway__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.ltfy-walkaway__header {
    text-align: center;
    margin: 0 auto 2.75rem;
}

.ltfy-walkaway__header .dg-eyebrow {
    display: inline-flex;
    margin-bottom: 1rem;
}

.ltfy-walkaway__header .dg-title {
    margin-bottom: 0.75rem;
}

.ltfy-walkaway__header .p-text {
    margin-bottom: 0;
}

.ltfy-walkaway__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem 1.5rem;
}

.ltfy-walkaway__list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1rem;
    font-family: var(--dg-font-heading);
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    font-weight: 600;
    line-height: 1.35;
    color: var(--dg-secondary);
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(14, 61, 102, 0.08);
    border-radius: 6px;
    transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.ltfy-walkaway__list li:hover {
    color: var(--dg-primary);
    border-color: rgba(167, 199, 83, 0.45);
    background: #ffffff;
}

.ltfy-walkaway__list li:hover .ltfy-walkaway__icon {
    background: var(--dg-highlight);
    color: #ffffff;
    border-color: var(--dg-highlight);
}

.ltfy-walkaway__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    font-size: 1rem;
    color: var(--dg-primary);
    background: rgba(20, 79, 132, 0.06);
    border: 1px solid rgba(20, 79, 132, 0.12);
    border-radius: 50%;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.ltfy-walkaway__text {
    flex: 1;
    min-width: 0;
}

.ltfy-walkaway__item--full {
    grid-column: 1 / -1;
}

@media (max-width: 991.5px) {
    .ltfy-walkaway__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.5px) {
    .ltfy-walkaway__list {
        grid-template-columns: 1fr;
    }
}

/* Leads That Find You First — bonus audit */
.ltfy-bonus {
    padding: clamp(3.5rem, 7vw, 5.5rem) 1.25rem;
    background-color: var(--dg-secondary);
    background-image:
        radial-gradient(circle at 10% 15%, rgba(167, 199, 83, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 90% 85%, rgba(20, 79, 132, 0.5) 0%, transparent 45%);
}

.ltfy-bonus__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.ltfy-bonus__offer .dg-eyebrow {
    display: inline-flex;
    margin-bottom: 1rem;
}

.ltfy-bonus__offer .dg-title {
    margin: 0 0 0.75rem;
    text-align: left;
    font-size: clamp(1.85rem, 3.5vw, 2.85rem);
}

.ltfy-bonus__value {
    margin: 0 0 1.15rem;
    font-family: var(--dg-font-heading);
    font-size: clamp(1.2rem, 2.4vw, 1.5rem);
    font-weight: 700;
    color: var(--dg-highlight);
}

.ltfy-bonus__value span {
    color: #ffffff;
    text-decoration: line-through;
    opacity: 0.65;
    margin-left: 0.25rem;
}

.ltfy-bonus__offer .p-text-w {
    margin: 0 0 1.75rem;
    max-width: 28rem;
}

.ltfy-bonus__grid {
    list-style: none;
    margin: 0;
    padding: 0.75rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.14);
    align-self: stretch;
}

.ltfy-bonus__grid li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 8.5rem;
    padding: 1.35rem 1.1rem;
    text-align: center;
    background: rgba(255, 255, 255, 1);
    border-radius: 4px;
}

.ltfy-bonus__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    font-size: 1.35rem;
    color: var(--dg-text);
    background: var(--dg-highlight);
    border-radius: 50%;
}

.ltfy-bonus__label {
    font-family: var(--dg-font-heading);
    font-size: clamp(0.95rem, 1.5vw, 1.08rem);
    font-weight: 700;
    line-height: 1.35;
    color: var(--dg-secondary);
}

@media (max-width: 991.5px) {
    .ltfy-bonus__inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .ltfy-bonus__offer {
        text-align: center;
    }

    .ltfy-bonus__offer .dg-eyebrow {
        justify-content: center;
    }

    .ltfy-bonus__offer .dg-title {
        text-align: center;
    }

    .ltfy-bonus__offer .p-text-w {
        margin-left: auto;
        margin-right: auto;
    }

    .ltfy-bonus__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575.5px) {
    .ltfy-bonus__grid {
        grid-template-columns: 1fr 1fr;
        padding: 0.55rem;
        gap: 0.55rem;
    }

    .ltfy-bonus__grid li {
        min-height: 7rem;
        padding: 1.1rem 0.75rem;
    }
}

.dg-ebook-author {
    padding: clamp(3rem, 6vw, 5rem) 1.25rem;
    background: #f8fafc;
}

.dg-ebook-author__inner {
    display: grid;
    grid-template-columns: minmax(280px, 400px) 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.dg-ebook-author__portrait {
    position: sticky;
    top: 7rem;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 420px;
}

.dg-ebook-author__accent {
    position: absolute;
    inset: 8% 5% 0 10%;
    background: linear-gradient(145deg, rgba(20, 79, 132, 0.08), rgba(167, 199, 83, 0.18));
    border-radius: 24px;
    z-index: 0;
}

.dg-ebook-author__accent::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    width: 80px;
    height: 80px;
    border-top: 4px solid var(--dg-highlight);
    border-left: 4px solid var(--dg-highlight);
    border-radius: 36px 0 0 0;
}

.dg-ebook-author__portrait img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 360px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(14, 61, 102, 0.15));
}

.dg-ebook-author__main .dg-eyebrow {
    margin-bottom: 0.75rem;
}

.dg-ebook-author__main .dg-md-title-dark {
    margin-bottom: 1.5rem;
}

.dg-ebook-author__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.dg-ebook-author__stat {
    padding: 1rem 0.75rem;
    text-align: center;
    background: #fff;
    border: 1px solid rgba(14, 61, 102, 0.08);
    border-radius: 8px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.dg-ebook-author__stat:hover {
    transform: translateY(-1px);
}

.dg-ebook-author__stat-value {
    display: block;
    font-family: var(--dg-font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dg-primary);
    line-height: 1.2;
}

.dg-ebook-author__stat-label {
    display: block;
    margin-top: 0.25rem;
    font-family: var(--dg-font-body);
    font-size: 0.72rem;
    font-weight: 500;
    color: #64748b;
    line-height: 1.35;
}

.dg-ebook-author__bio .p-text {
    margin-bottom: 1rem;
}

.dg-ebook-author__bio .p-text:last-child {
    margin-bottom: 1.75rem;
}

@media (max-width: 991.5px) {
    .dg-ebook-themes__grid {
        grid-template-columns: 1fr;
    }

    .dg-ebook-themes__item--wide,
    .dg-ebook-themes__item--narrow {
        grid-column: span 1;
    }

    .dg-ebook-themes__item--wide.dg-why-reason {
        min-height: 0;
    }

    .dg-ebook-intro__inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .dg-ebook-intro__content .dg-eyebrow {
        margin-left: auto;
        margin-right: auto;
    }

    .dg-ebook-intro__title {
        text-align: center;
    }

    .dg-ebook-intro__quote {
        display: inline-block;
        text-align: left;
    }

    .dg-ebook-intro__media {
        order: -1;
    }

    .dg-ebook-discover__body {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .dg-ebook-discover__showcase {
        position: static;
        max-width: 360px;
        margin: 0 auto;
    }

    .dg-ebook-author__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .dg-ebook-author__portrait {
        position: relative;
        top: auto;
        align-self: start;
        order: -1;
        /* min-height: 0; */
        align-items: center;
        background: transparent;
    }

    .dg-ebook-author__accent {
        inset: 10% 18% 8% 18%;
    }

    .dg-ebook-author__portrait img {
     }

    .dg-ebook-author__main {
        text-align: left;
    }

    .dg-ebook-author__main .dg-eyebrow {
        margin-left: 0;
        margin-right: 0;
    }

    .dg-ebook-author__main .dg-md-title-dark {
        text-align: left;
    }

    .dg-ebook-author__stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .dg-ebook-author__bio {
        text-align: left;
    }
}

@media (max-width: 767.5px) {
    .dg-ebook-author__inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .dg-ebook-author__portrait {
        position: relative;
        top: auto;
        z-index: auto;
        order: -1;
        /* min-height: 0; */
        align-items: center;
        padding: 0;
        margin: 0;
        background: transparent;
        background-image: none;
        border-radius: 0;
        box-shadow: none;
    }

    .dg-ebook-author__accent {
        inset: 12% 18% 8% 18%;
    }

    .dg-ebook-author__main {
        text-align: left;
        position: relative;
        z-index: auto;
    }
}

@media (max-width: 575.5px) {

    .dg-ebook-author__accent::before {
        width: 56px;
        height: 56px;
        top: -8px;
        left: -8px;
    }
}

@media (max-width: 767.5px) {
    .points-grid .point-item {
        align-items: center;
    }
}

/* ===== Portfolio Tabs ===== */
.dg-portfolio {
    padding: clamp(3rem, 6vw, 5rem) 1.25rem;
    background: #fff;
}

.dg-portfolio .section-title {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.dg-portfolio__tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.dg-portfolio__tab {
    padding: 0.7rem 1.6rem;
    font-family: var(--dg-font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--dg-primary);
    background: #fff;
    border: 1px solid rgba(20, 79, 132, 0.2);
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.dg-portfolio__tab:hover {
    border-color: var(--dg-primary);
    transform: translateY(-1px);
}

.dg-portfolio__tab.is-active {
    color: #fff;
    background: var(--dg-primary);
    border-color: var(--dg-primary);
    box-shadow: 0 8px 22px rgba(20, 79, 132, 0.25);
}

.dg-portfolio__panel {
    animation: dg-portfolio-fade 0.4s ease;
}

.dg-portfolio__panel[hidden] {
    display: none;
}

@keyframes dg-portfolio-fade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dg-portfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.25rem, 2.5vw, 2rem);
    max-width: 1280px;
    margin: 0 auto;
}

.dg-portfolio-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(14, 61, 102, 0.08);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 8px 28px rgba(14, 61, 102, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dg-portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 42px rgba(14, 61, 102, 0.14);
}

.dg-portfolio-card__img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.dg-portfolio-card__img-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.dg-portfolio-card:hover .dg-portfolio-card__img-wrap img {
    transform: scale(1.06);
}

.dg-portfolio-card__icon {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    background: var(--dg-highlight);
    border-radius: 50%;
    color: #fff;
    font-size: 0.8rem;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dg-portfolio-card:hover .dg-portfolio-card__icon {
    opacity: 1;
    transform: translateY(0);
}

.dg-portfolio-card__body {
    padding: clamp(1rem, 2vw, 1.35rem);
}

.dg-portfolio-card__title {
    margin: 0 0 0.5rem;
    font-family: var(--dg-font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--dg-primary);
}

.dg-portfolio-card__desc {
    margin: 0;
    font-family: var(--dg-font-body);
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.6;
    color: #6b7280;
}

@media (max-width: 991.5px) {
    .dg-portfolio__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.5px) {
    .dg-portfolio__tabs {
        gap: 0.6rem;
    }

    .dg-portfolio-card__title {
        font-size: 1.05rem;
    }
}

@media (max-width: 575.5px) {
    .dg-portfolio {
        padding-left: 0;
        padding-right: 0;
    }

    .dg-portfolio .container,
    .dg-portfolio .section-title {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    /* horizontal scroll strip so pills never wrap awkwardly */
    .dg-portfolio__tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0.5rem;
        padding: 0.25rem 1.25rem;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .dg-portfolio__tabs::-webkit-scrollbar {
        display: none;
    }

    .dg-portfolio__tab {
        flex: 0 0 auto;
        scroll-snap-align: start;
        padding: 0.6rem 1.25rem;
        font-size: 0.88rem;
    }

    .dg-portfolio__grid {
        grid-template-columns: 1fr;
        padding: 0 1.25rem;
    }
}

/* ===== Case Studies ===== */
.cs-section {
    padding: clamp(3rem, 6vw, 5rem) 1.25rem;
    background: #f8fafc;
}

.cs-section .section-title {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.cs-carousel {
    position: relative;
}

.cs-viewport {
    overflow: hidden;
    padding: 0rem;
    margin: 0rem;
}

.cs-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.cs-page {
    flex: 0 0 auto;
}

.cs-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2vw, 1.5rem);
}

/* ===== Card (overlay reveal design) ===== */
.cs-card {
    position: relative;
    display: block;
    width: 100%;
    min-height: 300px;
    height: clamp(300px, 42vw, 360px);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    isolation: isolate;
    background: #0e3d66;
}

.cs-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.cs-card:hover .cs-card__img,
.cs-card:focus-visible .cs-card__img {
    transform: scale(1.08);
}

.cs-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg,
            rgba(14, 61, 102, 0.01) 0%,
            rgba(14, 61, 102, 0.1) 60%,
            rgba(8, 35, 60, 0.92) 100%);
    transition: background 0.4s ease;
    pointer-events: none;
}

.cs-card:hover .cs-card__overlay,
.cs-card:focus-visible .cs-card__overlay {
    background: linear-gradient(180deg,
            rgba(14, 61, 102, 0.35) 0%,
            rgba(10, 45, 76, 0.85) 55%,
            rgba(6, 28, 48, 0.96) 100%);
}

.cs-card__num {
    position: absolute;
    top: 1.1rem;
    right: 1.25rem;
    z-index: 2;
    font-family: var(--dg-font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(14, 61, 102, 0.9);
    -webkit-text-stroke: 0;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.cs-card__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(1.25rem, 2.5vw, 1.6rem);
}

.cs-card__bar {
    width: 42px;
    height: 4px;
    margin-bottom: 0.9rem;
    background: var(--dg-highlight);
    border-radius: 999px;
    transition: width 0.4s ease;
}

.cs-card:hover .cs-card__bar,
.cs-card:focus-visible .cs-card__bar {
    width: 64px;
}

.cs-card__title {
    margin: 0;
    font-family: var(--dg-font-heading);
    font-size: clamp(1.1rem, 2.2vw, 1.25rem);
    font-weight: 800;
    line-height: 1.3;
    color: #fff;
}

.cs-card__reveal {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 0.45s ease, opacity 0.45s ease, margin-top 0.45s ease;
    margin-top: 0;
}

.cs-card:hover .cs-card__reveal,
.cs-card:focus-visible .cs-card__reveal {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 0.75rem;
}

.cs-card__reveal-inner {
    overflow: hidden;
}

.cs-card__desc {
    margin: 0 0 1rem;
    font-family: var(--dg-font-body);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

/* ===== Pagination ===== */
.cs-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: clamp(2rem, 4vw, 2.75rem);
}

.cs-counter {
    min-width: 3.5rem;
    text-align: center;
    font-family: var(--dg-font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dg-primary);
    letter-spacing: 0.04em;
}

.cs-counter span {
    margin: 0 0.2rem;
    color: rgba(20, 79, 132, 0.4);
    font-weight: 500;
}

.cs-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    font-family: var(--dg-font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    color: #6b7280;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    cursor: pointer;
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.cs-page-btn:hover:not(:disabled) {
    color: var(--dg-primary);
    border-color: rgba(20, 79, 132, 0.35);
    transform: translateY(-1px);
}

.cs-page-btn.is-active {
    color: var(--dg-primary);
    background: var(--dg-highlight);
    border-color: var(--dg-highlight);
    box-shadow: 0 6px 18px rgba(167, 199, 83, 0.4);
}

.cs-page-btn--arrow {
    font-size: 0.8rem;
}

.cs-page-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
}

/* ===== Responsive (cards per page handled by JS) ===== */
@media (max-width: 991.5px) {
    .cs-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cs-card {
        height: auto;
        min-height: 320px;
        max-height: 420px;
    }

    .cs-card__overlay {
        background: linear-gradient(180deg,
                rgba(14, 61, 102, 0.2) 0%,
                rgba(10, 45, 76, 0.7) 45%,
                rgba(6, 28, 48, 0.96) 100%);
    }
}

@media (max-width: 575.5px) {
    .cs-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .cs-page-grid {
        grid-template-columns: 1fr;
    }

    .cs-page-btn {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 0.88rem;
    }

    .cs-card {
        min-height: 370px;
        max-height: none;
    }
}

/* ===== Legal pages (Privacy Policy, Terms, etc.) ===== */
.dg-legal {
    padding: clamp(2.5rem, 5vw, 4.5rem) 1.25rem;
    background: #fff;
}

.dg-legal__inner {
    margin: 0 auto;
}

.dg-legal__updated {
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #64748b;
}

/* ===== Special Reports (case-study card style, full cover image) ===== */
.dg-reports__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2vw, 1.5rem);
}

.dg-reports .cs-card--report {
    height: auto;
    aspect-ratio: 3 / 4;
    box-shadow: 0 10px 32px rgba(14, 61, 102, 0.1);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.dg-reports .cs-card--report:hover,
.dg-reports .cs-card--report:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(14, 61, 102, 0.16);
}

.dg-reports .cs-card--report .cs-card__img {
    object-fit: contain;
    object-position: center top;
    background: #f1f5f9;
    transform: none;
}

.dg-reports .cs-card--report:hover .cs-card__img,
.dg-reports .cs-card--report:focus-visible .cs-card__img {
    transform: scale(1.03);
}

.dg-reports .cs-card--report .cs-card__overlay {
    background: linear-gradient(180deg,
            rgba(14, 61, 102, 0) 0%,
            rgba(14, 61, 102, 0.08) 55%,
            rgba(8, 35, 60, 0.55) 75%,
            rgba(6, 28, 48, 0.94) 100%);
}

.dg-reports .cs-card--report:hover .cs-card__overlay,
.dg-reports .cs-card--report:focus-visible .cs-card__overlay {
    background: linear-gradient(180deg,
            rgba(14, 61, 102, 0.12) 0%,
            rgba(10, 45, 76, 0.55) 45%,
            rgba(6, 28, 48, 0.97) 100%);
}

.dg-reports .cs-card--report .cs-card__badge {
    position: absolute;
    top: 1.1rem;
    left: 1.1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.95rem;
    font-family: var(--dg-font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #fff;
    background: var(--dg-primary);
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(14, 61, 102, 0.25);
}

.dg-reports .cs-card--report .cs-card__reveal .custom-btn i {
    margin-left: 0.45rem;
}

.dg-reports-alt {
    margin-top: clamp(3rem, 5vw, 4.5rem);
}

.dg-reports-alt__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.dg-report-alt {
    min-width: 0;
}

.dg-report-alt__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid rgba(14, 61, 102, 0.12);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(14, 61, 102, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.dg-report-alt__link:hover,
.dg-report-alt__link:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(14, 61, 102, 0.22);
    box-shadow: 0 18px 42px rgba(14, 61, 102, 0.13);
}

.dg-report-alt__media {
    position: relative;
    background: #f8fafc;
    display: grid;
    place-items: center;
    padding: .75rem;
}

.dg-report-alt__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    border-radius: 8px;
}

.dg-report-alt__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.95rem;
    font-family: var(--dg-font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #fff;
    background: var(--dg-primary);
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(14, 61, 102, 0.2);
}

.dg-report-alt__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    /* gap: 0.9rem; */
    padding: clamp(1.15rem, 2.2vw, 1.5rem);
}

.dg-report-alt__title {
    margin: 0;
    font-family: var(--dg-font-heading);
    font-size: clamp(1.12rem, 2vw, 1.28rem);
    font-weight: 800;
    line-height: 1.35;
    color: var(--dg-primary);
}

.dg-report-alt__subtitle {
    margin: 0;
    color: #64748b;
    flex: 1;
}

.dg-report-alt__btn {
    align-self: flex-start;
    margin-top: .5rem;
}

.dg-report-alt__btn i {
    margin-left: 0.45rem;
}

@media (max-width: 991.5px) {
    .dg-reports__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dg-reports-alt__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.5px) {
    .dg-reports__grid {
        grid-template-columns: 1fr;
    }

    .dg-reports .cs-card--report {
        aspect-ratio: 4 / 5;
        max-width: 22rem;
        margin-inline: auto;
    }

    .dg-reports-alt__grid {
        grid-template-columns: 1fr;
    }

    .dg-report-alt {
        max-width: 22rem;
        margin-inline: auto;
    }
}

.dg-legal__inner .p-text {
    margin: 0 0 1.1rem;
    color: #475569;
}

.dg-legal__inner .p-text a {
    color: var(--dg-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.dg-legal__inner .p-text a:hover {
    color: var(--dg-highlight);
}

.dg-legal__heading {
    margin: 2.25rem 0 1rem;
    font-family: var(--dg-font-heading);
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--dg-primary);
    line-height: 1.3;
}

.dg-legal__subheading {
    margin: 1.5rem 0 0.75rem;
    font-family: var(--dg-font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dg-primary);
    line-height: 1.35;
}

.dg-legal__list {
    margin: 0 0 1.25rem;
    padding-left: 1.25rem;
    color: #475569;
}

.dg-legal__list li {
    margin-bottom: 0.45rem;
    font-size: 1.10rem;
    line-height: 1.7;
}

/* ===== SEO Plans ===== */
.sp-intro {
    padding: clamp(2.5rem, 5vw, 4rem) 1.25rem 0;
    background: #fff;
}

.sp-intro .section-title {
    margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.sp-intro__copy {
    max-width: 900px;
    margin: 0 auto clamp(1.5rem, 3vw, 2.25rem);
}

.sp-intro__copy .p-text {
    margin: 0 0 1rem;
    text-align: center;
}

.sp-intro__copy .p-text:last-child {
    margin-bottom: 0;
}

.sp-section {
    padding: clamp(2rem, 4vw, 3.5rem) 1.25rem clamp(3rem, 6vw, 5rem);
    background: #fff;
}

.sp-wrap {
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.sp-table {
    width: 100%;
    min-width: 1024px;
    border-collapse: collapse;
    table-layout: fixed;
    background: #fff;
    border: 1px solid rgba(14, 61, 102, 0.2);
}

.sp-table th,
.sp-table td {
    border: 1px solid rgba(14, 61, 102, 0.22);
    vertical-align: middle;
}

.sp-table thead th {
    padding: 1rem 0.75rem;
    font-family: var(--dg-font-heading);
    font-weight: 800;
    color: #fff;
    text-align: center;
}

.sp-table__label-head {
    width: 28%;
    background: var(--dg-primary);
    text-align: center;
    font-size: 1.5rem;
    vertical-align: middle;
}

.sp-table__plan {
    width: 18%;
    background: #3d7ab8;
    font-size: 1.05rem;
}

.sp-table__plan--gold {
    background: var(--dg-highlight);
    color: #fff;
}

.sp-table__plan--silver {
    background: #5a8fc4;
}

.sp-table__plan-name {
    display: block;
    line-height: 1.2;
}

.sp-table__plan-tag {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.95;
}

.sp-table__cta-row td {
    padding: 0.85rem 0.65rem;
    text-align: center;
    background: #f8fafc;
}

.sp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1rem;
    font-family: var(--dg-font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff !important;
    background: var(--dg-primary);
    border: 1px solid rgba(8, 35, 60, 0.35);
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.25s ease, transform 0.25s ease;
}

.sp-btn:hover {
    background: var(--dg-primary);
    transform: translateY(-1px);
    color: #fff !important;
}

.sp-cat td {
    padding: 0;
    background: #f8fafc;
}

.sp-cat__label {
    background: var(--dg-highlight) !important;
    padding: 0 !important;
}

.sp-cat.is-open .sp-cat__label {
    background: var(--dg-highlight) !important;
}

.sp-cat__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    padding: 0.9rem 1.15rem;
    border: 0;
    background: transparent;
    color: #fff;
    font-family: var(--dg-font-heading);
    font-size: 0.98rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.sp-cat__btn i {
    transition: transform 0.3s ease;
    font-size: 0.85rem;
}

.sp-cat.is-open .sp-cat__btn i {
    transform: rotate(180deg);
}

.sp-row td {
    padding: 0.75rem 0.65rem;
    text-align: center;
    font-family: var(--dg-font-body);
    font-size: 0.9rem;
    color: #334155;
    background: #fff;
}

.sp-row:nth-child(even) td {
    background: #f8fafc;
}

.sp-row__label {
    text-align: left !important;
    padding-left: 1.15rem !important;
    padding-right: 1rem !important;
    background: var(--dg-primary) !important;
    color: #fff !important;
    font-family: var(--dg-font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    line-height: 1.35;
}

.sp-row td.sp-col--gold,
.sp-table__cta-row td.sp-col--gold {
    background: rgba(167, 199, 83, 0.18);
}

.sp-row:nth-child(even) td.sp-col--gold {
    background: rgba(167, 199, 83, 0.28);
}

.sp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 50%;
    font-size: 0.72rem;
}

.sp-icon--yes {
    color: var(--dg-primary);
    background: rgba(14, 61, 102, 0.12);
    border: 1px solid rgba(14, 61, 102, 0.28);
}

.sp-col--gold .sp-icon--yes {
    color: #4d6a18;
    background: rgba(90, 122, 31, 0.16);
    border-color: rgba(90, 122, 31, 0.35);
}

.sp-icon--no {
    color: #c43d3d;
    background: rgba(226, 85, 85, 0.14);
    border: 1px solid rgba(226, 85, 85, 0.35);
}

.sp-text {
    font-weight: 400;
    color: #1e3a5f;
    line-height: 1.35;
}

.sp-note {
    max-width: 1200px;
    margin: 1.25rem auto 0;
    font-family: var(--dg-font-body);
    font-size: 0.92rem;
    line-height: 1.65;
    color: #64748b;
}

@media (max-width: 575.5px) {
    .sp-section {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .sp-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
}

/* ===== Service detail pages ===== */
.sd-intro {
    padding: clamp(3rem, 6vw, 5rem) 1.25rem;
    background: #fff;
}

.sd-intro__inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.sd-intro__content .dg-title {
    margin: 0.5rem 0 1.35rem;
    text-align: left;
}

.sd-intro__content .dg-service-subtitle {
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.sd-intro__content .p-text {
    margin: 0 0 1.1rem;
}

.sd-intro__content .p-text:last-of-type {
    margin-bottom: 1.75rem;
}

.sd-intro__media {
    border-radius: 8px;
    overflow: hidden;
}

.sd-intro__media img {
    display: block;
    width: 100%;
    min-height: clamp(280px, 38vw, 420px);
    object-fit: cover;
}

.sd-intro__media--svg {
    background: transparent;
    overflow: visible;
}

.sd-intro__media--svg img {
    min-height: 0;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.sd-content {
    padding: clamp(3rem, 6vw, 5rem) 1.25rem;
    background: #f8fafc;
}

.sd-content .section-title {
    margin-bottom: 3rem;
}

.sd-content__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1rem, 2vw, 1.5rem);
    max-width: 1200px;
    margin: 0 auto;
}

.sd-content__card {
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
    background: #fff;
    border: 1px solid rgba(14, 61, 102, 0.08);
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(14, 61, 102, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.sd-content__card:hover {
    transform: translateY(-4px);
    border-color: rgba(167, 199, 83, 0.35);
    box-shadow: 0 14px 40px rgba(14, 61, 102, 0.1);
}

.sd-choose .points-grid {
    max-width: 1080px;
}

.sd-cases {
    padding: clamp(3rem, 6vw, 5rem) 1.25rem;
    background: #f8fafc;
}

.sd-cases .section-title {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.sd-cases__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2vw, 1.5rem);
    max-width: 1200px;
    margin: 0 auto;
}

.sd-cases .cs-card {
    width: 100%;
    min-width: 0;
}

.sd-cases__cta {
    display: flex;
    justify-content: center;
    margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
}

@media (max-width: 991.5px) {
    .sd-cases__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sd-intro__inner {
        grid-template-columns: 1fr;
    }

    .sd-intro__content .dg-title {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .sd-intro__content .dg-service-subtitle {
        text-align: center;
    }

    .sd-intro__content {
        text-align: center;
    }

    .sd-intro__content .dg-eyebrow {
        display: inline-block;
    }
}

@media (max-width: 575.5px) {
    .sd-cases__grid {
        grid-template-columns: 1fr;
        max-width: 22rem;
        margin-inline: auto;
    }

    .sd-cases .cs-card {
        width: 100%;
        max-width: none;
        margin-inline: 0;
    }

    .sd-content__grid {
        grid-template-columns: 1fr;
    }
}

/* Thank You / booking page */
.ty-section {
    padding: clamp(2rem, 6vw, 3rem) 1.25rem;
    background: #fff;
}

.ty-section__inner {
    max-width: 1150px;
    margin: 0 auto;
    text-align: center;
}

.ty-section__inner--simple {
    max-width: 42rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ty-section--simple {
    padding: clamp(3rem, 8vw, 5rem) 1.25rem;
    background-color: #ffffff;
    background-image:
        radial-gradient(rgba(14, 61, 102, 0.09) 1.15px, transparent 1.15px),
        linear-gradient(135deg, rgba(14, 61, 102, 0.035) 0%, transparent 42%, rgba(20, 79, 132, 0.04) 100%);
    background-size: 22px 22px, 100% 100%;
    background-position: 0 0, center;
}

.ty-section__title {
    margin: 0 0 1.75rem;
    font-family: var(--dg-font-heading);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--dg-secondary);
}

.ty-section--simple .dg-title {
    margin: 0 0 1.25rem;
    color: var(--dg-primary);
}

.ty-section__message {
    margin: 0 0 2rem;
    text-align: center;
    line-height: 1.7;
    color: #4a5764;
}

@media (max-width: 575.5px) {
    .ty-section__inner--simple {
        align-items: flex-start;
        text-align: left;
    }

    .ty-section--simple .dg-title,
    .ty-section__message {
        text-align: left;
        width: 100%;
    }
}

.ty-section__link {
    color: var(--dg-primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ty-section__link:hover {
    color: var(--dg-highlight);
}

.ty-calendar {
    display: block;
    width: 100%;
    min-height: 600px;
    border: 0;
    border-radius: 8px;
    background: #f4f7fb;
}

/* Digital Growth Audit page */
.dga-hero {
    position: relative;
    padding: clamp(3.5rem, 7vw, 3rem) 1.25rem;
    background-color: #ffffff;
    background-image:
        radial-gradient(rgba(14, 61, 102, 0.09) 1.15px, transparent 1.15px),
        linear-gradient(135deg, rgba(14, 61, 102, 0.035) 0%, transparent 42%, rgba(20, 79, 132, 0.04) 100%);
    background-size: 22px 22px, 100% 100%;
    background-position: 0 0, center;
    overflow: hidden;
}

/* .dga-hero::before {
    content: "";
    position: absolute;
    top: -10%;
    right: -8%;
    width: min(56vw, 560px);
    height: min(56vw, 560px);
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, rgba(14, 61, 102, 0.16) 0%, transparent 32%),
        radial-gradient(circle at 70% 65%, rgba(20, 79, 132, 0.12) 0%, transparent 35%),
        radial-gradient(circle at 55% 45%, rgba(167, 199, 83, 0.12) 0%, transparent 28%);
    pointer-events: none;
    z-index: 0;
}

.dga-hero::after {
    content: "";
    position: absolute;
    bottom: -18%;
    left: -10%;
    width: min(50vw, 480px);
    height: min(50vw, 480px);
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, rgba(14, 61, 102, 0.16) 0%, transparent 52%),
        radial-gradient(circle at 70% 65%, rgba(20, 79, 132, 0.12) 0%, transparent 55%),
        radial-gradient(circle at 55% 45%, rgba(167, 199, 83, 0.12) 0%, transparent 38%);
    pointer-events: none;
    z-index: 0;
} */

.dga-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.dga-hero__content {
    max-width: 560px;
}

.dga-hero__content .dg-eyebrow {
    margin-bottom: 1rem;
}

.dga-hero__content .dg-title {
    margin: 0 0 0.85rem;
    text-align: left;
    color: var(--dg-secondary);
    line-height: 1.2;
}

.dga-hero__subhead {
    display: block;
    margin: 0.35rem 0 0;
    font-family: var(--dg-font-heading);
    font-size: clamp(1.15rem, 2.4vw, 1.65rem);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.01em;
    color: var(--dg-secondary);
}

.dga-hero__underline {
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    background-image: linear-gradient(transparent 68%, rgba(167, 199, 83, 0.55) 68%, rgba(167, 199, 83, 0.55) 92%, transparent 92%);
}


.dga-hero__actions {
    margin-top: 1.75rem;
}

.dga-hero__actions .btn-support {
    color: #64748b;
}

.dga-hero__media {
    position: relative;
    justify-self: end;
    width: 100%;
    max-width: 560px;
}

.dga-hero__media img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 991.5px) {
    .dga-hero__inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .dga-hero__media {
        order: 1;
        justify-self: center;
        max-width: 480px;
    }

    .dga-hero__content {
        order: 2;
        max-width: 640px;
        margin: 0 auto;
        text-align: center;
    }

    .dga-hero__content .dg-eyebrow {
        justify-content: center;
    }

    .dga-hero__content .dg-title {
        text-align: center;
    }

    .dga-hero__actions {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .dga-hero__actions .btn-with-support {
        align-items: center;
    }
}

@media (max-width: 575.5px) {
    .dga-hero {
        padding: 2.75rem 1rem 3rem;
    }

    .dga-hero__media {
        max-width: 100%;
    }
}

.dga-intro {
    padding: clamp(3rem, 6vw, 5rem) 1.25rem;
    background: #fff;
}

.dga-intro__inner {
    max-width: 820px;
    margin: 0 auto;
}

.dga-intro__content .dg-eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
}

.dga-intro__content .dg-title {
    margin: 0 0 1.35rem;
    text-align: left;
}

.dga-intro__text {
    margin: 0 0 1.25rem;
    font-family: var(--dg-font-body);
    font-size: 1.05rem;
    line-height: 1.75;
    color: #475569;
}

.dga-intro__list {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
    border-top: 1px solid rgba(14, 61, 102, 0.1);
}

.dga-intro__list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(14, 61, 102, 0.1);
    font-family: var(--dg-font-body);
    font-size: 1.02rem;
    line-height: 1.55;
    color: var(--dg-secondary);
    font-weight: 600;
}

.dga-intro__num {
    font-family: var(--dg-font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dg-highlight);
    line-height: 1.4;
}

.dga-offer {
    margin-top: 0.5rem;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    background: #f4f7fb;
    border-left: 4px solid var(--dg-highlight);
    border-radius: 0 8px 8px 0;
}

.dga-offer__value {
    margin: 0 0 0.65rem;
    font-family: var(--dg-font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dg-primary);
}

.dga-offer__value span {
    color: var(--dg-secondary);
    text-decoration: line-through;
    opacity: 0.65;
    margin-left: 0.25rem;
}

.dga-offer__text {
    margin: 0;
    font-family: var(--dg-font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
}

.dga-form-section {
    padding: clamp(3rem, 6vw, 5rem) 1.25rem;
    background: #eef2f7;
}

.dga-form-section__inner {
    max-width: 820px;
    margin: 0 auto;
}

.dga-form-section__header {
    margin-bottom: clamp(2rem, 4vw, 2.75rem);
    text-align: left;
}

.dga-form-section__header .dg-eyebrow {
    display: inline-block;
    margin-bottom: 0.85rem;
}

.dga-form-section__header .dg-title {
    margin: 0 0 0.75rem;
    text-align: left;
}

.dga-form-section__header .title-desc {
    margin: 0;
    text-align: left;
}

.dga-form {
    padding: clamp(1.75rem, 4vw, 2.5rem);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(14, 61, 102, 0.08);
}

.dga-form__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 2rem;
}

.dga-form__field {
    margin-bottom: 1.75rem;
}

.dga-form__field--full {
    grid-column: 1 / -1;
}

.dga-form__field label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--dg-font-body);
    font-size: 0.88rem;
    font-weight: 500;
    color: #5b6b7a;
}

.dga-form__field input,
.dga-form__field textarea {
    width: 100%;
    padding: 0.35rem 0 0.65rem;
    font-family: var(--dg-font-body);
    font-size: 1rem;
    color: var(--dg-primary);
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(20, 79, 132, 0.25);
    border-radius: 0;
    transition: border-color 0.25s ease;
}

.dga-form__field input:focus,
.dga-form__field textarea:focus {
    outline: none;
    border-bottom-color: var(--dg-highlight);
}

.dga-form__field textarea {
    resize: vertical;
    min-height: 100px;
}

.dga-form__submit {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.dga-form__note {
    font-family: var(--dg-font-body);
    font-size: 0.85rem;
    color: #64748b;
}

.dg-growth-form__req {
    color: var(--dg-secondary);
    font-weight: 700;
}

.dg-growth-form__optional {
    color: #94a3b8;
    font-weight: 400;
    font-size: 0.85em;
}

.dg-growth-form__error {
    display: block;
    margin-top: 0.45rem;
    font-family: var(--dg-font-body);
    font-size: 0.8rem;
    font-weight: 500;
    color: #c24141;
    line-height: 1.35;
}

.dg-growth-form__error[hidden] {
    display: none;
}

.dga-form__field.is-invalid input,
.dga-form__field.is-invalid textarea {
    border-bottom-color: #c24141;
}

.dga-form__field.is-invalid input:focus,
.dga-form__field.is-invalid textarea:focus {
    border-bottom-color: #c24141;
}

.dga-form__field input::placeholder,
.dga-form__field textarea::placeholder {
    color: rgba(20, 79, 132, 0.35);
}

.dga-form-steps {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1.75rem;
    flex-wrap: wrap;
}

.dga-form-steps__item {
    font-family: var(--dg-font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: #94a3b8;
}

.dga-form-steps__item.is-active {
    color: var(--dg-secondary);
}

.dga-form-steps__divider {
    width: 1.5rem;
    height: 2px;
    background: rgba(20, 79, 132, 0.2);
}

.dga-form-step__intro {
    margin: 0 0 1.5rem;
}

.dga-form-step[hidden] {
    display: none !important;
}

@media (max-width: 767.5px) {
    .dga-form__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .dga-form__submit {
        align-items: stretch;
    }

    .dga-form__submit .custom-btn {
        width: 100%;
        text-align: center;
    }
}

/* Digital Growth Audit — parallax offer */
.dga-parallax-offer {
    max-width: 720px;
    margin: 2.5rem auto 0;
    padding: clamp(1.5rem, 3vw, 2rem);
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    scroll-margin-top: 6rem;
}

.dga-parallax-offer__value {
    margin: 0 0 0.75rem;
    font-family: var(--dg-font-heading);
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    font-weight: 700;
    color: #ffffff;
}

.dga-parallax-offer__value span {
    text-decoration: line-through;
    opacity: 0.55;
    margin-right: 0.15rem;
}

.dga-parallax-offer__text {
    margin: 0 0 1.75rem;
    font-family: var(--dg-font-body);
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(243, 243, 243, 0.88);
}

.dga-parallax-offer__text strong {
    color: #ffffff;
    font-weight: 600;
}

.dga-parallax-offer .btn-with-support {
    align-items: center;
    margin-inline: auto;
}

.dga-parallax-offer .btn-support {
    color: rgba(243, 243, 243, 0.75);
}

/* Digital Growth Audit — discover cards */
.dga-discover {
    padding: clamp(3.5rem, 7vw, 5.5rem) 1.25rem;
    background: #f8fafc;
}

.dga-discover__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.dga-discover__header {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 2.75rem;
}

.dga-discover__header .dg-eyebrow {
    display: inline-flex;
    margin-bottom: 1rem;
}

.dga-discover__header .dg-title {
    margin: 0;
}

.dga-discover__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.dga-discover__card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 100%;
    padding: 1.75rem 1.5rem;
    background: #ffffff;
    border: 1px solid rgba(14, 61, 102, 0.08);
    border-radius: 12px;
}

.dga-discover__num {
    font-family: var(--dg-font-heading);
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1;
    color: var(--dg-highlight);
}

.dga-discover__text {
    margin: 0;
    font-family: var(--dg-font-body);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.55;
    color: var(--dg-secondary);
}

.dga-discover__copy {
    margin: 2.75rem auto 0;
    text-align: left;
}

.dga-discover__copy .p-text {
    margin: 0 0 1.15rem;
}

.dga-discover__copy .p-text:last-child {
    margin-bottom: 0;
}

@media (max-width: 991.5px) {
    .dga-discover__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.5px) {

    .dga-discover__header {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
        max-width: none;
    }
}
/* Discovery Call modal */
.dg-discovery {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10050 !important;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.dg-discovery.is-open {
    display: flex !important;
}

.dg-discovery[hidden] {
    display: none !important;
}

.dg-discovery__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 61, 102, 0.55);
    backdrop-filter: blur(2px);
}

.dg-discovery__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 640px);
    max-height: min(92vh, 820px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(14, 61, 102, 0.28);
}

.dg-discovery__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex: 0 0 auto;
    margin: 0;
    padding: 0.95rem 1.15rem 0.95rem 1.35rem;
    background: var(--dg-secondary, #0e3d66);
    color: #fff;
}

.dg-discovery__title {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    font-family: var(--dg-font-heading, inherit);
    font-size: clamp(1rem, 2.4vw, 1.15rem);
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
}

.dg-discovery__close {
    position: static;
    flex: 0 0 auto;
    width: 2.25rem;
    height: 2.25rem;
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #fff;
    font-size: 1.05rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.dg-discovery__close:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.dg-discovery__body {
    flex: 1 1 auto;
    overflow: auto;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    background: #f7f9fc;
}

.dg-discovery__intro {
    margin: 0 0 1.25rem;
    font-family: var(--dg-font-body, inherit);
    font-size: 0.95rem;
    line-height: 1.55;
    color: #4a5764;
}

.dg-discovery__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.25rem;
}

.dg-discovery__field {
    margin-bottom: 1.15rem;
}

.dg-discovery__field--full {
    grid-column: 1 / -1;
}

.dg-discovery__field label {
    display: block;
    margin-bottom: 0.4rem;
    font-family: var(--dg-font-body, inherit);
    font-size: 0.88rem;
    font-weight: 500;
    color: #5b6b7a;
}

.dg-discovery__field input,
.dg-discovery__field textarea {
    width: 100%;
    padding: 0.55rem 0.75rem;
    font-family: var(--dg-font-body, inherit);
    font-size: 1rem;
    color: var(--dg-primary, #144F84);
    background: #fff;
    border: 1px solid rgba(20, 79, 132, 0.18);
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dg-discovery__field input:focus,
.dg-discovery__field textarea:focus {
    outline: none;
    border-color: var(--dg-primary, #144F84);
    box-shadow: 0 0 0 3px rgba(20, 79, 132, 0.12);
}

.dg-discovery__field textarea {
    resize: vertical;
    min-height: 96px;
}

.dg-discovery__error {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.82rem;
    color: #c0392b;
}

.dg-discovery__field.is-invalid input,
.dg-discovery__field.is-invalid textarea {
    border-color: #c0392b;
}

.dg-discovery__actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 0.25rem;
}

body.dg-discovery-open {
    overflow: hidden;
}

@media (max-width: 575.5px) {
    .dg-discovery {
        padding: 0;
        align-items: flex-end;
        justify-content: flex-end;
    }

    .dg-discovery__dialog {
        width: 100%;
        max-width: 100%;
        max-height: min(94vh, 100dvh);
        border-radius: 16px 16px 0 0;
    }

    .dg-discovery__header {
        position: sticky;
        top: 0;
        z-index: 2;
        padding: 0.85rem 0.65rem 0.85rem 1rem;
        border-radius: 16px 16px 0 0;
    }

    .dg-discovery__title {
        text-align: left;
        font-size: 0.98rem;
        padding-right: 0.25rem;
    }

    .dg-discovery__close {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.15rem;
    }

    .dg-discovery__body {
        padding: 1rem 1rem 1.25rem;
        -webkit-overflow-scrolling: touch;
    }

    .dg-discovery__intro {
        display: none;
    }

    .dg-discovery__grid {
        grid-template-columns: 1fr;
    }

    .dg-discovery__field {
        margin-bottom: 0.95rem;
    }

    .dg-discovery__field textarea {
        min-height: 72px;
    }

    .dg-discovery__actions {
        justify-content: stretch;
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    .dg-discovery__actions .custom-btn {
        width: 100%;
    }
}
