/*
 * CSS exclusivo do template Home Page.
 *
 * O tema carrega este arquivo automaticamente quando a página usa
 * `pages/home.php` e o template declara `Style: home.css`.
 */

/* Home - Hero (primeiro bloco) */
.home-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f5f5f5 0%, #ffffff 74%);
  min-height: 1120px;
}

.home-hero__union-shape {
  position: absolute;
  top: -437px;
  right: -135px;
  width: 1215px;
  height: 1108px;
  max-width: none;
  pointer-events: none;
  z-index: 0;
}

.home-hero__content-wrap {
  position: relative;
  z-index: 2;
  width: min(874px, calc(100% - 32px));
  margin: 0 auto;
  padding-top: 138px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 32px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  background-image: linear-gradient(90deg, #980577 0%, #ff377a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-hero__title {
  margin: 0;
  color: #1a1a1a;
  font-size: 64px;
  line-height: 1.15;
  font-weight: 600;
}

.home-hero__description {
  margin: 0;
  width: min(532px, 100%);
  color: #4d4648;
  font-size: 18px;
  line-height: 1.5;
}

.home-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
}

.home-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 6px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  transition: all 0.2s ease;
}

.home-hero__btn--primary {
  background: #980577;
  border-color: #980577;
  color: #ffffff;
}

.home-hero__btn--primary:hover,
.home-hero__btn--primary:focus-visible {
  background: #860468;
  border-color: #860468;
}

.home-hero__btn--secondary {
  background: transparent;
  border-color: #980577;
  color: #980577;
}

.home-hero__btn--secondary:focus-visible {
  background: rgba(152, 5, 119, 0.08);
}

.home-hero__media-wrap {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  height: 532px;
  overflow: hidden;
  z-index: 1;
}

.home-hero__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: translate3d(0, 0, 0) scale(1.12);
  transform-origin: center center;
  will-change: transform;
}

/* Notebook */
@media (max-width: 1439px) {
  .home-hero {
    min-height: 1040px;
  }

  .home-hero__union-shape {
    top: -430px;
    right: -250px;
    width: 1080px;
    height: auto;
  }

  .home-hero__content-wrap {
    padding-top: 130px;
    width: min(800px, calc(100% - 48px));
  }

  .home-hero__title {
    font-size: 24px;
  }

  .home-hero__media-wrap {
    height: 470px;
  }
}

/* Tablet */
@media (max-width: 1023px) {
  .home-hero {
    min-height: 930px;
  }

  .home-hero__union-shape {
    top: -300px;
    right: -280px;
    width: 900px;
  }

  .home-hero__content-wrap {
    padding-top: 120px;
    width: min(680px, calc(100% - 40px));
  }

  .home-hero__title {
    font-size: 46px;
  }

  .home-hero__description {
    font-size: 17px;
  }

  .home-hero__actions {
    gap: 16px;
    margin-top: 20px;
  }

  .home-hero__btn {
    padding: 11px 24px;
  }

  .home-hero__media-wrap {
    height: 390px;
  }

  .home-hero__media {
    transform: translate3d(0, 0, 0) scale(1.04);
    will-change: auto;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .home-hero {
    min-height: 844px;
  }

  .home-hero__union-shape {
    top: -115px;
    right: -112px;
    width: 370px;
    height: 338px;
    opacity: 1;
  }

  .home-hero__content-wrap {
    padding-top: 122px;
    width: min(390px, 100%);
    padding-left: 16px;
    padding-right: 16px;
    gap: 40px;
  }

  .home-hero__eyebrow {
    padding: 7px 16px;
    font-size: 11px;
    letter-spacing: 1px;
  }

  .home-hero__title {
    font-size: 40px;
  }

  .home-hero__description {
    font-size: 16px;
    width: 100%;
    max-width: 358px;
  }

  .home-hero__actions {
    width: 100%;
    flex-direction: column;
    gap: 24px;
    margin-top: 0;
  }

  .home-hero__btn {
    width: min(256px, 100%);
    max-width: 256px;
    padding: 12px 16px;
  }

  .home-hero__media-wrap {
    height: 196px;
  }

  .home-hero__media {
    transform: translate3d(0, 0, 0) scale(1.08);
    will-change: auto;
  }
}

/* Home - Equipamentos e Solucoes */
.home-solutions {
  background: #f5f5f5;
  padding: 72px 0 84px;
}

.home-solutions__top,
.home-solutions__gallery {
  width: min(1216px, calc(100% - 32px));
  margin: 0 auto;
}

.home-solutions__top {
  display: grid;
  grid-template-columns: 384px minmax(0, 548px);
  justify-content: space-between;
  column-gap: 48px;
}

.home-solutions__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.home-solutions__title {
  margin: 0;
  color: #1a1a1a;
  font-size: 54px;
  line-height: 1.15;
  font-weight: 600;
}

.home-solutions__title span {
  display: inline;
}

.home-solutions__title-highlight {
  color: #ff377a;
}

.home-solutions__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border: 1px solid #980577;
  border-radius: 6px;
  color: #980577;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  transition: all 0.2s ease;
}

.home-solutions__cta:hover,
.home-solutions__cta:focus-visible {
  background: rgba(152, 5, 119, 0.08);
}

.home-solutions__description {
  color: #332f30;
  font-size: 16px;
  line-height: 1.5;
}

.home-solutions__description p {
  margin: 0 0 18px;
}

.home-solutions__description p:last-child {
  margin-bottom: 0;
}

.home-solutions__gallery {
  display: grid;
  grid-template-columns: 516px 312px 308px;
  justify-content: space-between;
  align-items: start;
  margin-top: 48px;
  column-gap: 20px;
}

.home-solutions__figure {
  margin: 0;
  overflow: hidden;
}

.home-solutions__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-solutions__figure--main {
  height: 384px;
}

.home-solutions__figure--lab-one {
  height: 426px;
  margin-top: 48px;
}

.home-solutions__figure--lab-two {
  height: 273px;
}

/* Notebook */
@media (max-width: 1439px) {
  .home-solutions {
    padding: 64px 0 76px;
  }

  .home-solutions__top,
  .home-solutions__gallery {
    width: calc(100% - 48px);
  }

  .home-solutions__top {
    grid-template-columns: 340px minmax(0, 1fr);
    column-gap: 36px;
  }

  .home-solutions__title {
    font-size: 46px;
  }

  .home-solutions__gallery {
    grid-template-columns: 1.65fr 1fr 0.95fr;
    column-gap: 16px;
  }

  .home-solutions__figure--main {
    height: 340px;
  }

  .home-solutions__figure--lab-one {
    height: 380px;
    margin-top: 40px;
  }

  .home-solutions__figure--lab-two {
    height: 240px;
  }
}

/* Tablet */
@media (max-width: 1023px) {
  .home-solutions {
    padding: 56px 0 68px;
  }

  .home-solutions__top,
  .home-solutions__gallery {
    width: calc(100% - 40px);
  }

  .home-solutions__top {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }

  .home-solutions__intro {
    gap: 18px;
  }

  .home-solutions__title {
    font-size: 40px;
    max-width: 620px;
  }

  .home-solutions__description {
    max-width: 680px;
  }

  .home-solutions__gallery {
    grid-template-columns: 1fr 1fr;
    row-gap: 16px;
    column-gap: 16px;
    margin-top: 36px;
  }

  .home-solutions__figure--main {
    grid-column: 1 / -1;
    height: 360px;
  }

  .home-solutions__figure--lab-one,
  .home-solutions__figure--lab-two {
    margin-top: 0;
    height: 260px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .home-solutions {
    padding: 48px 0 56px;
  }

  .home-solutions__top,
  .home-solutions__gallery {
    width: calc(100% - 24px);
  }

  .home-solutions__title {
    font-size: 36px;
  }

  .home-solutions__cta {
    width: 100%;
    max-width: 280px;
    padding: 12px 18px;
  }

  .home-solutions__description {
    font-size: 15px;
  }

  .home-solutions__gallery {
    grid-template-columns: 1fr;
    row-gap: 14px;
    margin-top: 30px;
  }

  .home-solutions__figure--main,
  .home-solutions__figure--lab-one,
  .home-solutions__figure--lab-two {
    height: 240px;
  }
}

/* Home - Empresas que Confiam */
.home-trusted-logos {
  background: #ffffff;
}

.home-trusted-logos__inner {
  width: min(1216px, calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid #e5e5e5;
  padding: 48px 0;
  display: flex;
  flex-direction: column;
  gap: 55px;
}

.home-trusted-logos__title {
  margin: 0;
  width: min(444px, 100%);
  color: #1a1a1a;
  font-size: 40px;
  line-height: 1.3;
  font-weight: 600;
}

.home-trusted-logos__title-highlight {
  color: #ff377a;
}

.home-trusted-logos__carousel-wrap {
  position: relative;
}

.home-trusted-logos__embla {
  width: 100%;
  overflow: hidden;
}

.home-trusted-logos__track {
  display: flex;
  touch-action: pan-y pinch-zoom;
  align-items: center;
  gap: 80px;
}

.home-trusted-logos__slide {
  flex: 0 0 auto;
  min-width: 0;
}

.home-trusted-logos__logo-item {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-trusted-logos__logo-item img {
  display: block;
  width: auto;
  max-width: 170px;
  max-height: 54px;
  height: auto;
  object-fit: contain;
}

.home-trusted-logos__fade {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 176px;
  height: 54px;
  pointer-events: none;
  z-index: 2;
}

.home-trusted-logos__fade--left {
  left: 0;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.home-trusted-logos__fade--right {
  right: 0;
  background: linear-gradient(270deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

/* Notebook */
@media (max-width: 1439px) {
  .home-trusted-logos__inner {
    width: calc(100% - 48px);
    gap: 48px;
  }

  .home-trusted-logos__title {
    font-size: 36px;
    max-width: 420px;
  }

  .home-trusted-logos__track {
    gap: 64px;
  }

  .home-trusted-logos__fade {
    width: 120px;
  }
}

/* Tablet */
@media (max-width: 1023px) {
  .home-trusted-logos__inner {
    width: calc(100% - 40px);
    padding: 40px 0;
    gap: 40px;
  }

  .home-trusted-logos__title {
    font-size: 34px;
    max-width: 380px;
  }

  .home-trusted-logos__track {
    gap: 48px;
  }

  .home-trusted-logos__logo-item {
    height: 44px;
  }

  .home-trusted-logos__logo-item img {
    max-width: 150px;
    max-height: 44px;
  }

  .home-trusted-logos__fade {
    width: 88px;
    height: 44px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .home-trusted-logos__inner {
    width: calc(100% - 24px);
    padding: 32px 0;
    gap: 28px;
  }

  .home-trusted-logos__title {
    font-size: 30px;
    line-height: 1.25;
    max-width: 320px;
  }

  .home-trusted-logos__track {
    gap: 36px;
  }

  .home-trusted-logos__logo-item {
    height: 36px;
  }

  .home-trusted-logos__logo-item img {
    max-width: 132px;
    max-height: 36px;
  }

  .home-trusted-logos__fade {
    width: 56px;
    height: 36px;
  }
}

/* Home - Pecas e Consumiveis */
.home-products {
  position: relative;
  overflow: clip;
  background: #1a1a1a;
  padding: 120px 0;
}

.home-products__union-shape {
  position: absolute;
  top: -675px;
  left: -48px;
  width: 1215px;
  height: 1108px;
  max-width: none;
  transform: rotate(180deg) scaleY(-1);
  pointer-events: none;
  z-index: 0;
}

.home-products__inner {
  position: relative;
  z-index: 1;
  width: min(1216px, calc(100% - 32px));
  margin: 0 auto;
}

.home-products__top {
  display: grid;
  grid-template-columns: 491px minmax(0, 552px);
  justify-content: space-between;
  align-items: start;
  column-gap: 40px;
}

.home-products__title {
  margin: 0;
  color: #ffffff;
  font-size: 40px;
  line-height: 1.3;
  font-weight: 600;
}

.home-products__title-highlight {
  color: #ff377a;
}

.home-products__description {
  color: #e5e5e5;
  font-size: 16px;
  line-height: 1.5;
}

.home-products__description p {
  margin: 0;
}

.home-products__details {
  margin-top: 96px;
}

.home-products__items-intro {
  margin: 0;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 600;
}

.home-products__items-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.home-products__item-card {
  background: rgba(245, 245, 245, 0.1);
  height: 152px;
  padding: 32px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.home-products__item-icon {
  width: 32px;
  height: 32px;
  display: block;
}

.home-products__item-text {
  margin: 0;
  color: #ffffff;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
}

/* Notebook */
@media (max-width: 1439px) {
  .home-products {
    padding: 104px 0;
  }

  .home-products__inner {
    width: calc(100% - 48px);
  }

  .home-products__top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 36px;
  }

  .home-products__title {
    font-size: 36px;
  }

  .home-products__details {
    margin-top: 72px;
  }

  .home-products__items-grid {
    gap: 20px;
  }
}

/* Tablet */
@media (max-width: 1023px) {
  .home-products {
    padding: 84px 0;
  }

  .home-products__inner {
    width: calc(100% - 40px);
  }

  .home-products__top {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }

  .home-products__title {
    font-size: 34px;
    max-width: 620px;
  }

  .home-products__description {
    max-width: 680px;
  }

  .home-products__details {
    margin-top: 56px;
  }

  .home-products__items-intro {
    font-size: 18px;
  }

  .home-products__items-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .home-products {
    padding: 64px 0;
  }

  .home-products__union-shape {
    width: 720px;
    height: auto;
    top: -380px;
    left: -240px;
    opacity: 0.75;
  }

  .home-products__inner {
    width: calc(100% - 24px);
  }

  .home-products__title {
    font-size: 30px;
    line-height: 1.25;
  }

  .home-products__description {
    font-size: 15px;
  }

  .home-products__details {
    margin-top: 40px;
  }

  .home-products__items-intro {
    font-size: 17px;
  }

  .home-products__items-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-products__item-card {
    height: 152px;
    padding: 24px 14px;
  }

  .home-products__item-text {
    font-size: 15px;
  }
}

/* Home - Eventos Analiticos e Tecnicos */
.home-events {
  background: #f5f5f5;
  padding: 64px 0 88px;
}

.home-events__inner {
  width: min(1216px, calc(100% - 32px));
  margin: 0 auto;
}

.home-events__hero {
  display: grid;
  grid-template-columns: 548px 488px;
  justify-content: space-between;
  align-items: start;
  column-gap: 32px;
}

.home-events__header {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.home-events__title {
  margin: 0;
  color: #1a1a1a;
  font-size: 40px;
  line-height: 1.3;
  font-weight: 600;
}

.home-events__title-highlight {
  color: #ff377a;
}

.home-events__description {
  color: #332f30;
  font-size: 16px;
  line-height: 1.5;
}

.home-events__description p {
  margin: 0 0 20px;
}

.home-events__description p:last-child {
  margin-bottom: 0;
}

.home-events__media {
  margin: 0;
  width: 100%;
  height: 456px;
  overflow: hidden;
  background: #b2abae;
}

.home-events__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-events__details {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.home-events__group {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.home-events__group-title {
  margin: 0;
  color: #1a1a1a;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
}

.home-events__group-description {
  margin: 0;
  color: #332f30;
  font-size: 16px;
  line-height: 1.5;
}

.home-events__cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.home-events__card {
  background: #e9e9e9;
  min-height: 120px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
}

.home-events__card-icon {
  width: 32px;
  height: 32px;
  display: block;
}

.home-events__card-text {
  margin: 0;
  color: #332f30;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
}

.home-events__footer-text {
  margin: 0;
  width: min(592px, 100%);
  color: #332f30;
  font-size: 16px;
  line-height: 1.5;
}

/* Notebook */
@media (max-width: 1439px) {
  .home-events {
    padding: 56px 0 80px;
  }

  .home-events__inner {
    width: calc(100% - 48px);
  }

  .home-events__hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    column-gap: 28px;
  }

  .home-events__title {
    font-size: 36px;
  }

  .home-events__details {
    margin-top: 64px;
    gap: 64px;
  }

  .home-events__group-title {
    font-size: 24px;
  }

  .home-events__cards-grid {
    gap: 20px;
  }
}

/* Tablet */
@media (max-width: 1023px) {
  .home-events {
    padding: 52px 0 72px;
  }

  .home-events__inner {
    width: calc(100% - 40px);
  }

  .home-events__hero {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .home-events__title {
    font-size: 34px;
  }

  .home-events__media {
    height: 380px;
  }

  .home-events__details {
    margin-top: 48px;
    gap: 48px;
  }

  .home-events__group-title {
    font-size: 22px;
  }

  .home-events__cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .home-events {
    padding: 44px 0 56px;
  }

  .home-events__inner {
    width: calc(100% - 24px);
  }

  .home-events__header {
    gap: 18px;
  }

  .home-events__title {
    font-size: 30px;
    line-height: 1.25;
  }

  .home-events__description,
  .home-events__group-description,
  .home-events__footer-text {
    font-size: 15px;
  }

  .home-events__media {
    height: 300px;
  }

  .home-events__details {
    margin-top: 36px;
    gap: 36px;
  }

  .home-events__group {
    gap: 18px;
  }

  .home-events__group-title {
    font-size: 24px;
    line-height: 1.25;
  }

  .home-events__cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-events__card {
    min-height: 112px;
    padding: 14px;
  }

  .home-events__card-text {
    font-size: 15px;
  }
}

/* Home - CTA Eventos */
.home-events-cta {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
  min-height: 540px;
}

.home-events-cta__bg,
.home-events-cta__overlay {
  position: absolute;
  inset: 0;
}

.home-events-cta__bg {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.home-events-cta__overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.35) 100%);
}

.home-events-cta__inner {
  position: relative;
  z-index: 1;
  width: min(1216px, calc(100% - 32px));
  min-height: 540px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.home-events-cta__content {
  width: min(472px, 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.home-events-cta__title {
  margin: 0;
  color: #ffffff;
  font-size: 40px;
  line-height: 1.3;
  font-weight: 600;
}

.home-events-cta__description {
  margin: 0;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.5;
}

.home-events-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 6px;
  background: #ff377a;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  transition: background 0.2s ease;
}

.home-events-cta__button:hover,
.home-events-cta__button:focus-visible {
  background: #f01f69;
}

/* Notebook */
@media (max-width: 1439px) {
  .home-events-cta {
    min-height: 500px;
  }

  .home-events-cta__inner {
    width: calc(100% - 48px);
    min-height: 500px;
  }

  .home-events-cta__title {
    font-size: 36px;
  }
}

/* Tablet */
@media (max-width: 1023px) {
  .home-events-cta {
    min-height: 440px;
  }

  .home-events-cta__inner {
    width: calc(100% - 40px);
    min-height: 440px;
  }

  .home-events-cta__content {
    width: min(520px, 100%);
    gap: 24px;
  }

  .home-events-cta__title {
    font-size: 34px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .home-events-cta {
    min-height: 420px;
  }

  .home-events-cta__overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.62) 100%);
  }

  .home-events-cta__inner {
    width: calc(100% - 24px);
    min-height: 420px;
  }

  .home-events-cta__content {
    gap: 18px;
  }

  .home-events-cta__title {
    font-size: 30px;
    line-height: 1.25;
  }

  .home-events-cta__description {
    font-size: 15px;
  }

  .home-events-cta__button {
    padding: 12px 22px;
  }
}

/* Home - Contato */
.home-contact {
  background: #ffffff;
  padding: 64px 0 80px;
}

.home-contact__inner {
  width: min(1216px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 486px 592px;
  justify-content: space-between;
  align-items: start;
  column-gap: 32px;
}

.home-contact__content {
  padding-top: 15px;
}

.home-contact__headline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.home-contact__title {
  margin: 0;
  color: #1a1a1a;
  font-size: 54px;
  line-height: 1.2;
  font-weight: 600;
}

.home-contact__title-highlight {
  color: #ff377a;
}

.home-contact__description {
  margin: 0;
  color: #332f30;
  font-size: 16px;
  line-height: 1.5;
}

.home-contact__details {
  margin-top: 64px;
  width: min(355px, 100%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.home-contact__detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-contact__detail-item--address {
  align-items: flex-start;
}

.home-contact__detail-icon {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
}

.home-contact__detail-text {
  margin: 0;
  color: #332f30;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
}

.home-contact__detail-text--address {
  white-space: normal;
}

.home-contact__media {
  margin: 0;
  width: 100%;
  height: 506px;
  overflow: hidden;
  background: #d7d7d7;
}

.home-contact__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Notebook */
@media (max-width: 1439px) {
  .home-contact {
    padding: 56px 0 72px;
  }

  .home-contact__inner {
    width: calc(100% - 48px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    column-gap: 28px;
  }

  .home-contact__title {
    font-size: 48px;
  }

  .home-contact__detail-text {
    font-size: 16px;
  }

  .home-contact__media {
    height: 470px;
  }
}

/* Tablet */
@media (max-width: 1023px) {
  .home-contact {
    padding: 52px 0 64px;
  }

  .home-contact__inner {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .home-contact__content {
    padding-top: 0;
  }

  .home-contact__title {
    font-size: 42px;
  }

  .home-contact__details {
    margin-top: 36px;
    width: 100%;
  }

  .home-contact__detail-text {
    font-size: 16px;
  }

  .home-contact__media {
    height: 420px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .home-contact {
    padding: 44px 0 56px;
  }

  .home-contact__inner {
    width: calc(100% - 24px);
    row-gap: 22px;
  }

  .home-contact__headline {
    gap: 14px;
  }

  .home-contact__title {
    font-size: 40px;
    line-height: 1.2;
  }

  .home-contact__description {
    font-size: 15px;
  }

  .home-contact__details {
    margin-top: 28px;
    gap: 14px;
  }

  .home-contact__detail-text {
    font-size: 15px;
  }

  .home-contact__media {
    height: 300px;
  }
}