/* ========================================
   TecnoGastre SRL - Energia Solar
   Modern Premium Website Styles
   ======================================== */

/* === CSS Variables === */
:root {
    --primary: #f59e0b;
    --primary-dark: #d97706;
    --primary-light: #fbbf24;
    --secondary: #0ea5e9;
    --secondary-dark: #0284c7;
    --accent: #10b981;
    --dark: #0a1628;
    --dark-2: #111d33;
    --dark-3: #1a2940;
    --gray-900: #1e293b;
    --gray-800: #2d3a4e;
    --gray-700: #3d4f66;
    --gray-600: #5a6d84;
    --gray-500: #7a8da2;
    --gray-400: #94a3b8;
    --gray-300: #b0bec9;
    --gray-200: #d1dbe6;
    --gray-100: #e8edf3;
    --gray-50: #f1f5f9;
    --white: #ffffff;
    --whatsapp: #25d366;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, #f97316 100%);
    --gradient-solar: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-dark: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
    --shadow-glow: 0 0 30px rgba(245, 158, 11, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;
}

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

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

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* === Preloader === */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.sun-loader {
    width: 60px;
    height: 60px;
    position: relative;
    margin: 0 auto 20px;
}

.sun-core {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px var(--primary), 0 0 40px rgba(245, 158, 11, 0.3);
}

.sun-ray {
    position: absolute;
    width: 3px;
    height: 10px;
    background: var(--primary);
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform-origin: 50% 0;
    animation: sunRotate 2s linear infinite;
}

.sun-ray:nth-child(2) { transform: translate(-50%, -50%) rotate(0deg) translateY(-20px); }
.sun-ray:nth-child(3) { transform: translate(-50%, -50%) rotate(45deg) translateY(-20px); }
.sun-ray:nth-child(4) { transform: translate(-50%, -50%) rotate(90deg) translateY(-20px); }
.sun-ray:nth-child(5) { transform: translate(-50%, -50%) rotate(135deg) translateY(-20px); }
.sun-ray:nth-child(6) { transform: translate(-50%, -50%) rotate(180deg) translateY(-20px); }
.sun-ray:nth-child(7) { transform: translate(-50%, -50%) rotate(225deg) translateY(-20px); }
.sun-ray:nth-child(8) { transform: translate(-50%, -50%) rotate(270deg) translateY(-20px); }
.sun-ray:nth-child(9) { transform: translate(-50%, -50%) rotate(315deg) translateY(-20px); }

@keyframes sunRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.preloader-text {
    color: var(--gray-400);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* === Navbar === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-heading);
}

.nav-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
    transition: filter 0.3s ease;
}

.navbar.scrolled .nav-logo-img {
    filter: none;
}

.logo-icon {
    font-size: 1.3rem;
    color: var(--primary);
}

.logo-highlight {
    color: var(--primary);
}

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

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.nav-cta {
    background: var(--gradient-primary);
    color: var(--dark);
    font-weight: 600;
    padding: 8px 20px;
}

.nav-link.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

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

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

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

/* === Hero Section === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
}

/* Huawei-style hero */
.hero-huawei {
    padding: 0;
    min-height: 100vh;
    flex-direction: column;
}

.hero-huawei .hero-bg {
    background: none;
}

.hero-huawei .hero-video-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.5) 100%);
}

/* Hero Logo Bar (top of hero) */
.hero-logo-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
}

.hero-logo-img {
    height: 50px;
    width: auto;
    border-radius: 6px;
}

.btn-hero-sm {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    background: rgba(255,255,255,0.08);
}

.btn-hero-sm:hover {
    background: rgba(255,255,255,0.2);
    border-color: var(--white);
}

.hero-huawei .hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 140px;
}

/* Navbar Sections Bar (below hero, Huawei style) */
.navbar-sections {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.navbar-sections .nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-sections-menu {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-section-link {
    display: block;
    padding: 18px 24px;
    color: var(--gray-600);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.nav-section-link:hover {
    color: var(--dark);
    border-bottom-color: var(--gray-300);
}

.nav-section-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}

/* Hide old navbar on index page when hero-huawei is present */
.hero-huawei ~ .navbar-sections .nav-toggle {
    display: none;
}

.hero-huawei .hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-huawei .hero-highlight {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: var(--white);
    background-clip: unset;
    color: var(--white);
}

.hero-huawei .hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
    max-width: 500px;
}

/* Hero outline button (Huawei style) */
.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    border: 2px solid rgba(255,255,255,0.7);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    background: rgba(255,255,255,0.08);
}

.btn-hero-outline:hover {
    background: rgba(255,255,255,0.2);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* Hero Stats Bar (overlay at bottom) */
.hero-stats-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
    padding: 40px 24px 36px;
}

.hero-stat {
    flex: 1;
    max-width: 320px;
    text-align: center;
    padding: 0 32px;
    border-right: 1px solid rgba(255,255,255,0.15);
}

.hero-stat:last-child {
    border-right: none;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 6px;
}

.hero-stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.7) 50%, rgba(10, 22, 40, 0.85) 100%),
        url('https://images.unsplash.com/photo-1509391366360-2e959784a276?w=1920&q=80') center/cover no-repeat;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, var(--white), transparent);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 50px;
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-line {
    display: block;
}

.hero-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--gray-300);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    font-size: 0.85rem;
}

.trust-item i {
    color: var(--primary);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: var(--gray-500);
    font-size: 0.75rem;
    animation: fadeInUp 1s ease 1.5s both;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--gray-500);
    border-radius: 12px;
    margin: 0 auto 8px;
    position: relative;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-main);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--dark);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(245, 158, 11, 0.1);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #22c55e;
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.4);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
    background: var(--gradient-primary);
    color: var(--dark);
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.btn-sm:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-glow {
    animation: btnGlow 3s ease-in-out infinite;
}

@keyframes btnGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(245, 158, 11, 0.2); }
    50% { box-shadow: 0 0 30px rgba(245, 158, 11, 0.4), 0 0 60px rgba(245, 158, 11, 0.1); }
}

/* === Section Styles === */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 50px;
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-tag.center {
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-title.center {
    text-align: center;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* === Stats Section === */
.stats-section {
    padding: 60px 0;
    background: var(--white);
    margin-top: -60px;
    position: relative;
    z-index: 3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation-delay: var(--delay, 0s);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.stat-icon {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-600);
    font-weight: 500;
}

.stat-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s ease;
}

.stat-card:hover .stat-bar,
.stat-card.animated .stat-bar {
    transform: scaleX(1);
}

/* === About Section === */
.about-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-img-main img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-img-main:hover img {
    transform: scale(1.05);
}

.about-img-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: var(--gradient-primary);
    color: var(--dark);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 200px;
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--white);
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    font-size: 1.05rem;
    color: var(--gray-700);
    margin-bottom: 16px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 32px 0;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.about-feature h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* === Services Section === */
.services-section {
    padding: 100px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    padding: 36px 28px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation-delay: var(--delay, 0s);
    cursor: default;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-number {
    color: var(--dark);
}

.service-card:hover .service-icon {
    background: rgba(10, 22, 40, 0.15);
    color: var(--dark);
}

.service-card:hover .service-arrow {
    color: var(--dark);
    transform: translateX(5px);
}

.service-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.4rem;
    transition: var(--transition);
}

.service-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-100);
    transition: var(--transition);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    transition: var(--transition);
}

.service-card p {
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.7;
    transition: var(--transition);
}

.service-arrow {
    margin-top: 20px;
    color: var(--primary);
    font-size: 1.1rem;
    transition: var(--transition);
}

/* === Solar / How it Works Section === */
.solar-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.process-line {
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--gray-200);
}

.process-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    transition: width 1.5s ease;
}

.process-timeline.animated .process-line::after {
    width: 100%;
}

.process-step {
    text-align: center;
    position: relative;
    animation-delay: var(--delay, 0s);
}

.process-dot {
    width: 60px;
    height: 60px;
    background: var(--white);
    border: 3px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--gray-500);
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.process-step:hover .process-dot,
.process-step.animated .process-dot {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-glow);
    background: var(--white);
}

.process-card {
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.process-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.process-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.process-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.process-card p {
    font-size: 0.88rem;
    color: var(--gray-600);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.benefit-card {
    padding: 32px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    animation-delay: var(--delay, 0s);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin: 0 auto 16px;
    transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
    background: var(--gradient-primary);
    color: var(--dark);
    transform: scale(1.1);
}

.benefit-card h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* === Segments Section === */
.segments-section {
    padding: 100px 0;
    background: var(--white);
}

.segments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.segment-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    animation-delay: var(--delay, 0s);
}

.segment-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.segment-img {
    height: 220px;
    position: relative;
    overflow: hidden;
}

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

.segment-card:hover .segment-img img {
    transform: scale(1.1);
}

.segment-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(10, 22, 40, 0.6) 100%);
}

.segment-content {
    padding: 28px;
}

.segment-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 1.2rem;
    margin-bottom: 16px;
    margin-top: -50px;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-md);
}

.segment-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.segment-content p {
    font-size: 0.92rem;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.segment-features {
    margin-bottom: 20px;
}

.segment-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--gray-700);
    padding: 4px 0;
}

.segment-features li i {
    color: var(--accent);
    font-size: 0.75rem;
}

/* === Gallery / Projects === */
.projects-section {
    padding: 100px 0;
    background: var(--dark);
}

.projects-section .section-title {
    color: var(--white);
}

.projects-section .section-desc {
    color: var(--gray-400);
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 24px;
    border: 1px solid var(--gray-700);
    border-radius: 50px;
    background: transparent;
    color: var(--gray-400);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--dark);
    border-color: var(--primary);
    font-weight: 600;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    animation-delay: var(--delay, 0s);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gradient-primary);
    color: var(--dark);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 8px;
    width: fit-content;
}

.gallery-overlay h4 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
}

.gallery-overlay p {
    color: var(--gray-300);
    font-size: 0.85rem;
}

/* === Testimonials === */
.testimonials-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.testimonials-carousel {
    overflow: hidden;
    position: relative;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    min-width: 100%;
    padding: 48px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-stars {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 24px;
    display: flex;
    gap: 4px;
    justify-content: center;
}

.testimonial-text {
    font-size: 1.15rem;
    color: var(--gray-700);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 28px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
}

.author-avatar {
    font-size: 2.5rem;
    color: var(--gray-300);
}

.testimonial-author strong {
    display: block;
    color: var(--dark);
    font-size: 1rem;
}

.testimonial-author span {
    color: var(--gray-500);
    font-size: 0.85rem;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border: 2px solid var(--gray-200);
    border-radius: 50%;
    background: var(--white);
    color: var(--gray-600);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(245, 158, 11, 0.1);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-200);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
}

/* === CTA Section === */
.cta-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, rgba(245, 158, 11, 0.2) 100%);
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--gray-300);
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === Blog Section === */
.blog-section {
    padding: 100px 0;
    background: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    animation-delay: var(--delay, 0s);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-img {
    height: 200px;
    position: relative;
    overflow: hidden;
}

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

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

.blog-date {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: var(--white);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark);
}

.blog-content {
    padding: 24px;
}

.blog-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-content p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.7;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

.blog-link:hover {
    color: var(--primary);
    gap: 10px;
}

/* === Brands Section === */
.brands-section {
    padding: 60px 0;
    background: var(--gray-50);
    overflow: hidden;
}

.brands-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-500);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 32px;
}

.brands-track {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.brands-slide {
    display: flex;
    gap: 48px;
    animation: brandScroll 25s linear infinite;
    width: max-content;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
    white-space: nowrap;
    min-width: 180px;
}

.brand-item span {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-500);
    letter-spacing: 0.5px;
}

@keyframes brandScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* === Contact Section === */
.contact-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    margin-bottom: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
}

.contact-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.contact-card a {
    color: var(--primary-dark);
}

.contact-card a:hover {
    color: var(--primary);
}

.contact-socials {
    display: flex;
    gap: 12px;
    padding-top: 8px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--white);
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--gray-600);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: var(--dark);
    border-color: transparent;
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrap {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: var(--dark);
    background: var(--gray-50);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
    background: var(--white);
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235a6d84'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

.contact-form .btn {
    margin-top: 8px;
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 12px;
}

.form-note i {
    color: var(--accent);
}

.form-group + .form-group {
    margin-top: 16px;
}

.form-row + .form-group {
    margin-top: 0;
    margin-bottom: 16px;
}

.contact-form > .form-group {
    margin-bottom: 16px;
}

/* Map */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* === Footer === */
.footer {
    padding: 80px 0 0;
    background: var(--dark);
    color: var(--gray-400);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--dark-3);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-heading);
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
}

.footer-brand p {
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--dark-3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--gradient-primary);
    color: var(--dark);
    border-color: transparent;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--gray-500);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.footer-contact i {
    color: var(--primary);
    margin-top: 4px;
}

.footer-contact a {
    color: var(--gray-400);
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}

.footer-tagline {
    color: var(--gray-600);
    font-style: italic;
}

/* === WhatsApp Float === */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: whatsappPulse 2s ease infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    white-space: nowrap;
    background: var(--dark);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 15px rgba(37, 211, 102, 0.1); }
}

/* === Back to Top === */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 34px;
    width: 44px;
    height: 44px;
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
}

/* === Scroll Animations === */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: var(--delay, 0s);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === Page Header (subpages) - Premium === */
.page-header {
    position: relative;
    padding: 180px 0 90px;
    background: var(--dark);
    overflow: hidden;
    text-align: center;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-header-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.page-header-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.88) 0%, rgba(10, 22, 40, 0.65) 50%, rgba(10, 22, 40, 0.85) 100%);
    z-index: 1;
}

.page-header-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--white) 0%, transparent 100%);
    z-index: 2;
}

.page-header .container {
    position: relative;
    z-index: 3;
}

.page-header-content {
    max-width: 750px;
    margin: 0 auto;
}

.page-header-content .section-tag {
    margin-bottom: 24px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    backdrop-filter: blur(10px);
}

.page-header-content h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.page-header-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    max-width: 550px;
    margin: 0 auto;
}

.page-header-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    font-size: 0.85rem;
}

.page-header-breadcrumb a {
    color: rgba(255,255,255,0.5);
    transition: color 0.3s;
}

.page-header-breadcrumb a:hover {
    color: var(--primary-light);
}

.page-header-breadcrumb span {
    color: var(--primary-light);
}

.page-header-breadcrumb i {
    color: rgba(255,255,255,0.3);
    font-size: 0.7rem;
}

/* === Hero Video Background === */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.92) 0%, rgba(10, 22, 40, 0.65) 50%, rgba(10, 22, 40, 0.85) 100%);
    z-index: 0;
}

/* === Video Showcase Section === */
.video-showcase-section {
    padding: 100px 0;
    background: var(--white);
}

.video-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.video-stats-row {
    display: flex;
    gap: 28px;
    margin-top: 32px;
}

.video-stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.video-stat i {
    width: 44px;
    height: 44px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
}

.video-stat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.1;
}

.video-stat span {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* === Video Scroll Sections (Full-width cinematic) === */
.video-scroll-section {
    position: relative;
    overflow: hidden;
}

.video-scroll-block {
    position: relative;
    height: 70vh;
    min-height: 400px;
    max-height: 600px;
    overflow: hidden;
}

.video-scroll-mini .video-scroll-block {
    height: 50vh;
    min-height: 300px;
    max-height: 450px;
}

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

.video-scroll-block .scroll-video {
    position: absolute;
    top: 0;
    left: 0;
}

.video-scroll-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.85) 0%, rgba(10, 22, 40, 0.3) 40%, rgba(10, 22, 40, 0.2) 100%);
    z-index: 1;
}

.video-scroll-content {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
}

.video-scroll-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 50px;
    color: var(--primary-light);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.video-scroll-content h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
}

.video-scroll-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
}

/* Scroll Video Card (in showcase grid) */
.scroll-video-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 16/9;
}

.scroll-video-card .scroll-video {
    position: absolute;
    top: 0;
    left: 0;
}

.scroll-video-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
    z-index: 1;
}

.video-thumb-brand {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    z-index: 2;
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
}

.video-thumb-brand i {
    font-size: 1.4rem;
    color: var(--primary-light);
}

/* Video Card Play Button */
.video-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(245, 158, 11, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-card-thumb:hover .video-card-play {
    opacity: 0;
}

.video-card-thumb .scroll-video {
    aspect-ratio: 16/9;
}

/* === Video Gallery Section === */
.video-gallery-section {
    padding: 100px 0;
    background: var(--dark);
}

.video-gallery-section .section-title {
    color: var(--white);
}

.video-gallery-section .section-desc {
    color: var(--gray-400);
}

.video-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.video-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--dark-2);
    border: 1px solid var(--dark-3);
    transition: var(--transition);
    animation-delay: var(--delay, 0s);
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(245, 158, 11, 0.3);
}

.video-card-thumb {
    position: relative;
    overflow: hidden;
    background: #000;
}

.video-card-info {
    padding: 20px 24px;
}

.video-card-brand {
    margin-bottom: 10px;
}

.brand-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--primary-light);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.video-card-info h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.4;
}

.video-card-info p {
    font-size: 0.88rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* === Video Parallax Section === */
.video-parallax-section {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.parallax-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.video-parallax-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.88) 0%, rgba(10, 22, 40, 0.75) 50%, rgba(245, 158, 11, 0.15) 100%);
    z-index: 1;
}

.video-parallax-section .container {
    position: relative;
    z-index: 2;
}

.video-parallax-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 24px;
}

.parallax-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 24px;
    animation: sunPulse 3s ease-in-out infinite;
}

@keyframes sunPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.3)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 25px rgba(245, 158, 11, 0.6)); }
}

.video-parallax-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.video-parallax-content > p {
    font-size: 1.1rem;
    color: var(--gray-300);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.parallax-metrics {
    display: flex;
    gap: 48px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.parallax-metric {
    text-align: center;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 6px;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--gray-400);
    font-weight: 500;
}

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

/* Tablet Landscape & Small Desktop */
@media (max-width: 1024px) {
    .video-showcase-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .about-grid {
        gap: 40px;
    }

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

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .process-line {
        display: none;
    }

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

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

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

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

    .blog-grid .blog-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }

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

/* Tablet Portrait */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 4px;
        transition: right 0.3s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        padding: 12px 16px;
        width: 100%;
        font-size: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 24px 100px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .stats-section {
        margin-top: -40px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-card {
        padding: 24px 16px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

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

    .about-img-secondary {
        bottom: -20px;
        left: -10px;
        width: 150px;
        height: 150px;
    }

    .about-img-main img {
        height: 350px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }

    .segments-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .testimonial-card {
        padding: 32px 24px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrap {
        padding: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid .blog-card:last-child {
        grid-column: auto;
        max-width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 1.8rem;
    }

    section {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Video Sections - 768px */
    .video-showcase-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .video-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .video-stats-row {
        gap: 16px;
    }

    .parallax-metrics {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .metric-value {
        font-size: 2.5rem;
    }

    .video-parallax-section {
        min-height: auto;
        padding: 80px 0;
    }

    .video-parallax-content h2 {
        font-size: 1.8rem;
    }

    .hero-video {
        object-position: center center;
    }

    .nav-logo-img {
        height: 36px;
    }

    .video-scroll-block {
        height: 50vh;
        min-height: 300px;
    }

    .video-scroll-mini .video-scroll-block {
        height: 40vh;
        min-height: 250px;
    }

    .video-scroll-content h3 {
        font-size: 1.8rem;
    }

    .video-scroll-content p {
        font-size: 0.95rem;
    }

    .page-header {
        padding: 120px 0 60px;
    }

    .page-header-content h1 {
        font-size: 2rem;
    }

    .hero-stats-bar {
        padding: 24px 16px 28px;
    }

    .hero-stat {
        padding: 0 16px;
    }

    .hero-stat-number {
        font-size: 1.5rem;
    }

    .hero-stat-label {
        font-size: 0.7rem;
    }

    .hero-huawei .hero-content {
        padding: 100px 20px 120px;
    }

    .nav-sections-menu {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .nav-sections-menu::-webkit-scrollbar {
        display: none;
    }

    .nav-section-link {
        padding: 14px 16px;
        font-size: 0.82rem;
    }

    .hero-logo-bar {
        padding: 16px 20px;
    }

    .hero-logo-img {
        height: 36px;
    }

    .btn-hero-sm {
        padding: 8px 16px;
        font-size: 0.78rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .hero {
        padding: 90px 16px 80px;
    }

    .hero-title {
        font-size: 1.85rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-trust {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-card {
        padding: 20px 12px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .about-img-secondary {
        display: none;
    }

    .about-img-main img {
        height: 280px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-filter {
        gap: 8px;
    }

    .filter-btn {
        padding: 6px 16px;
        font-size: 0.8rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .contact-form-wrap {
        padding: 20px;
    }

    /* Video Sections - 480px */
    .video-showcase-section {
        padding: 60px 0;
    }

    .video-gallery-section {
        padding: 60px 0;
    }

    .video-cards-grid {
        grid-template-columns: 1fr;
    }

    .video-card-info h4 {
        font-size: 1rem;
    }

    .parallax-metrics {
        gap: 20px;
    }

    .metric-value {
        font-size: 2rem;
    }

    .metric-label {
        font-size: 0.8rem;
    }

    .video-parallax-content h2 {
        font-size: 1.5rem;
    }

    .video-parallax-content > p {
        font-size: 0.95rem;
    }

    .video-stats-row {
        flex-direction: column;
        gap: 12px;
    }

    .nav-logo-img {
        height: 32px;
    }

    .video-scroll-block {
        height: 40vh;
        min-height: 250px;
    }

    .video-scroll-mini .video-scroll-block {
        height: 35vh;
        min-height: 200px;
    }

    .video-scroll-content h3 {
        font-size: 1.4rem;
    }

    .video-scroll-content {
        bottom: 32px;
    }

    .video-scroll-tag {
        font-size: 0.7rem;
        padding: 6px 14px;
    }

    .page-header {
        padding: 110px 0 50px;
    }

    .page-header-content h1 {
        font-size: 1.7rem;
    }

    .page-header-content p {
        font-size: 0.95rem;
    }

    .hero-stats-bar {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding: 20px 16px 24px;
    }

    .hero-stat {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 0 0 12px;
        width: 100%;
        max-width: 100%;
    }

    .hero-stat:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .hero-stat-number {
        font-size: 1.4rem;
    }

    .hero-huawei .hero-content {
        padding: 90px 16px 160px;
    }

    .nav-section-link {
        padding: 12px 14px;
        font-size: 0.78rem;
    }

    .hero-logo-bar {
        padding: 14px 16px;
    }

    .hero-logo-img {
        height: 30px;
    }

    .btn-hero-sm {
        display: none;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
        font-size: 1.6rem;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .back-to-top {
        bottom: 84px;
        right: 24px;
        width: 38px;
        height: 38px;
    }

    .segment-img {
        height: 180px;
    }

    .blog-img {
        height: 180px;
    }
}

/* Small Mobile */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .nav-logo {
        font-size: 1.2rem;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 24px 60px;
    }

    .hero-scroll-indicator {
        display: none;
    }
}

/* High DPI / Retina */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    body {
        -webkit-font-smoothing: antialiased;
    }
}

/* Print */
@media print {
    .navbar, .whatsapp-float, .back-to-top, .hero-scroll-indicator, #preloader {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hero {
        min-height: auto;
        padding: 40px;
    }

    .hero-bg {
        background: none;
    }

    .hero-title, .section-title {
        color: #000;
    }

    section {
        page-break-inside: avoid;
    }
}
