/* --- Variables & Reset --- */
:root {
    --primary-red: #A71930;
    --secondary-burgundy: #641D2B;
    --accent-red: #D93642;
    --thermal-orange: #F07842;
    --bg-warm-white: #FFF9F7;
    --bg-blush: #F9E9E9;
    --card-white: #FFFFFF;
    --text-dark: #251D20;
    --text-muted: #77696B;
    --border-rose: #EBD5D7;
    --dark-section: #38131D;
    --gradient-cta: linear-gradient(135deg, #A71930 0%, #E0444E 100%);
    --shadow-soft: 0 10px 30px rgba(167, 25, 48, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary-burgundy);
    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;
}

.section-padding {
    padding: 80px 0;
}

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

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background: var(--gradient-cta);
    color: white;
    box-shadow: 0 4px 15px rgba(167, 25, 48, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(167, 25, 48, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
    background: var(--bg-blush);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
}

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

/* --- Navigation --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.3s, padding 0.3s;
    padding: 20px 0;
}

header.scrolled {
    background: rgba(56, 19, 29, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.desktop-nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.desktop-nav a {
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
}

.desktop-nav a:hover {
    color: var(--thermal-orange);
}

.btn-nav {
    background: var(--gradient-cta);
    padding: 8px 20px;
    border-radius: 20px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
}

.mobile-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--secondary-burgundy);
    padding: 20px;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 999;
}

.mobile-nav.active {
    transform: translateY(0);
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.mobile-nav a {
    color: white;
    font-size: 1.1rem;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--dark-section);
    overflow: hidden;
    padding-top: 80px;
}

.thermal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(240, 120, 66, 0.2) 0%, transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(167, 25, 48, 0.3) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
}

.hero-text p {
    color: #ddd;
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
}

.badge {
    display: inline-block;
    background: rgba(240, 120, 66, 0.2);
    color: var(--thermal-orange);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid rgba(240, 120, 66, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* CSS Heater Illustration */
.heater-graphic {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.heat-core {
    width: 100px;
    height: 100px;
    background: var(--thermal-orange);
    border-radius: 50%;
    box-shadow: 0 0 50px var(--primary-red);
    animation: pulse 2s infinite;
}

.heat-wave {
    position: absolute;
    border: 2px solid rgba(217, 54, 66, 0.5);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.w1 { width: 150px; height: 150px; animation: ripple 3s infinite 0s; }
.w2 { width: 220px; height: 220px; animation: ripple 3s infinite 1s; }
.w3 { width: 290px; height: 290px; animation: ripple 3s infinite 2s; }

.temp-indicator {
    position: absolute;
    bottom: -20px;
    background: white;
    padding: 10px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.temp-indicator span {
    display: block;
    font-weight: 700;
    color: var(--primary-red);
    font-size: 1.2rem;
}

.temp-indicator small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* --- Services --- */
.services {
    background: var(--bg-blush);
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

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

.service-card {
    background: var(--card-white);
    padding: 30px;
    border-radius: 15px;
    border-top: 4px solid var(--primary-red);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: var(--bg-blush);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-red);
}

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

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.learn-more {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.9rem;
}

/* --- Tech Section --- */
.tech-section {
    background: var(--dark-section);
    color: white;
    position: relative;
    overflow: hidden;
}

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

.tech-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.tech-content p {
    color: #ccc;
    margin-bottom: 30px;
}

.tech-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    color: #eee;
}

.tech-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--thermal-orange);
    border-radius: 50%;
}

.thermal-circle {
    width: 300px;
    height: 300px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.inner-pulse {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--thermal-orange) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s infinite;
}

/* --- Stats --- */
.stats-section {
    background: var(--primary-red);
    padding: 40px 0;
}

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

.stat-item h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.stat-item p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

/* --- Process Timeline --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--border-rose);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background: var(--card-white);
    border: 4px solid var(--primary-red);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.left { left: 0; }
.right { left: 50%; }

.right::after { left: -10px; }

.content {
    padding: 20px;
    background: var(--card-white);
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.content h3 {
    color: var(--primary-red);
    margin-bottom: 10px;
}

/* --- Showcase (CSS Only) --- */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.showcase-card {
    height: 250px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    background: var(--secondary-burgundy);
}

.c1 { background: linear-gradient(45deg, #38131D, #641D2B); }
.c2 { background: linear-gradient(135deg, #641D2B, #A71930); }
.c3 { background: linear-gradient(225deg, #A71930, #F07842); }

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

/* --- Article --- */
.article-container {
    background: var(--card-white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    max-width: 900px;
}

.article-header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

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

.article-body h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.article-body h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.article-body p {
    margin-bottom: 20px;
    color: #444;
}

.article-body ul, .article-body ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-body li {
    margin-bottom: 10px;
}

/* --- FAQ --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-white);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-burgundy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question .icon {
    font-size: 1.5rem;
    color: var(--primary-red);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .icon {
    transform: rotate(45deg);
}

/* --- Contact --- */
.contact-section {
    background: var(--dark-section);
    color: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    color: white;
    margin-bottom: 10px;
}

.info-card, .hours-card {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.info-card h4, .hours-card h4 {
    color: var(--thermal-orange);
    margin-bottom: 10px;
    font-size: 1rem;
}

.info-card a {
    color: white;
    font-size: 1.1rem;
}

.hours-card ul li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    color: #ddd;
}

.map-abstract {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pin {
    width: 20px;
    height: 20px;
    background: var(--thermal-orange);
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.ripple {
    position: absolute;
    border: 2px solid var(--primary-red);
    border-radius: 50%;
    opacity: 0;
    animation: ripple 3s infinite;
}

.r1 { width: 50px; height: 50px; animation-delay: 0s; }
.r2 { width: 100px; height: 100px; animation-delay: 1s; }
.r3 { width: 150px; height: 150px; animation-delay: 2s; }

/* --- Footer --- */
footer {
    background: #251D20;
    color: #777;
    padding: 40px 0;
    font-size: 0.9rem;
}

footer p {
    margin-bottom: 10px;
}

/* --- Animations --- */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

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

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-200 { animation-delay: 0.2s; }

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

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text p { margin: 0 auto 30px; }
    .hero-buttons { justify-content: center; }
    .tech-layout { grid-template-columns: 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item::after { left: 21px; }
    .right { left: 0; }
}

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .mobile-toggle { display: flex; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .showcase-grid { grid-template-columns: 1fr; }
    .article-container { padding: 20px; }
    h1 { font-size: 2.5rem; }
}