/* ============================================
   SILAB 3D - SISTEMA DE DISEÑO UNIFICADO
   ============================================ */

/* === VARIABLES GLOBALES === */
:root {
    /* Colores principales */
    --primary-color: #470C3B;
    --secondary-color: #7F2F56;
    --accent-color: #C0576F;
    --light-accent: #E3B679;
    --lighter-accent: #FFBDB3;
    --dark-color: #202124;
    --light-color: #f8f9fa;
    --text-color: #3c4043;
    
    /* Tipografía unificada */
    --font-title: 2.5rem;           /* Títulos principales (h1, h2) */
    --font-subtitle: 1.5rem;        /* Subtítulos (h3) */
    --font-body: 1.1rem;            /* Texto descriptivo */
    --font-small: 0.95rem;          /* Texto pequeño */
    
    --weight-bold: 700;
    --weight-semibold: 600;
    --weight-medium: 500;
    --weight-regular: 400;
    
    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
}

/* === TIPOGRAFÍA BASE === */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
    min-height: 100vh;
    color: var(--text-color);
    font-size: var(--font-body);
    line-height: 1.6;
    padding-top: 160px; /* Compensar navbar fixed */
}

/* Títulos unificados */
h1, .title-primary {
    font-size: var(--font-title);
    font-weight: var(--weight-bold);
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h2, .title-secondary {
    font-size: var(--font-title);
    font-weight: var(--weight-bold);
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h3, .subtitle {
    font-size: var(--font-subtitle);
    font-weight: var(--weight-semibold);
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
}

/* Descripciones y párrafos */
p, .description {
    font-size: var(--font-body);
    color: #374151;
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.text-small {
    font-size: var(--font-small);
}

/* === SISTEMA DE BOTONES UNIFICADO === */

/* Botón Primario - Fondo color principal */
.btn-primary, .cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: var(--weight-bold);
    font-size: var(--font-body);
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary:hover, .cta-button:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(192, 87, 111, 0.4);
}

/* Botón Secundario - Fondo dorado claro */
.btn-secondary {
    display: inline-block;
    background: linear-gradient(135deg, var(--light-accent) 0%, #f5d89f 100%);
    color: var(--primary-color);
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: var(--weight-bold);
    font-size: var(--font-body);
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #f5d89f 0%, var(--light-accent) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(227, 182, 121, 0.4);
    color: white;
}

/* Botón de acción (solicitar, comprar, etc.) */
.btn-comprar, .btn-action {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    padding: 0.6rem 1.8rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: var(--weight-semibold);
    text-decoration: none;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-body);
}

.btn-comprar:hover, .btn-action:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 16px rgba(192, 87, 111, 0.4);
}

/* Botón presupuesto navbar */
.btn-presupuesto {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: var(--weight-semibold);
    transition: all 0.3s ease;
    display: inline-block;
    font-size: var(--font-body);
}

.btn-presupuesto:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(192, 87, 111, 0.3);
}

/* Botones de filtro */
.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #d1d5db;
    background: linear-gradient(135deg, #ffffff 0%, #F8F9FA 100%);
    color: #374151;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: var(--weight-bold);
    font-size: var(--font-small);
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-color: var(--accent-color);
    transform: translateY(-1px);
}

/* === SISTEMA DE CONTENEDORES UNIFICADO === */

/* Contenedor oscuro - Para secciones destacadas (como contacto) */
.container-dark, .contacto-card {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    padding: var(--spacing-lg);
    border-radius: 0.75rem;
    box-shadow: 0 6px 16px rgba(71, 12, 59, 0.2);
    transition: all 0.3s ease;
    color: white;
}

.container-dark:hover, .contacto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(71, 12, 59, 0.3);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.container-dark h3, .contacto-card h3 {
    color: white;
    font-size: var(--font-subtitle);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--spacing-sm);
}

.container-dark p, .contacto-card p {
    color: #f8f9fa;
    font-size: var(--font-body);
    line-height: 1.6;
}

/* Contenedor claro - Para tarjetas de materiales/productos */
.container-light, .producto-card, .material-preview-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF5F7 40%, #FFE8EC 100%);
    padding: var(--spacing-lg);
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(71, 12, 59, 0.12);
    transition: all 0.3s ease;
    border-top: 4px solid var(--accent-color);
}

.container-light:hover, .producto-card:hover, .material-preview-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 24px rgba(192, 87, 111, 0.25);
    background: linear-gradient(135deg, #FFE8EC 0%, #FFD1D9 50%, #FFBDC8 100%);
}

.container-light h3, .producto-card h3 {
    color: var(--primary-color);
    font-size: var(--font-subtitle);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--spacing-sm);
}

.container-light p, .producto-card p {
    color: #0f172a;
    font-size: var(--font-body);
    font-weight: var(--weight-regular);
}

/* Contenedor blanco - Para reseñas y contenido limpio */
.container-white, .material-container {
    background-color: white;
    padding: var(--spacing-xl);
    border-radius: 1.25rem;
    box-shadow: 0 8px 24px rgba(71, 12, 59, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(192, 87, 111, 0.08);
}

.container-white:hover, .material-container:hover {
    box-shadow: 0 12px 32px rgba(71, 12, 59, 0.15);
    transform: translateY(-3px);
}

.container-white h3 {
    color: var(--primary-color);
    font-size: var(--font-subtitle);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--spacing-sm);
}

.container-white p {
    color: #374151;
    font-size: var(--font-body);
    line-height: 1.6;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background-color: #470C3B;
    color: white;
    padding: 0.25rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

/* Clase para ocultar navbar en scroll (DESHABILITADA - navbar siempre visible) */
.navbar.navbar-hidden {
    transform: translateY(0);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

.navbar-container > * {
    min-width: 0;
}

.navbar-left {
    display: flex;
    justify-content: flex-start;
}

.navbar-center {
    display: flex;
    justify-content: center;
}

.navbar-logo {
    height: 130px;
    aspect-ratio: auto;
    width: auto;
}

.btn-presupuesto {
    background-color: #C0576F;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-presupuesto:hover {
    background-color: #7F2F56;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(192, 87, 111, 0.3);
}

.navbar .logo h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFBDB3;
    margin: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #FFBDB3;
    border-bottom-color: #FFBDB3;
}

/* Hamburger Menu - Oculto en desktop */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(10px, -10px);
}

/* Mobile Menu - Oculto en desktop */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--primary-color);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background: rgba(255, 189, 179, 0.2);
    color: #FFBDB3;
}

.mobile-menu .btn-presupuesto-mobile {
    background: var(--accent-color);
    color: white;
    font-weight: 700;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.mobile-menu .btn-presupuesto-mobile:hover {
    background: #d04b63;
}

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

/* Hero Main */
.hero-main {
    background: #ffffff;
    padding: 4rem 0 5rem 0;
    position: relative;
}

.hero-main::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    height: 60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3C!-- Bobina --%3E%3Ccircle cx='100' cy='30' r='25' fill='%23470C3B' opacity='0.3'/%3E%3Ccircle cx='100' cy='30' r='18' fill='none' stroke='%237F2F56' stroke-width='2' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='12' fill='none' stroke='%23C0576F' stroke-width='1.5' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='6' fill='%23FAF9F7'/%3E%3C!-- Filamento --%3E%3Cpath d='M 125 30 Q 180 25 240 30 T 400 30 T 600 30 T 800 30 T 1000 30 T 1200 30 L 1440 30' stroke='%23C0576F' stroke-width='2' fill='none' opacity='0.4'/%3E%3Cpath d='M 125 30 Q 180 25 240 30 T 400 30 T 600 30 T 800 30 T 1000 30 T 1200 30 L 1440 30' stroke='%237F2F56' stroke-width='1' fill='none' opacity='0.3' transform='translate(0, 2)'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 10;
}

/* Ocultar separadores en página de reseñas */
.page-resenas .hero-main::after,
.page-resenas .productos-section::after {
    display: none;
}

/* Separadores personalizados para página de reseñas */
.separator-resenas {
    position: relative;
    height: 60px;
    margin: 3rem 0;
}

.separator-resenas::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 10;
}

/* Separador 1: Bobina izquierda y filamento */
.separator-1::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3C!-- Bobina --%3E%3Ccircle cx='100' cy='30' r='25' fill='%23470C3B' opacity='0.3'/%3E%3Ccircle cx='100' cy='30' r='18' fill='none' stroke='%237F2F56' stroke-width='2' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='12' fill='none' stroke='%23C0576F' stroke-width='1.5' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='6' fill='%23FAF9F7'/%3E%3C!-- Filamento --%3E%3Cpath d='M 125 30 Q 180 25 240 30 T 400 30 T 600 30 T 800 30 T 1000 30 T 1200 30 L 1440 30' stroke='%23C0576F' stroke-width='2' fill='none' opacity='0.4'/%3E%3Cpath d='M 125 30 Q 180 25 240 30 T 400 30 T 600 30 T 800 30 T 1000 30 T 1200 30 L 1440 30' stroke='%237F2F56' stroke-width='1' fill='none' opacity='0.3' transform='translate(0, 2)'/%3E%3C/svg%3E");
}

/* Separador 2: Filamento y bobina derecha */
.separator-2::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3C!-- Filamento --%3E%3Cpath d='M 0 30 L 240 30 T 400 30 T 600 30 T 800 30 T 1000 30 T 1200 30 Q 1260 35 1315 30' stroke='%23C0576F' stroke-width='2' fill='none' opacity='0.4'/%3E%3Cpath d='M 0 30 L 240 30 T 400 30 T 600 30 T 800 30 T 1000 30 T 1200 30 Q 1260 35 1315 30' stroke='%237F2F56' stroke-width='1' fill='none' opacity='0.3' transform='translate(0, 2)'/%3E%3C!-- Bobina a la derecha --%3E%3Ccircle cx='1340' cy='30' r='25' fill='%23470C3B' opacity='0.3'/%3E%3Ccircle cx='1340' cy='30' r='18' fill='none' stroke='%237F2F56' stroke-width='2' opacity='0.5'/%3E%3Ccircle cx='1340' cy='30' r='12' fill='none' stroke='%23C0576F' stroke-width='1.5' opacity='0.5'/%3E%3Ccircle cx='1340' cy='30' r='6' fill='%23ffffff'/%3E%3C/svg%3E");
}

/* Pop-up de Términos y Condiciones */
.terms-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: none;
    animation: slideInUp 0.4s ease;
}

.terms-popup.show {
    display: block;
}

.terms-popup-content {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 40px rgba(71, 12, 59, 0.25);
    border: 2px solid #C0576F;
    max-width: 350px;
    width: 350px;
}

.terms-popup-content p {
    margin: 0 0 1rem 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #374151;
}

.terms-popup-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.terms-btn {
    flex: 1;
    padding: 0.65rem 1rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.terms-btn-accept {
    background: linear-gradient(135deg, #C0576F 0%, #7F2F56 100%);
    color: white;
}

.terms-btn-accept:hover {
    background: linear-gradient(135deg, #7F2F56 0%, #470C3B 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(192, 87, 111, 0.4);
}

.terms-btn-reject {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.terms-btn-reject:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-main-content {
    padding: 2rem 0;
    text-align: center;
}

.hero-main-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #470C3B;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    white-space: nowrap;
}

.hero-main-text {
    font-size: 1.1rem;
    color: #374151;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-main-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-circular {
    width: 500px;
    aspect-ratio: auto;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(71, 12, 59, 0.3);
}

.hero-main-image .image-placeholder {
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    background: linear-gradient(to right, #7F2F56, #C0576F, #E3B679);
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(71, 12, 59, 0.2);
}

/* Productos Section */
.productos-section {
    padding: 3rem 0 3rem 0;
    background: #ffffff;
    position: relative;
}

.productos-section::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    height: 60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3C!-- Filamento --%3E%3Cpath d='M 0 30 L 240 30 T 400 30 T 600 30 T 800 30 T 1000 30 T 1200 30 Q 1260 35 1315 30' stroke='%23C0576F' stroke-width='2' fill='none' opacity='0.4'/%3E%3Cpath d='M 0 30 L 240 30 T 400 30 T 600 30 T 800 30 T 1000 30 T 1200 30 Q 1260 35 1315 30' stroke='%237F2F56' stroke-width='1' fill='none' opacity='0.3' transform='translate(0, 2)'/%3E%3C!-- Bobina a la derecha --%3E%3Ccircle cx='1340' cy='30' r='25' fill='%23470C3B' opacity='0.3'/%3E%3Ccircle cx='1340' cy='30' r='18' fill='none' stroke='%237F2F56' stroke-width='2' opacity='0.5'/%3E%3Ccircle cx='1340' cy='30' r='12' fill='none' stroke='%23C0576F' stroke-width='1.5' opacity='0.5'/%3E%3Ccircle cx='1340' cy='30' r='6' fill='%23ffffff'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 10;
}

/* Títulos de sección unificados */
.productos-section h2,
.materiales-preview h2,
.contacto-section h2,
.tienda h2,
.materiales-intro h2,
.recomendaciones h2,
.comparativa h2 {
    text-align: center;
    font-size: var(--font-title);
    font-weight: var(--weight-bold);
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.productos-section h2::after,
.materiales-preview h2::after,
.contacto-section h2::after,
.tienda h2::after,
.materiales-intro h2::after,
.recomendaciones h2::after,
.comparativa h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
}

.section-intro {
    text-align: center;
    font-size: var(--font-body);
    color: #374151;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Eliminamos las definiciones duplicadas de títulos */

.productos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Estilos de producto-card heredan de container-light */
.producto-card {
    padding: 2rem;
    text-align: center;
    cursor: pointer;
}

.producto-image {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Materiales Preview */
.materiales-preview {
    padding: 3rem 0 6rem 0;
    background: #ffffff;
    position: relative;
}

.materiales-preview::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    height: 60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3C!-- Bobina --%3E%3Ccircle cx='100' cy='30' r='25' fill='%23470C3B' opacity='0.3'/%3E%3Ccircle cx='100' cy='30' r='18' fill='none' stroke='%237F2F56' stroke-width='2' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='12' fill='none' stroke='%23C0576F' stroke-width='1.5' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='6' fill='%23FAF9F7'/%3E%3C!-- Filamento --%3E%3Cpath d='M 125 30 Q 180 25 240 30 T 400 30 T 600 30 T 800 30 T 1000 30 T 1200 30 L 1440 30' stroke='%23C0576F' stroke-width='2' fill='none' opacity='0.4'/%3E%3Cpath d='M 125 30 Q 180 25 240 30 T 400 30 T 600 30 T 800 30 T 1000 30 T 1200 30 L 1440 30' stroke='%237F2F56' stroke-width='1' fill='none' opacity='0.3' transform='translate(0, 2)'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 10;
}

/* materiales-preview h2 ya definido en títulos de sección unificados */

.materiales-preview-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2rem auto 0;
    flex-wrap: wrap;
    max-width: 1000px;
}

/* Material preview cards heredan de container-light */
.material-preview-card {
    padding: 2rem 2.5rem;
    text-align: center;
    width: 450px;
    margin: 0 auto;
    cursor: pointer;
}

/* PLA Card - Tonos cálidos - usa gradiente de container-light por defecto */
.pla-card {
    /* Hereda estilos de container-light */
}

/* PETG Card - Tonos morados */
.petg-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #F5E8F0 30%, #E8D1DD 100%);
}

.petg-card:hover {
    box-shadow: 0 12px 24px rgba(127, 47, 86, 0.5);
    background: linear-gradient(135deg, #E8D1DD 0%, #D4B3C8 50%, #C0576F 100%);
}

.link-arrow {
    color: var(--accent-color);
    font-weight: var(--weight-semibold);
    font-size: var(--font-body);
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-arrow:hover {
    color: var(--secondary-color);
}

/* Contacto Section */
.contacto-section {
    padding: 3rem 0;
    background: #ffffff;
}

.contacto-section h2 {
    text-align: center;
    font-size: var(--font-title);
    font-weight: var(--weight-bold);
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.contacto-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
}

.contacto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* contacto-card hereda de container-dark */
.contacto-card {
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    display: block;
}

.contacto-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Hero */
.hero {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color), var(--accent-color));
    color: white;
    padding: 8rem 1.25rem;
    text-align: center;
    margin-bottom: 3rem;
}

.hero-content h2 {
    font-size: var(--font-title);
    margin-bottom: 1rem;
    font-weight: var(--weight-bold);
    color: white;
}

.hero-content p {
    font-size: var(--font-body);
    margin-bottom: 2rem;
    opacity: 0.95;
    color: white;
}

.tienda-hero {
    background: linear-gradient(to right, #7F2F56, #C0576F, #E3B679);
    color: white;
    position: relative;
}

.tienda-hero .hero-content h2,
.tienda-hero .hero-content p {
    color: white;
}

.tienda-hero::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    height: 60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3C!-- Bobina --%3E%3Ccircle cx='100' cy='30' r='25' fill='%23470C3B' opacity='0.3'/%3E%3Ccircle cx='100' cy='30' r='18' fill='none' stroke='%237F2F56' stroke-width='2' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='12' fill='none' stroke='%23C0576F' stroke-width='1.5' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='6' fill='%23FAF9F7'/%3E%3C!-- Filamento --%3E%3Cpath d='M 125 30 Q 180 25 240 30 T 400 30 T 600 30 T 800 30 T 1000 30 T 1200 30 L 1440 30' stroke='%23C0576F' stroke-width='2' fill='none' opacity='0.4'/%3E%3Cpath d='M 125 30 Q 180 25 240 30 T 400 30 T 600 30 T 800 30 T 1000 30 T 1200 30 L 1440 30' stroke='%237F2F56' stroke-width='1' fill='none' opacity='0.3' transform='translate(0, 2)'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 10;
}

.materiales-hero {
    background: linear-gradient(to right, #C0576F, #E3B679, #FFBDB3);
    color: white;
    position: relative;
}

.materiales-hero .hero-content h2,
.materiales-hero .hero-content p {
    color: white;
}

.materiales-hero::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    height: 60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3C!-- Bobina --%3E%3Ccircle cx='100' cy='30' r='25' fill='%23470C3B' opacity='0.3'/%3E%3Ccircle cx='100' cy='30' r='18' fill='none' stroke='%237F2F56' stroke-width='2' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='12' fill='none' stroke='%23C0576F' stroke-width='1.5' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='6' fill='%23FAF9F7'/%3E%3C!-- Filamento --%3E%3Cpath d='M 125 30 Q 180 25 240 30 T 400 30 T 600 30 T 800 30 T 1000 30 T 1200 30 L 1440 30' stroke='%23C0576F' stroke-width='2' fill='none' opacity='0.4'/%3E%3Cpath d='M 125 30 Q 180 25 240 30 T 400 30 T 600 30 T 800 30 T 1000 30 T 1200 30 L 1440 30' stroke='%237F2F56' stroke-width='1' fill='none' opacity='0.3' transform='translate(0, 2)'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 10;
}

/* CTA Button ya definido en sistema de botones unificado */

/* About Section */
.about {
    padding: 4rem 0;
    background-color: #f3f4f6;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 3rem;
    color: #470C3B;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #374151;
    text-align: justify;
}

.image-placeholder {
    background: linear-gradient(to right, #7F2F56, #C0576F, #E3B679);
    color: white;
    border-radius: 0.5rem;
    padding: 5rem 1.25rem;
    text-align: center;
    font-size: 4rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    padding: 4rem 0;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 3rem;
    color: #470C3B;
}

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

.service-card {
    background-color: #f3f4f6;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    border-left: 4px solid #C0576F;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: #4b5563;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(to right, #7F2F56, #C0576F, #E3B679);
    color: white;
    padding: 4rem 1.25rem;
    text-align: center;
    margin: 3rem 0;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Tienda */
.tienda {
    padding: 5rem 0 6rem 0;
    background-color: #ffffff;
    position: relative;
}

.tienda h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 1rem;
}

.tienda h2::after {
    content: '';
    margin-top: 0.5rem;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #C0576F, #7F2F56);
}

.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

/* filter-btn ya definido en sistema de botones */

.products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.product-card {
    background-color: #ffffff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(71, 12, 59, 0.15);
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    width: 240px;
    height: 450px;
}

.product-card.hiding {
    opacity: 0;
    transform: scale(0.95);
}

.product-card.showing {
    opacity: 1;
    transform: scale(1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(71, 12, 59, 0.25);
}

.product-image {
    width: 100%;
    aspect-ratio: 1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card h3 {
    padding: 1rem 1.25rem 0.5rem;
    color: #470C3B;
    font-size: 1.1rem;
    font-weight: 700;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
}

.product-card .description {
    padding: 0 1.25rem 0.75rem;
    color: #374151;
    font-size: 0.85rem;
    line-height: 1.5;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .material {
    padding: 0 1rem 0.5rem;
    color: #9ca3af;
    font-size: 0.85rem;
    font-style: italic;
}

.product-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    margin-top: auto;
    border-top: 1px solid #d1d5db;
}

.price {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--accent-color);
}

/* btn-comprar ya definido en sistema de botones unificado */

/* Product card large para diseños a medida */
.product-card-large {
    grid-column: span 3;
    max-width: 600px;
    width: 100%;
}

.requirements-title {
    font-weight: 600;
    color: #470C3B;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
}

.requirements-list {
    list-style: none;
    padding: 0 2rem;
    color: #374151;
    font-size: 0.95rem;
    margin: 0 auto 1.5rem;
    max-width: 700px;
    text-align: left;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 2rem;
    column-gap: 3rem;
}

.requirements-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.requirements-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #C0576F;
    font-weight: bold;
}

.small-text {
    font-size: 0.85rem;
    color: #6b7280;
    font-style: italic;
}

/* Info Compra */
.info-compra {
    padding: 5rem 0;
    background-color: #ffffff;
}

.info-compra h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 1rem;
}

.info-compra h2::after {
    content: '';
    margin-top: 0.5rem;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #C0576F, #7F2F56);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    color: #C0576F;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.info-card p {
    color: #374151;
}

/* Materiales */
.materiales-intro {
    padding: 5rem 0 6rem 0;
    text-align: center;
    background-color: #ffffff;
    position: relative;
}

.materiales-intro::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    height: 60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3C!-- Bobina a la izquierda --%3E%3Ccircle cx='100' cy='30' r='25' fill='%23470C3B' opacity='0.3'/%3E%3Ccircle cx='100' cy='30' r='18' fill='none' stroke='%237F2F56' stroke-width='2' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='12' fill='none' stroke='%23C0576F' stroke-width='1.5' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='6' fill='%23FAF9F7'/%3E%3C!-- Filamento --%3E%3Cpath d='M 125 30 Q 180 35 240 30 T 400 30 T 600 30 T 800 30 T 1000 30 T 1200 30 L 1440 30' stroke='%23C0576F' stroke-width='2' fill='none' opacity='0.4'/%3E%3Cpath d='M 125 30 Q 180 35 240 30 T 400 30 T 600 30 T 800 30 T 1000 30 T 1200 30 L 1440 30' stroke='%237F2F56' stroke-width='1' fill='none' opacity='0.3' transform='translate(0, 2)'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 10;
}

.materiales-intro h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #470C3B;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 1rem;
}

.materiales-intro h2::after {
    content: '';
    margin-top: 0.5rem;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #C0576F, #7F2F56);
}

.materiales-intro p {
    font-size: 1.1rem;
    color: #374151;
    max-width: 700px;
    margin: 0 auto;
}

.materiales {
    padding: 5rem 0 6rem 0;
    background-color: #ffffff;
}

.recomendaciones {
    padding: 5rem 0 6rem 0;
    background-color: #ffffff;
    position: relative;
}

.recomendaciones::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    height: 60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3C!-- Filamento --%3E%3Cpath d='M 0 30 L 240 30 T 400 30 T 600 30 T 800 30 T 1000 30 T 1200 30 Q 1260 35 1315 30' stroke='%23C0576F' stroke-width='2' fill='none' opacity='0.4'/%3E%3Cpath d='M 0 30 L 240 30 T 400 30 T 600 30 T 800 30 T 1000 30 T 1200 30 Q 1260 35 1315 30' stroke='%237F2F56' stroke-width='1' fill='none' opacity='0.3' transform='translate(0, 2)'/%3E%3C!-- Bobina a la derecha --%3E%3Ccircle cx='1340' cy='30' r='25' fill='%23470C3B' opacity='0.3'/%3E%3Ccircle cx='1340' cy='30' r='18' fill='none' stroke='%237F2F56' stroke-width='2' opacity='0.5'/%3E%3Ccircle cx='1340' cy='30' r='12' fill='none' stroke='%23C0576F' stroke-width='1.5' opacity='0.5'/%3E%3Ccircle cx='1340' cy='30' r='6' fill='%23ffffff'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 10;
}

.recomendaciones h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 1rem;
}

.recomendaciones h2::after {
    content: '';
    margin-top: 0.5rem;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #C0576F, #7F2F56);
}

.material-category {
    padding: 5rem 0 6rem 0;
    background-color: #ffffff;
    position: relative;
}

.material-category:nth-of-type(even)::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    height: 60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3C!-- Filamento --%3E%3Cpath d='M 0 30 L 240 30 T 400 30 T 600 30 T 800 30 T 1000 30 T 1200 30 Q 1260 35 1315 30' stroke='%23C0576F' stroke-width='2' fill='none' opacity='0.4'/%3E%3Cpath d='M 0 30 L 240 30 T 400 30 T 600 30 T 800 30 T 1000 30 T 1200 30 Q 1260 35 1315 30' stroke='%237F2F56' stroke-width='1' fill='none' opacity='0.3' transform='translate(0, 2)'/%3E%3C!-- Bobina a la derecha --%3E%3Ccircle cx='1340' cy='30' r='25' fill='%23470C3B' opacity='0.3'/%3E%3Ccircle cx='1340' cy='30' r='18' fill='none' stroke='%237F2F56' stroke-width='2' opacity='0.5'/%3E%3Ccircle cx='1340' cy='30' r='12' fill='none' stroke='%23C0576F' stroke-width='1.5' opacity='0.5'/%3E%3Ccircle cx='1340' cy='30' r='6' fill='%23ffffff'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 10;
}

.material-category:nth-of-type(odd)::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    height: 60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3C!-- Bobina a la izquierda --%3E%3Ccircle cx='100' cy='30' r='25' fill='%23470C3B' opacity='0.3'/%3E%3Ccircle cx='100' cy='30' r='18' fill='none' stroke='%237F2F56' stroke-width='2' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='12' fill='none' stroke='%23C0576F' stroke-width='1.5' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='6' fill='%23FAF9F7'/%3E%3C!-- Filamento --%3E%3Cpath d='M 125 30 Q 180 35 240 30 T 400 30 T 600 30 T 800 30 T 1000 30 T 1200 30 L 1440 30' stroke='%23C0576F' stroke-width='2' fill='none' opacity='0.4'/%3E%3Cpath d='M 125 30 Q 180 35 240 30 T 400 30 T 600 30 T 800 30 T 1000 30 T 1200 30 L 1440 30' stroke='%237F2F56' stroke-width='1' fill='none' opacity='0.3' transform='translate(0, 2)'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 10;
}

.material-container {
    background-color: white;
    border-radius: 1.5rem;
    padding: 4rem 3rem;
    box-shadow: 0 12px 40px rgba(71, 12, 59, 0.2);
    border: 2px solid rgba(192, 87, 111, 0.15);
    transition: all 0.3s ease;
    max-width: 1400px;
    margin: 0 auto;
}

.material-container:hover {
    box-shadow: 0 15px 45px rgba(71, 12, 59, 0.25);
    transform: translateY(-5px);
}

.material-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.material-type-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #470C3B;
}

.material-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    color: #7F2F56;
    display: block;
    margin-top: 0.5rem;
}

.material-description {
    font-size: 1.1rem;
    color: #374151;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.material-features {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.feature-badge {
    background: linear-gradient(135deg, rgba(192, 87, 111, 0.95), rgba(227, 182, 121, 0.95));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 10px rgba(192, 87, 111, 0.2);
    transition: all 0.3s ease;
}

.feature-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(192, 87, 111, 0.3);
}

.colores-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #470C3B;
    margin-bottom: 2rem;
}

.colores-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    justify-content: center;
}

.color-card {
    width: 140px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.color-card:hover {
    transform: translateY(-5px);
}

.color-circle {
    width: 120px;
    height: 120px;
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.5s ease;
    position: relative;
}

.color-circle.silk-shine::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 30%;
    height: 30%;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    filter: blur(8px);
}

.color-circle::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all 0.5s ease;
}

/* Hover eliminado: ya no transformamos a diamante, solo ocultamos el círculo 
   y mostramos el modelo 3D - ver reglas más abajo */

.color-card h4 {
    color: #1f2937;
    font-size: 1rem;
    font-weight: 600;
}

/* Color circle - visible por defecto */
.color-circle {
    width: 120px;
    height: 120px;
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
}

/* Model Viewer - oculto por defecto, visible en hover */
.color-model {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scale(0.5);
    opacity: 0;
    pointer-events: auto;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --poster-color: transparent;
    overflow: visible;
    z-index: 10;
}

/* Al hacer hover, mostrar el modelo 3D */
.color-card:hover .color-model {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

/* Al hacer hover, ocultar el círculo de color */
.color-card:hover .color-circle {
    opacity: 0;
    transform: scale(0.5) rotate(45deg);
}

.color-model::part(default-progress-bar) {
    display: none;
}

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

.material-card {
    background-color: #f3f4f6;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 5px solid #C0576F;
}

.material-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.material-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.material-card h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.material-details h4 {
    color: #C0576F;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.material-details ul {
    margin-left: 1.5rem;
    color: #374151;
    margin-bottom: 1rem;
}

.material-details li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.material-details p {
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.5;
}

.precio {
    color: #C0576F;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Tabla Comparativa */
.comparativa {
    padding: 4rem 0;
    background-color: #f3f4f6;
}

.comparativa {
    padding: 5rem 0;
    background-color: #ffffff;
}

.comparativa h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 1rem;
}

.comparativa h2::after {
    content: '';
    margin-top: 0.5rem;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #C0576F, #7F2F56);
}

.table-responsive {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    overflow: hidden;
}

.comparison-table thead {
    background-color: #470C3B;
    color: white;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #d1d5db;
}

.comparison-table tbody tr:hover {
    background-color: #f3f4f6;
}

.comparison-table td:first-child,
.comparison-table th:first-child {
    text-align: left;
}

/* Recomendaciones */
.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.recommendation-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 189, 179, 0.3));
    padding: 2rem;
    border-radius: 0.5rem;
    border-left: 4px solid #C0576F;
    box-shadow: 0 2px 8px rgba(71, 12, 59, 0.15);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.recommendation-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(71, 12, 59, 0.2);
}

.recommendation-card h3 {
    color: #470C3B;
    margin-bottom: 1rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.recommendation-card p {
    color: #1f2937;
    line-height: 1.7;
    font-weight: 500;
}

.recommendation-card:last-child {
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Footer */
.footer {
    background-color: #470C3B;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer p {
    margin: 0.5rem 0;
    color: white;
}

.footer a {
    color: #FFBDB3;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navbar como franja de contenido en móvil */
    .navbar {
        position: relative;
    }

    /* Eliminar padding del body en móvil */
    body {
        padding-top: 0;
    }

    /* Centrado general */
    .container {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 25px;
    }

    .navbar .container {
        flex-direction: column;
        gap: 1rem;
        padding: 0; /* Sin padding para navbar */
    }

    .navbar-container {
        grid-template-columns: 1fr;
        row-gap: 0.2rem;
        text-align: center;
        display: grid;
        place-items: center;
    }

    .navbar-left {
        display: none; /* Ocultar en móvil, el botón está en el menú hamburguesa */
    }

    .nav-links {
        justify-content: center;
        display: flex;
        width: 100%;
        margin-top: 1.36rem;
    }

    .navbar-logo {
        height: 180px;
        margin: 0.2rem auto;
        transform: scale(1.2);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    /* Ocultar logo al hacer scroll - DESHABILITADO */
    .navbar-hidden .navbar-logo {
        opacity: 1;
        transform: scale(1);
        pointer-events: auto;
    }

    .nav-links {
        flex-direction: row;
        gap: 1rem;
        width: 100%;
        text-align: center;
        justify-content: center;
        font-size: 0.8rem;
        display: none; /* Ocultar en móvil */
    }

    /* Mostrar hamburger menu en móvil */
    .hamburger-menu {
        display: flex;
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin: 0.5rem auto 0;
    }

    /* Menú móvil con elementos más pequeños */
    .mobile-menu a {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .btn-presupuesto {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 0.5rem;
    }

    .hero-main-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        place-items: center;
    }

    .hero-main-title {
        font-size: 2rem;
        white-space: normal;
        text-align: center;
    }

    .hero-main-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

    .hero-main-image {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero-main-image .image-placeholder {
        width: 300px;
        height: 300px;
        font-size: 6rem;
        margin: 0 auto;
    }

    .hero-image-circular {
        width: 300px;
        aspect-ratio: auto;
        margin: 0 auto;
        display: block;
    }

    .productos-section,
    .materiales-preview,
    .contacto-section {
        text-align: center;
    }

    .materiales-preview {
        padding: 2rem 0 3rem 0;
    }

    .productos-section h2,
    .materiales-preview h2,
    .contacto-section h2 {
        font-size: 1.75rem;
        text-align: center;
    }

    .section-intro {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    /* Grid de productos - 2 por fila en móvil */
    .productos-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin: 0 auto;
        width: 100%;
        max-width: 380px;
        padding: 0 1rem;
        box-sizing: border-box;
        justify-items: center;
        align-items: stretch;
    }

    .producto-card {
        width: 100%;
        max-width: 160px;
        display: flex;
        flex-direction: column;
        min-height: 200px;
        padding: 0.875rem 0.5rem;
        box-sizing: border-box;
    }

    .producto-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .producto-image {
        font-size: 2.25rem;
        margin-bottom: 0.5rem;
    }

    .producto-card h3 {
        font-size: 0.95rem;
        line-height: 1.2;
        min-height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin-bottom: 0.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .producto-card p {
        font-size: 0.85rem;
        line-height: 1.3;
        flex-grow: 1;
        text-align: center;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Grid de materiales preview - 2 por fila en móvil */
    .materiales-preview-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: center;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .material-preview-card {
        width: calc(50% - 0.375rem);
        min-width: calc(50% - 0.375rem);
        max-width: calc(50% - 0.375rem);
        padding: 1.125rem 0.5rem;
        text-align: center;
        box-sizing: border-box;
    }

    .material-preview-card h3 {
        font-size: 1rem;
        line-height: 1.2;
        margin-bottom: 0.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .material-preview-card p {
        font-size: 0.9rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .material-preview-card .link-arrow {
        font-size: 0.85rem;
    }

    /* Grid de contacto - 2 columnas centradas */
    .contacto-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: center;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .contacto-card {
        width: calc(50% - 0.375rem);
        min-width: calc(50% - 0.375rem);
        max-width: calc(50% - 0.375rem);
        padding: 1.25rem 0.85rem;
        text-align: center;
        box-sizing: border-box;
    }

    .contacto-icon {
        font-size: 2.25rem;
        margin-bottom: 0.5rem;
    }

    .contacto-card h3 {
        font-size: 0.95rem;
        line-height: 1.2;
        margin-bottom: 0.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .contacto-card p {
        font-size: 0.68rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-content h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    .hero-content p {
        font-size: 1rem;
        text-align: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .services-grid,
    .info-grid,
    .materiales-grid,
    .recommendations-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        margin: 0 auto;
    }

    /* Grid de productos tienda - 2 por fila */
    .products-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
        margin: 0 auto;
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .product-card {
        width: calc(50% - 0.5rem);
        min-width: calc(50% - 0.5rem);
        max-width: calc(50% - 0.5rem);
        height: auto;
        min-height: 380px;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
    }

    .product-image {
        aspect-ratio: 1;
    }

    .product-card h3 {
        font-size: 0.95rem;
        height: auto;
        min-height: 50px;
        text-align: center;
    }

    .product-card .description {
        font-size: 0.8rem;
        height: auto;
        min-height: 45px;
        text-align: center;
    }

    .filters {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
    }

    .filter-btn {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    /* Colores grid - 3 por fila para mejor visualización */
    .colores-title {
        margin-bottom: 0.75rem;
    }

    .colores-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        justify-items: center;
        margin: 0 auto;
        max-width: 350px;
    }

    .color-card {
        width: 110px;
        text-align: center;
    }

    .color-circle,
    .color-model {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }

    /* Badges de propiedades compactos */
    .material-features {
        gap: 0.5rem;
        margin-bottom: 3rem;
        margin-top: 2.5rem;
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
    }

    .feature-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
        border-radius: 15px;
    }

    .material-container {
        padding: 2rem 1.5rem;
    }

    .comparison-table {
        font-size: 0.85rem;
    }

    /* Tabla comparativa - Mobile */
    .comparativa .container {
        padding: 0 1.5rem;
    }

    .table-responsive {
        background: white;
        border-radius: 1.5rem;
        padding: 3rem 1rem;
        min-height: 280px;
        box-shadow: 0 12px 40px rgba(71, 12, 59, 0.2);
        border: 2px solid rgba(192, 87, 111, 0.15);
    }

    .comparison-table {
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        border-collapse: collapse;
        display: grid !important;
        grid-template-columns: 1.5fr 1fr 1fr;
        grid-template-rows: auto auto auto auto auto;
        gap: 0.5rem;
        align-items: center;
    }

    .comparison-table thead {
        display: contents;
    }

    .comparison-table tbody {
        display: contents;
    }

    .comparison-table tr {
        display: contents;
    }

    /* Encabezados de fila */
    .comparison-table thead th:nth-child(1) { grid-column: 1; grid-row: 1; }
    .comparison-table thead th:nth-child(2) { grid-column: 1; grid-row: 2; }
    .comparison-table thead th:nth-child(3) { grid-column: 1; grid-row: 3; }
    .comparison-table thead th:nth-child(4) { grid-column: 1; grid-row: 4; }
    .comparison-table thead th:nth-child(5) { grid-column: 1; grid-row: 5; }

    /* Valores PLA */
    .comparison-table tbody tr:nth-child(1) td:nth-child(1) { grid-column: 2; grid-row: 1; }
    .comparison-table tbody tr:nth-child(1) td:nth-child(2) { grid-column: 2; grid-row: 2; }
    .comparison-table tbody tr:nth-child(1) td:nth-child(3) { grid-column: 2; grid-row: 3; }
    .comparison-table tbody tr:nth-child(1) td:nth-child(4) { grid-column: 2; grid-row: 4; }
    .comparison-table tbody tr:nth-child(1) td:nth-child(5) { grid-column: 2; grid-row: 5; }

    /* Valores PETG */
    .comparison-table tbody tr:nth-child(2) td:nth-child(1) { grid-column: 3; grid-row: 1; }
    .comparison-table tbody tr:nth-child(2) td:nth-child(2) { grid-column: 3; grid-row: 2; }
    .comparison-table tbody tr:nth-child(2) td:nth-child(3) { grid-column: 3; grid-row: 3; }
    .comparison-table tbody tr:nth-child(2) td:nth-child(4) { grid-column: 3; grid-row: 4; }
    .comparison-table tbody tr:nth-child(2) td:nth-child(5) { grid-column: 3; grid-row: 5; }

    .comparison-table th,
    .comparison-table td {
        padding: 0.6rem 0.4rem !important;
        border: none !important;
        font-size: 0.8rem;
        text-align: center;
    }

    .comparison-table th {
        text-align: left;
        font-weight: 600;
        color: var(--primary-color);
    }

    .comparison-table tbody td:nth-child(1) {
        font-weight: 700;
        color: var(--primary-color);
        border-bottom: 2px solid var(--accent-color);
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem !important;
        text-align: left;
        border: none !important;
        display: revert !important;
        font-size: 0.85rem;
    }

    .comparison-table td:before {
        content: '';
        display: none;
    }

    .comparison-table td::before {
        content: '' !important;
        display: none !important;
    }

    .comparison-table td[data-label]::before {
        content: '' !important;
        display: none !important;
    }

    .comparison-table td:first-child:before {
        content: '';
    }

    /* Contenedores de reseñas */
    .instagram-feed-wrapper,
    .google-reviews-container {
        padding: 2rem 1.5rem;
        margin: 3rem auto;
    }
}

@media (max-width: 480px) {
    /* Centrado general en móviles pequeños */
    .container {
        padding: 0 25px;
        text-align: center;
    }

    .hero {
        padding: 5rem 1.5rem;
        text-align: center;
    }

    .hero-content h2 {
        font-size: 1.25rem;
        text-align: center;
    }

    .services h2,
    .about h2,
    .materiales-intro h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    .hero-main-title {
        font-size: 1.75rem;
        white-space: normal;
        text-align: center;
    }

    .hero-main-text {
        font-size: 1rem;
        text-align: center;
    }

    /* Materiales preview - 2 columnas */
    .materiales-preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        max-width: 340px;
        margin: 0 auto;
    }

    .material-preview-card {
        max-width: 160px;
        padding: 1.25rem 0.75rem;
        text-align: center;
    }

    .material-preview-card h3 {
        font-size: 1.1rem;
        text-align: center;
    }

    .material-preview-card p {
        font-size: 0.85rem;
        text-align: center;
    }

    /* Mantener 2 columnas en móviles pequeños */
    .productos-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        max-width: 340px;
        margin: 0 auto;
        align-items: stretch;
    }

    .producto-card {
        max-width: 160px;
        padding: 1rem;
        min-height: 220px;
        margin: 0 auto;
    }

    .producto-image {
        font-size: 3rem;
    }

    .producto-card h3 {
        font-size: 0.9rem;
        min-height: 45px;
        text-align: center;
    }

    .producto-card p {
        font-size: 0.75rem;
        text-align: center;
    }

    /* Productos de tienda */
    .products-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: center;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 0.5rem;
    }

    .product-card {
        width: calc(50% - 0.375rem);
        min-width: calc(50% - 0.375rem);
        max-width: calc(50% - 0.375rem);
        min-height: 360px;
        box-sizing: border-box;
    }

    .product-image {
        aspect-ratio: 1;
    }

    .product-card h3 {
        font-size: 0.9rem;
        padding: 0.75rem 0.5rem 0.5rem;
        text-align: center;
    }

    .product-card .description {
        font-size: 0.75rem;
        padding: 0 0.5rem 0.5rem;
        text-align: center;
    }

    .btn-action {
        padding: 0.5rem 1.2rem;
        font-size: 0.9rem;
    }

    /* Badges de propiedades muy compactos */
    .material-features {
        gap: 0.4rem;
        margin-bottom: 1.75rem;
        margin-top: 1.25rem;
        justify-content: center;
    }

    .feature-badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
        border-radius: 12px;
    }

    /* Colores - 3 por fila */
    .colores-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.75rem;
        max-width: 320px;
        margin: 0 auto;
    }

    .color-card {
        width: 100px;
        text-align: center;
        margin-bottom: 0.75rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .color-circle {
        width: 100px;
        height: 100px;
        margin: 0 auto 2.5rem;
    }

    .color-model {
        width: 100px;
        height: 100px;
    }

    .cta-section h2 {
        font-size: 1.25rem;
    }

    .comparison-table {
        font-size: 0.85rem;
        width: 100%;
        margin-left: 0;
        padding: 0;
    }

    .comparison-table thead {
        display: none;
    }

    .comparativa .container {
        padding: 0 1.5rem;
    }

    .table-responsive {
        background: white;
        border-radius: 1.5rem;
        padding: 1.5rem 1rem;
        box-shadow: 0 12px 40px rgba(71, 12, 59, 0.2);
        border: 2px solid rgba(192, 87, 111, 0.15);
        margin: 0;
    }

    .comparison-table {
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        overflow: visible;
        display: grid !important;
        grid-template-columns: 1.5fr 1fr 1fr;
        grid-template-rows: auto auto auto auto auto;
        gap: 0.5rem;
        border-collapse: collapse;
        align-items: center;
    }

    .comparison-table thead {
        display: contents;
    }

    .comparison-table tbody {
        display: contents;
    }

    .comparison-table tr {
        display: contents;
    }

    /* Encabezados de fila */
    .comparison-table thead th:nth-child(1) { grid-column: 1; grid-row: 1; }
    .comparison-table thead th:nth-child(2) { grid-column: 1; grid-row: 2; }
    .comparison-table thead th:nth-child(3) { grid-column: 1; grid-row: 3; }
    .comparison-table thead th:nth-child(4) { grid-column: 1; grid-row: 4; }
    .comparison-table thead th:nth-child(5) { grid-column: 1; grid-row: 5; }

    /* Valores PLA */
    .comparison-table tbody tr:nth-child(1) td:nth-child(1) { grid-column: 2; grid-row: 1; }
    .comparison-table tbody tr:nth-child(1) td:nth-child(2) { grid-column: 2; grid-row: 2; }
    .comparison-table tbody tr:nth-child(1) td:nth-child(3) { grid-column: 2; grid-row: 3; }
    .comparison-table tbody tr:nth-child(1) td:nth-child(4) { grid-column: 2; grid-row: 4; }
    .comparison-table tbody tr:nth-child(1) td:nth-child(5) { grid-column: 2; grid-row: 5; }

    /* Valores PETG */
    .comparison-table tbody tr:nth-child(2) td:nth-child(1) { grid-column: 3; grid-row: 1; }
    .comparison-table tbody tr:nth-child(2) td:nth-child(2) { grid-column: 3; grid-row: 2; }
    .comparison-table tbody tr:nth-child(2) td:nth-child(3) { grid-column: 3; grid-row: 3; }
    .comparison-table tbody tr:nth-child(2) td:nth-child(4) { grid-column: 3; grid-row: 4; }
    .comparison-table tbody tr:nth-child(2) td:nth-child(5) { grid-column: 3; grid-row: 5; }

    .comparison-table th,
    .comparison-table td {
        padding: 0.6rem 0.4rem !important;
        border: none !important;
        font-size: 0.8rem;
        text-align: center;
    }

    .comparison-table th {
        text-align: left;
        font-weight: 600;
        color: var(--primary-color);
    }

    .comparison-table tbody td:nth-child(1) {
        font-weight: 700;
        color: var(--primary-color);
        border-bottom: 2px solid var(--accent-color);
    }

    .comparison-table td:before {
        content: '';
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem 0 !important;
        text-align: left;
        border: none !important;
        display: block !important;
        font-size: 0.85rem;
    }

    .comparison-table td:before {
        content: '';
        display: none;
    }

    .comparison-table td:first-child {
        font-weight: 700;
        font-size: 1rem;
        color: var(--primary-color);
        margin-bottom: 0.5rem;
        padding-bottom: 0.5rem !important;
        border-bottom: 1px solid #e5e7eb;
    }

    .comparison-table td:first-child:before {
        content: '';
    }

    .comparison-table td:first-child {
        font-size: 1.4rem;
        font-weight: 700;
        color: var(--primary-color);
        display: block;
        margin-bottom: 1rem;
        border-bottom: 2px solid var(--accent-color);
        padding-bottom: 1rem;
    }

    .comparison-table td:first-child:before {
        content: none;
    }

    .comparativa {
        padding: 2rem 0;
    }

    .comparativa .container {
        padding: 0 1.5rem;
        width: 100%;
        max-width: 100%;
    }

    .table-responsive {
        width: 100%;
        padding: 0 1rem;
        margin: 0;
        overflow-x: visible;
        box-sizing: border-box;
    }

    .comparison-table {
        width: 100%;
        margin: 0 auto;
    }

    .material-container {
        padding: 1.5rem 1rem;
    }

    .container {
        padding: 0 15px;
    }
}

/* Modal de Color */
.color-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.color-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.color-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 25px;
    padding: 3rem;
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.color-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #470C3B;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-modal-close:hover {
    background: #6B1555;
    transform: rotate(90deg);
}

.color-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 1rem;
    align-items: center;
}

.color-modal-left h3 {
    color: #470C3B;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    text-align: center;
}

.color-modal-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.color-modal-right h3 {
    color: #470C3B;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.modal-model-display {
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border-radius: 20px;
    overflow: hidden;
}

.modal-model-display model-viewer {
    width: 100%;
    height: 100%;
}

.modal-matching-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.modal-matching-card {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.modal-matching-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.modal-matching-circle {
    width: 80px;
    height: 80px;
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    margin: 0 auto 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modal-matching-card h4 {
    color: #470C3B;
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .color-modal-content {
        padding: 1.25rem;
        width: 95%;
        max-height: 90vh;
    }

    .color-modal-left h3 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .color-modal-right h3 {
        font-size: 1.15rem;
        margin-bottom: 1rem;
    }

    .color-modal-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .modal-matching-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .modal-matching-card {
        padding: 0.6rem;
    }

    .modal-matching-circle {
        width: 60px;
        height: 60px;
        margin: 0 auto 0.15rem !important;
    }

    .modal-matching-card h4 {
        font-size: 0.75rem;
        margin-top: 0;
    }

    .modal-static-circle {
        width: 100px;
        height: 100px;
    }

    .modal-model-display {
        height: 200px;
    }

    .color-modal-close {
        width: 32px;
        height: 32px;
        font-size: 1.25rem;
        top: 1rem;
        right: 1rem;
    }
}

/* Modal de Método de Contacto */
.contact-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(71, 12, 59, 0.7);
    backdrop-filter: blur(4px);
}

.contact-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-modal-content {
    background-color: #ffffff;
    border-radius: 1.5rem;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(71, 12, 59, 0.3);
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.contact-modal-close:hover {
    color: #470C3B;
}

.contact-modal-title {
    color: #470C3B;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.contact-modal-subtitle {
    color: #6b7280;
    font-size: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-modal-buttons {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.contact-modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.25rem 2rem;
    border-radius: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-modal-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
}

.email-btn {
    background: linear-gradient(135deg, #C0576F 0%, #7F2F56 100%);
    color: white;
}

.email-btn:hover {
    background: linear-gradient(135deg, #7F2F56 0%, #470C3B 100%);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-text {
    font-size: 1.1rem;
}

/* Sección Instagram */
.instagram-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
}

.instagram-feed-wrapper {
    margin: 5rem auto;
    max-width: 1200px;
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 4rem 3rem;
    box-shadow: 0 12px 40px rgba(71, 12, 59, 0.2);
    border: 2px solid rgba(192, 87, 111, 0.15);
}

.instagram-feed-wrapper h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #470C3B;
    position: relative;
    padding-bottom: 1rem;
}

.instagram-feed-wrapper h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #C0576F, #7F2F56);
    border-radius: 2px;
}

.instagram-feed-wrapper .cta-button {
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #C0576F 0%, #7F2F56 100%);
    color: white;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(192, 87, 111, 0.3);
    transition: all 0.3s ease;
}

.instagram-feed-wrapper .cta-button:hover {
    background: linear-gradient(135deg, #7F2F56 0%, #470C3B 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(127, 47, 86, 0.4);
}

/* Esquinas redondeadas para el widget de Elfsight */
.instagram-feed-wrapper .elfsight-app-87db6e33-c967-470a-9ba7-0526ecad277f {
    border-radius: 1rem;
    overflow: hidden;
    max-height: 1000px;
}

.instagram-feed-wrapper iframe {
    border-radius: 1rem;
    max-height: 1000px;
}

.instagram-fallback {
    padding: 2rem;
}

.instagram-grid {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

.instagram-placeholder {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(71, 12, 59, 0.1);
    max-width: 500px;
}

.instagram-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.instagram-embed-container {
    margin-top: 3rem;
}

/* Sección Reseñas */
.resenas-section {
    padding: 4rem 0;
    background: white;
}

.google-reviews-container {
    max-width: 1200px;
    margin: 5rem auto;
    padding: 4rem 3rem;
    background: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 12px 40px rgba(71, 12, 59, 0.2);
    border: 2px solid rgba(192, 87, 111, 0.15);
}

.google-reviews-container h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #470C3B;
    position: relative;
    padding-bottom: 1rem;
}

.google-reviews-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #C0576F, #7F2F56);
    border-radius: 2px;
}

.google-reviews-container .cta-button {
    margin-bottom: 1rem;
}

/* Esquinas redondeadas para el widget de Google Reviews */
.google-reviews-container .elfsight-app-edc44958-1c18-4f03-a2bc-7e5eb0ad4aed {
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 2rem;
}

.google-reviews-container iframe {
    border-radius: 1rem;
}

.write-review-section {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, #fef3f5 0%, #fff 100%);
    border-radius: 1rem;
    margin-top: 3rem;
}

.write-review-section h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.write-review-section p {
    color: #6b7280;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.cta-button-primary {
    background: linear-gradient(135deg, #C0576F 0%, #7F2F56 100%);
    color: white;
    display: inline-block;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(192, 87, 111, 0.3);
    transition: all 0.3s ease;
}

.cta-button-primary:hover {
    color: white;
}

.cta-button-primary:hover {
    background: linear-gradient(135deg, #7F2F56 0%, #470C3B 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(127, 47, 86, 0.4);
}

/* Separadores decorativos */
.section-separator {
    display: flex;
    align-items: center;
    padding: 3rem 0;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.separator-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #C0576F 0%, #7F2F56 100%);
    padding: 8px;
    box-shadow: 0 4px 12px rgba(192, 87, 111, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.separator-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.separator-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, #C0576F 0%, rgba(192, 87, 111, 0.2) 100%);
    margin-left: 1rem;
}

/* Modal de presupuesto */
.quote-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    overflow-y: auto;
}

.quote-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.quote-modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(71, 12, 59, 0.2);
    position: relative;
    animation: slideUp 0.3s ease;
}

.quote-modal-close,
.quote-contact-modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: 300;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.quote-modal-close:hover,
.quote-contact-modal-close:hover {
    color: #C0576F;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1f2937;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #C0576F;
    box-shadow: 0 0 0 3px rgba(192, 87, 111, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.contact-option-card {
    background: linear-gradient(135deg, #FFF5F7 0%, #FFE8EC 50%, #FFD1D9 100%);
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    border: 2px solid #FFD1D9;
    transition: all 0.3s;
    cursor: pointer;
}

.contact-option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(192, 87, 111, 0.3);
    border-color: #C0576F;
    background: linear-gradient(135deg, #FFE8EC 0%, #FFD1D9 50%, #FFBDC8 100%);
}

.contact-option-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-option-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #470C3B;
    margin-bottom: 0.5rem;
}

.contact-option-card p {
    color: #6b7280;
    font-size: 0.9rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE ADAPTATIONS
   ============================================ */

/* Tablets y dispositivos medianos (max-width: 768px) */
@media (max-width: 768px) {
    /* Navegación */
    .navbar-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .navbar-left {
        width: 100%;
        justify-content: center;
    }

    .navbar-center {
        order: -1;
    }

    .nav-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }

    .nav-links li a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    /* Hero Main */
    .hero-main {
        padding: 2rem 0 2rem 0;
    }

    .hero-main::after {
        height: 70px;
        bottom: -35px;
        left: 50%;
        transform: translateX(-50%);
        width: 85%;
        max-width: 600px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='36 0 528 60'%3E%3C!-- Bobina --%3E%3Ccircle cx='100' cy='30' r='28' fill='%23470C3B' opacity='0.3'/%3E%3Ccircle cx='100' cy='30' r='21' fill='none' stroke='%237F2F56' stroke-width='2.5' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='12' fill='none' stroke='%23C0576F' stroke-width='2' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='7' fill='%23FAF9F7'/%3E%3C!-- Filamento --%3E%3Cpath d='M 125 30 Q 180 25 240 30 T 400 30 L 600 30' stroke='%23C0576F' stroke-width='2.5' fill='none' opacity='0.4'/%3E%3Cpath d='M 125 30 Q 180 25 240 30 T 400 30 L 600 30' stroke='%237F2F56' stroke-width='1.5' fill='none' opacity='0.3' transform='translate(0, 2)'/%3E%3C/svg%3E");
        background-size: 100% 100%;
    }

    .productos-section::after {
        height: 70px;
        bottom: -35px;
        left: 50%;
        transform: translateX(-50%);
        width: 85%;
        max-width: 600px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 528 60'%3E%3C!-- Filamento --%3E%3Cpath d='M 0 30 L 100 30 T 260 30 Q 360 35 472 30' stroke='%23C0576F' stroke-width='2.5' fill='none' opacity='0.4'/%3E%3Cpath d='M 0 30 L 100 30 T 260 30 Q 360 35 472 30' stroke='%237F2F56' stroke-width='1.5' fill='none' opacity='0.3' transform='translate(0, 2)'/%3E%3C!-- Bobina a la derecha --%3E%3Ccircle cx='500' cy='30' r='28' fill='%23470C3B' opacity='0.3'/%3E%3Ccircle cx='500' cy='30' r='21' fill='none' stroke='%237F2F56' stroke-width='2.5' opacity='0.5'/%3E%3Ccircle cx='500' cy='30' r='12' fill='none' stroke='%23C0576F' stroke-width='2' opacity='0.5'/%3E%3Ccircle cx='500' cy='30' r='7' fill='%23ffffff'/%3E%3C/svg%3E");
        background-size: 100% 100%;
    }

    .tienda-hero::after {
        height: 70px;
        bottom: -35px;
        left: 50%;
        transform: translateX(-50%);
        width: 85%;
        max-width: 600px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='36 0 528 60'%3E%3C!-- Bobina --%3E%3Ccircle cx='100' cy='30' r='28' fill='%23470C3B' opacity='0.3'/%3E%3Ccircle cx='100' cy='30' r='21' fill='none' stroke='%237F2F56' stroke-width='2.5' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='12' fill='none' stroke='%23C0576F' stroke-width='2' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='7' fill='%23FAF9F7'/%3E%3C!-- Filamento --%3E%3Cpath d='M 125 30 Q 180 25 240 30 T 400 30 L 600 30' stroke='%23C0576F' stroke-width='2.5' fill='none' opacity='0.4'/%3E%3Cpath d='M 125 30 Q 180 25 240 30 T 400 30 L 600 30' stroke='%237F2F56' stroke-width='1.5' fill='none' opacity='0.3' transform='translate(0, 2)'/%3E%3C/svg%3E");
        background-size: 100% 100%;
    }

    .materiales-hero::after {
        height: 70px;
        bottom: -35px;
        left: 50%;
        transform: translateX(-50%);
        width: 85%;
        max-width: 600px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='36 0 528 60'%3E%3C!-- Bobina --%3E%3Ccircle cx='100' cy='30' r='28' fill='%23470C3B' opacity='0.3'/%3E%3Ccircle cx='100' cy='30' r='21' fill='none' stroke='%237F2F56' stroke-width='2.5' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='12' fill='none' stroke='%23C0576F' stroke-width='2' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='7' fill='%23FAF9F7'/%3E%3C!-- Filamento --%3E%3Cpath d='M 125 30 Q 180 25 240 30 T 400 30 L 600 30' stroke='%23C0576F' stroke-width='2.5' fill='none' opacity='0.4'/%3E%3Cpath d='M 125 30 Q 180 25 240 30 T 400 30 L 600 30' stroke='%237F2F56' stroke-width='1.5' fill='none' opacity='0.3' transform='translate(0, 2)'/%3E%3C/svg%3E");
        background-size: 100% 100%;
    }

    .hero-main-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .hero-main-image {
        order: -1;
    }

    .hero-main-title {
        font-size: 2rem;
    }

    .hero-main-text {
        font-size: 1rem;
    }

    /* Secciones generales */
    .container {
        padding: 0 1.5rem;
    }

    .section-intro {
        font-size: 1rem;
    }

    /* Productos Grid */
    .productos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .producto-card {
        padding: 1.5rem 1rem;
        border-bottom: 4px solid rgba(127, 47, 86, 0.5);
        transition: border-bottom 0.3s ease;
    }

    .producto-card:hover {
        border-bottom: 4px solid transparent;
    }

    .producto-image {
        font-size: 2.5rem;
    }

    .producto-card h3 {
        font-size: 1.1rem;
    }

    .producto-card p {
        font-size: 0.85rem;
    }

    /* Materiales Preview Grid */
    .materiales-preview-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: center;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        padding: 0 0.5rem;
    }

    .material-preview-card {
        width: calc(50% - 0.375rem);
        min-width: calc(50% - 0.375rem);
        max-width: calc(50% - 0.375rem);
        padding: 0.875rem 0.375rem;
        box-sizing: border-box;
    }

    .material-preview-card h3 {
        font-size: 0.95rem;
        line-height: 1.2;
        margin-bottom: 0.375rem;
    }

    .material-preview-card p {
        font-size: 0.85rem;
        line-height: 1.25;
        margin-bottom: 0.375rem;
    }

    .material-preview-card .link-arrow {
        font-size: 0.8rem;
    }

    /* Materiales Grid */
    .materiales-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .material-card {
        padding: 1rem;
    }

    .color-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    /* Contacto Grid */
    .contacto-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: center;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        padding: 0 0.5rem;
    }

    .contacto-card {
        width: calc(50% - 0.375rem);
        min-width: calc(50% - 0.375rem);
        max-width: calc(50% - 0.375rem);
        padding: 0.75rem 0.375rem;
        box-sizing: border-box;
    }

    .contacto-icon {
        font-size: 2rem;
        margin-bottom: 0.375rem;
    }

    .contacto-card h3 {
        font-size: 0.875rem;
        line-height: 1.2;
        margin-bottom: 0.375rem;
    }

    .contacto-card p {
        font-size: 0.8rem;
        line-height: 1.25;
    }

    /* Separadores */
    .separator-resenas {
        height: 70px;
        margin: 2rem 0;
    }

    .separator-resenas::after {
        height: 70px;
        left: 50%;
        transform: translateX(-50%);
        width: 85%;
        max-width: 600px;
    }

    .separator-1::after,
    .separator-2::after {
        height: 70px;
        left: 50%;
        transform: translateX(-50%);
        width: 85%;
        max-width: 600px;
    }

    .separator-1::after {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='36 0 528 60'%3E%3C!-- Bobina --%3E%3Ccircle cx='100' cy='30' r='28' fill='%23470C3B' opacity='0.3'/%3E%3Ccircle cx='100' cy='30' r='21' fill='none' stroke='%237F2F56' stroke-width='2.5' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='12' fill='none' stroke='%23C0576F' stroke-width='2' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='7' fill='%23FAF9F7'/%3E%3C!-- Filamento --%3E%3Cpath d='M 125 30 Q 180 25 240 30 T 400 30 L 600 30' stroke='%23C0576F' stroke-width='2.5' fill='none' opacity='0.4'/%3E%3Cpath d='M 125 30 Q 180 25 240 30 T 400 30 L 600 30' stroke='%237F2F56' stroke-width='1.5' fill='none' opacity='0.3' transform='translate(0, 2)'/%3E%3C/svg%3E");
    }

    .separator-2::after {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 528 60'%3E%3C!-- Filamento --%3E%3Cpath d='M 0 30 L 100 30 T 260 30 Q 360 35 472 30' stroke='%23C0576F' stroke-width='2.5' fill='none' opacity='0.4'/%3E%3Cpath d='M 0 30 L 100 30 T 260 30 Q 360 35 472 30' stroke='%237F2F56' stroke-width='1.5' fill='none' opacity='0.3' transform='translate(0, 2)'/%3E%3C!-- Bobina a la derecha --%3E%3Ccircle cx='500' cy='30' r='28' fill='%23470C3B' opacity='0.3'/%3E%3Ccircle cx='500' cy='30' r='21' fill='none' stroke='%237F2F56' stroke-width='2.5' opacity='0.5'/%3E%3Ccircle cx='500' cy='30' r='12' fill='none' stroke='%23C0576F' stroke-width='2' opacity='0.5'/%3E%3Ccircle cx='500' cy='30' r='7' fill='%23ffffff'/%3E%3C/svg%3E");
    }

    .materiales-intro::after,
    .recomendaciones::after,
    .materiales-preview::after,
    .material-category:nth-of-type(even)::after,
    .material-category:nth-of-type(odd)::after {
        height: 70px;
        bottom: -35px;
        left: 50%;
        transform: translateX(-50%);
        width: 85%;
        max-width: 600px;
    }

    /* SVGs con filamento corto para separadores */
    .materiales-intro::after,
    .materiales-preview::after,
    .material-category:nth-of-type(odd)::after {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='36 0 528 60'%3E%3C!-- Bobina --%3E%3Ccircle cx='100' cy='30' r='28' fill='%23470C3B' opacity='0.3'/%3E%3Ccircle cx='100' cy='30' r='21' fill='none' stroke='%237F2F56' stroke-width='2.5' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='12' fill='none' stroke='%23C0576F' stroke-width='2' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='7' fill='%23FAF9F7'/%3E%3C!-- Filamento --%3E%3Cpath d='M 125 30 Q 180 25 240 30 T 400 30 L 600 30' stroke='%23C0576F' stroke-width='2.5' fill='none' opacity='0.4'/%3E%3Cpath d='M 125 30 Q 180 25 240 30 T 400 30 L 600 30' stroke='%237F2F56' stroke-width='1.5' fill='none' opacity='0.3' transform='translate(0, 2)'/%3E%3C/svg%3E");
    }

    .recomendaciones::after,
    .material-category:nth-of-type(even)::after {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 528 60'%3E%3C!-- Filamento --%3E%3Cpath d='M 0 30 L 100 30 T 260 30 Q 360 35 472 30' stroke='%23C0576F' stroke-width='2.5' fill='none' opacity='0.4'/%3E%3Cpath d='M 0 30 L 100 30 T 260 30 Q 360 35 472 30' stroke='%237F2F56' stroke-width='1.5' fill='none' opacity='0.3' transform='translate(0, 2)'/%3E%3C!-- Bobina a la derecha --%3E%3Ccircle cx='500' cy='30' r='28' fill='%23470C3B' opacity='0.3'/%3E%3Ccircle cx='500' cy='30' r='21' fill='none' stroke='%237F2F56' stroke-width='2.5' opacity='0.5'/%3E%3Ccircle cx='500' cy='30' r='12' fill='none' stroke='%23C0576F' stroke-width='2' opacity='0.5'/%3E%3Ccircle cx='500' cy='30' r='7' fill='%23ffffff'/%3E%3C/svg%3E");
    }

    /* Contenedores de reseñas */
    .instagram-feed-wrapper,
    .google-reviews-container {
        max-width: 100%;
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .instagram-feed-wrapper h2,
    .google-reviews-container h2 {
        font-size: 1.8rem;
    }

    /* Modales */
    .quote-modal-content {
        width: 92%;
        max-width: 500px;
        padding: 1.5rem 1.25rem;
        margin: 3% auto;
        max-height: 90vh;
        overflow-y: auto;
    }

    .quote-modal-content h2 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .quote-modal-close {
        font-size: 1.5rem;
        top: 1rem;
        right: 1rem;
    }

    /* Pop-up términos */
    .terms-popup {
        width: 90%;
        max-width: 340px;
        bottom: 20px;
        left: 50%;
        top: auto;
        right: auto;
        transform: translateX(-50%);
        animation: slideUpCenter 0.4s ease;
    }

    @keyframes slideUpCenter {
        from {
            opacity: 0;
            transform: translateX(-50%) translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }
    }

    .terms-popup-content {
        padding: 1.25rem;
    }

    .terms-popup-content p {
        font-size: 0.85rem;
    }

    /* Footer */
    .footer {
        padding: 2rem 0;
    }

    .footer p {
        font-size: 0.85rem;
    }

    /* Títulos de sección */
    .productos-section h2,
    .materiales-preview h2,
    .contacto-section h2 {
        font-size: 2rem;
    }
}

/* Móviles pequeños (max-width: 480px) */
@media (max-width: 480px) {
    /* Navegación */
    .navbar {
        padding: 0.75rem 0;
    }

    .btn-presupuesto {
        padding: 0.6rem 1.25rem;
        font-size: 0.85rem;
    }

    .navbar-logo {
        max-height: 75px;
    }

    .nav-links li a {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
    }

    /* Hero Main */
    .hero-main {
        padding: 2rem 0 1.5rem 0;
    }

    .hero-main::after {
        height: 70px;
        bottom: -35px;
        left: 50%;
        transform: translateX(-50%);
        width: 85%;
        max-width: 600px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='36 0 528 60'%3E%3C!-- Bobina --%3E%3Ccircle cx='100' cy='30' r='28' fill='%23470C3B' opacity='0.3'/%3E%3Ccircle cx='100' cy='30' r='21' fill='none' stroke='%237F2F56' stroke-width='2.5' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='12' fill='none' stroke='%23C0576F' stroke-width='2' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='7' fill='%23FAF9F7'/%3E%3C!-- Filamento --%3E%3Cpath d='M 125 30 Q 180 25 240 30 T 400 30 L 600 30' stroke='%23C0576F' stroke-width='2.5' fill='none' opacity='0.4'/%3E%3Cpath d='M 125 30 Q 180 25 240 30 T 400 30 L 600 30' stroke='%237F2F56' stroke-width='1.5' fill='none' opacity='0.3' transform='translate(0, 2)'/%3E%3C/svg%3E");
        background-size: 100% 100%;
    }

    .productos-section::after {
        height: 70px;
        bottom: -35px;
        left: 50%;
        transform: translateX(-50%);
        width: 85%;
        max-width: 600px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 528 60'%3E%3C!-- Filamento --%3E%3Cpath d='M 0 30 L 100 30 T 260 30 Q 360 35 472 30' stroke='%23C0576F' stroke-width='2.5' fill='none' opacity='0.4'/%3E%3Cpath d='M 0 30 L 100 30 T 260 30 Q 360 35 472 30' stroke='%237F2F56' stroke-width='1.5' fill='none' opacity='0.3' transform='translate(0, 2)'/%3E%3C!-- Bobina a la derecha --%3E%3Ccircle cx='500' cy='30' r='28' fill='%23470C3B' opacity='0.3'/%3E%3Ccircle cx='500' cy='30' r='21' fill='none' stroke='%237F2F56' stroke-width='2.5' opacity='0.5'/%3E%3Ccircle cx='500' cy='30' r='12' fill='none' stroke='%23C0576F' stroke-width='2' opacity='0.5'/%3E%3Ccircle cx='500' cy='30' r='7' fill='%23ffffff'/%3E%3C/svg%3E");
        background-size: 100% 100%;
    }

    .tienda-hero::after {
        height: 70px;
        bottom: -35px;
        left: 50%;
        transform: translateX(-50%);
        width: 85%;
        max-width: 600px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='36 0 528 60'%3E%3C!-- Bobina --%3E%3Ccircle cx='100' cy='30' r='28' fill='%23470C3B' opacity='0.3'/%3E%3Ccircle cx='100' cy='30' r='21' fill='none' stroke='%237F2F56' stroke-width='2.5' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='12' fill='none' stroke='%23C0576F' stroke-width='2' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='7' fill='%23FAF9F7'/%3E%3C!-- Filamento --%3E%3Cpath d='M 125 30 Q 180 25 240 30 T 400 30 L 600 30' stroke='%23C0576F' stroke-width='2.5' fill='none' opacity='0.4'/%3E%3Cpath d='M 125 30 Q 180 25 240 30 T 400 30 L 600 30' stroke='%237F2F56' stroke-width='1.5' fill='none' opacity='0.3' transform='translate(0, 2)'/%3E%3C/svg%3E");
        background-size: 100% 100%;
    }

    .materiales-hero::after {
        height: 70px;
        bottom: -35px;
        left: 50%;
        transform: translateX(-50%);
        width: 85%;
        max-width: 600px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='36 0 528 60'%3E%3C!-- Bobina --%3E%3Ccircle cx='100' cy='30' r='28' fill='%23470C3B' opacity='0.3'/%3E%3Ccircle cx='100' cy='30' r='21' fill='none' stroke='%237F2F56' stroke-width='2.5' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='12' fill='none' stroke='%23C0576F' stroke-width='2' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='7' fill='%23FAF9F7'/%3E%3C!-- Filamento --%3E%3Cpath d='M 125 30 Q 180 25 240 30 T 400 30 L 600 30' stroke='%23C0576F' stroke-width='2.5' fill='none' opacity='0.4'/%3E%3Cpath d='M 125 30 Q 180 25 240 30 T 400 30 L 600 30' stroke='%237F2F56' stroke-width='1.5' fill='none' opacity='0.3' transform='translate(0, 2)'/%3E%3C/svg%3E");
        background-size: 100% 100%;
    }

    .hero-main-container {
        padding: 0 1rem;
    }

    .hero-main-title {
        font-size: 1.75rem;
    }

    .hero-main-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .hero-image-circular {
        width: 200px;
        height: 200px;
    }

    .materiales-preview {
        padding: 2rem 0 2.5rem 0;
    }

    /* CTA Buttons */
    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }

    /* Container */
    .container {
        padding: 0 1rem;
    }

    /* Productos Grid */
    .productos-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin: 0 auto;
        width: calc(100% - 1rem);
        max-width: 380px;
        padding: 0 0.5rem;
    }

    .producto-card {
        width: 100%;
        padding: 0.75rem 0.375rem;
        box-sizing: border-box;
        border-bottom: 4px solid rgba(127, 47, 86, 0.5);
        transition: border-bottom 0.3s ease;
    }

    .producto-card:hover {
        border-bottom: 4px solid transparent;
    }

    .producto-image {
        font-size: 2rem;
        margin-bottom: 0.375rem;
    }

    .producto-card h3 {
        font-size: 0.875rem;
        line-height: 1.2;
        margin-bottom: 0.375rem;
    }

    .producto-card p {
        font-size: 0.8rem;
        line-height: 1.25;
    }

    .producto-image {
        font-size: 3rem;
    }

    /* Materiales Grid */
    .materiales-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .color-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Contacto Cards */
    .contacto-card {
        padding: 0;
    }

    .contacto-icon {
        font-size: 2.5rem;
    }

    /* Separadores más pequeños */
    .separator-resenas {
        height: 60px;
        margin: 1.5rem 0;
    }

    .separator-resenas::after {
        height: 60px;
        left: 50%;
        transform: translateX(-50%);
        width: 85%;
        max-width: 600px;
    }

    .separator-1::after,
    .separator-2::after {
        height: 60px;
        left: 50%;
        transform: translateX(-50%);
        width: 85%;
        max-width: 600px;
    }

    .separator-1::after {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='36 0 528 60'%3E%3C!-- Bobina --%3E%3Ccircle cx='100' cy='30' r='28' fill='%23470C3B' opacity='0.3'/%3E%3Ccircle cx='100' cy='30' r='21' fill='none' stroke='%237F2F56' stroke-width='2.5' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='12' fill='none' stroke='%23C0576F' stroke-width='2' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='7' fill='%23FAF9F7'/%3E%3C!-- Filamento --%3E%3Cpath d='M 125 30 Q 180 25 240 30 T 400 30 L 600 30' stroke='%23C0576F' stroke-width='2.5' fill='none' opacity='0.4'/%3E%3Cpath d='M 125 30 Q 180 25 240 30 T 400 30 L 600 30' stroke='%237F2F56' stroke-width='1.5' fill='none' opacity='0.3' transform='translate(0, 2)'/%3E%3C/svg%3E");
    }

    .separator-2::after {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 528 60'%3E%3C!-- Filamento --%3E%3Cpath d='M 0 30 L 100 30 T 260 30 Q 360 35 472 30' stroke='%23C0576F' stroke-width='2.5' fill='none' opacity='0.4'/%3E%3Cpath d='M 0 30 L 100 30 T 260 30 Q 360 35 472 30' stroke='%237F2F56' stroke-width='1.5' fill='none' opacity='0.3' transform='translate(0, 2)'/%3E%3C!-- Bobina a la derecha --%3E%3Ccircle cx='500' cy='30' r='28' fill='%23470C3B' opacity='0.3'/%3E%3Ccircle cx='500' cy='30' r='21' fill='none' stroke='%237F2F56' stroke-width='2.5' opacity='0.5'/%3E%3Ccircle cx='500' cy='30' r='12' fill='%23C0576F' stroke-width='2' opacity='0.5'/%3E%3Ccircle cx='500' cy='30' r='7' fill='%23ffffff'/%3E%3C/svg%3E");
    }

    .hero-main::after,
    .productos-section::after,
    .materiales-intro::after,
    .recomendaciones::after,
    .materiales-preview::after,
    .material-category:nth-of-type(even)::after,
    .material-category:nth-of-type(odd)::after {
        height: 60px;
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        width: 85%;
        max-width: 600px;
    }

    /* SVGs con filamento corto para separadores */
    .materiales-intro::after,
    .materiales-preview::after,
    .material-category:nth-of-type(odd)::after {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='36 0 528 60'%3E%3C!-- Bobina --%3E%3Ccircle cx='100' cy='30' r='28' fill='%23470C3B' opacity='0.3'/%3E%3Ccircle cx='100' cy='30' r='21' fill='none' stroke='%237F2F56' stroke-width='2.5' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='12' fill='none' stroke='%23C0576F' stroke-width='2' opacity='0.5'/%3E%3Ccircle cx='100' cy='30' r='7' fill='%23FAF9F7'/%3E%3C!-- Filamento --%3E%3Cpath d='M 125 30 Q 180 25 240 30 T 400 30 L 600 30' stroke='%23C0576F' stroke-width='2.5' fill='none' opacity='0.4'/%3E%3Cpath d='M 125 30 Q 180 25 240 30 T 400 30 L 600 30' stroke='%237F2F56' stroke-width='1.5' fill='none' opacity='0.3' transform='translate(0, 2)'/%3E%3C/svg%3E");
    }

    .recomendaciones::after,
    .material-category:nth-of-type(even)::after {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 528 60'%3E%3C!-- Filamento --%3E%3Cpath d='M 0 30 L 100 30 T 260 30 Q 360 35 472 30' stroke='%23C0576F' stroke-width='2.5' fill='none' opacity='0.4'/%3E%3Cpath d='M 0 30 L 100 30 T 260 30 Q 360 35 472 30' stroke='%237F2F56' stroke-width='1.5' fill='none' opacity='0.3' transform='translate(0, 2)'/%3E%3C!-- Bobina a la derecha --%3E%3Ccircle cx='500' cy='30' r='28' fill='%23470C3B' opacity='0.3'/%3E%3Ccircle cx='500' cy='30' r='21' fill='none' stroke='%237F2F56' stroke-width='2.5' opacity='0.5'/%3E%3Ccircle cx='500' cy='30' r='12' fill='none' stroke='%23C0576F' stroke-width='2' opacity='0.5'/%3E%3Ccircle cx='500' cy='30' r='7' fill='%23ffffff'/%3E%3C/svg%3E");
    }

    /* Contenedores de reseñas */
    .instagram-feed-wrapper,
    .google-reviews-container {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
        border-radius: 1rem;
    }

    .instagram-feed-wrapper h2,
    .google-reviews-container h2 {
        font-size: 1.5rem;
    }

    .section-intro {
        font-size: 0.95rem;
    }

    /* Modales */
    .quote-modal-content {
        width: 95%;
        padding: 1.25rem 0.85rem;
        margin: 2% auto;
    }

    .quote-modal-content h2 {
        font-size: 1.25rem !important;
        margin-bottom: 0.75rem !important;
    }

    .form-group {
        margin-bottom: 0.85rem;
    }

    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 0.35rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 0.65rem;
    }

    .form-group textarea {
        min-height: 80px;
    }

    .quote-modal-content p {
        font-size: 0.8rem !important;
        margin-top: 0.5rem !important;
    }

    .quote-modal-close {
        font-size: 1.35rem;
        top: 0.75rem;
        right: 0.75rem;
    }

    .contact-options-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-option-card {
        padding: 1.5rem 1rem;
    }

    .contact-option-icon {
        font-size: 2.5rem;
    }

    /* Ocultar opción email en móvil */
    #quoteModalEmail {
        display: none;
    }

    .contact-options-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }

    /* Pop-up términos */
    .terms-popup {
        width: calc(100% - 40px);
        max-width: 340px;
        bottom: 15px;
        left: 50%;
        top: auto;
        right: auto;
        transform: translateX(-50%);
        animation: slideUpCenter 0.4s ease;
    }

    .terms-popup-content {
        padding: 1rem;
    }

    .terms-popup-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .terms-btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }

    /* Footer */
    .footer {
        padding: 1.5rem 0;
    }

    .footer p {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    /* Títulos de sección */
    .productos-section h2,
    .materiales-preview h2,
    .contacto-section h2 {
        font-size: 1.75rem;
    }

    /* Filtros en tienda */
    .filter-buttons {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    /* Página de términos */
    .terminos-section .container > div {
        padding: 2rem 1.5rem !important;
        border-radius: 1rem !important;
        text-align: left !important;
    }

    .terminos-section h2 {
        font-size: 1.5rem !important;
        text-align: left !important;
    }

    .terminos-section h3 {
        font-size: 1.2rem !important;
        text-align: left !important;
    }

    .terminos-section p,
    .terminos-section li {
        font-size: 0.95rem !important;
        text-align: left !important;
    }

    .terminos-section ul,
    .terminos-section ol {
        padding-left: 1.5rem !important;
        text-align: left !important;
    }
    
    .terminos-section strong {
        text-align: left !important;
    }
}

/* Móviles muy pequeños (max-width: 360px) */
@media (max-width: 360px) {
    .hero-main::after,
    .productos-section::after,
    .tienda-hero::after,
    .materiales-hero::after,
    .materiales-intro::after,
    .recomendaciones::after,
    .material-category:nth-of-type(even)::after,
    .material-category:nth-of-type(odd)::after {
        height: 60px;
        bottom: -30px;
    }

    .separator-resenas {
        height: 60px;
    }

    .separator-resenas::after {
        height: 60px;
    }

    .hero-main-title {
        font-size: 1.5rem;
    }

    .productos-section h2,
    .materiales-preview h2,
    .contacto-section h2 {
        font-size: 1.5rem;
    }

    .producto-card h3 {
        font-size: 1rem;
    }

    .color-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .nav-links {
        gap: 0.5rem;
    }

    .nav-links li a {
        padding: 0.35rem 0.6rem;
        font-size: 0.8rem;
    }
}

