/* ============================================================
Eurofic · HIOPOS Cloud — hoja de estilos compartida
Optimizada para WCAG AA, Core Web Vitals y Fluid Layout
============================================================ */

/* Fuentes self-hosted - sin Google CDN (Lighthouse/CWV) */
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/bricolage-grotesque-400-vietnamese.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/bricolage-grotesque-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/bricolage-grotesque-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/bricolage-grotesque-500-vietnamese.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/bricolage-grotesque-500-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/bricolage-grotesque-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/bricolage-grotesque-600-vietnamese.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/bricolage-grotesque-600-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/bricolage-grotesque-600-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/bricolage-grotesque-700-vietnamese.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/bricolage-grotesque-700-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/bricolage-grotesque-700-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:800;font-display:swap;src:url('fonts/bricolage-grotesque-800-vietnamese.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:800;font-display:swap;src:url('fonts/bricolage-grotesque-800-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:800;font-display:swap;src:url('fonts/bricolage-grotesque-800-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/hanken-grotesk-400-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/hanken-grotesk-400-vietnamese.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/hanken-grotesk-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/hanken-grotesk-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/hanken-grotesk-500-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/hanken-grotesk-500-vietnamese.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/hanken-grotesk-500-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/hanken-grotesk-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/hanken-grotesk-600-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/hanken-grotesk-600-vietnamese.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/hanken-grotesk-600-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/hanken-grotesk-600-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/hanken-grotesk-700-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/hanken-grotesk-700-vietnamese.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/hanken-grotesk-700-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/hanken-grotesk-700-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/jetbrains-mono-400-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/jetbrains-mono-400-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/jetbrains-mono-400-greek.woff2') format('woff2');unicode-range:U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/jetbrains-mono-400-vietnamese.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/jetbrains-mono-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/jetbrains-mono-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/jetbrains-mono-500-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/jetbrains-mono-500-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/jetbrains-mono-500-greek.woff2') format('woff2');unicode-range:U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/jetbrains-mono-500-vietnamese.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/jetbrains-mono-500-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/jetbrains-mono-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/jetbrains-mono-700-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/jetbrains-mono-700-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/jetbrains-mono-700-greek.woff2') format('woff2');unicode-range:U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/jetbrains-mono-700-vietnamese.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/jetbrains-mono-700-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/jetbrains-mono-700-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

:root {
  --ink: #1a1a2e;
  --ink-soft: #2d2d44;
  --navy-deep: #0f0f23;
  --paper: #f8f9fa;
  --paper-2: #ffffff;
  --line: #e5e7eb;
  --line-dark: #2d2d44;
  --amber: #c41230;
  --amber-deep: #a00f28;
  --coral: #ff6b6b;
  --muted: #5a6268; /* Oscurecido ligeramente para superar el ratio de contraste WCAG AA */
  --muted-dark: #9aa3b8;
  --grad: linear-gradient(135deg, #c41230 0%, #ff6b6b 100%);
  
  --display: 'Bricolage Grotesque', sans-serif;
  --body: 'Hanken Grotesk', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  
  --maxw: 1200px;
  --r: 14px;
  
  /* Espaciados fluidos (Fluid Layout) */
  --space-section: clamp(4.5rem, 8vw, 6.5rem); /* Reemplaza los saltos fijos de 72px a 104px */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--amber); color: #fff; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---- Clases utilitarias A11y ---- */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.sr-only-focusable:focus,
.sr-only-focusable:active {
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
  padding: 1rem !important;
  background: var(--navy-deep);
  color: #fff;
  z-index: 9999;
  display: block;
}

/* ---- type system ---- */
.eyebrow {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--amber); display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--amber); display: inline-block; }
.eyebrow.on-dark { color: var(--coral); }
.eyebrow.on-dark::before { background: var(--coral); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.04; letter-spacing: -.02em; }
.display { font-size: clamp(2.6rem, 6vw, 5.2rem); font-weight: 800; letter-spacing: -.035em; }
h2.section-title { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; letter-spacing: -.03em; }

/* ============ NAV ============ */
header {
  position: sticky; top: 0; z-index: 50;
  background: #0f0f23;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
/* el header aprovecha casi todo el ancho (portátiles 15"/1366px) */
header .wrap { max-width: 1360px; padding: 0 22px; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; }
.brand-logo { height: 30px; width: auto; display: block; }
/* botones del nav más bajos y compactos */
header .nav-cta .btn { padding: .5em 1.05em; font-size: .9rem; white-space: nowrap; }
header .nav-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.32); }
header .nav-cta .btn-ghost:hover { background: #fff; color: var(--ink); }

@keyframes pulse { 0%,100%{box-shadow:0 0 0 4px rgba(196,18,48,.18)} 50%{box-shadow:0 0 0 7px rgba(196,18,48,.04)} }

.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { font-size: .93rem; font-weight: 500; color: var(--muted-dark); transition: color .2s; position: relative; white-space: nowrap; }
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; font-weight: 600; }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -22px; height: 2px; background: var(--amber); }
.nav-drop a.active { color: var(--amber); background: var(--paper); font-weight: 600; }
.nav-drop a.active::after { display: none; }

/* menú desplegable */
.nav-item { position: relative; display: flex; align-items: center; align-self: stretch; }
.nav-trigger { background: none; border: 0; font-family: var(--body); font-size: .93rem; font-weight: 500; color: var(--muted-dark); cursor: pointer; display: inline-flex; align-items: center; gap: 7px; padding: 0; position: relative; white-space: nowrap; }
.nav-trigger:hover { color: #fff; }
.nav-trigger.active { color: #fff; font-weight: 600; }
.nav-trigger.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -22px; height: 2px; background: var(--amber); }
.caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s; }

.nav-drop { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px; padding: 10px; min-width: 230px; box-shadow: 0 26px 54px -26px rgba(26,26,46,.45); opacity: 0; visibility: hidden; transition: opacity .22s ease, transform .22s ease; z-index: 60; }
.nav-drop::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop, .nav-item.open .nav-drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-item:hover .caret, .nav-item.open .caret { transform: rotate(-135deg) translateY(2px); }
.nav-drop a { display: block; padding: 11px 14px; border-radius: 9px; font-size: .95rem; color: var(--ink); font-weight: 500; white-space: nowrap; }
.nav-drop a:hover { background: var(--paper); color: var(--amber); }

/* mega-menú (hardware) */
.nav-drop-wide { left: auto; right: -10px; transform: translateY(10px); min-width: 560px; padding: 14px; }
.nav-item:hover .nav-drop-wide, .nav-item:focus-within .nav-drop-wide, .nav-item.open .nav-drop-wide { transform: translateY(0); }
.nd-all { font-family: var(--mono); font-size: .76rem; letter-spacing: .04em; color: var(--amber); padding: 6px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.nd-all:hover { background: transparent; color: var(--amber-deep); }
.nd-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px 12px; }
.nd-h { display: block; font-family: var(--mono); font-size: .67rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 8px 12px 4px; }
.nd-h-sep { margin-top: 6px; border-top: 1px solid var(--line); }
.nav-drop-wide a { padding: 8px 12px; font-size: .92rem; }

/* mega-menú anclado a la izquierda */
.nav-drop-wide.from-left { left: 0; right: auto; min-width: 880px; max-width: calc(100vw - 24px); }
.nd-cols-4 { grid-template-columns: repeat(4, 1fr); gap: 3px 14px; }

/* ítems de mega-menú con miniatura */
.nav-drop-wide a.nd-thumb { display: flex; align-items: center; gap: 11px; padding: 7px 9px; border-radius: 11px; }
.nd-thumb img { width: 40px; height: 40px; flex-shrink: 0; object-fit: contain; border-radius: 9px; background: #fff; border: 1px solid var(--line); padding: 3px; box-sizing: border-box; }
.nd-thumb.is-photo img { object-fit: cover; padding: 0; }
.nd-thumb .nd-tx { display: flex; flex-direction: column; min-width: 0; }
.nd-thumb .nd-tx strong { font-size: .9rem; font-weight: 600; color: var(--ink); line-height: 1.2; white-space: nowrap; }
.nd-thumb .nd-tx em { font-size: .73rem; font-style: normal; color: var(--muted); line-height: 1.25; margin-top: 1px; white-space: nowrap; }
.nav-drop-wide a.nd-thumb:hover { background: var(--paper); }
.nav-drop-wide a.nd-thumb:hover .nd-tx strong { color: var(--amber); }
.nav-drop .nd-h-link { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); font-weight: 700; padding: 8px 12px 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; border-radius: 0; }
.nav-drop .nd-h-link:hover { background: transparent; color: var(--amber); }

/* dropdown items con subtítulo */
.nd-with-desc { white-space: normal !important; line-height: 1.35; }
.nd-with-desc strong { display: block; font-weight: 600; font-size: .93rem; }
.nd-with-desc span { display: block; font-size: .78rem; color: var(--muted); margin-top: 3px; font-weight: 400; }

/* botón teléfono en nav */
.nav-tel { display: inline-flex !important; align-items: center; gap: 7px; }
.nav-tel svg { flex-shrink: 0; }

.btn { font-family: var(--body); font-weight: 600; font-size: .95rem; padding: .72em 1.4em; border-radius: 999px; cursor: pointer; border: 1px solid transparent; transition: transform .15s ease, background .2s, box-shadow .2s, filter .2s; display: inline-flex; align-items: center; gap: .5em; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-soft); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(26,26,46,.6); }
.btn-amber { background: var(--grad); color: #fff; }
.btn-amber:hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(196,18,48,.6); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-dark); }
.btn-ghost:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost.on-dark:hover { background: #fff; color: var(--ink); }

.nav-cta { display: flex; gap: 12px; align-items: center; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.menu-toggle span { width: 24px; height: 2px; background: #fff; display: block; transition: .25s; }

/* ============ PHOTOGRAPHY ============ */
.photo { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--ink) 0%, var(--amber) 130%); border-radius: var(--r); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.05) brightness(.95); mix-blend-mode: luminosity; opacity: .9; transition: transform .6s ease; }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(150deg, rgba(26,26,46,.5), rgba(196,18,48,.34)); mix-blend-mode: multiply; pointer-events: none; }
.photo:hover img { transform: scale(1.04); }

/* ============ HERO (Inicio) ============ */
.hero { background: linear-gradient(160deg, var(--navy-deep) 0%, var(--ink) 100%); color: #fff; position: relative; overflow: hidden; padding: 84px 0 var(--space-section); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
/* Render compositing performance fix */
.hero-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; will-change: opacity, transform; }
.hero-slide-bg.is-active { opacity: 1; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15,15,35,.96) 0%, rgba(15,15,35,.88) 42%, rgba(20,20,42,.60) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(620px 420px at 78% 18%, rgba(196,18,48,.30), transparent 60%), radial-gradient(520px 520px at 12% 92%, rgba(255,107,107,.10), transparent 55%); pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }

.hero-slides { position: relative; margin: 22px 0 4px; min-height: 188px; }
.hero-slide { display: none; }
.hero-slide.is-active { display: block; animation: slideIn .6s ease; }
@keyframes slideIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-slide p.lead { margin-bottom: 0; }
.h2-simulado { font-size: clamp(2.6rem, 6vw, 5.2rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; color: #fff; margin: 0 0 4px; }
.h2-simulado .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--coral); }

.hero-dots { display: flex; gap: 10px; margin-top: 30px; }
.hero-dots button { width: 32px; height: 4px; border-radius: 2px; border: 0; background: rgba(255,255,255,.25); cursor: pointer; padding: 0; transition: background .3s; }
.hero-dots button:hover { background: rgba(255,255,255,.5); }
.hero-dots button.is-active { background: var(--grad); }

.hero-scroll { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 2; display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dark); transition: color .2s; }
.hero-scroll:hover { color: #fff; }
.hero-scroll .arrow { display: inline-block; animation: bob 1.8s ease-in-out infinite; will-change: transform; }
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(4px)} }

.hero p.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--muted-dark); max-width: 30em; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 28px; }
.hero-meta { margin-top: 40px; display: flex; gap: 30px; flex-wrap: wrap; font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; color: var(--muted-dark); }
.hero-meta b { color: #fff; font-weight: 700; }

/* ---- SIGNATURE: live POS ticket ---- */
.ticket-stage { display: flex; justify-content: center; perspective: 1400px; }
.ticket { width: 340px; max-width: 100%; background: var(--paper-2); color: var(--ink); font-family: var(--mono); font-size: .82rem; line-height: 1.85; padding: 26px 26px 14px; position: relative; border-radius: 6px 6px 0 0; box-shadow: 0 40px 70px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.05); transform: rotate(-1.4deg); transition: transform .4s ease; will-change: transform; }
.ticket:hover { transform: rotate(0deg) translateY(-4px); }
.ticket-head { text-align: center; border-bottom: 1px dashed var(--line); padding-bottom: 12px; margin-bottom: 10px; }
.ticket-head .logo { font-family: var(--display); font-weight: 800; font-size: 1.1rem; letter-spacing: -.02em; color: var(--amber); }
.ticket-head .sub { font-size: .68rem; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; margin-top: 2px; }
.ticket-row { display: flex; justify-content: space-between; gap: 8px; opacity: 0; }
.ticket-row .lead-dots { flex: 1; border-bottom: 1px dotted var(--line); margin: 0 6px; transform: translateY(-4px); }
.ticket-row.show { animation: print .35s ease forwards; }
@keyframes print { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.ticket-meta-line { display: flex; justify-content: space-between; font-size: .72rem; color: var(--muted); }
.ticket-rule { border: 0; border-top: 1px dashed var(--line); margin: 10px 0; }
.ticket-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.05rem; opacity: 0; }
.ticket-total.show { animation: print .4s ease forwards; }
.ticket-stamp { text-align: center; font-size: .7rem; letter-spacing: .06em; color: var(--amber-deep); border-top: 1px solid var(--ink); margin-top: 12px; padding-top: 10px; display: flex; justify-content: space-between; }
.ticket-stamp .live { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); }
.ticket-stamp .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2faa5a; box-shadow: 0 0 0 3px rgba(47,170,90,.2); animation: pulse-g 1.6s infinite; }
@keyframes pulse-g { 0%,100%{opacity:1} 50%{opacity:.4} }
.ticket-tear { width: 340px; max-width: 100%; height: 14px; transform: rotate(-1.4deg); background: radial-gradient(circle at 7px 14px, transparent 6px, var(--paper-2) 6.5px) repeat-x; background-size: 14px 14px; margin-top: -1px; filter: drop-shadow(0 16px 18px rgba(0,0,0,.35)); }

/* ============ PAGE HERO (páginas interiores) ============ */
.page-hero { --ph-bg: none; background: linear-gradient(160deg, rgba(15,15,35,.94) 0%, rgba(15,15,35,.84) 50%, rgba(15,15,35,.55) 100%), var(--ph-bg) center/cover no-repeat, var(--navy-deep); color: #fff; position: relative; overflow: hidden; padding: 80px 0 84px; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(560px 380px at 85% 10%, rgba(196,18,48,.22), transparent 60%); pointer-events: none; }
.page-hero .ph-inner { position: relative; max-width: 46rem; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.035em; color: #fff; margin: 20px 0 20px; line-height: 1.02; }
.page-hero h1 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--coral); }
.page-hero p { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted-dark); max-width: 38em; }
.crumb { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); }
.crumb a:hover { color: var(--coral); }

/* ============ STATS STRIP ============ */
.stats { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 38px 8px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat .num { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.8rem); letter-spacing: -.03em; line-height: 1; }
.stat .num span { color: var(--amber); }
.stat .lbl { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }

/* ============ SECTION SHELL ============ */
section.block { padding: var(--space-section) 0; }
.sec-head { max-width: 54rem; margin-bottom: 56px; }
.sec-head h2 { margin: 18px 0 16px; }
.sec-head p { font-size: 1.1rem; color: var(--muted); max-width: 40em; }
.sectors .sec-head p, .dark .sec-head p { color: var(--muted-dark); }

/* ============ FEATURES (tarjetas) ============ */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat { position: relative; overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); border-radius: 18px; padding: 32px 30px 30px; transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s ease, border-color .45s ease; will-change: transform; }
.feat::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.feat::after { content: ""; position: absolute; left: 0; right: 0; bottom: -40%; height: 60%; background: radial-gradient(60% 100% at 50% 100%, rgba(196,18,48,.10), transparent 70%); opacity: 0; transition: opacity .45s ease; pointer-events: none; }
.feat:hover { transform: translateY(-8px); box-shadow: 0 28px 52px -26px rgba(196,18,48,.32); border-color: rgba(196,18,48,.18); }
.feat:hover::before { transform: scaleX(1); }
.feat:hover::after { opacity: 1; }
.feat .ic { position: static; width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: rgba(196,18,48,.09); color: var(--amber); margin-bottom: 26px; transition: transform .45s cubic-bezier(.34,1.56,.64,1), background .4s ease, color .4s ease, box-shadow .4s ease; }
.feat:hover .ic { background: var(--grad); color: #fff; transform: translateY(-3px) rotate(-6deg) scale(1.08); box-shadow: 0 12px 22px -8px rgba(196,18,48,.5); }
.feat .ic svg { width: 26px; height: 26px; }
.feat .idx { position: absolute; top: 22px; right: 28px; font-family: var(--display); font-weight: 800; font-size: 3.4rem; line-height: 1; color: rgba(196,18,48,.12); letter-spacing: -.04em; transition: color .45s ease, transform .45s cubic-bezier(.22,1,.36,1); }
.feat:hover .idx { color: rgba(196,18,48,.24); transform: translateY(-2px) scale(1.04); }
.feat h3 { font-size: 1.3rem; margin: 0 0 12px; letter-spacing: -.02em; }
.feat p { font-size: .98rem; color: var(--muted); margin-bottom: 24px; }
.feat .tag { display: inline-block; font-size: .78rem; font-weight: 600; padding: .46em 1em; border-radius: 999px; background: rgba(196,18,48,.09); color: var(--amber); transition: background .4s ease, color .4s ease, transform .4s ease; }
.feat:hover .tag { background: var(--grad); color: #fff; transform: translateY(-1px); }

/* ============ SECTORS (grid resumen) ============ */
.sectors { background: linear-gradient(160deg, var(--ink) 0%, var(--navy-deep) 100%); color: #fff; }
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sector { border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 30px 28px; display: flex; flex-direction: column; gap: 14px; min-height: 200px; transition: border-color .25s, transform .25s, background .25s; background: rgba(255,255,255,.015); will-change: transform; }
.sector:hover { border-color: var(--coral); transform: translateY(-4px); background: rgba(196,18,48,.08); }
.sector .s-num { font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; color: var(--coral); }
.sector h3 { font-size: 1.45rem; color: #fff; }
.sector p { font-size: .92rem; color: var(--muted-dark); margin-top: auto; }
.sector .tag { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; color: var(--muted-dark); text-transform: uppercase; }

/* ============ SECTORES · selector por pestañas ============ */
.sector-tabs-section { background: var(--paper-2); }
.sec-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head-center .eyebrow { justify-content: center; }
.sector-tabs { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 52px; }
.stab { display: inline-flex; align-items: center; gap: 9px; font-family: var(--body); font-weight: 600; font-size: .98rem; padding: .72em 1.45em; border-radius: 999px; border: 1px solid var(--line); background: var(--paper-2); color: var(--ink); cursor: pointer; transition: transform .25s ease, background .35s ease, border-color .3s ease, box-shadow .35s ease; }
.stab svg { width: 19px; height: 19px; color: var(--amber); transition: color .3s ease; }
.stab:hover { border-color: var(--amber); transform: translateY(-2px); }
.stab.is-active { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 12px 26px -12px rgba(196,18,48,.6); }
.stab.is-active svg { color: #fff; }
.sector-panels { position: relative; }
.spanel { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.spanel[hidden] { display: none; }
.spanel.is-active { animation: panelIn .5s cubic-bezier(.22,1,.36,1); }
@keyframes panelIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.sp-photo { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4/3; background: var(--ink); box-shadow: 0 34px 64px -32px rgba(26,26,46,.45); }
.sp-photo img { width: 100%; height: 100%; object-fit: cover; }
.sp-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,15,35,.45) 0%, transparent 36%); pointer-events: none; }
.sp-badge { position: absolute; left: 18px; bottom: 18px; z-index: 2; background: var(--grad); color: #fff; font-size: .82rem; font-weight: 600; padding: .5em 1.1em; border-radius: 999px; box-shadow: 0 10px 22px -8px rgba(196,18,48,.65); }
.sp-body h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 16px; letter-spacing: -.03em; }
.sp-body > p { color: var(--muted); font-size: 1.08rem; margin-bottom: 28px; max-width: 34em; }
.sp-feats { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 15px 24px; margin-bottom: 32px; }
.sp-feats li { display: flex; align-items: center; gap: 11px; font-weight: 500; color: var(--ink); }
.sp-feats li::before { content: ""; width: 20px; height: 20px; flex-shrink: 0; background-repeat: no-repeat; background-position: center; background-size: contain; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c41230' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }

/* ============ SECTOR DETAIL ============ */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 78px 0; border-bottom: 1px solid var(--line); }
.detail:last-child { border-bottom: 0; }
.detail .d-photo { aspect-ratio: 4/3; }
.detail.flip .d-text { order: 2; }
.detail.flip .d-photo { order: 1; }
.detail .d-num { font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; color: var(--amber); text-transform: uppercase; }
.detail h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 16px 0 16px; letter-spacing: -.03em; }
.detail p { color: var(--muted); font-size: 1.05rem; margin-bottom: 22px; max-width: 36em; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { font-family: var(--mono); font-size: .74rem; letter-spacing: .03em; padding: .5em .9em; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--paper-2); }

/* ============ PRODUCT split blocks ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: var(--space-section) 0; border-bottom: 1px solid var(--line); }
.split:last-of-type { border-bottom: 0; }
.split.flip .s-text { order: 2; }
.split.flip .s-media { order: 1; }
.split .s-media { aspect-ratio: 5/4; }
.split h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin: 14px 0 14px; letter-spacing: -.03em; }
.split p { color: var(--muted); font-size: 1.05rem; margin-bottom: 20px; max-width: 34em; }
.ticklist { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ticklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; }
.ticklist li::before { content: ""; flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px; margin-top: 2px; background: var(--grad); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); background-size: 15px; background-position: center; background-repeat: no-repeat; }

/* ============ PROCESS ============ */
.process-list { border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 120px 1fr auto; gap: 28px; align-items: baseline; padding: 32px 0; border-bottom: 1px solid var(--line); transition: padding-left .3s ease; }
.step:hover { padding-left: 14px; }
.step .step-num { font-family: var(--display); font-weight: 800; font-size: 2.4rem; color: var(--line); letter-spacing: -.03em; transition: color .3s; }
.step:hover .step-num { color: var(--amber); }
.step .step-body h3 { font-size: 1.4rem; margin-bottom: 6px; }
.step .step-body p { color: var(--muted); max-width: 46em; }
.step .step-tag { font-family: var(--mono); font-size: .74rem; color: var(--muted); letter-spacing: .06em; white-space: nowrap; }

/* ============ BANDA CTA ============ */
.cta-band { background: linear-gradient(160deg, var(--navy-deep) 0%, var(--ink) 100%); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(540px 300px at 80% 50%, rgba(196,18,48,.26), transparent 60%); pointer-events: none; }
.cta-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: var(--space-section) 0; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); color: #fff; max-width: 18em; letter-spacing: -.03em; }
.cta-inner p { color: var(--muted-dark); margin-top: 12px; max-width: 32em; }

/* ============ CONTACT ============ */
.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: start; }
.contact-info h2 { margin: 18px 0 18px; }
.contact-info p.intro { font-size: 1.1rem; color: var(--muted); margin-bottom: 34px; max-width: 34em; }
.info-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-top: 1px dashed var(--line); }
.info-list li .ic { width: 38px; height: 38px; border-radius: 9px; background: var(--ink); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.info-list li .ic svg { width: 18px; height: 18px; }
.info-list .k { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.info-list .v { font-weight: 600; font-size: 1.05rem; }
form.lead-form { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); padding: 38px; box-shadow: 0 30px 60px -40px rgba(26,26,46,.35); }
.form-eyebrow { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 22px; display: block; }
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; tab-index: -1; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 8px; letter-spacing: .01em; }
.field input, .field textarea, .field select { width: 100%; font-family: var(--body); font-size: 1rem; padding: .85em 1em; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(196,18,48,.16); }
.field textarea { resize: vertical; min-height: 96px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
form .btn-amber { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-family: var(--mono); font-size: .7rem; color: var(--muted); margin-top: 14px; text-align: center; letter-spacing: .03em; }

/* ============ FOOTER ============ */
footer { background: var(--navy-deep); color: var(--muted-dark); padding: 70px 0 34px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 800; font-size: 1.4rem; color: #fff; }
.foot-logo { height: 34px; width: auto; display: block; margin-bottom: 4px; }
.foot-brand .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--grad); }
.foot-col p { margin-top: 16px; font-size: .92rem; max-width: 24em; }
.foot-col h3 { font-family: var(--mono); font-size: .74rem; font-weight: 600; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.foot-col a { display: block; font-size: .94rem; margin-bottom: 11px; color: var(--muted-dark); transition: color .2s; }
.foot-col a:hover { color: var(--coral); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 26px; font-family: var(--mono); font-size: .74rem; letter-spacing: .04em; }
.foot-bottom a { color: var(--muted-dark); transition: color .2s; }
.foot-bottom a:hover { color: var(--coral); }

/* ============ STATS / SOCIAL ============ */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-top: 2rem; }
.stat-card { border-left: 3px solid var(--amber); padding-left: 1rem; }
.stat-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
#seo-local { background: var(--paper-2); border-top: 1px solid var(--line); }
.social-links { margin-top: 1.5rem; display: flex; gap: 12px; }
.social-links a { color: inherit; opacity: .8; transition: opacity .2s; }
.social-links a:hover { opacity: 1; }
address.info-list { font-style: normal; }

/* ============ LEGAL PAGES ============ */
.legal-body { max-width: 46rem; margin: 0 auto; }
.legal-body h2 { font-size: 1.15rem; font-weight: 700; margin: 2.2em 0 .55em; color: var(--text); }
.legal-body p, .legal-body li { font-size: 1rem; line-height: 1.8; color: var(--muted); margin-bottom: .9em; }
.legal-body ul { padding-left: 1.5em; margin-bottom: 1em; }
.legal-body a { color: var(--coral); }
.legal-body a:hover { text-decoration: underline; }
.legal-updated { font-family: var(--mono); font-size: .76rem; letter-spacing: .05em; color: var(--muted); margin-bottom: 2.4em !important; }
.cookie-table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.8em; font-size: .92rem; }
.cookie-table th, .cookie-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.08); color: var(--muted); }
.cookie-table th { font-weight: 600; color: var(--text); font-size: .82rem; font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }

/* ============ ACCESIBILIDAD Y FOCUS ============ */
/* Mejoras de contraste y visibilidad para navegación por teclado (WCAG) */
:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; border-radius: 4px; }

/* ============ RESPONSIVE ============ */
@media(max-width:940px) {
  header { background: var(--navy-deep) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; border-bottom: none !important; box-shadow: none !important; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .ticket-stage { order: -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .detail, .split { grid-template-columns: 1fr; gap: 32px; }
  .detail .flip .d-text, .split.flip .s-text { order: 0; }
  .detail.flip .d-photo, .split.flip .s-media { order: -1; }
  .detail .d-photo { aspect-ratio: 16/10; }
  .spanel { grid-template-columns: 1fr; gap: 30px; }
  .sp-photo { aspect-ratio: 16/10; }
}

@media(max-width:1024px) {
  /* ---- Menú móvil ---- */
  .nav-links { position: fixed; top: 64px; left: 0; right: 0; bottom: auto; background: var(--navy-deep); flex-direction: column; gap: 0; border-bottom: 1px solid rgba(255,255,255,.1); padding: 0; max-height: calc(100vh - 64px); overflow-y: auto; transform: translateY(-130%); visibility: hidden; transition: transform .3s ease, visibility .3s ease; z-index: 49; }
  .nav-links.open { transform: translateY(0); visibility: visible; }
  .nav-links a { padding: 16px 28px; width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.85); font-size: 1rem; font-weight: 500; text-align: left; box-sizing: border-box; }
  .nav-links a:hover { color: #fff; background: rgba(255,255,255,.04); }
  .nav-links a.active::after { display: none !important; }
  .nav-links a.active { color: #fff; font-weight: 600; }

  /* Desplegables expandidos en móvil */
  .nav-item { flex-direction: column; align-items: stretch; align-self: auto; width: 100%; }
  .nav-trigger { padding: 16px 28px; width: 100%; justify-content: space-between; color: rgba(255,255,255,.85); border-bottom: 1px solid rgba(255,255,255,.08); text-align: left; font-size: 1rem; box-sizing: border-box; }
  .nav-trigger:hover { color: #fff; background: rgba(255,255,255,.04); }
  .nav-trigger.active::after { display: none !important; }
  .nav-trigger.active { color: #fff; font-weight: 600; }
  .nav-drop { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; border-radius: 0; padding: 0; min-width: 0; background: transparent; display: none; }
  .nav-item.open .nav-drop { display: block; }
  .nav-drop::before { display: none; }
  .nav-drop a { padding: 14px 28px 14px 48px; border-bottom: 1px solid rgba(255,255,255,.06); font-size: .95rem; color: rgba(255,255,255,.7); }
  .nav-drop a:hover { background: rgba(255,255,255,.04); color: #fff; }
  .nav-drop a.active { color: var(--coral); background: transparent; }
  .nav-drop a.active::after { display: none !important; }

  /* Mega-menú en móvil */
  .nav-drop-wide { min-width: 0; right: auto; left: auto; padding: 0; }
  .nd-cols, .nd-cols-4 { grid-template-columns: 1fr; gap: 0; }
  .nav-drop .nd-h-link { padding: 14px 28px; margin: 0; color: rgba(255,255,255,.95); }
  .nd-all { padding: 14px 28px; border-bottom: 1px solid rgba(255,255,255,.08); margin: 0; }
  .nd-h { padding: 12px 28px 4px; color: rgba(255,255,255,.4); }
  .nav-drop-wide a { padding: 14px 28px 14px 48px; }
  .nav-drop-wide a.nd-thumb { padding: 9px 28px; gap: 12px; }
  .nav-drop a.nd-thumb .nd-tx strong { color: rgba(255,255,255,.92); }
  .nav-drop a.nd-thumb .nd-tx em { color: rgba(255,255,255,.5); }

  /* Botón hamburguesa visible — se oculta "Hazte distribuidor" pero se mantiene "Solicitar demo" y el teléfono */
  .menu-toggle { display: flex; }
  .nav-cta .btn-ghost { display: none; }
}

@media(max-width:680px) {
  .nav-cta .btn-amber { display: none; }
  .nav-cta .nav-tel { padding: .45em .55em; gap: 0; }
  .nav-tel .nav-tel-txt { display: none; }

  .hero-scroll { display: none; }
  .hero-slides { min-height: 230px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--line); }
  .feat-grid { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .step { grid-template-columns: 64px 1fr; gap: 18px; }
  .step .step-tag { display: none; }
  .step .step-num { font-size: 1.8rem; }
  .foot-top { grid-template-columns: 1fr; }
}

@media(prefers-reduced-motion:reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .ticket-row, .ticket-total { opacity: 1; }
}

/* ============================================================
PÁGINAS DE CONTENIDO (negocios y hardware)
============================================================ */
.page-hero .crumb a { color: var(--coral); }
.page-hero .ph-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.lead-block { max-width: 46rem; margin: 0 auto 56px; text-align: center; }
.lead-block.left { margin-left: 0; text-align: left; }
.lead-block h2 { margin: 16px 0 14px; }
.lead-block p { font-size: 1.1rem; color: var(--muted); }

.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cap { background: var(--paper-2); border: 1px solid var(--line); border-radius: 16px; padding: 28px 26px; transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s, border-color .35s; will-change: transform; }
.cap:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -26px rgba(196,18,48,.28); border-color: rgba(196,18,48,.16); }
.cap h3, .cap h2 { font-size: 1.18rem; margin: 0 0 10px; letter-spacing: -.02em; display: flex; align-items: baseline; gap: 10px; }
.cap h3 .n, .cap h2 .n { font-family: var(--mono); font-size: .8rem; color: var(--amber); flex-shrink: 0; }
.cap p { font-size: .97rem; color: var(--muted); margin: 0; }

.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.specs-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.specs-table th, .specs-table td { text-align: left; padding: 13px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs-table th { font-weight: 600; color: var(--ink); width: 42%; font-size: .9rem; }
.specs-table td { color: var(--muted); }
.specs-media { position: relative; aspect-ratio: 4/3; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, var(--ink) 0%, var(--amber) 130%); box-shadow: 0 34px 64px -32px rgba(26,26,46,.45); }
.specs-media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; opacity: .92; filter: grayscale(1) contrast(1.05); }
.spec-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.spec-tags .chip { font-family: var(--mono); font-size: .74rem; padding: .5em .9em; border: 1px solid var(--line); border-radius: 999px; background: var(--paper-2); }

.acc-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.acc-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; color: var(--ink); }
.acc-list li::before { content: ""; width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; background-repeat: no-repeat; background-position: center; background-size: contain; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c41230' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }

/* ---- equipamiento filter bar ---- */
.hw-filter-wrap { position: sticky; top: 64px; z-index: 40; background: rgba(249,249,252,.97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: 12px 0; }
.hw-filter { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hw-pill { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: .52em 1.15em; border-radius: 999px; border: 1px solid var(--line); background: var(--paper-2); color: var(--ink); font-family: var(--body); font-weight: 600; font-size: .9rem; cursor: pointer; text-decoration: none; transition: background .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s; }
.hw-pill svg { width: 16px; height: 16px; flex-shrink: 0; stroke: var(--amber); transition: stroke .2s; }
.hw-pill:hover { border-color: var(--amber); transform: translateY(-1px); }
.hw-pill.is-active { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 8px 20px -8px rgba(196,18,48,.5); }
.hw-pill.is-active svg { stroke: #fff; }

/* ---- equipamiento product grid ---- */
.hw-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.hw-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; background: var(--paper-2); transition: transform .22s, box-shadow .22s, border-color .22s; }
.hw-card:hover { transform: translateY(-6px); border-color: rgba(196,18,48,.25); box-shadow: 0 20px 44px -16px rgba(196,18,48,.3); }
.hw-card-img { background: #f4f4f8; height: 190px; display: flex; align-items: center; justify-content: center; padding: 18px; flex-shrink: 0; }
.hw-card-img img { max-height: 154px; max-width: 100%; object-fit: contain; }
.hw-card-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.hw-card-badge { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); margin-bottom: 6px; }
.hw-card-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; line-height: 1.25; letter-spacing: -.02em; }
.hw-card-body p { font-size: .87rem; color: var(--muted); line-height: 1.6; flex: 1; margin-bottom: 14px; }
.hw-card-link { font-size: .83rem; font-weight: 600; color: var(--amber); display: inline-flex; align-items: center; gap: 4px; transition: gap .18s; }
.hw-card:hover .hw-card-link { gap: 8px; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related-card { display: block; background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px; transition: transform .3s, border-color .3s, box-shadow .3s; will-change: transform; }
.related-card:hover { transform: translateY(-4px); border-color: var(--amber); box-shadow: 0 20px 40px -26px rgba(196,18,48,.3); }
.related-card .rc-k { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.related-card h3 { font-size: 1.12rem; margin: 8px 0 4px; letter-spacing: -.02em; }
.related-card p { font-size: .9rem; color: var(--muted); margin: 0; }

.faq { max-width: 50rem; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-family: var(--display); font-weight: 600; font-size: 1.1rem; letter-spacing: -.01em; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--amber); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 40px 22px 0; margin: 0; font-size: 1rem; line-height: 1.65; }

.content-text { max-width: 780px; }
.content-text h3 { font-family: var(--display); font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 700; color: var(--ink); margin: 36px 0 10px; letter-spacing: -.02em; display: flex; align-items: center; gap: 12px; }
.content-text h3::before { content: ""; display: block; width: 20px; height: 3px; background: var(--grad); border-radius: 2px; flex-shrink: 0; }
.content-text p { color: var(--muted); line-height: 1.8; margin-bottom: 14px; font-size: 1rem; }
.content-text strong { color: var(--ink); font-weight: 600; }
.content-text h3:first-child { margin-top: 0; }

.product-view-wrap { display: flex; flex-direction: column; gap: 12px; }
.specs-media.product-view { background: var(--paper-2); }
.specs-media.product-view img { object-fit: contain; mix-blend-mode: normal; opacity: 1; filter: none; padding: 20px; transition: opacity .25s; }
.product-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.product-thumbs button { flex: 1 1 80px; max-width: 110px; aspect-ratio: 1; background: var(--paper-2); border: 2px solid transparent; border-radius: 10px; cursor: pointer; padding: 8px; transition: border-color .18s, transform .18s; }
.product-thumbs button:hover { transform: translateY(-2px); }
.product-thumbs button.active { border-color: var(--amber); }
.product-thumbs img { width: 100%; height: 100%; object-fit: contain; display: block; }

@media(max-width:780px) {
  .cap-grid { grid-template-columns: 1fr; }
  .hw-grid { grid-template-columns: repeat(2,1fr); }
  .hw-filter-wrap { top: 64px; }
  .specs { grid-template-columns: 1fr; gap: 30px; }
  .specs-media { order: -1; aspect-ratio: 16/10; }
  .product-view-wrap { order: -1; }
  .acc-list { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .hw-grid { grid-template-columns: 1fr; }
}