/**
 * Chamspace Services ALT Page CSS v2.0
 * Cinematic editorial — Design+Build dramatic split, Process accordion gallery, alternating USP
 * Section spacing: 50px
 */

.svc-alt { color: #1a1a1a; font-family: 'Plus Jakarta Sans', sans-serif; }
.svc-alt * { box-sizing: border-box; }

/* ================================================================
   SECTION SPACING — 50px
   ================================================================ */
.svc-alt-sec { padding: 50px 0; }

/* ================================================================
   1. HERO — Cinematic full-screen
   ================================================================ */
.svc-alt-hero {
    position: relative; width: 100%;
    height: clamp(500px, 72vh, 800px);
    border-radius: 20px; overflow: hidden;
}
.svc-alt-hero-img { width: 100%; height: 100%; object-fit: cover; }
.svc-alt-hero-glass {
    position: absolute; inset: 0;
    background: linear-gradient(160deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.02) 35%, rgba(0,0,0,0.70) 100%);
}
.svc-alt-hero-content {
    position: absolute;
    bottom: clamp(56px, 9vh, 96px);
    left: clamp(24px, 5vw, 64px);
    right: clamp(24px, 5vw, 64px);
}
.svc-alt-hero-eyebrow {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.15em; color: #E20612;
    display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.svc-alt-hero-eyebrow::after {
    content: ''; flex: 1; height: 1px;
    background: rgba(226,6,18,0.30); max-width: 100px;
}
.svc-alt-hero h1 {
    font-size: clamp(2.8rem, 7.5vw, 6.5rem);
    font-weight: 800; color: #fff;
    line-height: 0.94; letter-spacing: -0.03em;
    text-shadow: 0 4px 50px rgba(0,0,0,0.35);
    margin: 0 0 20px;
}
.svc-alt-hero-sub {
    font-size: 16px; color: rgba(255,255,255,0.58);
    max-width: 480px; line-height: 1.7;
}
.svc-alt-hero-badge {
    position: absolute; top: clamp(24px, 5vw, 48px); right: clamp(24px, 5vw, 48px);
    background: rgba(0,0,0,0.45); backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.10); border-radius: 100px;
    padding: 9px 18px; display: flex; align-items: center; gap: 8px;
}
.svc-alt-hero-badge-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #E20612;
    animation: svc-alt-dot 2s ease-in-out infinite;
}
@keyframes svc-alt-dot { 0%,100%{opacity:1} 50%{opacity:0.25} }
.svc-alt-hero-badge span {
    font-size: 12px; font-weight: 600; color: #fff;
    text-transform: uppercase; letter-spacing: 0.06em;
}

/* ================================================================
   2. DESIGN+BUILD — Dramatic split with parallax images
   ================================================================ */
.svc-alt-db {
    display: grid; grid-template-columns: 1fr 1fr;
    height: clamp(500px, 55vh, 700px);
    border-radius: 24px; overflow: hidden;
    position: relative;
}
.svc-alt-db-panel {
    position: relative; overflow: hidden;
    display: flex; align-items: flex-end; padding: clamp(32px, 5vw, 56px);
}
.svc-alt-db-panel--design { background: #0d0d0d; }
.svc-alt-db-panel--build { background: #1a1a1a; }
.svc-alt-db-bg {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0.28;
    transition: transform 0.8s cubic-bezier(0.2, 0.36, 0.12, 1), opacity 0.8s;
}
.svc-alt-db-panel:hover .svc-alt-db-bg {
    transform: scale(1.08); opacity: 0.50;
}
.svc-alt-db-divider {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 64px; height: 64px;
    border-radius: 50%;
    background: #E20612;
    z-index: 10;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 10px rgba(226,6,18,0.20), 0 10px 40px rgba(226,6,18,0.30);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.svc-alt-db-divider:hover {
    transform: translate(-50%, -50%) scale(1.15) rotate(45deg);
}
.svc-alt-db-divider svg { width: 24px; height: 24px; stroke: #fff; }
.svc-alt-db-content { position: relative; z-index: 2; width: 100%; }
.svc-alt-db-content .svc-alt-db-label {
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.16em;
    display: block; margin-bottom: 14px;
}
.svc-alt-db-panel--design .svc-alt-db-label { color: rgba(255,255,255,0.35); }
.svc-alt-db-panel--build .svc-alt-db-label { color: rgba(255,255,255,0.35); }
.svc-alt-db-content h3 {
    font-size: clamp(26px, 3.5vw, 44px);
    font-weight: 800; color: #fff;
    line-height: 1.08; margin: 0 0 12px;
    letter-spacing: -0.02em;
    transition: transform 0.4s ease;
}
.svc-alt-db-panel:hover .svc-alt-db-content h3 { transform: translateY(-4px); }
.svc-alt-db-content p {
    font-size: 14px; color: rgba(255,255,255,0.42);
    line-height: 1.7; max-width: 360px;
    transition: opacity 0.4s ease;
}
.svc-alt-db-panel:hover .svc-alt-db-content p { color: rgba(255,255,255,0.65); }
.svc-alt-db-dot {
    display: inline-block; width: 9px; height: 9px;
    border-radius: 50%; margin-bottom: 14px;
}
.svc-alt-db-panel--design .svc-alt-db-dot { background: #fff; }
.svc-alt-db-panel--build .svc-alt-db-dot { background: #E20612; }

/* ================================================================
   SECTION HEADERS
   ================================================================ */
.svc-alt-hdr { margin-bottom: 40px; }
.svc-alt-hdr-eyebrow {
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.14em; color: #E20612; margin-bottom: 12px;
}
.svc-alt-hdr h2 {
    font-size: clamp(28px, 5vw, 56px); font-weight: 800;
    color: #1a1a1a; text-transform: uppercase;
    letter-spacing: -0.03em; margin: 0; line-height: 1.05;
}

/* ================================================================
   3. SERVICE CARDS — Immersive
   ================================================================ */
.svc-alt-svc { position: relative; border-radius: 20px; overflow: hidden; margin-bottom: 24px; }
.svc-alt-svc:last-child { margin-bottom: 0; }
.svc-alt-svc-bg {
    width: 100%; height: clamp(380px, 48vh, 560px);
    object-fit: cover; display: block;
}
.svc-alt-svc-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.58) 0%, rgba(0,0,0,0.12) 100%);
}
.svc-alt-svc-num {
    font-size: clamp(56px, 8vw, 110px); font-weight: 800;
    color: rgba(255,255,255,0.08); line-height: 1;
    position: absolute; top: clamp(20px, 4vw, 48px);
    left: clamp(28px, 5vw, 64px); pointer-events: none;
}
.svc-alt-svc-content {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: clamp(28px, 5vw, 56px);
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 24px; flex-wrap: wrap;
}
.svc-alt-svc-info { flex: 1; min-width: 240px; }
.svc-alt-svc-tag {
    display: inline-block; font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.12em; color: #E20612;
    background: rgba(226,6,18,0.12); backdrop-filter: blur(12px);
    padding: 5px 12px; border-radius: 4px; margin-bottom: 12px;
}
.svc-alt-svc h3 {
    font-size: clamp(20px, 3vw, 36px); font-weight: 800;
    color: #fff; margin: 0 0 8px; line-height: 1.15;
}
.svc-alt-svc p {
    font-size: 14px; color: rgba(255,255,255,0.52); line-height: 1.6;
    margin: 0; max-width: 400px;
}
.svc-alt-svc-link {
    flex-shrink: 0;
    width: 52px; height: 52px; border-radius: 50%;
    background: rgba(255,255,255,0.08); backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.3s, transform 0.3s;
}
.svc-alt-svc-link:hover { background: #E20612; border-color: #E20612; transform: scale(1.12); }
.svc-alt-svc-link svg { width: 18px; height: 18px; stroke: #fff; }

/* ================================================================
   4. PROJECTS — Horizontal scroll with tight crops
   ================================================================ */
.svc-alt-projects-scroll {
    display: flex; gap: 16px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
}
.svc-alt-projects-scroll::-webkit-scrollbar { display: none; }
.svc-alt-project-card {
    flex: 0 0 clamp(300px, 35vw, 460px);
    scroll-snap-align: start;
    text-decoration: none; color: inherit;
    border-radius: 14px; overflow: hidden;
    background: #fff; border: 1px solid #e8e8e8;
    transition: transform 0.35s ease, box-shadow 0.35s;
}
.svc-alt-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.10);
}
.svc-alt-project-card-img {
    width: 100%; padding-bottom: 70%; position: relative; overflow: hidden; background: #1a1a1a;
}
.svc-alt-project-card-img img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; transition: transform 0.6s cubic-bezier(0.2,0.36,0.12,1);
}
.svc-alt-project-card:hover .svc-alt-project-card-img img { transform: scale(1.06); }
.svc-alt-project-card-body {
    padding: 18px 20px 22px;
}
.svc-alt-project-card-body h3 { font-size: 16px; font-weight: 700; color: #1a1a1a; margin: 0 0 5px; line-height: 1.2; }
.svc-alt-project-card-body span { font-size: 11px; color: #999; text-transform: uppercase; letter-spacing: 0.06em; }

/* ================================================================
   5. PROCESS — Accordion gallery with image reveal
   Each step has an image on the right. Hover → image slides in.
   ================================================================ */
.svc-alt-process {
    display: flex; gap: 8px;
    height: clamp(420px, 50vh, 600px);
    border-radius: 20px; overflow: hidden;
}
.svc-alt-step {
    flex: 1; position: relative; overflow: hidden;
    background: #1a1a1a;
    transition: flex 0.55s cubic-bezier(0.2, 0.36, 0.12, 1);
    cursor: pointer; min-width: 72px;
    display: flex; flex-direction: column;
}
.svc-alt-step:hover { flex: 3; }
.svc-alt-step-num {
    position: absolute; top: 28px; left: 28px;
    font-size: 40px; font-weight: 800; color: rgba(255,255,255,0.14);
    line-height: 1; z-index: 2; pointer-events: none;
    transition: color 0.4s;
}
.svc-alt-step:hover .svc-alt-step-num { color: rgba(255,255,255,0.25); }
.svc-alt-step-img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0.30;
    transition: opacity 0.6s, transform 0.8s cubic-bezier(0.2,0.36,0.12,1);
    filter: grayscale(40%);
}
.svc-alt-step:hover .svc-alt-step-img {
    opacity: 0.75; transform: scale(1.04);
    filter: grayscale(0%);
}
.svc-alt-step-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.10) 100%);
    z-index: 1; transition: background 0.5s;
}
.svc-alt-step:hover .svc-alt-step-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.05) 100%);
}
.svc-alt-step-body {
    position: absolute; bottom: 28px; left: 28px; right: 28px;
    z-index: 3;
}
.svc-alt-step-body h4 {
    font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 4px;
    transition: font-size 0.4s;
}
.svc-alt-step:hover .svc-alt-step-body h4 { font-size: 22px; }
.svc-alt-step-body p {
    font-size: 0; color: rgba(255,255,255,0.70); line-height: 1.6;
    transition: font-size 0.4s, opacity 0.4s; opacity: 0;
    max-width: 320px; margin: 0;
}
.svc-alt-step:hover .svc-alt-step-body p {
    font-size: 13px; opacity: 1;
}
.svc-alt-step-meta {
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.10em; color: #E20612;
    transition: margin 0.4s; margin-bottom: 0;
}
.svc-alt-step:hover .svc-alt-step-meta { margin-bottom: 8px; }
.svc-alt-step-bar {
    width: 20px; height: 2px; background: rgba(255,255,255,0.30);
    margin-top: 12px; transition: width 0.5s, background 0.4s;
}
.svc-alt-step:hover .svc-alt-step-bar { width: 48px; background: #E20612; }

/* ================================================================
   6. USP — Alternating image + selling point grid
   Row 1: IMAGE | CARD | CARD
   Row 2: CARD | CARD | IMAGE
   ================================================================ */
.svc-alt-usp {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    height: clamp(500px, 55vh, 640px);
}
.svc-alt-usp-img {
    border-radius: 18px; overflow: hidden; position: relative;
    background-size: cover; background-position: center;
    transition: transform 0.5s cubic-bezier(0.2,0.36,0.12,1);
}
.svc-alt-usp-img:hover { transform: scale(1.02); }
.svc-alt-usp-img-glass {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.03) 100%);
    border-radius: 18px;
}
.svc-alt-usp-img-content {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: clamp(24px, 3vw, 40px); z-index: 2;
}
.svc-alt-usp-img-content h4 {
    font-size: clamp(16px, 2vw, 24px); font-weight: 800;
    color: #fff; margin: 0 0 8px; line-height: 1.2;
}
.svc-alt-usp-img-content p {
    font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.6; margin: 0;
    max-width: 340px;
}
.svc-alt-usp-card {
    background: #fff; border: 1px solid #e8e8e8; border-radius: 18px;
    padding: clamp(20px, 3vw, 32px);
    display: flex; flex-direction: column; justify-content: center;
    transition: all 0.35s ease; position: relative; overflow: hidden;
}
.svc-alt-usp-card:hover {
    box-shadow: 0 10px 32px rgba(0,0,0,0.07);
    transform: translateY(-3px); border-color: #ccc;
}
.svc-alt-usp-card-icon {
    font-size: 28px; margin-bottom: 12px;
}
.svc-alt-usp-card h4 {
    font-size: 15px; font-weight: 700; color: #1a1a1a;
    margin: 0 0 6px; line-height: 1.3;
}
.svc-alt-usp-card p {
    font-size: 13px; color: #666; line-height: 1.6; margin: 0;
}
.svc-alt-usp-card::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 3px;
    background: #E20612;
    transition: width 0.5s cubic-bezier(0.2,0.36,0.12,1);
}
.svc-alt-usp-card:hover::after { width: 100%; }

/* ================================================================
   7. CTA — Bold dark closer
   ================================================================ */
.svc-alt-cta {
    border-radius: 24px; padding: clamp(56px, 8vw, 88px) clamp(28px, 5vw, 64px);
    text-align: center; position: relative; overflow: hidden;
    background: #0d0d0d;
}
.svc-alt-cta::before {
    content: '✦'; position: absolute; top: -60px; left: 50%;
    transform: translateX(-50%);
    font-size: 380px; color: rgba(255,255,255,0.008);
    pointer-events: none; line-height: 1;
}
.svc-alt-cta h2 {
    font-size: clamp(28px, 6vw, 64px); font-weight: 800; color: #fff;
    margin: 0 0 20px; line-height: 1.05; letter-spacing: -0.03em;
    position: relative; z-index: 1;
}
.svc-alt-cta p {
    font-size: 16px; color: rgba(255,255,255,0.35);
    max-width: 440px; margin: 0 auto 36px; line-height: 1.7;
    position: relative; z-index: 1;
}
.svc-alt-cta-actions {
    display: flex; align-items: center; justify-content: center; gap: 22px;
    flex-wrap: wrap; position: relative; z-index: 1;
}
.svc-alt-cta-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: #E20612; color: #fff;
    font-size: 15px; font-weight: 700;
    text-decoration: none; padding: 17px 42px; border-radius: 100px;
    letter-spacing: 0.08em; text-transform: uppercase;
    transition: background 0.25s, transform 0.25s;
}
.svc-alt-cta-btn:hover { background: #c40510; transform: scale(1.04); }
.svc-alt-cta-phone {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 17px; font-weight: 700; color: rgba(255,255,255,0.60);
    text-decoration: none; transition: color 0.2s;
}
.svc-alt-cta-phone:hover { color: #fff; }
.svc-alt-cta-phone svg { width: 18px; height: 18px; stroke: currentColor; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
    .svc-alt-db { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; height: auto; }
    .svc-alt-db-divider { display: none; }
    .svc-alt-usp { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; height: auto; }
    .svc-alt-usp .svc-alt-usp-img:nth-child(1) { grid-row: 1; }
}

@media (max-width: 768px) {
    .svc-alt-hero { height: clamp(360px, 50vh, 480px); border-radius: 12px; }
    .svc-alt-hero h1 { font-size: clamp(2rem, 7vw, 3rem); }
    .svc-alt-db { border-radius: 16px; }
    .svc-alt-process { flex-direction: column; height: auto; gap: 6px; }
    .svc-alt-step { min-height: 72px; flex: none !important; }
    .svc-alt-step:hover { min-height: 240px; }
    .svc-alt-step-body p { font-size: 13px; opacity: 1; }
    .svc-alt-svc-content { flex-direction: column; align-items: flex-start; }
    .svc-alt-usp { grid-template-columns: 1fr; height: auto; }
    .svc-alt-usp-img { min-height: 250px; }
}

@media (max-width: 520px) {
    .svc-alt-sec { padding: 36px 0; }
    .svc-alt-hero { height: clamp(280px, 45vh, 360px); }
    .svc-alt-hero-badge { top: 14px; right: 14px; padding: 7px 12px; }
    .svc-alt-cta { padding: 48px 20px; border-radius: 16px; }
}
