/* =========================================================
   EMPRESAS COLUMBIA — sistema visual
   Estructura editorial inspirada en ALLSPAY, identidad Columbia.
   Cada filial redefine --brand / --brand-2 / --accent / --accent-ink.
   ========================================================= */

:root {
    --brand: #0018A8;
    --brand-2: #000B52;
    --accent: #FF1E00;
    --accent-ink: #FFFFFF;
    --secondary: #FFC400;

    --bg: #F5F6FA;
    --card: #FFFFFF;
    --ink: #0D1129;
    --text: #4C536E;
    --muted: #747B93;
    --line: #E1E4EE;

    --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
    --body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

    --radius: 24px;
    --radius-sm: 15px;
    --shadow: 0 1px 2px rgba(10, 14, 40, 0.04), 0 18px 48px rgba(10, 14, 40, 0.08);
    --shadow-soft: 0 10px 30px rgba(10, 14, 40, 0.06);
    --wrap: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.65 var(--body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection {
    background: var(--accent);
    color: var(--accent-ink);
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

h1, h2, h3, h4 {
    margin: 0 0 0.45em;
    color: var(--ink);
    font-family: var(--display);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

p { margin: 0 0 1em; }

img { max-width: 100%; }

.wrap {
    width: min(var(--wrap), 100% - 40px);
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -80px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--ink);
    color: #fff;
    font-weight: 600;
    transition: top 0.15s;
}

.skip-link:focus { top: 12px; }

:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 3px;
}

/* ---------- utilidades ---------- */

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--brand);
    font: 700 11px var(--display);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow span {
    width: 26px;
    height: 2px;
    background: var(--accent);
    flex: none;
}

.dark .eyebrow { color: #fff; }
.dark .eyebrow span { background: var(--secondary); }

.section-head {
    max-width: 760px;
    margin-bottom: 42px;
}

.section-head.is-center {
    margin-inline: auto;
    text-align: center;
}

.section-head.is-center .eyebrow { justify-content: center; }

.section-head h2 {
    font-size: clamp(30px, 4vw, 46px);
    max-width: 22ch;
}

.section-head.is-center h2 { margin-inline: auto; }

.section-head p {
    max-width: 62ch;
    margin-top: 14px;
    color: var(--muted);
    font-size: 17px;
}

.dark .section-head h2 { color: #fff; }
.dark .section-head p { color: rgba(255, 255, 255, 0.68); }

/* ---------- botones ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border: 0;
    border-radius: 14px;
    background: var(--accent);
    color: var(--accent-ink);
    box-shadow: 0 10px 24px rgba(10, 14, 40, 0.14);
    font: 700 14.5px var(--display);
    letter-spacing: -0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.14s, filter 0.14s, background 0.14s, border-color 0.14s;
}

.btn:hover {
    transform: translateY(-1px);
    filter: brightness(0.94);
}

.btn:active { transform: translateY(0); }

.btn-sm {
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 13px;
    box-shadow: none;
}

.btn-outline {
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: none;
}

.btn-outline:hover {
    color: var(--brand);
    border-color: var(--brand);
    filter: none;
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.42);
    box-shadow: none;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    filter: none;
}

.btn-inverse {
    background: #080D26;
    color: #fff;
    box-shadow: none;
}

.btn-inverse:hover { background: #141B3F; }

.btn-brand {
    background: var(--brand);
    color: #fff;
}

.dark .btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

/* ---------- barra superior del grupo ---------- */

.holding-bar {
    background: #060A23;
    color: rgba(255, 255, 255, 0.66);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12.5px;
}

.holding-inner {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 38px;
}

.holding-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    white-space: nowrap;
}

.holding-seal {
    display: grid;
    place-items: center;
    width: 19px;
    height: 19px;
    border-radius: 5px;
    background: #FF1E00;
    color: #fff;
    font: 800 11px var(--display);
}

.holding-mid {
    color: rgba(255, 255, 255, 0.42);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.holding-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.holding-nav > a {
    color: rgba(255, 255, 255, 0.74);
    text-decoration: none;
}

.holding-nav > a:hover { color: #fff; }

.switcher { position: relative; }

.switcher summary {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.switcher summary::-webkit-details-marker { display: none; }

.switcher summary .icon-svg {
    width: 15px;
    height: 15px;
    transition: transform 0.18s;
}

.switcher[open] summary .icon-svg { transform: rotate(180deg); }

.switcher-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    z-index: 70;
    width: 390px;
    max-height: min(72vh, 560px);
    overflow-y: auto;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 30px 70px rgba(6, 10, 35, 0.24);
}

.switcher-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px 12px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--line);
    color: var(--brand);
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
}

.switcher-all:hover { color: var(--accent); }

.switcher-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--ink);
    text-decoration: none;
}

.switcher-item:hover { background: #F4F5FA; }

.switcher-item.is-current { background: #F0F2FA; }

.switcher-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex: none;
}

.switcher-text { display: flex; flex-direction: column; line-height: 1.3; }
.switcher-text b { font-size: 13.5px; font-weight: 600; }
.switcher-text small { color: var(--muted); font-size: 11.5px; }

/* ---------- cabecera ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    box-shadow: inset 0 4px 0 var(--brand);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: auto;
    max-width: 250px;
    max-height: 62px;
    object-fit: contain;
}

.site-footer .brand-logo {
    padding: 10px 14px;
    border-radius: 12px;
    background: #fff;
    max-height: 72px;
}

.brand-mark { display: block; flex: none; }
.brand-mark svg { display: block; width: 40px; height: 40px; }

.brand-type { display: flex; flex-direction: column; line-height: 0.92; }

.brand-top {
    color: var(--brand);
    font: 700 10.5px var(--display);
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.brand-bottom {
    color: var(--ink);
    font: 900 23px var(--display);
    letter-spacing: -0.045em;
}

.company-brand { display: inline-flex; align-items: center; }

.company-brand img {
    max-height: 58px;
    max-width: 230px;
    width: auto;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav > a:not(.btn) {
    position: relative;
    padding: 5px 0;
    color: var(--ink);
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.main-nav > a:not(.btn)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.18s;
}

.main-nav > a:not(.btn):hover,
.main-nav > a.is-active { color: var(--brand); }

.main-nav > a:not(.btn):hover::after,
.main-nav > a.is-active::after { transform: scaleX(1); }

.header-cta { margin-left: 6px; }

.quote-count {
    display: inline-grid;
    place-items: center;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--accent-ink);
    color: var(--accent);
    font: 800 10.5px var(--display);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.18s, opacity 0.18s;
}

.nav-toggle[aria-expanded='true'] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: 74px 0 0;
    background: var(--brand);
    color: #fff;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 420px at 82% -10%, rgba(255, 255, 255, 0.13), transparent 60%),
        linear-gradient(115deg, transparent 55%, rgba(0, 0, 0, 0.1) 55%, rgba(0, 0, 0, 0.1) 55.6%, transparent 55.6%);
    pointer-events: none;
}

.hero-swoosh {
    position: absolute;
    right: -4%;
    top: 8%;
    width: 58%;
    max-width: 820px;
    opacity: 0.16;
    color: #fff;
    pointer-events: none;
}

.hero .wrap { position: relative; z-index: 1; }

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    gap: 56px;
    align-items: end;
}

.hero-copy > * {
    animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-copy > *:nth-child(2) { animation-delay: 0.06s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.12s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.18s; }

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

.hero h1 {
    max-width: 13ch;
    margin-bottom: 22px;
    color: #fff;
    font-size: clamp(40px, 5.6vw, 69px);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.hero h1 em {
    display: inline;
    padding: 0 0.16em;
    border-radius: 11px;
    background: var(--accent);
    color: var(--accent-ink);
    font-style: normal;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.hero-lead {
    max-width: 55ch;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
}

.chip {
    padding: 7px 13px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.86);
    font: 600 11.5px var(--body);
    letter-spacing: 0.02em;
}

.chip-solid {
    border-color: transparent;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.hero-index {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 26px;
    background: rgba(3, 8, 36, 0.3);
    backdrop-filter: blur(10px);
}

.hero-index-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 0 4px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-index-head b {
    color: #fff;
    font: 700 13px var(--display);
    letter-spacing: 0.02em;
}

.hero-index-head a {
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    text-decoration: none;
}

.hero-index-head a:hover { color: #fff; }

.hero-index-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding-top: 10px;
}

.hero-company {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 10px 9px;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    transition: background 0.14s;
}

.hero-company:hover { background: rgba(255, 255, 255, 0.1); }

.hero-company-dot {
    width: 7px;
    height: 7px;
    margin-top: 6px;
    border-radius: 50%;
    flex: none;
}

.hero-company b {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
}

.hero-company small {
    display: block;
    color: rgba(255, 255, 255, 0.52);
    font-size: 10.5px;
    line-height: 1.35;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 58px;
    padding: 26px 30px;
    border-radius: 24px 24px 0 0;
    background: var(--brand-2);
    color: #fff;
}

.hero-stats div + div { border-left: 1px solid rgba(255, 255, 255, 0.13); padding-left: 18px; }

.hero-stats b {
    display: block;
    color: #fff;
    font: 800 28px/1 var(--display);
    letter-spacing: -0.03em;
}

.hero-stats span {
    display: block;
    margin-top: 7px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 12.5px;
}

/* ---------- hero de empresa ---------- */

.company-hero {
    position: relative;
    overflow: hidden;
    padding: 64px 0 0;
    background: var(--brand);
    color: #fff;
}

.company-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(760px 360px at 90% 0%, rgba(255, 255, 255, 0.14), transparent 62%);
    pointer-events: none;
}

.company-hero .wrap { position: relative; z-index: 1; }

.company-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 48px;
    align-items: center;
}

.company-hero h1 {
    max-width: 16ch;
    margin-bottom: 18px;
    color: #fff;
    font-size: clamp(36px, 4.8vw, 58px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.048em;
}

.company-hero .hero-lead { max-width: 60ch; font-size: 17px; }

.hero-logo-card {
    padding: 26px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.18);
}

.hero-logo-card img {
    display: block;
    max-height: 108px;
    max-width: 100%;
    margin: 0 auto 18px;
    object-fit: contain;
}

.hero-logo-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid var(--line);
    color: var(--ink);
    font-size: 11.5px;
}

.hero-logo-meta span:first-child {
    color: var(--muted);
    letter-spacing: 0.04em;
}

.hero-logo-meta b { font-weight: 700; }

.company-hero .hero-stats { grid-template-columns: repeat(3, 1fr); margin-top: 46px; }

/* ---------- secciones ---------- */

section.block { padding: 92px 0; }
section.block.tight { padding: 64px 0; }
section.block.alt { background: #fff; }
section.block.dark {
    background: var(--brand-2);
    color: rgba(255, 255, 255, 0.74);
}
section.block.tint { background: #EEF0F7; }

.grid {
    display: grid;
    gap: 20px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow-soft);
}

.card h3 { font-size: 20px; }
.card p:last-child { margin-bottom: 0; }

.sector-card { display: flex; flex-direction: column; }

.icon-tile {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    border-radius: 15px;
    background: var(--brand);
    color: #fff;
}

.icon-tile .icon-svg { width: 25px; height: 25px; }

.sector-card p { color: var(--muted); font-size: 14.5px; }

/* ---------- tarjetas de empresa ---------- */

.company-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.company-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 24px;
    border: 1px solid var(--line);
    border-top: 4px solid var(--c);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

.company-card:hover {
    transform: translateY(-4px);
    border-color: var(--c);
    box-shadow: var(--shadow);
}

.company-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
}

.company-sector {
    padding: 5px 10px;
    border-radius: 999px;
    background: #F1F3F9;
    color: #5A6178;
    font: 700 10px var(--display);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.company-arrow {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--c);
    transition: background 0.15s, color 0.15s;
}

.company-card:hover .company-arrow {
    background: var(--c);
    color: #fff;
    border-color: var(--c);
}

.company-logo {
    display: flex;
    align-items: center;
    height: 96px;
    margin-bottom: 18px;
}

.company-logo img {
    max-height: 90px;
    max-width: 240px;
    width: auto;
    object-fit: contain;
}

.company-card h3 {
    margin-bottom: 8px;
    font-size: 19px;
    line-height: 1.15;
}

.company-card p {
    flex: 1;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.company-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px dashed var(--line);
    color: var(--muted);
    font-size: 11.5px;
}

.company-view {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--c);
    font-weight: 700;
}

/* ---------- valores y trayectoria ---------- */

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.value-card {
    padding-top: 22px;
    border-top: 2px solid rgba(255, 255, 255, 0.22);
}

.value-card h3 { color: #fff; font-size: 20px; }
.value-card p { color: rgba(255, 255, 255, 0.68); font-size: 14.5px; }

.timeline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.timeline-item { padding-top: 20px; border-top: 2px solid var(--line); }

.timeline-year {
    display: block;
    margin-bottom: 10px;
    color: var(--brand);
    font: 800 34px/1 var(--display);
    letter-spacing: -0.04em;
}

.timeline-item h3 { font-size: 17px; }
.timeline-item p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- noticias ---------- */

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.news-card {
    display: flex;
    flex-direction: column;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    transition: transform 0.16s, box-shadow 0.16s;
}

.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 11.5px;
}

.news-cat {
    padding: 4px 10px;
    border-radius: 999px;
    background: #F1F3F9;
    color: var(--brand);
    font: 700 10px var(--display);
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.news-card h3 { font-size: 20px; line-height: 1.18; }
.news-card p { flex: 1; color: var(--muted); font-size: 14px; }

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand);
    font-size: 13px;
    font-weight: 700;
}

/* ---------- CTA ---------- */

.cta-band {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    overflow: hidden;
    padding: 44px 48px;
    border-radius: 30px;
    background: var(--accent);
    color: var(--accent-ink);
}

.cta-band::after {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 260px;
    height: 260px;
    border: 40px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.cta-band h2 {
    max-width: 20ch;
    margin: 0;
    color: inherit;
    font-size: clamp(26px, 3vw, 36px);
}

.cta-band p {
    max-width: 46ch;
    margin: 10px 0 0;
    color: inherit;
    opacity: 0.86;
    font-size: 15px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    z-index: 1;
}

/* ---------- pie ---------- */

.site-footer {
    padding: 64px 0 26px;
    background: #060A23;
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.55fr 0.9fr 1.25fr 1fr;
    gap: 38px;
}

.footer-brand .brand-bottom { color: #fff; }
.footer-brand .brand-top { color: #8FA4FF; }

.footer-brand p {
    max-width: 36ch;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13.5px;
}

.footer-company {
    display: inline-flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 14px;
    background: #fff;
}

.footer-company img { max-height: 54px; max-width: 200px; object-fit: contain; }

.footer-contact { margin-top: 20px; }

.footer-contact a {
    display: block;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.footer-contact span { display: block; margin-top: 5px; font-size: 12.5px; color: rgba(255, 255, 255, 0.5); }

.site-footer h4 {
    margin-bottom: 16px;
    color: #fff;
    font: 700 10.5px var(--display);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.site-footer a:not(.brand):not(.footer-company):not(.footer-company-link) {
    display: block;
    margin-bottom: 9px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13.5px;
    text-decoration: none;
}

.site-footer a:not(.brand):not(.footer-company):not(.footer-company-link):hover { color: #fff; }

.footer-company-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 9px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13.5px;
    text-decoration: none;
}

.footer-company-link:hover { color: #fff; }

.footer-company-link .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex: none;
}

.footer-address {
    display: block;
    margin: 4px 0 12px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12.5px;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-top: 46px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.42);
    font-size: 12px;
}

/* ---------- cabecera de página interior ---------- */

.page-hero {
    padding: 58px 0 52px;
    background: var(--brand);
    color: #fff;
}

.page-hero.compact { padding: 42px 0 38px; }

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 12px;
}

.breadcrumbs a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }

.page-hero h1 {
    max-width: 20ch;
    margin-bottom: 14px;
    color: #fff;
    font-size: clamp(32px, 4.4vw, 52px);
    font-weight: 900;
    letter-spacing: -0.045em;
}

.page-hero p {
    max-width: 62ch;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16.5px;
}

.page-hero .hero-actions { margin-top: 24px; }

.page-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

/* ---------- catálogo ---------- */

.catalog-toolbar {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    margin-bottom: 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.search-field { position: relative; }

.search-field .icon-svg {
    position: absolute;
    left: 15px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
}

.search-field input {
    width: 100%;
    padding: 13px 16px 13px 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #FBFBFD;
    color: var(--ink);
    font: 15px var(--body);
}

.search-field input:focus {
    border-color: var(--brand);
    outline: none;
    box-shadow: 0 0 0 3px rgba(10, 14, 40, 0.07);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 18px;
}

.filter-chip {
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: #545B73;
    font: 600 12.5px var(--body);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.14s, color 0.14s, border-color 0.14s;
}

.filter-chip:hover { border-color: var(--brand); color: var(--brand); }

.filter-chip.is-active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.catalog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 12.5px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.16s, box-shadow 0.16s;
}

.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.product-plate {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 148px;
    padding: 17px 18px;
    overflow: hidden;
    background: var(--c);
    color: #fff;
}

.product-plate::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: var(--a);
    z-index: 3;
}

.product-plate.has-image { background: #0D1129; }

.product-plate.has-image > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-plate.has-image::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(6, 10, 35, 0.04) 20%, rgba(6, 10, 35, 0.66) 100%);
}

.product-plate > .product-cat,
.product-plate > .product-sku { position: relative; z-index: 2; }

.product-cat {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.76);
    font: 700 9.5px var(--display);
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.product-glyph {
    position: absolute;
    right: 16px;
    top: 50%;
    width: 58px;
    height: 58px;
    transform: translateY(-50%);
    opacity: 0.9;
}

.product-sku {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.62);
    font: 600 10.5px var(--display);
    letter-spacing: 0.06em;
}

.product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.product-body h3 {
    margin-bottom: 7px;
    font-size: 18px;
    line-height: 1.2;
}

.product-body h3 a { text-decoration: none; }
.product-body h3 a:hover { color: var(--brand); }

.product-body > p {
    flex: 1;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.55;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
    color: var(--muted);
    font-size: 11px;
}

.product-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.product-actions .btn { flex: 1; }

.empty-state {
    padding: 46px 24px;
    border: 1px dashed var(--line);
    border-radius: 20px;
    background: #fff;
    text-align: center;
}

.empty-state h3 { font-size: 19px; }
.empty-state p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- ficha de producto ---------- */

.product-detail {
    display: grid;
    grid-template-columns: 410px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.product-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 350px;
    padding: 28px;
    overflow: hidden;
    border-radius: 26px;
    background: var(--brand);
    color: #fff;
}

.product-visual .glyph {
    position: absolute;
    right: 20px;
    bottom: 14px;
    width: 148px;
    height: 148px;
    opacity: 0.28;
}

.product-visual.has-image { background: #0D1129; }

.product-visual.has-image > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-visual.has-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 10, 35, 0.04) 25%, rgba(6, 10, 35, 0.64) 100%);
}

.product-visual .cat,
.product-visual .sku { position: relative; z-index: 2; }

.product-visual .cat {
    color: rgba(255, 255, 255, 0.7);
    font: 700 10.5px var(--display);
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.product-visual .sku {
    color: rgba(255, 255, 255, 0.65);
    font: 600 12px var(--display);
    letter-spacing: 0.06em;
}

.product-info h1 { font-size: clamp(30px, 3.6vw, 44px); }

.product-info .lead {
    color: var(--muted);
    font-size: 16px;
}

.spec-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
    margin: 26px 0;
    border-top: 1px solid var(--line);
}

.spec-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13.5px;
}

.spec-row dt { color: var(--muted); }
.spec-row dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }

.purchase-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.purchase-box .btn { flex: 1; min-width: 180px; }

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

/* ---------- proyectos ---------- */

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.project-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    transition: transform 0.16s, box-shadow 0.16s;
}

.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.project-visual {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    min-height: 186px;
    padding: 20px;
    overflow: hidden;
    background: var(--c);
    color: #fff;
}

.project-visual::after {
    content: '';
    position: absolute;
    right: -40px;
    bottom: -50px;
    width: 200px;
    height: 200px;
    border: 32px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.project-glyph {
    position: absolute;
    right: 16px;
    top: 50%;
    width: 86px;
    height: 86px;
    transform: translateY(-50%);
    opacity: 0.24;
}

.status {
    position: relative;
    z-index: 1;
    padding: 5px 11px;
    border-radius: 999px;
    font: 700 10px var(--display);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.status-ejecucion { background: #FFF0B8; color: #745500; }
.status-finalizado { background: #D8F5E3; color: #0A6539; }
.status-proyectado { background: #E2E9FF; color: #173B9C; }

.project-year {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.82);
    font: 800 30px/1 var(--display);
    letter-spacing: -0.04em;
}

.project-body { padding: 24px; }

.project-loc {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 9px;
    color: var(--muted);
    font-size: 11.5px;
}

.project-body h3 { font-size: 21px; }
.project-body p { color: var(--muted); font-size: 14px; }

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand);
    font-size: 13px;
    font-weight: 700;
}

.project-detail-hero {
    position: relative;
    overflow: hidden;
    padding: 56px 0 48px;
    background: var(--brand);
    color: #fff;
}

.project-detail-hero h1 { max-width: 24ch; color: #fff; font-size: clamp(32px, 4.4vw, 54px); }
.project-detail-hero .project-loc { color: rgba(255, 255, 255, 0.66); }

.project-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 26px;
}

.project-fact {
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.12);
}

.project-fact span { display: block; color: rgba(255, 255, 255, 0.55); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.project-fact b { display: block; margin-top: 4px; color: #fff; font-size: 15px; }

/* ---------- cotización ---------- */

.quote-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 30px;
    align-items: start;
}

.quote-panel {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.quote-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
}

.quote-head h2 { margin: 0; font-size: 24px; }

.quote-clear {
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    font: 600 12px var(--body);
    cursor: pointer;
}

.quote-clear:hover { color: #B21F31; border-color: #F0C4CA; }

.quote-list { display: flex; flex-direction: column; gap: 10px; }

.quote-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #FBFBFD;
}

.quote-line-name b { display: block; color: var(--ink); font-size: 14px; }
.quote-line-name span { display: block; margin-top: 2px; color: var(--muted); font-size: 11.5px; }

.qty-controls {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
}

.qty-controls button {
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: 700 15px var(--body);
    cursor: pointer;
}

.qty-controls button:hover { background: #F2F4F9; }
.qty-controls span { min-width: 30px; text-align: center; font: 600 13px var(--body); color: var(--ink); }

.quote-remove {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--muted);
    cursor: pointer;
}

.quote-remove:hover { color: #B21F31; border-color: #F0C4CA; }

.quote-empty {
    padding: 38px 24px;
    border: 1px dashed var(--line);
    border-radius: 18px;
    text-align: center;
}

.quote-empty .icon-svg { width: 34px; height: 34px; color: var(--muted); margin-bottom: 10px; }
.quote-empty h3 { font-size: 18px; }
.quote-empty p { margin: 0 0 16px; color: var(--muted); font-size: 13.5px; }

.quote-total {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 2px solid var(--ink);
    color: var(--ink);
    font: 700 14px var(--display);
}

.quote-mini {
    padding: 12px 15px;
    margin-bottom: 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #F4F6FB;
    color: var(--muted);
    font-size: 12.5px;
}

.quote-mini b { color: var(--ink); }

.quote-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.quote-step {
    padding-top: 16px;
    border-top: 2px solid var(--line);
}

.quote-step span { color: var(--brand); font: 800 12px var(--display); }
.quote-step h3 { margin: 6px 0 5px; font-size: 15px; }
.quote-step p { margin: 0; color: var(--muted); font-size: 12.5px; }

/* ---------- formularios ---------- */

.lead-form {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field { display: flex; flex-direction: column; gap: 7px; }
.field-wide { grid-column: 1 / -1; }

.field > span {
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #FCFCFE;
    color: var(--ink);
    font: 15px var(--body);
}

.field textarea { min-height: 140px; resize: vertical; }

.field input:focus,
.field textarea:focus,
.field select:focus {
    border-color: var(--brand);
    outline: none;
    box-shadow: 0 0 0 3px rgba(10, 14, 40, 0.07);
    background: #fff;
}

.field input[type='file'] {
    padding: 9px;
    background: #fff;
    font-size: 13.5px;
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.5;
}

.consent input { margin-top: 3px; accent-color: var(--brand); }

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
}

.form-note { color: var(--muted); font-size: 12px; }

.error { color: #B21F31; font-size: 12px; font-style: normal; }

.form-alert {
    padding: 12px 15px;
    margin-bottom: 18px;
    border: 1px solid #F0C4CA;
    border-radius: 12px;
    background: #FDEFF1;
    color: #A3223A;
    font-size: 13px;
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---------- contacto ---------- */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
    align-items: start;
}

.contact-aside .card + .card { margin-top: 16px; }
.contact-aside h3 { font-size: 17px; }
.contact-aside p { color: var(--muted); font-size: 13.5px; }

.contact-list { list-style: none; padding: 0; margin: 0; }

.contact-list li {
    display: flex;
    gap: 11px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13.5px;
}

.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-list .icon-svg { color: var(--brand); flex: none; margin-top: 2px; }
.contact-list b { display: block; color: var(--ink); font-weight: 600; }
.contact-list a { color: var(--text); text-decoration: none; }
.contact-list a:hover { color: var(--brand); }

/* ---------- prosa / artículos ---------- */

.prose {
    max-width: 760px;
    font-size: 16.5px;
    line-height: 1.8;
}

.prose h2 { margin-top: 2em; font-size: 25px; }
.prose h3 { margin-top: 1.6em; font-size: 20px; }
.prose ul { margin: 0 0 1.2em 1.2em; padding: 0; }
.prose li { margin: 0.45em 0; }
.prose blockquote {
    margin: 1.8em 0;
    padding: 18px 22px;
    border-left: 4px solid var(--accent);
    background: #fff;
    border-radius: 0 14px 14px 0;
    color: var(--ink);
}
.prose a { color: var(--brand); }

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 48px;
    align-items: start;
}

.article-aside { position: sticky; top: 100px; }
.article-aside .card { padding: 24px; }
.article-aside h3 { font-size: 16px; }

.share-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- gracias / 404 ---------- */

.center-page {
    display: grid;
    place-items: center;
    min-height: 58vh;
    padding: 64px 0;
}

.center-card {
    max-width: 640px;
    padding: 44px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--shadow);
    text-align: center;
}

.center-card .success-mark {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #D8F5E3;
    color: #0A6539;
}

.center-card .success-mark .icon-svg { width: 30px; height: 30px; }
.center-card h1 { font-size: clamp(30px, 4vw, 42px); }
.center-card p { color: var(--muted); font-size: 15.5px; }
.center-card .hero-actions { justify-content: center; }

/* ---------- avisos flotantes ---------- */

.toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 80;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font: 600 13px var(--body);
    box-shadow: 0 18px 40px rgba(6, 10, 35, 0.28);
    opacity: 0;
    transform: translate(-50%, 12px);
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
}

.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- paginación ---------- */

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    display: grid;
    place-items: center;
    min-width: 38px;
    height: 38px;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--text);
    font-size: 13px;
    text-decoration: none;
}

.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination .is-current { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- responsive ---------- */

@media (max-width: 1040px) {
    .hero-grid { grid-template-columns: 1fr; gap: 38px; }
    .hero-index { max-width: 640px; }
    .hero h1 { max-width: 16ch; }
    .company-hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-logo-card { max-width: 420px; }
    .company-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-detail { grid-template-columns: 340px minmax(0, 1fr); gap: 30px; }
    .quote-layout { grid-template-columns: 1fr; }
    .quote-form-wrap { max-width: 680px; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-grid > div:last-child { grid-column: 1 / -1; }
    .article-layout { grid-template-columns: 1fr; }
    .article-aside { position: static; }
}

@media (max-width: 820px) {
    .holding-mid { display: none; }
    .holding-inner { min-height: 36px; }
    .holding-nav { gap: 14px; }
    .nav-toggle { display: block; }
    .header-inner { min-height: 64px; }
    .main-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 14px 20px 20px;
        border-bottom: 1px solid var(--line);
        background: #fff;
        box-shadow: 0 24px 40px rgba(6, 10, 35, 0.12);
    }
    .main-nav.is-open { display: flex; }
    .main-nav > a:not(.btn) { padding: 11px 4px; font-size: 15px; border-bottom: 1px solid #F0F2F7; }
    .main-nav > a:not(.btn)::after { display: none; }
    .main-nav > a.btn { margin-top: 10px; }
    .header-cta { align-self: flex-start; }
    .company-brand img { max-height: 40px; max-width: 170px; }
    .brand-logo { max-height: 44px; max-width: 190px; }
    .brand-mark svg { width: 36px; height: 36px; }
    .brand-bottom { font-size: 21px; }
    .hero { padding-top: 54px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; padding: 22px; }
    .hero-stats div + div { border-left: 0; padding-left: 0; }
    .company-hero .hero-stats { grid-template-columns: repeat(3, 1fr); }
    section.block { padding: 68px 0; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .company-grid { grid-template-columns: 1fr 1fr; }
    .values-grid, .timeline, .news-grid { grid-template-columns: 1fr 1fr; }
    .project-grid { grid-template-columns: 1fr; }
    .catalog-toolbar { grid-template-columns: 1fr; }
    .product-detail { grid-template-columns: 1fr; }
    .product-visual { min-height: 240px; }
    .spec-list { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .footer-grid > div:last-child { grid-column: auto; }
    .quote-steps { grid-template-columns: 1fr; }
    .project-facts { grid-template-columns: 1fr; }
    .cta-band { flex-direction: column; align-items: flex-start; padding: 36px 30px; }
}

@media (max-width: 620px) {
    .wrap { width: min(var(--wrap), 100% - 32px); }
    .holding-bar { font-size: 11.5px; }
    .holding-nav .holding-contact { display: none; }
    .holding-brand span:last-child { font-size: 11.5px; }
    .switcher-panel { width: min(360px, calc(100vw - 28px)); right: -4px; }
    .hero h1 { font-size: clamp(35px, 10.5vw, 48px); }
    .hero-lead { font-size: 16.5px; }
    .hero-index-list { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .hero-stats b { font-size: 24px; }
    .company-hero .hero-stats { grid-template-columns: 1fr; }
    .company-hero h1 { font-size: clamp(32px, 9vw, 44px); }
    .company-grid, .values-grid, .timeline, .news-grid, .product-grid, .related-grid { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .lead-form, .quote-panel, .card, .center-card { padding: 22px; }
    .section-head p { font-size: 15.5px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
    .quote-line { grid-template-columns: 1fr auto; }
    .quote-remove { grid-column: 2; grid-row: 1; }
    .qty-controls { grid-column: 2; grid-row: 2; justify-self: end; }
    .page-hero { padding: 44px 0 40px; }
    .page-hero h1 { font-size: clamp(30px, 8.6vw, 40px); }
    .product-actions { flex-direction: column; }
    .cta-actions { width: 100%; }
    .cta-actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}
