/* Full-bleed hero: image sits behind content via absolute .hero-background */
.heroBlock {
  position: relative;
  width: 100%;
  min-height: 803px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


.heroBlock .hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.heroBlock .hero-background::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.heroBlock .hero-background__img,
.heroBlock .hero-background img.hero-background__img,
.heroBlock .hero-background img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}


.heroBlock_Block {
    position: relative;
    z-index: 1;
    display: flex;
    width: 740px;
    max-width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 34px;
    margin: 0 auto;
    box-sizing: border-box;
    margin-bottom: 119px;
    margin-top: 254px;
}

/* Skip flex gap when a section has no content */
.heroBlock_eyebrow:empty,
.heroBlock_header:empty,
.heroBlock_text:empty,
.hero_buttons:empty {
    display: none;
}

.hero-eyebrow {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.30);
    color: var(--Background-beige, #FEFBF6);
    text-align: left;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    font-synthesis: none;
    line-height: 20px;
    letter-spacing: -0.15px;
    margin: 0;
}

.hero-eyebrow__icon {
    display: flex;
    flex-shrink: 0;
    line-height: 0;
}

.hero-eyebrow__icon svg {
    display: block;
}

.hero-eyebrow__text {
    flex: 1;
    min-width: 0;
}

.heroBlock_header h1 {
    color: var(--Beige, #fefbf6);
    text-align: center;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: 96px;
    font-style: normal;
    font-weight: 400;
    font-synthesis: none;
    font-optical-sizing: auto;
    line-height: 1.04;
    margin: 0;
    max-width: 580px;
    overflow-wrap: break-word;
}

.heroBlock_text p {
    color: var(--Beige, #FEFBF6);
    text-align: center;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    font-synthesis: none;
    line-height: 32px;
    letter-spacing: 0.67px;
    margin: 0;
    overflow-wrap: break-word;
}

.hero_buttons {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 657px;
    min-height: 60px;
    height: auto;
    padding: 0 24px;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin: 0;
    box-sizing: border-box;
}

.hero_first_button {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 36px;
    flex-shrink: 0;
    border-radius: 2px;
    background: var(--Beige, #FEFBF6);
    margin: 0;
    color: #000;
    text-decoration: none;
    box-sizing: border-box;
}

.hero_first_button:hover {
    background: #F7F2E9;
}

.hero_first_button__icon {
    display: flex;
    flex-shrink: 0;
    line-height: 0;
    color: #000;
}

.hero_first_button__icon svg {
    display: block;
}

.hero_first_button__label {
    color: #000;
    text-align: center;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    font-synthesis: none;
    line-height: 24px;
    letter-spacing: 0.087px;
    margin: 0;
}

.hero_second_button {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 60px;
    padding: 0 20px;
    border-radius: 2px;
    border: 1px solid var(--Beige, #FEFBF6);
    margin: 0;
    color: var(--Beige, #FEFBF6);
    text-decoration: none;
    box-sizing: border-box;
}

.hero_second_button:hover {
  background-color: #f7f2e948;
}

.hero_second_button__icon {
    display: flex;
    flex-shrink: 0;
    line-height: 0;
    color: var(--Beige, #FEFBF6);
}

.hero_second_button__icon svg {
    display: block;
}

.hero_second_button__label {
    color: var(--Beige, #FEFBF6);
    text-align: center;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    font-synthesis: none;
    line-height: 24px;
    margin: 0;
}



/* -------------------------------------------------------------------------- */
/* Laptop / tablet — below 1280px: fluid type & spacing (avoids 96px title +
   803px min-height on common 1024–1366px laptop widths) */
/* -------------------------------------------------------------------------- */
@media (max-width: 1281px) {
  .heroBlock {
    min-height: clamp(420px, 62vh, 760px);
    min-height: clamp(420px, 62svh, 760px);
  }

  .heroBlock_Block {
    width: 100%;
    margin-top: clamp(100px, 18vw, 200px);
    margin-bottom: clamp(48px, 10vw, 100px);
    gap: 28px;
    padding: 0 32px;
  }

  .heroBlock_header h1 {
    font-size: clamp(36px, 5vw + 1rem, 80px);
    max-width: 100%;
    line-height: 1.06;
    max-width: 580px;
  }

  .heroBlock_text p {
    font-size: clamp(17px, 1.5vw + 0.65rem, 22px);
    line-height: 1.45;
    margin-left: auto;
    margin-right: auto;
  }

  .hero_buttons {
    max-width: 100%;
    padding: 0 clamp(12px, 3vw, 16px);
    gap: clamp(12px, 2vw, 20px);
  }

  .hero_first_button {
    padding: 16px 28px;
  }

  .hero_third_button {
    right: clamp(12px, 3vw, 32px);
    bottom: clamp(12px, 3vw, 32px);
    max-width: min(320px, calc(100% - 32px));
  }

  .hero_third_button__label {
    font-size: 15px;
  }
}

@media (max-width: 1279px) and (max-height: 720px) {
  .heroBlock {
    min-height: clamp(360px, 58vh, 560px);
    min-height: clamp(360px, 58svh, 560px);
  }

  .heroBlock_Block {
    margin-top: clamp(48px, 10vh, 120px);
    margin-bottom: clamp(28px, 5vh, 72px);
  }
}

@media (max-width: 1279px) and (max-height: 520px) {
  .heroBlock {
    min-height: min(420px, 85vh);
    min-height: min(420px, 85svh);
  }

  .heroBlock_Block {
    margin-top: clamp(32px, 8vh, 72px);
    margin-bottom: clamp(20px, 4vh, 40px);
    gap: 14px;
  }
}

/* -------------------------------------------------------------------------- */
/* Mobile */
/* -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .heroBlock {
    min-height: clamp(360px, 78vh, 620px);
    min-height: clamp(360px, 78svh, 620px);
    padding-bottom: 4.5rem;
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }

  .heroBlock_Block {
    margin-top: clamp(72px, 16vh, 120px);
    margin-bottom: clamp(32px, 8vh, 64px);
    gap: 20px;
    padding: 0 16px;
  }

  .hero-eyebrow {
    font-size: 13px;
    padding: 7px 14px;
    line-height: 1.35;
    max-width: 100%;
  }

  .hero-eyebrow__text {
    white-space: normal;
  }

  .heroBlock_header h1 {
    font-size: clamp(30px, 8.5vw, 40px);
    line-height: 1.08;
    max-width: 100%;
  }

  .heroBlock_text p {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero_buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 0;
    min-height: 0;
  }

  .hero_first_button,
  .hero_second_button {
    width: 100%;
    min-height: 52px;
    padding: 14px 20px;
    box-sizing: border-box;
  }

  .hero_second_button__icon svg {
    width: 22px;
    height: 22px;
  }

  .heroBlock .hero-background__img,
  .heroBlock .hero-background img.hero-background__img,
  .heroBlock .hero-background img {
    object-position: center top;
  }
}

@media (max-width: 767px) and (orientation: landscape) {
  .heroBlock {
    min-height: clamp(280px, 70vh, 480px);
    min-height: clamp(280px, 70svh, 480px);
    padding-bottom: 2rem;
  }

  .heroBlock_Block {
    margin-top: clamp(40px, 12vh, 88px);
    margin-bottom: clamp(20px, 6vh, 40px);
    gap: 14px;
  }

  .heroBlock_header h1 {
    font-size: clamp(26px, 5.5vw, 36px);
  }

  .heroBlock_text p {
    font-size: 15px;
    line-height: 1.45;
  }
}

@media (max-width: 380px) {
  .heroBlock_Block {
    padding: 0 12px;
  }

  .heroBlock_header h1 {
    font-size: clamp(26px, 8vw, 34px);
  }

  .hero_first_button__label,
  .hero_second_button__label {
    font-size: 15px;
  }
}

