/* ============================================================
   ROYALTY LANDSCAPING — WEBSITE STYLES
   Brand: Growth Green #5AB947 | Deep Forest #0B2617 
          Sunbaked Stone #C9BD9C | Field Cream #F6F3EA
   Fonts: Lora (display) | Work Sans (body/UI)
   ============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:   #5AB947;
  --forest:  #0B2617;
  --stone:   #C9BD9C;
  --cream:   #F6F3EA;
  --white:   #ffffff;
  --text:    #1a1a1a;
  --muted:   #6b7280;
  --border:  #e5e0d3;

  --font-display: 'Lora', Georgia, serif;
  --font-body:    'Work Sans', system-ui, sans-serif;

  --radius:    8px;
  --radius-lg: 16px;
  --shadow:    0 2px 12px rgba(11,38,23,.08);
  --shadow-md: 0 6px 24px rgba(11,38,23,.12);
  --shadow-lg: 0 16px 48px rgba(11,38,23,.16);

  --max-w: 1180px;
  --nav-h: 76px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Utilities ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--forest);
  margin-bottom: 20px;
}

.section-title em {
  font-style: italic;
  color: var(--green);
}

.section-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 56px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .18s ease;
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover {
  background: #4da33e;
  border-color: #4da33e;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(90,185,71,.35);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

.btn-lg  { padding: 15px 32px; font-size: 16px; }
.btn-xl  { padding: 18px 40px; font-size: 17px; }

/* ── Navigation ── */
.nav-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background .25s ease, box-shadow .25s ease;
}

.nav-header.scrolled {
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
}

.nav-header.scrolled .nav-links a { color: var(--forest); }
.nav-header.scrolled .nav-logo img { filter: none; }

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter .25s ease;
}

.nav-header.scrolled .nav-logo img {
  filter: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.88);
  transition: color .15s ease;
}

.nav-links a:hover { color: var(--green); }
.nav-header.scrolled .nav-links a:hover { color: var(--green); }

.nav-cta { margin-left: auto; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: background .25s ease;
}

.nav-header.scrolled .nav-toggle span { background: var(--forest); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  background: var(--white);
  border-top: 1px solid var(--border);
  gap: 4px;
}

.nav-mobile a {
  display: block;
  padding: 10px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--forest);
  border-bottom: 1px solid var(--border);
}

.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile .btn { margin-top: 8px; justify-content: center; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--forest);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(90,185,71,.15) 0%, transparent 65%),
    radial-gradient(ellipse at 20% 80%, rgba(90,185,71,.06) 0%, transparent 50%),
    linear-gradient(135deg, rgba(11,38,23,.82) 0%, rgba(20,45,31,.78) 50%, rgba(13,32,21,.80) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 120px 24px 80px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
  padding: 6px 16px;
  border: 1px solid rgba(90,185,71,.35);
  border-radius: 100px;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-content h1 em {
  font-style: italic;
  color: var(--green);
}

.hero-sub {
  font-size: 18px;
  color: rgba(246,243,234,.75);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  color: rgba(255,255,255,.6);
}

.hero-phone a {
  color: var(--stone);
  font-weight: 600;
}

.hero-phone a:hover { color: var(--white); }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(90,185,71,.6));
  margin: 0 auto;
  animation: scrollpulse 2s ease-in-out infinite;
}

@keyframes scrollpulse {
  0%, 100% { opacity: .4; transform: scaleY(.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ── Services Section ── */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all .22s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform .22s ease;
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(90,185,71,.3);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(90,185,71,.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Trust Bar ── */
.trust-bar {
  background: var(--forest);
  padding: 48px 0;
}

.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 48px;
  flex: 1;
  min-width: 200px;
}

.trust-icon {
  font-size: 18px;
  color: var(--green);
  line-height: 1;
  flex-shrink: 0;
}

.trust-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-item strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.trust-item span {
  font-size: 14px;
  color: var(--stone);
}

.trust-divider {
  width: 1px;
  height: 48px;
  background: rgba(201,189,156,.2);
  flex-shrink: 0;
}

/* ── Seasonal ── */
.seasonal {
  background: var(--cream);
}

.seasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.season-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.season-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.season-badge {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--forest);
  background: var(--cream);
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
}

.season-icon {
  font-size: 28px;
}

.season-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.season-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}

.season-card li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}

/* ── CTA Banner ── */
.cta-banner {
  background: var(--green);
  padding: 64px 0;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner-text h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.cta-banner-text p {
  font-size: 17px;
  color: rgba(255,255,255,.8);
}

.cta-banner .btn-primary {
  background: var(--forest);
  border-color: var(--forest);
  font-size: 17px;
  padding: 18px 36px;
  white-space: nowrap;
}

.cta-banner .btn-primary:hover {
  background: #122e1e;
  border-color: #122e1e;
  box-shadow: 0 4px 20px rgba(11,38,23,.4);
}

/* ── Service Areas ── */
.areas {
  background: var(--white);
}

.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.area-tag {
  font-size: 14px;
  font-weight: 500;
  color: var(--forest);
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 100px;
  transition: all .15s ease;
}

.area-tag:hover {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}

.areas-note {
  font-size: 16px;
  color: var(--muted);
}

.areas-note a {
  color: var(--green);
  font-weight: 600;
}

.areas-note a:hover { text-decoration: underline; }

/* ── Contact ── */
.contact {
  background: var(--forest);
}

.contact .section-label { color: var(--stone); }

.contact .section-title { color: var(--white); }

.contact > .container > .contact-grid > .contact-info > p {
  color: rgba(246,243,234,.7);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
}

.contact-info > p {
  font-size: 17px;
  color: rgba(246,243,234,.7);
  margin-bottom: 40px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(90,185,71,.15);
  border: 1px solid rgba(90,185,71,.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green);
}

.contact-detail div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-detail strong {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--stone);
}

.contact-detail a,
.contact-detail span {
  font-size: 16px;
  color: var(--white);
}

.contact-detail a:hover { color: var(--green); }

/* Contact Card */
.contact-card {
  background: var(--cream);
  border-radius: 20px;
  padding: 4px;
  box-shadow: var(--shadow-lg);
}

.contact-card-inner {
  background: var(--white);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contact-logo {
  height: 60px;
  width: auto;
  margin: 0 auto;
}

.contact-tagline {
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  color: var(--forest);
  line-height: 1.4;
}

.contact-card-number a {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -.01em;
}

.contact-card-number a:hover { color: var(--forest); }

.contact-card-hours {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  background: var(--cream);
  padding: 6px 16px;
  border-radius: 100px;
}

/* ── Footer ── */
.footer {
  background: #060f0a;
  padding: 72px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 64px;
}

.footer-logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 15px;
  color: rgba(201,189,156,.6);
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 260px;
}

.footer-phone {
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
}

.footer-phone:hover { color: var(--stone); }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links strong {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 6px;
}

.footer-links a {
  font-size: 15px;
  color: rgba(201,189,156,.6);
  transition: color .15s ease;
}

.footer-links a:hover { color: var(--white); }

.footer-cta strong {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone);
  display: block;
  margin-bottom: 10px;
}

.footer-cta p {
  font-size: 15px;
  color: rgba(201,189,156,.6);
  margin-bottom: 20px;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(201,189,156,.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom span {
  font-size: 13px;
  color: rgba(201,189,156,.4);
}

/* ── Modal ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(11,38,23,.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn .2s ease;
}

.modal-overlay.open {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-box {
  background: var(--white);
  border-radius: 20px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: slideUp .25s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: var(--cream);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  transition: background .15s ease;
  z-index: 10;
}

.modal-close:hover {
  background: var(--stone);
}

.modal-header {
  text-align: center;
  padding: 40px 40px 24px;
  border-bottom: 1px solid var(--border);
}

.modal-logo {
  height: 44px;
  width: auto;
  margin: 0 auto 16px;
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 6px;
}

.modal-header p {
  font-size: 15px;
  color: var(--muted);
}

.modal-form {
  padding: 28px 32px 40px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav-mobile.open { display: flex; }

  .services-grid { grid-template-columns: 1fr; }
  .seasons-grid { grid-template-columns: 1fr; }
  .trust-items { flex-direction: column; gap: 0; }
  .trust-divider { width: 100%; height: 1px; }
  .trust-item { padding: 16px 24px; }

  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-actions { flex-direction: column; align-items: center; }

  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .contact-grid { gap: 40px; }
  .contact-card-inner { padding: 36px 28px; }
}

@media (max-width: 480px) {
  .section-title { font-size: 28px; }
  .hero-content h1 { font-size: 36px; }
  .service-card { padding: 24px 20px; }
}
