/* Leaf & Limb Tree Care — Eureka Springs / Ozarks */

:root {
  /* Ozark-inspired palette */
  --forest-deep: #1a3c2e;
  --forest: #2d5a45;
  --moss: #3d7a5a;
  --leaf: #4a8f6a;
  --sage: #7ba88a;
  --cream: #f7f4ef;
  --parchment: #efeae2;
  --wood: #5c4033;
  --bark: #3d2b22;
  --spring: #a8c5b8;
  --mist: #e8efe9;
  --text: #1f2a24;
  --text-muted: #4a5c52;
  --white: #ffffff;
  --shadow: 0 8px 30px rgba(26, 60, 46, 0.12);
  --radius: 12px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--forest);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--moss);
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(45, 90, 69, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 0;
}

.logo-img {
  width: 160px;
  height: auto;
}

.main-nav {
  display: flex;
  gap: 1.75rem;
}

.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  letter-spacing: 0.02em;
}

.main-nav a:hover {
  color: var(--forest);
}

.header-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
  padding: 0.4rem 0.9rem;
  background: var(--forest-deep);
  color: var(--white) !important;
  border-radius: 8px;
  transition: background 0.2s ease, transform 0.15s ease;
}

.header-cta:hover {
  background: var(--forest);
  transform: translateY(-1px);
}

.cta-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

.cta-number {
  font-weight: 600;
  font-size: 1rem;
}

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

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--forest-deep);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(160deg, rgba(26, 60, 46, 0.88) 0%, rgba(45, 90, 69, 0.75) 50%, rgba(61, 122, 90, 0.7) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(180deg, #1a3c2e 0%, #2d5a45 100%);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(168, 197, 184, 0.15), transparent 50%);
  pointer-events: none;
}

/* Photo: shows only the clean tree-and-sun part of the supplied image */
.hero-photo {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  aspect-ratio: 384 / 310;
  overflow: hidden;
  pointer-events: none;
}

.hero-photo img {
  position: absolute;
  max-width: none;
  width: 266.67%;
  left: -166.67%;
  top: -41.94%;
  height: auto;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26, 60, 46, 0.96) 0%, rgba(26, 60, 46, 0.88) 42%, rgba(26, 60, 46, 0.4) 70%, rgba(26, 60, 46, 0.05) 100%);
  pointer-events: none;
}

.hero-content h1,
.hero-sub {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0 5rem;
  max-width: 720px;
}

.hero-eyebrow {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--spring);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 1.25rem;
  font-weight: 300;
  opacity: 0.95;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn-primary {
  background: var(--white);
  color: var(--forest-deep);
}

.btn-primary:hover {
  background: var(--mist);
  color: var(--forest-deep);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.hero-creds {
  font-size: 0.95rem;
  opacity: 0.85;
  letter-spacing: 0.02em;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 600;
  color: var(--forest-deep);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.section-header.light h2,
.section-header.light p {
  color: var(--white);
}

.section-header.light p {
  opacity: 0.9;
}

/* Services */
.services {
  background: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(45, 90, 69, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(26, 60, 46, 0.14);
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--forest);
  margin-bottom: 1rem;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--forest-deep);
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* About */
.about {
  background: var(--parchment);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--forest-deep);
  margin-bottom: 1rem;
}

.about-text .lead {
  font-size: 1.2rem;
  color: var(--forest);
  margin-bottom: 1rem;
  font-weight: 500;
}

.about-text p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.creds-list {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.5rem;
}

.creds-list li {
  position: relative;
  padding-left: 1.5rem;
  font-weight: 500;
  color: var(--forest-deep);
}

.creds-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--leaf);
  border-radius: 50%;
}

.about-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.branch-img {
  max-width: 220px;
  margin: 0 auto 1.25rem;
  opacity: 0.9;
}

.about-card-quote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--forest);
  line-height: 1.4;
}

/* Why Us */
.why-us {
  background: linear-gradient(165deg, var(--forest-deep) 0%, var(--forest) 100%);
  color: var(--white);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.value-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.75rem;
  backdrop-filter: blur(4px);
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  color: var(--spring);
}

.value-card p {
  opacity: 0.92;
  font-size: 1rem;
}

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

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(45, 90, 69, 0.1);
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--forest-deep);
  margin-bottom: 0.75rem;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.phone-display {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.phone-display:hover {
  color: var(--moss);
}

.contact-note {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.contact-badges span {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.7rem;
  background: var(--mist);
  color: var(--forest-deep);
  border-radius: 6px;
}

.contact-form-wrap {
  display: flex;
  flex-direction: column;
}

.form-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest-deep);
  margin-bottom: 0.3rem;
  margin-top: 0.75rem;
}

.contact-form label:first-of-type {
  margin-top: 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid rgba(45, 90, 69, 0.25);
  border-radius: 8px;
  background: var(--cream);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(61, 122, 90, 0.15);
}

.contact-form button {
  margin-top: 1.25rem;
  width: 100%;
  background: var(--forest-deep);
  color: var(--white);
  border: none;
}

.contact-form button:hover {
  background: var(--forest);
  color: var(--white);
}

/* Footer */
.site-footer {
  background: var(--bark);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-logo {
  width: 130px;
  margin-bottom: 0.75rem;
  filter: brightness(1.1);
}

.footer-brand p {
  font-size: 0.95rem;
  opacity: 0.8;
  max-width: 260px;
}

.footer-contact a {
  color: var(--spring);
  font-size: 1.15rem;
  font-weight: 600;
}

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

.footer-location {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  opacity: 0.75;
}

.footer-meta {
  font-size: 0.9rem;
  opacity: 0.75;
}

.copyright {
  margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    order: -1;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 1rem 1.5rem 1.25rem;
    border-bottom: 1px solid rgba(45, 90, 69, 0.12);
    gap: 0.75rem;
  }

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

  .menu-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(26, 60, 46, 0.82) 0%, rgba(26, 60, 46, 0.7) 100%);
  }

  .hero-content {
    padding: 3rem 0 4rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 480px) {
  .logo-img {
    width: 130px;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .phone-display {
    font-size: 1.8rem;
  }
}
