:root {
  --bg: #050505;
  --panel: #0b0b0a;
  --panel-soft: #12100d;
  --bone: #f4ead7;
  --muted: #c8bda9;
  --dim: #928673;
  --copper: #b76b24;
  --copper-dark: #6f3512;
  --line: rgba(183, 107, 36, 0.66);
  --line-soft: rgba(183, 107, 36, 0.28);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 0, rgba(183, 107, 36, 0.12), transparent 26rem),
    #030303;
  color: var(--bone);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.7)),
    url("../images/mockup/dark-texture.jpg?v=3") center / cover;
  opacity: 0.74;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 4px;
}

.shell {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.container {
  width: min(100% - 40px, 1120px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-soft);
  background:
    linear-gradient(rgba(5, 5, 5, 0.95), rgba(5, 5, 5, 0.95)),
    url("../images/mockup/header-texture.jpg") center / cover;
}

.nav-wrap {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: clamp(135px, 13.5vw, 170px);
  max-height: 78px;
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
}

.nav-links a {
  color: var(--bone);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(11px, 0.9vw, 13px);
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--copper);
}

.nav-links a[aria-current="page"]::after {
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 5px;
  background: var(--copper);
  content: "";
}

.button,
button.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 100%;
  border: 1px solid var(--copper);
  border-radius: 0;
  padding: 13px 28px;
  background: linear-gradient(180deg, #a65a1d, #74340f);
  color: var(--bone);
  cursor: pointer;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 19px;
  letter-spacing: 0.07em;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: normal;
  overflow-wrap: anywhere;
}

.button:hover {
  filter: brightness(1.12);
}

.button.ghost {
  background: rgba(0, 0, 0, 0.5);
}

.button.small {
  min-height: 42px;
  padding: 9px 13px;
  font-size: 12px;
}

.nav-links .button.small {
  min-height: 44px;
  padding: 10px 14px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--bone);
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  content: "";
}

.menu-toggle span::before {
  transform: translateY(-8px);
}

.menu-toggle span::after {
  transform: translateY(6px);
}

.hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
  background-position: center right;
  background-size: cover;
}

.hero.home {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.48) 54%, rgba(0, 0, 0, 0.08)),
    url("../images/backgrounds/home.jpg");
}

.hero.page {
  min-height: 360px;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.08)),
    var(--hero-image);
}

.hero-content {
  width: min(100% - 40px, 640px);
  margin-left: max(20px, calc((100vw - 1120px) / 2));
  padding: 46px 0;
}

.page .hero-content {
  max-width: 650px;
}

.kicker {
  color: var(--copper);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  color: var(--bone);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(2.25rem, 4vw, 3.6rem);
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.85rem);
}

h3 {
  font-size: clamp(1.16rem, 2vw, 1.45rem);
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

.lead {
  max-width: 630px;
  color: #fff6e8;
  font-size: 1.14rem;
}

.section {
  padding: 42px 0;
  border-bottom: 1px solid var(--line-soft);
}

.section.tight {
  padding: 26px 0;
}

.section-title {
  margin-bottom: 26px;
  text-align: center;
}

.section-title p {
  max-width: 720px;
  margin-inline: auto;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 10px auto 20px;
  color: var(--copper);
}

.divider::before,
.divider::after {
  width: 120px;
  height: 1px;
  background: var(--copper);
  content: "";
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}

.center-actions {
  justify-content: center;
}

.service-strip,
.why-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  text-align: center;
}

.mini-service,
.why-item {
  min-height: 120px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line-soft);
  padding: 12px;
}

.mini-service:last-child,
.why-item:last-child {
  border-right: 0;
}

.icon-mark {
  display: block;
  margin-bottom: 10px;
  color: var(--copper);
  font-size: 38px;
  line-height: 1;
}

.mini-service strong,
.why-item strong,
.card-label {
  display: block;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 17px;
  letter-spacing: 0.08em;
  line-height: 1.14;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.cards.four {
  grid-template-columns: repeat(4, 1fr);
}

.cards.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(183, 107, 36, 0.08), transparent 38%),
    rgba(5, 5, 5, 0.82);
}

.card img {
  width: 100%;
  aspect-ratio: 1.28 / 1;
  object-fit: cover;
  border-bottom: 1px solid var(--line-soft);
}

.card-body {
  padding: clamp(14px, 2vw, 18px);
}

.gallery-card .card-body {
  min-height: 88px;
  text-align: center;
}

.gallery-card h3 {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 22px);
}

.gallery-card .tag {
  display: block;
  color: var(--copper);
  font-family: Impact, "Arial Narrow", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-card {
  display: grid;
  grid-template-columns: 45% 1fr;
  min-height: 320px;
}

.service-card img {
  height: 100%;
  min-height: 300px;
  aspect-ratio: auto;
}

.service-card .number {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #a65a1d, #74340f);
  color: var(--bone);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 20px;
}

.service-card .card-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.service-card .card-body p {
  flex: 1;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
}

.filter-button {
  border: 1px solid var(--line);
  padding: 11px 18px;
  background: rgba(0, 0, 0, 0.62);
  color: var(--bone);
  cursor: pointer;
  font-family: Impact, "Arial Narrow", sans-serif;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.filter-button.is-active {
  background: linear-gradient(180deg, #a65a1d, #74340f);
}

.cta-band {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 24px;
  border-block: 1px solid var(--line-soft);
  min-height: 190px;
  padding: 34px 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.82)),
    var(--cta-image, url("../images/banners/home.jpg")) center / cover;
}

.cta-home { --cta-image: url("../images/banners/home.jpg"); }
.cta-services { --cta-image: url("../images/banners/services.jpg"); }
.cta-gallery { --cta-image: url("../images/banners/gallery.jpg"); }
.cta-about { --cta-image: url("../images/banners/about.jpg"); }
.cta-trophy-care { --cta-image: url("../images/banners/trophy-care.jpg"); }

.cta-band .container {
  display: contents;
}

.cta-copy {
  padding-left: max(20px, calc((100vw - 1120px) / 2));
}

.cta-button-wrap {
  padding-right: max(20px, calc((100vw - 1120px) / 2));
  text-align: center;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
}

.panel {
  min-height: 300px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: clamp(22px, 3vw, 32px);
  background: rgba(0, 0, 0, 0.58);
  min-width: 0;
}

.panel:nth-child(2n) {
  border-right: 0;
}

.panel.image {
  padding: 0;
}

.panel.image img {
  width: 100%;
  height: 100%;
  min-height: 285px;
  object-fit: cover;
}

.form-shell {
  border: 1px solid var(--line);
  padding: 30px;
  background: rgba(0, 0, 0, 0.72);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 28px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.span-2 {
  grid-column: span 2;
}

.field.full {
  grid-column: 1 / -1;
}

.bbe-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.human-check {
  border: 1px solid var(--line-soft);
  padding: 14px;
  background: rgba(24, 15, 9, 0.62);
}

.human-check-row {
  display: grid;
  grid-template-columns: auto minmax(90px, 150px);
  gap: 12px;
  align-items: center;
}

.human-check-row span {
  color: var(--bone);
  font-weight: 800;
}

.human-check small {
  color: var(--dim);
}

.turnstile-check {
  border: 1px solid var(--line-soft);
  padding: 14px;
  background: rgba(24, 15, 9, 0.62);
  overflow: hidden;
}

.turnstile-check small {
  color: var(--dim);
}

label,
legend {
  color: var(--bone);
  font-weight: 800;
}

fieldset {
  margin: 0;
  border: 0;
  padding: 0;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 14px;
  background: rgba(13, 11, 9, 0.86);
  color: var(--bone);
  font: inherit;
}

select option {
  background: #14110e;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.upload-box input {
  min-height: 150px;
  border-style: dashed;
}

.radio-group,
.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.radio-group label,
.checkbox-row label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-weight: 700;
}

.radio-group input,
.checkbox-row input {
  width: auto;
  min-height: auto;
  accent-color: var(--copper);
}

.form-message {
  display: none;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  color: var(--bone);
}

.form-message.is-visible {
  display: block;
}

.quick-contact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-top: 0;
}

.quick-contact a {
  display: grid;
  min-height: 86px;
  place-items: center;
  border-right: 1px solid var(--line-soft);
  background: rgba(32, 20, 12, 0.74);
  text-align: center;
  text-decoration: none;
}

.quick-contact a:last-child {
  border-right: 0;
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.care-card {
  display: grid;
  grid-template-columns: 38% 1fr;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.7);
}

.care-card img {
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.care-card .card-body {
  min-width: 0;
  padding: clamp(20px, 3vw, 28px);
}

.num {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-right: 10px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #a65a1d, #74340f);
  color: var(--bone);
}

.guide-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.guide-list li::marker {
  color: var(--copper);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.7);
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border: 0;
  padding: 20px;
  background: transparent;
  color: var(--bone);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.faq-question strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 2vw, 22px);
  text-transform: uppercase;
}

.faq-answer {
  display: none;
  padding: 0 20px 20px 70px;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  border: 1px solid var(--line);
}

.contact-layout > * {
  border-right: 1px solid var(--line-soft);
}

.contact-layout > *:last-child {
  border-right: 0;
}

.contact-stack {
  display: grid;
  gap: 24px;
  padding: 34px;
}

.contact-row {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
}

.round-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid var(--copper);
  border-radius: 50%;
  color: var(--copper);
  font-size: 26px;
}

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 44px 0 24px;
  background: rgba(0, 0, 0, 0.86);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.15fr 1.3fr;
  gap: 42px;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.inline-links a {
  border: 1px solid var(--line);
  padding: 9px 13px;
  background: rgba(24, 15, 9, 0.72);
  color: var(--bone);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 13px;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.inline-links a:hover {
  color: var(--copper);
}

.footer-brand img {
  width: min(100%, 220px);
  max-height: 170px;
  object-fit: contain;
  margin-bottom: 18px;
}

.footer-links {
  display: grid;
  gap: 5px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--copper);
}

.socials {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}

.socials a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--copper);
  color: #080604;
  font-weight: 900;
  text-decoration: none;
}

.copyright {
  margin-top: 30px;
  color: var(--dim);
  text-align: center;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 55;
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--bone);
}

.back-to-top.is-visible {
  display: block;
}

body.admin-bar .site-header {
  top: 32px;
}

.mobile-action-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.96);
  box-shadow: 0 -12px 28px rgba(0, 0, 0, 0.35);
}

.mobile-action-bar a {
  padding: 13px 10px;
  border-right: 1px solid var(--line-soft);
  color: var(--bone);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.mobile-action-bar a:last-child {
  border-right: 0;
  background: linear-gradient(180deg, var(--bronze), var(--rust));
}

@media (max-width: 1100px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: #050505;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a,
  .nav-links .button {
    padding: 16px 24px;
    border-top: 1px solid var(--line-soft);
  }

  .cards,
  .cards.four,
  .faq-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .field.span-2 {
    grid-column: auto;
  }

  .human-check-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  body {
    padding-bottom: 51px;
  }

  body.admin-bar .site-header {
    top: 46px;
  }

  .mobile-action-bar {
    display: grid;
  }

  .container {
    width: min(100% - 28px, 1120px);
  }

  .nav-wrap {
    min-height: 78px;
  }

  .brand img {
    width: 148px;
    max-height: 70px;
  }

  .hero,
  .hero.page {
    min-height: 520px;
  }

  .hero-content {
    width: min(100% - 28px, 700px);
    margin-inline: auto;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3rem);
  }

  .service-strip,
  .why-strip,
  .quick-contact {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards,
  .cards.four,
  .cards.two,
  .panel-grid,
  .care-grid,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .care-card,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .service-card img,
  .care-card img {
    min-height: 220px;
  }

  .cta-copy,
  .cta-button-wrap {
    padding-inline: 20px;
  }
}
