@font-face {
  font-family: "Open Sans";
  src: url("open-sans-extra-bold-italic.woff") format("woff");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: Arial, sans-serif;
  background: #eef2f7;
  color: #101c34;
}

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

.page {
  --gutter: clamp(12px, 3vw, 32px);
  display: grid;
  grid-template-rows: minmax(210px, 1fr) auto;
  gap: clamp(8px, 2vh, 18px);
  width: min(1160px, calc(100% - 2 * var(--gutter)));
  min-height: 310px;
  height: min(100vh, 720px);
  height: min(100svh, 720px);
  margin: 0 auto;
  padding: clamp(10px, 3vh, 32px) 0;
}

.hero {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  overflow: hidden;
  border-radius: clamp(14px, 2vw, 26px);
  background: #101c34;
  box-shadow: 0 14px 34px #15274324;
}

.intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(18px, 4vw, 52px);
  color: #fff;
}

.location {
  margin: 0 0 clamp(10px, 2vh, 22px);
  color: #ced9ee;
  font-size: clamp(.68rem, 1.5vw, .82rem);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  align-self: flex-start;
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.65rem, 4.15vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

h1 span {
  display: inline-block;
  margin-top: .1em;
  padding: .05em .23em .13em;
  border-radius: .18em;
  background: #c81019;
  color: #fff;
}

.photo { position: relative; min-width: 0; background: #37485a; }
.photo img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% center;
}

.brands {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: clamp(5px, 1vh, 12px) 0;
  border: 1px solid #dce4ee;
  border-radius: 16px;
  background: #fff;
}

.brands li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: clamp(50px, 11vh, 86px);
  padding: 4px clamp(5px, 2vw, 20px);
}

.brands li + li { border-left: 1px solid #e2e8f0; }
.brands img { display: block; max-width: 100%; height: clamp(29px, 7vh, 58px); object-fit: contain; }
.brands li:last-child img { height: clamp(22px, 5vh, 42px); }
.brands span { color: #4b5870; font-size: clamp(.59rem, 1.7vw, .75rem); font-weight: 700; }

@media (max-width: 720px) and (orientation: portrait), (max-width: 560px) {
  .page {
    height: min(100vh, 650px);
    height: min(100svh, 650px);
  }

  .hero { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .intro { padding: clamp(16px, 4vh, 34px) 18px; }
  h1 { font-size: clamp(1.55rem, min(8.1vw, 8vh), 3.3rem); }
  .photo img { object-position: 55% 43%; }
}

@media (max-height: 370px) and (orientation: landscape) {
  .page { min-height: 235px; grid-template-rows: minmax(145px, 1fr) auto; }
  .intro { padding-block: 8px; }
  h1 { font-size: clamp(1.25rem, min(4.15vw, 10vh), 2.5rem); }
}
