:root {
    --primary-color: #D65A31; /* Warm burnt orange */
    --primary-hover: #BF4924;
    --secondary-color: #292524; /* Warm dark stone */
    --text-main: #27272A;
    --text-muted: #52525B;
    --bg-main: #FFFFFF;
    --bg-offset: #FAF8F5; /* Warm off-white */
    --border-color: #E4E4E7;
    --white: #FFFFFF;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --shadow-soft: 0 10px 40px -10px rgba(41,37,36,0.08);
    --shadow-hover: 0 20px 40px -15px rgba(214,90,49,0.15);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-main);
    overflow-x: hidden;
}

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

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

/* Container & Spacing */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-spacing {
    padding: 100px 0;
}

.bg-offset {
    background-color: var(--bg-offset);
}

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

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 4px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 14px rgba(230,57,70,0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230,57,70,0.5);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--secondary-color);
    border: 2px solid var(--white);
    box-shadow: 0 4px 14px rgba(255,255,255,0.1);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.4);
    padding: 10px 24px;
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
}

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

.navbar.scrolled {
    background: rgba(41, 37, 36, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 14px 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn) {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: var(--white);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 12px;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(90deg, rgba(41,37,36,0.95) 0%, rgba(41,37,36,0.7) 50%, rgba(41,37,36,0.3) 100%), url('images/custom-hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.hero-content {
    max-width: 650px;
    color: var(--white);
}

.hero h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    line-height: 1.8;
}

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

/* Services Grid */
.grid {
    display: grid;
    gap: 30px;
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

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

.icon {
    width: 64px;
    height: 64px;
    background: var(--bg-offset);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .icon {
    background: var(--primary-color);
    color: var(--white);
}

.price-tag {
    display: inline-block;
    background: var(--bg-offset);
    color: var(--primary-color);
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.service-card p:not(.price-tag) {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Areas Grid */
.areas-layout {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.areas-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.areas-text p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.area-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.area-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--secondary-color);
}

.area-list .check {
    color: var(--primary-color);
    background: rgba(230,57,70,0.1);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.areas-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    position: relative;
}

.pulse-circle {
    position: relative;
    width: 80px;
    height: 80px;
}

.core-pin {
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: absolute;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(11, 25, 44, 0.3);
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    animation: ripple 3s infinite cubic-bezier(0.65, 0, 0.34, 1);
}

.ring-1 {
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.ring-2 {
    width: 80px;
    height: 80px;
    animation-delay: 1.5s;
}

@keyframes ripple {
    0% {
        width: 80px;
        height: 80px;
        opacity: 1;
    }
    100% {
        width: 350px;
        height: 350px;
        opacity: 0;
    }
}

/* Benefits Grid */
.benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.benefit-card {
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
}

.benefit-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.benefit-title::first-letter {
    display: none; /* Just for spacing trick, handled by span via content below normally, but here we just style the number manually */
}

/* Small hack: style the first word (number) */
.benefit-title.js-styled {
    display: flex;
    flex-direction: column;
}

.benefit-card p {
    color: var(--text-muted);
}

/* Contact Section */
.contact-box {
    background: var(--secondary-color);
    border-radius: var(--radius-lg);
    padding: 80px 40px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(214,90,49,0.15) 0%, rgba(214,90,49,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-box h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-box p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.8);
    max-width: 500px;
    margin: 0 auto 40px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-btn {
    padding: 18px 36px;
    font-size: 1.125rem;
}

.contact-btn .icon {
    margin-right: 10px;
}

/* Footer */
footer {
    background: var(--secondary-color);
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
}

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

footer p {
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

/* Animations */
.scroll-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 991px) {
    .areas-layout {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--secondary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
    }

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

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .area-list {
        grid-template-columns: 1fr;
    }
    
    .navbar {
        background: rgba(41, 37, 36, 0.98);
        padding: 16px 0;
    }
}

/* Fix benefit title display manually using pseudoclasses */
.benefit-title::before {
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
}

.benefit-card:nth-child(1) .benefit-title { font-size: 0; }
.benefit-card:nth-child(1) .benefit-title::before { content: '01'; font-size: 1rem; }
.benefit-card:nth-child(1) .benefit-title::after { content: 'The Ultimate Convenience'; font-size: 1.25rem; display: block; }

.benefit-card:nth-child(2) .benefit-title { font-size: 0; }
.benefit-card:nth-child(2) .benefit-title::before { content: '02'; font-size: 1rem; }
.benefit-card:nth-child(2) .benefit-title::after { content: 'Honest Pricing'; font-size: 1.25rem; display: block; }

.benefit-card:nth-child(3) .benefit-title { font-size: 0; }
.benefit-card:nth-child(3) .benefit-title::before { content: '03'; font-size: 1rem; }
.benefit-card:nth-child(3) .benefit-title::after { content: 'Fast Response'; font-size: 1.25rem; display: block; }

.benefit-card:nth-child(4) .benefit-title { font-size: 0; }
.benefit-card:nth-child(4) .benefit-title::before { content: '04'; font-size: 1rem; }
.benefit-card:nth-child(4) .benefit-title::after { content: 'Reliable Service'; font-size: 1.25rem; display: block; }
