/* contact.css - Contact Us page only (cards + "Write Us" form).
   Header / footer styles are NOT here (see nav-mega.css / footer.css). */

.ct-main {
    background: #fafafa;
    color: #0b1b3a;
    padding: 34px 0 72px;
}

.ct-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.ct-title {
    font-size: clamp(28px, 3.4vw, 38px);
    font-weight: 800;
    color: #000;
    margin: 0 0 40px;
    line-height: 1.2;
}

.ct-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    padding: 0 24px;
}

/* ---------- left: info cards ---------- */
.ct-cards {
    display: grid;
    gap: 32px;
}

.ct-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px 24px 22px;
    border-radius: 18px;
    box-shadow: 0 6px 16px rgba(11, 27, 58, .12);
}

.ct-card.phone { background: #f4e6ff; }
.ct-card.mail  { background: #ffe1e1; }
.ct-card.addr  { background: #fff6e0; }

.ct-ico {
    flex: none;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
}

.ct-ico svg { width: 34px; height: 34px; display: block; }

.ct-card h2 {
    font-size: 20px;
    font-weight: 600;
    color: #0b1b3a;
    margin: 0 0 4px;
    line-height: 1.3;
}

.ct-card p {
    font-size: 14px;
    color: #3d4a63;
    margin: 0 0 12px;
    line-height: 1.45;
}

.ct-card .ct-val {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #0b1b3a;
    text-decoration: none;
    overflow-wrap: anywhere;
}

a.ct-val:hover { text-decoration: underline; }

/* ---------- right: form ---------- */
.ct-form-box {
    background: #fff;
    border-radius: 22px;
    padding: 36px 32px 40px;
    box-shadow: 0 6px 24px rgba(11, 27, 58, .06);
}

.ct-form-box h2 {
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    color: #0b1b3a;
    margin: 0 0 14px;
}

.ct-sub {
    text-align: center;
    font-size: 15px;
    color: #3d4a63;
    margin: 0 0 34px;
}

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

.ct-form label {
    display: block;
    font-size: 14.5px;
    font-weight: 600;
    color: #0b1b3a;
    margin-bottom: 8px;
}

.ct-form input,
.ct-form select,
.ct-form textarea {
    width: 100%;
    margin: 0;
    padding: 14px 16px;
    font: inherit;
    font-size: 15px;
    color: #0b1b3a;
    background: #fff;
    border: 1px solid #dfe3ea;
    border-radius: 10px;
}

.ct-form textarea { min-height: 160px; resize: vertical; }

.ct-form input::placeholder,
.ct-form textarea::placeholder { color: #7b8599; }

.ct-form input:focus,
.ct-form select:focus,
.ct-form textarea:focus {
    outline: none;
    border-color: #b42a24;
    box-shadow: 0 0 0 3px rgba(180, 42, 36, .12);
}

.ct-form input.err,
.ct-form textarea.err { border-color: #d92d20; }

.ct-btn {
    justify-self: center;
    min-width: 116px;
    padding: 14px 30px;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: #ff6b35;;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(180, 42, 36, .28);
    transition: background .15s, transform .15s;
}

.ct-btn:hover { background: #140404; transform: translateY(-1px); }
.ct-btn:disabled { opacity: .7; cursor: wait; transform: none; }

/* success box reuses .ok / .tick / .msg from style.css */
.ct-form-box .ok h3 { font-size: 22px; margin-bottom: 8px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
    .ct-grid { grid-template-columns: 1fr; padding: 0; gap: 32px; }
    .ct-cards { gap: 22px; }
}

@media (max-width: 560px) {
    .ct-main { padding: 26px 0 52px; }
    .ct-wrap { padding: 0 16px; }
    .ct-title { margin-bottom: 26px; }
    .ct-row { grid-template-columns: 1fr; gap: 22px; }
    .ct-form-box { padding: 28px 18px 32px; }
    .ct-card { padding: 20px 18px; }
}
