/* ============================================
   Vardaman Infra - Edifico-Inspired Dark Theme
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #cc0000;
    --primary-hover: #e60000;
    --primary-glow: rgba(204, 0, 0, 0.15);
    --accent-yellow: #ff1a1a;
    --dark-bg: #ffffff;
    --dark-card: #f5f5f5;
    --dark-surface: #fafafa;
    --text-white: #1a1a2e;
    --text-muted: rgba(26, 26, 46, 0.55);
    --text-light: rgba(26, 26, 46, 0.7);
    --text-body: #333333;
    --border-dark: rgba(0, 0, 0, 0.08);
    --radius: 40px;
    --radius-md: 20px;
    --radius-sm: 8px;
    --radius-pill: 50px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.1);
    --transition: 0.3s ease;
    --font-heading: 'Exo', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

[data-theme="dark"] {
    --primary: #cc0000;
    --primary-hover: #e60000;
    --primary-glow: rgba(204, 0, 0, 0.3);
    --accent-yellow: #ff1a1a;
    --dark-bg: #121212;
    --dark-card: #30363d;
    --dark-surface: #1a1f25;
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.5);
    --text-light: rgba(255, 255, 255, 0.7);
    --text-body: #e0e0e0;
    --border-dark: rgba(255, 255, 255, 0.08);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background: var(--dark-bg);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* Remix Icon base sizing */
i[class^="ri-"],
i[class*=" ri-"] {
    font-style: normal;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
}
.tag-star i { font-size: 1rem; }
.feature-icon i { font-size: 1.1rem; }
.contact-card-icon i { font-size: 1.4rem; }
.sreno-card-badge i,
.sp-card-badge i,
.sp-dark-card-badge i { font-size: 1.2rem; }
.sp-dark-icon-bg i { font-size: 2.5rem; }
.sp-fb-icon i { font-size: 1.3rem; }
.hero-thumb-img i { font-size: 3.5rem; }
.about-image-placeholder i { font-size: 4rem; }
.feature-card-img-placeholder i { font-size: 4.5rem; }
.feature-card-building i { font-size: 5rem; }
.play-icon i { font-size: 1.4rem; }
.sp-core-img-placeholder i { font-size: 5rem; }
.sp-support-img i { font-size: 3rem; }
.stars i, .sreno-stars i,
.sp-testi-stars i,
.sp-testi-rating-stars i,
.sreno-rating .sreno-stars i { font-size: inherit; }
.sp-faq-chevron i { font-size: 1.2rem; transition: transform 0.3s; }
.sp-faq-open .sp-faq-chevron i { transform: rotate(180deg); }

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-white);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; }

.text-accent { color: var(--primary); }

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-white);
    margin-bottom: 12px;
}
.tag-star {
    color: var(--primary);
    font-size: 1rem;
}
.section-title { margin-bottom: 16px; }
.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* --- Buttons --- */
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all var(--transition);
    text-decoration: none;
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.btn-hero-text {
    display: inline-block;
    padding: 14px 28px;
    background: var(--primary);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    transition: background 0.3s;
}
.btn-hero-text:hover {
    background: var(--primary-hover);
}
.btn-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.2rem;
    margin-left: 4px;
    transition: background 0.3s;
}
.btn-hero:hover .btn-hero-text {
    background: var(--primary-hover);
    color: #ffffff;
}
.btn-hero:hover .btn-hero-icon {
    background: var(--primary-hover);
    color: #ffffff;
}
.btn-full {
    width: 100%;
    justify-content: center;
}
.btn-full .btn-hero-text {
    flex: 1;
    text-align: center;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-dark);
    transition: all var(--transition);
}
.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}
[data-theme="dark"] .header {
    background: rgba(18, 18, 18, 0.9);
}
[data-theme="dark"] .header.scrolled {
    background: rgba(18, 18, 18, 0.98);
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: var(--text-white);
}
.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}
/* Both logos: white logo on dark pill, color logo on light bg */
.logo-img-light {
    display: none;
}
.logo-img-dark {
    display: block;
    background: #1a1a2e;
    padding: 5px 14px;
    border-radius: 8px;
}
[data-theme="dark"] .logo-img-dark {
    background: none;
    padding: 0;
}
.logo-icon {
    width: 38px;
    height: 38px;
    background: var(--primary);
    color: var(--text-white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    font-family: var(--font-heading);
}
.logo-text {
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.nav {
    display: flex;
    gap: 32px;
}
.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    padding: 4px 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: var(--text-white); }

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
}
.phone-icon {
    width: 44px;
    height: 44px;
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
}
.phone-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.phone-number {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary);
    color: #ffffff;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
}
.btn-cta:hover {
    background: var(--primary-hover);
    color: #ffffff;
}
.btn-cta-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    font-size: 0.9rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: all var(--transition);
}

/* --- Hero Section --- */
.hero {
    padding: 100px 20px 20px;
}

.hero-rounded {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.5);
    --text-light: rgba(255, 255, 255, 0.7);
    color: #ffffff;
}

/* Desktop Video/Image Background */
.hero-media-desktop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #111;
}
.hero-media-desktop video,
.hero-media-desktop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.45) 40%,
        rgba(0, 0, 0, 0.25) 100%
    );
    z-index: 1;
}

/* Mobile Video (hidden on desktop, vertical/portrait) */
.hero-media-mobile {
    display: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    padding: 80px 60px 60px;
    max-width: 720px;
}

/* Hero Content */
.hero-subtitle {
    display: inline-block;
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -1px;
    color: #ffffff;
    margin-bottom: 20px;
}
.hero-bold {
    font-weight: 900;
}

.hero-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 540px;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s;
    border: none;
    background: none;
    cursor: pointer;
    font-family: var(--font-body);
}
.btn-hero-outline:hover {
    color: #ffffff;
}
.btn-hero-outline i {
    transition: transform 0.3s;
}
.btn-hero-outline:hover i {
    transform: translateX(4px);
}

/* --- Sections --- */
.section {
    padding: 100px 0;
}
.section:nth-child(even) {
    background: var(--dark-surface);
}

/* --- Features / Who We Are Section --- */
.features-section {
    background: var(--dark-bg) !important;
}

.features-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 400;
    line-height: 1.3;
    color: var(--text-white);
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}
.features-bold {
    font-weight: 900;
    font-style: italic;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

/* Feature Card Base */
.feature-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    min-height: 510px;
    transition: all var(--transition);
}
.feature-card:hover {
    transform: translateY(-6px);
}

/* Card 1 - Dark with image on top */
.feature-card-dark {
    background: var(--dark-card);
    border: 1px solid var(--primary);
    display: flex;
    flex-direction: column;
    padding: 30px;
}
.feature-card-image {
    flex: 1;
    margin-bottom: 24px;
}
.feature-card-img-placeholder {
    width: 75%;
    aspect-ratio: 1;
    background: #111;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    position: relative;
    overflow: hidden;
}
.feature-card-body h3 {
    font-family: var(--font-body);
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 12px;
}
.feature-card-body p {
    font-size: 0.95rem;
    color: rgba(192, 192, 192, 1);
    line-height: 1.65;
    margin-bottom: 12px;
}
.feature-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: all 0.4s;
}
.feature-card-link:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.feature-card-link span {
    color: var(--primary);
    transition: transform 0.3s;
}
.feature-card-link:hover span {
    transform: translateX(4px);
}

/* Card 2 - Accent/Red top, image bottom */
.feature-card-accent {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--primary);
}
.feature-card-top {
    background: var(--primary);
    padding: 34px 36px;
    flex-shrink: 0;
}
.feature-card-top h3 {
    font-family: var(--font-body);
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 12px;
}
.feature-card-top p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
    margin-bottom: 12px;
}
.feature-card-top .feature-card-link {
    color: var(--text-white);
    font-weight: 700;
}
.feature-card-top .feature-card-link span {
    color: var(--text-white);
}
.feature-card-top .feature-card-link:hover {
    color: rgba(255, 255, 255, 0.8);
}
.feature-card-bottom-img {
    flex: 1;
    background: var(--primary);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}
.feature-card-building {
    width: 100%;
    height: 100%;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    position: relative;
}
.feature-card-building::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(0,0,0,0.15) 0%, transparent 50%),
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 40px,
            rgba(0, 200, 200, 0.15) 40px,
            rgba(0, 200, 200, 0.15) 48px
        );
}

/* Card 3 - Full background image with gradient overlay */
.feature-card-values {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 34px 40px 35px;
    background:
        #111;
    border: 1px solid rgba(255, 94, 20, 0.4);
    position: relative;
}
.feature-card-values::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    background:
        linear-gradient(180deg, transparent 0%, transparent 30%, rgba(56, 18, 0, 0.7) 65%, rgba(56, 18, 0, 0.9) 100%);
    z-index: 1;
}
.feature-card-values::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    background:
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 25px,
            rgba(180, 80, 0, 0.2) 25px,
            rgba(180, 80, 0, 0.2) 30px
        ),
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 60px,
            rgba(0, 0, 0, 0.05) 60px,
            rgba(0, 0, 0, 0.05) 62px
        );
    z-index: 0;
}
.feature-card-values .feature-card-body {
    position: relative;
    z-index: 2;
}
.feature-card-values .feature-card-body h3 {
    font-size: 1.35rem;
}
.feature-card-values .feature-card-body p {
    color: rgba(192, 192, 192, 1);
}

/* Features Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-card:last-child {
        grid-column: span 2;
    }
}
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .feature-card {
        min-height: 400px;
    }
    .feature-card:last-child {
        grid-column: span 1;
    }
    .features-heading {
        font-size: 1.6rem;
    }
}

/* --- About --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image {
    position: relative;
}
.about-image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: #111;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    border: 1px solid rgba(255,255,255,0.05);
}
.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary);
    color: #ffffff;
    padding: 20px 28px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.badge-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    font-family: var(--font-heading);
    white-space: nowrap;
}
.badge-text {
    font-size: 0.8rem;
    font-weight: 600;
}
.about-content p {
    color: var(--text-muted);
    margin-bottom: 32px;
}
.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
}
.feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.feature-icon {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 2px;
}
.feature h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-white);
}
.feature p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* --- Services (Renofix-style) --- */
.services-renofix {
    background: var(--dark-surface) !important;
}

.services-reno-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 500;
    line-height: 1.3;
    color: var(--text-white);
    max-width: 650px;
    margin: 0 auto 60px;
    text-align: center;
}

.services-reno-grid {
    display: flex;
    gap: 24px;
    margin-bottom: 50px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
    padding-bottom: 12px;
    align-items: stretch;
}
.services-reno-grid > * {
    scroll-snap-align: start;
    flex: 0 0 calc(25% - 18px);
    min-width: 280px;
}

/* Service Reno Card */
.sreno-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-dark);
    background: var(--dark-card);
    transition: all var(--transition);
    height: 420px;
}
.sreno-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.sreno-card-top {
    padding: 30px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.sreno-card-top h3 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
    line-height: 1.35;
}
.sreno-card-top p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
    flex: 1;
}

.sreno-divider {
    width: 100%;
    height: 1px;
    background: var(--border-dark);
    margin: 20px 0;
}

.sreno-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
    transition: all 0.3s;
}
.sreno-link span {
    color: var(--primary);
    transition: transform 0.3s;
}
.sreno-link:hover {
    color: var(--primary);
}
.sreno-link:hover span {
    transform: translateX(4px);
}

.sreno-card-bottom {
    position: relative;
    height: 180px;
    flex-shrink: 0;
}

.sreno-card-img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    background: #111;
    background-size: cover;
    background-position: center;
}

/* Placeholder gradient images */
.sreno-img-highway,
.sreno-img-commercial,
.sreno-img-water,
.sreno-img-residential {
    background: #111 url('images/placeholder-16x9.jpg') center/cover no-repeat;
}

/* Badge icon overlay */
.sreno-card-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.sreno-badge-1 { background: var(--primary); }
.sreno-badge-2 { background: #2196f3; }
.sreno-badge-3 { background: #26a69a; }
.sreno-badge-4 { background: #7c4dff; }

/* Footer text + rating */
.sreno-footer {
    text-align: center;
    padding-top: 10px;
}
.sreno-footer-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-style: italic;
}
.sreno-footer-text a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.sreno-footer-text a:hover {
    color: var(--accent-yellow);
}

.sreno-rating {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}
.sreno-rating-num {
    font-weight: 700;
    color: var(--text-white);
    font-size: 1.05rem;
}
.sreno-stars {
    color: var(--primary);
    font-size: 1.1rem;
    letter-spacing: 2px;
}
.sreno-rating-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Services Renofix responsive */
@media (max-width: 1024px) {
    .services-reno-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .services-reno-grid {
        grid-template-columns: 1fr;
    }
    .sreno-card-bottom {
        min-height: 180px;
    }
}

/* --- Projects --- */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 10px 24px;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-pill);
    background: transparent;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    color: var(--text-light);
    font-family: var(--font-body);
}
.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.project-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--dark-card);
    border: 1px solid var(--border-dark);
    transition: all var(--transition);
}
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.project-card.hidden {
    display: none;
}
.project-image {
    aspect-ratio: 16/10;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.85rem;
}
.project-info {
    padding: 24px;
}
.project-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 8px;
    display: block;
}
.project-info h3 { margin-bottom: 8px; color: var(--text-white); }
.project-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Team --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.team-grid-5 {
    grid-template-columns: repeat(5, 1fr);
}
.team-card {
    text-align: center;
    padding: 36px 20px;
    border-radius: var(--radius-md);
    background: var(--dark-card);
    border: 1px solid var(--border-dark);
    transition: all var(--transition);
}
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dark-surface) 0%, var(--dark-card) 100%);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    border: 2px solid var(--border-dark);
}
.team-card h3 { margin-bottom: 4px; font-size: 1.1rem; color: var(--text-white); }
.team-role {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 12px;
}
.team-bio {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* --- Testimonials --- */
.testimonials {
    background: var(--dark-bg);
}
.testimonials .section-title { color: var(--text-white); }
.testimonials .section-tag { color: var(--text-white); }
.testimonials .stars i { color: var(--primary); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.testimonial-card {
    background: var(--dark-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: all var(--transition);
}
.testimonial-card:hover {
    border-color: var(--primary);
}
.stars {
    color: var(--accent-yellow);
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.testimonial-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.7;
}
.testimonial-author strong {
    display: block;
    color: var(--text-white);
}
.testimonial-divider {
    border: none;
    height: 1px;
    background: var(--border-dark);
    margin: 20px 0;
}
.testimonial-author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Contact (Refined) --- */
.contact-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 48px;
}
.contact-top-left {
    max-width: 480px;
}
.contact-top-right {
    max-width: 420px;
    padding-top: 36px;
}
.contact-top-right p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Contact Info Cards */
.contact-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}
.contact-card {
    background: var(--dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.3s;
}
.contact-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.contact-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(204, 0, 0, 0.1);
    border: 1px solid rgba(204, 0, 0, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}
.contact-card h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}
.contact-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}
.contact-card-sub {
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
    margin-top: 4px;
}

/* Form Card */
.contact-form-card {
    background: var(--dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}
.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
}
.contact-form-header {
    margin-bottom: 28px;
}
.contact-form-header h3 {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 6px;
}
.contact-form-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 6px;
    color: var(--text-light);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--border-dark);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s;
    background: var(--dark-surface);
    color: var(--text-white);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}
.form-group select {
    color: var(--text-body);
}
.form-group select option {
    background: var(--dark-bg);
    color: var(--text-body);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
    background: rgba(204, 0, 0, 0.03);
}
.form-group textarea { resize: vertical; }

.form-submit-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 4px;
}
button.btn-hero {
    background: none;
    border: none;
    cursor: pointer;
}
button.btn-hero .btn-hero-text,
.form-submit-row .btn-hero-text {
    background: var(--primary);
    color: #ffffff;
}
button.btn-hero .btn-hero-icon,
.form-submit-row .btn-hero-icon {
    background: var(--primary);
    color: #ffffff;
}
.form-note {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Contact Responsive */
@media (max-width: 1024px) {
    .contact-top-bar { flex-direction: column; gap: 16px; }
    .contact-cards-row { grid-template-columns: repeat(3, 1fr); }
    .form-row-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .contact-cards-row { grid-template-columns: 1fr; }
    .form-row-3, .form-row-2 { grid-template-columns: 1fr; }
    .contact-form-card { padding: 24px; }
    .form-submit-row { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* --- Footer --- */
.footer {
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.5);
    --text-light: rgba(255, 255, 255, 0.7);
    --dark-surface: #1a1f25;
    --dark-card: #30363d;
    --border-dark: rgba(255, 255, 255, 0.08);
    background: #1a1f25;
    color: rgba(255, 255, 255, 0.5);
    padding: 60px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-dark);
}
.footer-about .logo { margin-bottom: 16px; }
.footer-about p { font-size: 0.9rem; line-height: 1.7; }
.footer-links h4 {
    color: var(--text-white);
    margin-bottom: 20px;
    font-size: 1rem;
}
.footer-links a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 6px 0;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--primary); }
.footer-team-member {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 4px 0;
    line-height: 1.5;
}
.footer-team-member strong {
    color: var(--text-white);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 24px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.footer-bottom-right a {
    color: var(--text-muted);
    font-size: 0.85rem;
}
.footer-bottom-right a:hover {
    color: var(--primary);
}

/* --- Theme Toggle --- */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-dark);
    background: var(--dark-card);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s;
    flex-shrink: 0;
}
.theme-toggle:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* --- Horizontal Scroll Containers --- */
.horizontal-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
    padding-bottom: 12px;
}
.horizontal-scroll::-webkit-scrollbar {
    height: 4px;
}
.horizontal-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.horizontal-scroll::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}
.horizontal-scroll > * {
    scroll-snap-align: start;
    flex-shrink: 0;
}

/* --- Light Mode Card Enhancements --- */
.sreno-card,
.project-card,
.contact-card,
.contact-form-card {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
[data-theme="dark"] .sreno-card,
[data-theme="dark"] .project-card,
[data-theme="dark"] .contact-card,
[data-theme="dark"] .contact-form-card {
    box-shadow: none;
}

/* Light mode: feature-card text colors */
.feature-card-body p {
    color: var(--text-muted);
}
.feature-card-body h3,
.feature-card-link {
    color: var(--text-white);
}

/* Light mode play button bg fix */
.play-btn {
    background: #121212;
}
.play-icon {
    color: #ffffff;
}

/* --- Smooth Theme Transition --- */
body, .header, .section, .footer,
.service-card, .project-card, .team-card,
.testimonial-card, .contact-card, .contact-form-card,
.feature-card, .sreno-card {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* --- Responsive --- */
@media (max-width: 1200px) {
    .hero-container { padding: 60px 40px 40px; }
    .hero-title { font-size: 2.6rem; }
}

@media (max-width: 1024px) {
    .hero-container { padding: 50px 32px 36px; }
    .hero-title { font-size: 2.2rem; }
    .hero-desc { font-size: 0.9rem; }
    .services-grid,
    .projects-grid,
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid, .team-grid-5 { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-container { padding: 50px 32px 36px; }
    .header-phone { display: none; }
    .services-reno-grid,
    .testimonials-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--primary) transparent;
        padding-bottom: 12px;
    }
    .services-reno-grid > *,
    .testimonials-grid > * {
        scroll-snap-align: start;
        flex-shrink: 0;
        min-width: 300px;
        width: 340px;
    }
    .projects-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 12px;
    }
    .projects-grid > * {
        scroll-snap-align: start;
        flex-shrink: 0;
        min-width: 300px;
        width: 340px;
    }
}

@media (max-width: 768px) {
    /* Container tighter on tablet */
    .container { padding: 0 16px; }

    /* Nav */
    .nav { display: none; }
    .nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--dark-bg);
        padding: 20px;
        gap: 12px;
        border-bottom: 1px solid var(--border-dark);
        box-shadow: var(--shadow);
        z-index: 999;
    }
    .header .container { height: 64px; }
    .header-phone, .btn-cta { display: none !important; }
    .header-right { gap: 10px; }
    .hamburger { display: flex; }
    .hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .logo-img { height: 32px; }
    .theme-toggle { width: 36px; height: 36px; font-size: 1rem; }

    /* Sections */
    .section { padding: 48px 0; }
    .section-header { margin-bottom: 28px; }
    .section-title { font-size: 1.4rem; }
    .section-subtitle { font-size: 0.9rem; }

    /* ===== HERO MOBILE: video top → text below ===== */
    .hero {
        padding: 72px 10px 10px;
    }
    .hero-rounded {
        border-radius: 20px;
        min-height: auto;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    /* Hide desktop bg video */
    .hero-media-desktop { display: none; }

    /* Show mobile vertical video */
    .hero-media-mobile {
        display: block;
        width: 100%;
        height: 55vh;
        min-height: 280px;
        max-height: 420px;
        overflow: hidden;
        background: #111;
        position: relative;
    }
    .hero-media-mobile video,
    .hero-media-mobile img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    /* Subtle gradient at bottom of video blending into text area */
    .hero-media-mobile::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: linear-gradient(to top, #121212, transparent);
        pointer-events: none;
    }

    /* Text section below video — forced dark bg */
    .hero-container {
        position: static;
        padding: 20px 16px 28px;
        max-width: 100%;
        background: #121212;
    }
    .hero-subtitle {
        font-size: 0.55rem;
        letter-spacing: 1.5px;
        margin-bottom: 6px;
        color: var(--primary);
        font-weight: 600;
    }
    .hero-title {
        font-size: 1.4rem;
        max-width: 100%;
        line-height: 1.2;
        margin-bottom: 8px;
        color: #ffffff;
        letter-spacing: -0.3px;
    }
    .hero-bold { font-weight: 800; }
    .hero-desc {
        max-width: 100%;
        font-size: 0.82rem;
        margin-bottom: 16px;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.6);
    }
    .hero-actions {
        display: flex;
        gap: 12px;
        align-items: center;
    }
    .btn-hero-text { padding: 10px 18px; font-size: 0.82rem; }
    .btn-hero-icon { width: 36px; height: 36px; font-size: 0.85rem; margin-left: 2px; }
    .btn-hero-outline {
        font-size: 0.82rem;
        padding: 8px 0;
        color: rgba(255, 255, 255, 0.5);
    }

    /* Features heading */
    .features-heading { font-size: 1.25rem; margin-bottom: 28px; max-width: 100%; }
    .services-reno-heading { font-size: 1.25rem; margin-bottom: 28px; }

    /* About */
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-image-placeholder { aspect-ratio: 16/9; font-size: 2.5rem; }
    .about-content p { font-size: 0.9rem; margin-bottom: 24px; }
    .experience-badge { bottom: -8px; right: 8px; padding: 12px 16px; }
    .badge-number { font-size: 1rem; }
    .badge-text { font-size: 0.7rem; }
    .about-features { gap: 14px; margin-bottom: 24px; }
    .feature h4 { font-size: 0.9rem; }
    .feature p { font-size: 0.8rem; }

    /* Horizontal scroll cards */
    .services-reno-grid,
    .projects-grid,
    .testimonials-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 8px;
        gap: 12px;
    }
    .services-reno-grid::-webkit-scrollbar,
    .projects-grid::-webkit-scrollbar,
    .testimonials-grid::-webkit-scrollbar { display: none; }
    .services-reno-grid > *,
    .projects-grid > *,
    .testimonials-grid > * {
        scroll-snap-align: start;
        flex-shrink: 0;
        width: 72vw;
        max-width: 280px;
    }

    .features-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 8px;
        gap: 12px;
    }
    .features-grid::-webkit-scrollbar { display: none; }
    .features-grid > * {
        scroll-snap-align: start;
        flex-shrink: 0;
        width: 72vw;
        max-width: 280px;
    }
    .feature-card { min-height: 340px; }
    .feature-card-dark { padding: 20px; }
    .feature-card-img-placeholder { width: 65%; font-size: 3rem; }
    .feature-card-body h3 { font-size: 1.15rem; }
    .feature-card-body p { font-size: 0.85rem; }
    .feature-card-top { padding: 24px; }

    /* Service cards compact */
    .sreno-card { height: 360px; }
    .sreno-card-top { padding: 20px 18px; }
    .sreno-card-top h3 { font-size: 1.05rem; }
    .sreno-card-top p { font-size: 0.8rem; }
    .sreno-divider { margin: 14px 0; }
    .sreno-card-bottom { height: 150px; }

    /* Project cards compact */
    .project-info { padding: 16px; }
    .project-info h3 { font-size: 1rem; }
    .project-info p { font-size: 0.8rem; }
    .project-category { font-size: 0.65rem; }

    /* Testimonial cards compact */
    .testimonial-card { padding: 22px; }
    .testimonial-card p { font-size: 0.85rem; margin-bottom: 16px; }
    .testimonial-author strong { font-size: 0.9rem; }

    /* Contact */
    .contact-top-bar { flex-direction: column; gap: 8px; }
    .contact-top-left { max-width: 100%; }
    .contact-top-right { max-width: 100%; padding-top: 0; }
    .contact-cards-row {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 8px;
        gap: 10px;
    }
    .contact-cards-row::-webkit-scrollbar { display: none; }
    .contact-cards-row > * {
        scroll-snap-align: start;
        flex-shrink: 0;
        width: 72vw;
        max-width: 260px;
    }
    .contact-card { padding: 20px 18px; }
    .contact-card-icon { width: 40px; height: 40px; font-size: 1.1rem; margin-bottom: 12px; }
    .contact-card h4 { font-size: 0.9rem; }
    .contact-card p { font-size: 0.8rem; }
    .contact-form-card { padding: 20px 16px; border-radius: 16px; }
    .contact-form-header h3 { font-size: 1.1rem; }
    .form-row-3, .form-row-2 { grid-template-columns: 1fr; gap: 0; }
    .form-group { margin-bottom: 14px; }
    .form-group input, .form-group select, .form-group textarea { padding: 11px 14px; font-size: 0.9rem; }
    .form-submit-row { flex-direction: column; align-items: stretch; gap: 10px; }
    .form-note { font-size: 0.75rem; text-align: center; }

    /* Filter buttons */
    .project-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        scrollbar-width: none;
        padding-bottom: 6px;
        gap: 6px;
    }
    .project-filters::-webkit-scrollbar { display: none; }
    .filter-btn { white-space: nowrap; padding: 7px 16px; font-size: 0.75rem; }

    /* Footer compact */
    .footer { padding: 40px 0 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-about p { font-size: 0.8rem; }
    .footer-links h4 { font-size: 0.9rem; margin-bottom: 12px; }
    .footer-links a { font-size: 0.8rem; padding: 4px 0; }
    .footer-team-member { font-size: 0.8rem; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; padding: 16px 0; }

    /* Team */
    .team-grid, .team-grid-5 { grid-template-columns: 1fr 1fr; gap: 12px; }
    .team-card { padding: 20px 12px; }
    .team-photo { width: 64px; height: 64px; }
    .team-card h3 { font-size: 0.95rem; }
    .team-role { font-size: 0.75rem; }
    .team-bio { font-size: 0.75rem; }

    /* Button compact */
    .btn-hero-text { padding: 10px 20px; font-size: 0.85rem; }
    .btn-hero-icon { width: 38px; height: 38px; font-size: 0.9rem; }
}

/* Extra small screens */
@media (max-width: 480px) {
    .container { padding: 0 12px; }
    .hero { padding: 62px 8px 8px; }
    .hero-rounded { border-radius: 16px; }
    .hero-media-mobile {
        height: 50vh;
        min-height: 240px;
        max-height: 360px;
    }
    .hero-container { padding: 16px 14px 24px; }
    .hero-title { font-size: 1.2rem; line-height: 1.2; }
    .hero-subtitle { font-size: 0.5rem; }
    .hero-desc { font-size: 0.78rem; margin-bottom: 14px; }
    .section { padding: 36px 0; }
    .section-header { margin-bottom: 20px; }
    .section-title { font-size: 1.2rem; }
    .features-heading { font-size: 1.1rem; margin-bottom: 20px; }
    .services-reno-heading { font-size: 1.1rem; margin-bottom: 20px; }
    .services-reno-grid > *,
    .projects-grid > *,
    .testimonials-grid > *,
    .features-grid > *,
    .contact-cards-row > * { width: 78vw; }
    .about-content p { font-size: 0.85rem; }
    .footer-grid { gap: 20px; }
    .logo-img { height: 28px; }
    .header .container { height: 56px; }
    .nav.open { top: 56px; padding: 16px; gap: 10px; }
}
