/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #0066cc;
  --blue-hover: #0055aa;
  --black: #0a0a0a;
  --dark: #1a1a1a;
  --border: #333;
  --white: #fff;
  --light-border: #ddd;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--white); background: var(--black); line-height: 1.6; -webkit-font-smoothing: antialiased; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font); }

/* ===== DOUBLE HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
}

/* Top utility bar */
.header-top {
  display: flex;
  align-items: stretch;
  height: 36px;
  background: #1c1c1c;
  border-bottom: 1px solid var(--border);
}

.header-top-left {
  display: flex;
  align-items: center;
  gap: 0;
  padding-left: 180px; /* logo width */
}

.header-top-left a {
  font-size: .75rem;
  color: #999;
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--border);
  transition: color .2s;
}

.header-top-left a:hover { color: var(--white); }
.header-top-left a.active { color: var(--blue); }

.header-top-right {
  margin-left: auto;
  display: flex;
  align-items: stretch;
}

.header-top-right a {
  font-size: .75rem;
  font-weight: 500;
  color: #bbb;
  padding: 0 1.2rem;
  display: flex;
  align-items: center;
  border-left: 1px solid var(--border);
  transition: background .2s, color .2s;
}

.header-top-right a:hover { color: var(--white); }

.header-top-right a.btn-contact {
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
}

.header-top-right a.btn-contact:hover { background: var(--blue-hover); }

/* Main nav bar */
.header-main {
  display: flex;
  align-items: center;
  height: 72px;
  background: #1c1c1c;
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 90px;
  margin-right: 2rem;
  text-decoration: none;
}

.logo-icon {
  width: 48px;
  height: 40px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.logo-icon svg { width: 28px; height: 24px; }

.logo-name {
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--white);
  line-height: 1;
}

.logo-hydro {
  font-size: .6rem;
  color: #888;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  gap: .3rem;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}

.main-nav > a, .nav-dropdown > a {
  font-size: .85rem;
  font-weight: 500;
  color: #ccc;
  padding: 0 1.1rem;
  height: 72px;
  display: flex;
  align-items: center;
  letter-spacing: .01em;
  transition: color .2s;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.main-nav > a:hover, .nav-dropdown > a:hover { color: var(--white); border-bottom-color: var(--blue); }

.nav-icons {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-left: auto;
}

.nav-icon-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #ccc;
  transition: color .2s;
  cursor: pointer;
}

.nav-icon-btn:hover { color: var(--white); }
.nav-icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }

.mytechnal-btn {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 500;
  color: #ccc;
  padding: 0 .8rem;
  transition: color .2s;
  cursor: pointer;
  background: none;
  border: none;
}

.mytechnal-btn:hover { color: var(--white); }
.mytechnal-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }

.nav-dropdown { position: relative; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  background: #1c1c1c;
  border: 1px solid var(--border);
  min-width: 200px;
  z-index: 50;
}

.nav-dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu a {
  display: block;
  padding: .75rem 1.2rem;
  font-size: .82rem;
  color: #aaa;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  height: auto;
}

.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { color: var(--white); background: #252525; border-bottom-color: var(--border); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: .5rem;
  margin-left: auto;
}

.burger span { display: block; width: 24px; height: 2px; background: var(--white); transition: .3s; }

.header-total-height { height: 108px; } /* 36 + 72 */

/* ===== HERO ===== */
.hero {
  position: relative;
  height: calc(100vh - 108px);
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-top: 108px;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.72) 0%, rgba(0,0,0,.3) 60%, rgba(0,0,0,.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 3.5rem;
  max-width: 640px;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.06;
  color: var(--white);
  margin-bottom: .8rem;
  letter-spacing: -.02em;
}

.hero-content p {
  font-size: 1rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 2rem;
  max-width: 480px;
}

.btn-blue {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: .85rem 1.6rem;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: background .2s;
  cursor: pointer;
}

.btn-blue:hover { background: var(--blue-hover); }

.arrow-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* Hero filmstrip */
.hero-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.15);
}

.hero-strip-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.8rem;
  background: rgba(15,15,15,.82);
  border-right: 1px solid rgba(255,255,255,.1);
  font-size: .85rem;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  transition: background .2s;
  text-decoration: none;
}

.hero-strip-item:last-child { border-right: none; }
.hero-strip-item:hover { background: rgba(30,30,30,.9); }

.hero-strip-item svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  flex-shrink: 0;
}

/* ===== SECTION HEADER (left-aligned with line) ===== */
.sec-header {
  margin-bottom: 2.5rem;
}

.sec-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: .4rem;
}

.sec-header p {
  font-size: .9rem;
  color: #888;
  margin-bottom: .9rem;
}

.sec-line {
  width: 200px;
  height: 1px;
  background: #444;
}

.sec-header--dark h2 { color: var(--black); }
.sec-header--dark p { color: #666; }
.sec-header--dark .sec-line { background: #ccc; }

/* ===== PRODUCTS SECTION ===== */
.products {
  background: var(--black);
  padding: 5rem 3.5rem;
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.prod-grid-row2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.prod-card {
  display: block;
  border: 1px solid var(--border);
  overflow: hidden;
  background: #111;
  text-decoration: none;
  transition: border-color .3s;
}

.prod-card:hover { border-color: #555; }
.prod-card:hover .prod-img img { transform: scale(1.04); }
.prod-card:hover .prod-arrow { background: var(--blue); border-color: var(--blue); }

.prod-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.prod-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1.1rem;
  background: #111;
  border-top: 1px solid var(--border);
}

.prod-bar h3 {
  font-size: .88rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .01em;
}

.prod-arrow {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
}

.prod-arrow svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
}

/* ===== SPLIT SECTION (por qué) ===== */
.split-section {
  background: var(--black);
  border-top: 1px solid var(--border);
}

.split-inner {
  display: grid;
  grid-template-columns: 3fr 2fr;
  min-height: 500px;
}

.split-img { overflow: hidden; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }

.split-body {
  background: var(--white);
  color: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem;
}

.split-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.5rem;
}

.split-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--black);
  stroke-width: 1.5;
}

.split-body h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -.02em;
}

.split-body p {
  font-size: .88rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  border: 1px solid var(--black);
  color: var(--black);
  background: none;
  padding: .8rem 1.4rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s, color .2s;
  align-self: flex-start;
}

.btn-outline-dark:hover { background: var(--black); color: var(--white); }

/* ===== ICONS STRIP ===== */
.icons-strip {
  background: var(--black);
  padding: 4rem 3.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.icons-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.icon-item {
  text-align: center;
  padding: 1rem 2.5rem;
  border-right: 1px solid var(--border);
}

.icon-item:last-child { border-right: none; }

.icon-item svg {
  width: 56px;
  height: 56px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1;
  margin: 0 auto 1.2rem;
}

.icon-item p {
  font-size: .85rem;
  color: #ccc;
  line-height: 1.5;
  max-width: 200px;
  margin: 0 auto;
}

/* ===== SUSTAINABILITY SECTION ===== */
.sustainability {
  position: relative;
  height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sustain-bg { position: absolute; inset: 0; }
.sustain-bg img { width: 100%; height: 100%; object-fit: cover; }
.sustain-bg::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.52); }

.sustain-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
  max-width: 700px;
}

.sustain-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.2rem;
  letter-spacing: -.02em;
}

.sustain-content p {
  font-size: .92rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 2rem;
}

/* ===== INSPIRATION SECTION ===== */
.inspiration {
  background: var(--white);
  padding: 5rem 3.5rem;
  color: var(--black);
}

.inspiration .sec-header h2 { color: var(--black); }
.inspiration .sec-header p { color: #555; }
.inspiration .sec-line { background: #ccc; }

.insp-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--light-border);
}

.insp-tab {
  padding: .7rem 1.4rem;
  font-size: .85rem;
  font-weight: 500;
  color: #888;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color .2s, border-color .2s;
  margin-bottom: -1px;
}

.insp-tab.active { color: var(--blue); border-bottom-color: var(--blue); }
.insp-tab:hover { color: var(--black); }

.insp-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
}

.insp-card {
  overflow: hidden;
  border: 1px solid var(--light-border);
  cursor: pointer;
}

.insp-card:hover .insp-img img { transform: scale(1.03); }

.insp-img { overflow: hidden; }
.insp-img img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform .5s ease;
}

.insp-card.small .insp-img img { aspect-ratio: 4/3; }

.insp-card-body {
  padding: 1.2rem 1.4rem;
}

.insp-cat {
  font-size: .7rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .4rem;
}

.insp-card-body h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: .4rem;
}

.insp-card-body p {
  font-size: .8rem;
  color: #666;
  line-height: 1.6;
}

/* ===== CONTACT ===== */
.contact {
  background: var(--dark);
  padding: 6rem 3.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.contact h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: .8rem;
  letter-spacing: -.02em;
}

.contact p {
  color: #888;
  font-size: .92rem;
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  color: #666;
  font-size: .8rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 3.5rem;
}

.footer-brand .logo { margin-bottom: 1.2rem; }

.footer-brand p {
  font-size: .8rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.footer-col h4 {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 1.2rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a { color: #555; transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); }

.footer-social { display: flex; gap: .5rem; }

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  color: #666;
  transition: border-color .2s, color .2s;
}

.footer-social a:hover { border-color: var(--white); color: var(--white); }
.footer-social a svg { width: 16px; height: 16px; fill: currentColor; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #444;
  font-size: .75rem;
}

.footer-bottom a { color: #444; transition: color .2s; }
.footer-bottom a:hover { color: var(--white); }

/* ===== FAB ===== */
.tally-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  width: 52px;
  height: 52px;
  background: var(--blue);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  box-shadow: 0 4px 20px rgba(0,102,204,.4);
}

.tally-fab:hover { background: var(--blue-hover); }
.tally-fab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== PAGE HERO (subpages) ===== */
.page-hero {
  position: relative;
  height: 60vh;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3.5rem;
  margin-top: 108px;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.18) 60%, transparent 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 3.5rem;
  max-width: 800px;
}

.tag {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .8rem;
  display: block;
}

.page-hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: .6rem;
}

.page-hero-content p {
  font-size: .92rem;
  color: rgba(255,255,255,.72);
  max-width: 560px;
}

/* ===== BREADCRUMB ===== */
.breadcrumb { background: var(--dark); border-bottom: 1px solid var(--border); }

.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 3.5rem;
  font-size: .78rem;
  color: #555;
}

.breadcrumb-inner a { color: #777; transition: color .2s; }
.breadcrumb-inner a:hover { color: var(--white); }
.breadcrumb-inner span:last-child { color: #aaa; }

/* ===== SYSTEMS (subpages) ===== */
.systems { background: var(--black); padding: 5rem 3.5rem; }

.systems > .tag { margin-bottom: .5rem; display: block; }

.systems > h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 3rem;
  letter-spacing: -.02em;
}

.sys-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.sys-card { border: 1px solid var(--border); background: #111; }
.sys-card-img { aspect-ratio: 3/2; overflow: hidden; }

.sys-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.sys-card:hover .sys-card-img img { transform: scale(1.04); }

.sys-card-body {
  padding: 1.6rem;
  border-top: 1px solid var(--border);
}

.sys-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .7rem;
}

.sys-card-body p {
  font-size: .84rem;
  color: #777;
  line-height: 1.7;
  margin-bottom: 1.3rem;
}

.sys-specs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1.3rem;
}

.sys-spec {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .6rem;
  border: 1px solid var(--border);
  color: #777;
}

.sys-spec--blue { border-color: var(--blue); color: var(--blue); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  border: 1px solid var(--border);
  color: var(--white);
  background: none;
  padding: .75rem 1.3rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.btn-outline:hover { border-color: var(--blue); background: var(--blue); }

/* ===== FEATURES ===== */
.features {
  background: var(--dark);
  padding: 5rem 3.5rem;
  border-top: 1px solid var(--border);
}

.section-header { margin-bottom: 3rem; }

.section-header h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: .4rem;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feat-item {
  padding: 2rem;
  border: 1px solid var(--border);
  background: #111;
}

.feat-icon { width: 38px; height: 38px; margin-bottom: 1rem; }
.feat-icon svg { width: 100%; height: 100%; fill: none; stroke: var(--blue); stroke-width: 1.5; }

.feat-item h3 { font-size: .88rem; font-weight: 700; color: var(--white); margin-bottom: .5rem; }
.feat-item p { font-size: .81rem; color: #666; line-height: 1.7; }

/* ===== PROD PROJECTS ===== */
.prod-projects { background: var(--black); padding: 5rem 3.5rem; border-top: 1px solid var(--border); }

.prod-projects > .container > .tag { margin-bottom: .5rem; }

.prod-projects h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 3rem;
  letter-spacing: -.02em;
}

.pp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.pp-card { border: 1px solid var(--border); overflow: hidden; background: #111; }
.pp-card img { aspect-ratio: 4/3; width: 100%; object-fit: cover; transition: transform .5s ease; }
.pp-card:hover img { transform: scale(1.04); }

.pp-card-info { padding: 1rem 1.2rem; border-top: 1px solid var(--border); }

.pp-card-info span {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
}

.pp-card-info h4 { font-size: .86rem; font-weight: 600; color: var(--white); margin-top: .3rem; }

/* ===== BANNER ===== */
.banner {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
}

.banner-bg { position: absolute; inset: 0; }
.banner-bg img { width: 100%; height: 100%; object-fit: cover; }
.banner-bg::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.65); }

.banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 3rem 3.5rem;
  width: 100%;
}

.banner-content h2 { font-size: 1.5rem; font-weight: 700; color: var(--white); margin-bottom: .5rem; }
.banner-content p { font-size: .86rem; color: rgba(255,255,255,.72); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .header-top-left { padding-left: 2rem; }
}

@media (max-width: 1024px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid-row2 { grid-template-columns: repeat(3, 1fr); }
  .split-inner { grid-template-columns: 1fr; }
  .split-img { height: 360px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .sys-grid { grid-template-columns: 1fr 1fr; }
  .hero-strip { grid-template-columns: 1fr; display: none; }
}

@media (max-width: 768px) {
  .header-top { display: none; }
  .header-main { padding: 0 1.2rem; }
  .hero { margin-top: 72px; }
  .page-hero { margin-top: 72px; }

  .main-nav {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0; bottom: 0;
    background: #1c1c1c;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 0;
    overflow-y: auto;
    z-index: 99;
  }
  .main-nav.open { display: flex; }
  .main-nav > a, .nav-dropdown > a { height: auto; padding: .9rem 0; border-bottom: 1px solid var(--border); width: 100%; border-right: none; font-size: .95rem; }
  .nav-dropdown .dropdown-menu { position: static; border: none; background: transparent; display: block; padding-left: 1rem; }
  .nav-icons { display: none; }
  .burger { display: flex; }

  .products, .sustainability-wrap, .icons-strip, .inspiration, .contact, .footer-top { padding: 3rem 1.5rem; }
  .breadcrumb-inner, .page-hero-content, .systems, .features, .prod-projects, .banner-content { padding-left: 1.5rem; padding-right: 1.5rem; }
  .hero-content { padding: 0 1.5rem; }
  .footer-bottom { padding: 1.5rem; flex-direction: column; gap: .5rem; text-align: center; }

  .prod-grid, .prod-grid-row2 { grid-template-columns: repeat(2, 1fr); }
  .sys-grid, .feat-grid, .pp-grid { grid-template-columns: 1fr; }
  .icons-strip-inner { grid-template-columns: 1fr; gap: 2rem; }
  .icon-item { border-right: none; border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
  .icon-item:last-child { border-bottom: none; }
  .footer-top { grid-template-columns: 1fr; }
  .banner-content { flex-direction: column; align-items: flex-start; }
  .insp-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .prod-grid, .prod-grid-row2 { grid-template-columns: 1fr; }
}

/* ===== CATEGORY PAGE LAYOUT (real Technal structure) ===== */

.cat-header {
  background: var(--black);
  padding: 4rem 3.5rem;
  margin-top: 108px;
  border-bottom: 1px solid var(--border);
}

.cat-header-inner {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 3rem;
  align-items: start;
}

.cat-icon-box {
  width: 155px;
  height: 155px;
  border: 1px solid #555;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cat-icon-box svg {
  width: 80px;
  height: 80px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1;
}

.cat-breadcrumb {
  font-size: .78rem;
  color: #888;
  margin-bottom: .9rem;
}

.cat-header-text h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: .8rem;
  line-height: 1.1;
}

.cat-header-text p {
  font-size: .92rem;
  color: #bbb;
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 2rem;
}

.cat-separator {
  border: none;
  border-top: 1px solid #444;
  width: 350px;
  max-width: 100%;
}

/* Systems grid — white bg */
.cat-systems {
  background: var(--white);
  padding: 4rem 3.5rem;
}

.cat-systems-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.cat-systems-grid--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 580px;
}

.cat-systems-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.sys-new-card {
  display: block;
  border: 1px solid #ddd;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s;
}

.sys-new-card:hover { border-color: #aaa; }

.sys-new-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.sys-new-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.sys-new-card:hover .sys-new-img img { transform: scale(1.04); }

.sys-new-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1rem;
  background: var(--white);
  border-top: 1px solid #ddd;
  gap: .5rem;
}

.sys-new-bar span {
  font-size: .85rem;
  font-weight: 600;
  color: var(--black);
  line-height: 1.3;
}

.sys-new-bar svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #555;
  stroke-width: 2;
  flex-shrink: 0;
}

.sys-new-card--featured .sys-new-bar span { color: var(--blue); }
.sys-new-card--featured .sys-new-bar svg { stroke: var(--blue); }

/* Other solutions */
.other-solutions {
  background: var(--black);
  padding: 4rem 3.5rem;
  border-top: 1px solid var(--border);
}

.other-solutions h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: 2.5rem;
}

.other-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* Responsive — category pages */
@media (max-width: 1024px) {
  .cat-systems-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-systems-grid--2 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .cat-header { padding: 2.5rem 1.5rem; margin-top: 72px; }
  .cat-header-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .cat-icon-box { width: 100px; height: 100px; }
  .cat-systems { padding: 2.5rem 1.5rem; }
  .cat-systems-grid, .cat-systems-grid--2, .cat-systems-grid--3 { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .other-solutions { padding: 2.5rem 1.5rem; }
  .other-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .cat-systems-grid, .cat-systems-grid--2, .cat-systems-grid--3 { grid-template-columns: 1fr; }
  .other-grid { grid-template-columns: 1fr; }
}
