/* ============================================================
   Jules Services Section – Elementor Widget Stylesheet
   jules-services.css
   ============================================================ */

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

/* ── CSS Variables ── */
.jules-services {
    --js-card-bg:     #f2ede8;
    --js-teal:        #2a8080;
    --js-gold:        #c9a227;
    --js-title:       #1e2a4a;
    --js-card-title:  #2a3550;
    --js-card-body:   #5a6478;
    --js-link:        #c9a227;
}

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

/* ── Header ── */
.js-header {
    text-align: center;
    margin-bottom: 56px;
}

/* Badge */
.js-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--js-teal);
    margin-bottom: 20px;
}

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

/* Divider */
.js-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.js-divider-line {
    display: block;
    width: 80px;
    height: 1px;
    background: var(--js-gold);
    opacity: 0.5;
}

.js-divider-diamond {
    font-size: 10px;
    color: var(--js-gold);
    line-height: 1;
}

/* Section Title */
.js-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 600;
    color: var(--js-title);
    margin: 0 0 16px;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

/* Section Subtitle */
.js-section-subtitle {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--js-card-body);
    margin: 0;
    letter-spacing: 0.01em;
}

/* ── Grid ── */
.js-grid {
    display: grid;
    gap: 24px;
    width: 100%;
}

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

/* ── Card ── */
.js-card {
    background: var(--js-card-bg);
    border-radius: 20px;
    padding: 36px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
}

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

/* ── Icon wrap ── */
.js-card-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    flex-shrink: 0;
    overflow: hidden;
}

.js-card-img-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

/* Elementor icon element inside wrap */
.js-card-icon-wrap .elementor-icon,
.js-card-icon-wrap i,
.js-card-icon-wrap svg {
    font-size: 28px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Card content ── */
.js-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.js-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 600;
    color: var(--js-card-title);
    margin: 0 0 14px;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.js-card-desc {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.75;
    color: var(--js-card-body);
    margin: 0 0 28px;
    flex: 1;
}

/* ── Card link ── */
.js-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Raleway', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--js-link);
    text-decoration: none;
    transition: gap 0.2s ease, opacity 0.2s ease;
    margin-top: auto;
}

.js-card-link:hover {
    gap: 14px;
    opacity: 0.8;
    text-decoration: none;
    color: var(--js-link);
}

.js-card-link-arrow {
    font-size: 14px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.js-card-link:hover .js-card-link-arrow {
    transform: translateX(4px);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .jules-services {
        padding: 60px 48px 80px;
    }
    .js-cols-4 { grid-template-columns: repeat(2, 1fr); }
}

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

@media (max-width: 768px) {
    .jules-services {
        padding: 48px 32px 64px;
    }
    .js-cols-2,
    .js-cols-3,
    .js-cols-4 {
        grid-template-columns: 1fr;
    }
    .js-section-title {
        font-size: 32px;
    }
    .js-card {
        padding: 28px 24px 24px;
    }
}

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