:root {
  --text: #1b2329;
  --muted: #5b666f;
  --brand: #e9583a;
  --brand-dark: #c4452f;
  --ink: #003366;
  --line: #d9e0e4;
  --footer-bg: #eef2f4;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Trebuchet MS", Verdana, sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
}

a {
  color: var(--ink);
}

a:hover,
a:focus-visible {
  color: var(--brand-dark);
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 190px;
  height: 56px;
  object-fit: contain;
  display: block;
}

.header-phone-text {
  color: #e9583a !important;
  -webkit-text-fill-color: #e9583a;
  font-family: "Arial Narrow", "Trebuchet MS", Arial, sans-serif;
  font-size: 2.05rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none !important;
  margin-left: auto;
  margin-right: 0.4rem;
}

.header-phone-text a {
  color: #e9583a !important;
  -webkit-text-fill-color: #e9583a;
  text-decoration: none !important;
  font-weight: inherit;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #b9c5cc;
  background: #ffffff;
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0;
}

.top-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 0.45rem 0.7rem;
  border: 1px solid transparent;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  border-color: #cfd8dd;
}

.top-nav a.is-active {
  border-color: var(--brand-dark);
  color: var(--brand-dark);
}

.header-crumb {
  border-top: 1px solid var(--line);
}

.header-crumb-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.4rem 1rem;
}

.breadcrumb {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.1rem 1rem 0;
}

.page-title {
  margin: 0;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.18;
  font-weight: 700;
}

.hero {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
}

.kicker {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lead {
  margin-top: 0.7rem;
  font-size: clamp(1.1rem, 2.1vw, 1.35rem);
  max-width: 62ch;
}

.cta-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.button {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 0.64rem 0.95rem;
  border: 1px solid var(--line);
}

.button-primary {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #ffffff;
}

.button-secondary {
  background: #ffffff;
  color: var(--ink);
}

.hero-media {
  margin-top: 0.5rem;
  max-width: 620px;
}

.product-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.product-list h3 {
  margin: 0;
  font-size: 1.16rem;
}

.product-list p {
  margin: 0.25rem 0 0;
}

.note {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.accordion {
  margin-top: 1.1rem;
}

.accordion-intro {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.accordion-controls {
  margin: 0 0 0.35rem;
}

.accordion-toggle-all {
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}

.accordion-toggle-all:hover,
.accordion-toggle-all:focus-visible {
  border-color: #b9c5cc;
}

.accordion details {
  border-top: 1px solid var(--line);
  padding: 0.35rem 0;
}

.accordion details:last-child {
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  padding: 0.35rem 0;
}

.accordion .accordion-body {
  padding: 0.1rem 0 0.5rem;
}

.accordion .accordion-body p,
.accordion .accordion-body ul {
  margin: 0.55rem 0;
}

.detail-grid {
  display: grid;
  gap: 1.2rem;
}

.tech-image-wrap {
  width: min(100%, 420px);
  margin: 0.35rem 0 1rem;
}

.tech-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.tech-clear {
  clear: both;
}

.form-grid {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.8rem;
  max-width: 680px;
}

.field {
  display: grid;
  gap: 0.3rem;
}

label {
  font-weight: 600;
}

input,
textarea {
  font: inherit;
  border: 1px solid #b8c3ca;
  padding: 0.62rem 0.7rem;
  color: var(--text);
  background: #ffffff;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.form-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  margin-top: 2rem;
  background: var(--footer-bg);
  border-top: 1px solid var(--line);
  color: #33404a;
  font-size: 0.95rem;
}

.site-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.85rem 1rem;
  text-align: center;
}

.site-footer p {
  margin: 0.2rem 0;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.25fr 1fr;
    align-items: start;
  }

  .detail-grid {
    grid-template-columns: 1.3fr 1fr;
  }

  .tech-image-wrap {
    float: left;
    width: min(42vw, 420px);
    margin: 0.35rem 1.2rem 0.9rem 0;
  }
}

@media (max-width: 820px) {
  .brand img {
    width: 165px;
    height: 48px;
  }

  .header-phone-text {
    font-size: 1.38rem;
    letter-spacing: 0.02em;
    margin-right: 0.3rem;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .top-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #ffffff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 0.45rem 0.75rem 0.7rem;
    gap: 0.2rem;
  }

  .top-nav.is-open {
    display: flex;
  }

  .top-nav a {
    padding: 0.55rem 0.2rem;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-bottom: 1px solid #edf2f4;
  }

  .top-nav a.is-active {
    border-bottom-color: var(--brand-dark);
  }

  .top-nav a:last-child {
    border-bottom: 0;
  }

  .tech-image-wrap {
    width: min(100%, 420px);
    margin: 0.45rem 0 0.9rem;
    float: none;
  }
}
