/*
Theme Name: Waterproof Cable Solutions
Theme URI: https://example.com/
Author: Codex
Description: A focused B2B inquiry theme for waterproof cable entry and sealing kits, cable glands, junction boxes, plugs, reducers and distributor assortment boxes.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: waterproof-cable-solutions
*/

:root {
  --ink: #16212c;
  --muted: #5f6b76;
  --line: #dfe5ea;
  --panel: #f7f9fb;
  --panel-strong: #edf3f6;
  --blue: #0e6fa8;
  --blue-dark: #0a4e76;
  --green: #14876b;
  --amber: #f4b43a;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(18, 38, 55, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(223, 229, 234, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.nav-wrap,
.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #bed3df;
  border-radius: 8px;
  color: var(--blue-dark);
  background: linear-gradient(180deg, #ffffff, #e8f3f8);
  font-weight: 900;
}

.brand span:last-child {
  display: block;
  max-width: 280px;
  font-size: 15px;
  line-height: 1.15;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #40505e;
  font-size: 14px;
  font-weight: 650;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  background: var(--blue);
  color: var(--white);
  font-weight: 750;
  line-height: 1;
}

.button.secondary {
  border-color: #b9cad5;
  background: #ffffff;
  color: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  border-bottom: 1px solid var(--line);
  background: #eef5f8;
}

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

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

.hero-bg::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(247, 250, 252, 0.99) 0%, rgba(247, 250, 252, 0.95) 36%, rgba(247, 250, 252, 0.68) 60%, rgba(247, 250, 252, 0.18) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 108px 0 86px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 640px;
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  flex: 0 0 auto;
  width: 26px;
  height: 2px;
  background: var(--green);
  content: "";
}

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

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: #42515f;
  font-size: 19px;
}

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

.trust-row {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  margin: -34px auto 0;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.trust-item {
  padding: 24px 22px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.trust-item span {
  color: var(--muted);
  font-size: 14px;
}

section {
  padding: 84px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head h2 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-head p {
  max-width: 430px;
  margin-bottom: 0;
  color: var(--muted);
}

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

.product-card,
.application-card,
.inquiry-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.product-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
}

.product-card.priority {
  border-top: 5px solid var(--blue);
  box-shadow: 0 16px 35px rgba(18, 38, 55, 0.08);
}

.product-card.priority::after {
  position: absolute;
  right: 18px;
  top: 18px;
  color: rgba(14, 111, 168, 0.12);
  content: "01";
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}

.product-code {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 5px;
  background: var(--panel-strong);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.2;
}

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

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

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #3b4a56;
  font-size: 14px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: rgba(20, 135, 107, 0.12);
  color: var(--green);
  content: "OK";
  font-size: 9px;
  font-weight: 900;
}

.band {
  background: var(--panel);
}

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

.application-card {
  min-height: 178px;
  padding: 24px;
}

.application-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.process-step {
  padding: 28px;
  background: var(--white);
}

.process-step span {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-weight: 900;
}

.process-step h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.process-step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.inquiry {
  background: #102434;
  color: var(--white);
}

.inquiry .section-head p {
  color: #bdc9d2;
}

.inquiry-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.inquiry-panel {
  padding: 28px;
  color: var(--ink);
}

.inquiry-panel h3 {
  margin-bottom: 18px;
}

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

label {
  display: grid;
  gap: 7px;
  color: #334452;
  font-size: 13px;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cfd8df;
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.form-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.quick-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quick-list li {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.quick-list strong {
  display: block;
  margin-bottom: 4px;
}

.quick-list span {
  color: #bdc9d2;
  font-size: 14px;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .hero {
    min-height: 600px;
  }

  .hero-bg::after {
    background: linear-gradient(90deg, rgba(247, 250, 252, 0.99), rgba(247, 250, 252, 0.88));
  }

  .trust-row,
  .product-grid,
  .application-grid,
  .process,
  .inquiry-layout {
    grid-template-columns: 1fr;
  }

  .trust-row {
    margin-top: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .nav-wrap,
  .section-inner,
  .hero-content {
    width: min(100% - 28px, 1180px);
  }

  .brand span:last-child {
    max-width: 190px;
    font-size: 13px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero-content {
    padding: 76px 0 62px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 17px;
  }

  section {
    padding: 62px 0;
  }
}
