/* Fir Line Exterior Care — mobile-first site */
:root {
  --green: #003f20;
  --green-deep: #002814;
  --green-mid: #015c2f;
  --green-soft: #e8f1eb;
  --green-mist: #f4f7f5;
  --orange: #fc5b01;
  --orange-dark: #d44c00;
  --ink: #12241b;
  --muted: #3e574a;
  --white: #ffffff;
  --line: #c9d9cf;
  --shadow: 0 12px 30px rgba(0, 63, 32, 0.09);
  --radius: 18px;
  --header-h: 4.25rem;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.5rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-mid); }
a:hover { color: var(--orange-dark); }

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  background: var(--orange);
  color: var(--white);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  z-index: 100;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 0.75rem; }

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(0, 63, 32, 0.04);
}

.site-header::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--green) 0 55%, var(--orange) 55%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--green);
  min-width: 0;
}
.brand img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand-text span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: none;
  align-items: center;
  gap: 1.35rem;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--green-mid); }
.nav .btn { margin-left: 0.25rem; }

.header-cta { flex-shrink: 0; }

@media (min-width: 960px) {
  .nav { display: flex; }
  .brand-text strong { font-size: 1.05rem; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.2;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-orange {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-orange:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: var(--white); }

.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-green:hover { background: var(--green-mid); border-color: var(--green-mid); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}
.btn-outline:hover { background: var(--white); color: var(--green); }

.btn-outline-green {
  background: var(--white);
  color: var(--green);
  border-color: var(--green);
}
.btn-outline-green:hover { background: var(--green-soft); color: var(--green); }

.btn-lg { padding: 0.9rem 1.4rem; font-size: 1.05rem; }

@media (min-width: 960px) {
  .btn.header-cta { display: none; }
  .why-flyer { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .points { grid-template-columns: 1fr 1fr; }
}

/* Hero */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(252, 91, 1, 0.18), transparent 50%),
    radial-gradient(ellipse 70% 80% at 0% 100%, rgba(1, 92, 47, 0.55), transparent 55%),
    var(--green);
  color: var(--white);
  padding: 2.4rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffc9a3;
  margin: 0 0 0.85rem;
}

.hero h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(2rem, 6vw, 3.35rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: normal;
  color: #ffb48a;
}

.hero .lead {
  margin: 0 0 1.5rem;
  font-size: 1.08rem;
  line-height: 1.55;
  color: #e5eee8;
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-art {
  display: none;
}

.hero-art img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
  border: 3px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 860px) {
  .hero { padding: 3.4rem 0 4rem; }
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; gap: 3rem; }
  .hero-art { display: block; }
}

/* Sections */
.section { padding: 3.4rem 0; }
.section-alt { background: var(--green-mist); }

.section h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.7rem, 3.5vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--green);
}

.section-intro {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: 38rem;
  font-size: 1.08rem;
}

/* Services */
.cards {
  display: grid;
  gap: 1.15rem;
}
@media (min-width: 700px) {
  .cards { grid-template-columns: 1fr 1fr; }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.card picture, .card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--green-soft);
}

.card-body { padding: 1.15rem 1.2rem 1.3rem; }
.card-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  color: var(--green);
}
.card-body p { margin: 0; color: var(--muted); font-size: 1rem; }

/* Why us */
.why-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 840px) and (max-width: 959px) {
  .why-grid { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; }
}

.points {
  display: grid;
  gap: 0.9rem;
}

.point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem 1.05rem;
}

.icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.icon svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }

.point h3 {
  margin: 0 0 0.15rem;
  font-size: 1.05rem;
  color: var(--green);
}
.point p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.why-flyer img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

/* Area */
.cities {
  display: grid;
  gap: 0.9rem;
}
@media (min-width: 700px) {
  .cities { grid-template-columns: repeat(3, 1fr); }
}

.city {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.city strong {
  display: block;
  font-size: 1.25rem;
  color: var(--green);
  margin-bottom: 0.2rem;
}
.city span { color: var(--muted); font-size: 0.95rem; }

/* How it works */
.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}
.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  color: var(--green);
}
.step p { margin: 0; color: var(--muted); }

/* Contact */
.contact {
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(252, 91, 1, 0.16), transparent 50%),
    var(--green);
  color: var(--white);
}
.contact h2 { color: var(--white); }
.contact .section-intro { color: #d5e5db; }

.contact-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  color: var(--white);
  text-decoration: none;
  display: block;
  transition: background 0.15s ease, transform 0.15s ease;
}
.contact-card:hover {
  background: rgba(255, 255, 255, 0.13);
  color: var(--white);
  transform: translateY(-2px);
}
.contact-card .label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: #ffc9a3;
  margin-bottom: 0.3rem;
}
.contact-card strong {
  font-size: 1.25rem;
  font-weight: 700;
  word-break: break-word;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

/* Footer */
.site-footer {
  background: var(--green-deep);
  color: #c5d6cb;
  padding: 1.6rem 0 calc(1.6rem + env(safe-area-inset-bottom, 0px));
  font-size: 0.92rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
}
.footer-brand img { width: 36px; height: 36px; }
.footer-brand:hover { color: var(--white); }
.site-footer a { color: #e9f3ec; }
.site-footer a:hover { color: #ffc9a3; }

/* Sticky mobile CTA */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 0.65rem 0.9rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(0, 40, 20, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.18);
}
.mobile-cta .btn {
  width: 100%;
  padding: 0.95rem 1rem;
  font-size: 1.05rem;
}

@media (min-width: 768px) {
  .mobile-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
  }
}
