/* ==============================================================================
   PAGES.CSS — Service & inner pages specific styles
   Depends on tokens from style.css (--p, --pd, --ps, --gold, --bor, --tb, --tl,
   --td, --white, --bg, --sh, --shl, --tr, --font, --fonth)
   ============================================================================== */

/* ---------------------------------------------------------------------
   SERVICE INTRO SECTION (image left, text right)
--------------------------------------------------------------------- */
.svc-intro {
    padding: 90px 5%;
    background: var(--white);
}
.svc-intro-in {
    max-width: 1320px;
    margin: 0 auto;
}
.svc-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.svc-intro-grid.reverse {
    grid-template-columns: 1fr 1fr;
}
.svc-intro-grid.reverse .svc-intro-visual {
    order: 2;
}
.svc-intro-grid.reverse .svc-intro-text {
    order: 1;
}
.svc-intro-visual {
    position: relative;
}
.svc-intro-img-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--ps) 0%, var(--white) 100%);
    box-shadow: var(--shl);
}
.svc-intro-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
}
.svc-float-badge {
    position: absolute;
    background: var(--white);
    border: 1px solid var(--bor);
    border-radius: 14px;
    padding: 10px 16px;
    box-shadow: var(--shl);
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--fonth);
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--td);
}
.svc-float-badge .fb-ico {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: var(--ps);
    color: var(--p);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.svc-float-badge .fb-ico svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}
.svc-float-badge.fb-top {
    top: -18px;
    right: 24px;
}
.svc-float-badge.fb-bottom {
    bottom: -18px;
    left: 24px;
}
.svc-intro-text h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--td);
    line-height: 1.22;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    text-align: left;
}
.svc-intro-text h2 span {
    color: var(--gold);
}
.svc-intro-text > p {
    font-size: 0.93rem;
    color: var(--tb);
    line-height: 1.8;
    margin-bottom: 22px;
}
.svc-check-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 26px;
}
.svc-check-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 0.88rem;
    color: var(--tb);
    font-weight: 500;
}
.svc-check-item svg {
    width: 19px;
    height: 19px;
    fill: #22c55e;
    flex-shrink: 0;
    margin-top: 1px;
}
@media (max-width: 1100px) {
    .svc-intro-grid,
    .svc-intro-grid.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .svc-intro-grid.reverse .svc-intro-visual,
    .svc-intro-grid.reverse .svc-intro-text {
        order: unset;
    }
    .svc-intro-visual {
        max-width: 520px;
        margin: 0 auto;
    }
}
@media (max-width: 480px) {
    .svc-float-badge {
        display: none;
    }
}

/* ---------------------------------------------------------------------
   SHOWCASE — SINGLE IMAGE FULL-WIDTH BANNER (visual break between sections)
--------------------------------------------------------------------- */
.svc-banner {
    padding: 0;
    background: var(--pd);
    position: relative;
    overflow: hidden;
}
.svc-banner-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    opacity: 0.92;
}
.svc-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(42, 18, 81, 0.92) 0%,
        rgba(42, 18, 81, 0.55) 45%,
        rgba(42, 18, 81, 0.1) 100%
    );
    display: flex;
    align-items: center;
}
.svc-banner-content {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
}
.svc-banner-content-in {
    max-width: 480px;
}
.svc-banner .eyebrow {
    background: rgba(255, 255, 255, 0.12);
    color: var(--gold);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.svc-banner .eyebrow::before {
    background: var(--gold);
}
.svc-banner-content h3 {
    color: #fff;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 800;
    line-height: 1.25;
    margin: 14px 0 12px;
}
.svc-banner-content h3 span {
    color: var(--gold);
}
.svc-banner-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.7;
}
@media (max-width: 700px) {
    .svc-banner-img {
        height: 320px;
    }
    .svc-banner-overlay {
        background: linear-gradient(
            180deg,
            rgba(42, 18, 81, 0.5) 0%,
            rgba(42, 18, 81, 0.92) 70%
        );
        align-items: flex-end;
        padding-bottom: 30px;
    }
}

/* ---------------------------------------------------------------------
   TECHNOLOGIES WE USE (grid of chips)
--------------------------------------------------------------------- */
.svc-tech-section {
    padding: 90px 5%;
    background: var(--white);
}
.svc-tech-in {
    max-width: 1320px;
    margin: 0 auto;
}
.svc-tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 40px;
}
.tech-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg);
    border: 1.5px solid var(--bor);
    border-radius: 14px;
    padding: 12px 18px;
    transition: var(--tr);
}
.tech-chip:hover {
    border-color: var(--p);
    background: var(--white);
    box-shadow: var(--sh);
    transform: translateY(-2px);
}
.tech-chip img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}
.tech-chip span {
    font-size: 0.87rem;
    font-weight: 700;
    color: var(--td);
    font-family: var(--fonth);
}

/* ---------------------------------------------------------------------
   ENGAGEMENT MODELS
--------------------------------------------------------------------- */
.engage-section {
    padding: 90px 5%;
    background: var(--ps);
}
.engage-in {
    max-width: 1320px;
    margin: 0 auto;
}
.engage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.engage-card {
    position: relative;
    background: var(--white);
    border: 1.5px solid var(--bor);
    border-radius: 20px;
    padding: 32px 26px;
    transition: var(--tr);
}
.engage-card:hover {
    border-color: var(--p);
    box-shadow: var(--shl);
    transform: translateY(-4px);
}
.engage-card.popular {
    border-color: var(--gold);
    box-shadow: 0 16px 36px rgba(245, 166, 35, 0.16);
}
.engage-popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: #3d2600;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 5px 16px;
    border-radius: 20px;
    white-space: nowrap;
    font-family: var(--fonth);
}
.engage-ico {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--p);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.engage-ico svg {
    width: 23px;
    height: 23px;
    fill: currentColor;
}
.engage-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--td);
    margin-bottom: 8px;
}
.engage-card > p {
    font-size: 0.85rem;
    color: var(--tb);
    line-height: 1.65;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--bor);
}
.engage-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.engage-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--tb);
    list-style: none;
}
.engage-list svg {
    width: 15px;
    height: 15px;
    fill: #22c55e;
    flex-shrink: 0;
    margin-top: 2px;
}
@media (max-width: 900px) {
    .engage-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ---------------------------------------------------------------------
   SIMPLE SERVICE FAQ (no category filter — plain accordion)
--------------------------------------------------------------------- */
.svc-faq-section {
    padding: 90px 5%;
    background: var(--white);
}
.svc-faq-in {
    max-width: 880px;
    margin: 0 auto;
}
.svc-faq-in .sw-hd {
    justify-content: center;
    text-align: center;
    display: block;
}
.svc-faq-in .sw-hd-l h2 {
    text-align: center;
}
.svc-faq-list {
    margin-top: 36px;
}

/* ---------------------------------------------------------------------
   START PROJECT MODAL (static UI — no backend wiring yet)
--------------------------------------------------------------------- */
.sp-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 10, 32, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.sp-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}
.sp-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -46%) scale(0.96);
    width: 100%;
    max-width: 560px;
    max-height: 88vh;
    background: var(--white);
    border-radius: 22px;
    box-shadow: 0 30px 80px rgba(20, 10, 32, 0.4);
    z-index: 2001;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.25s ease,
        transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.sp-modal.open {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}
.sp-modal-head {
    background: linear-gradient(150deg, var(--pd) 0%, var(--p) 100%);
    padding: 20px 30px 18px;
    position: relative;
    flex-shrink: 0;
}
.sp-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}
.sp-modal-close:hover {
    background: rgba(255, 255, 255, 0.26);
}
.sp-modal-close svg {
    width: 15px;
    height: 15px;
    fill: #fff;
}
.sp-modal-head .eyebrow {
    background: rgba(255, 255, 255, 0.12);
    color: var(--gold);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 12px;
}
.sp-modal-head .eyebrow::before {
    background: var(--gold);
}
.sp-modal-head h3 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 6px;
    max-width: 420px;
}
.sp-modal-head p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.85rem;
    max-width: 420px;
}
.sp-modal-body {
    padding: 26px 30px 30px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--pm) transparent;
}
.sp-modal-body::-webkit-scrollbar {
    width: 5px;
}
.sp-modal-body::-webkit-scrollbar-thumb {
    background: var(--pm);
    border-radius: 99px;
}
.sp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}
.sp-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.sp-form-group.full {
    grid-column: 1 / -1;
}
.sp-form-group label {
    font-size: 0.79rem;
    font-weight: 700;
    color: var(--td);
    font-family: var(--fonth);
}
.sp-form-group label span {
    color: var(--gold);
}
.sp-form-group input,
.sp-form-group select,
.sp-form-group textarea {
    border: 1.5px solid var(--bor);
    border-radius: 10px;
    padding: 11px 13px;
    font-size: 0.85rem;
    font-family: var(--font);
    color: var(--td);
    background: var(--bg);
    outline: none;
    transition:
        border-color var(--tr),
        background var(--tr);
}
.sp-form-group input::placeholder,
.sp-form-group textarea::placeholder {
    color: var(--tl);
}
.sp-form-group input:focus,
.sp-form-group select:focus,
.sp-form-group textarea:focus {
    border-color: var(--p);
    background: var(--white);
}
.sp-form-group textarea {
    resize: vertical;
    min-height: 90px;
    font-family: var(--font);
}
.sp-budget-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}
.sp-budget-chip {
    text-align: center;
    padding: 10px 8px;
    border: 1.5px solid var(--bor);
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--tb);
    cursor: pointer;
    transition: var(--tr);
    font-family: var(--fonth);
}
.sp-budget-chip:hover {
    border-color: var(--p);
}
.sp-budget-chip.active {
    background: var(--p);
    border-color: var(--p);
    color: #fff;
}
.sp-modal-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--p);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.92rem;
    font-family: var(--fonth);
    cursor: pointer;
    transition: background var(--tr);
    margin-top: 4px;
}
.sp-modal-submit:hover {
    background: var(--pd);
}
.sp-modal-note {
    text-align: center;
    font-size: 0.72rem;
    color: var(--tl);
    margin-top: 12px;
}
@media (max-width: 600px) {
    .sp-modal {
        max-width: calc(100% - 24px);
        max-height: 92vh;
    }
    .sp-modal-head {
        padding: 18px 20px 16px;
    }
    .sp-modal-head .eyebrow {
        font-size: 0.68rem;
        padding: 4px 11px;
        margin-bottom: 8px;
    }
    .sp-modal-head h3 {
        font-size: 1.05rem;
        margin-bottom: 4px;
    }
        .sp-modal-head p {
        display: none;
    }
    .sp-modal-body {
        padding: 22px;
    }
    .sp-form-row,
    .sp-budget-row {
        grid-template-columns: 1fr;
    }
}

/* ---------------------------------------------------------------------
   RESPONSIVE — GLOBAL FOR SECTIONS ON SERVICE PAGES
--------------------------------------------------------------------- */
@media (max-width: 700px) {
    .svc-intro,
    .svc-tech-section,
    .engage-section,
    .svc-faq-section {
        padding: 56px 5%;
    }
}
/* ---------------------------------------------------------------------
   SITEMAP PAGE — SIMPLE MULTI-COLUMN LIST
--------------------------------------------------------------------- */
.sitemap-section {
    padding: 70px 5% 100px;
    background: var(--white);
}
.sitemap-in {
    max-width: 1320px;
    margin: 0 auto;
}

.sitemap-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 52px 0 26px;
}
.sitemap-heading:first-child {
    margin-top: 0;
}
.sitemap-heading h2 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--p);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
    margin: 0;
    font-family: var(--fonth);
}
.sitemap-heading::after {
    content: "";
    flex: 1;
    height: 2px;
    background: var(--bor);
}

.sitemap-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 28px;
}

.sitemap-group h3 {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--td);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
    font-family: var(--fonth);
}

.sitemap-group ul {
    list-style: none;
}

.sitemap-group li {
    margin-bottom: 8px;
}

.sitemap-group a {
    font-size: 0.87rem;
    color: var(--tb);
    transition: color var(--tr);
}

.sitemap-group a::before {
    content: "\2022";
    color: var(--tl);
    margin-right: 7px;
}

.sitemap-group a:hover {
    color: var(--p);
}

.sitemap-group li.disabled a {
    color: var(--tl);
    cursor: default;
}

.sitemap-group li.disabled a:hover {
    color: var(--tl);
}

@media (max-width: 1100px) {
    .sitemap-cols {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .sitemap-cols {
        grid-template-columns: 1fr;
    }
    .sitemap-section {
        padding: 48px 5% 60px;
    }
    .sitemap-heading h2 {
        font-size: 1rem;
    }
}
/* ---------------------------------------------------------------------
   BLOG LISTING PAGE
--------------------------------------------------------------------- */
.blog-listing-section {
    padding: 84px 5%;
    background: var(--white);
}
.blog-listing-in {
    max-width: 1320px;
    margin: 0 auto;
}

.blog-featured {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
    background: var(--bg);
    border: 1.5px solid var(--bor);
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 56px;
}
.blog-featured-img {
    aspect-ratio: 16 / 11;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--p) 0%, var(--pd) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.blog-featured-img svg {
    width: 60px;
    height: 60px;
    fill: #fff;
    opacity: 0.9;
}
.blog-featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gold);
    color: #3d2600;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
    font-family: var(--fonth);
}
.blog-featured-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    color: var(--tl);
    margin-bottom: 12px;
}
.blog-featured-cat {
    color: var(--p);
    font-weight: 700;
}
.blog-featured h2 {
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    font-weight: 800;
    color: var(--td);
    line-height: 1.28;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}
.blog-featured p {
    font-size: 0.92rem;
    color: var(--tb);
    line-height: 1.75;
    margin-bottom: 22px;
}
.blog-featured-lnk {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--p);
}

.blog-filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.blog-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    border: 1.5px solid var(--bor);
    color: var(--tb);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: var(--fonth);
    transition: var(--tr);
}
.blog-filter-chip:hover {
    border-color: var(--p);
    color: var(--p);
    background: var(--ps);
}
.blog-filter-chip.active {
    background: var(--p);
    border-color: var(--p);
    color: #fff;
}
.blog-filter-count {
    font-size: 0.7rem;
    opacity: 0.7;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.blog-post-card {
    background: var(--white);
    border: 1.5px solid var(--bor);
    border-radius: 18px;
    overflow: hidden;
    transition: var(--tr);
    display: flex;
    flex-direction: column;
}
.blog-post-card:hover {
    border-color: var(--p);
    box-shadow: var(--shl);
    transform: translateY(-4px);
}
.blog-post-thumb {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--p) 0%, var(--pd) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.blog-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.blog-post-thumb svg {
    width: 40px;
    height: 40px;
    fill: #fff;
    opacity: 0.9;
}
.blog-post-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    color: var(--tl);
    margin-bottom: 10px;
}
.blog-post-cat {
    color: var(--p);
    font-weight: 700;
}
.blog-post-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--td);
    line-height: 1.42;
    margin-bottom: 10px;
}
.blog-post-card p {
    font-size: 0.83rem;
    color: var(--tb);
    line-height: 1.65;
    margin-bottom: 16px;
    flex: 1;
}
.blog-post-lnk {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--p);
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-empty {
    text-align: center;
    padding: 60px 20px;
}
.blog-empty svg {
    width: 56px;
    height: 56px;
    fill: var(--bor);
    margin-bottom: 16px;
}
.blog-empty p {
    color: var(--tl);
    font-size: 0.95rem;
}
.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}
.blog-page-list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}
.blog-page-item {
    display: flex;
}
.blog-page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border: 1.5px solid var(--bor);
    border-radius: 10px;
    color: var(--tb);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--fonth);
    background: var(--white);
    transition: var(--tr);
}
.blog-page-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}
.blog-page-item:not(.disabled):not(.active) .blog-page-link:hover {
    border-color: var(--p);
    color: var(--p);
    background: var(--ps);
}
.blog-page-item.active .blog-page-link {
    background: var(--p);
    border-color: var(--p);
    color: #fff;
}
.blog-page-item.disabled .blog-page-link {
    opacity: 0.35;
    cursor: default;
    background: var(--bg);
}
.blog-page-dots {
    border: none;
    background: none;
    color: var(--tl);
}
@media (max-width: 480px) {
    .blog-page-link {
        min-width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
}
@media (max-width: 1100px) {
    .blog-featured {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 700px) {
    .blog-listing-section {
        padding: 56px 5%;
    }
    .blog-featured {
        padding: 22px;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-filter-bar {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }
    .blog-filter-chip {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* ---------------------------------------------------------------------
   BLOG DETAIL PAGE
--------------------------------------------------------------------- */
.blog-detail-hero {
    padding: 56px 5% 44px;
    background: linear-gradient(155deg, var(--pd) 0%, var(--p) 100%);
    position: relative;
    overflow: hidden;
}
.blog-detail-hero::before {
    content: "";
    position: absolute;
    top: -110px;
    right: -90px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}
.blog-detail-hero-in {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.blog-detail-hero .breadcrumb {
    margin-bottom: 22px;
}
.blog-detail-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--gold);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 5px 14px;
    border-radius: 99px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 18px;
}
.blog-detail-hero h1 {
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.blog-detail-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.blog-detail-author {
    display: flex;
    align-items: center;
    gap: 10px;
}
.blog-detail-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-family: var(--fonth);
    font-size: 0.85rem;
    flex-shrink: 0;
}
.blog-detail-author-name {
    font-size: 0.85rem;
    color: #fff;
    font-weight: 600;
}
.blog-detail-sep {
    color: rgba(255, 255, 255, 0.35);
}
.blog-detail-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
}
.blog-detail-stat svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.blog-detail-featured-img {
    max-width: 900px;
    margin: -34px auto 0;
    position: relative;
    z-index: 3;
    padding: 0 5%;
}
.blog-detail-featured-img-wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shl);
    aspect-ratio: 16 / 8;
    background: linear-gradient(135deg, var(--p) 0%, var(--pd) 100%);
}
.blog-detail-featured-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-detail-section {
    padding: 60px 5% 84px;
    background: var(--white);
}
.blog-detail-layout {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 32px;
}
.blog-detail-share {
    position: sticky;
    top: 100px;
    height: max-content;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.blog-share-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg);
    border: 1.5px solid var(--bor);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--tr);
}
.blog-share-btn:hover {
    background: var(--p);
    border-color: var(--p);
}
.blog-share-btn svg {
    width: 18px;
    height: 18px;
    fill: var(--tb);
    transition: fill var(--tr);
}
.blog-share-btn:hover svg {
    fill: #fff;
}

.blog-detail-content {
    min-width: 0;
    font-size: 1rem;
    color: var(--tb);
    line-height: 1.9;
}
.blog-detail-content p {
    margin-bottom: 20px;
}
.blog-detail-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--td);
    margin: 36px 0 16px;
    letter-spacing: -0.01em;
}
.blog-detail-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--td);
    margin: 28px 0 14px;
}
.blog-detail-content ul,
.blog-detail-content ol {
    margin: 0 0 20px 22px;
}
.blog-detail-content li {
    margin-bottom: 8px;
}
.blog-detail-content a {
    color: var(--p);
    font-weight: 600;
    text-decoration: underline;
}
.blog-detail-content img {
    width: 100%;
    border-radius: 14px;
    margin: 24px 0;
}
.blog-detail-content blockquote {
    border-left: 3px solid var(--p);
    background: var(--ps);
    padding: 18px 22px;
    border-radius: 0 12px 12px 0;
    margin: 24px 0;
    font-style: italic;
    color: var(--td);
}
.blog-detail-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}
.blog-detail-content table td,
.blog-detail-content table th {
    border: 1px solid var(--bor);
    padding: 10px 14px;
    font-size: 0.88rem;
}

.blog-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--bor);
}
.blog-detail-tag {
    background: var(--ps);
    color: var(--p);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
}

.blog-author-box {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--bg);
    border: 1.5px solid var(--bor);
    border-radius: 18px;
    padding: 24px;
    margin-top: 36px;
}
.blog-author-box-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--p);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-family: var(--fonth);
    font-size: 1.2rem;
    flex-shrink: 0;
}
.blog-author-box-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--td);
    margin-bottom: 3px;
}
.blog-author-box-role {
    font-size: 0.78rem;
    color: var(--tl);
}

@media (max-width: 900px) {
    .blog-detail-layout {
        grid-template-columns: 1fr;
    }
    .blog-detail-share {
        position: static;
        flex-direction: row;
        margin-bottom: 8px;
    }
}
@media (max-width: 600px) {
    .blog-detail-hero {
        padding: 40px 5% 34px;
    }
    .blog-detail-meta {
        gap: 10px;
    }
    .blog-detail-section {
        padding: 40px 5% 56px;
    }
    .blog-author-box {
        flex-direction: column;
        text-align: center;
    }
}

/* ---------------------------------------------------------------------
   RELATED POSTS
--------------------------------------------------------------------- */
.blog-related-section {
    padding: 70px 5% 90px;
    background: var(--ps);
}
.blog-related-in {
    max-width: 1320px;
    margin: 0 auto;
}
/* ---------------------------------------------------------------------
   LEGAL PAGES — PRIVACY / TERMS / REFUND / COOKIE / DISCLAIMER
--------------------------------------------------------------------- */
.legal-section {
    padding: 70px 5% 100px;
    background: var(--white);
}
.legal-in {
    max-width: 1320px;
    margin: 0 auto;
}
.legal-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 56px;
    align-items: start;
}

.legal-sidebar {
    position: sticky;
    top: 100px;
}
.legal-sidebar-card {
    background: var(--bg);
    border: 1.5px solid var(--bor);
    border-radius: 16px;
    padding: 22px;
}
.legal-sidebar-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--tl);
    margin-bottom: 14px;
}
.legal-toc {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.legal-toc a {
    display: block;
    font-size: 0.83rem;
    color: var(--tb);
    padding: 8px 10px;
    border-radius: 8px;
    transition: var(--tr);
}
.legal-toc a:hover {
    background: var(--ps);
    color: var(--p);
}
.legal-sidebar-meta {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--bor);
    font-size: 0.76rem;
    color: var(--tl);
}
.legal-sidebar-meta strong {
    color: var(--td);
    display: block;
    margin-bottom: 3px;
}

.legal-content {
    min-width: 0;
}
.legal-content-header {
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--bor);
}
.legal-content-header h1 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 800;
    color: var(--td);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.legal-content-header p {
    font-size: 0.92rem;
    color: var(--tb);
    line-height: 1.7;
}
.legal-updated-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--ps);
    color: var(--p);
    font-size: 0.76rem;
    font-weight: 700;
    padding: 5px 13px;
    border-radius: 20px;
    margin-top: 12px;
}

.legal-content section {
    margin-bottom: 36px;
    scroll-margin-top: 100px;
}
.legal-content h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--td);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 10px;
}
.legal-content h2 .legal-num {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--ps);
    color: var(--p);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
    flex-shrink: 0;
}
.legal-content h3 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--td);
    margin: 20px 0 10px;
}
.legal-content p {
    font-size: 0.9rem;
    color: var(--tb);
    line-height: 1.85;
    margin-bottom: 14px;
}
.legal-content ul,
.legal-content ol {
    margin: 0 0 14px 22px;
}
.legal-content li {
    font-size: 0.9rem;
    color: var(--tb);
    line-height: 1.8;
    margin-bottom: 8px;
}
.legal-content a {
    color: var(--p);
    font-weight: 600;
    text-decoration: underline;
}
.legal-highlight-box {
    background: var(--ps);
    border-left: 3px solid var(--p);
    border-radius: 0 12px 12px 0;
    padding: 16px 20px;
    margin: 16px 0;
}
.legal-highlight-box p {
    margin: 0;
    color: var(--td);
    font-size: 0.87rem;
}
.legal-contact-box {
    background: var(--bg);
    border: 1.5px solid var(--bor);
    border-radius: 16px;
    padding: 24px;
    margin-top: 40px;
}
.legal-contact-box h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--td);
    margin-bottom: 10px;
}
.legal-contact-box p {
    font-size: 0.87rem;
    margin-bottom: 4px;
}

@media (max-width: 1000px) {
    .legal-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .legal-sidebar {
        position: static;
    }
    .legal-toc {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }
    .legal-toc a {
        background: var(--white);
        border: 1px solid var(--bor);
    }
}
@media (max-width: 600px) {
    .legal-section {
        padding: 48px 5% 60px;
    }
}
/* ---------------------------------------------------------------------
   PORTFOLIO PAGE — FILTERABLE GRID
--------------------------------------------------------------------- */
.portfolio-section {
    padding: 84px 5%;
    background: var(--white);
}
.portfolio-in {
    max-width: 1320px;
    margin: 0 auto;
}

.portfolio-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin: 32px 0 44px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--bor);
}
.portfolio-stat strong {
    display: block;
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--p);
    font-family: var(--fonth);
    line-height: 1;
    margin-bottom: 6px;
}
.portfolio-stat span {
    font-size: 0.78rem;
    color: var(--tl);
    font-weight: 600;
}

.portfolio-filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.portfolio-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    border: 1.5px solid var(--bor);
    color: var(--tb);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: var(--fonth);
    cursor: pointer;
    transition: var(--tr);
}
.portfolio-filter-chip:hover {
    border-color: var(--p);
    color: var(--p);
    background: var(--ps);
}
.portfolio-filter-chip.active {
    background: var(--p);
    border-color: var(--p);
    color: #fff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.portfolio-grid .folio-card {
    width: auto;
    transition:
        var(--tr),
        opacity 0.25s ease,
        transform 0.25s ease;
}
.portfolio-grid .folio-card.hide {
    display: none;
}

.portfolio-empty {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}
.portfolio-empty svg {
    width: 56px;
    height: 56px;
    fill: var(--bor);
    margin-bottom: 16px;
}
.portfolio-empty p {
    color: var(--tl);
    font-size: 0.95rem;
}

@media (max-width: 1100px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 700px) {
    .portfolio-section {
        padding: 56px 5%;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .portfolio-stats {
        gap: 28px;
    }
    .portfolio-filter-bar {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }
    .portfolio-filter-chip {
        white-space: nowrap;
        flex-shrink: 0;
    }
}
.hd-role-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
.hd-role-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    border: 1.5px solid var(--bor);
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--tb);
    cursor: pointer;
    transition: var(--tr);
}
.hd-role-chip svg {
    width: 18px;
    height: 18px;
    fill: var(--tl);
    flex-shrink: 0;
    transition: fill var(--tr);
}
.hd-role-chip:hover {
    border-color: var(--p);
    background: var(--ps);
}
.hd-role-chip.active {
    border-color: var(--p);
    background: var(--ps);
    color: var(--p);
}
.hd-role-chip.active svg {
    fill: var(--p);
}
@media (max-width: 480px) {
    .hd-role-grid {
        grid-template-columns: 1fr;
    }
}
/* ---------------------------------------------------------------------
   TEAM PAGE — LEADERSHIP CARDS, STATS LINE & DEPARTMENT CAROUSELS
--------------------------------------------------------------------- */
.team-leaders-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}
.team-leader-card {
    display: flex;
    align-items: center;
    gap: 28px;
    background: var(--white);
    border: 1.5px solid var(--bor);
    border-radius: 20px;
    padding: 28px 32px;
}
.team-leader-photo {
    width: 180px;
    height: 220px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--ps) 0%, var(--white) 100%);
}
.team-leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.team-leader-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.team-leader-body .team-badge {
    align-self: flex-start;
}
.team-leader-body h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--td);
    margin: 10px 0 2px;
}
.team-leader-body .team-role {
    display: block;
    margin-bottom: 12px;
}
.team-leader-body p {
    font-size: 0.9rem;
    color: var(--tb);
    line-height: 1.8;
    margin-bottom: 16px;
    max-width: 720px;
}
.team-leader-body .team-socs {
    justify-content: flex-start;
    margin-top: auto;
}

.team-stats-line {
    text-align: center;
    margin: 40px auto 0;
    max-width: 620px;
}
.team-stats-line span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ps);
    color: var(--p);
    font-size: 0.86rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 30px;
}
.team-stats-line span strong {
    font-family: var(--fonth);
    font-weight: 800;
    color: var(--p);
}

.team-dept-block {
    margin-top: 64px;
}
.team-dept-hd {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.team-dept-hd h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--td);
    letter-spacing: -0.01em;
}
.team-dept-hd h3 span {
    color: var(--gold);
}
.team-dept-count {
    font-size: 0.78rem;
    color: var(--p);
    font-weight: 700;
    background: var(--ps);
    padding: 5px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

.team-carousel-wrap {
    overflow: hidden;
}
.team-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.team-mini-card {
    flex-shrink: 0;
    background: var(--white);
    border: 1.5px solid var(--bor);
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
}
.team-mini-photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    margin: 24px auto 0;
    background: linear-gradient(135deg, var(--ps) 0%, var(--white) 100%);
    flex-shrink: 0;
}
.team-mini-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.team-mini-body {
    padding: 14px 14px 20px;
}
.team-mini-body h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--td);
    margin-bottom: 3px;
}
.team-mini-body .team-role {
    font-size: 0.74rem;
    margin-bottom: 12px;
}
.team-mini-body .team-socs {
    justify-content: center;
    gap: 6px;
}

.team-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 24px;
}
.team-carousel-dots {
    display: flex;
    gap: 6px;
}
.team-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: var(--bor);
    border: none;
    cursor: pointer;
    padding: 0;
    transition:
        width var(--tr),
        background var(--tr);
}
.team-carousel-dot.active {
    width: 22px;
    background: var(--p);
    border-radius: 4px;
}
.team-carousel-arrows {
    display: flex;
    gap: 8px;
}
.team-carousel-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--bor);
    background: var(--white);
    color: var(--tb);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--tr);
    font-family: var(--font);
}
.team-carousel-arrow:hover {
    background: var(--p);
    border-color: var(--p);
    color: #fff;
}

@media (max-width: 900px) {
    .team-leader-card {
        flex-direction: column;
        align-items: center;
    }
    .team-leader-photo {
        width: 160px;
        height: 200px;
    }
    .team-leader-body {
        width: 100%;
        text-align: left;
    }
    .team-leader-body .team-badge {
        align-self: flex-start;
    }
    .team-leader-body h3,
    .team-leader-body .team-role {
        text-align: left;
    }
    .team-leader-body p {
        margin-left: 0;
        margin-right: 0;
        text-align: left;
    }
    .team-leader-body .team-socs {
        justify-content: flex-start;
        margin-top: 12px;
    }
}
@media (max-width: 480px) {
    .team-leader-photo {
        width: 130px;
        height: 170px;
    }
}
.process-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 700px) {
    .process-grid.cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 560px) {
    .process-grid.cols-3 {
        grid-template-columns: 1fr;
    }
}
