/* Pro Kutz Lawn Care & Landscaping */
:root {
  --navy: #14233F;
  --navy-2: #1E3256;
  --green: #2B7A2F;
  --green-d: #1F5E26;
  --paper: #F6F3EA;
  --white: #FFFFFF;
  --ink: #17202E;
  --muted: #55606F;
  --line: #DDD7C7;
  --straw: #E9B949;
  --spring: #9CCB4A;
  --summer: #2B7A2F;
  --fall: #E0862E;
  --winter: #3F5C86;
  --head: "Gabarito", "Trebuchet MS", sans-serif;
  --body: "Karla", "Segoe UI", sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: 1.5rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--straw); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 12px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.link { color: var(--green-d); font-weight: 700; text-underline-offset: 3px; }
.link:hover { color: var(--navy); }
.stars { color: var(--straw); letter-spacing: 2px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 26px;
  font: 700 1.125rem/1 var(--head);
  text-decoration: none; border: 0; border-radius: 6px; cursor: pointer;
  transition: background-color .15s, color .15s;
}
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-d); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: #E8EDF5; }
.btn--full { width: 100%; }

/* Header */
.top { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 54px; height: 54px; border-radius: 50%; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand__txt b { font: 800 1.5rem/1 var(--head); color: var(--navy); }
.brand__txt span { font-size: .9375rem; color: var(--muted); }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-weight: 500; padding: 12px 0; border-bottom: 3px solid transparent; }
.nav a:hover { border-bottom-color: var(--green); }
.top__call {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px;
  background: var(--navy); color: #fff; border-radius: 6px; text-decoration: none;
  font: 700 1.125rem/1 var(--head); white-space: nowrap;
}
.top__call:hover { background: var(--navy-2); }
.menu-btn {
  display: none; min-height: 48px; padding: 0 16px; background: none;
  border: 2px solid var(--navy); border-radius: 6px; color: var(--navy);
  font: 700 1rem/1 var(--head); cursor: pointer;
}

.scrim { position: fixed; inset: 0; background: rgba(20, 35, 63, .55); z-index: 50; }
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); z-index: 60;
  background: #fff; padding: 16px 20px 24px; display: flex; flex-direction: column; overflow-y: auto;
}
.mobile-menu[hidden], .scrim[hidden] { display: none; }
.mobile-menu__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.mobile-menu__head b { font: 800 1.5rem/1 var(--head); color: var(--navy); }
.mobile-menu .menu-btn { display: inline-block; }
.mobile-menu > a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 700 1.25rem/1.2 var(--head); }
.mobile-menu .btn { margin-top: 24px; }

/* Hero */
.hero { position: relative; background: var(--paper); padding-bottom: 104px; }
.hero__img { width: 100%; height: clamp(540px, 76vh, 760px); object-fit: cover; object-position: 50% 92%; }
.hero__wrap { position: absolute; left: 0; right: 0; bottom: 0; }
.hero__panel {
  width: min(640px, 100%);
  background: var(--navy); color: #fff;
  padding: 40px 44px 34px;
  border-top: 10px solid transparent;
  border-image: repeating-linear-gradient(90deg, #3E9B3A 0 34px, #2B7A2F 34px 68px) 10;
}
.hero h1 { font-size: clamp(2.25rem, 4.2vw, 3.5rem); font-weight: 800; }
.hero__lead { margin: 18px 0 26px; font-size: 1.25rem; color: #DCE3EE; max-width: 30em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__rating { display: inline-flex; gap: 10px; align-items: center; margin-top: 22px; color: #DCE3EE; text-decoration: none; font-size: 1.0625rem; }
.hero__rating:hover span:last-child { text-decoration: underline; }

/* Sections */
.sec { padding: 96px 0; }
.sec__head { max-width: 720px; margin-bottom: 44px; }
.sec__head p { margin: 14px 0 0; color: var(--muted); font-size: 1.25rem; }

.services { background: var(--paper); padding-top: 64px; }
.svc { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 28px; }
.svc__item img { width: 100%; height: 300px; object-fit: cover; border-radius: 4px; }
.svc__item h3 { margin: 18px 0 8px; }
.svc__item p { margin: 0; color: var(--muted); }
.also { margin-top: 56px; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 56px; border-top: 2px solid var(--navy); }
.also li { display: flex; gap: 18px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); }
.also b { font: 700 1.1875rem/1.3 var(--head); flex: 0 0 210px; }
.also span { color: var(--muted); }

/* Season calendar */
.seasons { background: #fff; }
.cal__months { display: grid; grid-template-columns: repeat(12, 1fr); margin-bottom: 6px; }
.cal__months li { text-align: center; font: 500 .9375rem/1 var(--head); color: var(--muted); padding: 8px 0 10px; position: relative; }
.cal__months li.is-now { color: var(--navy); font-weight: 800; }
.cal__months li.is-now::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 0; height: 0; border: 7px solid transparent; border-top-color: var(--navy); transform: translateX(-50%); }
.cal__row { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.season { background: var(--paper); border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.season:first-child { border-left: 0; }
.season header { padding: 16px 20px 14px; display: flex; flex-direction: column; gap: 4px; color: var(--navy); }
.season header h3 { font-size: 1.75rem; font-weight: 800; }
.season header span { font-size: 1rem; font-weight: 500; }
.season--spring header { background: var(--spring); }
.season--summer header { background: var(--summer); color: #fff; }
.season--fall header { background: var(--fall); }
.season--winter header { background: var(--winter); color: #fff; }
.season img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; }
.season ul { padding: 18px 20px 24px; }
.season li { padding: 9px 0 9px 20px; border-bottom: 1px solid var(--line); position: relative; line-height: 1.35; }
.season li:last-child { border-bottom: 0; }
.season li::before { content: ""; position: absolute; left: 0; top: 17px; width: 9px; height: 9px; border-radius: 50%; }
.season--spring li::before { background: var(--spring); }
.season--summer li::before { background: var(--summer); }
.season--fall li::before { background: var(--fall); }
.season--winter li::before { background: var(--winter); }
.season.is-now header h3::after {
  content: "Now"; margin-left: 12px; padding: 3px 9px 4px; vertical-align: middle;
  background: var(--navy); color: #fff; border-radius: 4px; font: 700 .875rem/1 var(--head); letter-spacing: 0;
}
.cal__all { margin: 0; padding: 18px 20px; background: var(--navy); color: #fff; }
.cal__all b { font-family: var(--head); margin-right: 14px; color: var(--straw); }

/* Gallery */
.work { background: var(--paper); }
.gal { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 12px; }
.gal__i { display: block; overflow: hidden; border-radius: 4px; background: var(--line); }
.gal__i img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gal__i:hover img { transform: scale(1.03); }
.g1 { grid-column: 1 / 3; grid-row: 1; }
.g2 { grid-column: 3; grid-row: 1 / 3; }
.g3 { grid-column: 4; grid-row: 1; }
.g4 { grid-column: 1; grid-row: 2; }
.g5 { grid-column: 2; grid-row: 2 / 4; }
.g6 { grid-column: 4; grid-row: 2; }
.g7 { grid-column: 1; grid-row: 3; }
.g8 { grid-column: 3 / 5; grid-row: 3; }

/* Reviews */
.reviews__in { display: grid; grid-template-columns: 300px 1fr; gap: 72px; align-items: start; }
.reviews__score { position: sticky; top: 108px; }
.reviews__score h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.score { margin: 28px 0 0; display: flex; align-items: baseline; gap: 12px; }
.score__n { font: 800 6rem/0.9 var(--head); color: var(--green); }
.score__of { color: var(--muted); }
.reviews__score .stars { font-size: 1.75rem; margin: 6px 0 4px; }
.reviews__list { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 48px; }
.quote { margin: 0; }
.quote-stack { display: grid; gap: 40px; align-content: start; }
.quote blockquote { margin: 0; }
.quote figcaption { margin-top: 14px; color: var(--muted); font-size: 1rem; }
.quote figcaption b { display: block; color: var(--ink); font: 700 1.125rem/1.3 var(--head); }
.quote--lead { grid-column: 1 / -1; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.quote--lead blockquote { font: 500 1.625rem/1.38 var(--head); color: var(--navy); }

/* About */
.about { background: var(--navy); color: #fff; }
.about__top { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; margin-bottom: 52px; }
.about__txt p { color: #DCE3EE; max-width: 36em; font-size: 1.25rem; }
.about__txt p:last-child { margin-bottom: 0; }
.about__photos { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; }
.about__photos figure { margin: 0; }
.about__photos img { width: 100%; height: 370px; object-fit: cover; border-radius: 4px; }
.about__photos figcaption { margin-top: 10px; color: #B9C4D6; font-size: 1rem; }

/* Contact */
.contact__in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: start; }
.contact__form > p { color: var(--muted); font-size: 1.25rem; margin: 14px 0 28px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 12px 14px;
  font: 400 1.125rem/1.4 var(--body); color: var(--ink);
  background: #fff; border: 2px solid #B8B19E; border-radius: 6px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--straw); outline-offset: 0; border-color: var(--navy); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.form__err { color: #B3261E; font-weight: 700; margin: 0 0 12px; min-height: 0; }
.form__err:empty { display: none; }
.form__hint { margin: 12px 0 0; color: var(--muted); font-size: 1rem; }
.contact__info { background: var(--paper); padding: 36px 36px 30px; border-radius: 4px; }
.contact__info h3 { font-size: 1.25rem; margin: 30px 0 8px; }
.contact__info h3:first-child { margin-top: 0; }
.contact__info p { margin: 0 0 6px; }
.bigphone { display: inline-block; font: 800 clamp(2rem, 3.4vw, 2.75rem)/1.1 var(--head); color: var(--navy); text-decoration: none; margin-bottom: 6px; }
.bigphone:hover { color: var(--green-d); }
.open { font-weight: 700; color: var(--green-d); }
.open.is-closed { color: var(--muted); }
.hours { border-collapse: collapse; width: 100%; }
.hours th, .hours td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; white-space: nowrap; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; }

/* Footer */
.foot { background: var(--navy); color: #DCE3EE; padding: 48px 0 28px; border-top: 10px solid transparent; border-image: repeating-linear-gradient(90deg, #3E9B3A 0 34px, #2B7A2F 34px 68px) 10; }
.foot__in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot__name { font: 800 1.375rem/1.2 var(--head); color: #fff; margin-bottom: 6px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 6px 28px; align-items: center; }
.foot__links a { padding: 10px 0; text-underline-offset: 3px; }
.foot__links a:hover { color: #fff; }
.foot__copy { margin-top: 28px; padding-top: 20px; border-top: 1px solid #2E4368; font-size: 1rem; color: #B9C4D6; }

/* Sticky mobile bar */
.sticky-book { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(12, 20, 36, .94); display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); border-radius: 4px; }
.lightbox figcaption { color: #fff; margin-top: 12px; text-align: center; font-size: 1.0625rem; }
.lb__btn { position: absolute; width: 52px; height: 52px; border: 0; border-radius: 50%; background: #fff; color: var(--navy); font: 700 1.75rem/1 var(--head); cursor: pointer; }
.lb__close { top: 14px; right: 14px; }
.lb__prev { left: 14px; top: 50%; margin-top: -26px; }
.lb__next { right: 14px; top: 50%; margin-top: -26px; }

/* Tablet */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-block; }
  .svc { grid-template-columns: 1fr 1fr; }
  .svc__item--wide { grid-column: 1 / -1; }
  .svc__item--wide img { height: 340px; }
  .also b { flex-basis: 180px; }
  .cal__row { grid-template-columns: 1fr 1fr; }
  .cal__months { display: none; }
  .season:nth-child(3) { border-left: 0; }
  .season:nth-child(n+3) { border-top: 1px solid var(--line); }
  .reviews__in { grid-template-columns: 1fr; gap: 40px; }
  .reviews__score { position: static; }
  .contact__in { grid-template-columns: 1fr; gap: 44px; }
  .about__top { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
  .about__photos img { height: 300px; }
}

/* Phone */
@media (max-width: 700px) {
  html { scroll-padding-top: 72px; }
  .wrap { width: calc(100% - 32px); }
  .sec { padding: 60px 0; }
  .sec__head { margin-bottom: 30px; }
  .sec__head p { font-size: 1.125rem; }
  .top__in { min-height: 64px; gap: 10px; }
  .brand img { width: 44px; height: 44px; }
  .brand__txt b { font-size: 1.3125rem; }
  .brand__txt span { display: none; }
  .top__call { padding: 0; width: 48px; justify-content: center; }
  .top__call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

  .hero { padding-bottom: 0; background: var(--navy); }
  .hero__img { height: 250px; object-position: 50% 30%; }
  .hero__wrap { position: static; width: 100%; }
  .hero__panel { width: 100%; padding: 26px 16px 30px; }
  .hero__lead { font-size: 1.125rem; margin: 14px 0 22px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }

  .services { padding-top: 60px; }
  .svc { grid-template-columns: 1fr; gap: 32px; }
  .svc__item img, .svc__item--wide img { height: 220px; }
  .also { grid-template-columns: 1fr; margin-top: 40px; }
  .also li { flex-direction: column; gap: 2px; padding: 13px 0; }
  .also b { flex-basis: auto; }

  .cal__row { grid-template-columns: 1fr; }
  .season { border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr; }
  .season:first-child { border-top: 0; }
  .season img { aspect-ratio: 16 / 9; }
  .season header { flex-direction: row; align-items: baseline; justify-content: space-between; flex-wrap: wrap; }
  .season ul { padding: 12px 16px 18px; }
  .cal__all b { display: block; margin-bottom: 2px; }

  .gal { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 8px; }
  .g1 { grid-column: 1 / 3; grid-row: 1; }
  .g2 { grid-column: 1; grid-row: 2 / 4; }
  .g3 { grid-column: 2; grid-row: 2; }
  .g4 { grid-column: 2; grid-row: 3; }
  .g5 { grid-column: 2; grid-row: 4 / 6; }
  .g6 { grid-column: 1; grid-row: 4; }
  .g7 { grid-column: 1; grid-row: 5; }
  .g8 { grid-column: 1 / 3; grid-row: 6; }

  .reviews__list { grid-template-columns: 1fr; gap: 32px; }
  .quote-stack { gap: 32px; }
  .about__txt p { font-size: 1.125rem; }
  .about__photos { grid-template-columns: 1fr; gap: 16px; }
  .about__photos img { height: auto; }
  .quote--lead { padding-bottom: 32px; }
  .quote--lead blockquote { font-size: 1.3125rem; }
  .score__n { font-size: 4.5rem; }
  .contact__info { padding: 26px 20px 22px; }
  .foot { padding-bottom: 104px; }
  .foot__in { flex-direction: column; gap: 16px; }
  .foot__links { flex-direction: column; align-items: flex-start; gap: 0; }

  .sticky-book {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--navy); box-shadow: 0 -2px 12px rgba(0, 0, 0, .2);
    transform: translateY(110%); transition: transform .25s;
  }
  .sticky-book.is-visible { transform: none; }
  .sticky-book .btn { flex: 1; min-height: 52px; }

  .lightbox { padding: 64px 8px 84px; }
  .lb__prev { top: auto; bottom: 16px; left: calc(50% - 64px); margin: 0; }
  .lb__next { top: auto; bottom: 16px; right: calc(50% - 64px); margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
