.home-page {
  background: #ffffff;
}

.home-main {
  background: #ffffff;
}

.home-wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 28px;
}

.home-hero {
  background: #f8f5ef;
  padding: 72px 0 96px;
}

.home-hero-grid,
.home-split-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}

.home-hero-copy,
.home-split-copy,
.home-hero-media,
.home-split-media {
  min-width: 0;
}

.home-hero-copy {
  grid-column: 1 / span 5;
}

.home-hero-copy h1,
.home-split-copy h2,
.home-faq-wrap h2 {
  margin: 0;
  color: #1b1b1b;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.home-hero-copy h1 {
  max-width: 8.5ch;
  font-size: clamp(3.2rem, 6vw, 5rem);
  line-height: 0.92;
}

.home-hero-copy p,
.home-split-copy p,
.home-faq-item p {
  margin: 24px 0 0;
  color: #4d4942;
  font-size: 1.06rem;
  line-height: 1.6;
}

.home-hero-media {
  grid-column: 7 / span 6;
  justify-self: end;
  min-width: 0;
}

.home-hero-photo,
.home-split-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.home-hero-visual {
  position: relative;
  width: min(720px, 100%);
  margin-left: auto;
}

.home-hero-photo {
  max-width: 720px;
  box-shadow: 0 22px 44px rgba(18, 18, 18, 0.12);
}

.home-hero-overlay {
  position: absolute;
  left: clamp(-132px, -10vw, -56px);
  top: 50%;
  z-index: 2;
  width: clamp(220px, 26vw, 320px);
  transform: translateY(-50%);
  filter: drop-shadow(0 26px 30px rgba(18, 18, 18, 0.18));
}

.home-split {
  padding: 92px 0;
  background: #ffffff;
}

.home-split-copy {
  grid-column: 7 / span 4;
  max-width: 31rem;
}

.home-split-copy--partnership {
  max-width: 34rem;
}

.home-split--reverse .home-split-copy {
  grid-column: 7 / span 4;
}

.home-split-copy h2 {
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  line-height: 0.98;
}

.home-split-media {
  display: block;
  grid-column: 1 / span 5;
  color: inherit;
  text-decoration: none;
}

.home-split-media--form {
  display: grid;
  justify-items: end;
}

.home-split-media:hover > img {
  transform: translateY(-1px);
}

.home-split-media > img {
  transition: transform 180ms ease;
}

.home-split:not(.home-split--reverse) .home-split-copy {
  grid-column: 1 / span 4;
}

.home-split:not(.home-split--reverse) .home-split-copy--partnership {
  grid-column: 1 / span 6;
}

.home-split:not(.home-split--reverse) .home-split-media {
  grid-column: 7 / span 5;
}

.home-split:not(.home-split--reverse) .home-split-media--form {
  grid-column: 8 / span 5;
}

.home-text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 24px;
  color: var(--accent-dark);
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
}

.home-text-link:hover {
  color: var(--accent);
}

.home-contact-card {
  box-sizing: border-box;
  display: grid;
  gap: 14px;
  width: min(100%, 438px);
  min-height: 100%;
  padding: 24px;
  border: 1px solid #e4dfd5;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 245, 239, 0.96)),
    #ffffff;
  box-shadow: 0 18px 38px rgba(18, 18, 18, 0.08);
}

.home-contact-card h3 {
  margin: 0;
  color: #1b1b1b;
  font-size: 1.35rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.home-field {
  display: grid;
  gap: 8px;
}

.home-field span {
  color: #3f3b37;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.home-field input,
.home-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #dcd7cd;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: #1b1b1b;
  font: inherit;
  padding: 12px 15px;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.home-field input {
  min-height: 46px;
}

.home-field textarea {
  min-height: 116px;
  resize: vertical;
}

.home-field input:focus,
.home-field textarea:focus {
  border-color: rgba(0, 140, 122, 0.5);
  box-shadow: 0 0 0 4px rgba(0, 140, 122, 0.1);
  background: #ffffff;
}

.home-contact-actions {
  display: grid;
  gap: 10px;
  align-content: start;
}

.home-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: var(--accent);
  color: #ffffff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(0, 140, 122, 0.18);
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.home-contact-button:hover {
  transform: translateY(-1px);
  background: var(--accent-dark);
}

.home-contact-feedback {
  min-height: 1.1em;
  margin: 0;
  color: #6f6a63;
  font-size: 0.84rem;
}

.home-structured-copy br {
  display: block;
}

.home-video-shell {
  position: relative;
  width: 100%;
  overflow: visible;
}

.home-video-card {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(17, 21, 42, 0.08), rgba(17, 21, 42, 0.22)),
    #ebe7de;
  box-shadow: 0 22px 44px rgba(18, 18, 18, 0.12);
}

.home-video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(17, 21, 42, 0.08) 100%);
  pointer-events: none;
}

.home-video-card-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #d8d0c2;
}

.home-video-card-overlay {
  position: absolute;
  right: clamp(-82px, -6vw, -42px);
  top: 50%;
  z-index: 2;
  width: min(124%, 680px);
  max-width: 680px;
  transform: translate(103px, -50%);
  height: auto;
  filter: drop-shadow(0 22px 30px rgba(18, 18, 18, 0.22));
  pointer-events: none;
}

.home-faq-section {
  padding: 84px 0 108px;
}

.home-faq-wrap {
  max-width: 1100px;
}

.home-faq-wrap h2 {
  margin-bottom: 30px;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1;
}

.home-faq-item {
  border-top: 1px solid #e2ddd3;
}

.home-faq-item:last-child {
  border-bottom: 1px solid #e2ddd3;
}

.home-faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 76px;
  padding: 0 40px 0 0;
  cursor: pointer;
  list-style: none;
  color: #1b1b1b;
  font-size: 1rem;
  font-weight: 600;
}

.home-faq-item summary::-webkit-details-marker {
  display: none;
}

.home-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  color: #898378;
  font-size: 1.35rem;
  font-weight: 400;
  transform: translateY(-50%);
}

.home-faq-item[open] summary::after {
  content: "−";
}

.home-faq-item p {
  margin: 0;
  max-width: 54rem;
  padding: 0 0 26px;
  font-size: 0.98rem;
}

@media (max-width: 1080px) {
  .home-hero {
    padding: 56px 0 74px;
  }

  .home-hero-copy,
  .home-hero-media,
  .home-split-copy,
  .home-split-media,
  .home-split--reverse .home-split-copy,
  .home-split:not(.home-split--reverse) .home-split-copy,
  .home-split:not(.home-split--reverse) .home-split-media {
    grid-column: 1 / -1;
  }

  .home-hero-grid,
  .home-split-grid {
    gap: 34px;
  }

  .home-hero-copy {
    max-width: 42rem;
  }

  .home-hero-copy h1 {
    max-width: 9.2ch;
  }

  .home-hero-visual {
    width: min(680px, 100%);
  }

  .home-hero-overlay {
    left: 18px;
    top: auto;
    bottom: 18px;
    width: clamp(200px, 34vw, 280px);
    transform: none;
  }

  .home-split {
    padding: 72px 0;
  }

  .home-split-copy {
    max-width: 42rem;
  }

  .home-split-media {
    order: -1;
  }

  .home-split-media--form {
    justify-items: start;
  }

  .home-contact-card {
    width: min(100%, 460px);
  }

  .home-structured-copy br {
    display: none;
  }

  .home-video-shell {
    max-width: 680px;
  }

  .home-video-card {
    max-width: 680px;
  }

  .home-video-card-overlay {
    right: clamp(-64px, -4.8vw, -24px);
    width: min(104%, 580px);
    transform: translate(37px, -50%);
  }
}

@media (max-width: 760px) {
  .home-wrap {
    padding: 0 20px;
  }

  .home-hero {
    padding: 42px 0 58px;
  }

  .home-hero-copy h1 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .home-hero-copy p,
  .home-split-copy p {
    margin-top: 18px;
    font-size: 0.98rem;
  }

  .home-hero-overlay {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: min(220px, 48vw);
  }

  .home-split {
    padding: 56px 0;
  }

  .home-split-copy h2 {
    font-size: clamp(1.9rem, 9vw, 2.75rem);
  }

  .home-hero-media img,
  .home-split-media img {
    border-radius: 18px;
  }

  .home-contact-card {
    width: 100%;
    padding: 22px;
    border-radius: 20px;
  }

  .home-structured-copy br {
    display: none;
  }

  .home-video-shell {
    overflow: hidden;
    border-radius: 18px;
  }

  .home-video-card {
    border-radius: 18px;
  }

  .home-video-card-overlay {
    right: 8px;
    top: 50%;
    width: min(82%, 330px);
    transform: translateY(-50%);
  }

  .home-faq-section {
    padding: 56px 0 76px;
  }

  .home-faq-wrap h2 {
    margin-bottom: 18px;
  }

  .home-faq-item summary {
    min-height: 68px;
    font-size: 0.95rem;
  }

  .home-faq-item p {
    padding-bottom: 22px;
    font-size: 0.93rem;
  }
}
