/*
Theme Name: SpaceWorx
Theme URI: https://spaceworx.biz
Author: Webfox
Author URI: https://webfox.cloud
Description: Custom one-page theme for SpaceWorx Digital Marketing Agency. ACF-powered, black & white design with horizontal scrolling hero marquee.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: spaceworx
*/

/* ========================================================================
   RESET & BASE
   ======================================================================== */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --sw-black: #0a0a0a;
    --sw-dark: #111111;
    --sw-grey-dark: #1a1a1a;
    --sw-grey-mid: #333333;
    --sw-grey: #666666;
    --sw-grey-light: #999999;
    --sw-grey-lighter: #cccccc;
    --sw-off-white: #f0f0f0;
    --sw-white: #ffffff;
    --sw-accent: #ffffff;
    --sw-font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --sw-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --sw-container: 1320px;
    --sw-gap: 24px;
    --sw-radius: 16px;
    --sw-radius-sm: 8px;
    --sw-transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--sw-font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--sw-white);
    background-color: var(--sw-black);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity var(--sw-transition);
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

.sw-container {
    width: 100%;
    max-width: var(--sw-container);
    margin: 0 auto;
    padding: 0 var(--sw-gap);
}


/* ========================================================================
   HEADER / NAVIGATION
   ======================================================================== */

.sw-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    background: transparent;
    transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

.sw-header.scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 14px 0;
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.sw-header .sw-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sw-logo img {
    height: 25px;
    width: auto;
    transition: height 0.35s ease;
}

.sw-header.scrolled .sw-logo img {
    height: 22px;
}

.sw-logo .logo-text {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--sw-white);
}

.sw-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sw-nav a {
    font-size: 13px;
    font-weight: 500;
    color: var(--sw-grey-light);
    padding: 8px 16px;
    border-radius: 100px;
    transition: all var(--sw-transition);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.sw-nav a:hover,
.sw-nav a.active {
    color: var(--sw-white);
    background: var(--sw-grey-mid);
    opacity: 1;
}

/* Home icon link */
.sw-nav a.sw-nav-home {
    font-size: 0;
    line-height: 0;
    padding: 9px 14px;
}

.sw-nav a.sw-nav-home::before {
    content: '\f015';
    font-family: 'FontAwesome';
    font-size: 15px;
    color: var(--sw-white);
    line-height: 1;
}

.sw-nav-cta {
    font-size: 13px;
    font-weight: 600;
    color: var(--sw-black) !important;
    background: var(--sw-white) !important;
    padding: 10px 24px !important;
    border-radius: 100px;
    margin-left: 8px;
    transition: all var(--sw-transition);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sw-nav-cta:hover {
    background: var(--sw-off-white) !important;
    opacity: 1 !important;
}

/* Mobile menu toggle */
.sw-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}

.sw-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--sw-white);
    margin: 5px 0;
    transition: all 0.3s;
}

.sw-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.sw-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.sw-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ========================================================================
   HERO SECTION
   ======================================================================== */

.sw-hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: var(--sw-black);
    padding: 0;
    margin: 0;
}

/* Hero background video */
.sw-hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.sw-hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sw-hero-video-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.sw-hero-content {
    text-align: center;
    padding: 80px var(--sw-gap) 0;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.sw-marquee-wrap {
    position: relative;
    z-index: 2;
    margin-top: auto;
}


/* ========================================================================
   VIDEO BAND SECTION (full-width video strip)
   ======================================================================== */

.sw-video-band {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: var(--sw-black);
}

.sw-video-band video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ========================================================================
   IMAGE BAND SECTION (full-width image strip)
   ======================================================================== */

.sw-image-band {
    position: relative;
    width: 100%;
    height: 750px;
    overflow: hidden;
    background: var(--sw-black);
}

.sw-image-band img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sw-hero-subtitle {
    font-size: 15px;
    font-weight: 400;
    color: var(--sw-grey-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 32px;
    display:none;
}

.sw-hero-heading {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--sw-white);
    max-width: 800px;
    margin: 0 auto 32px;
    margin-top:60px;
}

.sw-hero-desc {
    font-size: 17px;
    color: var(--sw-grey-light);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Marquee / big text scroll */
.sw-marquee-wrap {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    border-top: 1px solid var(--sw-grey-mid);
    border-bottom: 1px solid var(--sw-grey-mid);
}

.sw-marquee {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: sw-marquee-scroll 25s linear infinite;
    will-change: transform;
}

.sw-marquee:hover {
    animation-play-state: paused;
}

.sw-marquee-item {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0 40px;
    flex-shrink: 0;
}

.sw-marquee-text {
    font-size: clamp(48px, 8vw, 100px);
    font-weight: 600;
    letter-spacing: -0.04em;
    color: var(--sw-white);
    text-transform: none;
    -webkit-text-stroke: 0;
}

.sw-marquee-text.outline {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--sw-grey);
}

.sw-marquee-star {
    font-size: clamp(24px, 4vw, 48px);
    color: var(--sw-grey);
    flex-shrink: 0;
    line-height: 1;
}

@keyframes sw-marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* ========================================================================
   PORTFOLIO / WORK SECTION
   ======================================================================== */

.sw-work {
    padding: 120px 0;
    background: var(--sw-black);
}

.sw-section-label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sw-grey-light);
    margin-bottom: 20px;
}

.sw-section-heading {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--sw-white);
    margin-bottom: 60px;
}

.sw-work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sw-gap);
}

.sw-work-card {
    position: relative;
    border-radius: var(--sw-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--sw-grey-dark);
    cursor: pointer;
    transition: transform var(--sw-transition);
}

.sw-work-card:hover {
    transform: scale(0.98);
}

.sw-work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.sw-work-card:hover img {
    transform: scale(1.05);
}

.sw-work-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.sw-work-card-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--sw-white);
    margin-bottom: 8px;
}

.sw-work-card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sw-work-card-tag {
    font-size: 12px;
    color: var(--sw-grey-light);
    padding: 4px 12px;
    border: 1px solid var(--sw-grey-mid);
    border-radius: 100px;
}


/* ========================================================================
   ABOUT SECTION
   ======================================================================== */

.sw-about {
    padding: 120px 0;
    background: var(--sw-dark);
}

.sw-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.sw-about-video-wrap {
    position: relative;
    border-radius: var(--sw-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--sw-grey-dark);
}

.sw-about-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sw-about-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--sw-transition);
}

.sw-about-play-btn:hover {
    background: rgba(255,255,255,0.25);
    transform: translate(-50%, -50%) scale(1.1);
}

.sw-about-play-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--sw-white);
    margin-left: 3px;
}

.sw-about-text h3 {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sw-grey-light);
    margin-bottom: 24px;
}

.sw-about-text h2 {
    font-size: clamp(24px, 3.5vw, 40px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--sw-white);
    margin-bottom: 24px;
}

.sw-about-text p {
    font-size: 16px;
    color: var(--sw-grey-light);
    line-height: 1.75;
    margin-bottom: 40px;
}

.sw-stats-row {
    display: flex;
    gap: 48px;
}

.sw-stat {
    display: flex;
    flex-direction: column;
}

.sw-stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--sw-white);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 8px;
}

.sw-stat-label {
    font-size: 13px;
    color: var(--sw-grey-light);
    line-height: 1.4;
}


/* ========================================================================
   SERVICES SECTION
   ======================================================================== */

.sw-services {
    padding: 120px 0;
    background: var(--sw-black);
}

.sw-services-list {
    border-top: 1px solid var(--sw-grey-mid);
}

.sw-service-item {
    display: grid;
    grid-template-columns: 60px 1fr 1fr auto;
    gap: 40px;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid var(--sw-grey-mid);
    transition: all var(--sw-transition);
    cursor: default;
}

.sw-service-item:hover {
    padding-left: 16px;
}

.sw-service-num {
    font-size: 14px;
    font-weight: 500;
    color: var(--sw-grey);
    font-variant-numeric: tabular-nums;
}

.sw-service-title {
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 600;
    color: var(--sw-white);
    letter-spacing: -0.02em;
}

.sw-service-desc {
    font-size: 15px;
    color: var(--sw-grey-light);
    line-height: 1.6;
    max-width: 400px;
}

.sw-service-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sw-service-tag {
    font-size: 12px;
    color: var(--sw-grey-light);
    padding: 6px 14px;
    border: 1px solid var(--sw-grey-mid);
    border-radius: 100px;
    white-space: nowrap;
}

/* Services video */
.sw-services-video-wrap {
    margin-top: 80px;
    border-radius: var(--sw-radius);
    overflow: hidden;
    aspect-ratio: 16/7;
    position: relative;
    background: var(--sw-grey-dark);
}

.sw-services-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ========================================================================
   APPROACH SECTION
   ======================================================================== */

.sw-approach {
    padding: 120px 0;
    background: var(--sw-dark);
}

.sw-approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sw-gap);
    margin-top: 60px;
}

.sw-approach-card {
    background: var(--sw-grey-dark);
    border-radius: var(--sw-radius);
    padding: 40px 32px;
    transition: transform var(--sw-transition);
}

.sw-approach-card:hover {
    transform: translateY(-4px);
}

.sw-approach-icon {
    width: 48px;
    height: 48px;
    background: var(--sw-grey-mid);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.sw-approach-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--sw-white);
    fill: none;
    stroke-width: 1.5;
}

.sw-approach-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--sw-white);
    margin-bottom: 12px;
    line-height: 1.3;
}

.sw-approach-card p {
    font-size: 14px;
    color: var(--sw-grey-light);
    line-height: 1.7;
}


/* ========================================================================
   MARQUEE BAND (between sections)
   ======================================================================== */

.sw-band {
    padding: 32px 0;
    overflow: hidden;
    border-top: 1px solid var(--sw-grey-mid);
    border-bottom: 1px solid var(--sw-grey-mid);
    background: var(--sw-black);
}

.sw-band .sw-marquee {
    animation-duration: 30s;
}

.sw-band .sw-marquee-text {
    font-size: clamp(28px, 4vw, 56px);
    font-weight: 500;
}


/* ========================================================================
   NUMBERS / FACTS
   ======================================================================== */

.sw-numbers {
    padding: 120px 0;
    background: var(--sw-black);
}

.sw-numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sw-gap);
    text-align: center;
}

.sw-number-item {
    padding: 40px 20px;
}

.sw-number-value {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    color: var(--sw-white);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 12px;
}

.sw-number-label {
    font-size: 14px;
    color: var(--sw-grey-light);
    line-height: 1.5;
}


/* ========================================================================
   TESTIMONIALS
   ======================================================================== */

.sw-testimonials {
    padding: 120px 0;
    background: var(--sw-dark);
}

.sw-testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sw-gap);
    margin-top: 60px;
}

.sw-testimonial-card {
    background: var(--sw-grey-dark);
    border-radius: var(--sw-radius);
    padding: 40px 32px;
}

.sw-testimonial-stars {
    color: var(--sw-white);
    font-size: 14px;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.sw-testimonial-quote {
    font-size: 17px;
    font-weight: 400;
    color: var(--sw-white);
    line-height: 1.7;
    margin-bottom: 28px;
    font-style: italic;
}

.sw-testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sw-testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--sw-grey-mid);
    overflow: hidden;
    flex-shrink: 0;
}

.sw-testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sw-testimonial-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--sw-white);
}

.sw-testimonial-role {
    font-size: 13px;
    color: var(--sw-grey-light);
}


/* ========================================================================
   CTA / CONTACT SECTION
   ======================================================================== */

.sw-contact {
    padding: 120px 0;
    background: var(--sw-black);
}

/* Impactful Creative marquee */
.sw-cta-marquee {
    overflow: hidden;
    padding: 48px 0;
    margin-bottom: 80px;
}

.sw-cta-marquee .sw-marquee-text {
    font-size: clamp(40px, 6vw, 80px);
}

.sw-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.sw-contact-left h2 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--sw-white);
    margin-bottom: 24px;
}

.sw-contact-left p {
    font-size: 16px;
    color: var(--sw-grey-light);
    line-height: 1.75;
    margin-bottom: 40px;
}

.sw-contact-info-item {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.sw-contact-info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 10px;
    background: var(--sw-grey-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    order: 0;
}

.sw-contact-info-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--sw-white);
    fill: none;
    stroke-width: 1.5;
}

.sw-contact-info-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    order: 1;
    flex: 1;
}

.sw-contact-info-text p {
    margin: 0;
    padding: 0;
}

.sw-contact-info-label {
    font-size: 13px;
    color: var(--sw-grey);
    margin: 0 0 2px 0;
    padding: 0;
    line-height: 1.3;
}

.sw-contact-info-value {
    font-size: 15px;
    color: var(--sw-white);
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

.sw-contact-info-value a {
    color: var(--sw-white);
}

/* Contact right column: form only */
.sw-contact-right {
    display: flex;
    flex-direction: column;
    gap: var(--sw-gap);
}

/* Google Map embed — full width below contact grid */
.sw-contact-map {
    margin-top: 80px;
    border-radius: var(--sw-radius);
    overflow: hidden;
    background: var(--sw-grey-dark);
}

.sw-contact-map iframe {
    width: 100%;
    height: 380px;
    display: block;
    border: 0;
    filter: grayscale(1) invert(0.92) contrast(0.9);
}

/* Contact form styling */
.sw-contact-form {
    background: var(--sw-grey-dark);
    border-radius: var(--sw-radius);
    padding: 40px;
}

.sw-contact-form .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sw-contact-form label {
    font-size: 13px;
    font-weight: 500;
    color: var(--sw-grey-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 8px;
}

.sw-contact-form input[type="text"],
.sw-contact-form input[type="email"],
.sw-contact-form input[type="tel"],
.sw-contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--sw-black);
    border: 1px solid var(--sw-grey-mid);
    border-radius: var(--sw-radius-sm);
    color: var(--sw-white);
    font-family: var(--sw-font-body);
    font-size: 15px;
    transition: border-color var(--sw-transition);
    outline: none;
}

.sw-contact-form input:focus,
.sw-contact-form textarea:focus {
    border-color: var(--sw-grey-light);
}

.sw-contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.sw-contact-form input[type="submit"],
.sw-contact-form .wpcf7-submit {
    display: inline-block;
    padding: 14px 40px;
    background: var(--sw-white);
    color: var(--sw-black);
    border: none;
    border-radius: 100px;
    font-family: var(--sw-font-body);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--sw-transition);
    align-self: flex-start;
}

.sw-contact-form input[type="submit"]:hover,
.sw-contact-form .wpcf7-submit:hover {
    background: var(--sw-off-white);
    transform: translateY(-1px);
}

.sw-contact-form .wpcf7-response-output {
    border-color: var(--sw-grey-mid) !important;
    color: var(--sw-grey-light);
    border-radius: var(--sw-radius-sm);
    margin: 0 !important;
    padding: 12px 18px !important;
}

.sw-contact-form .wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 12px;
}

/* Social links */
.sw-socials {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.sw-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--sw-grey-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--sw-transition);
}

.sw-social-link:hover {
    background: var(--sw-white);
    border-color: var(--sw-white);
    opacity: 1;
}

.sw-social-link:hover svg {
    stroke: var(--sw-black);
}

.sw-social-link svg {
    width: 16px;
    height: 16px;
    stroke: var(--sw-grey-light);
    fill: none;
    stroke-width: 1.5;
}


/* ========================================================================
   PAST CLIENTS SECTION
   ======================================================================== */

.sw-clients {
    padding: 120px 0;
    background: var(--sw-dark);
}

.sw-clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sw-gap);
    margin-top: 60px;
}

.sw-client-card {
    background: var(--sw-grey-dark);
    border-radius: var(--sw-radius);
    padding: 40px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 160px;
    transition: transform var(--sw-transition), background var(--sw-transition);
    overflow: visible;
}

.sw-client-card:hover {
    transform: translateY(-4px);
    background: var(--sw-grey-mid);
}

.sw-client-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    overflow: visible;
}

.sw-client-card-logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--sw-grey-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--sw-white);
    letter-spacing: -0.02em;
    overflow: hidden;
}

/* When logo has an image, expand to fit */
.sw-client-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sw-client-card:hover .sw-client-card-logo {
    background: var(--sw-black);
}

.sw-client-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--sw-white);
    line-height: 1.3;
}

/* Client logo image mode — when using ACF image field instead of initial */
.sw-client-card.has-logo .sw-client-card-logo {
    width: 100%;
    max-width: 160px;
    height: auto;
    min-height: 56px;
    background: transparent;
    border-radius: 0;
}

.sw-client-card.has-logo .sw-client-card-logo img {
    width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}


/* ========================================================================
   FOOTER (copyright bar only)
   ======================================================================== */

.sw-footer {
    padding: 24px 0;
    border-top: 1px solid var(--sw-grey-mid);
    background: var(--sw-black);
}

.sw-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sw-footer-copy {
    font-size: 13px;
    color: var(--sw-grey);
}

.sw-footer-copy a {
    color: var(--sw-grey-light);
}


/* ========================================================================
   BUTTONS
   ======================================================================== */

.sw-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    font-family: var(--sw-font-body);
    transition: all var(--sw-transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.sw-btn-primary {
    background: var(--sw-white);
    color: var(--sw-black);
}

.sw-btn-primary:hover {
    background: var(--sw-off-white);
    opacity: 1;
    transform: translateY(-1px);
}

.sw-btn-outline {
    background: transparent;
    color: var(--sw-white);
    border: 1px solid var(--sw-grey-mid);
}

.sw-btn-outline:hover {
    border-color: var(--sw-white);
    opacity: 1;
}

.sw-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}


/* ========================================================================
   SCROLL ANIMATIONS
   ======================================================================== */

.sw-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.sw-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.sw-reveal-delay-1 { transition-delay: 0.1s; }
.sw-reveal-delay-2 { transition-delay: 0.2s; }
.sw-reveal-delay-3 { transition-delay: 0.3s; }
.sw-reveal-delay-4 { transition-delay: 0.4s; }


/* ========================================================================
   RESPONSIVE
   ======================================================================== */

@media (max-width: 1024px) {
    .sw-work-grid {
        grid-template-columns: 1fr;
    }

    .sw-about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sw-service-item {
        grid-template-columns: 50px 1fr;
        gap: 16px;
    }

    .sw-service-desc {
        grid-column: 2;
        max-width: none;
    }

    .sw-service-tags {
        grid-column: 2;
    }

    .sw-approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sw-numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sw-testimonials-slider {
        grid-template-columns: 1fr 1fr;
    }

    .sw-contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .sw-clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .sw-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--sw-dark);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 4px;
        transition: right 0.4s ease;
        z-index: 105;
        align-items: flex-start;
    }

    .sw-nav.open {
        right: 0;
    }

    .sw-nav a {
        font-size: 16px;
        padding: 12px 0;
        width: 100%;
    }

    .sw-nav a.sw-nav-home {
        font-size: 0;
        padding: 12px 0;
    }

    .sw-nav-cta {
        margin-left: 0 !important;
        margin-top: 16px;
        text-align: center;
        width: 100%;
        display: block !important;
    }

    .sw-menu-toggle {
        display: block;
    }

    .sw-approach-grid {
        grid-template-columns: 1fr;
    }

    .sw-testimonials-slider {
        grid-template-columns: 1fr;
    }

    .sw-numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sw-stats-row {
        flex-direction: column;
        gap: 32px;
    }

    .sw-clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sw-footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .sw-contact-map iframe {
        height: 260px;
    }

   .sw-hero {
    height: 100svh;
    height: 100vh; /* fallback for older browsers */
}
    .sw-video-band {
        height: 250px;
    }

    .sw-image-band {
        height: 400px;
    }
}

/* Mobile nav overlay */
.sw-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 104;
}

.sw-nav-overlay.active {
    display: block;
}

