/* =========================================================
   RAHEJA PROPERTIES — SERVICES PAGE
   Premium Responsive Services Experience
========================================================= */

.services-page{
    --service-ivory:#fcfaf6;
    --service-ink:#26231f;
    --service-orange:#f47716;
    --service-line:rgba(38,35,31,.14);
    --service-muted:rgba(38,35,31,.66);
    background:var(--service-ivory);
    color:var(--service-ink);
}

.services-page main{overflow:hidden}
.services-page main a{color:inherit}
.services-container{
    width:min(calc(100% - 110px),1420px);
    margin:0 auto;
}

/* =========================================================
   REVEAL ANIMATION
========================================================= */

.services-page .reveal{
    opacity:0;
    transform:translateY(28px);
    transition:
        opacity .8s cubic-bezier(.2,.7,.2,1),
        transform .8s cubic-bezier(.2,.7,.2,1);
}

.services-page .reveal.is-visible{
    opacity:1;
    transform:translateY(0);
}

/* =========================================================
   HERO
========================================================= */

.services-hero{
    position:relative;
    min-height:720px;
    padding:155px 0 90px;
    display:flex;
    align-items:center;
    overflow:hidden;
    isolation:isolate;
    border-bottom:1px solid var(--service-line);
    background:
        radial-gradient(
            circle at 82% 20%,
            rgba(244,119,22,.13),
            transparent 27%
        ),
        linear-gradient(
            135deg,
            #fcfaf6 0%,
            #f6f0e7 58%,
            #eee4d7 100%
        );
}

.services-hero-grid{
    position:absolute;
    inset:0;
    z-index:-4;
    opacity:.43;
    background-image:
        linear-gradient(
            rgba(38,35,31,.05) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(38,35,31,.05) 1px,
            transparent 1px
        );
    background-size:86px 86px;
    mask-image:linear-gradient(
        to right,
        #000 0%,
        rgba(0,0,0,.65) 62%,
        transparent 100%
    );
}

.services-hero-shape{
    position:absolute;
    width:570px;
    height:760px;
    right:7%;
    top:-105px;
    z-index:-3;
    border:1px solid rgba(38,35,31,.10);
    background:rgba(255,255,255,.12);
    transform:rotate(16deg);
}

.services-orbit{
    position:absolute;
    z-index:-2;
    border:1px solid rgba(244,119,22,.18);
    border-radius:50%;
    pointer-events:none;
}

.services-hero .orbit-one{
    width:430px;
    height:430px;
    right:-190px;
    top:-180px;
}

.services-hero .orbit-two{
    width:235px;
    height:235px;
    right:-80px;
    top:-78px;
}

.services-hero-container{
    display:grid;
    grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);
    gap:95px;
    align-items:end;
}

.services-eyebrow{
    display:flex;
    align-items:center;
    gap:13px;
    margin-bottom:26px;
    font-size:10px;
    font-weight:700;
    letter-spacing:2.2px;
}

.services-eyebrow span{
    width:32px;
    height:1px;
    background:var(--service-orange);
}

.services-hero-copy{
    max-width:900px;
}

.services-hero-copy h1{
    margin:0;
    font-family:"Playfair Display",Georgia,serif;
    font-size:clamp(65px,6.4vw,105px);
    line-height:.91;
    font-weight:500;
    letter-spacing:-4px;
}

.services-hero-copy h1 em{
    color:var(--service-orange);
    font-weight:500;
}

.services-hero-copy>p{
    max-width:690px;
    margin:32px 0 0;
    color:var(--service-muted);
    font-size:16px;
    line-height:1.8;
}

.services-hero-side{
    max-width:350px;
    padding:0 0 10px 32px;
    border-left:1px solid rgba(38,35,31,.18);
}

.services-side-index{
    display:block;
    margin-bottom:20px;
    color:var(--service-orange);
    font-size:10px;
    font-weight:700;
    letter-spacing:1.8px;
}

.services-hero-side p{
    margin:0;
    color:var(--service-muted);
    font-size:14px;
    line-height:1.75;
}

.services-scroll-link{
    margin-top:27px;
    padding:12px 0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    border-top:1px solid var(--service-line);
    border-bottom:1px solid var(--service-line);
    font-size:12px;
    font-weight:700;
    text-decoration:none;
}

.services-scroll-link strong{
    color:var(--service-orange);
    font-size:18px;
    transition:transform .3s ease;
}

.services-scroll-link:hover strong{
    transform:translateY(5px);
}

.services-hero-word{
    position:absolute;
    right:-25px;
    bottom:-16px;
    z-index:-1;
    color:rgba(38,35,31,.027);
    font-family:"Playfair Display",Georgia,serif;
    font-size:clamp(105px,14vw,225px);
    line-height:.7;
    font-weight:600;
    letter-spacing:-9px;
    white-space:nowrap;
    pointer-events:none;
    user-select:none;
}

/* =========================================================
   INTRO
========================================================= */

.services-intro{
    padding:140px 0;
    background:#fff;
}

.services-intro-grid{
    display:grid;
    grid-template-columns:130px minmax(350px,1.1fr) minmax(300px,.9fr);
    gap:55px;
    align-items:start;
}

.services-intro-index span{
    display:block;
    color:var(--service-orange);
    font-size:11px;
    font-weight:700;
    letter-spacing:2px;
}

.services-intro-index small{
    display:block;
    margin-top:14px;
    color:rgba(38,35,31,.48);
    font-size:8px;
    font-weight:700;
    letter-spacing:1.6px;
}

.services-intro-heading h2{
    margin:0;
    font-family:"Playfair Display",Georgia,serif;
    font-size:clamp(50px,4.8vw,78px);
    line-height:.98;
    font-weight:500;
    letter-spacing:-3px;
}

.services-intro-heading h2 em{
    color:var(--service-orange);
    font-weight:500;
}

.services-intro-copy{
    max-width:520px;
    padding-top:5px;
}

.services-intro-copy p{
    margin:0 0 22px;
    color:var(--service-muted);
    font-size:15px;
    line-height:1.82;
}

.services-intro-copy .services-intro-lead{
    color:var(--service-ink);
    font-family:"Playfair Display",Georgia,serif;
    font-size:23px;
    line-height:1.5;
}

/* =========================================================
   SECTION HEADING
========================================================= */

.services-section-heading{
    display:grid;
    grid-template-columns:minmax(0,1.25fr) minmax(280px,.55fr);
    gap:80px;
    align-items:end;
    padding-bottom:52px;
    border-bottom:1px solid var(--service-line);
}

.services-section-label{
    display:block;
    margin-bottom:22px;
    color:var(--service-orange);
    font-size:10px;
    font-weight:700;
    letter-spacing:2px;
}

.services-section-heading h2,
.services-categories-heading h2{
    margin:0;
    font-family:"Playfair Display",Georgia,serif;
    font-size:clamp(52px,5vw,80px);
    line-height:.96;
    font-weight:500;
    letter-spacing:-3px;
}

.services-section-heading h2 em,
.services-categories-heading h2 em{
    color:var(--service-orange);
    font-weight:500;
}

.services-section-heading>p{
    max-width:400px;
    margin:0 0 3px;
    color:var(--service-muted);
    font-size:14px;
    line-height:1.78;
}

/* =========================================================
   SERVICES LIST
========================================================= */

.services-list{
    padding:135px 0 145px;
    background:var(--service-ivory);
}

.service-rows{
    margin-top:45px;
    border-top:1px solid var(--service-line);
}

.service-row{
    position:relative;
    min-height:165px;
    display:grid;
    grid-template-columns:85px minmax(240px,.8fr) minmax(300px,1fr) 65px;
    gap:30px;
    align-items:center;
    border-bottom:1px solid var(--service-line);
    transition:
        background .35s ease,
        padding .35s ease;
}

.service-row::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    bottom:0;
    width:0;
    background:var(--service-orange);
    transition:width .35s ease;
}

.service-row:hover{
    padding-left:20px;
    background:#fff;
}

.service-row:hover::before{
    width:3px;
}

.service-number{
    color:var(--service-orange);
    font-size:10px;
    font-weight:700;
    letter-spacing:1.8px;
}

.service-title span{
    display:block;
    margin-bottom:9px;
    color:rgba(38,35,31,.43);
    font-size:8px;
    font-weight:700;
    letter-spacing:1.5px;
}

.service-title h3{
    margin:0;
    font-family:"Playfair Display",Georgia,serif;
    font-size:clamp(27px,2.5vw,39px);
    line-height:1.05;
    font-weight:500;
}

.service-description{
    max-width:500px;
}

.service-description p{
    margin:0 0 16px;
    color:var(--service-muted);
    font-size:13px;
    line-height:1.7;
}

.service-description a{
    display:inline-flex;
    align-items:center;
    gap:12px;
    padding-bottom:5px;
    border-bottom:1px solid rgba(38,35,31,.25);
    font-size:11px;
    font-weight:700;
    text-decoration:none;
}

.service-description a strong{
    color:var(--service-orange);
    font-size:14px;
    transition:transform .3s ease;
}

.service-description a:hover strong{
    transform:translate(3px,-3px);
}

.service-icon{
    width:43px;
    height:43px;
    display:flex;
    align-items:center;
    justify-content:center;
    justify-self:end;
    border:1px solid rgba(38,35,31,.20);
    border-radius:50%;
    color:var(--service-orange);
    font-size:17px;
    transition:.35s ease;
}

.service-row:hover .service-icon{
    background:var(--service-orange);
    border-color:var(--service-orange);
    color:#fff;
    transform:rotate(45deg);
}

/* =========================================================
   DARK STATEMENT
========================================================= */

.services-statement{
    position:relative;
    padding:120px 0 130px;
    overflow:hidden;
    background:var(--service-ink);
    color:#fff;
}

.services-statement-orbit{
    position:absolute;
    width:540px;
    height:540px;
    right:-240px;
    top:-260px;
    border:1px solid rgba(244,119,22,.17);
    border-radius:50%;
}

.services-statement-orbit::after{
    content:"";
    position:absolute;
    width:310px;
    height:310px;
    left:70px;
    top:70px;
    border:1px solid rgba(244,119,22,.12);
    border-radius:50%;
}

.services-statement-grid{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:70px 1.2fr .65fr;
    gap:55px;
    align-items:center;
}

.statement-index{
    align-self:start;
    padding-top:8px;
    color:var(--service-orange);
    font-size:10px;
    font-weight:700;
}

.statement-heading>span{
    display:block;
    margin-bottom:20px;
    color:rgba(255,255,255,.48);
    font-size:9px;
    font-weight:700;
    letter-spacing:1.8px;
}

.statement-heading h2{
    margin:0;
    font-family:"Playfair Display",Georgia,serif;
    font-size:clamp(52px,5vw,80px);
    line-height:.94;
    font-weight:500;
    letter-spacing:-3px;
}

.statement-heading h2 em{
    color:var(--service-orange);
    font-weight:500;
}

.statement-copy{
    max-width:410px;
    justify-self:end;
}

.statement-copy p{
    margin:0 0 28px;
    color:rgba(255,255,255,.67);
    font-size:14px;
    line-height:1.78;
}

.statement-link{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding-bottom:11px;
    border-bottom:1px solid rgba(255,255,255,.20);
    color:#fff;
    font-size:12px;
    font-weight:700;
    text-decoration:none;
}

.statement-link strong{
    color:var(--service-orange);
    font-size:17px;
    transition:transform .3s ease;
}

.statement-link:hover strong{
    transform:translate(4px,-4px);
}

.services-statement-word{
    position:absolute;
    left:5%;
    bottom:-22px;
    color:rgba(255,255,255,.025);
    font-family:"Playfair Display",Georgia,serif;
    font-size:clamp(100px,13vw,205px);
    line-height:.7;
    font-weight:600;
    letter-spacing:-8px;
    white-space:nowrap;
    pointer-events:none;
}

/* =========================================================
   PROCESS
========================================================= */

.services-process{
    padding:135px 0 150px;
    background:#fff;
}

.process-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    margin-top:58px;
}

.process-card{
    position:relative;
    min-height:390px;
    padding:30px 30px 36px;
    border-top:1px solid var(--service-line);
    border-bottom:1px solid var(--service-line);
    border-right:1px solid var(--service-line);
    transition:
        transform .35s ease,
        background .35s ease;
}

.process-card:first-child{
    border-left:1px solid var(--service-line);
}

.process-card:hover{
    transform:translateY(-7px);
    background:#faf7f2;
}

.process-number{
    color:var(--service-orange);
    font-family:"Playfair Display",Georgia,serif;
    font-size:31px;
    font-weight:500;
}

.process-line{
    width:100%;
    height:1px;
    margin:30px 0 60px;
    background:var(--service-line);
    position:relative;
}

.process-line::before{
    content:"";
    position:absolute;
    left:0;
    top:-4px;
    width:9px;
    height:9px;
    border-radius:50%;
    background:var(--service-orange);
}

.process-card small{
    display:block;
    margin-bottom:14px;
    color:rgba(38,35,31,.44);
    font-size:8px;
    font-weight:700;
    letter-spacing:1.6px;
}

.process-card h3{
    margin:0 0 17px;
    font-family:"Playfair Display",Georgia,serif;
    font-size:28px;
    line-height:1.08;
    font-weight:500;
}

.process-card p{
    margin:0;
    color:var(--service-muted);
    font-size:13px;
    line-height:1.72;
}

/* =========================================================
   CATEGORIES
========================================================= */

.services-categories{
    padding:130px 0 145px;
    background:#f2ebe1;
}

.services-categories-heading{
    max-width:850px;
}

.service-category-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    margin-top:55px;
}

.service-category{
    position:relative;
    min-height:350px;
    padding:32px 34px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    overflow:hidden;
    border-top:1px solid var(--service-line);
    border-right:1px solid var(--service-line);
    border-bottom:1px solid var(--service-line);
    text-decoration:none;
    transition:color .4s ease;
}

.service-category:first-child{
    border-left:1px solid var(--service-line);
}

.service-category::before{
    content:"";
    position:absolute;
    inset:100% 0 0;
    z-index:0;
    background:var(--service-ink);
    transition:inset .45s cubic-bezier(.2,.7,.2,1);
}

.service-category:hover::before{
    inset:0;
}

.service-category>*{
    position:relative;
    z-index:1;
}

.category-number{
    color:var(--service-orange);
    font-size:10px;
    font-weight:700;
    letter-spacing:2px;
}

.category-content small{
    display:block;
    margin-bottom:11px;
    color:rgba(38,35,31,.48);
    font-size:8px;
    font-weight:700;
    letter-spacing:1.7px;
}

.category-content h3{
    margin:0;
    font-family:"Playfair Display",Georgia,serif;
    font-size:clamp(37px,3.3vw,53px);
    line-height:1;
    font-weight:500;
}

.service-category>strong{
    position:absolute;
    right:30px;
    bottom:30px;
    width:44px;
    height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:var(--service-orange);
    color:#fff;
    font-size:17px;
    font-weight:400;
    transition:transform .3s ease;
}

.service-category:hover{
    color:#fff;
}

.service-category:hover .category-content small{
    color:rgba(255,255,255,.48);
}

.service-category:hover>strong{
    transform:rotate(45deg);
}

/* =========================================================
   FINAL CTA
========================================================= */

.services-cta{
    position:relative;
    padding:115px 0 125px;
    overflow:hidden;
    background:#e9dfd2;
}

.services-cta::after{
    content:"RAHEJA";
    position:absolute;
    right:-35px;
    bottom:-40px;
    color:rgba(38,35,31,.035);
    font-family:"Playfair Display",Georgia,serif;
    font-size:clamp(120px,18vw,285px);
    line-height:.7;
    font-weight:600;
    letter-spacing:-12px;
    pointer-events:none;
}

.services-cta-grid{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:75px 1.15fr .65fr;
    gap:55px;
    align-items:end;
}

.services-cta-index{
    align-self:start;
    padding-top:8px;
    color:var(--service-orange);
    font-size:10px;
    font-weight:700;
}

.services-cta-heading>span{
    display:block;
    margin-bottom:20px;
    color:rgba(38,35,31,.47);
    font-size:9px;
    font-weight:700;
    letter-spacing:1.8px;
}

.services-cta-heading h2{
    margin:0;
    font-family:"Playfair Display",Georgia,serif;
    font-size:clamp(52px,5vw,79px);
    line-height:.95;
    font-weight:500;
    letter-spacing:-3px;
}

.services-cta-heading h2 em{
    color:var(--service-orange);
    font-weight:500;
}

.services-cta-content{
    max-width:390px;
    justify-self:end;
}

.services-cta-content p{
    margin:0 0 27px;
    color:var(--service-muted);
    font-size:14px;
    line-height:1.78;
}

.services-cta-button{
    min-height:54px;
    padding:0 18px 0 21px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    border:1px solid rgba(38,35,31,.22);
    font-size:12px;
    font-weight:700;
    text-decoration:none;
    transition:.3s ease;
}

.services-cta-button strong{
    color:var(--service-orange);
    font-size:17px;
    font-weight:400;
    transition:transform .3s ease;
}

.services-cta-button:hover{
    border-color:var(--service-orange);
}

.services-cta-button:hover strong{
    transform:rotate(45deg);
}

/* =========================================================
   LAPTOP / SMALL DESKTOP
========================================================= */

@media(max-width:1100px){

    .services-container{
        width:calc(100% - 70px);
    }

    .services-hero{
        min-height:660px;
        padding-top:140px;
    }

    .services-hero-container{
        grid-template-columns:1.3fr .7fr;
        gap:55px;
    }

    .services-intro-grid{
        grid-template-columns:90px 1fr 1fr;
        gap:40px;
    }

    .service-row{
        grid-template-columns:65px .8fr 1fr 55px;
        gap:22px;
    }

    .process-card{
        padding:28px 23px 32px;
    }

    .process-card h3{
        font-size:25px;
    }

    .services-statement-grid,
    .services-cta-grid{
        grid-template-columns:60px 1.1fr .7fr;
        gap:40px;
    }
}

/* =========================================================
   TABLET
========================================================= */

@media(max-width:800px){

    .services-container{
        width:calc(100% - 44px);
    }

    .services-hero{
        min-height:auto;
        padding:135px 0 88px;
    }

    .services-hero-container{
        grid-template-columns:1fr;
        gap:48px;
    }

    .services-hero-copy h1{
        font-size:clamp(55px,10vw,78px);
        letter-spacing:-3px;
    }

    .services-hero-side{
        max-width:520px;
    }

    .services-hero-shape{
        width:430px;
        height:620px;
        right:-180px;
    }

    .services-intro{
        padding:105px 0;
    }

    .services-intro-grid{
        grid-template-columns:70px 1fr;
        gap:35px;
    }

    .services-intro-copy{
        grid-column:2;
    }

    .services-section-heading{
        grid-template-columns:1fr;
        gap:28px;
    }

    .services-section-heading>p{
        max-width:540px;
    }

    .services-list,
    .services-process,
    .services-categories{
        padding:105px 0 115px;
    }

    .service-row{
        padding:28px 0;
        grid-template-columns:55px 1fr 50px;
        min-height:auto;
    }

    .service-description{
        grid-column:2;
        max-width:600px;
    }

    .service-icon{
        grid-column:3;
        grid-row:1;
    }

    .services-statement{
        padding:100px 0 110px;
    }

    .services-statement-grid{
        grid-template-columns:55px 1fr;
    }

    .statement-copy{
        grid-column:2;
        max-width:520px;
        justify-self:start;
    }

    .process-grid{
        grid-template-columns:1fr 1fr;
    }

    .process-card:nth-child(3){
        border-left:1px solid var(--service-line);
    }

    .process-card{
        min-height:350px;
    }

    .service-category-grid{
        grid-template-columns:1fr;
    }

    .service-category,
    .service-category:first-child{
        min-height:260px;
        border-left:1px solid var(--service-line);
        border-bottom:0;
    }

    .service-category:last-child{
        border-bottom:1px solid var(--service-line);
    }

    .services-cta-grid{
        grid-template-columns:55px 1fr;
    }

    .services-cta-content{
        grid-column:2;
        justify-self:start;
        max-width:520px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media(max-width:560px){

    .services-container{
        width:calc(100% - 32px);
    }

    .services-hero{
        padding:115px 0 72px;
    }

    .services-hero-grid{
        background-size:60px 60px;
    }

    .services-hero-copy h1{
        font-size:clamp(46px,14vw,62px);
        line-height:.95;
        letter-spacing:-2.4px;
    }

    .services-hero-copy>p{
        margin-top:25px;
        font-size:15px;
        line-height:1.7;
    }

    .services-hero-side{
        padding-left:20px;
    }

    .services-hero-word{
        right:-20px;
        bottom:0;
        font-size:82px;
        letter-spacing:-5px;
    }

    .services-intro{
        padding:82px 0 90px;
    }

    .services-intro-grid{
        grid-template-columns:1fr;
        gap:28px;
    }

    .services-intro-copy{
        grid-column:auto;
    }

    .services-intro-heading h2,
    .services-section-heading h2,
    .services-categories-heading h2,
    .statement-heading h2,
    .services-cta-heading h2{
        font-size:clamp(42px,12vw,58px);
        line-height:1;
        letter-spacing:-2px;
    }

    .services-intro-copy .services-intro-lead{
        font-size:21px;
    }

    .services-list,
    .services-process,
    .services-categories{
        padding:85px 0 95px;
    }

    .services-section-heading{
        padding-bottom:36px;
    }

    .service-rows{
        margin-top:30px;
    }

    .service-row{
        grid-template-columns:40px 1fr 38px;
        gap:14px;
        padding:27px 0;
    }

    .service-row:hover{
        padding-left:8px;
    }

    .service-title h3{
        font-size:27px;
    }

    .service-description{
        grid-column:2 / 4;
        padding-right:5px;
    }

    .service-icon{
        width:35px;
        height:35px;
    }

    .services-statement{
        padding:85px 0 95px;
    }

    .services-statement-grid{
        grid-template-columns:1fr;
        gap:28px;
    }

    .statement-copy{
        grid-column:auto;
        max-width:none;
    }

    .services-statement-word{
        font-size:76px;
        letter-spacing:-4px;
    }

    .process-grid{
        grid-template-columns:1fr;
        margin-top:40px;
    }

    .process-card,
    .process-card:nth-child(3){
        min-height:300px;
        border-left:1px solid var(--service-line);
        border-bottom:0;
    }

    .process-card:last-child{
        border-bottom:1px solid var(--service-line);
    }

    .process-line{
        margin:25px 0 42px;
    }

    .service-category-grid{
        margin-top:40px;
    }

    .service-category{
        min-height:225px;
        padding:25px 24px;
    }

    .category-content h3{
        font-size:38px;
    }

    .service-category>strong{
        right:23px;
        bottom:23px;
    }

    .services-cta{
        padding:82px 0 90px;
    }

    .services-cta-grid{
        grid-template-columns:1fr;
        gap:28px;
    }

    .services-cta-content{
        grid-column:auto;
        max-width:none;
    }

    .services-cta::after{
        font-size:105px;
        letter-spacing:-6px;
    }
}

/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media(max-width:430px){

    .services-container{
        width:calc(100% - 28px);
    }

    .services-hero{
        padding-top:108px;
    }

    .services-hero-copy h1{
        font-size:44px;
    }

    .services-hero-side{
        padding-left:17px;
    }

    .service-title h3{
        font-size:25px;
    }

    .process-card{
        padding:25px 21px 30px;
    }
}

/* =========================================================
   REDUCED MOTION / ACCESSIBILITY
========================================================= */
@media(prefers-reduced-motion:reduce){

    .services-page *,
    .services-page *::before,
    .services-page *::after{
        scroll-behavior:auto !important;
        transition-duration:.01ms !important;
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
    }
}

