/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@500;600;700&family=DM+Sans:wght@300;400;500&display=swap');

/* ══════════════════════════════
   CONTACT PAGE — BASE
══════════════════════════════ */

.cp-page {
    font-family: 'DM Sans', sans-serif;
    background: #f7f5f2;
    min-height: 80vh;
    padding: 36px 24px 60px;
}

/* ══════════════════════════════
   HEADER
══════════════════════════════ */

.cp-header {
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid #ebe8e3;
}

.cp-header h1 {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.01em;
    margin: 0;
}

.cp-header p {
    font-size: 0.8rem;
    color: #b0a89c;
    margin: 4px 0 0;
}

/* ══════════════════════════════
   GRID
══════════════════════════════ */

.cp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

/* ══════════════════════════════
   CARD
══════════════════════════════ */

.cp-card {
    background: #fff;
    border: 1px solid #ebe8e3;
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.cp-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.cp-card-header {
    padding: 18px 20px 14px;
    border-bottom: 1px solid #f2f0ec;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cp-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.icon-form { background: #fdf3f3; color: #d94f4f; }
.icon-map  { background: #f2f0ec; color: #1a1a1a; }

.cp-card-title {
    font-family: 'Syne', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.02em;
}

.cp-card-body {
    padding: 20px;
}

/* ══════════════════════════════
   FORM OVERRIDES
   (Django renders form.as_p — target p and its children)
══════════════════════════════ */

.cp-card-body form p {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 14px;
}

.cp-card-body form label {
    font-family: 'Syne', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #b0a89c;
}

.cp-card-body form input,
.cp-card-body form textarea,
.cp-card-body form select {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.875rem;
    color: #1a1a1a;
    background: #fff;
    border: 1px solid #e0ddd8;
    border-radius: 8px;
    padding: 10px 13px;
    width: 100%;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cp-card-body form input:focus,
.cp-card-body form textarea:focus,
.cp-card-body form select:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.06);
}

.cp-card-body form input::placeholder,
.cp-card-body form textarea::placeholder {
    color: #c0b8b0;
}

.cp-card-body form textarea {
    height: 120px;
    resize: vertical;
}

/* ══════════════════════════════
   SUBMIT BUTTON
══════════════════════════════ */

.cp-btn {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 11px 24px;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    background: #1a1a1a;
    color: #fff;
    width: 100%;
    transition: opacity 0.18s ease;
    margin-top: 4px;
}

.cp-btn:hover { opacity: 0.8; }

/* ══════════════════════════════
   LOCATION INFO STRIP
══════════════════════════════ */

.cp-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: 1px solid #f2f0ec;
}

.cp-info-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.cp-info-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d94f4f;
    margin-top: 5px;
    flex-shrink: 0;
}

.cp-info-text p {
    font-size: 0.7rem;
    color: #b0a89c;
    font-family: 'Syne', sans-serif;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 2px;
}

.cp-info-text span {
    font-size: 0.82rem;
    color: #1a1a1a;
    line-height: 1.4;
}

/* ══════════════════════════════
   MAP
══════════════════════════════ */

.cp-map-wrap {
    overflow: hidden;
}

.cp-map-wrap iframe {
    width: 100%;
    height: 340px;
    display: block;
    border: none;
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */

@media (max-width: 768px) {
    .cp-grid {
        grid-template-columns: 1fr;
    }

    .cp-page {
        padding: 24px 16px 40px;
    }

    .cp-info {
        grid-template-columns: 1fr;
    }
}