/* Trinity Lawn Service | trinitylawnservices.com */

/* Brand: main #00433C (spruce), accent #D3BE8F (sand).
   Everything else is a tint or shade of those two, kept at AA contrast. */
:root {
  --ink: #12211e;
  --pine: #00433c;
  --pine-mid: #00352f;
  --pine-deep: #002b26;
  --blade: #0e6a5e;
  --paper: #f8f5ee;
  --haze: #efe7d6;
  --sand: #d3be8f;
  --sand-deep: #c0a771;
  --rule: #e2dac9;
  --muted: #4b5a56;
  --on-dark: #d9d0bb;
  --on-dark-soft: #93a9a4;
  --font-display: "Franklin Gothic Medium", "Franklin Gothic", "Arial Narrow", Arial, sans-serif;
  --font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --w-content: 1120px;
  --pad-inline: clamp(1rem, 4vw, 2rem);
  --pad-section: clamp(3.5rem, 8vw, 6rem);
}

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

html { -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }

a { color: var(--pine); }

:focus-visible {
  outline: 3px solid var(--pine);
  outline-offset: 2px;
}

.hero :focus-visible,
.contact :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--sand);
}

section[id] { scroll-margin-top: 90px; }

.section-inner,
.header-inner,
.footer-inner {
  max-width: var(--w-content);
  margin-inline: auto;
  padding-inline: var(--pad-inline);
}

.section-lead {
  max-width: 62ch;
  color: var(--muted);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
}

.skip-link:focus { top: 0; }

/* Buttons */

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.btn-cta {
  background: var(--sand);
  color: var(--ink);
}

.btn-cta:hover { background: var(--sand-deep); }
.btn-cta:active { transform: translateY(1px); }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding-block: 0.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.brand img { flex-shrink: 0; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  display: grid;
}

.brand-name span {
  font-size: 0.56em;
  letter-spacing: 0.2em;
  color: var(--blade);
  margin-top: 0.2em;
}

.site-nav { position: relative; }

.nav-toggle {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: none;
  border: 1.5px solid var(--rule);
  border-radius: 6px;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }

.nav-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu.is-open {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 43, 38, 0.16);
  padding: 0.75rem;
}

.nav-menu a:not(.btn) {
  display: block;
  padding: 0.55rem 0.75rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ink);
  border-radius: 6px;
}

.nav-menu a:not(.btn):hover {
  color: var(--pine);
  background: var(--haze);
}

.nav-phone a { color: var(--pine); }

.nav-cta { margin: 0.5rem 0.75rem 0.25rem; text-align: center; white-space: nowrap; }

/* The full desktop row (4 links + phone + CTA) measures ~950px next to the
   brand lockup. Below 1120px it wraps into a mess, so the menu button holds. */
@media (min-width: 1120px) {
  .nav-toggle { display: none; }

  .nav-menu,
  .nav-menu.is-open {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    position: static;
    min-width: 0;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .nav-menu a:not(.btn):hover { background: none; text-decoration: underline; text-underline-offset: 5px; }

  .nav-phone { margin-left: 0.75rem; }
  .nav-phone a { font-weight: 700; }

  .nav-cta { margin: 0 0 0 0.75rem; padding: 0.65rem 1.1rem; font-size: 0.9rem; }
}

/* Hero: the mowing-stripe signature lives here and in the footer divider only */

.hero {
  position: relative;
  overflow: hidden;
  background: repeating-linear-gradient(112deg, var(--pine) 0 110px, var(--pine-mid) 110px 220px);
  color: #fff;
}

.hero-watermark {
  position: absolute;
  right: max(-90px, -8vw);
  bottom: -110px;
  width: min(520px, 55vw);
  height: auto;
  filter: invert(1);
  opacity: 0.13;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--w-content);
  margin-inline: auto;
  padding: clamp(4.5rem, 11vw, 8rem) var(--pad-inline);
}

.hero h1 {
  max-width: 21ch;
  font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.6rem);
  letter-spacing: 0.01em;
}

.hero-sub {
  max-width: 58ch;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem);
  color: var(--on-dark);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

/* Plain links inside the hero (404 page phone line) sit on dark green,
   so the global pine link colour is invisible here. */
.hero a:not(.btn) {
  color: #fff;
  text-underline-offset: 4px;
}

.hero-note {
  margin: 1.25rem 0 0;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-inner > * {
    animation: rise 0.55s ease-out both;
  }
  .hero-inner > :nth-child(2) { animation-delay: 0.08s; }
  .hero-inner > :nth-child(3) { animation-delay: 0.16s; }

  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
  }
}

/* Trust bar */

.trust-bar {
  background: #fff;
  border-bottom: 1px solid var(--rule);
}

/* Grid, not wrap: the four labels need ~1015px on one line, and flex-wrap
   drops a lone orphan onto row two at anything narrower. Stepping the column
   count keeps the block balanced at every width. */
.trust-bar ul {
  list-style: none;
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 1.1rem var(--pad-inline);
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  column-gap: 2.5rem;
  row-gap: 0.55rem;
}

.trust-bar li {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  color: var(--pine);
}

@media (min-width: 620px) {
  .trust-bar ul { grid-template-columns: repeat(2, auto); }
}

@media (min-width: 1120px) {
  .trust-bar ul { grid-template-columns: repeat(4, auto); }
}

/* Section headings */

.services h2,
.about h2,
.service-area h2,
.contact h2 {
  font-size: clamp(1.6rem, 1.25rem + 1.7vw, 2.35rem);
}

.services h2::after,
.about h2::after,
.service-area h2::after,
.contact h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 5px;
  margin-top: 0.45em;
  background: var(--blade);
}

/* Services */

.services { padding-block: var(--pad-section); }

.service-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.service {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.75rem 1.75rem 1.5rem;
}

.service-flagship { border-top: 4px solid var(--sand); }

.service-icon {
  width: 42px;
  height: 42px;
  color: var(--blade);
  margin-bottom: 0.9rem;
}

.service h3 { font-size: 1.3rem; }

.service p { color: var(--muted); margin-bottom: 0.75em; }

.service ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.3rem;
}

.service li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  background: var(--blade);
}

@media (min-width: 700px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1020px) {
  .service-grid { grid-template-columns: repeat(6, 1fr); }
  .service { grid-column: span 2; }
  .service-flagship { grid-column: span 3; }
}

/* About */

.about {
  background: var(--haze);
  padding-block: var(--pad-section);
}

.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.about-badge img {
  width: min(280px, 60vw);
  margin-inline: auto;
}

.about-copy p { max-width: 62ch; }

.about-meta {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.9rem;
  color: var(--blade);
  margin: 1.5rem 0 0;
}

@media (min-width: 820px) {
  .about-grid { grid-template-columns: 320px 1fr; }
  .about-badge img { margin-inline: 0; }
}

/* Service area */

.service-area { padding-block: var(--pad-section); }

.area-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  column-gap: 2rem;
  row-gap: 0.75rem;
}

.area-list li {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 1.1rem + 1.5vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--pine);
  padding-left: 2rem;
  border-left: 4px solid var(--blade);
  line-height: 1.1;
}

.area-note {
  margin-top: 2rem;
  color: var(--muted);
  max-width: 62ch;
}

/* Contact */

.contact {
  background: var(--pine);
  color: #fff;
  padding-block: var(--pad-section);
}

.contact a { color: #fff; }

.contact-grid {
  display: grid;
  gap: 3rem;
}

.contact-copy > p {
  color: var(--on-dark);
  max-width: 48ch;
}

.contact-direct {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.contact-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sand);
  margin-bottom: 0.2rem;
}

.contact-phone {
  display: block;
  width: max-content;
  max-width: 100%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 1.3rem + 1.5vw, 2.2rem);
  text-decoration: none;
}

/* Second line: same weight and color, one step down in size so the primary
   number still leads. Both are real numbers, not a fallback. */
.contact-phone-alt {
  font-size: clamp(1.35rem, 1.15rem + 1vw, 1.75rem);
  margin-top: 0.3rem;
}

.contact-phone:hover { text-decoration: underline; text-underline-offset: 5px; }

/* Estimate form */

.estimate-form {
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  padding: clamp(1.5rem, 4vw, 2.25rem);
}

.estimate-form h3 { font-size: 1.4rem; }

.field { margin-bottom: 1.1rem; }

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.field-optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.9em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #c9c0ac;
  border-radius: 6px;
  padding: 0.65rem 0.75rem;
}

.field textarea { resize: vertical; }

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--blade);
  outline-offset: 1px;
}

.field.has-error input { border-color: #b3261e; }

.field-error {
  color: #b3261e;
  font-size: 0.9rem;
  margin: 0.35rem 0 0;
}

.form-status {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--pine);
}

.form-status:empty { display: none; }

@media (min-width: 920px) {
  .contact-grid { grid-template-columns: 1fr 1.1fr; align-items: start; }
}

/* Stripe divider: second and last appearance of the signature */

.stripe-divider {
  height: 14px;
  background: repeating-linear-gradient(112deg, var(--sand) 0 30px, var(--pine) 30px 60px);
}

/* Footer */

.site-footer {
  background: var(--pine-deep);
  color: #c3d2ce;
}

.site-footer a { color: #fff; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.footer-inner {
  display: grid;
  gap: 2.5rem;
  padding-block: 3.5rem 2.5rem;
}

.footer-badge {
  display: inline-block;
  background: var(--sand);
  border-radius: 50%;
  padding: 10px;
  margin-bottom: 1rem;
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 0.4rem;
}

.footer-identity p { max-width: 34ch; }

.site-footer h2 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--sand);
  margin-bottom: 0.9rem;
}

.footer-contact ul,
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-legal {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 1.25rem var(--pad-inline) 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.85rem;
  color: var(--on-dark-soft);
}

@media (min-width: 780px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* FAQ */

.faq {
  background: var(--haze);
  padding-block: var(--pad-section);
}

.faq h2 { font-size: clamp(1.6rem, 1.25rem + 1.7vw, 2.35rem); }

.faq h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 5px;
  margin-top: 0.45em;
  background: var(--blade);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
  max-width: 780px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 0 1.25rem;
}

.faq-item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 1rem 2.25rem 1rem 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--blade);
}

.faq-item[open] summary::after { content: "2"; }

.faq-item p {
  margin: 0 0 1.1rem;
  max-width: 62ch;
  color: var(--muted);
}

.faq-item a { color: var(--pine); }

/* Footer address block */

.site-footer address { font-style: normal; }

/* Motion safety */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
