/* THERMAL EMBER DESIGN SYSTEM */
:root {
    --carbon-black: #171A20;
    --deep-charcoal: #24262D;
    --burnt-copper: #743B25;
    --thermal-orange: #F07835;
    --amber-gold: #F5B85B;
    --soft-flame: #FFD39A;
    --warm-ivory: #F5EFE6;
    --light-sand: #E9DED1;
    --muted-gray: #85858B;
    --pure-white: #FFFFFF;
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Manrope', sans-serif;
    
    --gradient-dark: linear-gradient(135deg, var(--carbon-black), var(--burnt-copper));
    --gradient-fire: linear-gradient(135deg, var(--thermal-orange), var(--amber-gold));
    --gradient-light: linear-gradient(120deg, var(--soft-flame), var(--warm-ivory));
    
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --border-glass: 1px solid rgba(255, 255, 255, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--carbon-black);
    color: var(--warm-ivory);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

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

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--thermal-orange);
    color: var(--carbon-black);
    border: 1px solid var(--thermal-orange);
}

.btn-primary:hover {
    background: var(--amber-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(240, 120, 53, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--amber-gold);
    color: var(--amber-gold);
}

.btn-outline:hover {
    background: var(--amber-gold);
    color: var(--carbon-black);
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(23, 26, 32, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(116, 59, 37, 0.3);
    padding: 15px 0;
    transition: 0.3s;
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--pure-white);
}

.highlight {
    color: var(--thermal-orange);
}

.desktop-nav a {
    margin: 0 15px;
    font-size: 0.9rem;
    color: var(--light-sand);
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--thermal-orange);
    transition: 0.3s;
}

.desktop-nav a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--pure-white);
    margin: 5px 0;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--deep-charcoal);
    padding: 20px;
    flex-direction: column;
    border-bottom: 1px solid var(--burnt-copper);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    padding: 10px 0;
    color: var(--warm-ivory);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* HERO SECTION */
.hero-section {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.thermal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(116, 59, 37, 0.4), transparent 60%),
                radial-gradient(circle at 20% 80%, rgba(240, 120, 53, 0.1), transparent 50%);
    z-index: -1;
}

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

.badge {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(240, 120, 53, 0.15);
    color: var(--thermal-orange);
    border: 1px solid var(--thermal-orange);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--pure-white);
}

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

.hero-intro {
    font-size: 1.1rem;
    color: var(--muted-gray);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.trust-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: var(--light-sand);
}

.check {
    width: 16px;
    height: 16px;
    background: var(--thermal-orange);
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
}

.check::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 4px;
    font-size: 10px;
    color: var(--carbon-black);
}

/* HERO VISUAL (CSS ONLY) */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.thermal-rings {
    position: relative;
    width: 300px;
    height: 300px;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(240, 120, 53, 0.3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 4s infinite ease-in-out;
}

.r1 { width: 100%; height: 100%; animation-delay: 0s; }
.r2 { width: 70%; height: 70%; animation-delay: 1s; border-color: rgba(245, 184, 91, 0.4); }
.r3 { width: 40%; height: 40%; animation-delay: 2s; border-color: rgba(255, 211, 154, 0.5); }

.core-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--thermal-orange);
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.5; }
}

.glass-card {
    background: rgba(36, 38, 45, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    position: absolute;
    box-shadow: var(--shadow-glass);
}

.float-card-1 { top: 20%; right: 0; }
.float-card-2 { bottom: 20%; left: 0; }

.glass-card strong { display: block; color: var(--thermal-orange); font-size: 0.9rem; }
.glass-card span { font-size: 0.8rem; color: var(--muted-gray); }

/* SECTIONS GENERAL */
section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--pure-white);
    margin-bottom: 10px;
}

/* HIGHLIGHTS */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.highlight-card {
    padding: 30px;
    text-align: center;
    transition: 0.3s;
}

.highlight-card:hover {
    transform: translateY(-5px);
    border-color: var(--thermal-orange);
}

.icon-box {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    color: var(--amber-gold);
}

/* SERVICES */
.services-section {
    background: var(--deep-charcoal);
}

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

.service-card {
    background: var(--carbon-black);
    padding: 30px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}

.service-card:hover {
    border-color: var(--burnt-copper);
}

.card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-fire);
}

.service-card h3 {
    color: var(--pure-white);
    margin-bottom: 15px;
}

.service-card ul {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--muted-gray);
}

.service-card li {
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
}

.service-card li::before {
    content: '•';
    color: var(--thermal-orange);
    position: absolute;
    left: 0;
}

/* TECH SECTION */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.heat-map-css {
    width: 100%;
    height: 300px;
    background: conic-gradient(from 0deg, var(--carbon-black), var(--burnt-copper), var(--thermal-orange), var(--carbon-black));
    border-radius: 20px;
    filter: blur(30px);
    opacity: 0.8;
    animation: rotate 10s linear infinite;
}

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

.tech-content h2 {
    color: var(--pure-white);
    margin-bottom: 20px;
}

.tech-content p {
    margin-bottom: 15px;
    color: var(--light-sand);
}

/* INSPECTION */
.inspection-section {
    background: var(--carbon-black);
}

.dark-cards .inspect-card {
    background: var(--deep-charcoal);
    padding: 25px;
    border-radius: 8px;
    border-left: 3px solid var(--burnt-copper);
}

.dark-cards h4 {
    color: var(--amber-gold);
    margin-bottom: 10px;
}

/* PROCESS */
.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--deep-charcoal);
    z-index: 0;
}

.timeline-item {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    padding: 0 10px;
}

.number {
    width: 50px;
    height: 50px;
    background: var(--carbon-black);
    border: 2px solid var(--thermal-orange);
    color: var(--thermal-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: 700;
}

.timeline-item h3 {
    font-size: 1.1rem;
    color: var(--pure-white);
    margin-bottom: 10px;
}

/* STATS */
.stats-section {
    background: var(--deep-charcoal);
}

.stat-card {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
}

.stat-card h3 {
    color: var(--thermal-orange);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* SHOWCASE */
.abstract-art {
    height: 400px;
    background: var(--gradient-dark);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shape {
    position: absolute;
    border-radius: 50%;
}

.s1 { width: 200px; height: 200px; background: var(--burnt-copper); top: -50px; left: -50px; filter: blur(40px); }
.s2 { width: 300px; height: 300px; background: var(--thermal-orange); bottom: -100px; right: -50px; filter: blur(60px); opacity: 0.4; }

.art-text {
    z-index: 2;
    text-align: center;
    background: rgba(23, 26, 32, 0.8);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--thermal-orange);
}

/* ARTICLE */
.article-section {
    background: var(--warm-ivory);
    color: var(--carbon-black);
}

.article-container {
    max-width: 800px;
}

.article-header h2 {
    color: var(--carbon-black);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.meta-info {
    color: var(--muted-gray);
    font-size: 0.9rem;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.article-content h2 {
    color: var(--burnt-copper);
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.article-content h3 {
    color: var(--deep-charcoal);
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.article-content p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.article-content a {
    color: var(--thermal-orange);
    font-weight: 600;
    text-decoration: underline;
}

.article-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 8px;
    list-style-type: disc;
}

.faq-wrapper {
    margin-top: 30px;
}

.faq-item {
    background: var(--pure-white);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: 0.3s;
}

.faq-item h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--carbon-black);
    display: flex;
    justify-content: space-between;
}

.faq-item p {
    margin-top: 10px;
    display: none;
    color: var(--muted-gray);
}

.faq-item.active p {
    display: block;
}

.faq-item.active h3 {
    color: var(--thermal-orange);
}

/* CONTACT */
.contact-section {
    background: var(--carbon-black);
}

.contact-info h2 {
    color: var(--pure-white);
    margin-bottom: 20px;
}

.info-item {
    margin-bottom: 15px;
    color: var(--light-sand);
}

.modern-form {
    background: var(--deep-charcoal);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--amber-gold);
    font-size: 0.9rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    background: var(--carbon-black);
    border: 1px solid var(--muted-gray);
    color: var(--pure-white);
    border-radius: 4px;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--thermal-orange);
}

.full-width {
    width: 100%;
}

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

/* FOOTER */
footer {
    background: #111;
    padding: 60px 0 20px;
    border-top: 3px solid var(--burnt-copper);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--pure-white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col p, .footer-col a {
    color: var(--muted-gray);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--thermal-orange);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
    color: var(--muted-gray);
    font-size: 0.8rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .mobile-toggle { display: block; }
    
    h1 { font-size: 2.5rem; }
    
    .hero-grid, .split-layout {
        grid-template-columns: 1fr;
    }
    
    .hero-visual { order: -1; height: 300px; }
    
    .timeline {
        flex-direction: column;
    }
    
    .timeline::before {
        width: 2px;
        height: 100%;
        left: 25px;
        top: 0;
    }
    
    .timeline-item {
        text-align: left;
        padding-left: 60px;
        margin-bottom: 30px;
    }
    
    .number {
        position: absolute;
        left: 0;
        top: 0;
    }
}