/* Levant Climate Services: the three Get Found pages (furnace repair, AC repair, appliance repair).
   Loads after site.css and adds only what the home page has no use for: a one-photo hero, service cards,
   three steps, a photo band, three full-text reviews, the area block and the links to the other pages. */

/* hero: one real photo, shorter than the home film, the same scrim and copy block */
.phero { position: relative; height: min(72svh, 640px); min-height: 480px; overflow: hidden; background: var(--navy); color: var(--white); isolation: isolate; }
.phero__pic { position: absolute; inset: 0; }
.phero__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.phero--low .phero__pic img { object-position: 50% 72%; }
.js .phero__pic img { animation: push 9s linear forwards; }
.phero .hero__copy { bottom: 64px; gap: 14px; }
.phero .display { font-size: clamp(38px, 4.8vw, 66px); }
.phero .hero__sub { font-size: 19px; text-wrap: pretty; }
.phero :focus-visible { outline-color: var(--amber); } /* the hero is navy like the home film: a navy ring would vanish */
.cta-short { display: none; } /* the Call button shows the number on desktop and "Call now" on phones, like the nav button */
.intro p, .fix p, .step p, .jobs figcaption, .area__copy p, .faq__a p { text-wrap: pretty; }
.nav .logo { min-height: 44px; align-items: center; }
.phero--right .hero__shade { background: linear-gradient(270deg, rgb(4 31 67 / .84) 0%, rgb(4 31 67 / .55) 40%, rgb(4 31 67 / 0) 72%), linear-gradient(0deg, rgb(4 31 67 / .8) 0, rgb(4 31 67 / .5) 220px, rgb(4 31 67 / 0) 400px); }
.phero--right .hero__copy { justify-items: end; text-align: right; }
.phero--right .hero__ctas { justify-content: flex-end; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; font-size: 14px; font-weight: 500; color: rgb(255 255 255 / .85); }
.crumbs li { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: rgb(255 255 255 / .55); }
.crumbs a { color: var(--white); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.crumbs a:hover { color: var(--amber); }

/* section intros: heading left, one line under it */
.intro { display: grid; gap: 12px; max-width: 760px; margin-bottom: 48px; }
.intro p { font-size: 17px; color: var(--muted); }
.band .intro { color: var(--white); }
.band .intro p { color: rgb(255 255 255 / .82); }

/* what Aziz fixes: the approved service lines as flat cards with the amber edge */
.fixes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.fixes--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fix { display: grid; gap: 8px; align-content: start; padding: 30px 28px 30px 32px; background: var(--gray); border-left: 4px solid var(--amber); }
.fix h3 { font-size: 21px; line-height: 1.3; }
.fix p { color: var(--muted); }

/* how it works: three steps, the urgent one carries the amber number */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.step { display: grid; gap: 12px; align-content: start; padding: 32px 28px; background: var(--white); border-top: 4px solid var(--line); }
.step--now { border-top-color: var(--amber); }
.step__n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--white); font-weight: 600; font-variant-numeric: tabular-nums; }
.step--now .step__n { background: var(--amber); color: var(--navy); }
.step h3 { font-size: 22px; line-height: 1.3; }
.step p { color: var(--muted); }
.step .phone-big { font-size: 22px; justify-self: start; display: inline-flex; align-items: center; min-height: 44px; }

/* real work: his photos on the navy band */
.jobs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.jobs--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jobs img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--navy-2); }
.jobs figcaption { margin-top: 12px; font-size: 15px; line-height: 1.6; color: rgb(255 255 255 / .78); }

/* reviews: three cards, full text, the same card as the home carousel */
.said { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-bottom: 40px; }
.said .quote blockquote { display: block; -webkit-line-clamp: none; overflow: visible; white-space: pre-line; font-size: 18px; }
.said .quote blockquote::before { content: "\201C"; }
.said .quote blockquote::after { content: "\201D"; }

/* area: where he works and the facts beside it */
.area { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; }
.area__copy { display: grid; gap: 14px; }
.area__copy p { font-size: 17px; color: var(--muted); }
.area .facts { padding: 28px 32px; background: var(--white); border-left: 4px solid var(--amber); }

/* the footer phone link is a tap target on these pages */
.foot__in a:not(.logo) { display: inline-flex; align-items: center; min-height: 44px; }

/* the other two pages */
.more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.more a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; padding: 20px 24px; border: 1px solid var(--line); background: var(--white); text-decoration: none; font-size: 18px; font-weight: 500; transition: border-color .25s, background-color .25s; }
.more a:hover { border-color: var(--navy); }
.more a .i { width: 18px; height: 18px; color: var(--amber-2); transition: transform .3s var(--ease); }
.more a:hover .i { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  .js .phero__pic img { animation: none; transform: none; }
  .more a .i { transition: none; }
}

/* portrait tablets: the hero is a landscape box here, so the home film's bottom-up scrim (site.css) fades out above the copy.
   Keep the side scrim and deepen the bottom one behind the breadcrumb and the first H1 line. */
@media (orientation: portrait) and (min-width: 701px) and (max-width: 1100px) {
  .phero:not(.phero--right) .hero__shade { background: linear-gradient(90deg, rgb(4 31 67 / .82) 0%, rgb(4 31 67 / .55) 38%, rgb(4 31 67 / 0) 70%), linear-gradient(0deg, rgb(4 31 67 / .92) 0%, rgb(4 31 67 / .8) 45%, rgb(4 31 67 / .55) 75%, rgb(4 31 67 / .4) 100%); }
}
/* tablets: the 1280 hero fills a box narrower than itself, so the furnace page keeps the left edge (Aziz) instead of the centre */
@media (min-width: 701px) and (max-width: 1100px) {
  .phero--low .phero__pic img { object-position: 0% 72%; }
}
@media (max-width: 1100px) {
  /* two columns, and the third card, step or review takes the whole next row (as the home's last card does) so nothing sits alone beside an empty cell */
  .fixes--3, .steps, .said { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fixes--3 > :nth-child(3), .steps > :nth-child(3), .said > :nth-child(3) { grid-column: 1 / -1; }
  .said > :nth-child(3) blockquote { max-width: 62ch; }
  .jobs, .jobs--2 { gap: 16px; } /* three photos fit at tablet width */
  .area { grid-template-columns: 1fr; gap: 28px; }
  .more { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .phero { height: min(calc(100svh - var(--nav-h) - 72px), 620px); min-height: 520px; }
  .phero .hero__copy { bottom: 84px; gap: 12px; }
  .phero .display { font-size: clamp(32px, 9.6vw, 44px); }
  .phero .hero__sub { font-size: 16px; }
  .cta-long { display: none; }
  .cta-short { display: inline; } /* "Call now" beside "Book a visit" on one row, as on home, so more of the photo shows */
  .phero--right .hero__shade { background: linear-gradient(0deg, rgb(4 31 67 / .92) 0%, rgb(4 31 67 / .72) 50%, rgb(4 31 67 / .4) 78%, rgb(4 31 67 / .2) 100%); }
  .phero--right .hero__copy { justify-items: start; text-align: left; }
  .phero--right .hero__ctas { justify-content: flex-start; }
  .nav__cta { min-height: 44px; }
  .crumbs li { min-height: 36px; }
  .crumbs a { min-height: 44px; }
  .intro { margin-bottom: 32px; }
  .fixes, .fixes--3, .steps, .said, .jobs, .jobs--2 { grid-template-columns: 1fr; gap: 16px; }
  .fix { padding: 22px 20px 22px 22px; }
  .fix h3 { font-size: 19px; }
  .step { padding: 24px 20px; }
  .step h3 { font-size: 20px; }
  .area .facts { padding: 22px 20px; }
  .more a { font-size: 17px; min-height: 64px; padding: 16px 18px; }
}
@media (max-width: 700px) and (max-height: 700px) {
  .phero--right .hero__shade { background: linear-gradient(0deg, rgb(4 31 67 / .92) 0%, rgb(4 31 67 / .75) 50%, rgb(4 31 67 / .6) 80%, rgb(4 31 67 / .45) 100%); }
}
@media (max-width: 380px) {
  .phero .hero__ctas .btn { padding-inline: 16px; font-size: 15px; }
}
