:root {
    --primary-color: #b85c1a;
    --secondary-color: #e67e22;
    --accent-color: #f1c40f;
    --bg-light: #fef5e8;
    --bg-dark: #2c3e50;
    --text-dark: #2d2a24;
    --text-light: #fdf8f0;
    --shadow: 0 8px 20px rgba(0,0,0,0.15);
    --border-radius: 10px;
    --spacing-sm: 0.8rem;
    --spacing-md: 1.5rem;
    --font-main: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    --transition: all 0.25s ease;
}

html {
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.5;
    color: var(--text-dark);
    background-color: #fffaf2;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 70px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}
.bg-dark a:not(.btn) {
    color: var(--accent-color);
}

.main-header {
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 1.9rem;
    margin-bottom: 0;
}
.logo .highlight {
    color: var(--accent-color);
}
.slogan {
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

.hero {
    background: linear-gradient(105deg, #1e2a3a 0%, #3b2a1f 100%);
    color: white;
    text-align: center;
}
.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem auto;
}
.btn {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}
.btn-primary:hover {
    background: #a04000;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}
.card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.card:hover {
    transform: translateY(-5px);
}
.custom-list, .steps-list {
    padding-left: 1.5rem;
    margin: 0.8rem 0;
}
.steps-list {
    list-style-type: decimal-leading-zero;
}
.media-showcase {
    margin-top: 2rem;
}
.links-grid {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
}
.links-grid ul {
    list-style-type: square;
}
.image-figure {
    margin: 1.5rem 0;
    text-align: center;
}
.responsive-img {
    width: 100%;
    max-width: 600px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}
.responsive-img:hover {
    transform: scale(1.01);
}
figcaption {
    font-size: 0.85rem;
    color: #5a4a3a;
    margin-top: 0.5rem;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}
.servicio-card {
    background: #fffbf5;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary-color);
}
.servicio-card ul li:nth-child(odd) {
    background-color: #f7e9dd;
}
.servicio-card ul li {
    padding: 0.3rem;
    margin: 0.2rem 0;
}
.servicio-card:hover {
    background: #fef0e2;
}
.muestra-colores {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
    align-items: center;
}
.color-muestra {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}
.color1 { background-color: #b85c1a; }
.color2 { background-color: #f1c40f; }
.color3 { background-color: #2c6e2c; }
.disponibilidad {
    display: inline-block;
    width: calc(100% - 30px);
    background: #e9e0d3;
    padding: 4px;
    text-align: center;
    border-radius: 6px;
    margin-top: 0.8rem;
}
.propiedades-demo {
    margin-top: 30px;
}
.garantia-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
    justify-content: center;
}
.garantia-item {
    background: var(--primary-color);
    color: white;
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    flex: 1;
    min-width: 150px;
}

.ofertas-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}
.lista-ofertas {
    flex: 2;
    list-style: none;
}
.lista-ofertas li {
    background: rgba(255,255,255,0.12);
    margin-bottom: 0.8rem;
    padding: 0.8rem;
    border-radius: 10px;
}
.nota-extra {
    flex: 1;
    background: rgba(0,0,0,0.2);
    padding: 1rem;
    border-radius: 12px;
}

.datos-contacto {
    background: #e9e0d3;
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
    text-align: center;
}
.datos-contacto a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}
.contact-section {
    background: #eae2d7;
}
.contact-form {
    max-width: 600px;
    margin: 2rem auto 0;
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}
.form-group {
    margin-bottom: 1.2rem;
}
.form-group label {
    font-weight: 600;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
}
.btn-submit {
    background: var(--primary-color);
    width: 100%;
}
.btn-submit:hover {
    background: #8e4a13;
}

.main-footer {
    background: #1e2a2a;
    color: #ccc;
    text-align: center;
    padding: 2rem 0;
}
.footer-link {
    color: var(--accent-color);
    text-decoration: none;
}
.main-footer::after {
    content: "";
    display: table;
    clear: both;
}

@supports (display: grid) {
    .servicios-grid {
        gap: 1.8rem;
    }
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    padding: 0.3rem 0.5rem;
    line-height: 1;
    z-index: 101;
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background: var(--primary-color);
        padding: 5rem 2rem 2rem;
        box-shadow: -4px 0 20px rgba(0,0,0,0.3);
        transition: right 0.3s ease;
        z-index: 100;
    }
    .main-nav.nav-open {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        gap: 0;
    }
    .nav-list li {
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }
    .nav-link {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
    }
    .nav-link:hover {
        border-bottom: none;
    }
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
    }
    .logo h1 {
        font-size: 1.4rem;
    }
    .two-columns {
        grid-template-columns: 1fr;
    }
    .links-grid {
        flex-direction: column;
        gap: 1rem;
    }
    .hero-content h2 {
        font-size: 1.6rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .section-padding {
        padding: 40px 0;
    }
    .servicios-grid {
        grid-template-columns: 1fr;
    }
    .garantia-item {
        min-width: 120px;
    }
    .contact-form {
        padding: 1.2rem;
    }
    .lista-ofertas, .nota-extra {
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    .container {
        width: 92%;
    }
    .logo h1 {
        font-size: 1.1rem;
    }
    .slogan {
        font-size: 0.65rem;
    }
    .hero-content h2 {
        font-size: 1.3rem;
    }
    .hero-content p {
        font-size: 0.9rem;
    }
    .btn {
        padding: 10px 22px;
        font-size: 0.9rem;
    }
    .section-padding {
        padding: 30px 0;
    }
    .card, .servicio-card {
        padding: 1rem;
    }
    h2 {
        font-size: 1.3rem;
    }
    h3 {
        font-size: 1.1rem;
    }
    .muestra-colores {
        flex-wrap: wrap;
    }
    .datos-contacto {
        font-size: 0.9rem;
        padding: 0.8rem;
    }
    .contact-form {
        padding: 1rem;
    }
    .main-footer {
        font-size: 0.8rem;
        padding: 1.2rem 0;
    }
    .main-nav {
        width: 85%;
    }
}

@media (max-width: 360px) {
    .logo h1 {
        font-size: 1rem;
    }
    .menu-toggle {
        font-size: 1.6rem;
    }
    .hero-content h2 {
        font-size: 1.1rem;
    }
    .section-padding {
        padding: 25px 0;
    }
    .nav-link {
        font-size: 1rem;
        padding: 0.8rem 0;
    }
    .main-nav {
        width: 100%;
        max-width: none;
    }
}