/**
 * Contact page — dedicated session, persuasive form + direct details
 */

.contact-page {
  overflow-x: hidden;
  background-color: var(--citrus-cream, #FFFDF7);
  background-image:
    radial-gradient(circle at 15% 15%, rgb(242 60 158 / 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 45%, rgb(196 230 0 / 0.09) 0%, transparent 42%),
    radial-gradient(circle at 25% 90%, rgb(242 60 158 / 0.06) 0%, transparent 40%);
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.contact-hero {
  padding: clamp(3.5rem, 9vw, 6rem) 0 clamp(3rem, 7vw, 4.5rem);
  text-align: center;
}

.contact-hero__title {
  font-family: var(--ab-display, 'Playfair Display', Georgia, serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2.1rem, 5.5vw, 3.5rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 auto 1rem;
  max-width: 38rem;
}

.contact-hero__body {
  margin-inline: auto;
}

.contact-hero .hm-kicker {
  color: var(--citrus-fuchsia, #F23C9E);
}

/* Tropical illustration — breaks out of the narrow form column so the art reads at full presence */
.hm-contact-illustration {
  margin: clamp(2.5rem, 6vw, 4rem) calc(50% - 50vw) 0;
  width: 100vw;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  box-sizing: border-box;
}

.hm-contact-illustration__trigger {
  all: unset;
  display: block;
  position: relative;
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
  cursor: zoom-in;
  border-radius: 6px;
}

.hm-contact-illustration__img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 20px 48px rgb(0 0 0 / 0.16);
  transition: transform 0.35s ease;
}

.hm-contact-illustration__trigger:hover .hm-contact-illustration__img,
.hm-contact-illustration__trigger:focus-visible .hm-contact-illustration__img {
  transform: scale(1.035);
}

.hm-contact-illustration__hint {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.35rem 0.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgb(26 26 26 / 0.62);
  border-radius: 999px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.hm-contact-illustration__trigger:hover .hm-contact-illustration__hint,
.hm-contact-illustration__trigger:focus-visible .hm-contact-illustration__hint {
  opacity: 1;
  transform: translateY(0);
}

.hm-contact-illustration__trigger:focus-visible {
  outline: 2px solid #ff2424;
  outline-offset: 4px;
}

/* Lightbox — full-size, click-to-close view of the illustration */
.hm-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 3rem);
}

.hm-lightbox[hidden] { display: none; }

.hm-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(255 255 255 / 0.97);
  border: none;
  padding: 0;
  cursor: zoom-out;
}

.hm-lightbox__panel {
  position: relative;
  z-index: 1;
  max-width: 94vw;
  max-height: 90vh;
  line-height: 0;
}

.hm-lightbox__image {
  display: block;
  max-width: 94vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: transparent;
  border: none;
}

.hm-lightbox__close {
  position: fixed;
  top: clamp(0.75rem, 2vw, 1.5rem);
  right: clamp(0.75rem, 2vw, 1.5rem);
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(0 0 0 / 0.25);
  border-radius: 50%;
  background: #ffffff;
  color: #111111;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.hm-lightbox__close:hover,
.hm-lightbox__close:focus-visible {
  background: #f5f5f5;
}

/* Form actions — primary CTA left, secondary CTA aligned to the right edge of the form */
.hm-contact-form__actions {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}

/* Submit button — fluorescent citrus red, no dark shadow, just a glossy highlight */
.hm-contact-form .hm-btn-primary {
  background: linear-gradient(180deg, #ffb3ab 0%, #ff2424 50%, #ff0000 100%);
  color: var(--ink-black, #111111);
  text-shadow: 0 1px 0 rgb(255 255 255 / 0.65);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.55);
}

.hm-contact-form .hm-btn-primary:hover {
  background: linear-gradient(180deg, #ff8f86 0%, #ff0000 50%, #e60000 100%);
}

/* Secondary CTA — fluorescent citrus lemon-yellow, black letters, no dark shadow */
.hm-btn-quote {
  display: inline-block;
  background: linear-gradient(180deg, #ffffb0 0%, #fff200 50%, #ffe600 100%);
  color: var(--ink-black, #111111);
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none;
  padding: 0.875rem 1.75rem; border: none; border-radius: 2px; cursor: pointer;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.6);
  transition: background 0.15s;
}

.hm-btn-quote:hover {
  background: linear-gradient(180deg, #fff87a 0%, #ffe600 50%, #f5d600 100%);
}
