/* ==========================================================================
   CDL CONTACT PAGE – cdl-ct prefix (BEM)
   ========================================================================== */

/* ── PS overrides ── */
#wrapper {
    padding-top: 0 !important;
}
#content-wrapper {
    padding: 0 !important;
    max-width: none !important;
}
#main .page-content {
    padding: 0 !important;
    margin: 0 !important;
}
.breadcrumb[data-depth] {
    display: none !important;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.cdl-ct-hero {
    position: relative;
    background: #000;
    color: #fff;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 64px 0 80px;
}

.cdl-ct-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.cdl-ct-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
}

.cdl-ct-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s;
}
.cdl-ct-hero__breadcrumb a:hover {
    color: #EBBE18;
}

.cdl-ct-hero__breadcrumb svg {
    color: rgba(255, 255, 255, 0.3);
}

.cdl-ct-hero__breadcrumb-active {
    color: #EBBE18;
}

.cdl-ct-hero__title {
    font-family: 'Jost', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 16px;
    color: #fff;
}

.cdl-ct-hero__title--yellow {
    color: #EBBE18;
}

.cdl-ct-hero__desc {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 700px;
    line-height: 1.6;
    margin: 0;
}

.cdl-ct-hero__wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 3;
    line-height: 0;
}

.cdl-ct-hero__wave img {
    width: 100%;
    display: block;
}

/* ==========================================================================
   MAIN CONTAINER
   ========================================================================== */
.cdl-ct {
    max-width: 1320px;
    margin: 0 auto;
    padding: 60px 24px 80px;
    font-family: 'Inter', sans-serif;
}

.cdl-ct__container {
    width: 100%;
}

/* ==========================================================================
   NOTIFICATIONS
   ========================================================================== */
.cdl-ct__alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 32px;
}
.cdl-ct__alert svg {
    flex-shrink: 0;
    margin-top: 2px;
}
.cdl-ct__alert p {
    margin: 0 0 4px;
}
.cdl-ct__alert p:last-child {
    margin-bottom: 0;
}

.cdl-ct__alert--success {
    background: #f0fdf4;
    border: 2px solid #22c55e;
    color: #166534;
}
.cdl-ct__alert--success svg {
    color: #22c55e;
}

.cdl-ct__alert--error {
    background: #fef2f2;
    border: 2px solid #ef4444;
    color: #991b1b;
}
.cdl-ct__alert--error svg {
    color: #ef4444;
}

/* ==========================================================================
   GRID: 1/3 INFO + 2/3 FORM
   ========================================================================== */
.cdl-ct__grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 32px;
    align-items: start;
}

.cdl-ct__left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ==========================================================================
   INFO CARD
   ========================================================================== */
.cdl-ct__info-card {
    background: #f8f8f8;
    border: 2px solid #e5e5e5;
    border-radius: 20px;
    padding: 32px;
}

.cdl-ct__info-card-title {
    font-family: 'Jost', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 24px;
}

.cdl-ct__info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}
.cdl-ct__info-item:last-child {
    margin-bottom: 0;
}

.cdl-ct__info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cdl-ct__info-icon svg {
    color: #EBBE18;
    stroke: #EBBE18;
}

.cdl-ct__info-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    margin-bottom: 4px;
}

.cdl-ct__info-value {
    display: block;
    font-size: 0.95rem;
    color: #1a1a1a;
    line-height: 1.5;
}

.cdl-ct__info-value--link {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s;
}
.cdl-ct__info-value--link:hover {
    color: #EBBE18;
}

/* ==========================================================================
   DEPARTMENTS CARD
   ========================================================================== */
.cdl-ct__dept-card {
    background: linear-gradient(135deg, #EBBE18 0%, #d4a916 100%);
    border-radius: 20px;
    padding: 32px;
    color: #000;
}

.cdl-ct__dept-card-title {
    font-family: 'Jost', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.cdl-ct__dept-desc {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.7);
    margin: 0 0 20px;
    line-height: 1.5;
}

.cdl-ct__dept-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cdl-ct__dept-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.cdl-ct__dept-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cdl-ct__dept-label {
    font-weight: 600;
    font-size: 0.9rem;
}

.cdl-ct__dept-email {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}
.cdl-ct__dept-email:hover {
    color: #000;
    text-decoration: underline;
}

/* ==========================================================================
   FORM CARD
   ========================================================================== */
.cdl-ct__form-card {
    background: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 20px;
    padding: 40px;
    text-align: left;
}

.cdl-ct__form-title {
    font-family: 'Jost', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 8px;
}

.cdl-ct__form-desc {
    font-size: 0.95rem;
    color: #666;
    margin: 0 0 32px;
    line-height: 1.5;
}

.cdl-ct__form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cdl-ct__form-group {
    margin-bottom: 20px;
}

.cdl-ct__label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    text-align: left;
}

.cdl-ct__required {
    color: #ef4444;
}

.cdl-ct__input,
.cdl-ct__select,
.cdl-ct__textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #1a1a1a;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
}

.cdl-ct__input:focus,
.cdl-ct__select:focus,
.cdl-ct__textarea:focus {
    border-color: #EBBE18;
    box-shadow: 0 0 0 3px rgba(235, 190, 24, 0.15);
}

.cdl-ct__input::placeholder,
.cdl-ct__textarea::placeholder {
    color: #aaa;
}

.cdl-ct__select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.cdl-ct__textarea {
    resize: vertical;
    min-height: 140px;
}

.cdl-ct__submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: #EBBE18;
    color: #000;
    border: none;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.cdl-ct__submit:hover {
    background: #d4a916;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(235, 190, 24, 0.3);
}
.cdl-ct__submit:active {
    transform: translateY(0);
}

/* ==========================================================================
   MAP SECTION
   ========================================================================== */
.cdl-ct__map {
    margin-top: 60px;
}

.cdl-ct__map-placeholder {
    background: #f8f8f8;
    border: 2px solid #e5e5e5;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.cdl-ct__map-title {
    font-family: 'Jost', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.cdl-ct__map-address {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    max-width: 500px;
    line-height: 1.5;
}

.cdl-ct__map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 24px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
}
.cdl-ct__map-link:hover {
    background: #1a1a1a;
    transform: translateY(-1px);
    color: #EBBE18;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
    .cdl-ct-hero {
        padding: 48px 0 64px;
    }
    .cdl-ct-hero__title {
        font-size: 2.4rem;
    }

    .cdl-ct__grid {
        grid-template-columns: 1fr;
    }
    .cdl-ct__left {
        order: 2;
    }
    .cdl-ct__right {
        order: 1;
    }

    .cdl-ct {
        padding: 40px 20px 60px;
    }
}

@media (max-width: 768px) {
    .cdl-ct-hero {
        padding: 40px 0 56px;
    }
    .cdl-ct-hero__title {
        font-size: 2rem;
    }
    .cdl-ct-hero__desc {
        font-size: 1rem;
    }

    .cdl-ct__form-row {
        grid-template-columns: 1fr;
    }

    .cdl-ct__form-card {
        padding: 24px;
    }
    .cdl-ct__info-card {
        padding: 24px;
    }
    .cdl-ct__dept-card {
        padding: 24px;
    }

    .cdl-ct__dept-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .cdl-ct__map-placeholder {
        padding: 40px 24px;
    }

    .cdl-ct__submit {
        width: 100%;
        justify-content: center;
    }
}
