/**
 * Homepage blocks — contact, stats, FAQ (Alnair theme).
 */

:root {
  --hb-bg: #080b14;
  --hb-surface: #12151f;
  --hb-card: #161a24;
  --hb-border: rgba(255, 255, 255, 0.08);
  --hb-text: #e8e8e8;
  --hb-muted: #9f9f9f;
  --hb-heading: #ffffff;
  --hb-accent: #fa871f;
  --hb-accent-hover: #e07510;
  --hb-radius: 18px;
  --hb-pill: 50px;
  --font-heading: 'Outfit', Arial, Helvetica, sans-serif;
  --font-body: 'Poppins', Arial, Helvetica, sans-serif;
  --container: 1280px;
}

.home-contact,
.home-stats,
.home-faq {
  font-family: var(--font-body);
  color: var(--hb-text);
}

.home-contact .container,
.home-stats .container,
.home-faq .container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.home-contact .btn,
.home-faq .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--hb-pill);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--hb-accent);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}

.home-contact .btn--gradient,
.home-faq .btn--gradient {
  background: var(--hb-accent);
  color: #fff;
}

.home-contact .btn--gradient:hover,
.home-faq .btn--gradient:hover {
  background: transparent;
  color: var(--hb-accent);
}

/* —— Contact —— */
.home-contact {
  padding: 80px 0;
  background: var(--hb-bg);
}

.home-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.home-contact__eyebrow,
.home-faq__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hb-muted);
}

.home-contact__eyebrow-dot,
.home-faq__eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hb-accent);
}

.home-contact__title {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--hb-heading);
}

.home-contact__title-accent {
  color: var(--hb-accent);
}

.home-contact__desc,
.home-faq__desc {
  margin: 0 0 28px;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--hb-muted);
}

.home-contact__features {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.home-contact__feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.home-contact__feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(250, 135, 31, 0.12);
  border: 1px solid rgba(250, 135, 31, 0.25);
  position: relative;
}

.home-contact__feature--tag .home-contact__feature-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 18px;
  border: 2px solid var(--hb-accent);
  border-radius: 4px;
  transform: rotate(-12deg);
}

.home-contact__feature--chart .home-contact__feature-icon::before {
  content: '$';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--hb-accent);
}

.home-contact__feature-title {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--hb-accent);
}

.home-contact__feature-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--hb-muted);
}

.home-contact__visual {
  margin: 0;
  border-radius: var(--hb-radius);
  overflow: hidden;
  position: relative;
}

.home-contact__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-contact__visual--team {
  min-height: 200px;
}

.home-contact__visual--team img {
  min-height: 200px;
}

.home-contact__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--hb-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.home-contact__aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.home-contact__visual--wide {
  min-height: 160px;
}

.home-contact__visual--wide img {
  min-height: 160px;
}

.home-contact__form-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: stretch;
}

.home-contact__form-card {
  padding: 28px 24px;
  border-radius: var(--hb-radius);
  background: var(--hb-card);
  border: 1px solid var(--hb-border);
}

.home-contact__form-title {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--hb-heading);
}

.home-contact__alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.home-contact__alert--success {
  background: rgba(40, 200, 64, 0.12);
  border: 1px solid rgba(40, 200, 64, 0.3);
  color: #b8f0c4;
}

.home-contact__alert--error {
  background: rgba(255, 95, 87, 0.12);
  border: 1px solid rgba(255, 95, 87, 0.3);
  color: #ffc9c5;
}

.home-contact__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-contact__honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.home-contact__field input,
.home-contact__field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--hb-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--hb-heading);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  transition: border-color 0.2s;
}

.home-contact__field textarea {
  resize: vertical;
  min-height: 110px;
}

.home-contact__field input::placeholder,
.home-contact__field textarea::placeholder {
  color: var(--hb-muted);
}

.home-contact__field input:focus,
.home-contact__field textarea:focus {
  outline: none;
  border-color: rgba(250, 135, 31, 0.45);
}

.home-contact__submit {
  width: 100%;
  margin-top: 4px;
}

.home-contact__submit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: var(--hb-accent);
}

.home-contact .btn--gradient:hover .home-contact__submit-icon {
  background: var(--hb-accent);
  color: #fff;
}

.home-contact__visual--portrait {
  min-height: 100%;
}

.home-contact__visual--portrait img {
  min-height: 280px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* —— Stats —— */
.home-stats {
  padding: 56px 0;
  background: var(--hb-bg);
  border-top: 1px solid var(--hb-border);
  border-bottom: 1px solid var(--hb-border);
}

.home-stats__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.home-stats__value {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  line-height: 1;
}

.home-stats__label {
  display: block;
  font-size: 14px;
  line-height: 1.45;
}

.home-stats__item--light .home-stats__value,
.home-stats__item--light .home-stats__label {
  color: var(--hb-heading);
}

.home-stats__item--accent .home-stats__value,
.home-stats__item--accent .home-stats__label {
  color: var(--hb-accent);
}

/* —— FAQ —— */
.home-faq {
  padding: 80px 0 96px;
  background: var(--hb-bg);
}

.home-faq__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.home-faq__title {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--hb-heading);
}

.home-faq__cta {
  margin-top: 32px;
  padding: 28px 24px;
  border-radius: var(--hb-radius);
  background: var(--hb-card);
  border: 1px solid var(--hb-border);
}

.home-faq__cta-title {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--hb-accent);
}

.home-faq__cta-text {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--hb-muted);
}

.home-faq__cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: var(--hb-accent);
}

.home-faq .btn--gradient:hover .home-faq__cta-icon {
  background: var(--hb-accent);
  color: #fff;
}

.home-faq__accordion.service-faq__list {
  max-width: none;
}

.home-faq .service-faq__item.is-open .service-faq__trigger,
.home-faq .service-faq__trigger[aria-expanded='true'] {
  color: var(--hb-accent);
}

@media (max-width: 991px) {
  .home-contact__grid,
  .home-faq__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .home-contact__form-wrap {
    grid-template-columns: 1fr;
  }

  .home-contact__visual--portrait {
    display: none;
  }

  .home-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
  }
}

@media (max-width: 600px) {
  .home-contact,
  .home-faq {
    padding: 56px 0 72px;
  }

  .home-stats__grid {
    grid-template-columns: 1fr;
  }
}
