/* Presentacion web OSG
   Estilos extraidos desde presentacion_osg.html. */

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

  :root {
    --bg-dark: #0D1820;
    --bg-sidebar: #111C26;
    --blue-osg: #1E6FA8;
    --blue-light: #3B8FC4;
    --white: #FFFFFF;
    --gray-100: #F2F6FA;
    --gray-200: #D8E3EE;
    --gray-400: #8CA3B8;
    --gray-600: #4A6070;
    --text-body: #1C2E3D;

    /* Division accents */
    --foods: #00B5A0;
    --packs: #C89B3C;
    --plastics: #D4A000;
    --logistics: #2EAA5E;
    --sitalu: #1E6FA8;
    --operber: #2B5EA7;

    --accent: var(--blue-osg);
    --sidebar-w: 232px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  html, body { height: 100%; font-family: 'Inter', sans-serif; background: var(--bg-dark); color: var(--white); overflow: hidden; }

  /* ── LAYOUT ── */
  .app { display: flex; height: 100vh; width: 100vw; }

  /* ── SIDEBAR ── */
  .sidebar {
    width: var(--sidebar-w);
    min-width: var(--sidebar-w);
    background: var(--bg-sidebar);
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255,255,255,0.06);
    transition: border-color var(--transition);
    position: relative;
    z-index: 10;
  }

  .sidebar-logo {
    padding: 28px 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .sidebar-logo .brand { font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 4px; }
  .sidebar-logo .group-name { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 700; color: var(--white); letter-spacing: 0.02em; line-height: 1.1; }
  .sidebar-logo .tagline { font-size: 10px; color: var(--gray-400); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; }

  .sidebar-nav { flex: 1; overflow: hidden; padding: 12px 0; }
  .sidebar-nav::-webkit-scrollbar { width: 3px; }
  .sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

  .nav-group { margin-bottom: 8px; }
  .nav-group-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray-600);
    padding: 8px 24px 4px;
  }

  .nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 22px;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
    font-size: 12px;
    font-weight: 400;
    color: var(--gray-400);
    border-left: 3px solid transparent;
    position: relative;
  }
  .nav-item:hover { background: rgba(255,255,255,0.04); color: var(--white); }
  .nav-item.active {
    color: var(--white);
    background: rgba(255,255,255,0.06);
    border-left-color: var(--accent);
    font-weight: 500;
  }
  .nav-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.5;
    flex-shrink: 0;
    transition: opacity var(--transition), transform var(--transition);
  }
  .nav-item.active .nav-dot { opacity: 1; transform: scale(1.3); }

  /* Division color dots */
  .nav-item[data-section="foods"] .nav-dot { color: var(--foods); }
  .nav-item[data-section="packs"] .nav-dot { color: var(--packs); }
  .nav-item[data-section="plastics"] .nav-dot { color: var(--plastics); }
  .nav-item[data-section="logistics"] .nav-dot { color: var(--logistics); }
  .nav-item[data-section="sitalu"] .nav-dot { color: var(--sitalu); }
  .nav-item[data-section="operber"] .nav-dot { color: var(--operber); }

  .sidebar-footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 10px;
    color: var(--gray-600);
    line-height: 1.6;
  }
  .sidebar-footer a { color: var(--gray-400); text-decoration: none; }

  /* ── MAIN CONTENT ── */
  .main {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-width: 0;
    background:
      radial-gradient(circle at 82% 18%, rgba(59,143,196,0.14), transparent 28%),
      linear-gradient(135deg, #0D1820 0%, #0B1620 100%);
  }

  .section {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity var(--transition), transform var(--transition);
  }
  .section.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }
  .section::after {
    content: '';
    position: absolute;
    right: 28px;
    bottom: 24px;
    width: 82px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent));
    opacity: 0.55;
  }

  /* ── HERO (cover) ── */
  #cover {
    background: linear-gradient(135deg, #0D1820 0%, #0D2338 50%, #0D1820 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(44px, 5vw, 72px);
    overflow: hidden;
  }
  .cover-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blue-light);
    margin-bottom: 24px;
  }
  .cover-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(48px, 6vw, 86px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.01em;
    color: var(--white);
    margin-bottom: 12px;
  }
  .cover-title span { color: var(--blue-light); }
  .cover-subtitle {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 48px;
  }
  .cover-stats {
    display: flex;
    gap: 48px;
    margin-bottom: 56px;
  }
  .cover-stat .num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 44px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
  }
  .cover-stat .label { font-size: 11px; color: var(--gray-400); letter-spacing: 0.06em; margin-top: 4px; }
  .cover-divs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  .div-chip {
    padding: 6px 14px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity var(--transition), transform var(--transition);
    border: 1px solid transparent;
  }
  .div-chip:hover { opacity: 0.8; transform: translateY(-1px); }
  .chip-foods { background: rgba(0,181,160,0.15); color: var(--foods); border-color: rgba(0,181,160,0.3); }
  .chip-packs { background: rgba(200,155,60,0.15); color: var(--packs); border-color: rgba(200,155,60,0.3); }
  .chip-plastics { background: rgba(212,160,0,0.15); color: var(--plastics); border-color: rgba(212,160,0,0.3); }
  .chip-logistics { background: rgba(46,170,94,0.15); color: var(--logistics); border-color: rgba(46,170,94,0.3); }
  .chip-sitalu { background: rgba(30,111,168,0.15); color: var(--blue-light); border-color: rgba(30,111,168,0.3); }
  .chip-operber { background: rgba(43,94,167,0.15); color: #6E9FD8; border-color: rgba(43,94,167,0.3); }

  /* ── GENERIC SECTION STYLES ── */
  .section-inner {
    width: 100%;
    height: 100%;
    max-width: none;
    padding: clamp(34px, 4vw, 54px) clamp(42px, 5vw, 68px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .section-eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
  }
  .section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(34px, 4vw, 58px);
    font-weight: 700;
    line-height: 1;
    color: var(--white);
    margin-bottom: 16px;
  }
  .section-lead {
    font-size: clamp(13px, 1.1vw, 15px);
    line-height: 1.5;
    color: var(--gray-200);
    max-width: 840px;
    margin-bottom: 22px;
  }
  .section-divider {
    width: 48px; height: 2px;
    background: var(--accent);
    margin-bottom: 18px;
  }

  /* ── CARDS ── */
  .cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 18px;
  }
  .card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 6px;
    padding: 18px;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
  }
  .card:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.14); transform: translateY(-2px); }
  .card-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
  }
  .card-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
  }
  .card-body { font-size: 12px; line-height: 1.45; color: var(--gray-400); }

  /* ── PRODUCT LIST ── */
  .product-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 0;
    min-height: 0;
  }
  .product-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    padding: 16px 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-left: 3px solid var(--accent);
    border-radius: 4px;
    transition: background var(--transition);
  }
  .product-item:hover { background: rgba(255,255,255,0.06); }
  .product-code {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    align-self: start;
    padding-top: 2px;
  }
  .product-name { font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 2px; }
  .product-specs {
    font-size: 11px;
    line-height: 1.45;
    color: var(--gray-400);
    overflow: hidden;
  }
  .product-specs li { list-style: none; padding-left: 0; }
  .product-specs li::before { content: '· '; color: var(--accent); opacity: 0.6; }

  /* ── STATS ROW ── */
  .stats-row { display: flex; gap: 28px; margin-bottom: 0; flex-wrap: wrap; }
  .stat-block { }
  .stat-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
  }
  .stat-label { font-size: 11px; color: var(--gray-400); letter-spacing: 0.06em; margin-top: 4px; }

  /* ── INSTALACIONES ── */
  .install-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 0; }
  .install-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 6px;
    padding: 32px;
    position: relative;
    overflow: hidden;
  }
  .install-img-overlay {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
  }
  .install-img-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
    display: block;
  }
  .install-card:hover .install-img-overlay {
    opacity: 1;
  }
  .install-card > *:not(.install-img-overlay) {
    position: relative;
    z-index: 1;
    transition: opacity 0.4s ease;
  }
  .install-card:hover > *:not(.install-img-overlay) {
    opacity: 0;
  }
  .install-location {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
  }
  .install-region { font-size: 12px; color: var(--gray-400); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
  .install-size {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--blue-light);
    line-height: 1;
  }
  .install-unit { font-size: 13px; color: var(--gray-400); margin-top: 4px; }

  /* ── DEPTOS ── */
  .deptos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 0; }
  .depto-chip {
    padding: 12px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-200);
    text-align: center;
  }

  /* ── DIVISIONES OVERVIEW ── */
  .divs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 0; }
  .div-card {
    padding: 28px 28px 24px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.06);
    cursor: pointer;
    transition: transform var(--transition), border-color var(--transition);
    position: relative;
    overflow: hidden;
  }
  .div-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--div-color);
  }
  .div-card:hover { transform: translateY(-3px); border-color: var(--div-color); }
  .div-card-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--div-color);
    margin-bottom: 8px;
  }
  .div-card-desc { font-size: 13px; line-height: 1.6; color: var(--gray-400); margin-bottom: 16px; }
  .div-card-arrow { font-size: 11px; color: var(--div-color); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }

  /* Division specific colors */
  .div-foods { background: rgba(0,181,160,0.05); --div-color: var(--foods); }
  .div-packs { background: rgba(200,155,60,0.05); --div-color: var(--packs); }
  .div-plastics { background: rgba(212,160,0,0.05); --div-color: var(--plastics); }
  .div-logistics { background: rgba(46,170,94,0.05); --div-color: var(--logistics); }
  .div-sitalu { background: rgba(30,111,168,0.05); --div-color: var(--sitalu); }
  .div-operber { background: rgba(43,94,167,0.05); --div-color: #5E8FD4; }

  /* Accent overrides per division section */
  #foods { --accent: var(--foods); }
  #packs { --accent: var(--packs); }
  #plastics { --accent: var(--plastics); }
  #logistics { --accent: var(--logistics); }
  #sitalu { --accent: var(--sitalu); }
  #operber { --accent: #5E8FD4; }

  /* ── CONTACT ── */
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 0; }
  .contact-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 6px;
    padding: 32px;
  }
  .contact-city {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
  }
  .contact-detail { font-size: 13px; line-height: 2; color: var(--gray-200); }
  .contact-detail strong { color: var(--gray-400); font-weight: 400; }

  /* ── SITALU TABLE ── */
  .lines-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 0; }
  .line-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 5px;
    padding: 20px;
  }
  .line-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
  }
  .line-items { list-style: none; }
  .line-items li { font-size: 12px; color: var(--gray-400); padding: 3px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
  .line-items li:last-child { border-bottom: none; }

  /* ── MODU table ── */
  table.modu-table { width: 100%; border-collapse: collapse; font-size: 11px; margin-bottom: 0; }
  table.modu-table th { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-400); padding: 8px 12px; border-bottom: 1px solid rgba(255,255,255,0.08); text-align: left; }
  table.modu-table td { padding: 7px 10px; border-bottom: 1px solid rgba(255,255,255,0.04); color: var(--gray-200); font-family: 'Inter', monospace; }
  table.modu-table tr:hover td { background: rgba(255,255,255,0.03); }
  .modu-section-title { font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 600; color: var(--accent); margin: 0 0 8px; letter-spacing: 0.04em; }

  .section-submenu {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: -4px 0 18px;
  }

  .section-submenu button {
    min-height: 30px;
    padding: 7px 12px;
    border: 1px solid rgba(255,255,255,0.11);
    border-radius: 4px;
    background: rgba(255,255,255,0.04);
    color: var(--gray-300, var(--gray-200));
    font: inherit;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
  }

  .section-submenu button:hover,
  .section-submenu button.active {
    background: color-mix(in srgb, var(--accent) 18%, transparent);
    border-color: color-mix(in srgb, var(--accent) 60%, rgba(255,255,255,0.18));
    color: var(--white);
  }

  .section-panel {
    display: none !important;
  }

  .section-panel.active {
    display: grid !important;
  }

  .product-item.section-panel.active,
  .cards-grid.section-panel.active,
  .lines-grid.section-panel.active,
  .modu-table.section-panel.active,
  .modu-section-title.section-panel.active {
    display: revert !important;
  }

  .product-list .product-item.section-panel.active {
    display: flex !important;
  }

  .slide-note {
    margin-top: auto;
    padding-top: 10px;
    font-size: 10px !important;
    line-height: 1.35;
  }

  /* scrollbar color accent on division sections */
  #foods .section::-webkit-scrollbar-thumb,
  #foods::-webkit-scrollbar-thumb { background: rgba(0,181,160,0.3); }

  @media (max-width: 768px) {
    .sidebar { display: none; }
    .section-inner { padding: 28px 22px; }
    .install-grid, .divs-grid, .contact-grid { grid-template-columns: 1fr; }
    .deptos-grid { grid-template-columns: repeat(2, 1fr); }
    .lines-grid { grid-template-columns: 1fr; }
    .product-list { grid-template-columns: 1fr; }
    .cover-stats { gap: 24px; }
    #cover { padding: 48px 32px; }
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
  }

/* --------------------------------------------------------------------------
   Identidad corporativa 2026
   Lienzo fluido 16:9, azul marino, superficies claras y jerarquia editorial.
   -------------------------------------------------------------------------- */

:root {
  --navy: #0D1F4E;
  --navy-mid: #1A3272;
  --electric: #2563EB;
  --soft: #EEF2FF;
  --paper: #FCFDFF;
  --ink: #16213E;
  --muted: #607099;
  --line: #D9E1F5;
  --white: #FCFDFF;
  --gray-100: #F6F8FF;
  --gray-200: #D9E1F5;
  --gray-400: #7B88A8;
  --gray-600: #607099;
  --blue-osg: var(--navy);
  --blue-light: var(--electric);
  --bg-dark: #E5EAF7;
  --bg-sidebar: var(--navy);
  --text-body: var(--ink);
  --foods: var(--electric);
  --packs: var(--navy-mid);
  --plastics: #3156A3;
  --logistics: #174A85;
  --sitalu: var(--electric);
  --operber: var(--navy-mid);
  --accent: var(--navy);
  --sidebar-w: clamp(184px, 17vw, 232px);
  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #E5EAF7;
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
}

body {
  display: grid;
  place-items: center;
}

.app {
  position: relative;
  width: min(100vw, calc(100vh * 16 / 9));
  height: min(100vh, calc(100vw * 9 / 16));
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(13, 31, 78, 0.18);
}

.sidebar {
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  height: 100%;
  background: var(--navy);
  border-right: 0;
  color: var(--paper);
}

.sidebar-logo {
  padding: clamp(18px, 2.2vw, 30px) clamp(16px, 1.8vw, 24px);
  border-bottom: 1px solid rgba(238, 242, 255, 0.14);
}

.sidebar-logo .brand,
.sidebar-logo .group-name {
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
}

.sidebar-logo .brand {
  margin-bottom: 7px;
  color: #AFC6FF;
  font-size: clamp(9px, 0.8vw, 12px);
  font-weight: 800;
  letter-spacing: 0.14em;
}

.sidebar-logo .group-name {
  color: var(--paper);
  font-size: clamp(16px, 1.55vw, 22px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.sidebar-logo .tagline {
  margin-top: 7px;
  color: #AFC6FF;
  font-size: clamp(7px, 0.66vw, 10px);
  letter-spacing: 0.08em;
}

.sidebar-nav {
  padding: clamp(8px, 1vw, 14px) 0;
}

.nav-group {
  margin-bottom: clamp(3px, 0.55vw, 8px);
}

.nav-group-label {
  padding: clamp(4px, 0.65vw, 8px) clamp(16px, 1.8vw, 24px) 3px;
  color: #8299D0;
  font-size: clamp(7px, 0.62vw, 9px);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.nav-item {
  gap: 9px;
  padding: clamp(5px, 0.62vw, 8px) clamp(16px, 1.65vw, 22px);
  border-left: 0;
  color: #B8C7E9;
  font-size: clamp(9px, 0.84vw, 12px);
  font-weight: 400;
}

.nav-item:hover {
  background: rgba(238, 242, 255, 0.08);
  color: var(--paper);
}

.nav-item.active {
  background: var(--paper);
  color: var(--navy);
  font-weight: 700;
}

.nav-item.active::after {
  content: '';
  position: absolute;
  right: 0;
  width: 3px;
  height: 58%;
  background: var(--electric);
}

.nav-dot,
.nav-item[data-section] .nav-dot {
  width: 6px;
  height: 6px;
  color: inherit !important;
  background: currentColor;
}

.sidebar-footer {
  padding: clamp(11px, 1.4vw, 18px) clamp(16px, 1.8vw, 24px);
  border-top: 1px solid rgba(238, 242, 255, 0.14);
  color: #8299D0;
  font-size: clamp(7px, 0.68vw, 10px);
}

.sidebar-footer a {
  color: #B8C7E9;
}

.main {
  min-width: 0;
  height: 100%;
  background: var(--paper);
}

.section {
  background: var(--paper);
  color: var(--ink);
  transform: translateX(18px);
}

.section.active {
  transform: translateX(0);
}

.section::before,
.section::after {
  content: '';
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  background: var(--soft);
  pointer-events: none;
}

.section::before {
  top: clamp(-88px, -8vw, -46px);
  right: clamp(-54px, -4vw, -24px);
  width: clamp(150px, 17vw, 250px);
  aspect-ratio: 1;
  opacity: 0.9;
}

.section::after {
  right: clamp(20px, 3vw, 46px);
  bottom: clamp(-42px, -3vw, -18px);
  width: clamp(64px, 7vw, 106px);
  height: auto;
  aspect-ratio: 1;
  background: transparent;
  border: 3px solid var(--soft);
  opacity: 1;
}

.section-inner {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 3.2vw, 48px) clamp(30px, 4vw, 62px);
}

#cover {
  position: absolute;
  padding: clamp(34px, 4.4vw, 68px);
  background:
    linear-gradient(90deg, rgba(13, 31, 78, 0.97), rgba(13, 31, 78, 0.9)),
    var(--navy);
}

#cover::before {
  top: -18%;
  right: -4%;
  width: 46%;
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.17) 0 4%, transparent 5%),
    linear-gradient(145deg, var(--electric), var(--navy-mid));
  opacity: 1;
  transform: rotate(-8deg);
}

#cover::after {
  right: 8%;
  bottom: -20%;
  width: 34%;
  border: 3px solid rgba(238, 242, 255, 0.16);
}

.cover-eyebrow,
.section-eyebrow {
  display: inline-flex;
  align-self: flex-start;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--navy);
  color: var(--paper) !important;
  font-size: clamp(8px, 0.72vw, 11px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
}

.cover-eyebrow {
  position: relative;
  z-index: 1;
  margin-bottom: clamp(17px, 2vw, 28px);
  background: rgba(238, 242, 255, 0.12);
  color: #DCE6FF !important;
}

.cover-title,
.section-title,
.card-title,
.install-location,
.contact-city,
.div-card-name,
.line-name,
.product-code,
.install-size,
.stat-num,
.cover-stat .num,
.modu-section-title {
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  letter-spacing: 0;
}

.cover-title {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
  color: var(--paper);
  font-size: clamp(42px, 6.2vw, 88px);
  font-weight: 800;
  line-height: 0.93;
}

.cover-title span {
  color: #7FA6FF;
}

.cover-subtitle {
  position: relative;
  z-index: 1;
  margin-bottom: clamp(26px, 3.5vw, 50px);
  color: #C8D7F7;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: clamp(12px, 1.45vw, 21px);
  font-weight: 400;
  letter-spacing: 0.1em;
}

.cover-stats,
.cover-divs {
  position: relative;
  z-index: 1;
}

.cover-stats {
  gap: clamp(20px, 3vw, 46px);
  margin-bottom: clamp(26px, 3.5vw, 52px);
}

.cover-stat .num {
  color: var(--paper);
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 800;
}

.cover-stat .label {
  max-width: 110px;
  color: #9FB3DD;
  font-size: clamp(8px, 0.75vw, 11px);
  line-height: 1.35;
}

.cover-divs {
  gap: 8px;
}

.div-chip {
  padding: 7px 13px;
  border: 1px solid rgba(238, 242, 255, 0.2);
  border-radius: 100px;
  background: rgba(238, 242, 255, 0.09) !important;
  color: #DCE6FF !important;
  font-size: clamp(8px, 0.72vw, 11px);
  font-weight: 700;
}

.div-chip:hover {
  border-color: #7FA6FF;
  background: rgba(37, 99, 235, 0.35) !important;
  opacity: 1;
}

.section-title {
  max-width: 82%;
  margin: clamp(12px, 1.5vw, 20px) 0 10px;
  color: var(--navy);
  font-size: clamp(30px, 3.8vw, 56px);
  font-weight: 800;
  line-height: 1;
}

.section-divider {
  width: clamp(42px, 5vw, 74px);
  height: 3px;
  margin-bottom: clamp(10px, 1.4vw, 18px);
  background: var(--navy) !important;
}

.section-lead {
  max-width: 72ch;
  margin-bottom: clamp(13px, 1.8vw, 24px);
  color: var(--muted);
  font-size: clamp(13px, 1.22vw, 17px);
  line-height: 1.55;
}

.section-lead strong {
  color: var(--navy) !important;
}

.cards-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(9px, 1.2vw, 16px);
  margin-bottom: clamp(12px, 1.6vw, 20px);
}

#grupo .section-lead {
  max-width: 88ch;
  margin-bottom: clamp(12px, 1.4vw, 18px);
}

#grupo .section-inner {
  padding-bottom: clamp(72px, 7vw, 90px);
}

.grupo-layout {
  display: grid;
  grid-template-columns: minmax(420px, 0.96fr) minmax(360px, 1.04fr);
  align-items: center;
  gap: clamp(22px, 3vw, 44px);
  flex: 1;
  min-height: 0;
}

.grupo-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(7px, 0.8vw, 11px);
  min-height: 0;
}

#grupo .grupo-cards .card {
  display: grid;
  grid-template-columns: minmax(125px, 0.38fr) minmax(0, 0.62fr);
  align-items: center;
  column-gap: 14px;
  padding: clamp(10px, 1vw, 14px) clamp(13px, 1.3vw, 18px);
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--soft);
}

#grupo .grupo-cards .card::before {
  display: none;
}

#grupo .grupo-cards .card-label {
  grid-column: 1;
  align-self: end;
  margin-bottom: 3px;
}

#grupo .grupo-cards .card-title {
  grid-column: 1;
  align-self: start;
  margin-bottom: 0;
}

#grupo .grupo-cards .card-body {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.grupo-media {
  position: relative;
  justify-self: center;
  width: min(100%, 52vh, 560px);
  min-width: 0;
  min-height: 0;
  max-height: min(100%, 52vh, 560px);
  aspect-ratio: 1;
  align-self: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
  box-shadow: 0 18px 38px rgba(13, 31, 78, 0.13);
}

.grupo-media img,
.section .grupo-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
}

.card,
.product-item,
.line-card {
  position: relative;
  overflow: hidden;
  border: 0;
  border-left: 3px solid var(--navy) !important;
  border-radius: 0 6px 6px 0;
  background: var(--soft);
  box-shadow: none;
}

.card {
  min-height: 0;
  padding: clamp(12px, 1.45vw, 20px) clamp(13px, 1.55vw, 22px);
}

.card::before {
  content: '+';
  display: grid;
  place-items: center;
  float: right;
  width: clamp(24px, 2.4vw, 34px);
  aspect-ratio: 1;
  margin-left: 12px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--paper);
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 400;
}

.card:hover,
.product-item:hover {
  border-color: var(--navy);
  background: #E5EBFF;
  transform: translateY(-2px);
}

.card-label {
  margin-bottom: 5px;
  color: var(--electric);
  font-size: clamp(7px, 0.68vw, 10px);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.card-title {
  margin-bottom: 6px;
  color: var(--navy);
  font-size: clamp(13px, 1.3vw, 19px);
  font-weight: 800;
}

.card-body {
  color: var(--muted);
  font-size: clamp(12px, 1.02vw, 15px);
  line-height: 1.45;
}

.stats-row {
  gap: clamp(16px, 2.6vw, 38px);
  flex-wrap: nowrap;
}

.stat-block {
  position: relative;
  min-width: clamp(88px, 9vw, 132px);
  padding-left: clamp(38px, 4vw, 58px);
}

.stat-block::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: clamp(30px, 3.2vw, 46px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--paper) 55%, transparent 57%),
    conic-gradient(var(--electric) 0 76%, var(--soft) 76% 100%);
  transform: translateY(-50%);
}

.stat-num {
  color: var(--navy);
  font-size: clamp(23px, 2.7vw, 39px);
  font-weight: 800;
}

.stat-label {
  color: var(--muted);
  font-size: clamp(7px, 0.7vw, 10px);
}

.product-list {
  gap: clamp(9px, 1.2vw, 15px);
}

.product-item {
  padding: clamp(14px, 1.6vw, 22px);
}

.product-code {
  color: var(--navy) !important;
  font-size: clamp(18px, 2vw, 29px);
  font-weight: 800;
}

.product-name {
  color: var(--navy);
  font-size: clamp(10px, 1.05vw, 14px);
  font-weight: 800;
}

.product-specs {
  color: var(--muted);
  font-size: clamp(11px, 0.98vw, 14px);
}

.product-specs li::before {
  content: '• ';
  color: var(--electric);
  opacity: 1;
}

.install-grid,
.contact-grid,
.divs-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}

.install-card,
.contact-card,
.div-card {
  min-height: 0;
  padding: clamp(18px, 2.4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(13, 31, 78, 0.07);
}

.install-card:nth-child(2),
.contact-card:nth-child(2),
.div-card:nth-child(even) {
  background: var(--soft);
  box-shadow: none;
}

.install-location,
.contact-city {
  color: var(--navy);
  font-size: clamp(18px, 2.1vw, 30px);
  font-weight: 800;
}

.install-region {
  color: var(--electric);
  font-size: clamp(8px, 0.76vw, 11px);
  font-weight: 700;
}

.install-size {
  color: var(--navy);
  font-size: clamp(36px, 4.6vw, 66px);
  font-weight: 800;
}

.install-unit,
.contact-detail {
  color: var(--muted);
  font-size: clamp(12px, 1.08vw, 15px);
  line-height: 1.65;
}

.contact-detail strong {
  color: var(--navy);
  font-weight: 700;
}

.deptos-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 13px);
}

.depto-chip {
  position: relative;
  padding: clamp(11px, 1.35vw, 18px) 12px clamp(11px, 1.35vw, 18px) clamp(36px, 3.5vw, 50px);
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  color: var(--navy);
  font-size: clamp(8px, 0.82vw, 12px);
  font-weight: 700;
  text-align: left;
}

.depto-chip::before {
  content: '';
  position: absolute;
  left: clamp(10px, 1.1vw, 15px);
  top: 50%;
  width: clamp(18px, 1.8vw, 25px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    linear-gradient(var(--paper), var(--paper)) center / 45% 2px no-repeat,
    linear-gradient(var(--paper), var(--paper)) center / 2px 45% no-repeat,
    var(--navy);
  transform: translateY(-50%);
}

.div-card {
  cursor: pointer;
  overflow: hidden;
}

.div-card::before {
  height: 3px;
  background: var(--navy);
}

.div-card:hover {
  border-color: var(--electric);
}

.div-card-name {
  color: var(--navy);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 800;
}

.div-card-desc {
  margin-bottom: clamp(9px, 1.2vw, 16px);
  color: var(--muted);
  font-size: clamp(12px, 1.06vw, 15px);
  line-height: 1.5;
}

.div-card-arrow {
  color: var(--electric);
  font-size: clamp(8px, 0.72vw, 11px);
  font-weight: 700;
}

/* Divisiones: logo a la izquierda, texto a la derecha */
.div-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
}

.div-card-logo {
  flex: 0 0 auto;
  width: clamp(80px, 9vw, 120px);
  min-height: clamp(68px, 7.5vw, 104px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: transparent;
}

.div-card-logo img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: clamp(68px, 7.5vw, 104px);
  object-fit: contain;
  display: block;
}

.div-card.div-packs {
  background: #FBF3E8;
}

.div-card.div-logistics {
  background: #EAF5EE;
}

.div-card-copy {
  flex: 1;
  min-width: 0;
}

/* Asegurar que las 4 tarjetas llenen el espacio disponible */
#divisiones .divs-grid {
  align-items: stretch;
}

#divisiones .div-card {
  height: 100%;
}

.lines-grid {
  align-items: stretch;
  gap: clamp(10px, 1.35vw, 18px);
}

.line-card {
  padding: clamp(14px, 1.6vw, 22px);
}

.line-name,
.modu-section-title {
  color: var(--navy);
  font-weight: 800;
}

.line-name {
  font-size: clamp(15px, 1.55vw, 22px);
}

.line-items li {
  border-color: var(--line);
  color: var(--muted);
  font-size: clamp(11px, 0.96vw, 14px);
}

table.modu-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  font-size: clamp(8px, 0.76vw, 11px);
}

table.modu-table th {
  border-bottom: 1px solid var(--line);
  background: var(--navy);
  color: var(--paper);
}

table.modu-table td {
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
}

table.modu-table tr:hover td {
  background: var(--soft);
}

.section-submenu {
  position: relative;
  z-index: 2;
  gap: 7px;
  margin: -2px 0 clamp(12px, 1.5vw, 18px);
}

.section-submenu button {
  min-height: 28px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--paper);
  color: var(--navy-mid);
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: clamp(7px, 0.67vw, 10px);
  font-weight: 700;
  letter-spacing: 0;
}

.section-submenu button:hover,
.section-submenu button.active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--paper);
}

.slide-note,
.section-inner > p[style] {
  color: var(--muted) !important;
}

.photo-blob,
.section img {
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .app {
    width: 100vw;
    height: 100vh;
    aspect-ratio: auto;
  }

  .sidebar {
    display: none;
  }

  .section-inner {
    padding: 24px;
  }

  .cards-grid,
  .product-list,
  .lines-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

/* Decoracion tecnica inspirada en sistemas mecanicos */
.section:not(#cover)::before,
.section:not(#cover)::after {
  content: '';
  position: absolute;
  z-index: 0;
  display: block;
  pointer-events: none;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-image: url('../assets/technical-overlay.png');
  background-repeat: no-repeat;
  filter: none;
  mix-blend-mode: normal;
}

.section:not(#cover)::before {
  left: -7%;
  bottom: -14%;
  width: clamp(420px, 48vw, 690px);
  height: clamp(280px, 34vw, 460px);
  background-position: left bottom;
  background-size: contain;
  opacity: 0.105;
}

.section:not(#cover)::after {
  top: -7%;
  right: -10%;
  width: clamp(370px, 44vw, 620px);
  height: clamp(180px, 24vw, 330px);
  background-position: right top;
  background-size: cover;
  opacity: 0.055;
  transform: scaleX(-1);
}

.section:nth-of-type(even):not(#cover)::before {
  left: auto;
  right: -8%;
  transform: scaleX(-1);
}

.section:nth-of-type(even):not(#cover)::after {
  right: auto;
  left: -10%;
  transform: none;
}

.section-inner,
.business-panel,
.catalog-product,
.product-detail {
  isolation: isolate;
}

.business-panel::after,
.catalog-product::after {
  border-radius: 0;
  background:
    url('../assets/technical-overlay.png') right bottom / 230px auto no-repeat;
  filter: none;
  opacity: 0.09;
  transform: none;
}

.business-panel:hover::after,
.business-panel:focus-visible::after,
.catalog-product:hover::after,
.catalog-product:focus-visible::after {
  opacity: 0.15;
  transform: translate3d(-5px, -3px, 0) scale(1.04);
}

.stat-block::before,
.depto-chip::before {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--navy) 18%, transparent);
}

@media (max-width: 768px) {
  .section:not(#cover)::before {
    left: -18%;
    bottom: -8%;
    width: 62vw;
    opacity: 0.075;
  }

  .section:not(#cover)::after {
    right: -22%;
    width: 58vw;
    opacity: 0.04;
  }
}

/* Portada audiovisual */
#cover {
  align-items: center;
  justify-content: center;
  padding: clamp(42px, 5vw, 72px);
  background: var(--navy);
  text-align: center;
}

#cover::before,
#cover::after {
  display: none;
}

.cover-video,
.cover-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cover-video {
  z-index: 0;
  border-radius: 0;
  object-fit: cover;
  opacity: 0.34;
}

.cover-shade {
  z-index: 1;
  background: rgba(5, 16, 45, 0.62);
}

#cover > :not(.cover-video):not(.cover-shade) {
  position: relative;
  z-index: 2;
}

#cover .cover-eyebrow {
  align-self: center;
  margin-bottom: clamp(20px, 2.4vw, 34px);
}

.cover-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(56vw, 650px);
  margin: 0 auto clamp(17px, 2vw, 28px);
}

.cover-logo img,
#cover .cover-logo img {
  display: block;
  width: 100%;
  height: clamp(120px, 15vw, 210px);
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.24));
}

#cover .cover-subtitle {
  margin-bottom: clamp(26px, 3vw, 42px);
  color: var(--paper);
  font-size: clamp(22px, 2.6vw, 38px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: none;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

#cover .cover-stats {
  justify-content: center;
  gap: clamp(25px, 4vw, 58px);
  margin-bottom: clamp(22px, 2.8vw, 38px);
  text-align: center;
}

#cover .cover-stat {
  min-width: 105px;
}

#cover .cover-stat .label {
  max-width: 130px;
  margin-inline: auto;
}

#cover .cover-divs {
  justify-content: center;
}

/* ── DEPARTAMENTOS ── */
.deptos-video,
.deptos-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.deptos-video {
  z-index: 0;
  object-fit: cover;
  opacity: 0.30;
}

.deptos-shade {
  z-index: 1;
  background: rgba(5, 16, 45, 0.65);
}

#departamentos > :not(.deptos-video):not(.deptos-shade) {
  position: relative;
  z-index: 2;
}

.deptos-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

#departamentos .section-title,
#departamentos .section-eyebrow,
#departamentos .section-lead,
#departamentos .section-divider {
  color: var(--white) !important;
}

.deptos-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 clamp(10px, 1.2vw, 16px);
  line-height: 1;
}

.deptos-lead {
  font-size: clamp(13px, 1.1vw, 16px);
  color: rgba(220, 232, 255, 0.82);
  max-width: 620px;
  margin-bottom: clamp(22px, 2.8vw, 38px);
  line-height: 1.55;
}

.deptos-grid-full {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(8px, 0.9vw, 13px);
}

.depto-item {
  padding: clamp(12px, 1.4vw, 18px) clamp(14px, 1.6vw, 22px);
  border: 1px solid rgba(100, 160, 255, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  color: var(--paper);
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.18s, border-color 0.18s;
}

.depto-item:hover {
  background: rgba(100, 160, 255, 0.14);
  border-color: rgba(100, 160, 255, 0.45);
}

/* Navegacion inferior por puntos */
.app {
  display: block;
}

.main {
  position: absolute;
  inset: 0;
  width: 100%;
}

.sidebar {
  position: absolute;
  z-index: 50;
  left: 50%;
  bottom: clamp(12px, 1.6vw, 22px);
  width: auto;
  min-width: 0;
  height: auto;
  padding: 7px 10px;
  border: 1px solid rgba(13, 31, 78, 0.12);
  border-radius: 100px;
  background: rgba(252, 253, 255, 0.96);
  box-shadow: 0 10px 30px rgba(13, 31, 78, 0.16);
  color: var(--navy);
  transform: translateX(-50%);
}

.sidebar-logo,
.sidebar-footer,
.nav-group-label {
  display: none;
}

.sidebar-nav {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.3vw, 5px);
  overflow: visible;
  padding: 0;
}

.nav-group {
  display: contents;
  margin: 0;
}

.nav-item {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(24px, 2.25vw, 32px);
  height: clamp(24px, 2.25vw, 32px);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: transparent;
  font-size: 0;
  cursor: pointer;
  outline: none;
}

.nav-item:hover,
.nav-item:focus-visible {
  background: var(--soft);
  color: transparent;
}

.nav-item.active {
  background: var(--soft);
  color: transparent;
}

.nav-item.active::after {
  display: none;
}

.nav-dot,
.nav-item[data-section] .nav-dot {
  width: clamp(7px, 0.72vw, 10px);
  height: clamp(7px, 0.72vw, 10px);
  border: 0;
  border-radius: 50%;
  background: #9AA9CC;
  color: transparent !important;
  opacity: 1;
  transform: none;
  transition:
    width var(--transition),
    height var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

.nav-item:hover .nav-dot,
.nav-item:focus-visible .nav-dot {
  background: var(--electric);
}

.nav-item.active .nav-dot {
  width: clamp(11px, 1vw, 14px);
  height: clamp(11px, 1vw, 14px);
  background: var(--navy);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
  transform: none;
}

.nav-item::before {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  width: max-content;
  max-width: 190px;
  padding: 7px 10px;
  border-radius: 5px;
  background: var(--navy);
  box-shadow: 0 8px 20px rgba(13, 31, 78, 0.22);
  color: var(--paper);
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: clamp(8px, 0.72vw, 11px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 5px);
  transition: opacity var(--transition), transform var(--transition);
}

.nav-item:hover::before,
.nav-item:focus-visible::before {
  opacity: 1;
  transform: translate(-50%, 0);
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
  flex: 1;
  min-height: 0;
}

.business-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  height: min(100%, 340px);
  padding: clamp(24px, 3vw, 44px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 14px 36px rgba(13, 31, 78, 0.09);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  text-align: left;
  cursor: pointer;
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.business-panel::after {
  content: '';
  position: absolute;
  right: clamp(-38px, -3vw, -18px);
  bottom: clamp(-52px, -4vw, -26px);
  width: clamp(130px, 15vw, 220px);
  aspect-ratio: 1;
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  background: var(--soft);
  transform: rotate(-12deg);
  transition: transform var(--transition), background var(--transition);
}

.business-operber {
  background: var(--navy);
  color: var(--paper);
}

.business-operber::after {
  background: rgba(238, 242, 255, 0.1);
}

.business-panel:hover,
.business-panel:focus-visible {
  border-color: var(--electric);
  box-shadow: 0 20px 44px rgba(13, 31, 78, 0.16);
  outline: none;
  transform: translateY(-4px);
}

.business-panel:hover::after,
.business-panel:focus-visible::after {
  transform: rotate(-4deg) scale(1.06);
}

.business-index,
.business-name,
.business-description,
.business-link {
  position: relative;
  z-index: 1;
}

.business-index {
  display: grid;
  place-items: center;
  width: clamp(34px, 3.5vw, 50px);
  aspect-ratio: 1;
  margin-bottom: clamp(17px, 2vw, 28px);
  border-radius: 50%;
  background: var(--navy);
  color: var(--paper);
  font-size: clamp(9px, 0.85vw, 12px);
  font-weight: 800;
}

.business-operber .business-index {
  background: var(--paper);
  color: var(--navy);
}

.business-name {
  margin-bottom: clamp(10px, 1.2vw, 16px);
  color: var(--navy);
  font-size: clamp(27px, 3.4vw, 48px);
  font-weight: 800;
  line-height: 1;
}

.business-operber .business-name {
  color: var(--paper);
}

.business-logo {
  display: flex;
  align-items: center;
  width: min(94%, 430px);
  min-height: clamp(72px, 7.5vw, 108px);
  margin-bottom: clamp(18px, 2vw, 28px);
}

.business-logo img,
.section .business-logo img {
  display: block;
  width: 100%;
  height: clamp(72px, 7.5vw, 108px);
  border-radius: 0;
  object-fit: contain;
  object-position: left center;
}

.business-description {
  max-width: 46ch;
  margin-bottom: clamp(18px, 2.2vw, 30px);
  color: var(--muted);
  font-size: clamp(13px, 1.16vw, 16px);
  line-height: 1.55;
}

.business-operber .business-description {
  color: #B8C7E9;
}

.business-link {
  color: var(--electric);
  font-size: clamp(9px, 0.82vw, 12px);
  font-weight: 800;
}

.business-operber .business-link {
  color: #AFC6FF;
}

@media (max-width: 768px) {
  .sidebar {
    display: block;
    bottom: 10px;
    max-width: calc(100vw - 20px);
    padding: 5px 7px;
  }

  .sidebar-nav {
    gap: 0;
  }

  .nav-item {
    width: clamp(22px, 7vw, 29px);
    height: clamp(22px, 7vw, 29px);
  }

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

/* --------------------------------------------------------------------------
   Division identity and full-screen presentation
   -------------------------------------------------------------------------- */

:root {
  --foods: #01b6a3;
  --logistics: #139739;
  --plastics: #fdd21b;
  --packs: #a07235;
  --operber: #005ca9;
  --sitalu: #b2b2b2;
  --division-ink: #071015;
}

body {
  display: block;
  background: var(--paper);
}

.app {
  width: 100vw;
  height: 100vh;
  aspect-ratio: auto;
  box-shadow: none;
}

.section {
  --division-color: var(--navy);
}

#foods { --accent: var(--foods); --division-color: var(--foods); background: #EAF6F4; }
#logistics { --accent: var(--logistics); --division-color: var(--logistics); background: #EAF5EE; }
#plastics { --accent: var(--plastics); --division-color: var(--plastics); background: #FBF7E4; }
#packs { --accent: var(--packs); --division-color: var(--packs); background: #FBF3E8; }
#operber { --accent: var(--operber); --division-color: var(--operber); }
#sitalu { --accent: var(--sitalu); --division-color: var(--sitalu); }

#sitalu .section-inner {
  z-index: 1;
}

.sitalu-partner-logos {
  display: none;
}

.division-catalog-partner-logos {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 20px);
}

.division-catalog-partner-logos img {
  display: block;
  height: clamp(18px, 2vw, 28px);
  width: auto;
  border-radius: 0;
  object-fit: contain;
}

#sitalu .sitalu-partner-logos img {
  display: block;
  width: auto;
  max-width: none;
  border-radius: 0;
  object-fit: contain;
}

#sitalu .sitalu-alusic-logo {
  height: clamp(18px, 2vw, 28px);
}

#sitalu .sitalu-modu-logo {
  height: clamp(16px, 1.8vw, 24px);
}

#sitalu .sitalu-goldpartner-logo {
  height: clamp(20px, 2.2vw, 32px);
}

@media (max-width: 720px) {
  .sitalu-partner-logos {
    position: static;
    justify-content: flex-end;
    margin-bottom: 10px;
  }

  #sitalu .sitalu-alusic-logo {
    height: 18px;
  }

  #sitalu .sitalu-modu-logo {
    height: 16px;
  }

  #sitalu .sitalu-goldpartner-logo {
    height: 20px;
  }
}

#sitalu::before,
#sitalu::after,
.main .section#sitalu::before,
.main .section#sitalu::after {
  display: none !important;
  content: none !important;
}

#foods::before,
#logistics::before,
#plastics::before,
#packs::before,
#operber::before,
#sitalu::before {
  background: color-mix(in srgb, var(--division-color) 18%, var(--paper));
}

#foods::after,
#logistics::after,
#plastics::after,
#packs::after,
#operber::after,
#sitalu::after {
  border-color: color-mix(in srgb, var(--division-color) 28%, var(--paper));
}

#foods .section-eyebrow,
#logistics .section-eyebrow,
#plastics .section-eyebrow,
#packs .section-eyebrow,
#operber .section-eyebrow,
#sitalu .section-eyebrow {
  background: var(--division-color);
  color: var(--division-ink) !important;
}

#foods .section-divider,
#logistics .section-divider,
#plastics .section-divider,
#packs .section-divider,
#operber .section-divider,
#sitalu .section-divider {
  background: var(--division-color) !important;
}

#foods .product-item,
#logistics .product-item,
#plastics .product-item,
#packs .product-item,
#operber .product-item,
#sitalu .card,
#sitalu .line-card {
  border-left-color: var(--division-color) !important;
  background: color-mix(in srgb, var(--division-color) 12%, var(--paper));
}

#foods .product-code,
#logistics .product-code,
#plastics .product-code,
#packs .product-code,
#operber .product-code,
#sitalu .card-label,
#sitalu .line-name,
#sitalu .modu-section-title {
  color: var(--division-ink) !important;
}

#foods .product-specs li::before,
#logistics .product-specs li::before,
#plastics .product-specs li::before,
#packs .product-specs li::before,
#operber .product-specs li::before {
  color: var(--division-ink);
}

#foods .section-submenu button:hover,
#foods .section-submenu button.active,
#logistics .section-submenu button:hover,
#logistics .section-submenu button.active,
#plastics .section-submenu button:hover,
#plastics .section-submenu button.active,
#packs .section-submenu button:hover,
#packs .section-submenu button.active,
#operber .section-submenu button:hover,
#operber .section-submenu button.active,
#sitalu .section-submenu button:hover,
#sitalu .section-submenu button.active {
  border-color: var(--division-color);
  background: var(--division-color);
  color: var(--division-ink);
}

.chip-foods,
.chip-logistics,
.chip-plastics,
.chip-packs,
.chip-operber,
.chip-sitalu {
  color: var(--division-ink) !important;
}

.chip-foods { background: var(--foods) !important; border-color: var(--foods); }
.chip-logistics { background: var(--logistics) !important; border-color: var(--logistics); }
.chip-plastics { background: var(--plastics) !important; border-color: var(--plastics); }
.chip-packs { background: var(--packs) !important; border-color: var(--packs); }
.chip-operber { background: var(--operber) !important; border-color: var(--operber); }
.chip-sitalu { background: var(--sitalu) !important; border-color: var(--sitalu); }

.div-foods { --div-color: var(--foods); background: color-mix(in srgb, var(--foods) 13%, var(--paper)); }
.div-logistics { --div-color: var(--logistics); background: color-mix(in srgb, var(--logistics) 13%, var(--paper)); }
.div-plastics { --div-color: var(--plastics); background: color-mix(in srgb, var(--plastics) 16%, var(--paper)); }
.div-packs { --div-color: var(--packs); background: color-mix(in srgb, var(--packs) 13%, var(--paper)); }
.div-operber { --div-color: var(--operber); background: color-mix(in srgb, var(--operber) 13%, var(--paper)); }
.div-sitalu { --div-color: var(--sitalu); background: color-mix(in srgb, var(--sitalu) 20%, var(--paper)); }

.div-card::before {
  background: var(--div-color);
}

.div-card-name,
.div-card-arrow {
  color: var(--division-ink);
}

.business-sitalu {
  border-color: color-mix(in srgb, var(--sitalu) 42%, var(--line));
  background: var(--paper);
  color: var(--ink);
}

.business-operber {
  border-color: color-mix(in srgb, var(--operber) 42%, var(--line));
  background: var(--paper);
  color: var(--ink);
}

.business-sitalu::before,
.business-operber::before {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 5px;
  background: var(--sitalu);
}

.business-operber::before {
  background: var(--operber);
}

.business-sitalu::after {
  background: color-mix(in srgb, var(--sitalu) 13%, transparent);
}

.business-operber::after {
  background: color-mix(in srgb, var(--operber) 13%, transparent);
}

.business-sitalu .business-description,
.business-operber .business-description {
  color: var(--muted);
}

.business-sitalu .business-link {
  color: color-mix(in srgb, var(--sitalu) 72%, var(--navy));
}

.business-operber .business-link {
  color: color-mix(in srgb, var(--operber) 78%, var(--navy));
}

.nav-item[data-section="foods"] .nav-dot { background: var(--foods); }
.nav-item[data-section="logistics"] .nav-dot { background: var(--logistics); }
.nav-item[data-section="plastics"] .nav-dot { background: var(--plastics); }
.nav-item[data-section="packs"] .nav-dot { background: var(--packs); }
.nav-item[data-section="operber"] .nav-dot { background: var(--operber); }
.nav-item[data-section="sitalu"] .nav-dot { background: var(--sitalu); }

.nav-item[data-section="foods"].active .nav-dot,
.nav-item[data-section="logistics"].active .nav-dot,
.nav-item[data-section="plastics"].active .nav-dot,
.nav-item[data-section="packs"].active .nav-dot,
.nav-item[data-section="operber"].active .nav-dot,
.nav-item[data-section="sitalu"].active .nav-dot {
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent);
}

/* Typography and solid-color contrast */
html,
body,
body *,
body *::before,
body *::after {
  font-family: 'Poppins', Arial, sans-serif !important;
}

.chip-foods,
.chip-logistics,
.chip-packs,
.chip-operber,
.chip-sitalu,
#foods .section-eyebrow,
#logistics .section-eyebrow,
#packs .section-eyebrow,
#operber .section-eyebrow,
#sitalu .section-eyebrow,
#foods .section-submenu button:hover,
#foods .section-submenu button.active,
#logistics .section-submenu button:hover,
#logistics .section-submenu button.active,
#packs .section-submenu button:hover,
#packs .section-submenu button.active,
#operber .section-submenu button:hover,
#operber .section-submenu button.active,
#sitalu .section-submenu button:hover,
#sitalu .section-submenu button.active {
  color: #fcfdff !important;
}

.chip-plastics,
#plastics .section-eyebrow,
#plastics .section-submenu button:hover,
#plastics .section-submenu button.active {
  color: var(--division-ink) !important;
}

/* Sliding cursor for the bottom navigation */
.sidebar-nav {
  position: relative;
  isolation: isolate;
}

.nav-cursor {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-radius: 999px;
  background: var(--division-ink);
  opacity: 0;
  pointer-events: none;
  will-change: transform, width, height, opacity;
  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.16s ease-out;
}

.nav-item {
  z-index: 1;
}

.nav-item.cursor-target {
  background: transparent;
}

.nav-item.cursor-target .nav-dot,
.nav-item[data-section].cursor-target .nav-dot {
  background: var(--paper);
  box-shadow: none;
  transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .nav-cursor {
    transition: opacity 0.01s linear;
  }
}

/* macOS-inspired navigation dock */
.sidebar {
  bottom: clamp(10px, 1.5vw, 20px);
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.dock-trigger {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  background: rgba(224, 232, 244, 0.46);
  box-shadow:
    0 12px 30px rgba(13, 31, 78, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(13, 31, 78, 0.08);
  color: var(--navy);
  cursor: pointer;
  backdrop-filter: blur(18px) saturate(165%);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  transition:
    opacity 0.18s ease-out,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dock-trigger span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.sidebar-nav {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0;
  align-items: flex-end;
  gap: 5px;
  width: max-content;
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 15px;
  background: rgba(222, 231, 244, 0.48);
  box-shadow:
    0 18px 45px rgba(13, 31, 78, 0.2),
    0 2px 8px rgba(13, 31, 78, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(13, 31, 78, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px) scale(0.82);
  transform-origin: 50% 100%;
  backdrop-filter: blur(22px) saturate(165%);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  transition:
    opacity 0.2s ease-out,
    transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar:hover .sidebar-nav,
.sidebar:focus-within .sidebar-nav,
.sidebar.dock-open .sidebar-nav {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.sidebar:hover .dock-trigger,
.sidebar:focus-within .dock-trigger,
.sidebar.dock-open .dock-trigger {
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px) scale(0.78);
}

.nav-group {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  margin: 0;
}

.nav-group + .nav-group {
  margin-left: 3px;
  padding-left: 8px;
}

.nav-group + .nav-group::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 1px;
  height: 27px;
  background: rgba(13, 31, 78, 0.16);
}

.nav-item {
  z-index: 1;
  display: block;
  width: clamp(30px, 2.65vw, 40px);
  height: clamp(30px, 2.65vw, 40px);
  overflow: visible;
  border-radius: 10px;
  transform-origin: 50% 100%;
  transition:
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.nav-item:hover,
.nav-item:focus-visible,
.nav-item.active,
.nav-item.cursor-target {
  background: transparent;
}

.nav-item:hover,
.nav-item:focus-visible {
  z-index: 5;
  transform: translateY(-7px) scale(1.4);
}

.nav-item:has(+ .nav-item:hover),
.nav-item:has(+ .nav-item:focus-visible),
.nav-item:hover + .nav-item,
.nav-item:focus-visible + .nav-item {
  transform: translateY(-2px) scale(1.08);
}

.nav-icon {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(13, 31, 78, 0.11);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(223, 231, 243, 0.95));
  box-shadow:
    0 5px 12px rgba(13, 31, 78, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  color: var(--navy);
}

.nav-icon svg {
  width: 54%;
  height: 54%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-item-logo .nav-icon {
  padding: 0;
  background: rgba(252, 253, 255, 0.98);
}

.nav-item-logo .nav-icon img {
  display: block;
  width: auto;
  height: auto;
  max-width: 84%;
  max-height: 84%;
  object-fit: contain;
  object-position: center;
}

.nav-item[data-section="foods"] .nav-icon img,
.nav-item[data-section="packs"] .nav-icon img,
.nav-item[data-section="plastics"] .nav-icon img,
.nav-item[data-section="logistics"] .nav-icon img {
  width: auto;
  height: auto;
  max-width: 74%;
  max-height: 74%;
}

.nav-item[data-section="foods"] .nav-icon {
  background: color-mix(in srgb, var(--foods) 16%, var(--paper));
}

.nav-item[data-section="packs"] .nav-icon {
  background: color-mix(in srgb, var(--packs) 16%, var(--paper));
}

.nav-item[data-section="plastics"] .nav-icon {
  background: color-mix(in srgb, var(--plastics) 20%, var(--paper));
}

.nav-item[data-section="logistics"] .nav-icon {
  background: color-mix(in srgb, var(--logistics) 16%, var(--paper));
}

.nav-item[data-section="sitalu"] .nav-icon {
  background: color-mix(in srgb, var(--sitalu) 18%, var(--paper));
}

.nav-item[data-section="operber"] .nav-icon {
  background: color-mix(in srgb, var(--operber) 14%, var(--paper));
}

.nav-text,
.nav-dot,
.nav-cursor {
  display: none !important;
}

.nav-item::before {
  bottom: calc(100% + 15px);
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  background: rgba(13, 31, 78, 0.94);
  box-shadow: 0 8px 22px rgba(13, 31, 78, 0.24);
  color: var(--paper);
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transform: translate(-50%, 6px) scale(0.78);
  transform-origin: 50% 100%;
  transition:
    opacity 0.18s ease-out,
    transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item:hover::before,
.nav-item:focus-visible::before {
  opacity: 1;
  transform: translate(-50%, 0) scale(0.78);
}

.nav-item::after,
.nav-item.active::after {
  display: none;
  content: none;
}

@media (max-width: 900px) {
  .sidebar {
    width: 42px;
    height: 42px;
    max-width: none;
    padding: 0;
  }

  .dock-trigger {
    width: 42px;
    height: 42px;
  }

  .sidebar-nav {
    max-width: calc(100vw - 30px);
    gap: 4px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 7px;
    scrollbar-width: none;
  }

  .sidebar-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-group {
    flex: 0 0 auto;
    gap: 4px;
  }

  .nav-group + .nav-group {
    margin-left: 2px;
    padding-left: 8px;
  }

  .nav-item {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dock-trigger,
  .sidebar-nav,
  .nav-item,
  .nav-item::before,
  .nav-item::after {
    transition-duration: 0.01ms !important;
  }

  .nav-item:hover,
  .nav-item:focus-visible,
  .nav-item:has(+ .nav-item:hover),
  .nav-item:has(+ .nav-item:focus-visible),
  .nav-item:hover + .nav-item,
  .nav-item:focus-visible + .nav-item {
    transform: none;
  }
}

/* Division catalogs and individual product pages */
.division-catalog-enabled .catalog-source-content,
.division-catalog-enabled > .section-inner > .section-submenu {
  display: none !important;
}

.division-catalog,
.product-detail,
.sitalu-modu-page,
.sitalu-alusic-page,
.sitalu-video-page {
  display: none;
  min-height: 0;
}

.division-catalog.active,
.product-detail.active,
.sitalu-modu-page.active,
.sitalu-alusic-page.active,
.sitalu-video-page.active {
  display: flex;
}

/* ── SITALU ALUSIC PAGE ── */
.sitalu-alusic-page {
  flex: 1;
  flex-direction: column;
  gap: clamp(10px, 1.4vw, 18px);
  min-height: 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.sitalu-alusic-lines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
  min-height: 0;
}

.sitalu-alusic-line {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
}

.sitalu-alusic-line img {
  width: 100%;
  height: clamp(55px, 8vh, 90px);
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.sitalu-alusic-line-copy {
  padding: clamp(8px, 0.9vw, 12px);
  flex: 1;
}

.sitalu-alusic-line-copy h3 {
  color: var(--navy);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(15px, 1.5vw, 22px);
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}

.sitalu-alusic-line-copy ul {
  margin: 0;
  padding: 0 0 0 14px;
  color: var(--muted);
  font-size: clamp(10px, 0.85vw, 13px);
  line-height: 1.65;
}

/* Alusic catalog card */
.sitalu-alusic-card {
  min-height: clamp(92px, 12vh, 132px);
  background: color-mix(in srgb, #b8860b 7%, var(--paper));
}

#sitalu .sitalu-alusic-card img {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 18px;
  width: clamp(88px, 8vw, 126px);
  height: auto;
  max-width: 36%;
  border-radius: 0;
  object-fit: contain;
  opacity: 0.85;
  transform: translateY(-50%);
}


.sitalu-modu-card {
  min-height: clamp(92px, 12vh, 132px);
  background: color-mix(in srgb, #098bc8 7%, var(--paper));
}

#sitalu .sitalu-modu-card img {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 18px;
  width: clamp(88px, 8vw, 126px);
  height: auto;
  max-width: 36%;
  border-radius: 0;
  object-fit: contain;
  opacity: 0.85;
  transform: translateY(-50%);
}

.sitalu-modu-page {
  flex: 1;
  flex-direction: column;
  gap: clamp(12px, 1.6vw, 22px);
  min-height: 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.sitalu-modu-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#sitalu .sitalu-modu-topbar img {
  width: clamp(100px, 11vw, 172px);
  height: clamp(36px, 4vw, 58px);
  border-radius: 0;
  object-fit: contain;
}

.sitalu-modu-intro {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(240px, 1.2fr);
  align-items: start;
  gap: clamp(16px, 2.5vw, 36px);
}

.sitalu-modu-intro h2 {
  margin-top: 10px;
  color: var(--navy);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 800;
  line-height: 0.85;
}

.sitalu-modu-intro p {
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(13px, 1.2vw, 17px);
  line-height: 1.55;
}

.sitalu-modu-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.sitalu-modu-features article {
  display: grid;
  gap: 5px;
  padding: clamp(10px, 1.1vw, 14px);
  border: 1px solid color-mix(in srgb, #098bc8 22%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, #098bc8 6%, var(--paper));
}

.sitalu-modu-features strong {
  color: var(--navy);
  font-size: clamp(12px, 1vw, 15px);
}

.sitalu-modu-features span {
  color: var(--muted);
  font-size: clamp(10px, 0.85vw, 13px);
  line-height: 1.45;
}

.sitalu-modu-tables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 20px);
  min-height: 0;
  overflow: hidden;
  flex: 1;
}

.sitalu-modu-tables section {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.sitalu-modu-tables h3 {
  padding: 8px 14px;
  background: color-mix(in srgb, #098bc8 10%, var(--paper));
  color: var(--navy);
  font-size: clamp(11px, 1vw, 14px);
}

.sitalu-modu-tables table {
  width: 100%;
  border-collapse: collapse;
}

.sitalu-modu-tables th,
.sitalu-modu-tables td {
  padding: clamp(5px, 0.55vw, 9px) 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(9px, 0.78vw, 12px);
  text-align: left;
}

.sitalu-modu-tables th {
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .sitalu-modu-intro,
  .sitalu-modu-tables {
    grid-template-columns: 1fr;
  }

  .sitalu-modu-features {
    grid-template-columns: 1fr;
  }

  .sitalu-modu-page {
    overflow-y: auto;
  }
}

.sitalu-video-page {
  position: fixed;
  z-index: 20;
  inset: 0;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  background: #11151c;
}

.sitalu-video-player {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #11151c;
  box-shadow: none;
}

.sitalu-video-player video {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  border-radius: 0;
  background: #11151c;
  object-fit: contain;
  cursor: pointer;
}

.sitalu-video-nav {
  position: fixed;
  z-index: 72;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  height: clamp(38px, 3.8vw, 52px);
  padding: 0 clamp(14px, 1.6vw, 22px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(226, 233, 243, 0.2);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  color: #f7f9fc;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition:
    background 0.2s ease-out,
    transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.sitalu-video-prev {
  left: clamp(14px, 2.2vw, 34px);
}

.sitalu-video-next {
  right: clamp(14px, 2.2vw, 34px);
}

.sitalu-video-nav:hover,
.sitalu-video-nav:focus-visible {
  background: rgba(226, 233, 243, 0.34);
  outline: none;
  transform: translateY(-50%) scale(1.04);
}

.sitalu-video-nav svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sitalu-video-nav-label {
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.sitalu-video-controls {
  position: fixed;
  z-index: 70;
  right: clamp(12px, 2vw, 28px);
  bottom: clamp(72px, 8vh, 92px);
  left: clamp(12px, 2vw, 28px);
  width: min(720px, calc(100vw - 24px));
  max-width: none;
  margin-inline: auto;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  background: rgba(226, 233, 243, 0.2);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
  color: #f7f9fc;
  opacity: 0;
  transform: translateY(12px);
  backdrop-filter: blur(22px) saturate(155%);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
  transition:
    opacity 0.24s ease-out,
    transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.sitalu-video-player:hover .sitalu-video-controls,
.sitalu-video-player:focus-within .sitalu-video-controls {
  opacity: 1;
  transform: translateY(0);
}

.video-timeline,
.video-actions,
.video-actions-group,
.video-speed-group {
  display: flex;
  align-items: center;
}

.video-timeline {
  gap: 10px;
  margin-bottom: 9px;
  font-size: 10px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.video-actions {
  justify-content: space-between;
  gap: 14px;
}

.video-actions-group {
  gap: 8px;
}

.video-speed-group {
  gap: 3px;
}

.video-control,
.video-speed {
  display: grid;
  min-width: 32px;
  height: 32px;
  place-items: center;
  padding: 0 7px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.18s ease-out,
    transform 0.18s ease-out;
}

.video-control:hover,
.video-control:focus-visible,
.video-speed:hover,
.video-speed:focus-visible,
.video-speed.active {
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.video-control:active,
.video-speed:active {
  transform: scale(0.92);
}

.video-control svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.video-icon-pause,
.video-play[data-playing="true"] .video-icon-play {
  display: none;
}

.video-play[data-playing="true"] .video-icon-pause {
  display: block;
}

.video-volume-range {
  width: 76px;
}

.video-progress,
.video-volume-range {
  height: 4px;
  margin: 0;
  accent-color: #f7f9fc;
  cursor: pointer;
}

.video-progress {
  flex: 1;
  min-width: 80px;
}

@media (max-width: 680px) {
  .sitalu-video-nav {
    height: 38px;
    padding: 0 12px;
  }
  .sitalu-video-nav-label {
    display: none;
  }

  .sitalu-video-prev {
    left: 9px;
  }

  .sitalu-video-next {
    right: 9px;
  }

  .sitalu-video-controls {
    bottom: 66px;
    padding: 10px;
    opacity: 1;
    transform: none;
  }

  .video-volume-range {
    display: none;
  }

  .video-speed-group {
    gap: 0;
  }

  .video-speed {
    min-width: 28px;
    padding-inline: 4px;
  }
}

.division-catalog {
  flex: 1;
  flex-direction: column;
  gap: clamp(10px, 1.3vw, 18px);
}

.division-catalog-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding-bottom: clamp(8px, 1vw, 13px);
  border-bottom: 1px solid color-mix(in srgb, var(--division-color) 28%, var(--line));
  color: var(--muted);
  font-size: clamp(8px, 0.76vw, 11px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.division-catalog-header strong {
  color: var(--division-color);
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 800;
  line-height: 0.8;
}

.division-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(8px, 0.9vw, 13px);
  min-height: 0;
}

#sitalu .division-catalog-grid {
  grid-template-columns: minmax(250px, 420px);
  align-content: start;
  justify-content: start;
  width: 100%;
}

#sitalu .catalog-product {
  width: 100%;
}

#sitalu .catalog-product::before {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 13, 27, 0.78), rgba(5, 13, 27, 0.22));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease-out;
}

.catalog-product-hover-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  border-radius: 6px !important;
  object-fit: cover;
  object-position: left center;
  opacity: 0;
  pointer-events: none;
  transform: none;
  transition: opacity 0.3s ease-out;
}

#sitalu .catalog-product:hover .catalog-product-hover-image,
#sitalu .catalog-product:focus-visible .catalog-product-hover-image,
#sitalu .catalog-product:hover::before,
#sitalu .catalog-product:focus-visible::before {
  opacity: 1;
}

#sitalu .catalog-product:hover .catalog-product-hover-image,
#sitalu .catalog-product:focus-visible .catalog-product-hover-image {
  transform: none;
}

#sitalu .catalog-product:hover .catalog-product-name,
#sitalu .catalog-product:hover .catalog-product-action,
#sitalu .catalog-product:focus-visible .catalog-product-name,
#sitalu .catalog-product:focus-visible .catalog-product-action {
  color: #f7f9fc;
}

#sitalu .catalog-product:hover,
#sitalu .catalog-product:focus-visible {
  border-color: color-mix(in srgb, var(--sitalu) 70%, #f7f9fc);
  background: #e8edf4;
}

/* Hover por línea */
#sitalu .catalog-product[data-product-code="AC"]:hover,
#sitalu .catalog-product[data-product-code="AC"]:focus-visible {
  border-color: #1E6FA8;
  background: color-mix(in srgb, #1E6FA8 14%, var(--paper));
}

#sitalu .catalog-product[data-product-code="BH"]:hover,
#sitalu .catalog-product[data-product-code="BH"]:focus-visible {
  border-color: #2EAA5E;
  background: color-mix(in srgb, #2EAA5E 14%, var(--paper));
}

#sitalu .catalog-product[data-product-code="IM"]:hover,
#sitalu .catalog-product[data-product-code="IM"]:focus-visible {
  border-color: #C89B3C;
  background: color-mix(in srgb, #C89B3C 14%, var(--paper));
}

#sitalu .sitalu-modu-card:hover,
#sitalu .sitalu-modu-card:focus-visible {
  border-color: #098bc8;
  background: color-mix(in srgb, #098bc8 14%, var(--paper));
}

/* Encuadre de imagen por línea: muestra el inicio del perfil (sección transversal) */
#sitalu .catalog-product[data-product-code="AC"] .catalog-product-hover-image {
  object-position: left center;
}

#sitalu .catalog-product[data-product-code="BH"] .catalog-product-hover-image {
  object-position: left center;
}

#sitalu .catalog-product[data-product-code="IM"] .catalog-product-hover-image {
  object-position: left center;
}

.sitalu-catalog-body {
  display: grid;
  grid-template-columns: minmax(250px, 420px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 2.5vw, 38px);
  min-height: 0;
}

.operber-catalog-body {
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(18px, 2.5vw, 38px);
  min-height: 0;
}

.logistics-catalog-body,
.foods-catalog-body,
.packs-catalog-body,
.plastics-catalog-body {
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(18px, 2.5vw, 38px);
  min-height: 0;
}

#operber .operber-catalog-body .division-catalog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: center;
  width: 100%;
}

#logistics .logistics-catalog-body .division-catalog-grid,
#foods .foods-catalog-body .division-catalog-grid,
#packs .packs-catalog-body .division-catalog-grid,
#plastics .plastics-catalog-body .division-catalog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  width: 100%;
}

#logistics .logistics-catalog-body,
#foods .foods-catalog-body {
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
}

#logistics .logistics-catalog-body .division-catalog-grid,
#foods .foods-catalog-body .division-catalog-grid {
  align-self: center;
  gap: clamp(7px, 0.75vw, 10px);
}

#operber .operber-catalog-body .catalog-product {
  min-height: clamp(118px, 16vh, 158px);
}

#logistics .logistics-catalog-body .catalog-product,
#foods .foods-catalog-body .catalog-product,
#packs .packs-catalog-body .catalog-product,
#plastics .plastics-catalog-body .catalog-product {
  min-height: clamp(86px, 10vh, 112px);
}

#logistics .logistics-catalog-body .catalog-product,
#foods .foods-catalog-body .catalog-product {
  min-height: clamp(70px, 8.5vh, 94px);
  padding: clamp(10px, 1.05vw, 15px);
}

#foods .foods-catalog-body .division-catalog-grid {
  align-self: stretch;
  align-content: stretch;
  grid-auto-rows: minmax(0, 1fr);
  gap: clamp(6px, 0.62vw, 8px);
}

#foods .foods-catalog-body .catalog-product {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: clamp(8px, 0.8vw, 12px);
  row-gap: 4px;
  height: 100%;
  min-height: 0;
  padding: clamp(7px, 0.78vw, 10px) clamp(9px, 0.95vw, 13px);
}

#foods .foods-catalog-body .catalog-product-code {
  grid-row: 1 / span 2;
  align-self: start;
  min-height: 20px;
  min-width: 36px;
  justify-content: center;
  padding: 4px 7px;
  font-size: clamp(7px, 0.6vw, 9px);
}

#foods .foods-catalog-body .catalog-product-name {
  max-width: none;
  margin: 0;
  font-size: clamp(11px, 0.95vw, 14px);
  line-height: 1.14;
}

#foods .foods-catalog-body .catalog-product-action {
  font-size: clamp(7px, 0.6vw, 9px);
  line-height: 1;
}

.sitalu-video-preview {
  position: relative;
  align-self: center;
  min-width: 0;
  min-height: 0;
  height: min(100%, 58vh, 560px);
  max-height: min(100%, 58vh, 560px);
  padding: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--sitalu) 30%, var(--line));
  border-radius: 10px;
  background: #11151c;
  box-shadow: 0 18px 42px rgba(13, 31, 78, 0.16);
  cursor: pointer;
}

.operber-video-preview {
  border-color: color-mix(in srgb, var(--operber) 34%, var(--line));
}

.logistics-video-preview {
  border-color: color-mix(in srgb, var(--logistics) 34%, var(--line));
}

.foods-video-preview {
  border-color: color-mix(in srgb, var(--foods) 34%, var(--line));
}

.packs-video-preview {
  border-color: color-mix(in srgb, var(--packs) 34%, var(--line));
}

.plastics-video-preview {
  border-color: color-mix(in srgb, var(--plastics) 34%, var(--line));
}

.sitalu-video-preview video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 0;
  object-fit: cover;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.sitalu-video-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(5, 11, 20, 0.52));
  pointer-events: none;
}

.sitalu-video-preview:hover video,
.sitalu-video-preview:focus-visible video {
  transform: scale(1.025);
}

.sitalu-video-preview:focus-visible {
  border-color: var(--sitalu);
  outline: none;
}

.sitalu-video-preview-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: clamp(52px, 5vw, 72px);
  height: clamp(52px, 5vw, 72px);
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(232, 238, 247, 0.24);
  color: #f7f9fc;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.sitalu-video-preview-play svg {
  width: 44%;
  height: 44%;
  fill: currentColor;
  stroke: none;
}

.sitalu-video-preview-label {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 15px;
  color: #f7f9fc;
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 820px) {
  .sitalu-catalog-body,
  .operber-catalog-body,
  .logistics-catalog-body,
  .foods-catalog-body,
  .packs-catalog-body,
  .plastics-catalog-body {
    grid-template-columns: 1fr;
  }

  #operber .operber-catalog-body .division-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #logistics .logistics-catalog-body .division-catalog-grid,
  #foods .foods-catalog-body .division-catalog-grid,
  #packs .packs-catalog-body .division-catalog-grid,
  #plastics .plastics-catalog-body .division-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sitalu-video-preview {
    min-height: 220px;
  }

  .sitalu-video-preview video {
    min-height: 220px;
  }
}

.catalog-product {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-width: 0;
  min-height: clamp(92px, 12vh, 132px);
  padding: clamp(12px, 1.35vw, 18px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

.catalog-product::after {
  content: '';
  position: absolute;
  right: -22px;
  bottom: -28px;
  width: 76px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: color-mix(in srgb, var(--division-color) 14%, transparent);
  transition: transform var(--transition);
}

.catalog-product:hover,
.catalog-product:focus-visible {
  border-color: var(--division-color);
  background: color-mix(in srgb, var(--division-color) 8%, var(--paper));
  box-shadow: 0 10px 24px rgba(13, 31, 78, 0.09);
  outline: none;
  transform: translateY(-3px);
}

.catalog-product:hover::after,
.catalog-product:focus-visible::after {
  transform: scale(1.35);
}

.catalog-product-code,
.catalog-product-name,
.catalog-product-action {
  position: relative;
  z-index: 1;
}

.catalog-product-code {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--division-color);
  color: var(--division-ink);
  font-size: clamp(7px, 0.66vw, 10px);
  font-weight: 800;
  line-height: 1;
}

#foods .catalog-product-code,
#packs .catalog-product-code,
#logistics .catalog-product-code,
#operber .catalog-product-code,
#sitalu .catalog-product-code {
  color: var(--paper);
}

.catalog-product-name {
  max-width: 23ch;
  margin: 10px 0;
  color: var(--navy);
  font-size: clamp(13px, 1.16vw, 17px);
  font-weight: 800;
  line-height: 1.25;
}

.catalog-product-action {
  color: var(--muted);
  font-size: clamp(7px, 0.66vw, 10px);
  font-weight: 700;
}

.product-detail {
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

.detail-open .section-eyebrow,
.detail-open .section-title,
.detail-open .section-divider,
.detail-open .section-lead,
.modu-open .section-eyebrow,
.modu-open .section-title,
.modu-open .section-divider,
.modu-open .section-lead,
.alusic-open .section-eyebrow,
.alusic-open .section-title,
.alusic-open .section-divider,
.alusic-open .section-lead,
.video-open .section-eyebrow,
.video-open .section-title,
.video-open .section-divider,
.video-open .section-lead {
  display: none;
}

.product-detail-topbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: clamp(10px, 1.2vw, 16px);
  margin-bottom: clamp(10px, 1.25vw, 17px);
}

.product-detail-back {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  min-height: 32px;
  margin-bottom: 0;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--navy);
  font-size: clamp(8px, 0.72vw, 11px);
  font-weight: 700;
  cursor: pointer;
  transition:
    border-color var(--transition),
    background var(--transition),
    color var(--transition);
}

.product-detail-back:hover,
.product-detail-back:focus-visible {
  border-color: var(--division-color);
  background: var(--division-color);
  color: var(--division-ink);
  outline: none;
}

#foods .product-detail-back:hover,
#foods .product-detail-back:focus-visible,
#packs .product-detail-back:hover,
#packs .product-detail-back:focus-visible,
#logistics .product-detail-back:hover,
#logistics .product-detail-back:focus-visible,
#operber .product-detail-back:hover,
#operber .product-detail-back:focus-visible,
#sitalu .product-detail-back:hover,
#sitalu .product-detail-back:focus-visible {
  color: var(--paper);
}

.product-detail-menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
  gap: 5px;
  min-width: 0;
}

.product-detail-menu-button {
  min-width: 0;
  min-height: 30px;
  padding: 5px 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--muted);
  font: 700 clamp(10px, 0.82vw, 12px)/1.2 'Plus Jakarta Sans', Arial, sans-serif;
  text-align: center;
  cursor: pointer;
  transition:
    border-color var(--transition),
    background var(--transition),
    color var(--transition);
}

.product-detail-menu-button:hover,
.product-detail-menu-button:focus-visible,
.product-detail-menu-button.active {
  border-color: var(--division-color);
  background: var(--division-color);
  color: var(--division-ink);
  outline: none;
}

#foods .product-detail-menu-button:hover,
#foods .product-detail-menu-button:focus-visible,
#foods .product-detail-menu-button.active,
#packs .product-detail-menu-button:hover,
#packs .product-detail-menu-button:focus-visible,
#packs .product-detail-menu-button.active,
#logistics .product-detail-menu-button:hover,
#logistics .product-detail-menu-button:focus-visible,
#logistics .product-detail-menu-button.active,
#operber .product-detail-menu-button:hover,
#operber .product-detail-menu-button:focus-visible,
#operber .product-detail-menu-button.active,
#sitalu .product-detail-menu-button:hover,
#sitalu .product-detail-menu-button:focus-visible,
#sitalu .product-detail-menu-button.active {
  color: var(--paper);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(390px, 1.05fr) minmax(340px, 0.95fr);
  align-items: start;
  gap: clamp(22px, 3.2vw, 48px);
  flex: 1;
  min-height: 0;
}

.product-detail-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
}

.product-detail-code {
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--division-color);
  color: var(--division-ink);
  font-size: clamp(8px, 0.75vw, 11px);
  font-weight: 800;
}

#foods .product-detail-code,
#packs .product-detail-code,
#logistics .product-detail-code,
#operber .product-detail-code,
#sitalu .product-detail-code {
  color: var(--paper);
}

.product-detail-title {
  max-width: 18ch;
  margin-top: 0;
  color: var(--navy);
  font-size: clamp(22px, 2.7vw, 40px);
  font-weight: 800;
  line-height: 1.05;
}

.product-detail-rule {
  width: clamp(44px, 5vw, 72px);
  height: 3px;
  margin: clamp(12px, 1.4vw, 20px) 0 clamp(24px, 3vw, 42px);
  background: var(--division-color);
}

.product-detail-specs {
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(13px, 1.05vw, 17px);
  line-height: 1.48;
}

.product-detail-specs ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
  list-style: none;
}

.product-detail-specs li {
  position: relative;
  padding-left: 18px;
}

.product-detail-specs li::before {
  content: '';
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--division-color);
  transform: translateY(-50%);
}

.product-detail-media {
  position: relative;
  align-self: center;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: min(64vh, 620px);
  max-height: min(64vh, 620px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: none;
  border-radius: 0;
  background: transparent;
}

.product-detail-media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-height: 0;
  border-radius: 4px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 24px 48px rgba(13, 31, 78, 0.22)) drop-shadow(0 8px 18px rgba(13, 31, 78, 0.14));
}

.product-detail-media-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: clamp(12px, 1.6vw, 22px);
  width: 100%;
  height: 100%;
}

.product-detail-media-gallery img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (max-width: 900px) {
  .product-detail-media-gallery {
    grid-template-columns: 1fr;
  }

  .product-detail-media-gallery img {
    max-height: calc((100% - clamp(12px, 1.6vw, 22px)) / 2);
  }
}

/* Video preview dentro del product-detail-media (ej. Buffer Operber) */
.product-detail-media .operber-buffer-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border-radius: 6px;
  overflow: hidden;
}

.product-detail-media .operber-buffer-preview video {
  border-radius: 0;
}

@media (max-width: 768px) {
  .division-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow-y: auto;
    padding-bottom: 70px;
  }

  .catalog-product {
    min-height: 112px;
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(220px, 1fr);
    gap: 16px;
    overflow-y: auto;
    padding-bottom: 72px;
  }

  .product-detail-topbar {
    grid-template-columns: 1fr;
  }

  .product-detail-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-detail-specs ul {
    grid-template-columns: 1fr;
  }

  .product-detail-copy {
    justify-content: flex-start;
  }

  .product-detail-title {
    max-width: none;
  }
}

/* Variaciones finales de la textura industrial */
.main .section:not(#cover)::before {
  opacity: 0.38;
}

.main .section:not(#cover)::after {
  opacity: 0.3;
}

/* Engranaje principal a la izquierda, circuito superior a la derecha */
.main .section#grupo::before,
.main .section#divisiones::before,
.main .section#foods::before,
.main .section#plastics::before {
  left: -8%;
  right: auto;
  bottom: -16%;
  width: clamp(470px, 53vw, 760px);
  height: clamp(320px, 39vw, 520px);
  background-size: contain;
  background-position: left bottom;
  transform: none;
}

.main .section#grupo::after,
.main .section#divisiones::after,
.main .section#foods::after,
.main .section#plastics::after {
  top: -5%;
  right: -9%;
  left: auto;
  width: clamp(440px, 50vw, 720px);
  height: clamp(190px, 25vw, 340px);
  background-size: 105% auto;
  background-position: right top;
  transform: scaleX(-1);
}

/* Circuito horizontal protagonista con engranajes secundarios */
.main .section#instalaciones::before,
.main .section#lineas-negocio::before,
.main .section#packs::before,
.main .section#contacto::before {
  left: -5%;
  right: auto;
  top: 4%;
  bottom: auto;
  width: 112%;
  height: clamp(190px, 23vw, 320px);
  background-size: cover;
  background-position: center top;
  opacity: 0.3;
  transform: none;
}

.main .section#instalaciones::after,
.main .section#lineas-negocio::after,
.main .section#packs::after,
.main .section#contacto::after {
  top: auto;
  right: -4%;
  left: auto;
  bottom: -12%;
  width: clamp(300px, 34vw, 480px);
  height: clamp(260px, 31vw, 430px);
  background-size: 185% auto;
  background-position: right bottom;
  opacity: 0.36;
  transform: rotate(180deg);
}

/* Anillos mecanicos ampliados y recortados */
.main .section#sitalu::before,
.main .section#operber::before,
.main .section#logistics::before {
  left: auto;
  right: -16%;
  top: -19%;
  bottom: auto;
  width: clamp(520px, 61vw, 860px);
  height: clamp(430px, 50vw, 690px);
  background-size: 145% auto;
  background-position: left center;
  opacity: 0.38;
  transform: rotate(15deg);
}

.main .section#sitalu::after,
.main .section#operber::after,
.main .section#logistics::after {
  top: auto;
  right: auto;
  left: -9%;
  bottom: -8%;
  width: clamp(350px, 39vw, 560px);
  height: clamp(170px, 22vw, 300px);
  background-size: cover;
  background-position: center top;
  opacity: 0.3;
  transform: scaleY(-1);
}

.business-panel::after,
.catalog-product::after {
  border-radius: 0;
  background-im
/* ── MODU / ALUSIC PAGES ── */

/* Hide section-inner heading when sub-pages are open */
.modu-open .section-eyebrow,
.modu-open .section-title,
.modu-open .section-divider,
.modu-open .section-lead,
.alusic-open .section-eyebrow,
.alusic-open .section-title,
.alusic-open .section-divider,
.alusic-open .section-lead,
.video-open .section-eyebrow,
.video-open .section-title,
.video-open .section-divider,
.video-open .section-lead {
  display: none;
}

/* Pages sit above section-inner (z-index:1) */
.sitalu-modu-page,
.sitalu-alusic-page {
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* Alusic line image — compact height */
.sitalu-alusic-lines {
  display: grid;
}
