.hero {
  margin-top: 0;
  background: #111;
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0.26) 42%, rgba(0, 0, 0, 0.08) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.18));
}

.hero-photo {
  width: 100%;
  height: min(74vh, 640px);
  min-height: 430px;
  object-fit: cover;
  object-position: center top;
}

.hero-content {
  display: block;
  width: min(1180px, calc(100% - 40px));
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  padding: 0;
}

.hero-title {
  position: absolute;
  left: 0;
  bottom: clamp(92px, 13vw, 126px);
  color: #fff;
  text-align: left;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.26);
}

.hero-title h3 {
  max-width: 390px;
  margin: -5px 0 4px;
  color: #fff;
  font-size: clamp(1.55rem, 3.7vw, 2.9rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  font-family: "Playfair Display", Georgia, serif;
}

.hero-script {
  margin: 0;
  color: #fff;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(1.85rem, 4vw, 3.2rem);
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: 0;
}

.hero-service {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(0.7rem, 1.1vw, 0.9rem);
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero .hero-actions {
  position: absolute;
  left: 0;
  bottom: clamp(34px, 6vw, 54px);
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}

.hero .primary-action,
.hero .secondary-action,
.hero .hero-social-action {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 999px;
  padding: 0 24px;
  color: #fff;
  box-shadow: 0 12px 30px rgba(12, 9, 8, 0.24);
  backdrop-filter: none;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-position 240ms ease;
}

.hero .primary-action {
  background: linear-gradient(135deg, #744047 0%, #a45c64 100%);
  background-size: 160% 160%;
  background-position: 0% 50%;
}

.hero .hero-social-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 142px;
  background-size: 160% 160%;
  background-position: 0% 50%;
}

.hero .primary-action:hover,
.hero .hero-social-action:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 34px rgba(12, 9, 8, 0.34);
  background-position: 100% 50%;
}

.hero .primary-action:focus-visible,
.hero .hero-social-action:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.92);
  outline-offset: 3px;
}

.hero .hero-social-action.is-instagram {
  background-image: linear-gradient(120deg, #7137c8 0%, #d62976 48%, #f77737 100%);
}

.hero .hero-social-action.is-facebook {
  background-image: linear-gradient(120deg, #0b57c7 0%, #1877f2 50%, #53a6ff 100%);
}

.hero-social-icon {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 19px;
  height: 19px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.16));
}

.hero-social-icon-instagram {
  border: 1.8px solid currentColor;
  border-radius: 6px;
}

.hero-social-icon-instagram::before {
  content: "";
  width: 7px;
  height: 7px;
  border: 1.8px solid currentColor;
  border-radius: 50%;
}

.hero-social-icon-instagram::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: currentColor;
}

.hero-social-icon-facebook {
  align-items: end;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 1rem;
  font-weight: 900;
  line-height: 0.88;
  text-transform: lowercase;
}

@media (max-width: 900px) {
  .hero-photo {
    height: auto;
    min-height: 0;
    object-fit: contain;
  }
  .hero-title h3 {
    margin-top: -8px;
    font-size: clamp(1.35rem, 5.8vw, 2.55rem);
  }

  .hero-script {
    font-size: clamp(1.65rem, 6.8vw, 3rem);
  }
}

@media (max-width: 560px) {
  .hero {
    background: var(--paper);
  }

  .hero::after {
    display: none;
  }

  .hero-content {
    position: static;
    width: min(100% - 28px, 1180px);
    margin: 0 auto;
    padding: 16px 0 22px;
    transform: none;
    text-align: center;
  }

  .hero-title {
    position: static;
    color: var(--ink);
    text-align: center;
    text-shadow: none;
  }

  .hero-title h3 {
    color: var(--ink);
    font-size: clamp(0.95rem, 4.3vw, 1.32rem);
    margin-top: 0;
  }

  .hero-script {
    display: none;
  }

  .hero-service {
    color: var(--wine);
    margin-bottom: 10px;
    font-size: 0.52rem;
    letter-spacing: 0.17em;
  }

  .hero .hero-actions {
    position: static;
    width: 100%;
    justify-content: center;
    margin-top: 16px;
  }

  .hero .primary-action,
  .hero .secondary-action,
  .hero .hero-social-action {
    min-width: 104px;
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.66rem;
  }
}
