/* =========================================
   ĐỘI NGŨ CHUYÊN GIA PAGE STYLES
   ========================================= */

/* --- Hero Section --- */
.dgcg-hero {
    overflow: hidden;
    background: #fff;
    padding-top: 20px;
    padding-bottom: 0;
}

.dgcg-hero__wrap {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: start;
    /* Extra height to contain the absolute ellipse */
    min-height: 960px;
}

/* Large green circle — absolute, positioned in right column area */
.dgcg-hero__ellipse-large {
    position: absolute;
    width: 640px;
    height: 640px;
    /* ~58% from left (right column), 268px from top */
    right: -60px;
    top: 130px;
    pointer-events: none;
    z-index: 0;
}

/* Small green dot */
.dgcg-hero__ellipse-small {
    position: absolute;
    width: 54px;
    height: 54px;
    /* right of center, top */
    right: 200px;
    top: 0;
    pointer-events: none;
    z-index: 0;
}

/* Blur overlay — behind ellipse, above white bg only */
.dgcg-hero__bgblur {
    position: absolute;
    left: 0;
    right: 0;
    top: 40%;
    pointer-events: none;
    z-index: 0;
    object-fit: fill;
}

/* Left column */
.dgcg-hero__left {
    position: relative;
    z-index: 2;
    padding-top: 60px;
    padding-bottom: 80px;
    padding-right: 40px;
}

.dgcg-hero__breadcrumb {
    font-size: 14px;
    color: rgba(38, 38, 38, 0.55);
    margin-bottom: 20px;
}

.dgcg-hero__heading {
    font-family: 'Google Sans', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.08;
    letter-spacing: -2.4px;
    color: #064666;
    margin-bottom: 36px;
}

.dgcg-hero__team-photo {
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    max-width: 560px;
}

.dgcg-hero__team-photo img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.dgcg-hero__desc {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 28px;
    max-width: 560px;
}

.dgcg-hero__desc-icon {
    width: 57px;
    height: 57px;
    flex-shrink: 0;
    object-fit: contain;
}

.dgcg-hero__desc p {
    font-family: 'Google Sans', 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #064666;
    line-height: 1.35;
}

/* Right column: trophy sits on top of ellipse */
.dgcg-hero__right {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-top: 20px;
    min-height: 580px;
}

/* Trophy image — flipped vertically+rotated 180deg exactly as in Figma */
.dgcg-hero__trophy {
    width: 433px;
    max-width: 100%;
    display: block;
    /* Figma: -scale-y-100 rotate-180 = effectively no visible flip since both cancel out visually,
       but in Figma it makes the reflection effect underneath the trophy */
    transform: scaleY(-1) rotate(180deg);
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

/* --- Values Cards Section --- */
.dgcg-values {
    padding: 64px 0;
    background: #fff;
}

.dgcg-values__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}

.dgcg-values__card {
    border-radius: 20px;
    padding: 29px 43px;
    color: #262626;
}

.dgcg-values__card h3 {
    font-family: 'Google Sans', 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.dgcg-values__card p,
.dgcg-values__card div {
    font-family: 'Google Sans', 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.35;
    color: #262626;
}

.dgcg-values__card--blue {
    background: #a4f2ff;
    min-height: 264px;
}

.dgcg-values__card--green {
    background: #ccffc0;
    min-height: 264px;
}

.dgcg-values__card--purple {
    background: #e9dfff;
    text-align: center;
}

.dgcg-values__card--full {
    grid-column: 1 / -1;
}

/* --- Expert System Section --- */
.dgcg-experts {
    padding: 80px 0 100px;
    background: #fff;
}

.dgcg-experts__heading {
    font-family: 'Google Sans', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 48px;
    color: #000;
    line-height: 1.15;
    margin-bottom: 56px;
}

.dgcg-experts__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 36px;
}

/* Expert Card */
.dgcg-expert-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dgcg-expert-card-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}

.dgcg-expert-card__photo {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 408 / 421;
}

.dgcg-expert-card__photo>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.dgcg-expert-card__socials {
    position: absolute;
    top: 27px;
    right: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.dgcg-expert-card__socials a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dgcg-expert-card__socials a img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    display: block;
    filter: invert(1);
}

.dgcg-expert-card__info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
}

.dgcg-expert-card__name {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dgcg-expert-card__fullname {
    font-family: 'Google Sans', 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #14313a;
    line-height: 1.3;
}

.dgcg-expert-card__title {
    font-family: 'Google Sans', 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #14313a;
    line-height: 1.3;
}

.dgcg-expert-card__bio {
    font-family: 'Google Sans', 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #5e5e5e;
    line-height: 1.5;
}

.dgcg-expert-card__bio strong {
    font-weight: 700;
    color: #5e5e5e;
}

/* --- Ethics Section --- */
.dgcg-ethics {
    padding: 60px 0 100px;
    background: #fff;
}

.dgcg-ethics__line {
    width: 100%;
    height: .5px;
    background: #555555;
    margin-bottom: 56px;
    opacity: 0.8;
}

.dgcg-ethics__wrap {
    display: grid;
    grid-template-columns: 311px 1fr;
    gap: 15px;
    align-items: start;
}

.dgcg-ethics__label {
    font-family: 'Google Sans', 'Inter', sans-serif;
    font-size: 16px;
    color: #5E5E5E;
    font-weight: 400;
    padding-top: 10px;
}

.dgcg-ethics__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dgcg-ethics__heading,
.dgcg-ethics__desc {
    font-family: 'Google Sans', 'Inter', sans-serif;
    font-size: 48px;
    font-weight: 400;
    color: #064666;
    line-height: 1.25;
    margin: 0;
    letter-spacing: -1px;
}

/* --- Consultation Section --- */
.dgcg-consultation {
    padding-bottom: 120px;
    background: #fff;
}

.dgcg-consultation__wrap {
    display: grid;
    grid-template-columns: 1fr 530px;
    gap: 60px;
    align-items: start;
}

.dgcg-consultation__heading {
    font-family: 'Google Sans', 'Inter', sans-serif;
    font-size: 48px;
    font-weight: 400;
    color: #000;
    line-height: 1.25;
    margin: 0;
    letter-spacing: -1px;
}

.dgcg-consultation__form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.dgcg-consultation__fields {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dgcg-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dgcg-form-group label {
    font-family: 'Google Sans', 'Inter', sans-serif;
    font-size: 16px;
    color: #848484;
    font-weight: 400;
}

.dgcg-form-group input,
.dgcg-form-group select {
    width: 100%;
    height: 58px;
    border: 1px solid #848484;
    border-radius: 5px;
    padding: 0 19px;
    font-family: 'Google Sans', 'Inter', sans-serif;
    font-size: 16px;
    color: #000;
    background: transparent;
    outline: none;
    transition: all 0.3s ease;
}

.dgcg-form-group input:focus,
.dgcg-form-group select:focus {
    border-color: #064666;
    box-shadow: 0 0 0 1px rgba(6, 70, 102, 0.1);
}

.dgcg-select-wrapper {
    position: relative;
    width: 100%;
}

.dgcg-select-wrapper select {
    appearance: none;
    cursor: pointer;
}

.dgcg-form-group select#contact_expert,
.dgcg-form-group select#contact_budget {
    font-weight: 700;
}

.dgcg-select-wrapper .select-icon {
    position: absolute;
    right: 19px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.6;
}

.dgcg-consultation__submit {
    align-self: flex-start;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    padding: 8px 32px 8px 32px;
    min-height: 48px;
    background: linear-gradient(90deg, #064662 0%, #0C70A2 100%);
    border-radius: 58px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dgcg-consultation__submit:hover {
    opacity: 0.95;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(6, 70, 102, 0.2);
}

.dgcg-consultation__submit .btn-text {
    font-family: 'Google Sans', 'Inter', sans-serif;
    font-size: 20px;
    color: #fff;
    font-weight: 400;
}

.dgcg-consultation__submit .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 33px;
}

.container--narrow {
    max-width: 1100px;
}

/* Form status alerts */
.dgcg-alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.5;
}

.dgcg-alert--success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #10b981;
}

.dgcg-alert--error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* =========================================
   RESPONSIVE — Tablet (max-width: 1024px)
   ========================================= */
@media (max-width: 1024px) {

    /* Hero */
    .dgcg-hero__wrap {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .dgcg-hero__left {
        padding-top: 40px;
        padding-bottom: 40px;
        padding-right: 0;
    }

    .dgcg-hero__heading {
        font-size: 32px;
        letter-spacing: -1.6px;
        margin-bottom: 24px;
    }

    .dgcg-hero__desc p {
        font-size: 22px;
    }

    .dgcg-hero__team-photo img {
        height: 250px;
    }

    .dgcg-hero__right {
        justify-content: center;
        align-items: center;
        min-height: auto;
        padding-top: 0;
    }

    .dgcg-hero__trophy {
        width: 300px;
    }

    .dgcg-hero__ellipse-large {
        width: 400px;
        height: 400px;
        right: -40px;
        top: 80px;
    }

    /* Values */
    .dgcg-values {
        padding: 48px 0;
    }

    .dgcg-values__grid {
        gap: 24px;
    }

    .dgcg-values__card {
        padding: 24px 32px;
    }

    .dgcg-values__card h3 {
        font-size: 28px;
    }

    .dgcg-values__card--blue,
    .dgcg-values__card--green {
        min-height: auto;
    }

    /* Experts */
    .dgcg-experts {
        padding: 60px 0 80px;
    }

    .dgcg-experts__heading {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .dgcg-experts__grid {
        gap: 28px;
    }

    .dgcg-expert-card {
        gap: 16px;
    }

    /* Ethics */
    .dgcg-ethics {
        padding: 40px 0 60px;
    }

    .dgcg-ethics__line {
        margin-bottom: 32px;
    }

    .dgcg-ethics__wrap {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dgcg-ethics__heading,
    .dgcg-ethics__desc {
        font-size: 32px;
        letter-spacing: -0.5px;
    }

    /* Consultation */
    .dgcg-consultation {
        padding-bottom: 80px;
    }

    .dgcg-consultation__wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .dgcg-consultation__heading {
        font-size: 32px;
        letter-spacing: -0.5px;
    }
}

/* =========================================
   RESPONSIVE — Mobile (max-width: 768px)
   ========================================= */
@media (max-width: 768px) {

    /* Hero */
    .dgcg-hero__heading {
        font-size: 24px;
        letter-spacing: -1.2px;
        margin-bottom: 20px;
    }

    .dgcg-hero__desc p {
        font-size: 18px;
    }

    .dgcg-hero__desc {
        gap: 10px;
    }

    .dgcg-hero__desc-icon {
        width: 40px;
        height: 40px;
    }

    .dgcg-hero__team-photo img {
        height: 200px;
    }

    .dgcg-hero__trophy {
        width: 100%;
    }

    .dgcg-hero__ellipse-large {
        display: none;
    }

    .dgcg-hero__ellipse-small {
        display: none;
    }

    .dgcg-hero__left {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    /* Values */
    .dgcg-values {
        padding: 32px 0;
    }

    .dgcg-values__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dgcg-values__card {
        padding: 20px 24px;
    }

    .dgcg-values__card h3 {
        font-size: 24px;
    }

    .dgcg-values__card p,
    .dgcg-values__card div {
        font-size: 16px;
    }

    .dgcg-values__card--full {
        grid-column: 1;
    }

    /* Experts */
    .dgcg-experts {
        padding: 40px 0 60px;
    }

    .dgcg-experts__heading {
        font-size: 28px;
        margin-bottom: 32px;
    }

    .dgcg-experts__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .dgcg-expert-card {
        gap: 14px;
    }

    .dgcg-expert-card__photo {
        height: auto;
    }

    /* Ethics */
    .dgcg-ethics__heading,
    .dgcg-ethics__desc {
        font-size: 24px;
        letter-spacing: 0;
    }

    /* Consultation */
    .dgcg-consultation {
        padding-bottom: 60px;
    }

    .dgcg-consultation__heading {
        font-size: 24px;
        letter-spacing: 0;
    }

    .dgcg-consultation__submit {
        width: 100%;
    }
}