/* =================================================================
   CONTACT.CSS — ECOSOFT WordPress Theme
   ================================================================= */

/* ----------------------------------------------------------------
   HERO BANNER
   ---------------------------------------------------------------- */

#ct-hero {
    background: linear-gradient(135deg, #1a7a96 0%, #2193b0 50%, #6dd5ed 100%);
    position: relative;
    overflow: hidden;
}

#ct-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

#ct-hero::after {
    content: '';
    position: absolute;
    width: 28vw;
    height: 28vw;
    background: rgba(255,255,255,0.06);
    transform: rotate(45deg);
    right: -8vw;
    bottom: -8vw;
    pointer-events: none;
}

.ct-hero-overlay {
    padding: 160px 0 60px;
    position: relative;
    z-index: 1;
}

.ct-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    margin: 0 0 12px;
}

.ct-hero-sub {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    margin: 0;
}

/* ----------------------------------------------------------------
   MAIN SECTION
   ---------------------------------------------------------------- */

#ct-main {
    padding: 80px 0 100px;
    background: #f8fbfd;
}

.ct-split {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 64px;
    align-items: start;
}

/* ----------------------------------------------------------------
   DETALII CONTACT
   ---------------------------------------------------------------- */

.ct-details {
    background: #fff;
    border-radius: 18px;
    padding: 40px 36px;
    box-shadow: 0 4px 32px rgba(33,147,176,0.09);
    position: sticky;
    top: 100px;
}

.ct-details-title,
.ct-form-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: #2c3e50;
    margin: 0 0 16px;
}

.ct-details-accent {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #2193b0, #6dd5ed);
    border-radius: 2px;
    margin-bottom: 32px;
}

.ct-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.ct-detail-item:last-child {
    margin-bottom: 0;
}

.ct-detail-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #2193b0, #6dd5ed);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
}

.ct-detail-icon .fa-mobile {
    font-size: 1.4rem;
}

.ct-detail-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ct-detail-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #2193b0;
}

.ct-detail-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    color: #4a6070;
    line-height: 1.6;
    margin: 0;
}

.ct-detail-link {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    color: #4a6070;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
}

.ct-detail-link:hover {
    color: #2193b0;
}

/* ----------------------------------------------------------------
   FORMULAR
   ---------------------------------------------------------------- */

.ct-form-wrap {
    background: #fff;
    border-radius: 18px;
    padding: 40px 40px 48px;
    box-shadow: 0 4px 32px rgba(33,147,176,0.09);
}

.ct-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ct-form-row--2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ct-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ct-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    color: #2c3e50;
}

.ct-req {
    color: #e74c3c;
}

.ct-optional {
    font-weight: 400;
    color: #9aabb5;
    font-size: 0.78rem;
}

.ct-input,
.ct-textarea {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.92rem;
    color: #2c3e50;
    background: #f8fbfd;
    border: 1.5px solid #d8eaf2;
    border-radius: 10px;
    padding: 12px 16px;
    width: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    outline: none;
    resize: vertical;
}

.ct-input::placeholder,
.ct-textarea::placeholder {
    color: #aabbc8;
}

.ct-input:focus,
.ct-textarea:focus {
    border-color: #2193b0;
    box-shadow: 0 0 0 3px rgba(33,147,176,0.12);
    background: #fff;
}

.ct-textarea {
    min-height: 130px;
}

.ct-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    color: #fff;
    background: linear-gradient(135deg, #2193b0, #6dd5ed);
    border: none;
    border-radius: 50px;
    padding: 14px 36px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 24px rgba(33,147,176,0.3);
    align-self: flex-start;
    margin-top: 4px;
}

.ct-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(33,147,176,0.4);
}

/* ----------------------------------------------------------------
   ALERTE
   ---------------------------------------------------------------- */

.ct-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.ct-alert-success {
    background: #eafaf2;
    border: 1px solid #a8dfc1;
    color: #1e7d4a;
}

.ct-alert-error {
    background: #fdf2f2;
    border: 1px solid #f5b7b1;
    color: #c0392b;
}

/* ----------------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------------- */

@media (max-width: 900px) {
    .ct-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .ct-details {
        position: static;
    }
}

@media (max-width: 560px) {
    .ct-form-row--2 {
        grid-template-columns: 1fr;
    }
    .ct-form-wrap,
    .ct-details {
        padding: 28px 22px;
    }
    .ct-submit {
        align-self: stretch;
    }
}
