/* ═══════════════════════════════════════════════════
   RESTORER CLEANING SERVICES — services.css
   Design: refined navy + sky-blue + warm white
   Fonts: Cormorant Garamond (headings) + DM Sans (body)
═══════════════════════════════════════════════════ */

/* ── TOKENS (mirrors index_new.css) ── */
:root {
    --navy:      #0a1628;
    --navy-mid:  #122040;
    --navy-lite: #1c3058;
    --sky:       #34b4f4;
    --sky-dark:  #1a8fc4;
    --sky-lite:  #a8dcf8;
    --cream:     #f8f6f2;
    --white:     #ffffff;
    --grey-1:    #f0eeea;
    --grey-2:    #d4d0c8;
    --grey-3:    #8a8680;
    --text:      #1a1814;
    --text-lite: #5a5650;

    --font-head: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;

    --radius-sm: 6px;
    --radius:    12px;
    --radius-lg: 20px;

    --shadow-sm: 0 2px 8px rgba(10,22,40,.08);
    --shadow:    0 6px 24px rgba(10,22,40,.12);
    --shadow-lg: 0 16px 48px rgba(10,22,40,.18);

    --nav-h: 72px;
    --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ── LAYOUT HELPERS ── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.section-pad { padding: 5rem 0; }

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--sky);
    margin-bottom: .75rem;
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 1rem;
}


/* ══════════════════════════════════
   BUTTONS
══════════════════════════════════ */
.btn-primary {
    display: inline-block;
    padding: .85em 2.2em;
    background: var(--sky);
    color: var(--white);
    font-weight: 600;
    font-size: .95rem;
    font-family: var(--font-body);
    border-radius: var(--radius-sm);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 16px rgba(52,180,244,.35);
}
.btn-primary:hover {
    background: var(--sky-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(52,180,244,.4);
}
.btn-ghost {
    display: inline-block;
    padding: .85em 2.2em;
    color: var(--white);
    font-weight: 600;
    font-size: .95rem;
    font-family: var(--font-body);
    border: 2px solid rgba(255,255,255,.5);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), background var(--transition);
}
.btn-ghost:hover {
    border-color: var(--white);
    background: rgba(255,255,255,.08);
}
.btn-cta-white {
    display: inline-block;
    padding: .85em 2.2em;
    background: var(--white);
    color: var(--sky-dark);
    font-weight: 700;
    font-size: .95rem;
    font-family: var(--font-body);
    border-radius: var(--radius-sm);
    transition: background var(--transition), transform var(--transition);
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
    white-space: nowrap;
}
.btn-cta-white:hover {
    background: var(--cream);
    transform: translateY(-2px);
}
.btn-cta-outline {
    display: inline-block;
    padding: .85em 2.2em;
    color: var(--white);
    font-weight: 600;
    font-size: .95rem;
    font-family: var(--font-body);
    border: 2px solid rgba(255,255,255,.6);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), background var(--transition);
    white-space: nowrap;
}
.btn-cta-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,.1);
}


/* ══════════════════════════════════
   SITE HEADER / NAVBAR
══════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 999;
    background: rgba(10,22,40,.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.3); }

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    gap: 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-shrink: 0;
    text-decoration: none;
}
.nav-logo {
    width: 44px; height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(52,180,244,.4);
}
.nav-brand-text {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.2;
}
.nav-brand-text em {
    font-style: italic;
    color: var(--sky-lite);
    font-size: .9em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    margin-left: auto;
    list-style: none;
}
.nav-link {
    font-size: .88rem;
    font-weight: 500;
    color: rgba(255,255,255,.8);
    transition: color var(--transition);
    position: relative;
    font-family: var(--font-body);
    text-decoration: none;
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 0; bottom: -4px;
    width: 0; height: 2px;
    background: var(--sky);
    transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.has-dropdown { position: relative; }
.has-dropdown .caret {
    font-size: .7em;
    margin-left: .25em;
    display: inline-block;
    transition: transform var(--transition);
}
.has-dropdown:hover .caret { transform: rotate(180deg); }
.dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 200px;
    background: var(--navy-mid);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius);
    padding: .5rem 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 100;
    list-style: none;
}
.has-dropdown:hover .dropdown {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}
.dropdown li a {
    display: block;
    padding: .55rem 1.2rem;
    font-size: .85rem;
    font-family: var(--font-body);
    color: rgba(255,255,255,.75);
    transition: color var(--transition), background var(--transition);
}
.dropdown li a:hover { color: var(--sky); background: rgba(52,180,244,.07); }

.nav-cta-btn {
    padding: .55em 1.4em;
    background: var(--sky);
    color: var(--white) !important;
    border-radius: var(--radius-sm);
    font-size: .85rem;
    font-weight: 600;
    font-family: var(--font-body);
    transition: background var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
}
.nav-cta-btn:hover { background: var(--sky-dark); }
.nav-cta-btn::after { display: none !important; }

/* Hamburger button */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: .45rem;
    flex-shrink: 0;
    cursor: pointer;
}
.hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition), width var(--transition);
    transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-h));
    background: var(--navy);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 998;
    padding: 1.5rem 1.5rem 2rem;
}
.mobile-drawer.open {
    display: block;
    transform: translateX(0);
}
.mobile-nav-links { list-style: none; }
.mobile-nav-links li {
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.mobile-nav-links li a {
    display: block;
    width: 100%;
    text-align: left;
    padding: 1rem 0;
    font-size: 1.05rem;
    font-weight: 500;
    font-family: var(--font-body);
    color: rgba(255,255,255,.85);
    transition: color var(--transition);
}
.mobile-nav-links li a:hover { color: var(--sky); }
.mobile-nav-links li a.active { color: var(--sky); }

/* Services accordion row */
.mobile-services-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
}
.mobile-services-row span {
    font-size: 1.05rem;
    font-weight: 500;
    color: rgba(255,255,255,.85);
    transition: color var(--transition);
}
.mobile-services-row svg {
    width: 16px; height: 16px;
    stroke: rgba(255,255,255,.5);
    flex-shrink: 0;
    transition: transform var(--transition), stroke var(--transition);
}
.mobile-services-row:hover span,
.mobile-services-row.open span { color: var(--sky); }
.mobile-services-row:hover svg { stroke: var(--sky); }
.mobile-services-row.open svg {
    transform: rotate(90deg);
    stroke: var(--sky);
}
.mobile-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    padding-left: 1rem;
    list-style: none;
}
.mobile-dropdown.open { max-height: 420px; }
.mobile-dropdown li a {
    display: block;
    font-size: .92rem;
    font-family: var(--font-body);
    padding: .6rem 0;
    color: rgba(255,255,255,.6);
    transition: color var(--transition);
}
.mobile-dropdown li a:hover { color: var(--sky); }
.mobile-cta {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    padding: .85em 2em;
    background: var(--sky);
    color: var(--white) !important;
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font-body);
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.mobile-cta:hover { background: var(--sky-dark); }


/* ══════════════════════════════════
   PAGE HERO
══════════════════════════════════ */
.page-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: flex-end;
    padding-top: var(--nav-h);
    overflow: hidden;
    background: var(--navy);
}
.page-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url("images/Feem/GALLERY (1).jpg");
    background-size: cover;
    background-position: center;
    opacity: .2;
    z-index: 0;
}
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,22,40,.5) 0%, rgba(10,22,40,.88) 100%);
    z-index: 1;
}
.page-hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 0;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    font-weight: 500;
    color: rgba(255,255,255,.5);
    margin-bottom: 1rem;
    font-family: var(--font-body);
}
.breadcrumb a {
    color: rgba(255,255,255,.5);
    transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--sky); }
.breadcrumb span { color: var(--sky); }
.breadcrumb span:last-child { color: rgba(255,255,255,.5); }
.page-hero-content h1 {
    font-family: var(--font-head);
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
}
.page-hero-content h1 em {
    color: var(--sky);
    font-style: italic;
}
.hero-sub {
    margin-top: 1rem;
    font-size: 1.05rem;
    color: rgba(255,255,255,.7);
    max-width: 560px;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 1.5rem;
}


/* ══════════════════════════════════
   SERVICES QUICK-NAV
══════════════════════════════════ */
.services-quicknav {
    background: var(--white);
    border-bottom: 1px solid var(--grey-2);
    padding: 1.25rem 0;
    position: sticky;
    top: var(--nav-h);
    z-index: 90;
    box-shadow: var(--shadow-sm);
}
.quicknav-grid {
    display: flex;
    align-items: center;
    gap: .25rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: .25rem 0;
}
.quicknav-grid::-webkit-scrollbar { display: none; }
.quicknav-item {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .5em 1em;
    border-radius: 100px;
    font-size: .8rem;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--text-lite);
    white-space: nowrap;
    transition: background var(--transition), color var(--transition);
    flex-shrink: 0;
    letter-spacing: .02em;
}
.quicknav-item:hover {
    background: rgba(52,180,244,.1);
    color: var(--sky-dark);
}
.quicknav-icon { font-size: 1rem; }


/* ══════════════════════════════════
   SERVICE SECTIONS
══════════════════════════════════ */
.service-section {
    background: var(--white);
}
.service-section--alt {
    background: var(--cream);
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.service-grid--reverse .service-img-block { order: 2; }
.service-grid--reverse .service-text     { order: 1; }

/* Image block */
.service-img-block {
    position: relative;
}
.service-img-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
/* left-offset accent border */
.service-img-frame::before {
    content: '';
    position: absolute;
    top: -10px; left: -10px;
    right: 10px; bottom: 10px;
    border: 3px solid var(--sky);
    border-radius: var(--radius-lg);
    z-index: 0;
    pointer-events: none;
}
/* right-offset accent border for reversed sections */
.service-img-frame--right::before {
    top: -10px; right: -10px;
    left: 10px; bottom: 10px;
}
.service-img-frame img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 420px;
    object-fit: cover;
}

/* Number badge */
.service-num-badge {
    position: absolute;
    bottom: -1rem;
    left: -1rem;
    z-index: 3;
    width: 52px; height: 52px;
    background: var(--sky);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    box-shadow: var(--shadow);
}

/* Service text */
.service-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.service-text p {
    color: var(--text-lite);
    line-height: 1.85;
    font-size: .97rem;
}

/* Includes box */
.service-includes {
    background: var(--grey-1);
    border: 1px solid var(--grey-2);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: .5rem 0;
}
.service-section--alt .service-includes {
    background: var(--white);
}
.includes-label {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-lite);
    margin-bottom: .75rem !important;
}
.includes-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .35rem .75rem;
    list-style: none;
}
.includes-list li {
    font-size: .88rem;
    color: var(--text);
    padding-left: 1.1em;
    position: relative;
    line-height: 1.5;
}
.includes-list li::before {
    content: '';
    position: absolute;
    left: 0; top: .55em;
    width: 5px; height: 5px;
    background: var(--sky);
    border-radius: 50%;
}

.service-cta-text {
    font-size: .88rem !important;
    font-style: italic;
    color: var(--text-lite) !important;
}


/* ══════════════════════════════════
   CTA STRIP
══════════════════════════════════ */
.cta-strip {
    background: var(--sky);
    padding: 4rem 0;
}
.cta-strip-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
}
.cta-strip h2 {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.25;
}
.cta-strip p {
    color: rgba(255,255,255,.8);
    margin-top: .5rem;
    font-size: .97rem;
}
.cta-strip-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
    align-items: center;
    flex-wrap: wrap;
}


/* ══════════════════════════════════
   SITE FOOTER
══════════════════════════════════ */
.site-footer {
    background: var(--navy);
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255,255,255,.06);
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.footer-logo {
    width: 40px; height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(52,180,244,.3);
}
.footer-brand-text strong {
    display: block;
    color: var(--white);
    font-size: .95rem;
    font-weight: 600;
}
.footer-brand-text p {
    color: rgba(255,255,255,.45);
    font-size: .78rem;
}
.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.footer-links a {
    font-size: .82rem;
    font-weight: 500;
    font-family: var(--font-body);
    color: rgba(255,255,255,.55);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--sky); }
.footer-copy {
    font-size: .78rem;
    font-family: var(--font-body);
    color: rgba(255,255,255,.35);
}


/* ══════════════════════════════════
   RESPONSIVE — TABLET (≤ 900px)
══════════════════════════════════ */
@media (max-width: 900px) {
    .service-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    /* Reset order overrides — image always comes first */
    .service-grid--reverse .service-img-block { order: -1; }
    .service-grid--reverse .service-text     { order: 2; }

    .service-img-frame img { height: 320px; }
    .service-num-badge { bottom: -.75rem; left: -.75rem; }

    .cta-strip-inner { grid-template-columns: 1fr; }
    .cta-strip-actions { justify-content: flex-start; }
}

/* ══════════════════════════════════
   RESPONSIVE — MOBILE (≤ 768px)
══════════════════════════════════ */
@media (max-width: 768px) {
    :root { --nav-h: 64px; }

    .nav-links, .nav-cta-btn { display: none; }
    .hamburger { display: flex; }

    .page-hero { min-height: 50vh; }

    .services-quicknav { top: var(--nav-h); }

    .includes-list { grid-template-columns: 1fr; }

    .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .footer-links { gap: 1rem; }

    .section-pad { padding: 3.5rem 0; }
}

/* ══════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤ 480px)
══════════════════════════════════ */
@media (max-width: 480px) {
    .page-hero-content h1 { font-size: 2.4rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .btn-primary, .btn-ghost { width: 100%; text-align: center; }
    .service-img-frame img { height: 240px; }
    .service-num-badge { display: none; }
    .cta-strip-actions { flex-direction: column; width: 100%; }
    .btn-cta-white, .btn-cta-outline { width: 100%; text-align: center; }
}


/* ══════════════════════════════════
   SCROLL-REVEAL
══════════════════════════════════ */
.reveal-ready {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}
.reveal-ready.revealed {
    opacity: 1;
    transform: translateY(0);
}