/*
Theme Name: Pine Ridge Tree Care
Theme URI: https://tree-care-portfolio.ddev.site
Author: Spike Vinz Cruz
Description: Custom WordPress portfolio demo theme for the fictional Pine Ridge Tree Care lead-generation website.
Version: 0.1.0
License: GPL-2.0-or-later
Text Domain: pine-ridge
*/

:root {
  --green-900: #123328;
  --green-800: #174638;
  --green-700: #245c48;
  --cream: #fbf7ee;
  --tan: #dfc7a1;
  --tan-light: #f0e4cf;
  --charcoal: #20241f;
  --muted: #5f675f;
  --white: #fffdf8;
  --line: #e5dbc8;
  --shadow: 0 16px 40px rgba(18, 51, 40, 0.12);
  --radius: 18px;
  --space: clamp(1rem, 4vw, 2rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

a { color: var(--green-800); }

.skip-link {
  background: var(--white);
  border: 2px solid var(--green-900);
  border-radius: 999px;
  color: var(--green-900);
  font-weight: 850;
  left: 1rem;
  padding: 0.55rem 0.85rem;
  position: fixed;
  text-decoration: none;
  top: 1rem;
  transform: translateY(-150%);
  z-index: 100;
}

.skip-link:focus { transform: translateY(0); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--tan);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 247, 238, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner,
.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

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

.brand {
  color: var(--green-900);
  font-weight: 850;
  letter-spacing: -0.04em;
  text-decoration: none;
  font-size: 1.15rem;
}

.brand span { display: block; color: var(--muted); font-size: 0.76rem; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; }

.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; }

.site-nav a {
  border-radius: 999px;
  color: var(--green-900);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.55rem 0.7rem;
  text-decoration: none;
}

.site-nav a:hover { background: var(--tan-light); }

.header-actions { display: flex; align-items: center; gap: 0.55rem; }

.phone-link { color: var(--green-900); font-weight: 800; text-decoration: none; white-space: nowrap; }

.button,
button.button {
  align-items: center;
  background: var(--green-800);
  border: 2px solid var(--green-800);
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1.05rem;
  text-decoration: none;
}

.button:hover { background: var(--green-900); border-color: var(--green-900); }

.button.secondary { background: transparent; color: var(--green-900); }

.button.light { background: var(--white); border-color: var(--white); color: var(--green-900); }

.hero,
.page-hero,
.section { padding: clamp(3rem, 8vw, 6.5rem) 0; }

.hero { background: linear-gradient(145deg, var(--green-900), #1f5a46); color: var(--white); }

.hero-grid,
.split { display: grid; gap: 2rem; }

.eyebrow { color: var(--tan); font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.78rem; }

h1,
h2,
h3 { color: var(--green-900); line-height: 1.08; margin: 0 0 1rem; letter-spacing: -0.045em; }

.hero h1,
.cta-band h2 { color: var(--white); }

h1 { font-size: clamp(2.45rem, 12vw, 5rem); max-width: 10ch; }

.hero h1 { max-width: 12ch; }

.page-hero h1 { max-width: 13ch; }

h2 { font-size: clamp(2rem, 7vw, 3.25rem); }

h3 { font-size: 1.25rem; }

.lead { font-size: clamp(1.08rem, 2.5vw, 1.28rem); max-width: 62ch; }

.hero .lead { color: #edf4ef; }

.hero-card {
  background: rgba(255, 253, 248, 0.1);
  border: 1px solid rgba(255, 253, 248, 0.22);
  border-radius: 26px;
  padding: 1.25rem;
}

.hero-card strong { color: var(--tan); display: block; font-size: 2rem; line-height: 1; }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }

.trust-strip .container { display: grid; gap: 0.75rem; padding: 1rem 0; }

.trust-item { color: var(--green-900); font-weight: 800; }

.cards { display: grid; gap: 1rem; }

.card,
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.card p,
.section p { color: var(--muted); }

.card-link { font-weight: 850; text-decoration: none; }

.soft { background: var(--tan-light); }

.cta-band { background: var(--green-800); color: var(--white); padding: clamp(2rem, 6vw, 4rem) 0; }

.cta-band p { color: #eef4ef; max-width: 62ch; }

.steps { counter-reset: steps; }

.step { position: relative; padding-left: 3.5rem; }

.step::before {
  align-items: center;
  background: var(--green-800);
  border-radius: 50%;
  color: var(--white);
  content: counter(steps);
  counter-increment: steps;
  display: flex;
  font-weight: 850;
  height: 2.5rem;
  justify-content: center;
  left: 1.25rem;
  position: absolute;
  top: 1.25rem;
  width: 2.5rem;
}

.testimonial { font-size: 1.05rem; }

.testimonial cite { color: var(--green-900); display: block; font-style: normal; font-weight: 850; margin-top: 1rem; }

.page-hero { background: var(--tan-light); }

.content-list { display: grid; gap: 0.75rem; padding-left: 1.2rem; }

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

label { color: var(--green-900); display: block; font-weight: 800; margin-bottom: 0.35rem; }

input,
select,
textarea {
  background: #fff;
  border: 1px solid #cfc4b1;
  border-radius: 12px;
  color: var(--charcoal);
  font: inherit;
  min-height: 46px;
  padding: 0.7rem 0.85rem;
  width: 100%;
}

textarea { min-height: 130px; resize: vertical; }

.field-grid { display: grid; gap: 1rem; }

.form-note { background: var(--tan-light); border-radius: 14px; color: var(--green-900); font-size: 0.92rem; padding: 0.9rem; }

.form-intro { color: var(--muted); margin-top: -0.25rem; }

.contact-card { align-self: start; }

.site-footer { background: var(--charcoal); color: #f5efe3; padding: 3rem 0 5.5rem; }

.footer-grid { display: grid; gap: 1.5rem; }

.site-footer h2,
.site-footer h3 { color: var(--white); }

.site-footer a { color: #f5efe3; display: block; margin: 0.25rem 0; text-decoration: none; }

.disclaimer { border-top: 1px solid rgba(255, 255, 255, 0.16); color: #d8d0c3; margin-top: 2rem; padding-top: 1rem; }

.mobile-call {
  align-items: center;
  background: var(--green-800);
  bottom: 0.75rem;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  color: var(--white);
  display: flex;
  font-weight: 900;
  justify-content: center;
  left: 1rem;
  min-height: 52px;
  position: fixed;
  right: 1rem;
  text-decoration: none;
  z-index: 30;
}

@media (min-width: 700px) {
  .trust-strip .container,
  .cards,
  .field-grid,
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid,
  .split,
  .contact-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
  .mobile-call { display: none; }
  .site-footer { padding-bottom: 3rem; }
}

@media (max-width: 699px) {
  .site-nav { order: 3; width: 100%; }
  .site-nav a { padding-left: 0; }
  .header-actions { width: 100%; }
  .header-actions .button { flex: 1; }
  .actions .button,
  .form-card .button { width: 100%; }
}

@media (min-width: 980px) {
  .cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; }
}
