/* ========================================
   HOME PAGE - V2 Clean Style
   ======================================== */

/* ==========  HERO ========== */
.hero {
    position: relative;
    min-height: calc(100vh - 170px);
    padding: 5rem 0 5rem;
    background: var(--black);
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 100%;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(17, 17, 17, 0.5) 0%, rgba(17, 17, 17, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 2rem;
}

.hero-tag::before {
    display: none;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: 1.75rem;
    letter-spacing: -0.025em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: clamp(1.063rem, 1.4vw, 1.188rem);
    color: var(--gray-300);
    max-width: 580px;
    margin-bottom: 2.5rem;
    line-height: 1.65;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero .btn-secondary {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
}

/* ==========  STATS BAND ========== */
.stats-band {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 0 1rem;
    border-right: 1px solid var(--gray-200);
}

.stat-item:last-child {
    border-right: none;
}

.stat-num {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--black);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.813rem;
    color: var(--gray-500);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ==========  SECTION INTRO ========== */
.section-intro {
    padding: var(--section-pad) 0 3rem;
    background: var(--white);
}

.section-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: end;
}

.section-intro h2 {
    margin-bottom: 0;
}

.section-intro p {
    font-size: 1.063rem;
    color: var(--gray-700);
    line-height: 1.7;
    max-width: 560px;
}

/* ==========  FEATURE BLOCKS (Photo + Text alternating) ========== */
.feature-block {
    padding: 5rem 0;
    background: var(--white);
}

.feature-block-alt {
    background: var(--gray-50);
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.feature-grid.reverse {
    direction: rtl;
}

.feature-grid.reverse > * {
    direction: ltr;
}

.feature-photo {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--gray-200);
}

.feature-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-photo-corner {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--yellow);
    color: var(--black);
    padding: 1rem 1.5rem;
    font-size: 0.813rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.feature-content .eyebrow {
    margin-bottom: 1.25rem;
}

.feature-content h2 {
    margin-bottom: 1.25rem;
}

.feature-content p {
    font-size: 1.063rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 540px;
}

.feature-list {
    list-style: none;
    margin: 1.5rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.5;
}

.feature-list li svg {
    width: 18px;
    height: 18px;
    color: var(--yellow);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==========  SERVICES OVERVIEW (4-card grid) ========== */
.services-overview {
    padding: var(--section-pad) 0;
    background: var(--white);
}

.services-grid-clean {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.service-card-clean {
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: all 0.3s var(--ease);
    cursor: pointer;
}

.service-card-clean:hover {
    border-color: var(--black);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.08);
}

.service-icon-clean {
    width: 44px;
    height: 44px;
    color: var(--yellow);
    margin-bottom: 1.5rem;
}

.service-icon-clean svg {
    width: 100%;
    height: 100%;
}

.service-card-clean h3 {
    font-size: 1.188rem;
    margin-bottom: 0.625rem;
    font-weight: 700;
}

.service-card-clean p {
    font-size: 0.938rem;
    color: var(--gray-600);
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

.service-card-clean .text-link {
    font-size: 0.875rem;
    border: none;
    padding: 0;
    color: var(--gray-700);
}

.service-card-clean .text-link svg {
    width: 12px;
    height: 12px;
}

.service-card-clean:hover .text-link {
    color: var(--black);
}

/* ==========  TRUSTED BRANDS ========== */
.brands-section {
    padding: 5rem 0;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.brands-header {
    text-align: center;
    margin-bottom: 3rem;
}

.brands-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-500);
    letter-spacing: 0.02em;
}

.brands-marquee {
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 80px, black calc(100% - 80px), transparent);
    mask-image: linear-gradient(to right, transparent, black 80px, black calc(100% - 80px), transparent);
    width: 100%;
}

.brands-track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 4rem;
    animation: brands-scroll 40s linear infinite;
}

.brands-marquee:hover .brands-track {
    animation-play-state: paused;
}

@keyframes brands-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 0 1rem;
}

.brand-logo img {
    max-width: 140px;
    height: 50px;
    object-fit: contain;
    filter: grayscale(100%) opacity(60%);
    mix-blend-mode: multiply;
    transform: scale(1);
    transition: all 0.3s ease;
}

/* On hover, make the focused image colorful and slightly pop up */
.brand-logo:hover img {
    filter: grayscale(0%) opacity(100%);
    transform: scale(1.1);
    mix-blend-mode: normal;
}

@media (max-width: 768px) {
    .brands-track {
        gap: 2rem;
    }
    .brand-logo img {
        max-width: 110px;
        height: 40px;
    }
}

/* ==========  CTA SECTION ========== */
.cta-section {
    padding: 6rem 0;
    background: var(--black);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 5px;
    background: var(--yellow);
}

.cta-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1.25rem;
    max-width: 600px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.063rem;
    line-height: 1.65;
    max-width: 520px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.cta-phone {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    transition: color 0.2s var(--ease);
}

.cta-phone svg {
    width: 22px;
    height: 22px;
    color: var(--yellow);
}

.cta-phone small {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-400);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.cta-phone:hover { color: var(--yellow); }

.cta-actions .btn-yellow {
    padding: 1rem 2rem;
}

/* ==========  RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero { padding: 7rem 0 4rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(3), .stat-item:nth-child(4) { padding-top: 2rem; border-top: 1px solid var(--gray-200); }
    .section-intro-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .feature-grid { grid-template-columns: 1fr; gap: 3rem; }
    .feature-grid.reverse { direction: ltr; }
    .services-grid-clean { grid-template-columns: repeat(2, 1fr); }
    .brands-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem 1rem; }
    .cta-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 640px) {
    .stats-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .stat-item { border-right: none; padding: 1.5rem 0; border-bottom: 1px solid var(--gray-200); padding-top: 0; border-top: none; }
    .stat-item:last-child { border-bottom: none; }
    .services-grid-clean { grid-template-columns: 1fr; }
    .brands-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .feature-block { padding: 3.5rem 0; }
}

/* ========== HERO LAYOUT UPDATES ========== */
.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    height: 100%;
}

.hero-content {
    max-width: 650px; /* Reduced from 800 to firmly left-align */
    text-align: left;
}

.hero-social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.hero-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: var(--black);
    transition: all 0.3s var(--ease);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.hero-social a svg {
    width: 20px;
    height: 20px;
}

.hero-social a:hover {
    background: var(--yellow);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .hero-social {
        display: none; /* Hide floating social on mobile */
    }
    .hero-bg::after {
        background: linear-gradient(180deg, rgba(17, 17, 17, 0.7) 0%, rgba(17, 17, 17, 0.5) 60%, rgba(17, 17, 17, 0.2) 100%);
        -webkit-mask-image: linear-gradient(180deg, black 70%, transparent 100%);
        mask-image: linear-gradient(180deg, black 70%, transparent 100%);
    }
    .hero h1 {
        text-shadow: 0px 4px 15px rgba(0,0,0,0.8);
    }
}

/* ========== HERO LAYOUT UPDATES ========== */
.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    height: 100%;
}

.hero-content {
    max-width: 650px; /* Reduced from 800 to firmly left-align */
    text-align: left;
}

.hero-social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.hero-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: var(--black);
    transition: all 0.3s var(--ease);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.hero-social a svg {
    width: 20px;
    height: 20px;
}

.hero-social a:hover {
    background: var(--yellow);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .hero-social {
        display: none; /* Hide floating social on mobile */
    }
    .hero-bg::after {
        background: linear-gradient(180deg, rgba(17, 17, 17, 0.7) 0%, rgba(17, 17, 17, 0.5) 60%, rgba(17, 17, 17, 0.2) 100%);
        -webkit-mask-image: linear-gradient(180deg, black 70%, transparent 100%);
        mask-image: linear-gradient(180deg, black 70%, transparent 100%);
    }
    .hero h1 {
        text-shadow: 0px 4px 15px rgba(0,0,0,0.8);
    }
}
/* Override any remaining mobile constraints for centered hero */
.hero-content {
    max-width: 800px !important;
    text-align: center !important;
    margin: 0 auto;
}
.hero-container {
    justify-content: center !important;
}

