/*
 * Kuri Hotel — Services Section
 * Matches site visual language exactly.
 */

/* ── Outer wrapper ───────────────────────────────────────────── */
.kuri-services-section {
    width: 100%;
    box-sizing: border-box;
    background-color: #FFFFFF;
    background-image: url('assets/img/index/background-gray.jpg');
    background-position: top right;
    background-repeat: no-repeat;
    background-size: 55% auto;
    /* Reduced top padding — was 100px, pulled in to close gap with section above */
    padding-top: 40px;
    padding-bottom: 80px;
    /* Constrained horizontal margins — leaves breathing room either side */
    padding-left: 13%;
    padding-right: 13%;
}

/* ── Header block ────────────────────────────────────────────── */
.kuri-services-header {
    text-align: center;
    margin-bottom: 60px;
}

/*
 * Title uses the exact same styling as "Where Kampala meets the canopy."
 * which is .elementor-kit-15 h1 — utile-display, primary typography values,
 * color: var(--e-global-color-secondary, #06252C)
 */
.kuri-services-title {
    font-family: 'utile-display', Sans-serif;
    font-size: 46px;
    font-weight: 400;
    line-height: 0.9em;
    letter-spacing: -0.7px;
    text-transform: capitalize;
    color: var(--e-global-color-secondary, #06252C);
    margin: 0 0 28px 0;
}

/* Eyebrow — matches secondary typography (h3 in kit) */
.kuri-services-eyebrow {
    font-family: 'utile-display', Sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 6.2px;
    color: var(--e-global-color-secondary, #06252C);
    margin: 0 0 16px 0;
    line-height: 1.4em;
}

.kuri-services-intro {
    font-family: 'Lato', Sans-serif;
    font-size: 17px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.7em;
    color: var(--e-global-color-text, #7A7A7A);
    margin: 0;
}

.kuri-services-rule {
    border: none;
    border-top: 1px dotted rgba(201, 136, 51, 0.5);
    margin: 28px auto 0 auto;
    max-width: 400px;
}

/* ── Services grid ───────────────────────────────────────────── */
.kuri-services-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid rgba(6, 37, 44, 0.1);
    border-left: 1px solid rgba(6, 37, 44, 0.1);
}

/* ── Card ────────────────────────────────────────────────────── */
.kuri-service-item {
    padding: 40px 28px 36px 28px;
    border-right: 1px solid rgba(6, 37, 44, 0.1);
    border-bottom: 1px solid rgba(6, 37, 44, 0.1);
    position: relative;
    transition: background-color 0.25s ease;
    /* Centre all content */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.kuri-service-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 28px;
    right: 28px;
    height: 2px;
    background: linear-gradient(90deg, #C98833, #D1B751);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.kuri-service-item:hover {
    background-color: rgba(6, 37, 44, 0.02);
}

.kuri-service-item:hover::after {
    opacity: 1;
}

/* ── Icon ────────────────────────────────────────────────────── */
.kuri-service-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 18px;
    color: #C98833;
    display: block;
    flex-shrink: 0;
}

.kuri-service-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    display: block;
}

/* ── Name ────────────────────────────────────────────────────── */
.kuri-service-name {
    font-family: 'utile-display', Sans-serif;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.7px;
    color: var(--e-global-color-secondary, #06252C);
    margin: 0 0 10px 0;
    line-height: 1.4em;
}

/* ── Detail ──────────────────────────────────────────────────── */
.kuri-service-detail {
    font-family: 'Lato', Sans-serif;
    font-size: 14px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.7em;
    color: var(--e-global-color-text, #7A7A7A);
    margin: 0;
}

/* ── Tablet (≤1024px) ────────────────────────────────────────── */
@media (max-width: 1024px) {
    .kuri-services-section {
        padding-top: 40px;
        padding-bottom: 60px;
        padding-left: 8%;
        padding-right: 8%;
        background-size: 180% auto;
    }

    .kuri-services-title {
        font-size: 38px;
        letter-spacing: -0.5px;
    }

    .kuri-services-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Mobile (≤767px) ─────────────────────────────────────────── */
@media (max-width: 767px) {
    .kuri-services-section {
        padding-top: 40px;
        padding-bottom: 50px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .kuri-services-title {
        font-size: 33px;
        line-height: 1.0em;
        letter-spacing: -0.6px;
    }

    .kuri-services-list {
        grid-template-columns: 1fr 1fr;
    }

    .kuri-service-item {
        padding: 28px 16px 26px 16px;
    }

    /* Hide detail text on mobile — show only icon + name */
    .kuri-service-detail {
        display: none;
    }

    /* Remove bottom margin from name since detail is gone */
    .kuri-service-name {
        margin-bottom: 0;
    }
}

/* Make dining checkbox take its own line on larger screens for clearer separation */
@media (min-width: 768px) {
    .kuri-dining-break {
        width: 100% !important;
        display: block !important;
        margin-bottom: 12px !important;
    }
    .kuri-dining-break .elementor-field-label {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }
}