/* ══════════════════════════════════════════
   PAGE HERO
══════════════════════════════════════════ */
.page-hero {
    background: var(--gradient);
    padding: 100px 0 52px;
    margin-top: 66px;
}
.page-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.page-hero-tag {
    color: rgba(255,255,255,0.85) !important;
    background: rgba(255,255,255,0.12) !important;
    border-color: rgba(255,255,255,0.22) !important;
}
.page-hero-title {
    font-size: clamp(26px,4vw,46px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.03em;
    color: #ffffff;
    margin: 10px 0 12px;
}
.page-hero-grad {
    background: linear-gradient(135deg,#a8d8a9 0%,#ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-hero-sub {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    line-height: 1.75;
    max-width: 560px;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    margin-top: 4px;
}
.breadcrumb a       { color: rgba(255,255,255,0.7); transition: color .2s; }
.breadcrumb a:hover { color: #ffffff; }
.breadcrumb i       { font-size: 9px; }
.breadcrumb span    { color: #ffffff; font-weight: 600; }

@media (max-width: 768px) {
    .page-hero     { padding: 90px 0 40px; }
    .page-hero-sub { font-size: 14px; }
}

/* ══════════════════════════════════════════
   CONTACT LAYOUT
══════════════════════════════════════════ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 56px;
    align-items: start;
}

/* ── Info Side ── */
.contact-info-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}
.contact-info-sub {
    font-size: 13px;
    color: var(--text-sec);
    line-height: 1.75;
    margin-bottom: 28px;
}
.cinfo-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}
.cinfo-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 16px 18px;
    transition: border-color .2s, box-shadow .2s;
}
.cinfo-card:hover {
    border-color: var(--border-h);
    box-shadow: var(--shadow-sm);
}
.cinfo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--gradient);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(30,56,114,0.2);
}
.cinfo-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.cinfo-val {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    line-height: 1.6;
    transition: color .2s;
}
a.cinfo-val:hover { color: var(--primary); }
.cinfo-note {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 3px;
    line-height: 1.7;
}

/* What happens next */
.cinfo-next {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 20px 22px;
}
.cinfo-next-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
}
.cinfo-next-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cinfo-next-steps li {
    font-size: 12px;
    color: var(--text-sec);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
}
.step-num {
    font-size: 10px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── Form Side ── */
.contact-form-box {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}
.form-box-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}
.form-box-sub {
    font-size: 13px;
    color: var(--text-sec);
    line-height: 1.7;
    margin-bottom: 24px;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: .02em;
}
.req { color: #e53e3e; }
.opt { color: var(--text-muted); font-weight: 400; font-size: 11px; }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    font-size: 13px;
    font-family: inherit;
    color: var(--text);
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30,56,114,0.08);
}

/* Error state */
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #e53e3e !important;
    box-shadow: 0 0 0 3px rgba(229,62,62,0.1) !important;
}
.field-error {
    display: none;
    font-size: 11px;
    color: #e53e3e;
    font-weight: 500;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%236b7280' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Captcha */
.captcha-q {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
}

/* Checkbox — fixed */
.form-check-group { margin-top: 2px; }

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}
/* ── Checkbox tick fix ── */
.form-checkbox input[type="checkbox"] {
    width: 17px;
    height: 17px;
    min-width: 17px;
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
    appearance: checkbox;
    -webkit-appearance: checkbox;
    accent-color: var(--primary);
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: 3px;
    position: relative;
    z-index: 1;
}
.checkbox-label {
    font-size: 12px;
    color: var(--text-sec);
    line-height: 1.65;
}
.checkbox-label a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}
.checkbox-label a:hover { color: var(--secondary); }

/* Checkbox error — highlight label text not the box */
.form-group.has-error .checkbox-label {
    color: #e53e3e;
}
.form-group.has-error .checkbox-label a {
    color: #e53e3e;
}

/* Submit */
.btn-submit {
    background: var(--gradient);
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: .02em;
    box-shadow: 0 6px 20px rgba(30,56,114,0.28);
    transition: opacity .2s, transform .2s;
    width: 100%;
    justify-content: center;
    margin-top: 4px;
}
.btn-submit:hover  { opacity: 0.9; transform: translateY(-2px); }
.btn-submit:active { transform: translateY(0); }

@media (max-width: 960px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 540px) {
    .contact-form-box { padding: 22px; }
}

/* ══════════════════════════════════════════
   CTA STRIP
══════════════════════════════════════════ */
.cta-strip { background: var(--gradient); padding: 72px 0; }
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.cta-text h2 {
    font-size: clamp(20px,3vw,30px);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}
.cta-text p  { font-size: 14px; color: rgba(255,255,255,0.75); }
.cta-actions { display: flex; gap: 12px; flex-shrink: 0; }

.btn-cta-primary {
    background: #ffffff;
    color: var(--primary);
    border: 2px solid #ffffff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    transition: background .2s;
}
.btn-cta-primary:hover { background: var(--bg-soft); }

.btn-cta-ghost {
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.45);
    background: transparent;
    transition: background .2s, border-color .2s;
}
.btn-cta-ghost:hover {
    background: rgba(255,255,255,0.12);
    border-color: #ffffff;
}

@media (max-width: 768px) {
    .cta-inner   { flex-direction: column; text-align: center; }
    .cta-actions { flex-direction: column; align-items: center; width: 100%; }
    .cta-actions .btn { min-width: 200px; justify-content: center; }
}

/* ══════════════════════════════════════════
   CONTACT RESPONSE MODAL
══════════════════════════════════════════ */

.contact-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.contact-modal-box {
    background: var(--bg-soft);
    border-radius: var(--r-xl);
    padding: 44px 40px 36px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.contact-modal-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
}

/* Dynamic colors by modal type */
.success .contact-modal-icon {
    background: rgba(34,197,94,0.12);
}
.success .contact-modal-icon i {
    color: #22c55e;
}

.duplicate .contact-modal-icon {
    background: rgba(245,158,11,0.12);
}
.duplicate .contact-modal-icon i {
    color: #f59e0b;
}

.error .contact-modal-icon {
    background: rgba(229,62,62,0.12);
}
.error .contact-modal-icon i {
    color: #e53e3e;
}

.contact-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.contact-modal-msg {
    font-size: 13px;
    color: var(--text-sec);
    line-height: 1.75;
    margin-bottom: 28px;
}

.contact-modal-btn {
    width: 100% !important;
    justify-content: center !important;
}

.contact-modal-ref {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 16px;
}
