/* ═══════════════════════════════════════════════════════════════
   DAVIDE GAMBARDELLA THEME — main.css
   Formatore AI · SEO · Digital Marketing
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@300;400;500;700&family=Space+Mono:wght@400;700&display=swap');

/* ─── NASCONDI TITOLO PAGINA (SEO-safe) ──────────────────────── */
.entry-title {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}

/* ─── FULL WIDTH — OVERRIDE CHIRURGICO ───────────────────────── */
/*
 * Azzera le variabili Gutenberg che limitano la larghezza,
 * senza propagare width:100% ai figli interni dei blocchi.
 */
:root {
    --wp--style--global--content-size: 100%;
    --wp--style--global--wide-size: 100%;
    --wp--style--root--padding-top: 0;
    --wp--style--root--padding-right: 0;
    --wp--style--root--padding-bottom: 0;
    --wp--style--root--padding-left: 0;
}

/* Neutralizza il constraint di layout di Gutenberg */
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: none !important;
}

/* Solo i contenitori wrapper di WordPress — non i loro figli */
.wp-site-blocks,
.wp-block-post-content,
.entry-content,
.post-content,
.wp-block-html,
.hentry,
#page, #content, #primary,
.site-content, .content-area,
main#main, main.site-main {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
}

/* ─── CUSTOM PROPERTIES ──────────────────────────────────────── */
:root {
    --dg-dark:        #001e30;
    --dg-navy:        #003352;
    --dg-blue:        #005285;
    --dg-mid:         #0071b8;
    --dg-teal:        #00CFC8;
    --dg-cyan:        #03fff6;
    --dg-white:       #ffffff;
    --dg-text-muted:  rgba(255,255,255,0.65);
    --dg-border:      rgba(3,255,246,0.18);
    --dg-card-bg:     rgba(0,30,48,0.60);
    --dg-card-border: rgba(0,83,133,0.35);
    --dg-grad:        linear-gradient(135deg, #00CFC8, #03fff6);
    --dg-font-serif:  'Playfair Display', Georgia, serif;
    --dg-font-sans:   'DM Sans', system-ui, sans-serif;
    --dg-font-mono:   'Space Mono', 'Courier New', monospace;
    --dg-radius-sm:   8px;
    --dg-radius-md:   12px;
    --dg-radius-lg:   16px;
    --dg-section-v:   7rem;
    --dg-section-h:   5rem;  /* padding orizzontale globale */
}

/* ─── BASE ───────────────────────────────────────────────────── */
body {
    font-family: var(--dg-font-sans);
    background: var(--dg-dark);
    color: var(--dg-white);
    overflow-x: hidden;
    line-height: 1.7;
    margin: 0;
    padding: 0;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────────── */
.dg-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--dg-font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--dg-cyan);
    margin-bottom: 1.2rem;
}
.dg-eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--dg-cyan);
    flex-shrink: 0;
}

.dg-section-label {
    display: block;
    font-family: var(--dg-font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dg-teal);
    margin-bottom: 0.8rem;
}
.dg-section-label::before { content: '// '; opacity: 0.5; }

.dg-title {
    font-family: var(--dg-font-serif);
    font-size: clamp(3rem, 5.5vw, 5.5rem);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -0.02em;
    margin: 0 0 1.2rem;
}
.dg-title--section {
    font-size: clamp(2.2rem, 3.5vw, 3.8rem);
}
.dg-grad-text {
    background: var(--dg-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.dg-subtitle {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--dg-text-muted);
    max-width: 520px;
    margin: 0 0 2rem;
}

/* ─── BUTTONS ────────────────────────────────────────────────── */
.dg-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-family: var(--dg-font-sans);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: none;
    white-space: nowrap;
    width: auto !important;
    max-width: fit-content !important;
    box-sizing: border-box;
}
.dg-btn--primary {
    background: var(--dg-grad) !important;
    color: var(--dg-navy) !important;
    box-shadow: 0 4px 22px rgba(0,207,200,0.32);
}
.dg-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(3,255,246,0.42);
}
.dg-btn--ghost {
    background: transparent !important;
    color: var(--dg-white) !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
}
.dg-btn--ghost:hover {
    border-color: var(--dg-cyan) !important;
    color: var(--dg-cyan) !important;
}

/* ─── TAGS ───────────────────────────────────────────────────── */
.dg-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border: 1px solid var(--dg-border);
    border-radius: 4px;
    color: var(--dg-teal);
    background: rgba(0,207,200,0.07);
    width: auto !important;
    max-width: fit-content !important;
}
.dg-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

/* ─── NAVBAR ─────────────────────────────────────────────────── */
.dg-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem var(--dg-section-h);
    background: rgba(0,30,48,0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--dg-border);
    transition: box-shadow 0.3s;
    width: 100% !important;
    box-sizing: border-box;
}
.dg-nav.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.45);
}
.dg-nav__logo {
    display: flex; align-items: center; gap: 0.75rem;
    text-decoration: none; width: auto !important;
}
.dg-nav__logo-mark {
    width: 40px; height: 40px;
    background: var(--dg-grad);
    border-radius: var(--dg-radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--dg-font-serif);
    font-weight: 900; font-size: 1.2rem;
    color: var(--dg-navy); flex-shrink: 0;
}
.dg-nav__logo-text {
    font-family: var(--dg-font-serif);
    font-size: 1rem; font-weight: 700;
    color: var(--dg-white); line-height: 1.2;
}
.dg-nav__logo-sub {
    font-size: 0.6rem; color: var(--dg-teal);
    letter-spacing: 0.12em; text-transform: uppercase;
    display: block;
}
.dg-nav__menu {
    display: flex; align-items: center; gap: 2.5rem;
    list-style: none; margin: 0; padding: 0;
    width: auto !important;
}
.dg-nav__menu a {
    color: rgba(255,255,255,0.72);
    text-decoration: none; font-size: 0.88rem; font-weight: 500;
    letter-spacing: 0.02em; transition: color 0.2s;
    position: relative; width: auto !important;
}
.dg-nav__menu a::after {
    content: ''; position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 1px; background: var(--dg-cyan);
    transform: scaleX(0); transition: transform 0.25s;
}
.dg-nav__menu a:hover { color: var(--dg-cyan); }
.dg-nav__menu a:hover::after { transform: scaleX(1); }
.dg-nav__cta {
    background: var(--dg-grad) !important;
    color: var(--dg-navy) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 50px; font-weight: 700 !important;
}
.dg-nav__cta::after { display: none !important; }
.dg-nav__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(3,255,246,0.3);
}
.dg-nav__hamburger {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; background: none; border: none; padding: 4px;
    width: auto !important;
}
.dg-nav__hamburger span {
    width: 24px; height: 2px;
    background: var(--dg-white); border-radius: 2px;
    transition: all 0.3s; display: block;
}

/* ─── HERO ───────────────────────────────────────────────────── */
.dg-hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 4rem;
    padding: 120px var(--dg-section-h) 0 var(--dg-section-h) !important;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    width: 100% !important;
    background:
        radial-gradient(ellipse 80% 70% at 70% 50%, rgba(0,83,133,0.42) 0%, transparent 65%),
        radial-gradient(ellipse 40% 40% at 20% 80%, rgba(0,207,200,0.13) 0%, transparent 60%),
        linear-gradient(160deg, var(--dg-dark) 0%, #001525 100%);
}
.dg-hero::before {
    content: ''; position: absolute; inset: 0;
    pointer-events: none; opacity: 0.12;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 800' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='900' cy='250' r='200' stroke='%230071b8' stroke-width='1' fill='none'/%3E%3Ccircle cx='900' cy='250' r='320' stroke='%23005285' stroke-width='0.5' fill='none'/%3E%3Cline x1='0' y1='250' x2='1200' y2='450' stroke='%2300CFC8' stroke-width='1'/%3E%3C/svg%3E") no-repeat center;
    background-size: cover;
}
.dg-hero__content {
    position: relative; z-index: 2;
    display: flex; flex-direction: column; justify-content: center;
    padding-bottom: 4rem;
    animation: dg-fadeUp 0.8s ease both;
    width: auto !important; max-width: none !important;
}
.dg-hero__subtitle {
    font-size: 1.08rem; line-height: 1.75;
    color: var(--dg-text-muted);
    max-width: 480px; margin: 0 0 2rem;
}
.dg-hero__actions {
    display: flex; gap: 1rem; flex-wrap: wrap;
}

/* ─── HERO VISUAL + STAT CARDS ───────────────────────────────── */
.dg-hero__visual {
    position: relative; z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    height: calc(100vh - 80px);
    max-height: 820px; min-height: 480px;
    overflow: visible;
    animation: dg-fadeIn 1s 0.3s ease both;
    width: auto !important;
}

/* Riga card in alto — struttura flex, non absolute */
.dg-stat-cards-row {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    width: 100%;
    padding-top: 2rem;
    flex-shrink: 0;
    z-index: 10;
    position: relative;
}
.dg-stat-card {
    background: rgba(0,20,38,0.88);
    border: 1px solid var(--dg-border);
    backdrop-filter: blur(14px);
    border-radius: var(--dg-radius-md);
    padding: 14px 18px;
    width: auto !important;
    max-width: fit-content !important;
    height: fit-content !important;
    flex-shrink: 0;
    animation: dg-float-card 5s ease-in-out infinite;
}
.dg-stat-card:nth-child(2) { animation-delay: 0.6s; }
.dg-stat-card:nth-child(3) { animation-delay: 1.2s; }
.dg-stat-card__num {
    font-family: var(--dg-font-serif);
    font-size: 1.8rem; font-weight: 900;
    background: var(--dg-grad);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1; display: block;
}
.dg-stat-card__label {
    font-size: 0.65rem; color: rgba(255,255,255,0.55);
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-top: 0.2rem; display: block;
}

/* Foto hero */
.dg-hero__photo-wrap {
    flex: 1;
    display: flex; align-items: flex-end; justify-content: center;
    position: relative; width: 100%;
}
.dg-hero__photo {
    width: auto; height: 100%; max-width: 100%;
    object-fit: contain; object-position: bottom center;
    display: block;
    filter: drop-shadow(0 20px 60px rgba(0,0,0,0.65));
    animation: dg-float 7s ease-in-out infinite;
}
.dg-hero__glow {
    position: absolute; bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 70%; max-width: 340px; height: 60px;
    background: radial-gradient(ellipse, rgba(0,207,200,0.38), transparent 70%);
    filter: blur(18px); pointer-events: none;
}

/* ─── TICKER ─────────────────────────────────────────────────── */
.dg-ticker {
    background: var(--dg-grad);
    padding: 0.8rem 0; overflow: hidden;
    display: flex; width: 100% !important;
}
.dg-ticker__track {
    display: flex; gap: 2.5rem;
    animation: dg-ticker 22s linear infinite;
    white-space: nowrap;
}
.dg-ticker__item {
    font-family: var(--dg-font-mono);
    font-size: 0.76rem; font-weight: 700;
    color: var(--dg-navy); text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex; align-items: center; gap: 0.75rem;
    flex-shrink: 0; width: auto !important;
}
.dg-ticker__dot {
    width: 5px; height: 5px;
    background: var(--dg-navy); border-radius: 50%;
    opacity: 0.45; flex-shrink: 0; display: block;
}

/* ─── SEZIONI — padding globale ──────────────────────────────── */
.dg-section {
    padding: var(--dg-section-v) var(--dg-section-h) !important;
    position: relative; width: 100% !important;
    box-sizing: border-box;
}
.dg-section--services { background: linear-gradient(180deg, var(--dg-dark), #001a28); }
.dg-section--about    { background: #001a28; border-top: 1px solid rgba(0,83,133,0.3); }
.dg-section--numbers  {
    background: linear-gradient(135deg, var(--dg-navy), var(--dg-blue));
    border-top: 1px solid rgba(0,207,200,0.15);
    border-bottom: 1px solid rgba(0,207,200,0.15);
}
.dg-section--courses  { background: linear-gradient(180deg, #001a28, var(--dg-dark)); }
.dg-section--testi    { background: var(--dg-dark); border-top: 1px solid rgba(0,83,133,0.25); }
.dg-section--cta {
    background: linear-gradient(135deg, var(--dg-navy) 0%, #001a28 60%, var(--dg-dark) 100%);
    border-top: 1px solid rgba(0,207,200,0.15);
    text-align: center;
}
.dg-section--cta::before {
    content: ''; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 600px; height: 400px;
    background: radial-gradient(ellipse, rgba(0,207,200,0.12), transparent 70%);
    pointer-events: none;
}

/* ─── COSA FACCIO — titolo sopra, testo 2 colonne ───────────── */
.dg-section__header--split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3.5rem;
}
.dg-section__intro {
    columns: 2;
    column-gap: 3rem;
    font-size: 1rem; line-height: 1.75;
    color: var(--dg-text-muted);
}
.dg-section__intro p { margin: 0 0 1rem; break-inside: avoid; }
.dg-section__intro p:last-child { margin-bottom: 0; }
.dg-section__intro em { color: var(--dg-teal); font-style: italic; }
.dg-section__intro ul { margin: 0.5rem 0 1rem 1.4rem; padding: 0; break-inside: avoid; }
.dg-section__intro ul li { margin-bottom: 0.4rem; }

/* ─── SERVICE CARDS ──────────────────────────────────────────── */
.dg-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}
.dg-service {
    background: var(--dg-card-bg);
    border: 1px solid var(--dg-card-border);
    padding: 2.5rem;
    position: relative; overflow: hidden;
    transition: all 0.25s; box-sizing: border-box;
}
.dg-service::after {
    content: ''; position: absolute;
    bottom: 0; left: 0; right: 0; height: 2px;
    background: var(--dg-grad);
    transform: scaleX(0); transition: transform 0.3s;
}
.dg-service:hover { transform: translateY(-4px); border-color: rgba(0,207,200,0.4); }
.dg-service:hover::after { transform: scaleX(1); }
.dg-service--wide { grid-column: span 2; }
.dg-service__number {
    font-family: var(--dg-font-mono); font-size: 0.62rem;
    color: var(--dg-teal); letter-spacing: 0.14em;
    margin-bottom: 1.4rem; opacity: 0.65;
}
.dg-service__icon {
    width: 52px; height: 52px; margin-bottom: 1.4rem;
    background: rgba(0,207,200,0.1); border: 1px solid var(--dg-border);
    border-radius: var(--dg-radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
}
.dg-service__name {
    font-family: var(--dg-font-serif); font-size: 1.38rem; font-weight: 700;
    margin: 0 0 0.8rem; line-height: 1.22; color: var(--dg-white);
}
.dg-service__desc {
    font-size: 0.87rem; line-height: 1.65;
    color: rgba(255,255,255,0.54); margin: 0 0 1.4rem;
}
.dg-service__link {
    font-size: 0.78rem; font-weight: 700; color: var(--dg-teal);
    text-decoration: none; text-transform: uppercase; letter-spacing: 0.07em;
    display: inline-flex; align-items: center; gap: 0.4rem;
    transition: gap 0.2s; width: auto !important;
}
.dg-service__link:hover { gap: 0.8rem; color: var(--dg-cyan); }

/* ─── ABOUT ──────────────────────────────────────────────────── */
.dg-about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 6rem; align-items: center;
}
.dg-about__frame { position: relative; max-width: 440px; }
.dg-about__frame::before {
    content: ''; position: absolute;
    top: -16px; left: -16px; right: 16px; bottom: 16px;
    border: 2px solid rgba(0,207,200,0.22);
    border-radius: var(--dg-radius-lg); pointer-events: none;
}
.dg-about__img {
    width: 100%; height: 540px;
    object-fit: cover; object-position: top center;
    border-radius: var(--dg-radius-md);
    display: block; filter: grayscale(15%);
}
.dg-about__badge {
    position: absolute; bottom: -18px; right: -18px;
    background: var(--dg-grad);
    border-radius: var(--dg-radius-md);
    padding: 1.2rem 1.5rem; text-align: center; min-width: 120px;
    width: auto !important;
}
.dg-about__badge-num {
    font-family: var(--dg-font-serif); font-size: 2.2rem; font-weight: 900;
    color: var(--dg-navy); line-height: 1; display: block;
}
.dg-about__badge-label {
    font-size: 0.66rem; font-weight: 700; color: var(--dg-navy);
    opacity: 0.72; text-transform: uppercase; letter-spacing: 0.05em;
}
.dg-about__bio {
    font-size: 0.97rem; line-height: 1.78;
    color: rgba(255,255,255,0.7); margin: 0 0 1.4rem;
}
.dg-about__bio strong { color: var(--dg-white); font-weight: 600; }
.dg-skills-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 0.7rem; margin: 0 0 2.2rem;
}
.dg-skill-pill {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 0.82rem; color: rgba(255,255,255,0.82);
    padding: 0.6rem 0.9rem;
    border: 1px solid rgba(0,207,200,0.22);
    border-radius: var(--dg-radius-sm);
    background: rgba(0,207,200,0.05);
    width: auto !important;
}
.dg-skill-pill::before {
    content: '✓'; color: var(--dg-teal); font-weight: 700;
    font-size: 0.78rem; flex-shrink: 0;
}

/* ─── NUMBERS ────────────────────────────────────────────────── */
.dg-numbers-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 2rem; margin-top: 3.5rem;
}
.dg-number { text-align: center; }
.dg-number__value {
    font-family: var(--dg-font-serif); font-size: 4.5rem; font-weight: 900;
    line-height: 1;
    background: var(--dg-grad);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem; display: block;
}
.dg-number__label {
    font-size: 0.88rem; color: rgba(255,255,255,0.58); line-height: 1.45;
}

/* ─── COURSE CARDS ───────────────────────────────────────────── */
.dg-courses-header {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 2.5rem;
}
.dg-courses-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.dg-course {
    border-radius: var(--dg-radius-lg); padding: 2rem;
    border: 1px solid var(--dg-card-border);
    background: var(--dg-card-bg);
    position: relative; overflow: hidden;
    transition: all 0.3s; box-sizing: border-box;
}
.dg-course::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px; background: var(--dg-grad);
    transform: scaleX(0); transition: transform 0.3s;
}
.dg-course:hover { transform: translateY(-6px); border-color: rgba(0,207,200,0.32); }
.dg-course:hover::after { transform: scaleX(1); }
.dg-course__level {
    font-family: var(--dg-font-mono); font-size: 0.64rem;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--dg-teal); margin-bottom: 0.8rem;
}
.dg-course__title {
    font-family: var(--dg-font-serif); font-size: 1.25rem; font-weight: 700;
    margin: 0 0 0.7rem; line-height: 1.25; color: var(--dg-white);
}
.dg-course__desc {
    font-size: 0.84rem; color: rgba(255,255,255,0.54);
    line-height: 1.62; margin: 0 0 1.4rem;
}
.dg-course__meta {
    display: flex; gap: 1.2rem; font-size: 0.76rem; color: rgba(255,255,255,0.38);
}

/* ─── TESTIMONIAL CARDS ──────────────────────────────────────── */
.dg-testi-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; margin-top: 3.5rem;
}
.dg-testi {
    background: var(--dg-card-bg);
    border: 1px solid var(--dg-card-border);
    border-radius: var(--dg-radius-lg); padding: 2rem;
    transition: all 0.25s; box-sizing: border-box;
}
.dg-testi:hover { border-color: rgba(0,207,200,0.3); transform: translateY(-4px); }
.dg-testi__stars {
    color: var(--dg-cyan); font-size: 0.82rem;
    letter-spacing: 2px; margin-bottom: 0.75rem;
}
.dg-testi__quote {
    font-family: var(--dg-font-serif); font-size: 3.5rem;
    line-height: 1; color: var(--dg-teal); opacity: 0.28; margin-bottom: 0.3rem;
}
.dg-testi__text {
    font-size: 0.91rem; line-height: 1.72;
    color: rgba(255,255,255,0.75); font-style: italic; margin: 0 0 1.4rem;
}
.dg-testi__author { display: flex; align-items: center; gap: 0.75rem; }
.dg-testi__avatar {
    width: 44px !important; height: 44px;
    max-width: 44px !important;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dg-blue), var(--dg-teal));
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem; color: var(--dg-white);
    flex-shrink: 0;
}
.dg-testi__name { font-weight: 700; font-size: 0.88rem; margin-bottom: 0.2rem; }
.dg-testi__role { font-size: 0.76rem; color: rgba(255,255,255,0.45); }

/* ─── CTA ────────────────────────────────────────────────────── */
.dg-cta__content { position: relative; z-index: 1; }
.dg-cta__actions {
    display: flex; gap: 1rem; justify-content: center;
    flex-wrap: wrap; margin-top: 2.2rem;
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
.dg-footer {
    background: var(--dg-navy);
    padding: 5rem var(--dg-section-h) 2rem !important;
    border-top: 1px solid rgba(0,207,200,0.15);
    width: 100% !important; box-sizing: border-box;
}
.dg-footer__grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3.5rem; margin-bottom: 3.5rem;
}
.dg-footer__brand-name {
    font-family: var(--dg-font-serif); font-size: 1.4rem;
    font-weight: 700; margin-bottom: 0.8rem;
}
.dg-footer__brand-desc {
    font-size: 0.86rem; color: rgba(255,255,255,0.45);
    line-height: 1.65; max-width: 280px;
}
.dg-footer__col h4 {
    font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--dg-teal); margin-bottom: 1.2rem; font-weight: 700;
}
.dg-footer__col ul { list-style: none; margin: 0; padding: 0; }
.dg-footer__col li { margin-bottom: 0.65rem; }
.dg-footer__col a {
    color: rgba(255,255,255,0.47); text-decoration: none;
    font-size: 0.86rem; transition: color 0.2s;
}
.dg-footer__col a:hover { color: var(--dg-teal); }
.dg-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.09); padding-top: 1.5rem;
    display: flex; justify-content: space-between; align-items: center;
}
.dg-footer__copy { font-size: 0.78rem; color: rgba(255,255,255,0.32); }
.dg-socials { display: flex; gap: 0.7rem; }
.dg-social-link {
    width: 36px !important; max-width: 36px !important; height: 36px;
    border-radius: var(--dg-radius-sm);
    border: 1px solid rgba(255,255,255,0.16);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5); text-decoration: none;
    font-size: 0.82rem; font-weight: 700; transition: all 0.2s;
}
.dg-social-link:hover {
    border-color: var(--dg-teal); color: var(--dg-teal);
    background: rgba(0,207,200,0.09);
}

/* ─── SCROLL REVEAL ──────────────────────────────────────────── */
.dg-reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.dg-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ─── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes dg-fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes dg-fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes dg-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}
@keyframes dg-float-card {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}
@keyframes dg-ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
    :root {
        --dg-section-h: 2rem;
        --dg-section-v: 5rem;
    }
    .dg-nav { padding: 1rem 2rem; }
    .dg-nav__menu { display: none; }
    .dg-nav__hamburger { display: flex; }

    .dg-hero {
        grid-template-columns: 1fr;
        padding: 90px 2rem 0 2rem !important;
        min-height: auto; gap: 0;
    }
    .dg-hero__visual {
        order: -1; height: 50vw;
        max-height: 380px; min-height: 220px;
        width: 100%; margin-bottom: 2rem;
        flex-direction: column;
    }
    .dg-stat-cards-row {
        justify-content: center;
        padding-top: 0; flex-wrap: wrap;
    }
    .dg-stat-card { padding: 10px 14px; }
    .dg-stat-card__num { font-size: 1.4rem; }
    .dg-hero__photo { height: 80%; max-width: 75%; }
    .dg-hero__content { text-align: center; padding-bottom: 3rem; }
    .dg-hero__subtitle { margin-left: auto; margin-right: auto; }
    .dg-tags { justify-content: center; }
    .dg-hero__actions { justify-content: center; }

    .dg-services-grid { grid-template-columns: 1fr; }
    .dg-service--wide { grid-column: span 1; }
    .dg-section__intro { columns: 1; }

    .dg-about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .dg-about__img { height: 320px; }

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

    .dg-courses-header { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
    .dg-courses-grid { grid-template-columns: 1fr; }

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

    .dg-footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .dg-footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 600px) {
    .dg-hero__visual { height: 65vw; max-height: 280px; }
    .dg-stat-cards-row { gap: 0.5rem; }
    .dg-numbers-grid { grid-template-columns: 1fr 1fr; }
    .dg-number__value { font-size: 3rem; }
    .dg-footer__grid { grid-template-columns: 1fr; }
}
