:root {
  --red: #b92f35;
  --red-dark: #822025;
  --ink: #1d2528;
  --muted: #687477;
  --line: #e7ecec;
  --soft: #f5f8f7;
  --paper: #ffffff;
  --teal: #1f7a78;
  --gold: #d8a039;
  --shadow: 0 18px 45px rgba(30, 38, 40, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  background: var(--paper);
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(12px);
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  padding: 8px 18px;
  color: #fff;
  background: var(--red);
  font-size: 14px;
}

.topbar a {
  text-decoration: none;
}

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

.brand img {
  width: 148px;
  height: auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.menu a {
  text-decoration: none;
  color: #283033;
}

.menu a:hover,
.menu a:focus {
  color: var(--red);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 6px;
  padding: 10px 12px;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
  gap: 42px;
  min-height: calc(100vh - 118px);
  padding: 72px max(24px, calc((100vw - 1180px) / 2)) 56px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(130, 32, 37, 0.9), rgba(31, 122, 120, 0.78)),
    url("../img/hero.jpg") center/cover;
  color: #fff;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(42px, 8vw, 92px);
  line-height: 0.98;
  font-weight: 800;
}

.hero p {
  max-width: 630px;
  margin: 22px 0 0;
  font-size: 20px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffe1a5;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--red);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.hero-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: center;
}

.hero-media img {
  padding: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.section {
  padding: 72px max(24px, calc((100vw - 1120px) / 2));
}

.section-title {
  max-width: 720px;
}

.section-title.centered {
  margin: 0 auto 34px;
  text-align: center;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.lead {
  max-width: 920px;
  margin: 22px 0 0;
  font-size: 22px;
  font-weight: 700;
}

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

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

.feature {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(30, 38, 40, 0.07);
}

.feature img {
  width: 100%;
}

.feature p {
  margin: 14px 0 0;
}

.groups {
  background: linear-gradient(180deg, #fff, #f6faf9);
}

.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tile {
  min-height: 112px;
  display: grid;
  place-items: center;
  padding: 20px;
  border-top: 4px solid var(--red);
  border-radius: 8px;
  background: #fff;
  text-align: center;
  font-weight: 800;
  box-shadow: 0 8px 28px rgba(30, 38, 40, 0.08);
}

.gallery {
  background: var(--ink);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.gallery figure {
  min-height: 190px;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #314145, #843034);
  cursor: zoom-in;
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  transition: transform 180ms ease, filter 180ms ease;
}

.gallery figure:hover img,
.gallery figure:focus-within img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.04);
}

.gallery-preview {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(12, 16, 17, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
}

.gallery-preview.is-visible {
  opacity: 1;
}

.gallery-preview img {
  max-width: min(86vw, 980px);
  max-height: 84vh;
  border: 8px solid #fff;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.pricing {
  background: #fff;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

th {
  color: #fff;
  background: var(--red-dark);
}

th span {
  font-size: 13px;
  font-weight: 500;
}

td:first-child,
th:first-child {
  text-align: left;
  font-weight: 800;
}

tbody tr:nth-child(even) {
  background: #fbf4f4;
}

.note {
  max-width: 940px;
  margin: 28px auto 0;
  color: var(--muted);
  text-align: center;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.contact-card {
  padding: 26px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(30, 38, 40, 0.08);
}

.contact-card p {
  margin: 0;
}

.contact-card a {
  color: var(--red-dark);
  font-weight: 800;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

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

input,
textarea {
  width: 100%;
  border: 1px solid #d8e0e1;
  border-radius: 6px;
  padding: 13px 14px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.contact-form .button {
  justify-self: start;
}

.footer {
  padding: 24px;
  color: #fff;
  background: #151a1c;
  text-align: center;
  font-size: 14px;
}

.footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .menu {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .menu.is-open {
    display: flex;
  }

  .menu a {
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
  }

  .menu a:last-child {
    border-bottom: 0;
  }

  .hero,
  .feature-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  .hero-media {
    max-width: 360px;
  }

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

@media (max-width: 560px) {
  .topbar {
    justify-content: flex-start;
    gap: 8px 18px;
  }

  .nav {
    padding-inline: 16px;
  }

  .brand img {
    width: 122px;
  }

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

  .hero p,
  .lead {
    font-size: 18px;
  }

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

  .feature img {
    width: 90px;
  }

  .tiles,
  .gallery-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }
}
