/* ============================================================
   Jules Values Section – Elementor Widget Stylesheet
   jules-values.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400&family=Raleway:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ── */
.jules-values {
    --jv-teal:       #2a8080;
    --jv-gold:       #c9a227;
    --jv-title:      #1e2a4a;
    --jv-card-bg:    #f5f0ea;
    --jv-value-name: #2a8080;
    --jv-value-desc: #5a6478;
}

/* ── Section wrapper ── */
.jules-values {
    background-color: #ffffff;
    padding: 80px 80px 100px;
    box-sizing: border-box;
    font-family: 'Raleway', sans-serif;
    width: 100%;
}

/* ── Header ── */
.jv-header {
    text-align: center;
    margin-bottom: 52px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Badge */
.jv-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--jv-teal);
    margin-bottom: 20px;
}

.jv-badge-line {
    display: block;
    width: 36px;
    height: 1px;
    background: var(--jv-gold);
    opacity: 0.7;
}

/* Section title */
.jv-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(36px, 5vw, 68px);
    font-weight: 400;
    color: var(--jv-title);
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.015em;
}

/* ── Grid ── */
.jv-grid {
    display: grid;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Column classes */
.jules-values.jv-cols-2 .jv-grid { grid-template-columns: repeat(2, 1fr); }
.jules-values.jv-cols-3 .jv-grid { grid-template-columns: repeat(3, 1fr); }
.jules-values.jv-cols-4 .jv-grid { grid-template-columns: repeat(4, 1fr); }

/* ── Card ── */
.jv-card {
    background: var(--jv-card-bg);
    border-radius: 18px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}

.jv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(30, 42, 74, 0.08);
}

/* ── Number ── */
.jv-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 300;
    color: var(--jv-gold);
    opacity: 0.35;
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    display: block;
    user-select: none;
}

/* ── Value name ── */
.jv-value-name {
    font-family: 'Raleway', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--jv-value-name);
    margin: 0 0 20px;
    line-height: 1.4;
}

/* ── Value description ── */
.jv-value-desc {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    color: var(--jv-value-desc);
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 1200px) {
    .jules-values {
        padding: 60px 48px 80px;
    }
}

@media (max-width: 1024px) {
    .jules-values.jv-cols-4 .jv-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .jules-values.jv-cols-3 .jv-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .jules-values {
        padding: 48px 32px 64px;
    }

    .jv-section-title {
        font-size: 36px;
    }

    .jules-values.jv-cols-2 .jv-grid,
    .jules-values.jv-cols-3 .jv-grid,
    .jules-values.jv-cols-4 .jv-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .jv-card {
        padding: 28px 20px;
    }
}

@media (max-width: 520px) {
    .jules-values {
        padding: 40px 20px 56px;
    }

    .jules-values.jv-cols-2 .jv-grid,
    .jules-values.jv-cols-3 .jv-grid,
    .jules-values.jv-cols-4 .jv-grid {
        grid-template-columns: 1fr;
    }

    .jv-number {
        font-size: 48px;
    }
}
