:root{--c:#111;--bg:#fff;--muted:#666;--acc:#010101}
*{box-sizing:border-box}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,system-ui,sans-serif;color:var(--c);background:var(--bg);line-height:1.6}
.container{max-width:1100px;margin:0 auto;padding:16px}
header,footer{padding:12px 0}
nav a{margin-right:12px;text-decoration:none}
a{color:var(--acc)} a:hover{text-decoration:underline}
.grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.card{border:1px solid #eee;border-radius:12px;padding:16px}
.btn{display:inline-block;display: inline-block;
  padding: 10px 10px;
  border-radius: 10px;
  border: 1px solid var(--acc);
  text-decoration: none;}
.muted{color:var(--muted);font-size:.95rem}
ol.breadcrumb{list-style:none;padding:0;margin:8px 0;display:flex;flex-wrap:wrap;gap:6px}
ol.breadcrumb li::after{content:"/";margin:0 6px;color:#bbb}
ol.breadcrumb li:last-child::after{content:""}
main img{max-width:100%;height:auto}

        header {
            background: white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            padding: 10px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            text-decoration: none;
            display: block;
            z-index: 1001;
        }

        .logo svg {
            height: 50px;
            width: auto;
        }

        /* Navegación desktop */
        .main-nav {
            display: flex;
            gap: 30px;
        }

        .main-nav a {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            font-size: 16px;
            padding: 10px 15px;
            border-radius: 5px;
            transition: all 0.3s ease;
        }

        .main-nav a:hover {
            background-color: #f0f0f0;
            color: #000;
        }

        /* Checkbox oculto para el toggle */
        #menu-toggle {
            display: none;
        }

        /* Label que actúa como botón hamburguesa */
        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 10px;
            z-index: 1001;
            position: relative;
        }

        .hamburger span {
            width: 25px;
            height: 3px;
            background-color: #333;
            margin: 3px 0;
            transition: all 0.3s ease;
            border-radius: 2px;
            transform-origin: center;
        }

        /* Animación del botón hamburguesa cuando está activo */
        #menu-toggle:checked + .hamburger span:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
        }

        #menu-toggle:checked + .hamburger span:nth-child(2) {
            opacity: 0;
            transform: scale(0);
        }

        #menu-toggle:checked + .hamburger span:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
        }

        /* Menú mobile */
        .mobile-nav {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background-color: white;
            z-index: 999;
            padding-top: 80px;
            transform: translateX(-100%);
            transition: transform 0.3s ease;
        }

        /* Mostrar menú mobile cuando checkbox está checked */
        #menu-toggle:checked ~ .mobile-nav {
            transform: translateX(0);
        }

        .mobile-nav a {
            display: block;
            text-decoration: none;
            color: #333;
            font-weight: 500;
            font-size: 18px;
            padding: 20px 30px;
            border-bottom: 1px solid #eee;
            transition: background-color 0.3s ease;
        }

        .mobile-nav a:hover {
            background-color: #f8f8f8;
        }

        /* Overlay */
        .overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 998;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        #menu-toggle:checked ~ .overlay {
            opacity: 1;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .main-nav {
                display: none;
            }

            .hamburger {
                display: flex;
            }

            .mobile-nav,
            .overlay {
                display: block;
            }

            .logo svg {
                height: 40px;
            }

            header {
                padding: 15px 20px;
            }
        }

        /* Estilos para cerrar el menú al hacer clic en enlaces */
        .mobile-nav a {
            position: relative;
        }

        /* Hack CSS para cerrar menú al hacer clic en enlace */
        .mobile-nav a::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 1;
        }

        /* Contenido de prueba */
        .content {
            padding: 40px 20px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .content h1 {
            color: #333;
            margin-bottom: 20px;
        }

        .content p {
            color: #666;
            line-height: 1.6;
            margin-bottom: 15px;
        }

        /* Instrucciones para el usuario */
        .instructions {
            background: #e3f2fd;
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 30px;
            border-left: 4px solid #2196f3;
        }

        .instructions h2 {
            color: #1976d2;
            margin-bottom: 10px;
        }

        .instructions p {
            color: #0d47a1;
            margin-bottom: 8px;
        }


.site-footer>nav {
    margin-top: 20px!important;
}
.site-header {
  display: flex;
  align-items: center;      /* centra verticalmente logo y links */
  justify-content: space-between; /* logo izq, menú der */
  padding: 12px 0;
}

.site-header .logo img {
  display: block;
  height: auto;
  max-width: 100%;
}

.main-nav a {
  margin-left: 16px;       /* espacio entre links */
  text-decoration: none;
  color: var(--c);         /* o el color que uses */
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--acc);       /* color de acento al hover */
}


/* --- enhanced UI --- */
.container:nth-child(1) {
    margin-top: 100px;
}
:root{--shadow:0 6px 24px #ebebeb;--radius:14px}
.container.narrow{max-width:900px}
.card{box-shadow:var(--shadow);transition:transform .12s ease, box-shadow .12s ease}
.card:hover{transform:translateY(-2px)}
.hero{border-radius: 24px;
      padding: 108px 44px;
      background: transparent url("https://cdn.autonomous.ai/production/ecm/250625/the-best-chairs-for-designers-in-2024.webp") no-repeat;
      background-size: cover;
      background-position: center center;
      margin: 8px 0 24px}
      .btn:nth-child(1) {
        background: #010101;
        color: white;
      }
      .herman-hero {
      background: transparent url("https://cdn.mos.cms.futurecdn.net/V2xLy7XhzYm9sbL7rz53Sa.jpg") no-repeat!important;
      background-size: cover;
      background-position: center center;
      }
      .btn:nth-child(2) {
        border: 0px;
      }
      .kicker {
          padding: 10px 15px; background: #fff; border-radius: 50px; margin-bottom: 20px;
      }
      
      
      
      
.hero h1{margin:0 0 8px 0; font-size:2rem; margin-top: 20px;}
.hero p.sub{color:var(--muted); margin:0 0 16px 0; width: 600px;}
.hero .btn{background:rgb(0, 0, 0);color:#fff;}
.top5{margin-top:16px}
.top5 .card img{border-radius:12px; display:block; width:100%}
.price{font-weight:600}
.rating{font-variant-numeric:tabular-nums}
.stars{letter-spacing:1px; color: #ff8f00}
.badge{display:inline-block;background:#e8fff7;border:1px solid #bdf0e4;color:#0a7;padding:3px 8px;border-radius:999px;font-size:.85rem}
.grid.brands .card{display:flex;gap:14px;align-items:center}
.grid.brands img{width:140px; height:auto}
hr.sep{border:none;border-top:1px solid #eee;margin:24px 0}

/* --- footer styles --- */
.site-footer{background:#ececec;border-top:1px solid #eee;margin-top:24px}
.footer-grid{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.site-footer .f-h{font-size:1rem;margin:.2rem 0 .4rem}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer a.logo{display:inline-flex;align-items:center;gap:8px;text-decoration:none}
.smallprint{border-top:1px solid #eee;margin-top:12px;padding-top:8px}

/* placeholders & galleries */
.gallery{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));margin:8px 0 16px}
.ph{background:#eee;border:1px solid #ddd;border-radius:12px;box-shadow:0 2px 10px rgba(0,0,0,.03);width:100%;height:0;padding-top:62%;position:relative;overflow:hidden}
.ph::after{content:"Foto de producto";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#999;font-size:1rem}
.specs{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.proscons{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.proscons ul{margin:0;padding-left:18px}
.hero.model{border-radius:20px;background:linear-gradient(135deg,#f7fbff,#eef7ff)}
.badge.model{background:#eef5ff;border:1px solid #cfe1ff;color:#245ea8}


/* ================================
   ESTILOS HERMAN MILLER - SIGUIENDO LÍNEA SILLAGURU
   ================================ */

/* Guía de Ajuste */
.guia-ajuste {
    padding: 60px 0;
    background: #f8f9fa;
}

.ajuste-steps {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 24px #ebebeb;
    margin-bottom: 40px;
}

.step {
    margin-bottom: 25px;
    padding: 20px;
    border-left: 4px solid var(--acc);
    background: #fff5f5;
    border-radius: 8px;
}

.step h4 {
    color: var(--c);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.step p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #555;
}

.experiencia-box {
    background: #f0f8ff;
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid #3498db;
    margin-top: 15px;
    font-style: italic;
    color: var(--c);
}

.verificacion-final {
    background: #27ae60;
    padding: 30px;
    border-radius: 12px;
    color: white;
    text-align: center;
}

.verificacion-final h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

/* Segmentación por Perfiles */
.segmentacion-perfiles {
    padding: 60px 0;
}

.perfil-altura,
.perfil-horas,
.perfil-dolencias {
    margin-bottom: 50px;
}

.altura-card,
.horas-card,
.dolencia-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border: 2px solid #e9ecef;
}

.altura-card h4,
.horas-card h4,
.dolencia-card h4 {
    color: var(--c);
    margin-bottom: 15px;
}

.perfil-experiencia {
    background: #f0f8ff;
    padding: 15px;
    border-radius: 8px;
    font-style: italic;
    margin-top: 15px;
}

/* Checklist Descargable */
.checklist-descargable {
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.checklist-descargable h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.checklist-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin-bottom: 30px;
    text-align: left;
}

.checklist-item {
    margin-bottom: 18px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--acc);
}

.checklist-item label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    line-height: 1.6;
}

.checklist-item input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 3px;
}

.recomendacion-final {
    margin-top: 30px;
    padding: 25px;
    background: #e8f5e8;
    border-radius: 12px;
    border-left: 5px solid #27ae60;
}

.recomendacion-final h4 {
    color: #27ae60;
    margin-bottom: 15px;
    text-align: center;
}

.btn-descarga {
    background: #27ae60;
    color: white;
    padding: 18px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 25px;
}

.btn-descarga:hover {
    background: #229954;
}

/* Tabla Comparativa */
.tabla-comparativa {
    padding: 40px 0;
    background: #f8f9fa;
}

.tabla-comparativa table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 24px #ebebeb;
}

.tabla-comparativa th {
    padding: 15px;
    background: var(--acc);
    color: white;
    font-weight: 600;
    text-align: left;
}

.tabla-comparativa td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.tabla-comparativa tr:nth-child(even) {
    background: #f8f9fa;
}

/* Grid layouts */
.altura-grid,
.horas-grid,
.dolencias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

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

.checklist-items {
    max-width: 700px;
    margin: 0 auto;
}

.recomendacion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    text-align: center;
}

.recomendacion-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

h2 {
    font-size: 36px;
}

/* Responsive */
@media (max-width: 768px) {
    .guia-ajuste,
    .segmentacion-perfiles,
    .checklist-descargable {
        padding: 40px 0;
    }
    
    .ajuste-steps,
    .checklist-box {
        padding: 20px;
    }
    
    .step {
        padding: 15px;
    }
    
    .altura-card,
    .horas-card,
    .dolencia-card {
        padding: 20px;
    }
    
    .btn-descarga {
        padding: 15px 25px;
        font-size: 1rem;
    }
    
    .altura-grid,
    .horas-grid,
    .dolencias-grid {
        grid-template-columns: 1fr;
    }
    
    .recomendacion-grid {
        grid-template-columns: 1fr;
    }
}