/* IIRUCSYSTEMS — site.css
   Static, fără JavaScript. Font: IBM Plex Sans (SIL OFL), găzduit local. */

@font-face { font-family: "Plex"; src: url("../fonts/plex-sans-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex"; src: url("../fonts/plex-sans-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex"; src: url("../fonts/plex-sans-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex"; src: url("../fonts/plex-sans-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #0F1A2A;
  --ink-2: #4E5B6E;
  --paper: #FFFFFF;
  --mist: #F2F4F8;
  --line: #D9DFE8;
  --accent: #4A47D1;
  --accent-strong: #3634AE;
  --on-accent: #FFFFFF;
  --steel: #16233A;
  --steel-2: #1E2E4A;
  --header-bg: rgba(255, 255, 255, .88);

  /* T568B */
  --w-or: #F5B97A; --or: #EE7F22; --w-gr: #8FD0A8; --bl: #2B6FD6;
  --w-bl: #9BBCEB; --gr: #2C9A57; --w-br: #C8A389; --br: #7A4A2A;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 120px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #E7ECF3; --ink-2: #A2AFC2; --paper: #0D1626; --mist: #121E32; --line: #24344F;
    --accent: #8B89FF; --accent-strong: #ABA9FF; --on-accent: #0D1626;
    --steel: #16233A; --steel-2: #1E2E4A; --header-bg: rgba(13, 22, 38, .88);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #E7ECF3; --ink-2: #A2AFC2; --paper: #0D1626; --mist: #121E32; --line: #24344F;
  --accent: #8B89FF; --accent-strong: #ABA9FF; --on-accent: #0D1626;
  --steel: #16233A; --steel-2: #1E2E4A; --header-bg: rgba(13, 22, 38, .88);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Plex", "Segoe UI", system-ui, sans-serif;
  font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.015em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.h2 { font-size: clamp(2rem, 3.6vw, 2.875rem); font-weight: 700; }
.lead { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.55; color: var(--ink-2); max-width: 38em; }

/* Banda T568B — motivul vizual al brandului */
.stripe { display: flex; height: 6px; width: 100%; }
.stripe i { flex: 1; }
.stripe i:nth-child(1) { background: var(--w-or); } .stripe i:nth-child(2) { background: var(--or); }
.stripe i:nth-child(3) { background: var(--w-gr); } .stripe i:nth-child(4) { background: var(--bl); }
.stripe i:nth-child(5) { background: var(--w-bl); } .stripe i:nth-child(6) { background: var(--gr); }
.stripe i:nth-child(7) { background: var(--w-br); } .stripe i:nth-child(8) { background: var(--br); }

/* Butoane */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 1.3em; border-radius: 6px; border: 1.5px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-strong); color: var(--on-accent); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { display: flex; width: 30px; height: 30px; border-radius: 4px; overflow: hidden; flex: none; }
.brand-mark i { flex: 1; }
.brand-mark i:nth-child(1) { background: var(--w-or); } .brand-mark i:nth-child(2) { background: var(--or); }
.brand-mark i:nth-child(3) { background: var(--w-gr); } .brand-mark i:nth-child(4) { background: var(--bl); }
.brand-mark i:nth-child(5) { background: var(--w-bl); } .brand-mark i:nth-child(6) { background: var(--gr); }
.brand-mark i:nth-child(7) { background: var(--w-br); } .brand-mark i:nth-child(8) { background: var(--br); }
.brand-name { font-weight: 700; font-size: 1.1875rem; letter-spacing: .01em; }
.brand-name b { font-weight: 700; color: var(--accent); }

.header-right { display: flex; align-items: center; gap: 12px; }
.nav-desktop { display: flex; align-items: center; gap: 28px; }
.nav-desktop a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav-desktop a:not(.btn):hover { color: var(--accent); }
.nav-desktop .btn { min-height: 42px; }
.lang { display: inline-grid; place-items: center; min-width: 44px; min-height: 42px; padding: 0 10px; border: 1.5px solid var(--line); border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9375rem; letter-spacing: .04em; }
.lang:hover { border-color: var(--accent); color: var(--accent); }

.nav-mobile { display: none; position: relative; }
.nav-mobile summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 6px; font-weight: 600; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.bars { width: 16px; height: 2px; background: currentColor; position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: currentColor; }
.bars::before { top: -5px; } .bars::after { top: 5px; }
.nav-mobile[open] .bars { background: transparent; }
.nav-mobile[open] .bars::before { top: 0; transform: rotate(45deg); }
.nav-mobile[open] .bars::after { top: 0; transform: rotate(-45deg); }
.nav-mobile nav { position: absolute; right: 0; top: calc(100% + 10px); width: min(290px, calc(100vw - 32px)); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 40px -18px rgba(15, 26, 42, .4); padding: 8px; display: grid; }
.nav-mobile nav a { padding: 12px 14px; border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 500; }
.nav-mobile nav a:hover { background: var(--mist); }
.nav-mobile nav .btn { margin-top: 6px; color: var(--on-accent); }
@media (max-width: 920px) { .nav-desktop { display: none; } .nav-mobile { display: block; } }

/* Hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.5rem); font-weight: 700; line-height: 1.02; letter-spacing: -.025em; margin-bottom: .45em; }
.hero .lead { margin-bottom: 1.9em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 28px; color: var(--ink-2); font-size: .9375rem; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gr); }
.hero-note a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); text-decoration: none; }
.hero-note a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gr); }
.hero-note a:hover { color: var(--accent); }

.rack-wrap { background: var(--steel); border-radius: 12px; padding: clamp(14px, 2.4vw, 26px); box-shadow: 0 40px 80px -40px rgba(10, 20, 40, .55); }
.rack { width: 100%; height: auto; }
.rack .unit { fill: #22324F; stroke: #2E4064; stroke-width: 1.5; }
.rack .ear { fill: #1A2740; }
.rack .screw { fill: #0E1828; stroke: #3A4E74; stroke-width: 1.5; }
.rack .jack { fill: #0A1220; stroke: #3B4D70; stroke-width: 1.5; }
.rack .pnum { fill: #8C9BB5; font-family: inherit; font-size: 10px; font-weight: 500; font-variant-numeric: tabular-nums; }
.rack .led { fill: #34D17F; }
.rack .cord { fill: none; stroke-width: 5.5; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) {
  .rack .cord { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s cubic-bezier(.5, .1, .3, 1) forwards; }
  .rack .boot { opacity: 0; animation: fade .25s ease-out forwards; }
  .rack .led { fill: #2A3A57; animation: led .3s ease-out forwards; }
  .k0 { animation-delay: .20s !important; } .k1 { animation-delay: .32s !important; } .k2 { animation-delay: .44s !important; } .k3 { animation-delay: .56s !important; }
  .k4 { animation-delay: .68s !important; } .k5 { animation-delay: .80s !important; } .k6 { animation-delay: .92s !important; } .k7 { animation-delay: 1.04s !important; }
  .i0 { animation-delay: 1.30s !important; } .i1 { animation-delay: 1.38s !important; } .i2 { animation-delay: 1.46s !important; } .i3 { animation-delay: 1.54s !important; }
  .i4 { animation-delay: 1.62s !important; } .i5 { animation-delay: 1.70s !important; } .i6 { animation-delay: 1.78s !important; } .i7 { animation-delay: 1.86s !important; }
  .i8 { animation-delay: 1.94s !important; } .i9 { animation-delay: 2.02s !important; } .i10 { animation-delay: 2.10s !important; } .i11 { animation-delay: 2.18s !important; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes led { to { fill: #34D17F; } }

/* Secțiuni */
.section { padding: var(--section) 0; }
.section-mist { background: var(--mist); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head .lead { justify-self: start; }

/* Ce oferim */
.offer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--paper); }
.offer > li { padding: 28px 28px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; }
.offer > li::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 4px; }
.offer > li:nth-child(1)::before { background: var(--or); } .offer > li:nth-child(2)::before { background: var(--gr); }
.offer > li:nth-child(3)::before { background: var(--bl); } .offer > li:nth-child(4)::before { background: var(--br); }
.offer > li:nth-child(5)::before { background: var(--w-or); } .offer > li:nth-child(6)::before { background: var(--w-bl); }
.offer h3 { font-size: 1.375rem; font-weight: 600; margin-bottom: 6px; }
.offer .sum { color: var(--ink-2); font-size: 1rem; margin-bottom: 16px; }
.offer ul li { padding: 7px 0; border-top: 1px dashed var(--line); font-size: 1rem; }

/* Parteneri */
.partners { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.partners li { border: 1px solid var(--line); border-radius: 8px; padding: 26px 22px 24px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; background: var(--paper); }
.partners li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; }
.partners li:nth-child(1)::before { background: var(--bl); } .partners li:nth-child(2)::before { background: var(--or); }
.partners li:nth-child(3)::before { background: var(--gr); } .partners li:nth-child(4)::before { background: var(--br); }
.partners li:nth-child(5)::before { background: var(--w-bl); }
.pbadge { height: 56px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; background: #fff; border-radius: 3px; align-self: flex-start; }
.pbadge-round { background: transparent; border-radius: 50%; }
.pname { font-size: 1.625rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.1; min-height: 56px; display: flex; align-items: center; }
.pcat { color: var(--ink-2); font-size: .9375rem; line-height: 1.45; }
@media (max-width: 1060px) { .partners { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pname { font-size: 1.375rem; } }

/* Despre */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.about .h2 { margin-bottom: .6em; }
.about-body p { color: var(--ink-2); }
.about-body p:first-of-type { color: var(--ink); font-size: 1.1875rem; }
.why { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--paper); }
.why .stripe { height: 6px; }
.why h3 { font-size: 1.25rem; font-weight: 600; padding: 24px 28px 8px; }
.why ul { padding: 0 28px 20px; }
.why li { padding: 12px 0 12px 26px; border-top: 1px solid var(--line); position: relative; }
.why li:first-child { border-top: 0; }
.why li::before { content: ""; position: absolute; left: 0; top: 20px; width: 12px; height: 7px; border-left: 2.5px solid var(--gr); border-bottom: 2.5px solid var(--gr); transform: rotate(-45deg); }

/* Contact */
.contact-band { background: var(--steel); color: #E7ECF3; }
.contact-band .stripe { height: 6px; }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; padding-top: var(--section); padding-bottom: var(--section); }
.contact .h2 { color: #fff; margin-bottom: .5em; }
.contact .lead { color: #B9C4D6; margin-bottom: 1.6em; }
.phone-big { display: inline-block; color: #fff; text-decoration: none; font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; border-bottom: 2px solid rgba(255, 255, 255, .35); line-height: 1.3; }
.phone-big:hover { color: #fff; border-bottom-color: #fff; }
.contact-list { display: grid; gap: 0; border-top: 1px solid #2E4064; }
.contact-list > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid #2E4064; }
.contact-list dt { color: #8C9BB5; font-size: .9375rem; }
.contact-list dd { margin: 0; color: #fff; font-weight: 500; }
.contact-list a { color: #B9B8FF; }
.contact-list a:hover { color: #fff; }
.contact-list .company dd { color: #B9C4D6; font-weight: 400; font-size: .9375rem; line-height: 1.6; }
.contact-list .company strong { color: #fff; font-weight: 600; }

/* Footer */
.site-footer { background: var(--steel-2); color: #8C9BB5; font-size: .9375rem; padding: 26px 0 32px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { color: #B9C4D6; text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* Pagini simple */
.page { padding: clamp(48px, 7vw, 96px) 0 var(--section); }
.prose { max-width: 720px; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin-bottom: .5em; }
.prose h2 { font-size: 1.4rem; margin: 2em 0 .6em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }

@media (max-width: 960px) {
  .hero-grid, .about, .contact { grid-template-columns: 1fr; }
  .offer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .offer { grid-template-columns: 1fr; }
  .contact-list > div { grid-template-columns: 1fr; gap: 2px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .brand-name { font-size: 1.0625rem; }
}
