/* ================================
   ECSINDY — Design System & Styles
   ================================ */

/* --- CSS Variables --- */
:root {
    /* Colors */
    --c-bg: #0a0a0f;
    --c-bg-card: #111118;
    --c-bg-card-hover: #16161f;
    --c-bg-elevated: #1a1a24;
    --c-surface: #20202c;
    --c-border: rgba(255, 255, 255, 0.06);
    --c-border-hover: rgba(255, 255, 255, 0.12);
    
    --c-text: #f0f0f5;
    --c-text-secondary: #9a9ab0;
    --c-text-muted: #65657a;
    
    --c-red: #dc2626;
    --c-red-light: #ef4444;
    --c-red-dark: #b91c1c;
    --c-red-glow: rgba(220, 38, 38, 0.4);
    --c-red-subtle: rgba(220, 38, 38, 0.08);
    
    --c-white: #ffffff;
    
    /* Gradients */
    --g-red: linear-gradient(135deg, #dc2626, #ef4444);
    --g-red-dark: linear-gradient(135deg, #b91c1c, #dc2626);
    --g-dark: linear-gradient(180deg, #0a0a0f, #111118);
    --g-card: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    
    /* Typography */
    --f-display: 'Outfit', sans-serif;
    --f-body: 'Inter', sans-serif;
    
    /* Spacing */
    --s-section: clamp(80px, 10vw, 140px);
    --s-container: clamp(16px, 4vw, 80px);
    
    /* Transitions */
    --t-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --t-normal: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --t-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --t-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Radius */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--f-body);
    background: var(--c-bg);
    color: var(--c-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--s-container);
}

/* --- Skip Navigation (Accessibility) --- */
.skip-nav {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10001;
    padding: 12px 24px;
    background: var(--g-red);
    color: var(--c-white);
    font-weight: 600;
    border-radius: var(--r-sm);
    transition: top 0.2s ease;
}

.skip-nav:focus {
    top: 16px;
    outline: 2px solid var(--c-white);
    outline-offset: 2px;
}

/* Footer address reset */
.footer-address {
    font-style: normal;
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-bg);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.preloader-flame {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--g-red);
    animation: preloaderPulse 1s ease-in-out infinite;
    box-shadow: 0 0 30px var(--c-red-glow), 0 0 60px rgba(220,38,38,0.2);
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.preloader-text {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 6px;
    color: var(--c-text);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--t-normal);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--c-border);
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--s-container);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--f-display);
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 2px;
    display: flex;
    gap: 4px;
}

.logo-ecs {
    color: var(--c-red);
}

.logo-indy {
    color: var(--c-white);
}

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

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--r-full);
    color: var(--c-text-secondary);
    transition: all var(--t-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--c-white);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--c-red);
}

.nav-cta {
    background: var(--g-red) !important;
    color: var(--c-white) !important;
    padding: 10px 22px !important;
    font-weight: 600 !important;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--c-red-glow);
}

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

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--c-white);
    border-radius: 2px;
    transition: all var(--t-fast);
}

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

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

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

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    scale: 1.05;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { scale: 1.05; }
    100% { scale: 1.15; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, rgba(10,10,15,0.92) 0%, rgba(10,10,15,0.7) 50%, rgba(10,10,15,0.85) 100%),
        linear-gradient(to top, rgba(10,10,15,1) 0%, transparent 30%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 0 auto;
    padding: 120px var(--s-container) 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.25);
    border-radius: var(--r-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--c-red-light);
    margin-bottom: 28px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-red);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-family: var(--f-display);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero-title-line {
    display: block;
}

.hero-title-accent {
    background: var(--g-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--c-text-secondary);
    max-width: 540px;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--c-text-secondary);
}

.hero-feature-icon {
    width: 20px;
    height: 20px;
    color: var(--c-red);
    flex-shrink: 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--c-text-secondary);
    font-size: 0.95rem;
}

.hero-phone svg {
    width: 18px;
    height: 18px;
    color: var(--c-red);
}

.hero-phone a {
    color: var(--c-text-secondary);
    font-weight: 500;
}

.hero-phone a:hover {
    color: var(--c-red-light);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
    color: var(--c-text-muted);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--c-text-muted);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    border-radius: 2px;
    background: var(--c-red);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.3; }
    100% { transform: translateY(0); opacity: 1; }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: var(--r-full);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--f-body);
    cursor: pointer;
    transition: all var(--t-normal);
    white-space: nowrap;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--t-fast);
}

.btn-primary {
    background: var(--g-red);
    color: var(--c-white);
    border: none;
    box-shadow: 0 4px 15px rgba(220,38,38,0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--c-red-glow);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-glow {
    position: relative;
}

.btn-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--r-full);
    background: var(--g-red);
    z-index: -1;
    opacity: 0;
    filter: blur(15px);
    transition: opacity var(--t-normal);
}

.btn-glow:hover::before {
    opacity: 0.5;
}

.btn-outline {
    background: transparent;
    color: var(--c-white);
    border: 1px solid var(--c-border-hover);
}

.btn-outline:hover {
    border-color: var(--c-red);
    color: var(--c-red-light);
    background: var(--c-red-subtle);
}

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

/* --- Stats Bar --- */
.stats-bar {
    background: var(--c-bg-card);
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
    position: relative;
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 0;
    gap: 0;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 0 24px;
}

.stat-number {
    font-family: var(--f-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--c-red);
    line-height: 1;
}

.stat-plus {
    font-family: var(--f-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--c-red);
}

.stat-text {
    font-family: var(--f-display);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--c-red);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--c-text-secondary);
    margin-top: 6px;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--c-border);
}

/* --- Section Shared Styles --- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--c-red);
    margin-bottom: 16px;
    padding: 6px 16px;
    background: var(--c-red-subtle);
    border-radius: var(--r-full);
    border: 1px solid rgba(220,38,38,0.15);
}

.section-title {
    font-family: var(--f-display);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.text-accent {
    background: var(--g-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--c-text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.8;
}

/* --- Services Section --- */
.services {
    padding: var(--s-section) 0;
    background: var(--c-bg);
}

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

.service-card {
    background: var(--g-card);
    background-color: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: all var(--t-normal);
    position: relative;
    min-height: 340px;
}

.service-card:hover {
    border-color: var(--c-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.service-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.service-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    opacity: 0.85;
    transition: opacity var(--t-normal), transform 0.6s ease;
}

.service-card:hover .service-card-bg img {
    opacity: 1;
    transform: scale(1.05);
}

.service-card-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,10,15,0.2) 0%, rgba(10,10,15,0.85) 50%, rgba(10,10,15,0.98) 100%);
    z-index: 1;
}

.service-card-content {
    padding: 36px;
    position: relative;
    z-index: 2;
}

.service-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--g-red);
    border-radius: var(--r-md);
    margin-bottom: 20px;
    color: var(--c-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--t-normal);
}

.service-card:hover .service-icon {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-card h3 {
    font-family: var(--f-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.92rem;
    color: var(--c-text-secondary);
    line-height: 1.7;
}

.service-tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--g-red);
    color: var(--c-white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--r-full);
    margin-top: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services CTA Banner */
.services-cta-content {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: center;
}

.services-cta-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.services-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,10,15,0.93) 40%, rgba(185,28,28,0.5));
}

.services-cta-text {
    position: relative;
    z-index: 2;
    padding: 60px;
    max-width: 600px;
}

.services-cta-text h3 {
    font-family: var(--f-display);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.services-cta-text p {
    color: var(--c-text-secondary);
    margin-bottom: 28px;
    line-height: 1.8;
}

/* --- About Section --- */
.about {
    padding: var(--s-section) 0;
    background: var(--c-bg-card);
}

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

.about-image-wrapper {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
}

.about-image {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--r-xl);
}

.about-experience-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.experience-number {
    font-family: var(--f-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--c-red);
    line-height: 1;
}

.experience-text {
    font-size: 0.85rem;
    color: var(--c-text-secondary);
    font-weight: 600;
    line-height: 1.3;
}

.about-text {
    font-size: 1.05rem;
    color: var(--c-text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-highlight {
    display: flex;
    gap: 18px;
    padding: 20px;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    transition: all var(--t-normal);
}

.about-highlight:hover {
    border-color: rgba(220,38,38,0.2);
    background: var(--c-red-subtle);
}

.highlight-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-red-subtle);
    border-radius: var(--r-sm);
    color: var(--c-red);
    flex-shrink: 0;
}

.highlight-icon svg {
    width: 20px;
    height: 20px;
}

.highlight-text h4 {
    font-family: var(--f-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.highlight-text p {
    font-size: 0.88rem;
    color: var(--c-text-secondary);
    line-height: 1.6;
}

/* --- Our Work / Industries Section --- */
.work {
    padding: var(--s-section) 0;
    background: var(--c-bg);
}

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

.industry-card {
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 40px 28px;
    text-align: center;
    transition: all var(--t-normal);
    position: relative;
    overflow: hidden;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--g-red);
    transform: scaleX(0);
    transition: transform var(--t-normal);
}

.industry-card:hover::before {
    transform: scaleX(1);
}

.industry-card:hover {
    border-color: var(--c-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.industry-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-red-subtle);
    border: 1px solid rgba(220,38,38,0.12);
    border-radius: var(--r-md);
    margin: 0 auto 20px;
    color: var(--c-red);
    transition: all var(--t-normal);
}

.industry-card:hover .industry-icon {
    background: var(--g-red);
    color: var(--c-white);
    border-color: transparent;
    transform: scale(1.08);
}

.industry-icon svg {
    width: 26px;
    height: 26px;
}

.industry-card h3 {
    font-family: var(--f-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.industry-card p {
    font-size: 0.85rem;
    color: var(--c-text-secondary);
    line-height: 1.6;
}

/* --- Why Choose Us Section --- */
.why-us {
    padding: var(--s-section) 0;
    background: var(--c-bg-card);
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-us-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 36px;
}

.why-us-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    transition: all var(--t-normal);
}

.why-us-item:hover {
    border-color: rgba(220,38,38,0.2);
    transform: translateX(6px);
}

.why-us-number {
    font-family: var(--f-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--c-red);
    opacity: 0.5;
    flex-shrink: 0;
    line-height: 1;
    padding-top: 4px;
}

.why-us-text h4 {
    font-family: var(--f-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.why-us-text p {
    font-size: 0.88rem;
    color: var(--c-text-secondary);
    line-height: 1.6;
}

/* Guarantee Card */
.guarantee-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    max-width: 380px;
    margin: 0 auto;
}

.guarantee-ring {
    position: absolute;
    inset: 0;
    animation: guaranteeRotate 30s linear infinite;
}

@keyframes guaranteeRotate {
    to { transform: rotate(360deg); }
}

.guarantee-ring svg {
    width: 100%;
    height: 100%;
}

.guarantee-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.guarantee-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--c-text-secondary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.guarantee-number {
    display: block;
    font-family: var(--f-display);
    font-size: clamp(4rem, 8vw, 6rem);
    font-weight: 900;
    background: var(--g-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.guarantee-sub {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--c-text-muted);
    margin-top: 8px;
}

/* --- FAQ Section --- */
.faq {
    padding: var(--s-section) 0;
    background: var(--c-bg);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: border-color var(--t-normal);
}

.faq-item:hover {
    border-color: var(--c-border-hover);
}

.faq-item.active {
    border-color: rgba(220,38,38,0.25);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    background: none;
    border: none;
    color: var(--c-text);
    font-family: var(--f-display);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color var(--t-fast);
    gap: 16px;
}

.faq-question:hover {
    color: var(--c-red-light);
}

.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--c-text-muted);
    transition: transform var(--t-normal), color var(--t-fast);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--c-red);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), padding 0.4s ease;
    padding: 0 28px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 28px 24px;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--c-text-secondary);
    line-height: 1.8;
}

.faq-answer a {
    color: var(--c-red-light);
    font-weight: 600;
}

.faq-answer a:hover {
    text-decoration: underline;
}

.faq-answer strong {
    color: var(--c-text);
    font-weight: 600;
}

/* --- Contact Section --- */
.contact {
    padding: var(--s-section) 0;
    background: var(--c-bg);
}

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

.contact-desc {
    font-size: 1.05rem;
    color: var(--c-text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

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

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 18px 22px;
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    transition: all var(--t-normal);
}

.contact-detail:hover {
    border-color: rgba(220,38,38,0.2);
    background: var(--c-red-subtle);
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-red-subtle);
    border-radius: var(--r-sm);
    color: var(--c-red);
    flex-shrink: 0;
}

.contact-detail-icon svg {
    width: 20px;
    height: 20px;
}

.contact-detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--c-text-muted);
    margin-bottom: 2px;
}

.contact-detail-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--c-text);
}

a.contact-detail-value:hover {
    color: var(--c-red-light);
}

/* Contact Form */
.contact-form {
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    padding: 44px;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    color: var(--c-text);
    font-family: var(--f-body);
    font-size: 0.95rem;
    transition: all var(--t-fast);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--c-text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--c-red);
    box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239a9ab0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

.form-group select option {
    background: var(--c-bg-card);
    color: var(--c-text);
}

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

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

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--c-text-muted);
    margin-top: 14px;
}

/* --- Footer --- */
.footer {
    background: var(--c-bg-card);
    border-top: 1px solid var(--c-border);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 56px;
}

.footer-logo {
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--c-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.footer-desc {
    font-size: 0.88rem;
    color: var(--c-text-muted);
    line-height: 1.7;
}

.footer-grid h4 {
    font-family: var(--f-display);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--c-text);
}

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

.footer-links a {
    font-size: 0.88rem;
    color: var(--c-text-muted);
    transition: all var(--t-fast);
}

.footer-links a:hover {
    color: var(--c-red-light);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.88rem;
    color: var(--c-text-muted);
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    color: var(--c-red);
    flex-shrink: 0;
}

.footer-contact-item a {
    color: var(--c-text-muted);
}

.footer-contact-item a:hover {
    color: var(--c-red-light);
}

.footer-bottom {
    border-top: 1px solid var(--c-border);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--c-text-muted);
}

.footer-bottom-tagline {
    font-weight: 600;
    color: var(--c-red);
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--g-red);
    color: var(--c-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all var(--t-normal);
    box-shadow: 0 4px 20px var(--c-red-glow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px var(--c-red-glow);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* --- Scroll Animations --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Staggered animations */
.services-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.services-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.services-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.services-grid .animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }

.industries-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.industries-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.industries-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }

.about-highlights .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.about-highlights .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }

.why-us-items .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.why-us-items .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.why-us-items .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image {
        height: 360px;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .guarantee-card {
        max-width: 280px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 80px 32px 40px;
        gap: 4px;
        transition: right var(--t-normal);
        border-left: 1px solid var(--c-border);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 14px 16px;
        font-size: 1rem;
    }
    
    .nav-cta {
        margin-top: 16px;
        text-align: center;
        justify-content: center;
    }
    
    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card-featured {
        grid-column: span 1;
    }
    
    .services-cta-text {
        padding: 36px;
    }
    
    .industries-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 28px;
    }

    .stats-grid {
        flex-wrap: wrap;
        gap: 24px;
        padding: 36px 0;
    }
    
    .stat-divider {
        display: none;
    }
    
    .stat-item {
        flex: 1 1 40%;
    }
}

@media (max-width: 480px) {
    .hero-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        justify-content: center;
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        height: 280px;
    }
    
    .about-experience-badge {
        bottom: 12px;
        right: 12px;
        padding: 14px 18px;
    }
    
    .experience-number {
        font-size: 1.8rem;
    }
    
    .stat-item {
        flex: 1 1 100%;
    }
}
