/* Services page — Aluli Zanzibar */
.services-page {
    --service-ink: #202D38;
    --service-muted: #607078;
    --service-teal: #9A5200;
    --service-teal-dark: #202D38;
    --service-coral: #F5A238;
    --service-sand: #F3EBDD;
    --service-line: rgba(32, 45, 56, .12);
}

.services-hero-copy {
    width: 100%;
    max-width: 820px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.services-hero-copy h1 {
    margin-bottom: 14px;
    font-size: clamp(2.45rem, 6vw, 4.5rem);
    line-height: 1.04;
    text-transform: none !important;
}

.services-hero-copy > p {
    max-width: 670px;
    margin: 0 auto 22px;
    color: rgba(255, 255, 255, .88);
    font-size: 1.05rem;
    line-height: 1.7;
}

.services-intro {
    padding: 92px 0 76px;
    background: #fff;
}

.services-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    gap: clamp(44px, 7vw, 88px);
    align-items: center;
}

.services-intro-image {
    position: relative;
    min-height: 540px;
}

.services-intro-image::before {
    content: "";
    position: absolute;
    top: -18px;
    left: -18px;
    width: 48%;
    height: 45%;
    border-radius: 20px 0 0;
    background: var(--service-sand);
}

.services-intro-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 24px 65px rgba(32, 45, 56, .16);
}

.services-image-note {
    position: absolute;
    right: -24px;
    bottom: 30px;
    max-width: 220px;
    padding: 20px;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(135deg, var(--service-teal), var(--service-teal-dark));
    box-shadow: 0 15px 38px rgba(245, 162, 56, .28);
}

.services-image-note i {
    margin-right: 8px;
    color: #FFD58A;
}

.services-image-note strong {
    display: block;
    margin-bottom: 5px;
}

.services-image-note small {
    color: rgba(255, 255, 255, .74);
    line-height: 1.45;
}

.services-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 15px;
    color: var(--service-teal);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.services-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--service-coral);
}

.services-intro-copy h2,
.services-heading h2 {
    margin: 0 0 20px;
    color: var(--service-ink);
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.1;
}

.services-intro-copy p,
.services-heading p {
    color: var(--service-muted);
    line-height: 1.8;
}

.services-intro-copy .services-lead {
    color: var(--service-ink);
    font-size: 1.08rem;
    font-weight: 500;
}

.services-intro-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin: 28px 0 31px;
}

.services-intro-point {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--service-ink);
    font-size: .9rem;
    font-weight: 700;
}

.services-intro-point i {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    border-radius: 50%;
    color: var(--service-teal);
    background: rgba(245, 162, 56, .1);
    font-size: .72rem;
}

.services-intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.services-intro-actions .btn {
    padding: 13px 22px;
    border-radius: 9px;
    font-weight: 700;
}

.services-grid-section {
    padding: 82px 0 96px;
    background: var(--service-sand);
}

.services-heading {
    max-width: 730px;
    margin: 0 auto 44px;
    text-align: center;
}

.services-heading .services-eyebrow::before {
    display: none;
}

.services-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.services-card {
    position: relative;
    overflow: hidden;
    padding: 30px 27px 27px;
    border: 1px solid var(--service-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 38px rgba(32, 45, 56, .06);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.services-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--service-teal), #C96B12);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.services-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 162, 56, .24);
    box-shadow: 0 20px 50px rgba(32, 45, 56, .11);
}

.services-card:hover::after {
    transform: scaleX(1);
}

.services-card-icon {
    display: grid;
    width: 56px;
    height: 56px;
    margin-bottom: 21px;
    place-items: center;
    border-radius: 15px;
    color: #fff;
    background: var(--service-teal);
    font-size: 1.28rem;
}

.services-card h3 {
    margin-bottom: 10px;
    color: var(--service-ink);
    font-size: 1.12rem;
}

.services-card p {
    margin: 0 0 18px;
    color: var(--service-muted);
    font-size: .91rem;
    line-height: 1.68;
}

.services-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--service-teal);
    font-size: .86rem;
    font-weight: 800;
}

.services-process {
    position: relative;
    overflow: hidden;
    padding: 94px 0;
    color: #fff;
    background: linear-gradient(135deg, #202D38 0%, #202D38 100%);
}

.services-process .services-heading h2,
.services-process .services-heading p {
    color: #fff;
}

.services-process .services-heading p {
    color: rgba(255, 255, 255, .72);
}

.services-process .services-eyebrow {
    color: #FFD58A;
}

.services-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px;
    counter-reset: service-step;
}

.services-step {
    position: relative;
    padding: 3px 10px 0 78px;
    counter-increment: service-step;
}

.services-step::before {
    content: "0" counter(service-step);
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid rgba(255, 213, 138, .32);
    border-radius: 50%;
    color: #FFD58A;
    font-weight: 800;
}

.services-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 29px;
    right: -22px;
    width: 45px;
    border-top: 1px dashed rgba(255, 255, 255, .28);
}

.services-step h3 {
    margin: 0 0 9px;
    color: #fff;
    font-size: 1.1rem;
}

.services-step p {
    margin: 0;
    color: rgba(255, 255, 255, .68);
    font-size: .9rem;
    line-height: 1.65;
}

.services-pathways {
    padding: 94px 0 104px;
    background: #fff;
}

.services-pathway-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.services-pathway {
    position: relative;
    min-height: 410px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(32, 45, 56, .15);
}

.services-pathway img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.services-pathway::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 28, 36, .12) 12%, rgba(12, 28, 36, .72) 56%, rgba(12, 28, 36, .97) 100%);
}

.services-pathway:hover img {
    transform: scale(1.05);
}

.services-pathway-content {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 27px;
}

.services-page .services-pathway-content h3 {
    margin: 0 0 9px;
    color: #fff !important;
    font-size: 1.35rem;
}

.services-page .services-pathway-content p {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, .94) !important;
    font-size: .88rem;
    line-height: 1.6;
}

.services-page .services-pathway-content a,
.services-page .services-pathway-content a:visited {
    color: #fff !important;
    font-weight: 700;
}

.services-page .services-pathway-content a:hover,
.services-page .services-pathway-content a:focus {
    color: #fff !important;
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 991.98px) {
    .services-intro-grid { grid-template-columns: 1fr; }
    .services-intro-image { min-height: 500px; max-width: 720px; }
    .services-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .services-process-grid { gap: 22px; }
    .services-step { padding-left: 66px; }
    .services-step:not(:last-child)::after { display: none; }
}

@media (max-width: 767.98px) {
    .services-intro, .services-grid-section, .services-process, .services-pathways { padding: 60px 0; }
    .services-intro-image { min-height: 410px; }
    .services-image-note { right: 14px; bottom: 16px; }
    .services-card-grid, .services-process-grid, .services-pathway-grid { grid-template-columns: 1fr; }
    .services-pathway { min-height: 380px; }
}

@media (max-width: 480px) {
    .services-intro-image { min-height: 350px; }
    .services-intro-points { grid-template-columns: 1fr; }
    .services-intro-actions { flex-direction: column; }
    .services-intro-actions .btn { width: 100%; }
    .services-image-note { max-width: 185px; padding: 15px; }
}
