:root {
  --bg: #ffffff;
  --paper: #f6f8fa;
  --panel: #ffffff;
  --ink: #071a33;
  --muted: #5f6d7a;
  --line: #d8dee5;
  --accent: #df3328;
  --accent-dark: #b9231a;
  --navy: #102947;
  --shadow: 0 18px 50px rgba(12, 30, 50, 0.12);
  --radius: 8px;
  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;
  background: var(--bg);
  color: var(--ink);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.brand-mark svg {
  width: 26px;
  height: 26px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand strong {
  font-size: 16px;
  letter-spacing: 0.02em;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav a {
  padding-block: 9px;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a:focus-visible {
  border-color: var(--accent);
}

.header-cta,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(223, 51, 40, 0.22);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
}

.header-cta:hover,
.primary-button:hover {
  background: var(--accent-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(430px, 0.85fr);
  min-height: min(780px, calc(100vh - 78px));
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  background: #eef3f7;
}

.hero-media::after {
  position: absolute;
  inset: 0 0 0 auto;
  width: 35%;
  content: "";
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 86%);
  pointer-events: none;
}

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

.hero-panel {
  align-self: center;
  padding: clamp(28px, 4vw, 52px) clamp(24px, 3.5vw, 48px);
}

.sale-label {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 580px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 4.5vw, 62px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
}

.identity {
  margin: 14px 0 24px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 700;
}

.price {
  margin: 0;
  color: var(--accent);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  line-height: 1;
}

.price span {
  font-size: 22px;
}

.price-note,
.serious {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.spec-list,
.details-table {
  margin: 28px 0;
}

.spec-list div,
.details-table div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

dd {
  margin: 0;
  color: #243447;
  font-size: 14px;
  font-weight: 650;
  text-align: right;
}

.serious {
  margin: 14px 0 0;
  text-align: center;
}

.section {
  padding: clamp(38px, 6vw, 78px) clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.section-tight {
  padding-top: 28px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  max-width: 1320px;
  margin: 0 auto 24px;
}

.section-heading-simple {
  align-items: start;
  margin-bottom: 18px;
}

.section h2,
.gallery-dialog h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading p,
.contact-copy p {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.text-button {
  min-height: 42px;
  padding: 0;
  color: var(--accent);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.photo-grid,
.dialog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1320px;
  margin: 0 auto;
}

.photo-tile {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 200ms ease;
}

.photo-tile:hover img {
  transform: scale(1.025);
}

.photo-tile span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 7px 9px;
  color: #fff;
  background: rgba(7, 26, 51, 0.82);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 850;
}

.media-section {
  background: #fbfcfd;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1320px;
  margin: 0 auto;
}

.video-grid-single {
  grid-template-columns: minmax(0, 900px);
  justify-content: center;
}

.video-card h3 {
  margin: 12px 0 0;
  color: var(--navy);
  font-size: 16px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  background: #0b1522;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow);
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-frame iframe,
.video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-link::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(7, 26, 51, 0.08), rgba(7, 26, 51, 0.42));
}

.play-button {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 1;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  color: #fff;
  background: rgba(223, 51, 40, 0.94);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
}

.play-button svg {
  width: 44px;
  height: 44px;
}

.watch-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 9px 11px;
  color: #fff;
  background: rgba(7, 26, 51, 0.82);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(360px, 1fr);
  gap: clamp(34px, 6vw, 82px);
  max-width: 1420px;
  margin: 0 auto;
}

.document-list {
  display: grid;
  gap: 10px;
}

.document-list a {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 66px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.document-list a:hover {
  border-color: var(--accent);
}

.doc-icon {
  display: grid;
  width: 38px;
  height: 44px;
  place-items: center;
  color: var(--accent);
  border: 1px solid #efb8b4;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 950;
}

.document-list strong,
.document-list small {
  display: block;
}

.document-list strong {
  color: var(--navy);
  font-size: 15px;
}

.document-list small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.details-table {
  margin-top: 8px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.52fr) minmax(400px, 1fr);
  gap: clamp(34px, 6vw, 80px);
  max-width: 1420px;
  margin: 0 auto;
}

.contact-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
}

.contact-methods {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.contact-methods a,
.contact-methods p {
  margin: 0;
  padding-left: 18px;
  border-left: 3px solid var(--accent);
}

.contact-methods strong,
.contact-methods span {
  display: block;
}

.contact-methods strong {
  color: var(--navy);
  font-size: 18px;
}

.contact-methods span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cbd4dd;
  border-radius: 5px;
  font: inherit;
  font-size: 15px;
}

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

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(223, 51, 40, 0.16);
  border-color: var(--accent);
}

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

.form-note {
  align-self: center;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.gallery-dialog {
  width: min(1120px, calc(100vw - 28px));
  max-height: min(880px, calc(100vh - 28px));
  padding: 22px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.26);
}

.gallery-dialog::backdrop {
  background: rgba(7, 26, 51, 0.62);
}

.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.icon-button svg {
  width: 22px;
  height: 22px;
}

.dialog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(18px, 4vw, 48px);
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    align-items: start;
    flex-wrap: wrap;
    gap: 14px;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    gap: 22px;
    padding-bottom: 3px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-media {
    min-height: 420px;
  }

  .hero-media::after {
    display: none;
  }

  .hero-panel {
    padding-top: 34px;
  }

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

  .video-grid,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand {
    min-width: 0;
  }

  .nav {
    gap: 16px;
    font-size: 12px;
  }

  .nav a {
    flex: 0 0 auto;
  }

  .header-cta {
    width: 100%;
  }

  .hero-media {
    min-height: 300px;
  }

  .hero-panel,
  .section {
    padding-inline: 16px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .price {
    font-size: 34px;
  }

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

  .photo-grid,
  .dialog-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .spec-list div,
  .details-table div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  dd {
    text-align: left;
  }

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