:root {
  --ink: #101820;
  --muted: #5b6670;
  --line: #dbe1e6;
  --paper: #f6f8f8;
  --white: #ffffff;
  --steel: #20303d;
  --steel-2: #314758;
  --copper: #8f4f17;
  --signal: #f2be22;
  --green: #2f7d61;
  --shadow: 0 22px 60px rgba(16, 24, 32, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 32px), var(--max));
  min-height: 72px;
  margin: 16px auto 0;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: var(--white);
  background: rgba(16, 24, 32, 0.6);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(16, 24, 32, 0.08);
  box-shadow: 0 14px 38px rgba(16, 24, 32, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo-wrap {
  display: block;
  overflow: hidden;
  width: 190px;
  height: 46px;
  padding: 3px 6px;
  border-radius: 4px;
  background: var(--white);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  color: var(--ink);
  background: var(--signal);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  color: currentColor;
  font-size: 0.72rem;
  opacity: 0.76;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 6px;
  color: currentColor;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a:focus-visible {
  background: var(--paper);
}

.site-nav .nav-contact {
  color: var(--ink);
  background: var(--signal);
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  color: currentColor;
  background: transparent;
  cursor: pointer;
}

.nav-toggle svg,
.button svg,
.product-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  padding: 160px 24px 34px;
  color: var(--white);
  overflow: hidden;
}

.hero-picture,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-picture {
  overflow: hidden;
}

.hero-picture .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.9) 0%, rgba(16, 24, 32, 0.74) 42%, rgba(16, 24, 32, 0.2) 100%),
    linear-gradient(0deg, rgba(16, 24, 32, 0.88) 0%, rgba(16, 24, 32, 0) 42%);
}

.hero-content,
.hero-metrics {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero-content {
  align-self: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--signal);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: var(--max);
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 8vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2.3vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--ink);
  background: var(--signal);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics {
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 72px;
  background: rgba(255, 255, 255, 0.18);
}

.hero-metrics div {
  min-height: 126px;
  padding: 22px;
  background: rgba(16, 24, 32, 0.76);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 8px;
  color: var(--signal);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.1;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.78);
}

.section-band,
.section-block {
  padding: 92px 24px;
}

.section-band {
  background: var(--paper);
}

.section-block {
  background: var(--white);
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.intro-grid,
.quality-grid,
.expertise-grid,
.projects-grid,
.cta-grid {
  display: grid;
  gap: 48px;
}

.intro-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.intro-grid h2 {
  max-width: 1060px;
  margin-bottom: 0;
}

.intro-grid > p {
  max-width: 820px;
  margin-bottom: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 56px;
  align-items: center;
}

.about-image img {
  width: 100%;
  min-height: 540px;
  object-fit: cover;
}

.about-copy > p:not(.eyebrow) {
  color: var(--muted);
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 32px;
  background: var(--line);
}

.about-values div {
  padding: 20px;
  background: var(--white);
}

.about-values strong,
.about-values span {
  display: block;
}

.about-values strong {
  margin-bottom: 5px;
  color: var(--green);
}

.about-values span {
  color: var(--muted);
  font-size: 0.9rem;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.intro-grid p:last-child,
.section-heading p,
.expertise-copy p,
.quality-grid p,
.projects-grid p,
.cta-grid p {
  color: var(--muted);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  margin-bottom: 34px;
}

.section-heading-row {
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  gap: 12px 36px;
  align-items: end;
}

.section-heading-row .eyebrow {
  grid-column: 1 / -1;
}

.section-heading-row h2 {
  grid-column: 1 / -1;
  max-width: 1060px;
}

.section-heading-row h2,
.section-heading-row > p:last-child {
  margin-bottom: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

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

.group-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.group-card {
  --group-accent: var(--green);
  --group-accent-strong: #1d5f49;
  --group-border: #cfe3db;
  --group-tint: #edf7f3;
  display: grid;
  grid-template-rows: 190px 1fr;
  overflow: hidden;
  border: 1px solid var(--group-border);
  border-radius: 8px;
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.group-theme {
  --group-accent: var(--green);
  --group-accent-strong: #1d5f49;
  --group-border: #cfe3db;
  --group-tint: #edf7f3;
}

.group-card--niskonaponski-kabeli,
.group-theme--niskonaponski-kabeli {
  --group-accent: #2f7d61;
  --group-accent-strong: #1d5f49;
  --group-border: #cfe3db;
  --group-tint: #edf7f3;
}

.group-card--srednjenaponski-kabeli,
.group-theme--srednjenaponski-kabeli {
  --group-accent: #2e6695;
  --group-accent-strong: #1f4f78;
  --group-border: #caddeb;
  --group-tint: #edf5fb;
}

.group-card--solarni-kabeli,
.group-theme--solarni-kabeli {
  --group-accent: #c98512;
  --group-accent-strong: #956008;
  --group-border: #ecd8ad;
  --group-tint: #fff6dc;
}

.group-card--ostali-elektromaterijal,
.group-theme--ostali-elektromaterijal {
  --group-accent: #7c5b9f;
  --group-accent-strong: #5f437d;
  --group-border: #dccfeb;
  --group-tint: #f6f0fb;
}

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

.group-card img {
  width: 100%;
  height: 100%;
  border-bottom: 4px solid var(--group-accent);
  object-fit: cover;
}

.group-card > div {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: linear-gradient(180deg, var(--group-tint) 0%, var(--white) 72%);
}

.group-card .product-category {
  color: var(--group-accent);
}

.group-card h3 {
  font-size: 1.35rem;
}

.group-card p:not(.product-category) {
  color: var(--muted);
}

.group-card a {
  margin-top: auto;
  color: var(--group-accent-strong);
  font-weight: 800;
}

.category-block {
  display: grid;
  gap: 14px;
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.category-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.category-heading h3 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.category-heading span {
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 122, 44, 0.5);
  box-shadow: var(--shadow);
}

.product-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 30px;
  border-radius: 6px;
  color: var(--white);
  background: var(--steel);
}

.product-card p {
  color: var(--muted);
}

.product-card a {
  margin-top: auto;
  color: var(--green);
  font-weight: 800;
}

.expertise-grid {
  grid-template-columns: 0.88fr 1.12fr;
  align-items: start;
}

.expertise-copy {
  position: sticky;
  top: 112px;
}

blockquote {
  margin: 30px 0 0;
  padding: 22px;
  border-left: 5px solid var(--signal);
  border-radius: 0 8px 8px 0;
  color: var(--white);
  background: var(--steel);
  font-size: 1.18rem;
  font-weight: 700;
}

.process-list {
  display: grid;
  gap: 12px;
}

.process-list article {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.process-list span {
  color: var(--copper);
  font-size: 1.45rem;
  font-weight: 800;
}

.process-list p {
  grid-column: 2;
  margin-bottom: 0;
  color: var(--muted);
}

.quality-grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
}

.image-panel {
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  min-height: 440px;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  --check-top: 0.35em;
  padding-left: 34px;
  color: var(--steel);
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: var(--check-top);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: calc(var(--check-top) + 3px);
  width: 5px;
  height: 9px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.projects-grid {
  grid-template-columns: 1fr;
  gap: 34px;
}

.projects-heading {
  max-width: 900px;
}

.projects-heading h2 {
  margin-bottom: 20px;
}

.projects-heading p:last-child {
  max-width: 720px;
  margin-bottom: 0;
}

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

.project-types article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 44px rgba(16, 24, 32, 0.1);
}

.project-types img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.project-types article > div {
  padding: 24px;
}

.project-types .project-label {
  margin-bottom: 8px;
  color: var(--copper);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-types h3 {
  font-size: 1.35rem;
}

.project-types p {
  margin-bottom: 0;
}

.project-landscape {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  margin: 0;
  border-radius: 8px;
  background: var(--steel);
  box-shadow: var(--shadow);
}

.project-landscape > img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.project-landscape figcaption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  width: min(calc(100% - 48px), 580px);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--white);
  background: rgba(16, 24, 32, 0.84);
  backdrop-filter: blur(14px);
}

.project-landscape figcaption .project-label {
  margin-bottom: 8px;
  color: var(--signal);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-landscape figcaption h3 {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}

.project-landscape figcaption p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.cta {
  color: var(--white);
  background: var(--steel);
}

.cta .eyebrow {
  color: var(--signal);
}

.cta-grid {
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  align-items: start;
}

.cta-heading {
  grid-column: 1 / -1;
  max-width: 1060px;
}

.cta-heading h2 {
  margin-bottom: 18px;
}

.cta-heading p:last-child {
  max-width: 760px;
}

.cta-actions {
  display: flex;
  align-items: start;
}

.cta-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.contact-form > div {
  display: grid;
  gap: 8px;
}

.contact-form > div > label,
.admin-form label {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.contact-form-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form-fields > div {
  display: grid;
  gap: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--white);
  background: rgba(16, 24, 32, 0.44);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--signal);
  outline: none;
}

.contact-form .button {
  width: fit-content;
}

.contact-panel {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-panel h3 {
  color: var(--white);
}

.contact-panel p {
  margin-bottom: 0;
}

.contact-benefits {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.contact-benefits li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-benefits li::before {
  content: "";
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 15px;
  height: 8px;
  border: solid var(--signal);
  border-width: 0 0 3px 3px;
  transform: rotate(-45deg);
}

.direct-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.direct-contact a {
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(16, 24, 32, 0.24);
}

.direct-contact a:hover,
.direct-contact a:focus-visible {
  border-color: var(--signal);
  outline: none;
}

.direct-contact span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.direct-contact strong {
  color: var(--white);
}

.contact-panel .notice {
  margin-top: 24px;
  color: var(--ink);
}

.contact-form ul,
.admin-form ul {
  padding: 0;
  margin: 0;
  color: #ffcdcd;
  list-style: none;
  font-size: 0.9rem;
}

.site-footer {
  padding: 44px 24px;
  color: rgba(255, 255, 255, 0.72);
  background: #0c1117;
}

.footer-map {
  width: min(100%, var(--max));
  padding-bottom: 44px;
  margin: 0 auto 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-map-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.site-footer .footer-map .eyebrow {
  margin-bottom: 8px;
  color: var(--signal);
}

.site-footer .footer-map h2 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
}

.footer-map iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
  border-radius: 8px;
}

.site-footer .map-link {
  display: inline-flex;
  flex: 0 0 auto;
  margin: 0;
  color: var(--ink);
  background: var(--signal);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
  gap: 34px;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.footer-brand {
  margin-bottom: 16px;
  color: var(--white);
}

.site-footer h2 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 1rem;
}

.site-footer a:not(.brand) {
  display: block;
  margin: 7px 0;
}

.site-footer p {
  margin-bottom: 0;
}

.footer-locations address {
  margin: 0 0 16px;
  font-style: normal;
}

.footer-locations address strong {
  display: block;
  color: rgba(255, 255, 255, 0.92);
}

.site-footer .footer-address-link {
  margin: 0;
}

.site-footer .footer-address-link:hover,
.site-footer .footer-address-link:focus-visible {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  outline: none;
}

.footer-legal {
  width: min(100%, var(--max));
  padding-top: 20px;
  margin: 40px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  text-align: center;
}

.site-footer .footer-legal a {
  display: inline;
  margin: 0;
  color: var(--white);
  font-weight: 800;
}

.site-footer .footer-legal a:hover,
.site-footer .footer-legal a:focus-visible {
  color: var(--signal);
  outline: none;
}

@media (max-width: 980px) {
  .site-header {
    width: min(calc(100% - 20px), var(--max));
    margin-top: 10px;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: var(--paper);
  }

  .hero {
    min-height: auto;
    padding-top: 140px;
  }

  .hero-metrics,
  .intro-grid,
  .about-grid,
  .section-heading-row,
  .expertise-grid,
  .quality-grid,
  .projects-grid,
  .cta-grid,
  .did-you-know-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .about-image img {
    min-height: 380px;
  }

  .project-types {
    grid-template-columns: 1fr;
  }

  .project-types img {
    height: min(420px, 55vw);
  }

  .section-heading-row {
    gap: 12px;
  }

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

  .group-grid,
  .product-grid.compact {
    grid-template-columns: repeat(2, 1fr);
  }

  .expertise-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
    padding: 10px;
  }

  .about-values,
  .direct-contact {
    grid-template-columns: 1fr;
  }

  .footer-map-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer .map-link {
    width: 100%;
  }

  .footer-map iframe {
    height: 340px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-logo-wrap {
    width: 160px;
    height: 39px;
  }

  .hero {
    padding: 118px 16px 22px;
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4.6rem);
  }

  .hero-actions,
  .button,
  .contact-form .button {
    width: 100%;
  }

  .hero-metrics,
  .group-grid,
  .product-grid,
  .product-grid.compact {
    grid-template-columns: 1fr;
  }

  .section-band,
  .section-block {
    padding: 66px 16px;
  }

  .product-card {
    min-height: 270px;
  }

  .process-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .process-list p {
    grid-column: auto;
  }

  .image-panel img {
    min-height: 300px;
  }

  .project-landscape {
    min-height: 0;
  }

  .project-landscape > img {
    height: 250px;
  }

  .project-landscape figcaption {
    position: static;
    width: 100%;
    border: 0;
    border-radius: 0;
    background: var(--steel);
  }

  .contact-form {
    padding: 18px;
  }

  .contact-form-fields {
    grid-template-columns: 1fr;
  }
}

.product-category {
  margin-bottom: 8px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card-wide {
  grid-column: 1 / -1;
}

.did-you-know {
  color: var(--white);
  background: var(--steel);
}

.did-you-know-quote {
  display: grid;
  gap: 18px;
}

.did-you-know .eyebrow {
  color: var(--signal);
}

.did-you-know blockquote {
  margin-bottom: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--white);
  background: transparent;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.03;
  font-weight: 800;
}

.did-you-know-quote > p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.metal-heading p:last-child {
  color: var(--muted);
}

.market-frame-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.market-frame {
  display: block;
  width: 100%;
  height: min(78vh, 900px);
  border: 0;
  background: var(--white);
}

.source-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.source-note a {
  color: var(--green);
  font-weight: 800;
}

.notice {
  padding: 14px 16px;
  border-radius: 6px;
  font-weight: 800;
}

.notice-success {
  color: #163d2f;
  background: #dff5eb;
}

.notice-warning {
  color: #5d3b03;
  background: #fff1c2;
}

.detail-main {
  padding-top: 100px;
}

.cable-detail h1 {
  color: var(--ink);
  font-size: clamp(2.8rem, 7vw, 5.8rem);
}

.detail-copy {
  color: var(--muted);
}

.group-hero .eyebrow,
.group-products .eyebrow,
.group-products .product-category,
.group-products .product-card a {
  color: var(--group-accent-strong);
}

.group-hero .button.primary,
.group-products .product-icon {
  color: var(--white);
  background: var(--group-accent);
}

.group-hero .image-panel,
.group-products .product-card {
  border: 1px solid var(--group-border);
}

.group-hero-layout {
  display: grid;
  gap: 42px;
}

.group-hero-copy {
  max-width: 900px;
}

.group-hero-copy .detail-copy {
  max-width: 760px;
  margin-bottom: 0;
}

.group-hero-image {
  width: 100%;
}

.group-hero-image img {
  width: 100%;
  height: clamp(380px, 48vw, 620px);
  min-height: 0;
  object-fit: cover;
}

.group-products .product-card {
  background: linear-gradient(180deg, var(--group-tint) 0%, var(--white) 58%);
}

.group-products .product-card:hover {
  border-color: var(--group-accent);
}

.cable-detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}

.cable-detail-image img {
  height: auto;
  min-height: 0;
  max-height: min(560px, 70vh);
  object-fit: contain;
}

.spec-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.spec-list dt {
  color: var(--muted);
  font-weight: 800;
}

.spec-list dd {
  margin: 0;
  color: var(--ink);
}

.admin-body {
  background: var(--paper);
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 24px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-nav a {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--steel);
  font-weight: 800;
}

.admin-nav a:hover {
  background: var(--paper);
}

.admin-main {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 42px 0 80px;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.admin-toolbar h1 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 4rem);
}

.secondary-dark {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

.admin-table th,
.admin-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-table td span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.table-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.table-actions a,
.table-actions button {
  border: 0;
  padding: 0;
  color: var(--green);
  background: none;
  font-weight: 800;
  cursor: pointer;
}

.admin-form,
.admin-detail {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.admin-form label {
  color: var(--steel);
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
}

.admin-form textarea {
  resize: vertical;
}

.admin-form input[type="checkbox"] {
  width: auto;
}

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

.admin-form .help-text,
.admin-form .form-text {
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-image-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-image-preview img {
  width: 96px;
  height: 72px;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: cover;
}

.message-box {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.message-box h2 {
  font-size: 1.6rem;
}

@media (max-width: 860px) {
  .cable-detail-grid,
  .admin-form .form-grid {
    grid-template-columns: 1fr;
  }

  .admin-toolbar,
  .admin-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .group-hero-layout {
    gap: 28px;
  }

  .group-hero-image img {
    height: 300px;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.privacy-banner {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  width: min(calc(100% - 40px), 1100px);
  margin: 0 auto;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  color: var(--white);
  background: rgba(16, 24, 32, 0.98);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.privacy-banner .eyebrow {
  margin-bottom: 6px;
  color: var(--signal);
}

.privacy-banner h2 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}

.privacy-banner p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.privacy-banner a,
.form-privacy-note a {
  color: var(--signal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-banner-actions,
.privacy-settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.privacy-banner-actions {
  justify-content: flex-end;
}

.privacy-banner-actions .button,
.privacy-settings-actions .button {
  white-space: nowrap;
}

.privacy-accept {
  color: var(--ink);
  background: var(--signal);
}

.privacy-deny {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: transparent;
}

.privacy-banner button:focus-visible,
.privacy-settings button:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
}

.form-privacy-note {
  margin: 0;
  font-size: 0.9rem;
}

.external-content-placeholder {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 36px 24px;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
}

.external-content-placeholder strong {
  color: var(--white);
  font-size: 1.35rem;
}

.external-content-placeholder p {
  margin: 8px 0;
}

.external-content-placeholder a {
  color: var(--signal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.external-content-placeholder-light {
  min-height: 420px;
  border-color: var(--line);
  color: var(--muted);
  background: var(--paper);
}

.external-content-placeholder-light strong {
  color: var(--ink);
}

.external-content-placeholder-light a {
  color: var(--green);
}

.privacy-page {
  padding-top: 100px;
}

.privacy-hero h1 {
  max-width: 900px;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(3rem, 7vw, 6rem);
}

.privacy-lead {
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.privacy-updated {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 0.64fr);
  gap: 56px;
  align-items: start;
}

.privacy-settings {
  position: sticky;
  top: 112px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.privacy-settings h2 {
  margin-bottom: 12px;
  font-size: 1.65rem;
}

.privacy-settings-actions {
  display: grid;
  margin-top: 22px;
}

.privacy-settings .privacy-deny {
  color: var(--ink);
  border-color: var(--steel);
}

.privacy-status {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--steel);
  background: var(--white);
  font-weight: 800;
}

.privacy-status-accepted {
  color: #163d2f;
  background: #dff5eb;
}

.privacy-status-denied {
  color: #5d3b03;
  background: #fff1c2;
}

.privacy-content {
  display: grid;
  gap: 42px;
}

.privacy-content section {
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.privacy-content section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.privacy-content h2 {
  margin-bottom: 14px;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
}

.privacy-content a {
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-content li + li {
  margin-top: 8px;
}

.privacy-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.privacy-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: var(--white);
}

.privacy-table th,
.privacy-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.privacy-table th {
  color: var(--muted);
  background: var(--paper);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.privacy-table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 900px) {
  .privacy-banner,
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .privacy-banner {
    gap: 18px;
  }

  .privacy-banner-actions {
    justify-content: flex-start;
  }

  .privacy-settings {
    position: static;
  }
}

@media (max-width: 640px) {
  .privacy-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);
    padding: 18px;
    overflow-y: auto;
  }

  .privacy-banner-actions,
  .privacy-banner-actions .button,
  .privacy-settings-actions .button {
    width: 100%;
  }

  .privacy-page {
    padding-top: 84px;
  }

  .external-content-placeholder,
  .external-content-placeholder-light {
    min-height: 300px;
  }
}
