/* Nunes Landscaping & Construction — styles */

:root {
  /* brand */
  --brand-green:      #22A24A;
  --brand-green-dark: #178035;
  --brand-green-darker:#0F5F27;
  --brand-green-soft: #E8F5E9;

  /* neutrals */
  --bg:      #FFFFFF;
  --bg-soft: #F7F8F5;
  --fg:      #111827;
  --fg-2:    #1F2937;
  --muted:   #5F6773;
  --muted-2: #8A93A0;
  --line:    #E5E7EB;

  /* layout */
  --max:    1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --nav-h:  76px;

  /* type */
  --font-display: 'Cabinet Grotesk', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* motion & shape */
  --ease:  cubic-bezier(.22, .61, .36, 1);
  --dur:   .35s;
  --radius-card:  16px;
  --radius-plate: 24px;
  --radius-pill:  999px;

  /* shadows */
  --shadow-sm: 0 1px 2px rgba(17,24,39,.06);
  --shadow:    0 8px 24px rgba(17,24,39,.08);
  --shadow-lg: 0 24px 60px rgba(17,24,39,.14);
}

*,*::before,*::after { box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--brand-green); color: #fff; }

/* focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(34,162,74,.35);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- containers & shared ---------- */

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(64px, 8vw, 112px);
}

.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-sub  { color: var(--muted); margin: 12px 0 0; font-size: 1.05rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-green-dark);
  font-weight: 700;
  margin: 0 0 14px;
}
.eyebrow--light { color: rgba(255,255,255,.9); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--fg);
  margin: 0;
}
.section-title .accent { color: var(--brand-green); font-style: italic; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
  min-height: 44px;
  text-align: center;
}
.btn--lg { padding: 15px 26px; font-size: 16px; min-height: 52px; }
.btn--block { display: flex; width: 100%; }

.btn--primary {
  background: var(--brand-green);
  color: #fff;
  border-color: var(--brand-green);
  box-shadow: 0 6px 18px rgba(34,162,74,.28);
}
.btn--primary:hover { background: var(--brand-green-dark); border-color: var(--brand-green-dark); transform: translateY(-1px); }

.btn--ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.5);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(255,255,255,.22); border-color: #fff; }

.btn--white {
  background: #fff;
  color: var(--brand-green-dark);
  border-color: #fff;
}
.btn--white:hover { background: var(--brand-green-soft); transform: translateY(-1px); }

.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.7);
}
.btn--outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--brand-green-dark);
  border-bottom: 1.5px solid transparent;
  padding-bottom: 2px;
  transition: gap var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.link-arrow:hover { gap: 12px; border-color: var(--brand-green); }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--nav-h);
}
.nav__brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.nav__logo  { height: 44px; width: auto; display: block; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-inline: auto;
}
.nav__links a {
  font-weight: 500;
  font-size: 15px;
  color: var(--fg-2);
  position: relative;
  padding: 6px 2px;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--brand-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); }

.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--fg);
  font-size: 14px;
}
.nav__phone svg { color: var(--brand-green); }
.nav__phone:hover { color: var(--brand-green-dark); }

.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 20px var(--gutter) 28px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.nav__mobile a {
  font-size: 18px;
  font-weight: 600;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--fg);
}
.nav__mobile-phone {
  color: var(--brand-green-dark) !important;
}
.nav__mobile .btn { margin-top: 12px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: min(720px, 90vh);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,95,39,.3) 0%, rgba(15,95,39,.55) 60%, rgba(15,95,39,.75) 100%),
    linear-gradient(90deg, rgba(15,25,20,.55) 0%, rgba(15,25,20,.15) 60%);
  z-index: -1;
}
.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 12vw, 140px) var(--gutter) clamp(72px, 8vw, 96px);
  width: 100%;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 5.8vw, 74px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 18px;
  text-shadow: 0 2px 24px rgba(0,0,0,.25);
}
.hero__title-line { display: block; overflow-wrap: break-word; }
.hero__sub {
  font-size: clamp(16px, 1.6vw, 20px);
  max-width: 640px;
  color: rgba(255,255,255,.94);
  margin: 0 0 30px;
  line-height: 1.55;
}
.hero__cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 36px;
}
.hero__chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  list-style: none; padding: 0; margin: 0;
}
.hero__chips li {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  backdrop-filter: blur(6px);
}

/* ---------- trust bar ---------- */

.trustbar {
  background: var(--brand-green-soft);
  border-block: 1px solid #d3ebd5;
}
.trustbar__row {
  display: flex; flex-wrap: wrap;
  gap: 14px 40px;
  justify-content: center;
  align-items: center;
  padding-block: 18px;
  font-size: 14px;
  color: var(--brand-green-darker);
}
.trustbar__item strong { color: var(--brand-green-dark); font-weight: 700; }

/* ---------- services / cards ---------- */

.services { background: var(--bg); }

.cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card__icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--brand-green-soft);
  color: var(--brand-green-dark);
  margin-bottom: 20px;
}
.card__icon svg { width: 28px; height: 28px; }
.card__title { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 8px; }
.card__body  { color: var(--muted); margin: 0; font-size: 15.5px; line-height: 1.55; }

.card--cta {
  background: var(--brand-green);
  color: #fff;
  border-color: var(--brand-green);
}
.card--cta:hover { background: var(--brand-green-dark); border-color: var(--brand-green-dark); }
.card--cta .card__title { color: #fff; }
.card--cta .card__body  { color: rgba(255,255,255,.9); margin-bottom: 16px; }
.card--cta .link-arrow { color: #fff; }
.card--cta .link-arrow:hover { border-color: #fff; }

/* ---------- why ---------- */

.why {
  background: var(--bg-soft);
}
.why__grid {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
.why__lead { color: var(--muted); font-size: 17.5px; margin: 20px 0 16px; }
.why > .container > div > p:not(.why__lead) { color: var(--muted); margin: 0 0 24px; }
.why__points {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 18px;
}
.why__points li {
  display: flex; align-items: flex-start; gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px;
}
.why__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--brand-green);
  min-width: 36px;
}
.why__points strong { display: block; font-weight: 700; margin-bottom: 4px; }
.why__points p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- areas ---------- */

.areas { background: var(--bg); }
.areas__chips {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.areas__chips li {
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: var(--brand-green-soft);
  color: var(--brand-green-darker);
  font-weight: 600;
  font-size: 14.5px;
  border: 1px solid #d3ebd5;
}
.areas__radius { color: var(--muted); font-size: 15px; margin: 0 0 32px; }
.areas__radius a { color: var(--brand-green-dark); border-bottom: 1.5px solid var(--brand-green); }

.areas__map {
  border-radius: var(--radius-plate);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16/7;
  min-height: 320px;
}

/* ---------- gallery ---------- */

.gallery { background: var(--bg-soft); }
.gallery__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-auto-rows: 240px;
}
.gallery__grid > *:nth-child(3n) { grid-row: span 2; }

.gallery__tile {
  position: relative;
  border: 0; padding: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--line);
  cursor: zoom-in;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.gallery__tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.gallery__tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease);
}
.gallery__tile:hover img { transform: scale(1.06); }
.gallery__note { color: var(--muted-2); font-size: 13.5px; margin: 20px 0 0; font-style: italic; }

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed; inset: 0;
  z-index: 200;
  background: rgba(10,20,15,.94);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: min(1200px, 100%);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}
.lightbox__close {
  position: absolute;
  top: 20px; right: 20px;
  width: 48px; height: 48px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.14);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.lightbox__close:hover { background: rgba(255,255,255,.24); }

/* ---------- final CTA ---------- */

.final-cta {
  background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-dark) 100%);
  color: #fff;
  text-align: center;
}
.final-cta__inner { max-width: 720px; margin: 0 auto; }
.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.06;
  margin: 0 0 16px;
}
.final-cta p { font-size: 18px; opacity: .95; margin: 0 0 32px; }
.final-cta__actions {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}

/* ---------- contact ---------- */

.contact { background: var(--bg); }
.contact__grid {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}

.form { position: relative; margin-top: 28px; display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form__field { display: block; }
.form__field > span {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--fg-2);
  margin-bottom: 6px;
}
.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--fg);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 4px rgba(34,162,74,.14);
  outline: none;
}
.form__field textarea { resize: vertical; min-height: 120px; }
.form__note { font-size: 13px; color: var(--muted-2); margin: 6px 0 0; text-align: center; }

.contact__info {
  background: var(--brand-green-soft);
  border-radius: var(--radius-plate);
  padding: clamp(28px, 3.5vw, 40px);
  align-self: start;
}
.contact__info h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--brand-green-darker);
}
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact__list li { display: grid; gap: 4px; }
.contact__label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-green-dark);
  font-weight: 700;
}
.contact__value {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.4;
}
a.contact__value:hover { color: var(--brand-green-dark); }
.contact__value svg { display: inline-block; vertical-align: -4px; margin-right: 6px; }

/* ---------- footer ---------- */

.footer {
  background: #0F1912;
  color: #cfd6d0;
  padding: clamp(48px, 6vw, 72px) 0 24px;
}
.footer a { color: #eaefea; }
.footer a:hover { color: var(--brand-green); }
.footer__inner {
  display: grid;
  gap: 32px;
  grid-template-columns: 2fr 1fr 1fr 1fr;
}
.footer__brand img { margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .95; }
.footer__brand p { color: #9aa39c; font-size: 14.5px; max-width: 320px; line-height: 1.5; margin: 0; }
.footer h4 {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700;
  color: #fff; margin: 0 0 14px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; color: #b8c2bc; }
.footer__base {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #1e2a22;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13px; color: #7d8681;
}

/* ---------- mobile bottom bar ---------- */

.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: none;
  gap: 10px;
  padding: 10px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
}
.mobile-bar__btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
}
.mobile-bar__btn--call {
  background: #fff;
  color: var(--brand-green-dark);
  border: 1.5px solid var(--brand-green);
}
.mobile-bar__btn--book {
  background: var(--brand-green);
  color: #fff;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .nav__links, .nav__cta .nav__phone, .nav__cta .btn { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__mobile { display: flex; }

  .why__grid, .contact__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  body { padding-bottom: 74px; }
  .mobile-bar { display: flex; }
  .gallery__grid { grid-auto-rows: 200px; }
  .gallery__grid > *:nth-child(3n) { grid-row: span 1; }
  .footer__base { justify-content: center; text-align: center; }
}

@media (max-width: 600px) {
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__inner { padding-top: 88px; padding-bottom: 64px; }
  .hero__title { font-size: 32px; max-width: 100%; line-height: 1.08; }
  .hero__sub { font-size: 15.5px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .hero__chips li { font-size: 12.5px; padding: 7px 12px; }
  .trustbar__row { flex-direction: column; gap: 8px; padding-block: 14px; text-align: center; }
}

@media (max-width: 420px) {
  .hero__title { font-size: 24px; letter-spacing: -0.03em; }
  .hero__sub   { font-size: 15px; }
}
@media (max-width: 340px) {
  .hero__title { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}
