/* LOCCO home v1 — isolated page styles */
.home-page {
  --home-bg: #f6f3ed;
  --home-soft: #ece9e1;
  --home-surface: #ffffff;
  --home-ink: #173f35;
  --home-text: #273b35;
  --home-muted: #5f6e68;
  --home-brand: #145244;
  --home-brand-deep: #0f4036;
  --home-accent: #c8754f;
  --home-accent-soft: #f3ddd1;
  --home-line: rgba(23, 63, 53, .13);
  --home-shadow: 0 24px 64px rgba(23, 63, 53, .12);
  --home-shadow-small: 0 12px 32px rgba(23, 63, 53, .08);
  background: var(--home-bg);
  color: var(--home-text);
}

.home-page img { display: block; }
.home-main { overflow: hidden; }
.home-main h1,
.home-main h2,
.home-main h3 { color: var(--home-ink); letter-spacing: -.035em; }
.home-main h1 {
  max-width: 12ch;
  margin: 0 0 24px;
  font-size: clamp(46px, 5.2vw, 78px);
  line-height: .98;
}
.home-main h1 span { color: var(--home-accent); }
.home-main h2 {
  margin: 0;
  font-size: clamp(36px, 4.2vw, 60px);
  line-height: 1.03;
}
.home-main h3 { margin: 0; line-height: 1.18; }
.home-main p { color: var(--home-muted); }

.home-eyebrow {
  margin: 0 0 18px;
  color: var(--home-brand) !important;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}
.home-eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  margin: 0 10px 3px 0;
  border-radius: 999px;
  background: currentColor;
}
.home-eyebrow--light { color: #cde1da !important; }

.home-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.home-button:hover { transform: translateY(-2px); }
.home-button--primary {
  border-color: var(--home-brand);
  background: var(--home-brand);
  color: #fff;
}
.home-button--primary:hover {
  background: var(--home-brand-deep);
  box-shadow: var(--home-shadow-small);
}
.home-button--secondary {
  border-color: rgba(20, 82, 68, .25);
  background: rgba(255,255,255,.64);
  color: var(--home-brand-deep);
}
.home-button--secondary:hover { background: #fff; box-shadow: var(--home-shadow-small); }
.home-button--light { background: #fff; color: var(--home-brand-deep); }
.home-button--outline-light { border-color: rgba(255,255,255,.44); color: #fff; }
.home-button--outline-light:hover { background: rgba(255,255,255,.1); }

.home-service h3,
.home-service .home-card-link,
.home-directions h3,
.home-lens-grid strong,
.home-useful__grid h3 {
  text-decoration: none;
}

.home-hero { position: relative; padding: clamp(52px, 7vw, 96px) 0 76px; }
.home-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -100px;
  right: -140px;
  width: 640px;
  height: 640px;
  border: 1px solid rgba(20,82,68,.09);
  border-radius: 50%;
}
.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .82fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: center;
}
.home-hero__copy { min-width: 0; }
.home-hero__lead {
  max-width: 58ch;
  margin: 0 0 28px;
  color: #44564f !important;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.6;
}
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.home-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.home-hero__meta span {
  padding: 8px 12px;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  background: rgba(255,255,255,.56);
  color: #3f514a;
  font-size: 13px;
  font-weight: 700;
}
.home-contact-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 24px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--home-line);
  font-size: 14px;
}
.home-contact-line a { color: var(--home-brand); font-weight: 850; white-space: nowrap; }
.home-hero__media { position: relative; margin: 0; }
.home-hero__media img {
  width: 100%;
  min-height: 590px;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 240px 240px 32px 32px;
  box-shadow: var(--home-shadow);
}
.home-hero__media figcaption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 126px;
  height: 126px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: var(--home-brand-deep);
  box-shadow: var(--home-shadow-small);
  backdrop-filter: blur(12px);
  text-align: center;
}
.home-hero__media figcaption strong { font-size: 30px; line-height: 1; }
.home-hero__media figcaption span {
  width: 78px;
  margin-top: 6px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.home-facts { padding-bottom: 40px; }
.home-facts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
}
.home-facts article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--home-line);
  border-radius: 24px;
  background: rgba(255,255,255,.68);
}
.home-facts article > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 38px;
  border-radius: 50%;
  background: #dce9e3;
  color: var(--home-brand);
  font-size: 13px;
  font-weight: 900;
}
.home-facts strong { display: block; color: var(--home-ink); font-size: 18px; line-height: 1.3; }
.home-facts p { margin: 10px 0 0; font-size: 14px; line-height: 1.55; }

.home-section { padding: clamp(80px, 9vw, 132px) 0; }
.home-section--soft { background: var(--home-soft); }
.home-section__head { max-width: 880px; margin-bottom: 44px; }
.home-section__head > p:last-child { max-width: 64ch; margin: 18px 0 0; font-size: 18px; line-height: 1.65; }
.home-section__head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(280px,.52fr);
  gap: 48px;
  align-items: end;
}
.home-section__head--split > p:last-child { margin: 0; }

.home-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
.home-service {
  min-height: 280px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 30px;
  border: 1px solid var(--home-line);
  border-radius: 28px;
  background: rgba(255,255,255,.72);
  color: var(--home-text);
  box-shadow: var(--home-shadow-small);
}
.home-service--featured { min-height: 390px; background: var(--home-brand-deep); color: #fff; }
.home-service--warm { background: #e7c8b5; color: var(--home-ink); }
.home-service__number { color: var(--home-accent); font-size: 13px; font-weight: 900; }
.home-service--featured:not(.home-service--warm) .home-service__number { color: #f1c2aa; }
.home-service h3 { margin-bottom: 12px; font-size: clamp(27px, 3vw, 42px); }
.home-service--featured:not(.home-service--warm) h3 { color: #fff; }
.home-service p { max-width: 52ch; margin: 0; line-height: 1.62; }
.home-service--featured:not(.home-service--warm) p { color: rgba(255,255,255,.78); }
.home-card-label {
  margin-bottom: 12px !important;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.home-card-link { align-self: flex-start; font-size: 14px; font-weight: 850; }
.home-service:hover { transform: translateY(-3px); }

.home-directions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.home-directions a {
  min-height: 290px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--home-line);
  border-radius: 26px;
  background: rgba(255,255,255,.7);
}
.home-directions a > span { color: var(--home-accent); font-size: 12px; font-weight: 900; }
.home-directions h3 { margin: auto 0 12px; font-size: 24px; }
.home-directions p { margin: 0; font-size: 15px; line-height: 1.58; }
.home-directions a:hover { background: #fff; box-shadow: var(--home-shadow-small); }

.home-first { background: #fff; }
.home-first__grid {
  display: grid;
  grid-template-columns: minmax(380px,.88fr) minmax(0,1.12fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
}
.home-first__media img {
  width: 100%;
  min-height: 650px;
  object-fit: cover;
  object-position: 62% center;
  border-radius: 220px 220px 28px 28px;
  box-shadow: var(--home-shadow);
}
.home-first__lead { max-width: 60ch; margin: 22px 0 30px; font-size: 18px; line-height: 1.68; }
.home-steps { display: grid; gap: 0; margin: 0 0 30px; padding: 0; list-style: none; }
.home-steps li {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr);
  gap: 15px;
  padding: 17px 0;
  border-bottom: 1px solid var(--home-line);
}
.home-steps li > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dce9e3;
  color: var(--home-brand);
  font-size: 12px;
  font-weight: 900;
}
.home-steps strong { color: var(--home-ink); }
.home-steps p { margin: 4px 0 0; font-size: 14px; line-height: 1.55; }

.home-lenses { background: var(--home-brand-deep); color: #fff; }
.home-lenses h2 { color: #fff; }
.home-lenses__head {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(280px,.48fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 44px;
}
.home-lenses__head > p { margin: 0; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.65; }
.home-lens-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  margin-bottom: 28px;
}
.home-lens-grid a {
  min-height: 185px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  background: rgba(255,255,255,.045);
  color: #fff;
}
.home-lens-grid span { color: #efb99e; font-size: 12px; font-weight: 900; }
.home-lens-grid strong { margin-top: auto; font-size: 21px; }
.home-lens-grid small { margin-top: 7px; color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.5; }
.home-lens-grid a:hover { background: rgba(255,255,255,.09); }

.home-values { background: #e6d8c7; }
.home-values__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
}
.home-values article {
  min-height: 285px;
  padding: 26px;
  border: 1px solid rgba(23,63,53,.1);
  border-radius: 26px;
  background: rgba(255,255,255,.48);
}
.home-values article > span { color: var(--home-accent); font-size: 12px; font-weight: 900; }
.home-values h3 { margin: 82px 0 12px; font-size: 20px; }
.home-values p { margin: 0; font-size: 15px; line-height: 1.62; }

.home-useful__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.home-useful__grid a {
  min-height: 240px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border: 1px solid var(--home-line);
  border-radius: 24px;
  background: rgba(255,255,255,.72);
}
.home-useful__grid span {
  color: var(--home-brand);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.home-useful__grid h3 { font-size: 22px; }
.home-useful__grid a:hover { background: #fff; box-shadow: var(--home-shadow-small); }
.home-useful__all { margin-top: 26px; }

.home-faq { background: #e8ede9; }
.home-faq__layout {
  display: grid;
  grid-template-columns: minmax(270px,.52fr) minmax(0,1fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: start;
}
.home-faq__intro { position: sticky; top: 120px; }
.home-faq__intro > p { max-width: 36ch; margin: 20px 0; }
.home-phone { color: var(--home-brand); font-size: 20px; font-weight: 900; }
.home-faq__items { display: grid; gap: 10px; }
.home-faq details {
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 18px;
  background: rgba(255,255,255,.78);
}
.home-faq summary {
  position: relative;
  padding: 20px 54px 20px 22px;
  color: var(--home-ink);
  cursor: pointer;
  font-weight: 800;
  line-height: 1.4;
  list-style: none;
}
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary::after {
  content: "+";
  position: absolute;
  top: 17px;
  right: 18px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dce9e3;
  color: var(--home-brand);
  font-size: 18px;
}
.home-faq details[open] summary::after { content: "−"; }
.home-faq details p { margin: 0; padding: 0 22px 22px; line-height: 1.65; }

.home-location { padding: 52px 0 84px; background: #fff; }
.home-location__card {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(360px,.7fr);
  gap: 44px;
  overflow: hidden;
  padding: clamp(30px, 5vw, 62px);
  border-radius: 34px;
  background: var(--home-brand-deep);
  color: #fff;
}
.home-location h2 { color: #fff; }
.home-location__copy > p { color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.65; }
.home-location__copy > p strong { color: #fff; }
.home-location__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.home-location__media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 180px 180px 24px 24px;
}

.home-page .site-footer { margin-top: 0; }

@media (max-width: 1050px) {
  .home-hero__grid { grid-template-columns: minmax(0,1fr) minmax(350px,.75fr); gap: 44px; }
  .home-facts__grid,
  .home-values__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .home-directions,
  .home-useful__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 820px) {
  .home-hero__grid,
  .home-first__grid,
  .home-location__card { grid-template-columns: 1fr; }
  .home-hero__copy { order: 1; }
  .home-hero__media { order: 2; width: min(100%, 620px); margin-inline: auto; }
  .home-hero__media img { min-height: 620px; }
  .home-section__head--split,
  .home-lenses__head,
  .home-faq__layout { grid-template-columns: 1fr; gap: 24px; }
  .home-faq__intro { position: static; }
  .home-first__media { width: min(100%,620px); margin-inline: auto; }
  .home-location__media { max-width: 560px; }
}

@media (max-width: 640px) {
  .home-main h1 { font-size: clamp(39px, 11vw, 52px); }
  .home-main h2 { font-size: clamp(32px, 9vw, 43px); }
  .home-hero { padding: 38px 0 60px; }
  .home-hero__actions { display: grid; }
  .home-hero__actions .home-button { width: 100%; min-height: 62px; }
  .home-contact-line { grid-template-columns: 1fr; }
  .home-hero__media img { min-height: 450px; border-radius: 150px 150px 24px 24px; }
  .home-hero__media figcaption { right: 16px; bottom: 18px; width: 104px; height: 104px; }
  .home-facts__grid,
  .home-directions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-services,
  .home-lens-grid,
  .home-values__grid,
  .home-useful__grid { grid-template-columns: 1fr; }

  .home-facts__grid { gap: 8px; }
  .home-facts article {
    min-height: 142px;
    padding: 16px;
    border-radius: 18px;
  }
  .home-facts article > span {
    width: 38px;
    height: 38px;
    margin-bottom: 20px;
    font-size: 11px;
  }
  .home-facts strong {
    font-size: 15px;
    line-height: 1.28;
  }
  .home-facts p { display: none; }

  .home-directions { gap: 8px; }
  .home-directions a {
    min-height: 190px;
    padding: 18px;
    border-radius: 19px;
  }
  .home-directions h3 {
    margin-top: auto;
    font-size: 18px;
    line-height: 1.18;
  }
  .home-directions p {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.45;
  }
  .home-service,
  .home-service--featured { min-height: 300px; padding: 24px; }
  .home-directions a { min-height: 230px; }
  .home-first__media img { min-height: 440px; border-radius: 145px 145px 22px 22px; }
  .home-lens-grid a { min-height: 160px; }
  .home-values article { min-height: 240px; }
  .home-values h3 { margin-top: 54px; }
  .home-useful__grid a { min-height: 210px; }
  .home-location__card { padding: 28px 20px; border-radius: 24px; }
  .home-location__actions { display: grid; }
  .home-location__actions .home-button { width: 100%; }
  .home-location__media img { min-height: 290px; border-radius: 130px 130px 20px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-button,
  .home-service { transition: none; }
}
