:root {
  --ink: #203039;
  --muted: #6f7772;
  --river: #276f8f;
  --river-dark: #164b61;
  --sage: #8fa188;
  --clay: #bd6449;
  --cream: #fbf3e7;
  --paper: #fffaf2;
  --white: #ffffff;
  --line: #eadfcf;
  --shadow: 0 22px 58px rgba(32, 48, 57, 0.12);
  --display: "Trebuchet MS", Arial, sans-serif;
  --body: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  background: var(--paper);
  line-height: 1.58;
}

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

a {
  color: inherit;
}

.topbar {
  background: var(--river-dark);
  color: #fff;
  font-size: 13px;
}

.topbar-inner,
.nav,
.wrap {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.topbar-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.94);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 220px;
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  gap: 5px;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 4px;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  background: #efe6d7;
  color: var(--river-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(255, 250, 242, 0.98) 0%, rgba(255, 250, 242, 0.88) 46%, rgba(143, 161, 136, 0.22) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -150px;
  width: 520px;
  height: 520px;
  border: 70px solid rgba(39, 111, 143, 0.11);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: center;
  min-height: 610px;
  padding: 62px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.08;
}

h1 {
  max-width: 700px;
  margin-bottom: 20px;
  font-size: clamp(42px, 6.2vw, 76px);
}

h2 {
  font-size: clamp(30px, 4vw, 50px);
}

h3 {
  font-size: 23px;
}

.lead {
  max-width: 610px;
  color: var(--muted);
  font-size: 18px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px 28px 4px 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.hero-label {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
}

.hero-label strong {
  display: block;
  color: var(--river-dark);
}

.hero-label span {
  color: var(--muted);
  font-size: 13px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 2px solid var(--river);
  border-radius: 999px;
  background: var(--river);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--river);
}

.section {
  padding: 76px 0;
}

.section.alt {
  background: #f4ecdf;
  border-block: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(280px, 1.15fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 34px;
}

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

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

.product-card {
  display: grid;
  grid-template-rows: 245px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px 18px 4px 18px;
  background: var(--white);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(32, 48, 57, 0.06);
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(32, 48, 57, 0.12);
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.tag {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef4e8;
  color: #51683f;
  font-size: 12px;
  font-weight: 900;
}

.price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.price-line strong {
  color: var(--river-dark);
  font-size: 22px;
}

.price-line span {
  color: var(--clay);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.three-up {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px 24px 4px 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.note {
  padding: 28px;
  border-right: 1px solid var(--line);
}

.note:last-child {
  border-right: 0;
}

.page-hero {
  padding: 68px 0 44px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #fffaf2, #f1eadc);
}

.page-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.catalog-list {
  display: grid;
  gap: 18px;
}

.catalog-row {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px 20px 4px 20px;
  background: var(--white);
  color: inherit;
  text-decoration: none;
}

.catalog-row img {
  width: 280px;
  height: 176px;
  border-radius: 14px 14px 4px 14px;
  object-fit: cover;
}

.catalog-row p {
  margin-bottom: 0;
  color: var(--muted);
}

.catalog-price {
  min-width: 120px;
  color: var(--river-dark);
  font-size: 22px;
  font-weight: 900;
  text-align: right;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 48px;
  align-items: start;
  padding: 64px 0;
}

.detail-image {
  position: sticky;
  top: 108px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px 28px 4px 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.detail-image img {
  width: 100%;
  height: 550px;
  object-fit: cover;
}

.detail-info h1 {
  font-size: clamp(38px, 5vw, 66px);
}

.model-box {
  display: grid;
  margin: 26px 0;
  border: 1px solid var(--line);
  border-radius: 16px 16px 4px 16px;
  background: var(--white);
}

.model-box div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
}

.model-box div:last-child {
  border-bottom: 0;
}

.model-box span {
  color: var(--muted);
}

.detail-price {
  margin: 0 0 20px;
  color: var(--river-dark);
  font-size: 34px;
  font-weight: 900;
}

.detail-copy-box {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px 16px 4px 16px;
  background: var(--white);
}

.specs {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.specs li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 42px;
  align-items: start;
}

.panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px 24px 4px 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
}

.contact-list div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.contact-list span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.policy {
  max-width: 850px;
}

.policy h2 {
  margin-top: 32px;
  font-size: 26px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--river-dark);
  color: #fff;
}

.footer-inner {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-inner img {
  width: 185px;
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(1.8);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
}

@media (max-width: 900px) {
  .topbar-inner,
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
  }

  .hero-grid,
  .section-head,
  .detail-layout,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 42px 0;
  }

  .product-grid,
  .three-up {
    grid-template-columns: 1fr;
  }

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

  .note:last-child {
    border-bottom: 0;
  }

  .catalog-row {
    grid-template-columns: 1fr;
  }

  .catalog-row img {
    width: 100%;
    height: auto;
  }

  .catalog-price {
    text-align: left;
  }

  .detail-image {
    position: static;
  }

  .detail-image img {
    height: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .topbar-inner,
  .nav,
  .wrap,
  .footer-inner {
    width: min(100% - 24px, 1160px);
  }

  .brand img {
    width: 176px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-card img {
    height: 300px;
  }
}
