/* Homepage V1 presentation. Core owns the header and business behavior. */
@import url('./homepage-hero-v3.css');
@import url('./homepage-hero-figma-v1.css');

.dorrin-home-v1-hero {
  background: var(--dorrin-color-ivory);
  min-height: clamp(650px, 80svh, 780px);
  padding-top: var(--dorrin-header-height, 96px);
  background: var(--dorrin-color-ivory);
}

.dorrin-home-v1-hero::after {
  display: none;
}

.dorrin-home-v1-hero__environment {
  position: absolute !important;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.dorrin-home-v1-hero__environment::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(251, 249, 245, 0) 38%, rgba(251, 249, 245, 0.42) 60%, rgba(251, 249, 245, 0.92) 100%);
}

.dorrin-home-v1-hero__environment-image,
.dorrin-home-v1-hero__environment-image .elementor-widget-container,
.dorrin-home-v1-hero__environment-image img {
  width: 100%;
  height: 100%;
}

.dorrin-home-v1-hero__environment-image img {
  object-fit: cover;
  object-position: 34% center;
}

.dorrin-home-v1-hero__line {
  position: absolute !important;
  z-index: 1;
  opacity: 0.08;
  pointer-events: none;
}

.dorrin-home-v1-hero__line img {
  display: block;
  width: 100%;
  height: auto;
}

.dorrin-home-v1-hero__line--bird {
  width: min(22vw, 340px);
  left: 8%;
  top: 16%;
}

.dorrin-home-v1-hero__line--corner {
  width: min(16vw, 220px);
  left: 1%;
  top: 10%;
  opacity: 0.05;
}

.dorrin-home-v1-hero__inner {
  position: relative;
  z-index: 2;
  min-height: calc(clamp(650px, 80svh, 780px) - var(--dorrin-header-height, 96px));
  padding: clamp(52px, 6vw, 84px) var(--dorrin-gutter) clamp(94px, 8vw, 120px);
  direction: ltr;
  grid-template-columns: minmax(440px, 1.05fr) minmax(420px, 0.95fr);
  grid-template-areas: "visual copy";
  gap: clamp(24px, 4vw, 64px);
}

.dorrin-home-v1-hero__copy {
  width: auto !important;
  max-width: min(100%, 620px);
  padding-block: 12px;
  direction: rtl;
  text-align: right;
  justify-self: stretch;
}

.dorrin-home-v1-hero__provenance .elementor-heading-title {
  color: rgba(0, 55, 58, 0.68);
  font-size: 14px;
}

.dorrin-home-v1-hero__title .elementor-heading-title {
  max-inline-size: 100%;
  font-size: clamp(44px, 4.5vw, 64px);
  line-height: 1.17;
  letter-spacing: 0;
  text-wrap: balance;
}

.dorrin-home-v1-hero__lead,
.dorrin-home-v1-hero__lead p {
  max-width: 510px;
  color: rgba(0, 55, 58, 0.76);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 2;
}

.dorrin-home-v1-hero__actions {
  margin-top: 20px;
  gap: 14px;
}

.dorrin-home-v1-hero__visual {
  width: auto !important;
  min-height: 500px;
  z-index: 2;
  justify-self: stretch;
  overflow: visible;
}

.dorrin-home-v1-hero__visual::before {
  display: none;
}

.dorrin-home-v1-hero__product {
  left: 20%;
  bottom: -2%;
  width: min(44%, 286px) !important;
}

.dorrin-home-v1-hero__product img {
  filter: drop-shadow(0 18px 18px rgba(0, 55, 58, 0.16));
}

.dorrin-home-v1-hero .dorrin-home-btn .elementor-button {
  min-height: 56px;
  padding-inline: 30px !important;
  font-size: 16px;
}

.dorrin-home-v1-hero__proof {
  position: relative;
  z-index: 3;
  width: min(calc(100% - (2 * var(--dorrin-gutter))), var(--dorrin-container));
  margin: -42px auto 0;
  padding: 18px clamp(20px, 3vw, 38px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  color: var(--dorrin-color-white);
  background: rgba(0, 55, 58, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--dorrin-radius-sm);
  box-shadow: var(--dorrin-shadow-soft);
}

.dorrin-home-v1-hero__proof-item {
  min-width: 0;
  padding-inline: clamp(14px, 2.8vw, 38px);
  border-inline-start: 1px solid rgba(255, 255, 255, 0.18);
}

.dorrin-home-v1-hero__proof-item:first-child {
  padding-inline-start: 0;
  border-inline-start: 0;
}

.dorrin-home-v1-hero__proof-item:last-child {
  padding-inline-end: 0;
}

.dorrin-home-v1-hero__proof-label,
.dorrin-home-v1-hero__proof-value {
  display: block;
}

.dorrin-home-v1-hero__proof-label {
  color: var(--dorrin-color-pink-500);
  font-size: 13px;
  font-weight: 700;
}

.dorrin-home-v1-hero__proof-value {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 1100px) {
  .dorrin-home-v1-hero {
    min-height: 720px;
  }

  .dorrin-home-v1-hero__inner {
    min-height: calc(720px - var(--dorrin-header-height, 96px));
    padding-top: 72px;
  }

  .dorrin-home-v1-hero__visual {
    min-height: 470px;
  }

  .dorrin-home-v1-hero__product {
    left: 18%;
    bottom: -2%;
    width: min(46%, 246px) !important;
  }

  .dorrin-home-v1-hero__line--bird {
    width: min(27vw, 300px);
    left: 5%;
  }
}

@media (max-width: 767px) {
  .dorrin-home-v1-hero {
    min-height: auto;
    padding-top: var(--dorrin-header-height, 76px);
  }

  .dorrin-home-v1-hero__environment::after {
    background: linear-gradient(180deg, rgba(251, 249, 245, 0.96) 0 42%, rgba(251, 249, 245, 0.38) 62%, rgba(251, 249, 245, 0) 100%);
  }

  .dorrin-home-v1-hero__environment-image img {
    object-position: 24% center;
  }

  .dorrin-home-v1-hero__inner,
  [dir="rtl"] .dorrin-home-v1-hero__inner {
    min-height: 720px;
    padding: 50px var(--dorrin-gutter) 94px;
    gap: 18px;
    direction: rtl;
  }

  .dorrin-home-v1-hero__copy {
    width: 100% !important;
    text-align: right;
  }

  .dorrin-home-v1-hero__title .elementor-heading-title {
    font-size: clamp(39px, 11vw, 54px);
    line-height: 1.28;
  }

  .dorrin-home-v1-hero__lead,
  .dorrin-home-v1-hero__lead p {
    font-size: 16px;
    line-height: 1.95;
  }

  .dorrin-home-v1-hero__actions {
    justify-content: flex-start;
  }

  .dorrin-home-v1-hero__visual {
    width: 100% !important;
    min-height: 330px;
  }

  .dorrin-home-v1-hero__product {
    left: 35%;
    bottom: -1%;
    width: min(40vw, 168px) !important;
  }

  .dorrin-home-v1-hero__line--bird {
    width: min(58vw, 300px);
    left: -5%;
    top: 47%;
    opacity: 0.08;
  }

  .dorrin-home-v1-hero__line--corner {
    display: none;
  }

  .dorrin-home-v1-hero__proof {
    width: calc(100% - (2 * var(--dorrin-gutter)));
    margin-top: -34px;
    padding: 16px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dorrin-home-v1-hero__proof-item,
  .dorrin-home-v1-hero__proof-item:first-child,
  .dorrin-home-v1-hero__proof-item:last-child {
    padding: 0 0 12px;
    border-inline-start: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .dorrin-home-v1-hero__proof-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }
}
