/* ===========================
   THE NEIGHBORHOOD DEV v3
   Clean, friendly, green/white
   =========================== */

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

:root {
  --white:       #ffffff;
  --off-white:   #f7f9f5;
  --bg-soft:     #eef4eb;
  --green:       #2e7d4f;
  --green-mid:   #3a9e63;
  --green-light: #d4edda;
  --green-xlight:#eef7f1;
  --ink:         #1a2314;
  --ink-mid:     #3d4f3a;
  --ink-muted:   #6b7d67;
  --amber:       #c47c2b;
  --amber-light: #fdf3e3;
  --border:      rgba(46,125,79,0.15);
  --border-mid:  rgba(46,125,79,0.28);
  --radius:      8px;
  --radius-lg:   14px;
  --shadow-sm:   0 1px 4px rgba(30,60,30,0.07);
  --shadow-md:   0 4px 16px rgba(30,60,30,0.10);
  font-size: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.7;
}

.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== WALKING CAT ===== */
.cat-track {
  width: 100%;
  height: 36px;
  overflow: hidden;
  margin-bottom: 6px;
  position: relative;
}

.cat-walker {
  position: absolute;
  left: 0;
  top: 0;
  animation: catWalk 8s linear infinite;
}

.cat-sprite {
  font-family: monospace;
  font-size: 9px;
  line-height: 1.2;
  color: var(--green);
  white-space: pre;
  display: block;
}

@keyframes catWalk {
  0%   { left: -60px; }
  100% { left: 100%; }
}
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo-bracket { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-mid);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover, .nav-link.active { color: var(--green); }

.nav-cta {
  background: var(--green) !important;
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  transition: background 0.2s !important;
}

.nav-cta:hover { background: #235e3c !important; }
.nav-cta.active { color: var(--white) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 24px 20px;
  gap: 14px;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.mobile-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-mid);
  text-decoration: none;
}

.mobile-menu.open { display: flex; }

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 24px 80px;
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 56px;
  min-height: 82vh;
}

.hero-grid-bg { display: none; }

.hero-content {
  flex: 1;
  max-width: 520px;
  position: relative;
  z-index: 2;
}

.hero-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-mid);
  animation: pulse 2.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

.status-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.02em;
}

.hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 20px;
}

.h1-line1 { display: block; color: var(--ink); }
.h1-line2 { display: block; color: var(--green); font-style: italic; }

.hero-sub {
  font-size: 1.05rem;
  color: var(--ink-muted);
  max-width: 440px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* TERMINAL */
.hero-visual {
  flex-shrink: 0;
  width: 300px;
  position: relative;
  z-index: 2;
}

.terminal {
  background: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.terminal-bar {
  background: #2a2a2a;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.t-dot { width: 10px; height: 10px; border-radius: 50%; }
.t-dot.red    { background: #ff5f57; }
.t-dot.yellow { background: #ffbd2e; }
.t-dot.green  { background: #28c840; }

.t-title {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.3);
  margin-left: 6px;
}

.terminal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.terminal-body p {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.78rem;
  line-height: 1.4;
}

.t-prompt { color: var(--green-mid); margin-right: 6px; }
.t-cmd    { color: rgba(255,255,255,0.8); }
.t-ok     { color: #4ade80; margin-right: 6px; }

.t-cursor {
  display: inline-block;
  color: var(--green-mid);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.btn-primary:hover { background: #235e3c; }
.btn-primary:active { transform: scale(0.97); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--green);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1.5px solid var(--border-mid);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.btn-ghost:hover {
  border-color: var(--green);
  background: var(--green-xlight);
}

/* ===== TOWN PHOTO ===== */
.town-section { width: 100%; overflow: hidden; }

.town-img-wrap { position: relative; height: 380px; }

.town-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  filter: saturate(0.85) brightness(0.75);
}

.town-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(26,35,20,0.80) 0%,
    rgba(26,35,20,0.25) 55%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 36px 48px;
}

.town-label { display: flex; flex-direction: column; gap: 4px; }

.tl-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green-mid);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tl-name {
  font-family: 'Lora', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--white);
}

.tl-sub { font-size: 0.85rem; color: rgba(255,255,255,0.65); }

/* ===== SECTION TAGS ===== */
.section-tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

/* ===== WHAT I DO ===== */
.what-section { padding: 96px 0; }
.section-header { margin-bottom: 48px; }

.section-header h2,
.what-section h2,
.why-text h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

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

.what-card {
  display: block;
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.what-card:hover {
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.wc-icon { font-size: 1.1rem; color: var(--green); margin-bottom: 14px; }

.what-card h3 {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.what-card p { font-size: 0.9rem; color: var(--ink-muted); line-height: 1.65; margin-bottom: 16px; }
.wc-link { font-size: 0.82rem; font-weight: 600; color: var(--green); }

/* ===== WHY LOCAL ===== */
.why-section {
  background: var(--off-white);
  padding: 96px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: center;
}

.why-text p {
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 16px 0 24px;
}

.why-stats { display: flex; flex-direction: column; gap: 14px; }

.stat-box {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
}

.stat-num {
  font-family: 'Lora', serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--green);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label { font-size: 0.8rem; color: var(--ink-muted); }

/* ===== CTA BAND ===== */
.cta-band { background: var(--green); padding: 48px 0; }

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-inner p {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}

.cta-band .btn-primary { background: var(--white); color: var(--green); }
.cta-band .btn-primary:hover { background: var(--green-light); }

/* ===== FOOTER ===== */
.footer { background: var(--ink); padding: 48px 0; }

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer-logo {
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.footer-location { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-links { display: flex; gap: 24px; margin: 6px 0; }

.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.2); margin-top: 4px; }

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 72px 0 52px;
  border-bottom: 1px solid var(--border);
  background: var(--off-white);
}

.page-hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--ink);
  margin: 10px 0 14px;
  letter-spacing: -0.02em;
}

.page-hero p {
  color: var(--ink-muted);
  font-size: 1rem;
  max-width: 560px;
  line-height: 1.75;
}

/* ===== SERVICES DETAIL ===== */
.services-detail { padding: 80px 0; }

.svc-block {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  padding: 48px 0;
}

.svc-label {
  font-family: 'Lora', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--border-mid);
  line-height: 1;
  padding-top: 8px;
}

.svc-content h2 {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 6px;
}

.svc-tagline { font-size: 0.95rem; color: var(--ink); font-weight: 500; margin-bottom: 14px !important; }

.svc-content p { color: var(--ink-muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 20px; }

.svc-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.svc-features li {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--green);
  background: var(--green-xlight);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 100px;
}

.svc-price-soft {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-bottom: 24px;
  padding: 12px 16px;
  border-left: 3px solid var(--green);
  background: var(--green-xlight);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.price-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
  margin-right: 6px;
}

.svc-price-soft strong { color: var(--ink); font-weight: 600; }
.svc-divider { height: 1px; background: var(--border); }

/* ===== PROCESS ===== */
.process-section {
  background: var(--off-white);
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.process-section h2 {
  font-family: 'Lora', serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}

.process-steps { display: flex; align-items: flex-start; gap: 12px; }

.p-step {
  flex: 1;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.p-num {
  font-family: 'Lora', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--green-light);
  margin-bottom: 10px;
}

.p-step h4 { font-size: 0.95rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.p-step p { font-size: 0.85rem; color: var(--ink-muted); line-height: 1.65; }

.p-arrow { font-size: 1.2rem; color: var(--border-mid); padding-top: 24px; flex-shrink: 0; }

/* ===== ABOUT ===== */
.about-section { padding: 80px 0; }

.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}

.bio-card {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 84px;
  box-shadow: var(--shadow-sm);
}

.bio-avatar {
  width: 100%;
  height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  border: 2px solid var(--border-mid);
}

.bio-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.bio-name {
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}

.bio-title { font-size: 0.8rem; color: var(--ink-muted); margin-bottom: 10px; }

.bio-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
}

.bl-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-mid);
  animation: pulse 2.5s infinite;
}

.bio-divider { height: 1px; background: var(--border); margin: 16px 0; }

.skills-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-bottom: 10px;
}

.skills-list { display: flex; flex-wrap: wrap; gap: 6px; }

.skill-tag {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--green);
  background: var(--green-xlight);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 100px;
}

.bio-text h2 {
  font-family: 'Lora', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin: 32px 0 12px;
}

.bio-text h2:first-child { margin-top: 0; }

.bio-text p {
  font-size: 0.97rem;
  color: var(--ink-mid);
  line-height: 1.85;
  margin-bottom: 16px;
}

.about-contact-nudge {
  margin-top: 36px;
  padding: 24px;
  background: var(--green-xlight);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
}

.about-contact-nudge .section-tag { margin-bottom: 8px; }
.about-contact-nudge p { margin: 0 0 18px; }

/* ===== CONTACT ===== */
.contact-section { padding: 80px 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}

.ci-block { margin-bottom: 28px; }

.ci-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-bottom: 5px;
}

.ci-value {
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  display: block;
}

a.ci-value:hover { color: var(--green); }
.ci-sub { font-size: 0.78rem; color: var(--ink-muted); margin-top: 3px; }

.contact-form {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }

.form-group label { font-size: 0.78rem; font-weight: 600; color: var(--ink-mid); }

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ink-muted); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green); }

.btn-submit { width: 100%; padding: 14px; font-size: 0.95rem; margin-top: 4px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .hero {
    flex-direction: column;
    min-height: auto;
    padding: 60px 24px 48px;
    align-items: flex-start;
  }

  .hero-visual { width: 100%; }
  .terminal { max-width: 340px; }

  .why-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .bio-card { position: static; }
  .process-steps { flex-direction: column; gap: 14px; }
  .p-arrow { display: none; }
  .svc-block { grid-template-columns: 1fr; gap: 10px; }
  .svc-label { font-size: 1rem; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 22px 16px; }
  .town-img-wrap { height: 240px; }
  .town-overlay { padding: 24px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .what-section, .why-section, .about-section, .contact-section, .services-detail { padding: 64px 0; }
}

/* ===== PRICING SECTION ===== */
.pricing-section {
  padding: 96px 0;
  background: var(--off-white);
  border-top: 1px solid var(--border);
}

.pricing-section h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.pricing-intro {
  color: var(--ink-muted);
  font-size: 1rem;
  margin-bottom: 40px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.pricing-card-featured {
  border-color: var(--green);
  border-width: 2px;
}

.pricing-icon { font-size: 1.1rem; color: var(--green); margin-bottom: 12px; }

.pricing-card h3 {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 10px;
  font-family: 'Lora', serif;
}

.pricing-card p { font-size: 0.9rem; color: var(--ink-muted); line-height: 1.65; }

.pricing-cta {
  text-align: center;
  padding: 40px;
  background: var(--green);
  border-radius: var(--radius-lg);
}

.pricing-cta p {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 20px;
}

.pricing-cta .btn-primary {
  background: var(--white);
  color: var(--green);
  font-size: 1rem;
  padding: 14px 32px;
}

.pricing-cta .btn-primary:hover { background: var(--green-light); }

@media (max-width: 640px) {
  .pricing-section { padding: 64px 0; }
}

/* ===== PRICING CTA ===== */
.pricing-cta {
  margin-top: 48px;
  text-align: center;
  padding: 40px;
  background: var(--green);
  border-radius: var(--radius-lg);
}

.pricing-cta p {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 20px;
}

.pricing-cta .btn-primary {
  background: var(--white);
  color: var(--green);
  font-size: 1rem;
  padding: 14px 32px;
}

.pricing-cta .btn-primary:hover { background: var(--green-light); }
