/* ─────────────────────────────────────────
   Contact Page Styles — Redesigned
───────────────────────────────────────── */

/* ── Page wrapper ── */
.contact-page {
    min-height: 100vh;
    background: var(--color-bg-light);
}

/* ── Hero strip ── */
.contact-hero-strip {
    padding: 9rem 0 0;
    background: var(--color-bg-light);
    position: relative;
    overflow: hidden;
}

.contact-hero-strip::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(27,90,69,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-hero-text {
    max-width: 640px;
    padding-bottom: 3rem;
}

.contact-hero-text .tag {
    margin-bottom: 1.25rem;
}

.contact-hero-text h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.1rem;
    color: var(--color-text-main);
}

.contact-hero-text p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.7;
    max-width: 520px;
}

/* ── Main content grid ── */
.contact-body {
    padding: 0 0 6rem;
    background: var(--color-bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* ── Form Card ── */
.contact-form-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 28px;
    padding: 2.75rem;
    box-shadow: 0 4px 40px rgba(0,0,0,0.05);
}

.form-section-label {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 0.4rem;
}

.form-section-sub {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    letter-spacing: 0.01em;
}

.input-modern {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--color-bg-gray);
    border: 1.5px solid transparent;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-main);
    transition: all 0.25s ease;
    appearance: none;
    -webkit-appearance: none;
}

.input-modern::placeholder { color: #aaa; }

.input-modern:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(27,90,69,0.07);
}

select.input-modern {
    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 d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

textarea.input-modern {
    min-height: 130px;
    resize: vertical;
    line-height: 1.6;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 14px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.25s ease;
    margin-top: 0.5rem;
}

.btn-submit:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(27,90,69,0.2);
}

.btn-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* ── Right Panel ── */
.contact-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ── Contact Info Items ── */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    transition: all 0.25s ease;
}

.info-item:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(27,90,69,0.07);
    transform: translateX(4px);
}

.info-icon {
    width: 44px;
    height: 44px;
    background: rgba(27,90,69,0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--color-primary);
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 0.2rem;
    font-family: var(--font-heading);
}

.info-text p {
    color: var(--color-text-light);
    font-size: 0.875rem;
    line-height: 1.5;
}

.info-text .info-meta {
    font-size: 0.775rem;
    opacity: 0.65;
    margin-top: 0.15rem;
}

/* ── Visual Card (replaces missing image) ── */
.contact-visual-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, #0f3d2e 100%);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-visual-card::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 220px; height: 220px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}

.contact-visual-card::after {
    content: '';
    position: absolute;
    bottom: -40px; left: -40px;
    width: 180px; height: 180px;
    background: rgba(253,107,86,0.1);
    border-radius: 50%;
}

.cvc-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    border-radius: inherit;
}

.cvc-top {
    position: relative;
    z-index: 1;
}

.cvc-top h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.cvc-top p {
    color: rgba(255,255,255,0.65);
    font-size: 0.875rem;
    line-height: 1.5;
}

.cvc-stats {
    display: flex;
    gap: 1rem;
    position: relative;
    z-index: 1;
    margin-top: 1.5rem;
}

.cvc-stat {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 0.75rem 1.1rem;
    flex: 1;
    text-align: center;
}

.cvc-stat .num {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1;
}

.cvc-stat .num span {
    color: var(--color-accent);
}

.cvc-stat .lbl {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.6);
    margin-top: 0.3rem;
    line-height: 1.3;
}

.cvc-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: 50px;
    padding: 0.65rem 1.3rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    position: relative;
    z-index: 1;
    margin-top: 1.5rem;
    width: fit-content;
    transition: all 0.25s ease;
}

.cvc-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(253,107,86,0.35);
}

.cvc-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.8);
    animation: pulse-cvc 1.5s ease-in-out infinite;
}
@keyframes pulse-cvc {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.6); }
}

/* ── Responsive ── */
@media (max-width: 960px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-right {
        order: -1;
    }
}

@media (max-width: 600px) {
    .contact-form-card {
        padding: 1.75rem;
        border-radius: 20px;
    }

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

    .contact-hero-strip {
        padding-top: 7rem;
    }
}
