/* Home page. Shared tokens/classes live in /assets/css/site.css. */

/* Hero */
.home-hero {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(243, 196, 50, .10) 0%, rgba(243, 196, 50, 0) 55%),
    linear-gradient(90deg, var(--ink) 0%, #102033 55%, var(--navy) 100%);
  color: var(--white);
  padding: 104px 0 112px;
}
.home-hero__inner { display: flex; align-items: flex-start; gap: 80px; }
.home-hero__copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.home-hero__title { font-family: var(--font-display); font-weight: 800; font-size: 64px; line-height: 68px; letter-spacing: -0.03em; color: var(--white); }
.home-hero__title-light { color: var(--on-dark); font-weight: 300; }
.home-hero__lede { font-size: 19px; line-height: 30px; color: #D5DDE5; max-width: 560px; }
.home-hero__stats { list-style: none; display: flex; flex-wrap: wrap; gap: 24px 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .22); }
.home-hero__stats li { display: flex; flex-direction: column; gap: 4px; }
.home-hero__stats strong { font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 34px; color: var(--white); }
.home-hero__stats span { font-size: 14px; line-height: 18px; color: #D5DDE5; }

/* Hero quote card */
.home-quote { flex: 0 0 440px; background: var(--white); color: var(--navy); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, .28); padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.home-quote__head { display: flex; flex-direction: column; gap: 6px; }
.home-quote__title { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 32px; letter-spacing: -0.02em; }
.home-quote__sub { font-size: 15px; line-height: 22px; color: var(--slate); }
.home-quote__form { display: flex; flex-direction: column; gap: 10px; }
.home-quote__row { display: flex; gap: 10px; }
.home-quote__row .field { flex: 1 1 0; min-width: 0; }
.home-quote .field input, .home-quote .field textarea { background: #F3F6F8; font-size: 15px; line-height: 18px; padding: 14px 16px; }
.home-quote .field input::placeholder, .home-quote .field textarea::placeholder { color: #7A8794; }
.home-quote .field textarea { min-height: 96px; height: 96px; }
.home-quote__photos { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px dashed #9AA8B5; border-radius: var(--radius-sm); text-align: left; color: var(--slate); font-size: 14px; font-weight: 500; line-height: 18px; }
.home-quote__photos svg { flex-shrink: 0; }
.home-quote__submit { width: 100%; margin-top: 8px; font-size: 16px; line-height: 20px; padding: 16px; }
.home-quote__call { font-size: 13px; line-height: 16px; color: var(--slate); text-align: center; }
.home-quote__call a { font-weight: 600; text-decoration: none; }
.home-quote__call a:hover { text-decoration: underline; }

/* Section heading split: title left, aside right (Services + Pricing) */
.home-split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.home-split-head__main { display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.home-split-head__aside { flex: 0 0 400px; font-size: 16px; line-height: 26px; color: var(--slate); }

/* Services grid */
.home-services { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 40px; margin-top: 48px; }
.home-service { display: flex; align-items: flex-start; gap: 20px; padding-block: 28px; border-top: 1px solid var(--line); text-decoration: none; color: var(--navy); height: 100%; }
.home-service__num { flex: 0 0 28px; padding-top: 6px; font-size: 13px; font-weight: 600; line-height: 16px; color: var(--slate); }
.home-service__body { flex: 1 1 0; display: flex; flex-direction: column; gap: 8px; }
.home-service__title { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 28px; letter-spacing: -0.01em; }
.home-service__desc { font-size: 15px; line-height: 23px; color: var(--slate); }
.home-service__arrow { flex-shrink: 0; margin-top: 4px; transition: transform .15s; }
.home-service:hover .home-service__title { text-decoration: underline; text-decoration-color: var(--buoy); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.home-service:hover .home-service__arrow { transform: translateX(4px); }

/* Pricing */
.home-pricing { padding-block: 112px; }
.home-rates { display: flex; border-top: 2px solid var(--navy); margin-top: 56px; }
.home-rate { flex: 1 1 0; display: flex; flex-direction: column; gap: 10px; padding: 32px 32px 32px 0; }
.home-rate + .home-rate { border-left: 1px solid var(--line); padding-left: 32px; }
.home-rate__price { font-family: var(--font-display); font-weight: 800; font-size: 64px; line-height: 64px; letter-spacing: -0.03em; color: var(--navy); }
.home-rate__price span { font-size: 22px; font-weight: 500; letter-spacing: 0; color: var(--slate); }
.home-rate__note { font-size: 15px; line-height: 23px; color: var(--slate); }

.home-flat { display: flex; gap: 96px; background: var(--fog); border-radius: var(--radius); padding: 48px; margin-top: 56px; }
.home-flat__intro { flex: 0 0 300px; display: flex; flex-direction: column; gap: 12px; }
.home-flat__intro p { font-size: 15px; line-height: 23px; }
.home-flat__list { flex: 1 1 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 56px; }
.home-flat__list li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.home-flat__job { display: flex; flex-direction: column; gap: 2px; }
.home-flat__job strong { font-size: 16px; font-weight: 600; line-height: 20px; }
.home-flat__job span { font-size: 14px; line-height: 18px; color: var(--slate); }
.home-flat__price { flex-shrink: 0; font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 24px; }

/* Service area */
.home-area__head { display: flex; flex-direction: column; gap: 20px; max-width: 720px; }
.home-area__lede { font-size: 16px; line-height: 26px; color: var(--on-dark); }
.home-area__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; margin-top: 56px; }
.home-area__col { display: flex; flex-direction: column; gap: 14px; }
.home-area__region { padding-bottom: 10px; border-bottom: 1px solid #2E4560; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; line-height: 16px; text-transform: uppercase; color: var(--on-dark-muted); }
.home-area__col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.home-area__col a { font-size: 17px; font-weight: 500; line-height: 22px; color: var(--white); text-decoration: underline 1px #4E6680; text-underline-position: from-font; }
.home-area__col a:hover { text-decoration-color: var(--buoy); }

/* FAQ */
.home-faq { display: flex; align-items: flex-start; gap: 96px; }
.home-faq__head { flex: 0 0 440px; display: flex; flex-direction: column; gap: 14px; }
.home-faq__list { flex: 1 1 0; min-width: 0; }
.home-faq__item { border-top: 1px solid var(--line); padding-block: 24px; }
.home-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; list-style: none; }
.home-faq__item summary::-webkit-details-marker { display: none; }
.home-faq__item summary h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 26px; letter-spacing: -0.01em; color: var(--navy); }
.home-faq__item summary::after {
  content: ""; flex: 0 0 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%2313263C' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.home-faq__item[open] summary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14' fill='none' stroke='%2313263C' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.home-faq__item p { margin-top: 12px; max-width: 640px; font-size: 16px; line-height: 26px; color: var(--slate); }

/* Final CTA */
.home-cta { background: var(--buoy); color: var(--ink); padding-block: 72px; }
.home-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.home-cta__title { max-width: 720px; font-family: var(--font-display); font-weight: 800; font-size: 48px; line-height: 52px; letter-spacing: -0.025em; }
.home-cta__actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.home-cta__btn { font-size: 16px; line-height: 20px; padding: 16px 26px; border-width: 2px; }
.home-cta__btn--solid { background: var(--ink); color: var(--white); border-color: var(--ink); }
.home-cta__btn--solid:hover { background: var(--navy); border-color: var(--navy); }
.home-cta__btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.home-cta__btn--outline:hover { background: var(--ink); color: var(--white); }
.home-cta .btn:focus-visible { outline-color: var(--ink); }

/* Responsive */
@media (max-width: 1100px) {
  .home-hero__inner { gap: 48px; }
  .home-hero__title { font-size: 52px; line-height: 56px; }
  .home-quote { flex-basis: 400px; padding: 28px; }
  .home-split-head__aside { flex-basis: 340px; }
  .home-services { grid-template-columns: repeat(2, 1fr); }
  .home-flat { flex-direction: column; gap: 32px; }
  .home-flat__intro { flex-basis: auto; }
  .home-area__cols { grid-template-columns: repeat(2, 1fr); }
  .home-faq { gap: 56px; }
  .home-faq__head { flex-basis: 320px; }
  .home-cta__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 900px) {
  .home-hero { padding: 56px 0 64px; }
  .home-hero__inner { flex-direction: column; align-items: stretch; gap: 40px; }
  .home-hero__copy { gap: 22px; }
  .home-hero__title { font-size: 40px; line-height: 44px; }
  .home-hero__lede { font-size: 17px; line-height: 27px; }
  .home-hero__stats strong { font-size: 22px; line-height: 28px; }
  .home-quote { flex-basis: auto; padding: 24px 20px; }
  .home-split-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .home-split-head__aside { flex-basis: auto; }
  .home-services { grid-template-columns: 1fr; margin-top: 32px; }
  .home-service { padding-block: 22px; }
  .home-pricing { padding-block: 64px; }
  .home-rates { flex-direction: column; margin-top: 36px; }
  .home-rate { padding: 28px 0; }
  .home-rate + .home-rate { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .home-rate__price { font-size: 52px; line-height: 56px; }
  .home-flat { padding: 28px 20px; margin-top: 36px; }
  .home-flat__list { grid-template-columns: 1fr; }
  .home-area__cols { gap: 36px 24px; margin-top: 40px; }
  .home-faq { flex-direction: column; gap: 32px; }
  .home-faq__head { flex-basis: auto; }
  .home-faq__item summary h3 { font-size: 18px; line-height: 24px; }
  .home-cta { padding-block: 56px; }
  .home-cta__title { font-size: 32px; line-height: 36px; }
  .home-cta__actions { flex-direction: column; align-items: stretch; width: 100%; }
}

@media (max-width: 480px) {
  .home-hero__title { font-size: 34px; line-height: 38px; }
  .home-quote__row { flex-direction: column; }
  .home-area__cols { grid-template-columns: 1fr; }
}
