:root {
  --ink: #102033;
  --muted: #5d6a78;
  --line: #d9e0e7;
  --soft: #eef5fa;
  --panel: #ffffff;
  --brand: #123f63;
  --brand-2: #3aa6c8;
  --accent: #f1b84b;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(10, 31, 52, 0.13);
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #0f2f4b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 98px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-direction: column;
  align-items: flex-start;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.logo::before {
  content: "KENDORIC";
  color: #fff;
  font-weight: 900;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.04em;
}

.logo::after {
  content: "PRECISION WEB SOLUTIONS";
  color: #63bfdc;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-top: 5px;
}

.logo img {
  display: none;
}

.logo.image-logo::before,
.logo.image-logo::after {
  content: none;
}

.logo.image-logo img {
  display: block;
  width: 280px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.logo.image-logo {
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  border-radius: var(--radius);
  color: #fff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 4px auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a,
.nav-item > a {
  text-decoration: none;
  font-weight: 650;
  font-size: 15px;
  color: #eef7fb;
  padding: 30px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-links a:hover,
.nav-links a.active,
.nav-item:hover > a {
  color: #8bd6ee;
}

.nav-item {
  position: relative;
}

.dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  width: 310px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand-2);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.18s ease;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  color: var(--ink);
  display: block;
  padding: 11px 12px;
  border-radius: 6px;
}

.dropdown a:hover {
  background: var(--soft);
  color: var(--brand);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section.soft {
  background: var(--soft);
}

.hero {
  background: linear-gradient(90deg, rgba(9, 30, 50, 0.92), rgba(18, 63, 99, 0.74)), url("../images/workshop.jpg") center/cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hero-inner {
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 820px);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brand-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 800;
}

h1,
h2,
h3 {
  line-height: 1.12;
  margin: 0;
}

h1 {
  font-size: 56px;
  max-width: 760px;
}

h2 {
  font-size: 38px;
}

h3 {
  font-size: 24px;
}

.lead {
  color: #3f4d5b;
  font-size: 19px;
  max-width: 780px;
  margin: 22px 0 0;
}

.hero .lead {
  color: #dbeaf2;
}

.hero-actions,
.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--brand);
  background: linear-gradient(135deg, var(--brand), #1d6c98);
  color: #fff;
  text-decoration: none;
  font-weight: 750;
  line-height: 1.2;
}

.button.secondary {
  background: #fff;
  color: var(--brand);
}

.hero-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.hero-card ul,
.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.hero-card li,
.check-list li {
  position: relative;
  padding-left: 24px;
  margin: 10px 0;
  color: #344455;
}

.hero-card li {
  color: #edf8fc;
}

.hero-card li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.67em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-2);
}

.section-head {
  max-width: 820px;
  margin-bottom: 36px;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
}

.grid {
  display: grid;
  gap: 24px;
}

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

.grid.choose-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(10, 31, 52, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.card-media {
  height: 215px;
  background: #f7f9fb;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.card-media.media-tight {
  padding: 8px;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.case-media img {
  object-fit: cover;
}

.card-body {
  padding: 24px;
}

.model-card .card-body {
  min-height: 220px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}

.tag {
  display: inline-flex;
  border: 1px solid #b8ddea;
  color: var(--brand);
  background: #f3fbfe;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 13px;
  font-weight: 750;
}

.card-body p {
  color: var(--muted);
  margin: 12px 0 18px;
}

.text-link {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

.product-hero {
  background: #123f63;
  border-bottom: 1px solid var(--line);
  color: #fff;
}

.product-hero .container {
  padding-top: 76px;
  padding-bottom: 68px;
}

.product-hero .lead,
.product-hero .breadcrumb {
  color: #d9eaf2;
}

.product-hero .hero-subtitle {
  color: #eef7fb;
  font-size: 20px;
  font-weight: 700;
  margin: 18px 0 0;
  max-width: 780px;
}

.product-hero .breadcrumb a {
  color: #9de1f4;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
  margin-bottom: 18px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--brand);
  text-decoration: none;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 46px;
  align-items: center;
}

.split > * {
  min-width: 0;
}

.feature-image {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.product-hero .feature-image {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  color: var(--ink);
}

.product-hero .feature-image img {
  width: 100%;
  max-height: 430px;
  object-fit: contain;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.spec-table th {
  width: 34%;
  background: #f8fafc;
  color: #26374a;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.catalog-block {
  align-items: start;
}

.catalog-copy p {
  color: var(--muted);
  margin: 16px 0 0;
}

.catalog-sheet {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 14px 32px rgba(10, 31, 52, 0.08);
  overflow-x: auto;
}

.catalog-sheet img {
  width: 100%;
  min-width: 820px;
  height: auto;
  border: 1px solid #eef1f4;
  border-radius: 4px;
}

.model-table th {
  width: auto;
  white-space: nowrap;
}

.model-table td {
  min-width: 120px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.table-wrap .spec-table {
  min-width: 760px;
}

.product-nav-grid {
  align-items: stretch;
}

.product-group-title {
  margin: 30px 0 16px;
  font-size: 24px;
}

.section-head + .product-group-title {
  margin-top: 0;
}

.dimension-figure {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 14px 32px rgba(10, 31, 52, 0.08);
}

.dimension-figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.note {
  color: var(--muted);
  font-size: 14px;
  margin-top: 12px;
}

.selection-table {
  margin-top: 26px;
  overflow-x: auto;
}

.selection-table:first-of-type {
  margin-top: 0;
}

.shaft-hero-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.shaft-hero-gallery figure,
.ring-gallery figure {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(217, 224, 231, 0.9);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.shaft-hero-gallery figure {
  min-height: 150px;
  padding: 16px;
}

.shaft-hero-gallery figure:first-child:nth-last-child(3),
.shaft-hero-gallery figure:first-child:nth-last-child(3) ~ figure {
  min-height: 138px;
}

.shaft-hero-gallery figure:first-child:nth-last-child(3) {
  grid-row: span 2;
}

.shaft-hero-gallery img {
  width: 100%;
  height: 100%;
  max-height: 340px;
  object-fit: contain;
}

.ring-gallery {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 12px;
}

.ring-gallery figure {
  aspect-ratio: 1 / 1;
  padding: 10px;
}

.ring-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.slip-ring-copy {
  margin-top: 34px;
  align-items: start;
}

.selection-note {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.selection-note p {
  color: var(--muted);
  margin: 12px 0 0;
}

.data-block + .data-block {
  margin-top: 34px;
}

.data-block h3 {
  font-size: 22px;
}

.cta-band {
  background: #132235;
  color: #fff;
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-band p {
  color: #d9e6f1;
  margin: 12px 0 0;
  max-width: 760px;
}

.site-footer {
  background: #0e1724;
  color: #dce6ef;
  padding: 58px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.95fr 0.9fr;
  gap: 34px;
}

.site-footer img {
  width: 210px;
  filter: brightness(0) invert(1);
}

.site-footer img.footer-logo {
  width: 250px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.footer-wordmark {
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
}

.footer-wordmark span {
  display: block;
  color: #63bfdc;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

.site-footer a {
  color: #dce6ef;
  text-decoration: none;
}

.site-footer ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.site-footer li {
  margin: 8px 0;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 38px;
  padding-top: 22px;
  color: #aab8c6;
  font-size: 14px;
}

.contact-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

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

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

label {
  display: block;
  font-weight: 750;
  margin-bottom: 7px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  font: inherit;
}

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

.notice {
  color: var(--muted);
  font-size: 14px;
  margin-top: 12px;
}

.post-list article {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.post-list article:first-child {
  padding-top: 0;
}

.post-list p {
  color: var(--muted);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 98px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 18px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    color: var(--ink);
  }

  .nav-item > a {
    padding: 12px 0;
    color: var(--ink);
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: 100%;
    box-shadow: none;
    border: 0;
    border-left: 3px solid var(--brand-2);
    margin-bottom: 8px;
  }

  .hero-inner,
  .split,
  .grid.four,
  .grid.choose-four,
  .grid.three,
  .grid.two,
  .footer-grid,
  .cta-band .container {
    grid-template-columns: 1fr;
  }

  .product-hero {
    background: #0f2f4b;
  }

  .hero-inner {
    min-height: auto;
    padding: 72px 0;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 31px;
  }

  .cta-band .container {
    display: grid;
  }

  .grid.choose-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 620px) {
  .nav,
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .logo img {
    width: 178px;
  }

  .logo.image-logo img {
    width: 220px;
  }

  .section {
    padding: 58px 0;
  }

  h1 {
    font-size: 34px;
  }

  .lead {
    font-size: 17px;
  }

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

  .card-media {
    height: 190px;
  }

  .grid.choose-four {
    grid-template-columns: 1fr;
  }

  .shaft-hero-gallery {
    grid-template-columns: 1fr;
  }

  .shaft-hero-gallery figure,
  .shaft-hero-gallery figure:first-child:nth-last-child(3),
  .shaft-hero-gallery figure:first-child:nth-last-child(3) ~ figure {
    min-height: 150px;
    grid-row: auto;
  }

  .ring-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .logo.image-logo {
    padding: 0;
  }

  .logo.image-logo img {
    width: 200px;
  }
}
