/* =====================================================================
   Summer Landscaping & Irrigation — Site Styles
   Brand: desert sunset — plum/purple → magenta → orange, gold sun,
   cactus green, near-black. Tagline: "Building Beautiful Outdoors".
   Fonts: Fraunces (display) + Inter (body)
   ===================================================================== */

:root {
  /* Plums / dark */
  --plum-950: #130c1d;
  --plum-900: #1b1029;
  --plum-800: #271539;
  --plum-700: #35204d;
  --plum-600: #472a66;

  /* Sunset accents */
  --purple-500: #8a2fb0;
  --purple-400: #a94fce;
  --magenta-500: #c02e86;
  --orange-500: #f2762a;
  --orange-600: #df631a;
  --sun-400: #f5c542;

  /* Nature */
  --green-500: #4aa63f;
  --green-400: #63c057;

  /* Neutrals (light content) */
  --cream-50:  #f8f3ea;
  --cream-100: #f1e9db;
  --cream-200: #e5dccb;
  --muted-500: #756c82;
  --ink-900:   #221733;
  --white: #ffffff;

  /* System */
  --maxw: 1160px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(19, 12, 29, 0.10);
  --shadow-md: 0 14px 38px rgba(19, 12, 29, 0.16);
  --shadow-lg: 0 28px 64px rgba(19, 12, 29, 0.30);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --transition: 0.25s ease;
  --sunset: linear-gradient(120deg, var(--purple-500) 0%, var(--magenta-500) 52%, var(--orange-500) 100%);
}

/* ------------------------------ Reset ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--cream-50);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--purple-500); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange-500); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--plum-900);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.2em; }

/* --------------------------- Layout utils -------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 60px 0; }
.section--cream { background: var(--cream-100); }
.section--dark { background: var(--plum-900); color: var(--cream-50); position: relative; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--magenta-500);
  margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--sun-400); }
.lead { font-size: 1.18rem; color: var(--muted-500); max-width: 62ch; }
.section--dark .lead { color: rgba(248, 243, 234, 0.82); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { max-width: 740px; margin: 0 auto 52px; }

/* ----------------------------- Buttons ----------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), color var(--transition), border-color var(--transition);
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--purple-500); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--purple-400); color: var(--white); box-shadow: var(--shadow-md); }
.btn--accent { background: var(--orange-500); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--accent:hover { background: var(--orange-600); color: var(--white); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--purple-500); border-color: var(--purple-500); }
.btn--ghost:hover { background: var(--purple-500); color: var(--white); }
.btn--light { background: var(--white); color: var(--plum-900); }
.btn--light:hover { background: var(--cream-100); color: var(--plum-950); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn--outline-light:hover { background: #fff; color: var(--plum-900); border-color: #fff; }

/* ------------------------------ Header ----------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(19, 12, 29, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 50px; height: 50px; flex: none; border-radius: 50%; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.24rem;
  color: #fff;
  letter-spacing: -0.01em;
}
.brand__tag {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sun-400);
  font-weight: 700;
  margin-top: 5px;
}
.nav__links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-weight: 500;
  color: rgba(248,243,234,0.86);
  font-size: 0.98rem;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--orange-500);
  transition: width var(--transition);
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }
.nav__links a.is-active { color: #fff; }
.nav__cta { display: flex; align-items: center; gap: 16px; }
.nav__phone { font-weight: 700; color: var(--sun-400); white-space: nowrap; }
.nav__phone:hover { color: var(--orange-500); }
.nav__toggle {
  display: none;
  background: none; border: 0; cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px;
}
.nav__toggle span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; transition: var(--transition); }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ------------------------------- Hero ------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% 14%, rgba(242, 118, 42, 0.30), transparent 52%),
    radial-gradient(90% 70% at 60% 0%, rgba(192, 46, 134, 0.34), transparent 60%),
    linear-gradient(165deg, var(--plum-950) 0%, var(--plum-800) 55%, var(--plum-700) 100%);
  color: var(--cream-50);
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: center;
  padding: 92px 0 118px;
}
.hero__copy { max-width: 640px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--sun-400), var(--orange-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { color: rgba(248,243,234,0.88); font-size: 1.22rem; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 22px; font-size: 0.92rem; color: rgba(248,243,234,0.8); }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 18px; height: 18px; color: var(--green-400); }
.hero__art { position: relative; align-self: center; }
.hero__logo { width: min(360px, 80%); margin: 0 auto; filter: drop-shadow(0 20px 44px rgba(0,0,0,0.5)); }
.hero__dunes { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; line-height: 0; }
.hero__dunes svg { width: 100%; height: auto; display: block; }

/* --------------------------- Stat strip ---------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat__num { font-family: var(--font-display); font-size: 2.6rem; color: var(--purple-500); font-weight: 600; line-height: 1; }
.section--dark .stat__num { color: var(--sun-400); }
.stat__label { font-size: 0.92rem; color: var(--muted-500); margin-top: 8px; }
.section--dark .stat__label { color: rgba(248,243,234,0.8); }

/* ------------------------------ Cards ------------------------------ */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--purple-400); }
.card__icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--sunset);
  color: #fff;
  margin-bottom: 18px;
}
.card__icon svg { width: 30px; height: 30px; }
.card h3 { margin-bottom: 8px; color: var(--plum-900); }
.card p { margin-bottom: 0; color: var(--muted-500); font-size: 0.98rem; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: 0.95rem; color: var(--orange-500); }
.card__link:hover { color: var(--magenta-500); }

/* Service detail blocks */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; padding: 44px 0; border-bottom: 1px solid var(--cream-200); }
.svc:last-child { border-bottom: 0; }
.svc:nth-child(even) .svc__media { order: 2; }
.svc__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.svc h3 { font-size: 1.7rem; }
.svc ul { list-style: none; padding: 0; }
.svc ul li { position: relative; padding-left: 28px; margin-bottom: 8px; color: var(--muted-500); }
.svc ul li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 14px; height: 14px; background: var(--green-500); border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--cream-50);
}

/* --------------------------- Packages ------------------------------ */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.package {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.package__head { padding: 26px 26px 22px; color: #fff; }
.package--desert .package__head { background: linear-gradient(135deg, var(--purple-500), var(--plum-700)); }
.package--grass  .package__head { background: linear-gradient(135deg, var(--orange-500), var(--magenta-500)); }
.package--premium .package__head { background: linear-gradient(135deg, var(--magenta-500), var(--purple-500)); }
.package__head h3 { color: #fff; margin: 0 0 4px; font-size: 1.5rem; }
.package__head p { margin: 0; font-size: 0.9rem; color: rgba(255,255,255,0.86); font-weight: 600; }
.package__body { padding: 24px 26px; flex: 1; }
.package__body ul { list-style: none; padding: 0; margin: 0; }
.package__body li { position: relative; padding-left: 28px; margin-bottom: 12px; font-size: 0.96rem; color: var(--ink-900); }
.package__body li::before {
  content: '✓'; position: absolute; left: 0; top: 0; color: var(--green-500); font-weight: 800;
}
.package__body li small { color: var(--muted-500); }
.package__foot { padding: 0 26px 26px; text-align: center; }
.package__price-label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-500); }
.package__price { font-family: var(--font-display); font-size: 2.5rem; font-weight: 600; line-height: 1; margin: 4px 0 16px; color: var(--plum-900); }
.package--grass .package__price { color: var(--orange-600); }
.package--premium .package__price { color: var(--magenta-500); }
.package--desert .package__price { color: var(--purple-500); }
.package .btn { width: 100%; justify-content: center; }
.packages-note { text-align: center; margin-top: 26px; color: var(--muted-500); font-size: 0.92rem; }

/* ---------------------- Photo placeholders ------------------------- */
.photo {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(150deg, var(--plum-700), var(--plum-900));
  min-height: 260px; display: grid; place-items: center;
  color: rgba(248,243,234,0.9); text-align: center;
}
.photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.photo--tall { min-height: 360px; }
.photo__ph { padding: 22px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.photo__ph svg { width: 40px; height: 40px; opacity: 0.85; }
.photo__ph small { font-size: 0.82rem; letter-spacing: 0.03em; max-width: 22ch; opacity: 0.85; }
.photo__badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(19,12,29,0.6); color: var(--cream-50);
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700;
  padding: 5px 10px; border-radius: 999px;
}

/* Gallery grid */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery .photo { min-height: 250px; }
.gallery .photo:nth-child(3n+1) { background: linear-gradient(150deg, var(--plum-700), var(--plum-900)); }
.gallery .photo:nth-child(3n+2) { background: linear-gradient(150deg, var(--magenta-500), var(--plum-800)); }
.gallery .photo:nth-child(3n+3) { background: linear-gradient(150deg, var(--orange-500), var(--magenta-500)); }

/* --------------------------- Process ------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding-top: 8px; }
.step__num {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--sunset); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem;
  display: grid; place-items: center; margin-bottom: 16px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { font-size: 0.95rem; color: var(--muted-500); margin: 0; }
.section--dark .step p { color: rgba(248,243,234,0.8); }

/* -------------------------- Testimonials --------------------------- */
.quote { background: var(--white); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--cream-200); }
.quote__stars { color: var(--sun-400); letter-spacing: 2px; margin-bottom: 12px; font-size: 1rem; }
.quote p { font-size: 1.02rem; color: var(--ink-900); font-style: italic; }
.quote__who { font-weight: 700; color: var(--purple-500); font-style: normal; font-size: 0.95rem; }
.quote__loc { color: var(--muted-500); font-size: 0.85rem; }

/* ------------------------------ CTA band --------------------------- */
.cta-band {
  background:
    radial-gradient(90% 130% at 12% 8%, rgba(245,197,66,0.22), transparent 46%),
    var(--sunset);
  color: #fff; border-radius: 22px; padding: 54px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,0.92); margin: 0; }

/* ------------------------------ Forms ------------------------------ */
.form-wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: start; }
.form { background: var(--white); border: 1px solid var(--cream-200); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 7px; color: var(--plum-800); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--cream-200);
  border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 1rem;
  color: var(--ink-900); background: var(--cream-50);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--purple-400);
  box-shadow: 0 0 0 3px rgba(138, 47, 176, 0.15); background: var(--white);
}
.field textarea { resize: vertical; min-height: 120px; }
.form__note { font-size: 0.82rem; color: var(--muted-500); margin-top: 4px; }
.form__success { display: none; background: var(--green-500); color: #fff; padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; font-weight: 600; }
.form__success.show { display: block; }

.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item__icon { width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--sunset); color: #fff; display: grid; place-items: center; }
.contact-item__icon svg { width: 24px; height: 24px; }
.contact-item h4 { font-family: var(--font-body); font-weight: 800; margin: 0 0 3px; font-size: 1rem; color: var(--plum-900); }
.contact-item p { margin: 0; color: var(--muted-500); font-size: 0.98rem; }
.contact-item a { color: var(--muted-500); }
.contact-item a:hover { color: var(--orange-500); }

/* ------------------------- Placeholder note ------------------------ */
.ph-note { background: #fdf4e6; border: 1px dashed var(--orange-500); border-radius: var(--radius-sm); padding: 12px 16px; font-size: 0.86rem; color: #8a5a1e; margin-bottom: 20px; }
.ph-note strong { color: var(--orange-600); }

/* ------------------------------ Footer ----------------------------- */
.site-footer { background: var(--plum-950); color: rgba(248,243,234,0.78); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 44px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-weight: 800; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: rgba(248,243,234,0.78); }
.site-footer a:hover { color: var(--sun-400); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-brand .brand__name { color: #fff; }
.footer-brand p { font-size: 0.95rem; max-width: 34ch; margin-top: 14px; }
.social { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; color: var(--sun-400); }
.social svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(248,243,234,0.14); padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 0.85rem; }
.footer-bottom a { color: rgba(248,243,234,0.7); }

/* Page hero (interior) */
.page-hero {
  background:
    radial-gradient(110% 130% at 86% 0%, rgba(242,118,42,0.26), transparent 52%),
    radial-gradient(90% 80% at 30% 0%, rgba(192,46,134,0.30), transparent 60%),
    linear-gradient(165deg, var(--plum-950), var(--plum-700));
  color: var(--cream-50); padding: 74px 0 84px; position: relative; overflow: hidden;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(248,243,234,0.86); max-width: 60ch; margin: 0; font-size: 1.15rem; }
.breadcrumb { font-size: 0.85rem; color: rgba(248,243,234,0.72); margin-bottom: 16px; }
.breadcrumb a { color: var(--sun-400); }

/* Reveal on scroll (progressive enhancement) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ----------------------------- Responsive -------------------------- */
@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; padding: 64px 0 92px; }
  .hero__art { display: none; }
  .grid--3, .grid--4, .steps, .stats, .packages { grid-template-columns: repeat(2, 1fr); }
  .packages { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .form-wrap, .svc { grid-template-columns: 1fr; }
  .svc:nth-child(even) .svc__media { order: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav__links {
    position: fixed; inset: 78px 0 auto 0; background: var(--plum-900);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1); box-shadow: var(--shadow-md);
    transform: translateY(-140%); transition: transform 0.32s ease;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links li { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav__links a { display: block; padding: 15px 4px; }
  .nav__links a::after { display: none; }
  .nav__cta .btn { display: none; }
  .nav__toggle { display: flex; }
  .section { padding: 62px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .cta-band { padding: 38px 26px; text-align: center; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .grid--3, .grid--4, .steps, .stats, .gallery { grid-template-columns: 1fr; }
  .nav__phone { display: none; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}
