@font-face {
  font-family: "Gilroy";
  font-style: normal;
  font-weight: 300;
  src: url("https://static.tildacdn.com/tild6237-3732-4835-a661-303033663666/Gilroy-Light.woff") format("woff");
}

@font-face {
  font-family: "Gilroy";
  font-style: normal;
  font-weight: 400;
  src: url("https://static.tildacdn.com/tild3766-3635-4339-b131-353232653133/Gilroy-Regular.woff") format("woff");
}

@font-face {
  font-family: "Gilroy";
  font-style: normal;
  font-weight: 600;
  src: url("https://static.tildacdn.com/tild3934-3434-4466-b363-663236373039/Gilroy-Semibold.woff") format("woff");
}

@font-face {
  font-family: "Gilroy";
  font-style: normal;
  font-weight: 700;
  src: url("https://static.tildacdn.com/tild3134-3731-4833-a431-356161613035/Gilroy-Bold.woff") format("woff");
}

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

:root {
  --page: #1b2432;
  --paper: #f8f8f8;
  --ink: #050505;
  --cream: #f4e4ba;
  --button: radial-gradient(circle at center, #f4f2ed 0%, #f4e4ba 65%);
  --container: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--page);
  color: #fff;
  font-family: "Gilroy", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 790px;
  overflow: hidden;
  background: var(--page);
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media {
  background-image: url("../assets/images/lagorossa_photo_02.png");
  background-position: center center;
  background-size: cover;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.56) 0%, rgba(0, 0, 0, 0.41) 63%, rgba(0, 0, 0, 0) 100%),
    rgba(0, 0, 0, 0.28);
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 109px;
}

.hero__tag {
  display: inline-flex;
  min-width: 356px;
  min-height: 55px;
  align-items: center;
  padding: 10px 21px;
  border-radius: 15px;
  background: #525252;
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.55;
}

.hero h1 {
  max-width: 1055px;
  margin-top: 24px;
  color: #fff;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.hero__lead {
  max-width: 797px;
  margin-top: 33px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 55px;
  border: 0;
  border-radius: 15px;
  background-image: var(--button);
  color: #000;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    filter 180ms ease,
    transform 180ms ease;
}

.button:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.button--hero {
  width: 356px;
  margin-top: 55px;
}

.intro,
.features,
.lead-section {
  background: var(--page);
}

.intro {
  padding-top: 50px;
}

.intro__panel {
  display: grid;
  grid-template-columns: 580px 1fr;
  gap: 30px;
  min-height: 550px;
  padding: 20px;
  border-radius: 15px;
  background: var(--paper);
  color: var(--ink);
}

.intro__panel > img {
  width: 100%;
  height: 510px;
  border-radius: 15px;
  object-fit: cover;
  object-position: center;
}

.intro__cards {
  display: grid;
  gap: 20px;
}

.intro-card {
  min-height: 162px;
  padding: 24px 30px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
}

.intro-card h2,
.feature-card h3 {
  color: #000;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.intro-card p {
  margin-top: 10px;
  color: #000;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
}

.features {
  padding-top: 91px;
}

.section-title {
  max-width: 1180px;
  color: #fff;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 65px 60px;
  margin-top: 30px;
  padding-inline: 30px;
}

.feature-card {
  min-height: 522px;
  padding: 20px;
  border-radius: 15px;
  background: var(--paper);
  color: #000;
}

.feature-card img {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  object-fit: cover;
}

.feature-card h3 {
  margin-top: 25px;
}

.feature-card p {
  margin-top: 20px;
  color: #000;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

.lead-section {
  padding-top: 108px;
  padding-bottom: 60px;
}

.lead-panel {
  display: grid;
  grid-template-columns: 700px 1fr;
  gap: 20px;
  min-height: 520px;
  padding: 20px;
  border-radius: 15px;
  background: var(--paper);
  color: #000;
}

.lead-panel > img {
  width: 100%;
  height: 480px;
  border-radius: 15px;
  object-fit: cover;
}

.lead-panel__content {
  min-width: 0;
}

.lead-panel h2 {
  color: #000;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.lead-panel ul {
  margin: 20px 0 23px;
  padding-left: 20px;
  color: #000;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.55;
}

.lead-panel__form {
  display: grid;
  gap: 20px;
}

.lead-form__field {
  display: block;
}

.lead-form__field input {
  width: 100%;
  height: 50px;
  padding: 0 21px;
  border: 1px solid var(--cream);
  border-radius: 15px;
  background: #fff;
  color: #000;
  font-size: 16px;
  font-weight: 400;
  outline: none;
}

.lead-form__field input::placeholder {
  color: #777;
}

.lead-form__field--phone {
  position: relative;
}

.lead-form__field--phone input {
  padding-left: 62px;
}

.flag {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 20px;
  width: 20px;
  height: 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: linear-gradient(#fff 0 33.33%, #0039a6 33.33% 66.66%, #d52b1e 66.66%);
  transform: translateY(-50%);
}

.button--form {
  width: 100%;
  min-height: 50px;
}

.lead-form__status {
  min-height: 0;
  color: #0e6b3f;
  font-size: 12px;
  line-height: 1.35;
}

.lead-form__note {
  margin-top: -12px;
  color: #000;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.55;
}

.lead-form__note a {
  color: #ff8562;
}

.footer {
  min-height: 80px;
  padding: 10px 20px;
  background: var(--page);
  color: #fff;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.25;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1199px) {
  .container {
    width: min(100% - 40px, 960px);
  }

  .hero h1 {
    max-width: 960px;
    font-size: 43px;
  }

  .intro__panel {
    grid-template-columns: 460px 1fr;
  }

  .lead-panel {
    grid-template-columns: 460px 1fr;
  }
}

@media (max-width: 959px) {
  .container {
    width: min(100% - 40px, 640px);
  }

  .hero {
    min-height: 720px;
  }

  .hero__media {
    inset: 0 0 auto;
    height: 372px;
  }

  .hero__shade {
    background: linear-gradient(180deg, rgba(27, 36, 50, 0) 0%, #1b2432 51%);
  }

  .hero__inner {
    padding-top: 383px;
  }

  .hero__tag {
    min-width: auto;
    min-height: 1px;
    padding: 0;
    background: transparent;
    font-size: 20px;
  }

  .hero h1 {
    margin-top: 31px;
    font-size: 26px;
  }

  .hero__lead {
    margin-top: 31px;
    font-size: 20px;
  }

  .button--hero {
    width: 100%;
    max-width: 356px;
    margin-top: 33px;
  }

  .intro__panel,
  .lead-panel {
    grid-template-columns: 1fr;
  }

  .intro__panel > img,
  .lead-panel > img {
    height: auto;
    aspect-ratio: 1.25;
  }

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

@media (max-width: 639px) {
  .container {
    width: min(100% - 40px, 480px);
  }

  .hero {
    min-height: 770px;
  }

  .hero__inner {
    padding-top: 383px;
  }

  .hero__lead {
    font-size: 18px;
  }
}

@media (max-width: 479px) {
  .container {
    width: calc(100% - 40px);
  }

  .hero {
    min-height: 670px;
  }

  .hero__media {
    height: 300px;
  }

  .hero__inner {
    padding-top: 312px;
  }

  .hero__tag {
    font-size: 16px;
  }

  .hero h1 {
    margin-top: 31px;
    font-size: 24px;
  }

  .hero__lead {
    margin-top: 28px;
    font-size: 16px;
    font-weight: 400;
  }

  .button--hero {
    min-height: 55px;
    margin-top: 26px;
  }

  .intro {
    padding-top: 20px;
  }

  .intro__panel,
  .lead-panel {
    width: 100%;
    padding: 20px;
    border-radius: 0;
    background: transparent;
    color: #fff;
  }

  .intro__panel > img,
  .lead-panel > img {
    border-radius: 15px;
  }

  .intro-card,
  .feature-card {
    padding: 20px;
  }

  .intro-card h2,
  .feature-card h3,
  .lead-panel h2 {
    font-size: 20px;
  }

  .intro-card p,
  .feature-card p,
  .lead-panel ul {
    font-size: 16px;
  }

  .features {
    padding-top: 60px;
  }

  .section-title {
    font-size: 26px;
  }

  .feature-grid {
    gap: 40px;
  }

  .feature-card img {
    height: 220px;
  }

  .lead-section {
    padding-top: 60px;
  }

  .lead-panel__content,
  .lead-panel h2,
  .lead-panel ul,
  .lead-form__note {
    color: #fff;
  }
}
