@font-face {
  font-family: "WH Condensed";
  src: local("DIN Condensed Bold"), local("DINCondensed-Bold");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #17130e;
  --timber: #6b471e;
  --honey: #cf9337;
  --cream: #f5eee2;
  --paper: #fffaf1;
  --glass: rgba(250, 246, 238, 0.79);
  --line: rgba(80, 53, 24, 0.18);
  --display: "WH Condensed", "Arial Narrow", Impact, sans-serif;
  --body: Avenir, "Avenir Next", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

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

svg {
  display: block;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon-sprite symbol,
.feature-card svg,
.button svg,
.trust-item svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 760px;
  height: 100svh;
  overflow: hidden;
  background: var(--cream);
}

.hero__visual {
  position: absolute;
  z-index: -3;
  inset: 0;
}

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

.hero__visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(0deg, rgba(36, 23, 9, 0.11), transparent 21%);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1536px;
  margin: 0 auto;
  padding: clamp(42px, 5.4vh, 56px) clamp(32px, 3.4vw, 56px) 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: max-content;
}

.brand__mark {
  width: 74px;
  height: 67px;
  color: #513716;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.brand__mark .brand__dog {
  fill: currentColor;
  stroke: none;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-transform: uppercase;
}

.brand__text strong {
  font-size: clamp(22px, 2vw, 29px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.brand__text strong span {
  color: #5e3d18;
}

.brand__text small {
  font-size: clamp(8px, 0.75vw, 11px);
  font-weight: 600;
  letter-spacing: 0.015em;
}

.header-contact {
  display: none;
  padding: 10px 14px;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background: rgba(23, 19, 14, 0.23);
  backdrop-filter: blur(9px);
  transition: background-color 180ms ease, transform 180ms ease;
}

.header-contact svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.header-contact:hover {
  background: rgba(23, 19, 14, 0.55);
  transform: translateY(-2px);
}

.header-contact span {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.header-contact small {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.header-contact strong {
  font-size: 15px;
  letter-spacing: 0.02em;
}

.hero__body {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1536px;
  margin: 0 auto;
  padding: 12px clamp(32px, 3.4vw, 56px) 152px;
}

.hero__copy {
  width: min(43vw, 660px);
}

.hero h1 {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(60px, 4.45vw, 72px);
  font-weight: 700;
  line-height: 0.91;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.hero h1 span {
  margin-top: 8px;
  color: var(--honey);
}

.hero__subtitle {
  max-width: 455px;
  margin: 14px 0 0;
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.features {
  display: grid;
  gap: 1px;
  width: min(100%, 352px);
  margin-top: clamp(20px, 2.5vh, 28px);
  overflow: hidden;
  border: 0;
  border-radius: 13px;
  background: transparent;
  box-shadow: 0 18px 40px rgba(54, 36, 15, 0.11);
}

.feature-card {
  display: grid;
  grid-template-columns: 49px 1fr;
  align-items: center;
  min-height: 74px;
  padding: 9px 14px 9px 11px;
  background: linear-gradient(90deg, rgba(255, 252, 246, 0.94) 0%, rgba(250, 246, 238, 0.76) 62%, rgba(250, 246, 238, 0) 100%);
  backdrop-filter: none;
}

.feature-card svg {
  width: 34px;
  height: 34px;
  color: #725022;
}

.feature-card strong,
.feature-card p {
  margin: 0;
}

.feature-card strong {
  display: block;
  font-size: 13px;
  line-height: 1.17;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.feature-card p {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.2;
}

.actions {
  display: grid;
  grid-template-columns: minmax(0, 342px) minmax(0, 292px);
  gap: 20px;
  width: min(100%, 654px);
  margin-top: clamp(20px, 2.5vh, 27px);
}

.button {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  min-height: 90px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button svg {
  width: 39px;
  height: 39px;
}

.button span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.button strong {
  font-size: 15px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.button small {
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}

.button--primary {
  color: #1d1408;
  background: linear-gradient(135deg, #dca747, #bd7926);
  box-shadow: 0 14px 28px rgba(132, 79, 17, 0.23);
}

.button--primary:hover {
  box-shadow: 0 17px 34px rgba(132, 79, 17, 0.31);
}

.button--secondary {
  color: #fff;
  border-color: rgba(218, 166, 75, 0.48);
  background: rgba(20, 18, 14, 0.93);
  box-shadow: 0 14px 28px rgba(21, 15, 8, 0.16);
}

.button--secondary:hover {
  background: #17130e;
}

.trust-strip {
  position: absolute;
  right: clamp(32px, 3.4vw, 56px);
  bottom: clamp(22px, 3vh, 32px);
  left: clamp(32px, 3.4vw, 56px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 104px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 15px;
  background: rgba(249, 246, 239, 0.9);
  box-shadow: 0 18px 55px rgba(20, 14, 7, 0.2);
  backdrop-filter: blur(15px) saturate(115%);
  animation: rail-arrive 780ms 120ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.trust-item {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 14px;
  padding: 19px clamp(18px, 2.35vw, 36px);
}

.trust-item + .trust-item::before {
  position: absolute;
  top: 22%;
  bottom: 22%;
  left: 0;
  width: 1px;
  content: "";
  background: rgba(86, 62, 31, 0.3);
}

.trust-item svg {
  width: 49px;
  height: 49px;
  color: #76531f;
}

.trust-item div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trust-item strong {
  font-size: clamp(11px, 1vw, 15px);
  line-height: 1.15;
  text-transform: uppercase;
}

.trust-item span {
  font-size: clamp(10px, 0.92vw, 14px);
  line-height: 1.2;
}

a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--timber);
}

@keyframes hero-arrive {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rail-arrive {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .hero::before {
    background: linear-gradient(0deg, rgba(36, 23, 9, 0.12), transparent 21%);
  }

  .hero__copy {
    width: min(44vw, 520px);
  }

  .trust-item {
    grid-template-columns: 42px 1fr;
    gap: 8px;
    padding-inline: 15px;
  }

  .trust-item svg {
    width: 39px;
    height: 39px;
  }
}

@media (max-height: 840px) and (min-width: 721px) {
  .hero__body {
    padding-top: 8px;
    padding-bottom: 126px;
  }

  .hero h1 {
    font-size: clamp(54px, 4.8vw, 68px);
  }

  .hero__subtitle {
    margin-top: 12px;
    font-size: clamp(17px, 1.38vw, 21px);
  }

  .features {
    margin-top: 14px;
  }

  .feature-card {
    min-height: 52px;
  }

  .feature-card svg {
    width: 29px;
    height: 29px;
  }

  .actions {
    margin-top: 15px;
  }

  .button {
    min-height: 65px;
  }

  .trust-strip {
    min-height: 86px;
    bottom: 18px;
  }

  .trust-item {
    padding-block: 13px;
  }
}

@media (max-width: 720px) {
  .hero {
    display: block;
    height: auto;
    min-height: max(760px, 100svh);
    overflow: hidden;
    background: var(--cream);
  }

  .hero__visual {
    inset: 0 0 auto;
    height: clamp(500px, 68svh, 580px);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 68%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 68%, transparent 100%);
  }

  .hero__visual img {
    object-position: 64% center;
  }

  .hero::before {
    z-index: -2;
    background: linear-gradient(90deg, rgba(255, 248, 236, 0.14), transparent 52%);
  }

  .site-header {
    position: relative;
    z-index: 2;
    padding: 17px 18px 0;
  }

  .header-contact {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--ink);
    border-color: rgba(255, 255, 255, 0.52);
    background: rgba(255, 250, 241, 0.72);
    box-shadow: 0 8px 26px rgba(25, 17, 9, 0.1);
    backdrop-filter: none;
  }

  .header-contact span {
    display: none;
  }

  .brand {
    gap: 9px;
    padding: 7px 9px 7px 7px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 9px;
    background: rgba(255, 250, 241, 0.69);
    box-shadow: 0 8px 26px rgba(25, 17, 9, 0.1);
    backdrop-filter: blur(9px);
  }

  .brand__mark {
    width: 40px;
    height: 37px;
    stroke-width: 5.5;
  }

  .brand__text {
    gap: 1px;
  }

  .brand__text strong {
    font-size: 17px;
  }

  .brand__text small {
    font-size: 6.4px;
  }

  .hero__body {
    display: block;
    padding: clamp(230px, 34svh, 290px) 18px 0;
  }

  .hero__copy {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .hero h1 {
    color: #fffaf1;
    font-size: clamp(42px, 12.7vw, 54px);
    line-height: 0.86;
    text-shadow: 0 2px 14px rgba(20, 13, 6, 0.58);
  }

  .hero h1 span {
    margin-top: 8px;
    text-shadow: 0 2px 14px rgba(20, 13, 6, 0.48);
  }

  .hero__subtitle {
    max-width: 360px;
    margin-top: 12px;
    font-size: clamp(14px, 3.9vw, 16px);
    line-height: 1.25;
  }

  .features {
    order: 2;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    width: 100%;
    margin-top: 10px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .feature-card {
    grid-template-columns: 24px 1fr;
    min-height: 64px;
    padding: 7px 8px;
    border: 1px solid rgba(255, 255, 255, 0.66);
    border-radius: 8px;
    background: rgba(255, 251, 244, 0.73);
    box-shadow: 0 7px 20px rgba(51, 34, 14, 0.08);
    backdrop-filter: none;
  }

  .feature-card svg {
    width: 21px;
    height: 21px;
  }

  .feature-card strong {
    font-size: clamp(10px, 2.75vw, 11.5px);
    line-height: 1.11;
  }

  .feature-card p {
    display: none;
  }

  .actions {
    order: 1;
    gap: 7px;
    width: 100%;
    margin-top: 14px;
  }

  .button {
    grid-template-columns: 27px 1fr;
    min-height: 60px;
    padding: 8px 9px;
    border-radius: 9px;
  }

  .button svg {
    width: 24px;
    height: 24px;
  }

  .button strong {
    font-size: clamp(10.5px, 2.9vw, 12px);
  }

  .button small {
    font-size: clamp(9px, 2.3vw, 10px);
    white-space: normal;
  }

  .trust-strip {
    position: relative;
    inset: auto;
    grid-template-columns: 1fr 1fr;
    min-height: 0;
    margin: 10px 18px 0;
    border-radius: 11px;
    animation-delay: 80ms;
    backdrop-filter: none;
  }

  .trust-item {
    grid-template-columns: 30px 1fr;
    gap: 7px;
    min-width: 0;
    padding: 10px;
  }

  .trust-item:nth-child(2)::before {
    top: 16%;
    bottom: 16%;
  }

  .trust-item:nth-child(3)::before {
    display: none;
  }

  .trust-item:nth-child(n + 3)::after {
    position: absolute;
    top: 0;
    right: 10px;
    left: 10px;
    height: 1px;
    content: "";
    background: rgba(86, 62, 31, 0.18);
  }

  .trust-item svg {
    width: 29px;
    height: 29px;
  }

  .trust-item div {
    min-width: 0;
    gap: 2px;
  }

  .trust-item strong {
    font-size: clamp(10px, 2.65vw, 11px);
    white-space: normal;
  }

  .trust-item span {
    font-size: clamp(9px, 2.35vw, 10px);
    white-space: normal;
  }
}

@media (max-width: 720px) and (max-height: 720px) {
  .hero__visual {
    height: 470px;
  }

  .hero__body {
    padding-top: 205px;
  }

  .hero h1 {
    font-size: clamp(38px, 11.8vw, 46px);
  }

  .features {
    margin-top: 8px;
  }
}

@media (max-width: 360px) {
  .hero__body {
    padding-inline: 14px;
  }

  .trust-strip {
    margin-inline: 14px;
  }

  .brand__text small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
