*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --iron: #2c2c2c;
    --steel: #4a4a4a;
    --spark: #e85d04;
    --spark-glow: #ff8c42;
    --ash: #f4f4f4;
    --paper: #ffffff;
    --text: #1e1e1e;
    --muted: #6b6b6b;
    --border: #d9d9d9;
    --radius: 6px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    background: var(--paper);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--iron);
}

.logo-icon {
    font-size: 1.6rem;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.6rem;
    align-items: center;
}

.main-nav a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--steel);
    transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--spark);
}

.nav-cta {
    background: var(--spark);
    color: #fff !important;
    padding: 0.45rem 1rem;
    border-radius: var(--radius);
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--spark-glow) !important;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 4rem;
    padding: 0 1.5rem;
    align-items: center;
}

.hero h1 {
    font-size: 2.8rem;
    line-height: 1.15;
    color: var(--iron);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 1.8rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 320px;
    background: linear-gradient(135deg, #2c2c2c 0%, #4a4a4a 100%);
    border-radius: var(--radius);
    overflow: hidden;
}

.spark {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--spark);
    border-radius: 50%;
    box-shadow: 0 0 20px 6px var(--spark-glow);
    top: 40%;
    left: 50%;
    animation: sparkPulse 2s infinite alternate;
}

.anvil {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 60px;
    background: #1a1a1a;
    clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
}

@keyframes sparkPulse {
    from { opacity: 0.4; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1.3); }
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--spark);
    color: #fff;
}

.btn-primary:hover {
    background: var(--spark-glow);
}

.btn-outline {
    border-color: var(--iron);
    color: var(--iron);
}

.btn-outline:hover {
    background: var(--iron);
    color: #fff;
}

.btn-secondary {
    background: var(--steel);
    color: #fff;
}

.btn-secondary:hover {
    background: var(--iron);
}

.btn-large {
    padding: 1rem 2.4rem;
    font-size: 1.05rem;
}

.btn-small {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    background: var(--spark);
    color: #fff;
}

.services-overview,
.process-strip,
.featured-work,
.testimonials {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1.5rem;
    text-align: center;
}

.services-overview h2,
.process-strip h2,
.featured-work h2,
.testimonials h2 {
    font-size: 2rem;
    color: var(--iron);
    margin-bottom: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    text-align: left;
}

.service-card {
    background: var(--ash);
    padding: 1.8rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    color: var(--iron);
}

.service-card p {
    font-size: 0.92rem;
    color: var(--muted);
    margin-bottom: 0.8rem;
}

.card-link {
    font-weight: 600;
    color: var(--spark);
    font-size: 0.9rem;
}

.process-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    text-align: left;
    margin-bottom: 2rem;
}

.process-steps li {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.6rem;
}

.step-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--spark);
    display: block;
    margin-bottom: 0.4rem;
}

.process-steps h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    color: var(--iron);
}

.process-steps p {
    font-size: 0.9rem;
    color: var(--muted);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.project-item {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--ash);
    border: 1px solid var(--border);
}

.project-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-item figcaption {
    padding: 0.8rem;
    font-size: 0.88rem;
    color: var(--steel);
}

.testimonial-slider {
    overflow: hidden;
    position: relative;
    margin-bottom: 2rem;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-item {
    min-width: 100%;
    padding: 2rem;
    background: var(--ash);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.testimonial-item p {
    font-size: 1.05rem;
    color: var(--steel);
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-item cite {
    font-size: 0.9rem;
    color: var(--muted);
}

.appointment-cta {
    background: var(--iron);
    color: #fff;
    padding: 4rem 1.5rem;
    text-align: center;
}

.cta-inner {
    max-width: 700px;
    margin: 0 auto;
}

.appointment-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.appointment-cta p {
    color: #c9c9c9;
    margin-bottom: 2rem;
}

.contact-strip {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 2rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: var(--ash);
    border-radius: var(--radius);
}

.contact-strip h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--iron);
}

.contact-strip address {
    font-style: normal;
    color: var(--steel);
    margin-bottom: 0.6rem;
}

.contact-strip a {
    color: var(--spark);
    font-weight: 600;
}

.site-footer {
    background: #1a1a1a;
    color: #b0b0b0;
    padding: 3rem 1.5rem 1.5rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.4rem;
}

.footer-col a {
    font-size: 0.88rem;
    color: #b0b0b0;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--spark);
}

.footer-col p {
    font-size: 0.88rem;
    line-height: 1.5;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: #888;
}

.cookie-banner {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    max-width: 600px;
    margin: 0 auto;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: var(--shadow);
    z-index: 200;
}

.cookie-banner p {
    font-size: 0.88rem;
    color: var(--muted);
}

.cookie-banner a {
    color: var(--spark);
    text-decoration: underline;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 300;
    padding: 1rem;
}

.modal-overlay[hidden] {
    display: none;
}

.modal {
    background: var(--paper);
    border-radius: var(--radius);
    max-width: 520px;
    width: 100%;
    padding: 2rem;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.modal-close {
    position: absolute;
    top: 0.8rem;
    right: 1rem;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--muted);
    line-height: 1;
}

.modal h2 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--iron);
}

.modal p {
    font-size: 0.95rem;
    color: var(--steel);
    margin-bottom: 0.6rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--iron);
    margin-bottom: 0.3rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.92rem;
    font-family: inherit;
    background: var(--paper);
    color: var(--text);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid var(--spark);
    border-color: transparent;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .main-nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--paper);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--border);
        gap: 0.8rem;
    }

    .main-nav ul.open {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .contact-strip {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}