/* ============================================================
   THE ZAMAR PROMISE — Homepage identity values section
   Premium dark-scheme design with gold accents
   ============================================================ */

/* ── Section wrapper ── */
.zamar-promise-section {
    background: var(--neutral-900);
    padding: 5rem 0 5.5rem;
    position: relative;
    overflow: hidden;
}

/* Subtle texture overlay */
.zamar-promise-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: 
        radial-gradient(circle at top left, rgba(143, 156, 104, 0.08), transparent 50%),
        radial-gradient(circle at bottom right, rgba(143, 156, 104, 0.05), transparent 50%);
}

/* Decorative top border line */
.zamar-promise-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--gold-medium) 30%, var(--gold-light) 50%, var(--gold-medium) 70%, transparent 100%);
}

/* ── Section header ── */
.zamar-promise-section .section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 1;
}

/* Gold eyebrow label above the title */
.promise-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--neutral-900);
    background: var(--gold-medium);
    border: 1px solid var(--gold-medium);
    border-radius: 999px;
    padding: 0.35rem 1rem;
    margin-bottom: 1rem;
}

.zamar-promise-section .section-title {
    color: var(--brand-white);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}

/* Gold underline accent under the title */
.zamar-promise-section .section-title::after {
    content: '';
    display: block;
    width: 64px;
    height: 3px;
    background: var(--gold-medium);
    border-radius: 99px;
    margin: 0.75rem auto 0;
}

.zamar-promise-section .section-subtitle {
    color: var(--neutral-200);
    font-size: 1.05rem;
    font-style: italic;
    letter-spacing: 0.02em;
    max-width: 480px;
    margin: 0 auto;
}

/* ── Grid ── */
.promise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

/* ── Card ── */
.promise-card {
    background: var(--neutral-800);
    border: 1px solid var(--neutral-700);
    border-radius: 1.25rem;
    padding: 2rem 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: background 0.28s ease, border-color 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.promise-card:hover {
    background: var(--neutral-700);
    border-color: var(--gold-medium);
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.5);
}

/* ── Icon ── */
.promise-icon {
    width: 56px;
    height: 56px;
    background: var(--gold-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.promise-card:hover .promise-icon {
    transform: scale(1.08);
    background: var(--gold-medium);
    color: var(--brand-white);
}

/* ── Card heading ── */
.promise-card h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold-light);
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

/* ── Card body ── */
.promise-card p {
    font-size: 1rem;
    color: var(--neutral-100);
    line-height: 1.6;
    margin: 0;
}

/* ── Accessibility Note ── */
.promise-accessible-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--neutral-300);
    margin: 3rem auto 0;
    max-width: 800px;
    padding-top: 2rem;
    border-top: 1px solid var(--neutral-700);
    display: flex;
    align-items: start;
    justify-content: center;
    gap: 0.75rem;
    line-height: 1.6;
}

.promise-accessible-note i {
    color: var(--gold-medium);
    font-size: 1.2rem;
    margin-top: 0.15rem;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .promise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .zamar-promise-section {
        padding: 3.5rem 0 4rem;
    }

    .promise-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .promise-card {
        padding: 1.5rem;
    }

    .zamar-promise-section .section-title {
        font-size: 1.75rem;
    }
}
