/* =========================
   Home.css — LZ Comfort Home
   clean homepage styles only
   ========================= */


/* =========================
   Full-width stripe hero
   ========================= */


.hero {
  position: relative;
  width: 100vw;
  min-height: clamp(560px, 76vh, 780px);
  margin: 24px 0 0;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: #111;
  isolation: isolate;
}


.hero-bg,
.hero-slide,
.hero-overlay {
  position: absolute;
  inset: 0;
}


.hero-bg {
  z-index: -3;
}


.hero-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.03);
  transition:
    opacity 1800ms ease,
    transform 30000ms linear;
}


.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.1);
}


.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.72),
      rgba(0, 0, 0, 0.38) 48%,
      rgba(0, 0, 0, 0.10)
    ),
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.42),
      transparent 58%
    );
}


.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 56px));
  min-height: inherit;
  margin: 0 auto;
  padding: clamp(80px, 11vw, 140px) 0 clamp(130px, 13vw, 170px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.hero .eyebrow {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.76);
}


.hero h1 {
  max-width: 780px;
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(38px, 5.8vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  text-wrap: balance;
}


.hero-copy {
  max-width: 620px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  line-height: 1.8;
}


.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}


.hero-stats {
  position: absolute;
  left: 0;
  bottom: clamp(32px, 5vw, 58px);
  width: min(780px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}


.hero-stats div {
  padding: 15px 17px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(18px);
}


.hero-stats span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}


.hero-stats strong {
  display: block;
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 650;
}




/* =========================
   Intro
   ========================= */


.intro-section {
  padding-bottom: 50px;
}


.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: start;
}


.intro-grid h2 {
  max-width: 680px;
  margin-bottom: 0;
}


.intro-grid p {
  max-width: 540px;
  margin-bottom: 0;
  font-size: 16px;
}




/* =========================
   Services
   ========================= */


.service-section {
  padding-top: 30px;
}


.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}


.service-card {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 50px rgba(17, 17, 17, 0.055);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}


.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 23, 23, 0.12);
  box-shadow: 0 24px 70px rgba(17, 17, 17, 0.09);
}


.service-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  filter: saturate(0.92);
}


.service-card div {
  padding: 24px;
}


.service-card span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.14em;
}


.service-card h3 {
  margin-bottom: 12px;
}


.service-card p {
  margin-bottom: 0;
  font-size: 13px;
}




/* =========================
   Experience / Projects
   ========================= */


.experience-section {
  width: min(1380px, calc(100% - 40px));
  padding-top: 96px;
}


.experience-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 54px;
  align-items: end;
  margin-bottom: 38px;
}


.experience-head h2 {
  max-width: 760px;
  margin-bottom: 0;
}


.experience-head p {
  max-width: 500px;
  margin-bottom: 0;
}


.project-list {
  display: grid;
  gap: 24px;
}


.project-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(23, 23, 23, 0.07);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.58);
}


.project-row:nth-child(even) {
  grid-template-columns: 0.95fr 1.05fr;
}


.project-row:nth-child(even) .project-image {
  order: 2;
}


.project-image {
  min-height: 430px;
}


.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
}


.project-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 6vw, 76px);
  background:
    radial-gradient(circle at 100% 0%, rgba(155, 122, 75, 0.10), transparent 24rem),
    rgba(255, 255, 255, 0.72);
}


.project-copy span {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}


.project-copy h3 {
  margin-bottom: 16px;
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing: -0.045em;
}


.project-copy p {
  max-width: 520px;
  margin-bottom: 0;
}




/* =========================
   Hero contact polish
   ========================= */


.btn-glass {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(18px);
}


.btn-glass:hover {
  background: rgba(255, 255, 255, 0.18);
}


.hero-contact-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  letter-spacing: 0.02em;
}


.hero-contact-line a {
  transition: color 0.25s ease;
}


.hero-contact-line a:hover {
  color: #fff;
}


.hero-contact-line span {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
}




/* =========================
   Central / Split showcase
   ========================= */


.systems-showcase {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 96px;
  padding: clamp(72px, 9vw, 120px) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 0%, rgba(155, 122, 75, 0.13), transparent 34rem),
    linear-gradient(180deg, #f2eee7, #fbfaf7);
}


.systems-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(23, 23, 23, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 23, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}


.systems-shell {
  position: relative;
  z-index: 1;
  width: min(1380px, calc(100% - 40px));
  margin: 0 auto;
}


.systems-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 58px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 62px);
}


.systems-head .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -26px;
}


.systems-head h2 {
  max-width: 820px;
  margin-bottom: 0;
}


.systems-head p {
  max-width: 540px;
  margin-bottom: 0;
}


.system-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, 0.9fr);
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 26px 80px rgba(17, 17, 17, 0.08);
}


.system-feature + .system-feature {
  margin-top: 28px;
}


.system-feature-reverse {
  grid-template-columns: minmax(390px, 0.9fr) minmax(0, 1.1fr);
}


.system-feature-reverse .system-photo {
  order: 2;
}


.system-photo {
  min-height: 560px;
  overflow: hidden;
  background: #ddd;
}


.system-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
  transform: scale(1.01);
  transition: transform 1.1s var(--ease), filter 1.1s var(--ease);
}


.system-feature:hover .system-photo img {
  transform: scale(1.055);
  filter: saturate(1) contrast(1.05);
}


.system-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 6vw, 78px);
  background:
    radial-gradient(circle at 100% 0%, rgba(155, 122, 75, 0.12), transparent 24rem),
    rgba(255, 255, 255, 0.74);
}


.system-number {
  position: absolute;
  top: 34px;
  right: 38px;
  color: rgba(23, 23, 23, 0.08);
  font-size: clamp(58px, 7vw, 104px);
  line-height: 1;
  font-weight: 720;
  letter-spacing: -0.08em;
}


.system-copy .eyebrow {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
}


.system-copy h3 {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin-bottom: 18px;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}


.system-copy p {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin-bottom: 26px;
}


.system-points {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}


.system-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(23, 23, 23, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.025em;
}


.text-link {
  position: relative;
  z-index: 1;
  width: max-content;
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}


.text-link::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 7px;
  background: currentColor;
  transform-origin: left;
  transition: transform 0.28s ease;
}


.text-link:hover::after {
  transform: scaleX(0.72);
}




/* =========================
   Process / lower homepage
   ========================= */


.process-section {
  padding-top: 96px;
}


.process-head {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 58px;
  align-items: end;
  margin-bottom: 34px;
}


.process-head h2 {
  margin-bottom: 0;
}


.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}


.process-card {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 58px rgba(17, 17, 17, 0.055);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}


.process-card:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 23, 23, 0.12);
  box-shadow: 0 26px 76px rgba(17, 17, 17, 0.09);
}


.process-card img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  filter: saturate(0.92);
}


.process-card div {
  padding: 26px;
}


.process-card span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.14em;
}


.process-card h3 {
  margin-bottom: 12px;
}


.process-card p {
  margin-bottom: 0;
  font-size: 13px;
}




/* =========================
   Final contact stripe
   ========================= */


.contact-final {
  position: relative;
  width: 100vw;
  min-height: 560px;
  margin-top: 96px;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  isolation: isolate;
  background: #111;
}


.contact-final-bg,
.contact-final-bg img,
.contact-final-overlay {
  position: absolute;
  inset: 0;
}


.contact-final-bg {
  z-index: -3;
}


.contact-final-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}


.contact-final-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.46) 52%, rgba(0, 0, 0, 0.16)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.38), transparent 58%);
}


.contact-final-inner {
  width: min(var(--max), calc(100% - 56px));
  min-height: inherit;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 118px) 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}


.contact-final-copy .eyebrow {
  color: rgba(255, 255, 255, 0.74);
}


.contact-final-copy h2 {
  max-width: 720px;
  margin-bottom: 18px;
  color: #fff;
}


.contact-final-copy p {
  max-width: 590px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}


.contact-panel {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(22px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}


.contact-panel div {
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}


.contact-panel span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}


.contact-panel a:not(.btn) {
  color: #fff;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.2;
  font-weight: 620;
  letter-spacing: -0.035em;
  word-break: break-word;
}


.contact-panel .btn {
  width: 100%;
  margin-top: 4px;
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}




/* =========================
   Responsive additions
   ========================= */


@media (max-width: 980px) {
  .systems-head,
  .system-feature,
  .system-feature-reverse,
  .process-head,
  .contact-final-inner {
    grid-template-columns: 1fr;
  }


  .systems-head .section-kicker {
    grid-column: auto;
    margin-bottom: 0;
  }


  .system-feature-reverse .system-photo {
    order: initial;
  }


  .system-photo {
    min-height: 390px;
  }


  .system-feature {
    min-height: auto;
  }


  .process-grid {
    grid-template-columns: 1fr;
  }


  .process-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
  }


  .process-card img {
    height: 100%;
    min-height: 260px;
  }
}


@media (max-width: 760px) {
  .hero-contact-line {
    display: none;
  }


  .systems-showcase {
    margin-top: 72px;
    padding: 64px 0;
  }


  .systems-shell {
    width: min(100% - 24px, 1380px);
  }


  .systems-head {
    gap: 22px;
    margin-bottom: 30px;
  }


  .system-feature {
    border-radius: 26px;
  }


  .system-photo {
    min-height: 270px;
  }


  .system-copy {
    padding: 30px 24px 34px;
  }


  .system-number {
    top: 22px;
    right: 24px;
    font-size: 62px;
  }


  .system-points {
    gap: 8px;
  }


  .system-points span {
    min-height: 32px;
    font-size: 10px;
  }


  .process-section {
    padding-top: 72px;
  }


  .process-head {
    gap: 24px;
  }


  .process-grid {
    gap: 14px;
  }


  .process-card {
    display: block;
    border-radius: 26px;
  }


  .process-card img {
    height: 220px;
    min-height: auto;
  }


  .contact-final {
    min-height: auto;
    margin-top: 72px;
  }


  .contact-final-inner {
    width: min(100% - 34px, var(--max));
    padding: 68px 0;
    gap: 34px;
  }


  .contact-panel {
    padding: 24px;
    border-radius: 24px;
  }


  .contact-panel a:not(.btn) {
    font-size: 18px;
  }
}




/* =========================
   Responsive
   ========================= */


@media (max-width: 980px) {
  .intro-grid,
  .experience-head,
  .systems-card {
    grid-template-columns: 1fr;
  }


  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }


  .project-row,
  .project-row:nth-child(even) {
    grid-template-columns: 1fr;
  }


  .project-row:nth-child(even) .project-image {
    order: initial;
  }
}


@media (max-width: 760px) {
  .hero {
    min-height: 590px;
    margin-top: 16px;
  }


  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.46)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.48), transparent 52%);
  }


  .hero-inner {
    width: min(100% - 34px, var(--max));
    padding: 64px 0 38px;
    justify-content: center;
  }


  .hero h1 {
    max-width: 100%;
    font-size: clamp(36px, 11vw, 52px);
  }


  .hero-copy {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.7;
  }


  .hero-stats {
    position: static;
    width: 100%;
    grid-template-columns: 1fr;
    margin-top: 34px;
  }


  .service-grid {
    grid-template-columns: 1fr;
  }


  .experience-section {
    width: min(100% - 24px, 1380px);
    padding-top: 72px;
  }


  .project-row {
    min-height: auto;
    border-radius: 26px;
  }


  .project-image {
    min-height: 260px;
  }


  .project-copy {
    padding: 30px 24px 34px;
  }


  .systems-card {
    width: min(100% - 28px, var(--max));
    gap: 42px;
    padding: 64px 0;
  }


  .cta-section {
    width: min(100% - 24px, 1480px);
    margin-top: 72px;
  }


  .cta-card {
    min-height: 380px;
    border-radius: 26px;
  }
}

