/* ========================================
   SERVYLO CONTACT PAGE — v2 polish
   All classes use ctc- prefix
   ======================================== */

body { background: #f5f7fb; }

/* ==================== HERO ==================== */
.ctc-hero { padding: 24px 0 0; }
.ctc-hero__inner { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 64px); }
.ctc-hero__card {
    background: linear-gradient(135deg, #0243f1 0%, #2563eb 50%, #6366f1 100%);
    border-radius: 20px;
    padding: 40px 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px -20px rgba(2,67,241,.35);
}
.ctc-hero__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 40%, rgba(255,255,255,.15) 0, transparent 50%),
        radial-gradient(circle at 85% 20%, rgba(255,255,255,.08) 0, transparent 50%),
        radial-gradient(circle at 60% 90%, rgba(255,255,255,.06) 0, transparent 40%);
    pointer-events: none;
}
.ctc-hero__left { position: relative; z-index: 1; }
.ctc-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(8px);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 999px;
    margin-bottom: 22px;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.ctc-hero__badge i { font-size: 17px; }
.ctc-hero__title {
    font-family: 'Inter', sans-serif;
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 12px;
    letter-spacing: -.03em;
}
.ctc-hero__subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: rgba(255,255,255,.82);
    line-height: 1.6;
    margin: 0 auto;
    max-width: 480px;
}
.ctc-hero__right {
    display: none;
}

/* Decorative shapes — glassmorphism style */
.ctc-hero__decoration {
    width: 180px;
    height: 180px;
    position: relative;
}
.ctc-hero__shape1 {
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 0;
}
.ctc-hero__shape2 {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 28px;
    position: absolute;
    bottom: 10px;
    left: 0;
    transform: rotate(-12deg);
}
.ctc-hero__shape3 {
    width: 50px;
    height: 50px;
    background: rgba(255,193,36,.25);
    border: 1px solid rgba(255,193,36,.3);
    border-radius: 50%;
    position: absolute;
    top: 30px;
    left: 30px;
}

/* ==================== CONTACT INFO CARDS ==================== */
.ctc-info { padding: 24px 0; }
.ctc-info__inner { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 64px); }
.ctc-info__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.ctc-info__card {
    background: #fff;
    border-radius: 18px;
    padding: 32px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 1px 3px rgba(15,23,42,.04), 0 8px 24px -12px rgba(15,23,42,.08);
    transition: all .3s cubic-bezier(.16,1,.3,1);
}
.ctc-info__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(15,23,42,.06), 0 24px 48px -16px rgba(2,67,241,.12);
    border-color: rgba(2,67,241,.1);
}
.ctc-info__icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: #fff;
}
.ctc-info__icon--blue { background: linear-gradient(135deg, #0243f1 0%, #2563eb 100%); }
.ctc-info__icon--green { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.ctc-info__icon--orange { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.ctc-info__title {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}
.ctc-info__value {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 4px;
}
.ctc-info__desc {
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 400;
    color: #64748b;
}

/* ==================== FORM SECTION ==================== */
.ctc-form { padding: 24px 0 48px; }
.ctc-form__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(16px, 5vw, 64px);
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 24px;
    align-items: start;
}

/* Form card */
.ctc-form__card {
    background: #fff;
    border-radius: 22px;
    padding: 48px;
    box-shadow: 0 1px 3px rgba(15,23,42,.04), 0 8px 24px -12px rgba(15,23,42,.08);
    border: 1px solid rgba(0,0,0,0.03);
}
.ctc-form__title {
    font-family: 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
    letter-spacing: -.02em;
}
.ctc-form__subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #64748b;
    margin: 0 0 32px;
    line-height: 1.55;
}
.ctc-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.ctc-form__group { margin-bottom: 16px; }
.ctc-form__label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}
.ctc-form__label span { color: #ef4444; }
.ctc-form__input,
.ctc-form__textarea {
    width: 100%;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 18px;
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    font-weight: 400;
    color: #0f172a;
    outline: none;
    transition: all .25s ease;
    box-sizing: border-box;
    background: #fff;
}
.ctc-form__input::placeholder,
.ctc-form__textarea::placeholder { color: #94a3b8; }
.ctc-form__input:hover,
.ctc-form__textarea:hover {
    border-color: #cbd5e1;
}
.ctc-form__input:focus,
.ctc-form__textarea:focus {
    border-color: #0243f1;
    box-shadow: 0 0 0 4px rgba(2,67,241,0.1);
}
.ctc-form__textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}
.ctc-form__btn {
    background: linear-gradient(135deg, #0243f1 0%, #2563eb 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 16px 36px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all .3s cubic-bezier(.16,1,.3,1);
    box-shadow: 0 8px 20px -8px rgba(2,67,241,.45);
    margin-top: 8px;
}
.ctc-form__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -10px rgba(2,67,241,.55);
}
.ctc-form__btn:active {
    transform: translateY(0);
}
.ctc-form__btn:disabled,
.ctc-form__btn.is-loading {
    background: linear-gradient(135deg, #93acf5 0%, #a5b4fc 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Field validation states */
.ctc-form__input.is-invalid,
.ctc-form__textarea.is-invalid {
    border-color: #ef4444;
    background: #fef2f2;
}
.ctc-form__input.is-invalid:focus,
.ctc-form__textarea.is-invalid:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239,68,68,0.1);
}
.ctc-form__error {
    display: block;
    min-height: 18px;
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: #ef4444;
    margin-top: 6px;
}
.ctc-form__error:empty { min-height: 0; margin-top: 0; }
.ctc-form__help {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
    margin-top: 6px;
}

/* Flash messages */
.ctc-form__alert {
    padding: 16px 20px;
    border-radius: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ctc-form__alert--success {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}
.ctc-form__alert--success::before {
    content: '\f058';
    font-family: 'Line Awesome Free';
    font-weight: 900;
    font-size: 18px;
}
.ctc-form__alert--error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}
.ctc-form__alert--error::before {
    content: '\f06a';
    font-family: 'Line Awesome Free';
    font-weight: 900;
    font-size: 18px;
}

/* ==================== SIDE INFO CARD ==================== */
.ctc-side {
    background: #fff;
    border-radius: 22px;
    padding: 40px;
    box-shadow: 0 1px 3px rgba(15,23,42,.04), 0 8px 24px -12px rgba(15,23,42,.08);
    border: 1px solid rgba(0,0,0,0.03);
    position: sticky;
    top: 100px;
}
.ctc-side__title {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 24px;
    letter-spacing: -.02em;
}
.ctc-side__faq-item {
    padding: 18px 0;
    border-bottom: 1px solid #f1f5f9;
    transition: all .2s ease;
}
.ctc-side__faq-item:first-of-type { padding-top: 0; }
.ctc-side__faq-item:last-of-type { border-bottom: none; padding-bottom: 0; }
.ctc-side__faq-q {
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ctc-side__faq-q::before {
    content: '\f128';
    font-family: 'Line Awesome Free';
    font-weight: 900;
    font-size: 12px;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: #eef2ff;
    color: #0243f1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ctc-side__faq-a {
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 400;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    padding-left: 34px;
}
.ctc-side__socials {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
}
.ctc-side__social-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #334155;
    font-size: 18px;
    transition: all .3s cubic-bezier(.16,1,.3,1);
    text-decoration: none;
    border: 1px solid transparent;
}
.ctc-side__social-icon:hover {
    background: #eef2ff;
    color: #0243f1;
    border-color: rgba(2,67,241,.15);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px -6px rgba(2,67,241,.2);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 991px) {
    .ctc-hero__card { flex-direction: column; padding: 32px 28px; }
    .ctc-hero__right { display: none; }
    .ctc-hero__inner, .ctc-info__inner, .ctc-form__inner { padding: 0 24px; }
    .ctc-form__inner { grid-template-columns: 1fr; }
    .ctc-info__grid { grid-template-columns: 1fr; }
    .ctc-side { position: static; }
}
@media (max-width: 768px) {
    .ctc-hero__title { font-size: 26px; }
    .ctc-hero__subtitle { font-size: 14px; }
    .ctc-hero__card { padding: 28px 22px; border-radius: 16px; }
    .ctc-form__row { grid-template-columns: 1fr; }
    .ctc-form__card { padding: 28px; border-radius: 18px; }
    .ctc-side { padding: 28px; border-radius: 18px; }
    .ctc-form__title { font-size: 22px; }
    .ctc-form__btn { width: 100%; justify-content: center; }
}

