/* ===== Design tokens - Retro Lawn Service ===== */
:root {
  --avocado: #6B8E23;
  --sunshine-yellow: #FFD700;
  --burnt-orange: #E67E22;
  --sky-blue: #3498DB;
  --sage-bg: #F5F8F5;
  --brown: #5D4037;
  --paper-line: rgba(93, 64, 55, 0.15);

  --font-display: "Big Shoulders", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --radius-tag: 4px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--sage-bg);
  color: var(--brown);
  font-family: var(--font-body);
  line-height: 1.5;
}

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0 0 0.4em;
}

.section-heading {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--avocado);
  border-bottom: 3px solid var(--sunshine-yellow);
  display: inline-block;
  padding-bottom: 0.2em;
  margin-bottom: 1.5em;
}

/* ===== Header ===== */
.site-header {
  background: var(--avocado);
  color: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 800px) {
  .site-header__inner {
    padding: 1rem 1.25rem;
  }
}
.site-header__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}
.site-logo {
  height: 28px;
  width: auto;
  display: block;
}
@media (min-width: 800px) {
  .site-logo {
    height: 40px;
  }
}
/* Desktop navigation */
.site-nav {
  display: none;
}
.site-nav a {
  color: #FFFFFF;
  text-decoration: none;
  margin-left: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
}
@media (min-width: 800px) {
  .site-nav { display: block; }
}

/* Mobile hamburger menu */
.hamburger-button {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
  z-index: 30;
}
.hamburger-button span {
  display: block;
  width: 20px;
  height: 2.5px;
  background: var(--sage-bg);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
@media (min-width: 800px) {
  .hamburger-button span {
    width: 24px;
    height: 3px;
  }
}
.hamburger-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (min-width: 800px) {
  .hamburger-button { display: none; }
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--avocado);
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-menu[data-open="true"] {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu a {
  color: #FFFFFF;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.8rem;
  text-transform: uppercase;
  font-weight: 700;
}
@media (min-width: 800px) {
  .mobile-menu { display: none; }
}
.call-button {
  display: none;
  background: var(--burnt-orange);
  color: #FFFFFF;
  text-decoration: none;
  font-family: var(--font-mono);
  padding: 0.55em 1em;
  border-radius: var(--radius-tag);
  font-size: 0.85rem;
  white-space: nowrap;
}
@media (min-width: 800px) {
  .call-button { display: block; }
}

/* Persistent mobile call bar */
.call-bar {
  display: block;
  position: sticky;
  top: 42px;
  z-index: 9;
  background: var(--burnt-orange);
  color: #FFFFFF;
  text-align: center;
  text-decoration: none;
  font-family: var(--font-mono);
  padding: 0.45em;
  font-size: 0.8rem;
  font-weight: 600;
}
@media (min-width: 800px) {
  .call-bar { display: none; }
}

/* ===== Alert Banner ===== */
.site-banner {
  background: var(--burnt-orange);
  color: #FFFFFF;
  position: sticky;
  top: 42px;
  z-index: 11;
  border-bottom: 3px solid var(--sunshine-yellow);
}
@media (min-width: 800px) {
  .site-banner {
    top: 56px;
  }
}
.site-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.site-banner__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}
@media (min-width: 600px) {
  .site-banner__icon {
    width: 24px;
    height: 24px;
  }
}
.site-banner__message {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
}
@media (min-width: 600px) {
  .site-banner__message {
    font-size: 0.95rem;
  }
}

/* ===== Hero ===== */
.hero-wrapper {
  background: var(--sage-bg);
}
.hero-top {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.25rem 1.5rem;
  text-align: center;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  color: var(--avocado);
}
.hero {
  position: relative;
  min-height: 500px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero {
    min-height: 650px;
  }
}
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 1;
}
.hero-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  text-align: center;
}
.hero-desc {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  max-width: 60ch;
  margin: 0 auto 1rem;
  line-height: 1.5;
  color: var(--brown);
}
.hero-tagline {
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--avocado);
  margin: 0 auto 2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.hero-text-button {
  color: var(--avocado);
  border-bottom-color: var(--avocado);
}
.job-card {
  position: relative;
  max-width: 640px;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  border: 3px solid var(--brown);
  border-radius: 10px;
  padding: 2.5rem 2rem 2rem;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.2);
}
.job-card__hole {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.98);
  border: 3px solid var(--brown);
  border-radius: 50%;
}
.job-card__label {
  font-family: var(--font-mono);
  color: var(--burnt-orange);
  letter-spacing: 0.1em;
  margin: 0 0 0.75em;
  font-size: 0.85rem;
}
.job-card__title {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  color: var(--avocado);
}
.job-card__desc {
  max-width: 46ch;
  margin: 1rem 0 1.75rem;
}
.job-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}
.stamp-button {
  display: inline-block;
  border: 3px solid var(--burnt-orange);
  color: var(--burnt-orange);
  text-decoration: none;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.5em 1.2em;
  border-radius: 6px;
  transform: rotate(-2deg);
}
.text-button {
  text-decoration: none;
  font-family: var(--font-mono);
  color: var(--avocado);
  border-bottom: 1px solid var(--avocado);
  padding-bottom: 2px;
}

/* ===== Services tickets ===== */
.services-strip, .team-teaser, .reviews-teaser, .brands-strip {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}
.ticket-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 1.5rem;
}
.ticket {
  background: #fff;
  border: 1px dashed var(--paper-line);
  border-left: 4px solid var(--sunshine-yellow);
  padding: 1.25rem;
  border-radius: var(--radius-tag);
}
.ticket__image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}
.ticket__no {
  font-family: var(--font-mono);
  color: var(--burnt-orange);
  font-size: 0.85rem;
}
.ticket h3 { color: var(--avocado); font-size: 1.3rem; margin-top: 0.2em; }

/* ===== Brands ===== */
.brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.brands-grid a,
.brands-grid img {
  flex: 0 0 auto;
  width: 120px;
}
.brands-grid img {
  max-width: 100%;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.brands-grid img:hover {
  opacity: 1;
}

/* ===== Reviews (ticket-stub styling for the reviews partial) ===== */
.reviews-summary {
  font-family: var(--font-mono);
  margin-bottom: 1.5rem;
}
.reviews-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.review-card {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-top: 4px solid var(--burnt-orange);
  padding: 1.25rem;
  border-radius: var(--radius-tag);
}
.review-author { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.6rem; }
.review-author img { border-radius: 50%; }
.review-rating { font-family: var(--font-mono); font-size: 0.8rem; color: var(--sunshine-yellow); }
.review-text { font-size: 0.95rem; }
.review-source { font-family: var(--font-mono); font-size: 0.8rem; }

/* ===== Team section ===== */
.team-content {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .team-content {
    grid-template-columns: 1fr 1fr;
  }
}
.team-photo {
  width: 100%;
  height: auto;
  border-radius: var(--radius-tag);
  border: 3px solid var(--avocado);
  box-shadow: 4px 4px 0 var(--sunshine-yellow);
}
.team-intro p {
  margin: 0 0 1em;
  line-height: 1.6;
}
.team-intro strong {
  color: var(--avocado);
}

/* ===== Blog/tips post content ===== */
.post-content p { margin: 0 0 1.2em; }
.post-content strong { color: var(--avocado); }
.page-header { max-width: 1100px; margin: 0 auto; padding: 3rem 1.25rem 0; }

/* ===== Footer ===== */
.site-footer {
  background: var(--avocado);
  color: #FFFFFF;
  padding: 3rem 1.25rem 1.5rem;
}
.site-footer__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.site-footer h3 {
  color: var(--sunshine-yellow);
  font-size: 1.1rem;
}
.site-footer a { text-decoration: none; }
.hours-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  border-bottom: 1px dashed rgba(239,233,220,0.3);
  padding: 0.3em 0;
  gap: 1rem;
}
.hours-row dt {
  flex: 1;
}
.hours-row dd {
  flex-shrink: 0;
  white-space: nowrap;
  margin: 0;
}
.hours-note { font-size: 0.8rem; opacity: 0.8; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.footer-nav a {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  padding: 0.2rem 0;
  border-left: 3px solid transparent;
  padding-left: 0.5rem;
  transition: border-color 0.2s;
}
.footer-nav a:hover {
  border-left-color: var(--sunshine-yellow);
}
.footer-map {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding: 0 1.25rem;
}
.footer-map iframe {
  display: block;
  border-radius: var(--radius-tag);
}
.footer-tagline {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--sunshine-yellow);
  margin-top: 3rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer-copyright {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 0.5rem;
}

/* ===== Forms ===== */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 0.75em;
  margin: 0.4em 0 1em;
  font-family: inherit;
  font-size: 1rem;
  border: 2px solid var(--paper-line);
  border-radius: var(--radius-tag);
  background: #fff;
  min-height: 44px; /* Touch target accessibility */
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  outline: 3px solid var(--sunshine-yellow);
  outline-offset: 2px;
  border-color: var(--sunshine-yellow);
}
button[type="submit"],
.stamp-button {
  min-height: 44px; /* Touch target accessibility */
  min-width: 44px;
}

/* ===== FAQ Page ===== */
.faq-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}
.faq-category {
  margin-bottom: 3rem;
}
.faq-category__heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--avocado);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 3px solid var(--sunshine-yellow);
  padding-bottom: 0.5rem;
}
.faq-category__icon {
  font-size: 1.5em;
  color: var(--burnt-orange);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background: #fff;
  border: 2px solid var(--paper-line);
  border-radius: var(--radius-tag);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] {
  border-color: var(--sunshine-yellow);
}
.faq-item__question {
  padding: 1rem 1.25rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brown);
  cursor: pointer;
  list-style: none;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.faq-item__question::-webkit-details-marker {
  display: none;
}
.faq-item__question::before {
  content: "+";
  font-size: 1.5em;
  font-weight: 700;
  color: var(--avocado);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item[open] .faq-item__question::before {
  content: "−";
}
.faq-item__question:hover {
  background: var(--sage-bg);
}
.faq-item__answer {
  padding: 0 1.25rem 1.25rem 3rem;
  line-height: 1.6;
  color: var(--brown);
}
.faq-item__answer p {
  margin: 0 0 0.75rem;
}
.faq-item__answer p:last-child {
  margin-bottom: 0;
}

.faq-cta {
  max-width: 900px;
  margin: 3rem auto 0;
  padding: 2rem 1.25rem;
  text-align: center;
  background: var(--sage-bg);
  border-radius: var(--radius-tag);
}
.faq-cta h2 {
  margin-bottom: 1rem;
}
.faq-cta p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}
.faq-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

/* ===== Page Content (for guide pages) ===== */
.page-content h1,
.page-content h2,
.page-content h3 {
  font-family: var(--font-display);
  color: var(--avocado);
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.page-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  border-bottom: 3px solid var(--sunshine-yellow);
  padding-bottom: 0.5rem;
}
.page-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 2.5rem;
}
.page-content h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  color: var(--burnt-orange);
}
.page-content p {
  margin-bottom: 1rem;
}
.page-content ul,
.page-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  line-height: 1.8;
}
.page-content li {
  margin-bottom: 0.5rem;
}
.page-content code {
  background: var(--sage-bg);
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--brown);
}
.page-content pre {
  background: var(--sage-bg);
  padding: 1rem;
  border-radius: var(--radius-tag);
  overflow-x: auto;
  margin: 1rem 0;
}
.page-content pre code {
  background: none;
  padding: 0;
}
.page-content strong {
  color: var(--avocado);
  font-weight: 600;
}
.page-content hr {
  border: none;
  border-top: 2px solid var(--paper-line);
  margin: 2rem 0;
}
.page-content a {
  color: var(--burnt-orange);
  text-decoration: underline;
}
.page-content a:hover {
  color: var(--avocado);
}

/* ===== Motion & accessibility ===== */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--sunshine-yellow);
  outline-offset: 2px;
}
