/* =============================================
   OHANA LAWN CARE — style.css
   Mobile-first, WCAG AA, no frameworks
   ============================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --green-deep:   #1a3d2b;
  --green-accent: #2d6a4f;
  --green-light:  #40916c;
  --green-pale:   #d8f3dc;
  --off-white:    #f7f4ef;
  --charcoal:     #2c2c2a;
  --charcoal-mid: #4a4a48;
  --white:        #ffffff;
  --border:       #ddd9d2;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.16);
  --radius:       12px;
  --radius-sm:    8px;
  --transition:   0.25s ease;
  --max-width:    1180px;
  --font-serif:   'DM Serif Display', Georgia, serif;
  --font-sans:    'Inter', system-ui, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--off-white);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-sans); }
input, select, textarea { font-family: var(--font-sans); }

/* --- Utility --- */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-accent);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 16px;
  color: var(--charcoal-mid);
  max-width: 560px;
  line-height: 1.7;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--green-accent); color: var(--white); border-color: var(--green-accent); }
.btn-primary:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--green-deep); }
.btn-outline-dark { background: transparent; color: var(--green-accent); border-color: var(--green-accent); }
.btn-outline-dark:hover { background: var(--green-accent); color: var(--white); }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* =============================================
   NAVIGATION
   ============================================= */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--green-deep);
  font-weight: 400;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--green-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal-mid);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-accent);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--green-accent); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--green-accent); }
.nav-cta {
  display: none;
  align-items: center;
  gap: 10px;
}
.nav-phone {
  font-size: 14px;
  font-weight: 600;
  color: var(--green-deep);
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-hamburger {
  background: none;
  border: none;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 20px;
  gap: 16px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  color: var(--charcoal);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .btn { margin-top: 8px; justify-content: center; }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-cta { display: flex; }
  .nav-hamburger { display: none; }
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/landscaped-home-lawn-lincoln-hero.jpg');
  background-size: cover;
  background-position: center 60%;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,61,43,0.88) 0%, rgba(26,61,43,0.70) 60%, rgba(26,61,43,0.50) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 80px 0 60px;
  max-width: 680px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--white);
}
.hero h1 em { font-style: italic; color: #a7d6b8; }
.hero-sub {
  font-size: clamp(16px, 2.5vw, 19px);
  line-height: 1.65;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  flex-shrink: 0;
}

/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar {
  background: var(--green-deep);
  padding: 24px 0;
}
.trust-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.trust-icon {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.trust-item strong { display: block; font-size: 14px; font-weight: 700; }
.trust-item span { font-size: 12px; opacity: 0.78; }

@media (min-width: 600px) {
  .trust-inner { flex-direction: row; justify-content: space-around; }
  .trust-item { flex-direction: column; text-align: center; gap: 8px; }
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services-section {
  padding: 80px 0;
  background: var(--white);
}
.services-header { margin-bottom: 48px; }
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.service-card {
  background: var(--off-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.service-card-body { padding: 24px; }
.service-card-body h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--green-deep);
  margin-bottom: 10px;
}
.service-card-body p {
  font-size: 14px;
  color: var(--charcoal-mid);
  margin-bottom: 16px;
  line-height: 1.65;
}
.service-bullets {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.service-bullets li {
  font-size: 13px;
  color: var(--charcoal);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.service-bullets li::before {
  content: '✓';
  color: var(--green-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

@media (min-width: 640px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-section {
  padding: 80px 0;
  background: var(--off-white);
}
.about-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.about-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}
.about-img-wrap img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.about-img-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
}
.about-img-badge strong { display: block; font-size: 14px; color: var(--green-deep); }
.about-img-badge span { font-size: 12px; color: var(--charcoal-mid); }
.about-content { flex: 1; }
.about-content .section-title { margin-bottom: 20px; }
.about-content p {
  font-size: 15px;
  color: var(--charcoal-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-content p strong { color: var(--charcoal); }
.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 32px;
}
.about-stat {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  border: 1px solid var(--border);
  flex: 1;
  min-width: 120px;
}
.about-stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--green-accent);
}
.about-stat span { font-size: 12px; color: var(--charcoal-mid); }

@media (min-width: 900px) {
  .about-inner { flex-direction: row; align-items: center; }
  .about-img-wrap { margin: 0; flex-shrink: 0; width: 44%; }
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section {
  padding: 80px 0;
  background: var(--green-deep);
}
.testimonials-section .section-label { color: #a7d6b8; }
.testimonials-section .section-title { color: var(--white); }
.testimonials-section .section-sub { color: rgba(255,255,255,0.72); }
.testimonials-header { margin-bottom: 48px; }
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.testimonial-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(4px);
}
.stars { color: #facc15; font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-card blockquote {
  font-size: 15px;
  color: rgba(255,255,255,0.88);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.author-avatar.av2 { background: #40916c; }
.author-avatar.av3 { background: #52b788; }
.author-name { font-size: 14px; font-weight: 600; color: var(--white); }
.author-loc { font-size: 12px; color: rgba(255,255,255,0.55); }

@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

/* =============================================
   QUOTE FORM SECTION
   ============================================= */
.quote-section {
  padding: 80px 0;
  background: var(--off-white);
}
.quote-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.quote-info { flex: 1; }
.quote-info .section-title { margin-bottom: 16px; }
.quote-info p { font-size: 15px; color: var(--charcoal-mid); line-height: 1.75; margin-bottom: 24px; }
.contact-details { display: flex; flex-direction: column; gap: 14px; }
.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--charcoal);
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.contact-detail-item strong { display: block; font-size: 13px; color: var(--charcoal-mid); font-weight: 500; }
.contact-detail-item a { font-weight: 600; color: var(--green-accent); }
.quote-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  flex: 1.2;
}
.quote-form-wrap h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--green-deep);
  margin-bottom: 6px;
}
.quote-form-wrap p { font-size: 13px; color: var(--charcoal-mid); margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-accent);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 12px; color: var(--charcoal-mid); margin-top: 8px; }

@media (min-width: 900px) {
  .quote-inner { flex-direction: row; align-items: flex-start; }
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-phone-big {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--white);
  display: block;
  margin-bottom: 8px;
}
.footer-phone-big:hover { color: #a7d6b8; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

@media (min-width: 640px) {
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* =============================================
   SERVICES PAGE — FULL DETAIL
   ============================================= */
.page-hero {
  background: var(--green-deep);
  padding: 80px 0 64px;
  text-align: center;
}
.page-hero .section-label { color: #a7d6b8; }
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 6vw, 52px);
  color: var(--white);
  margin-bottom: 14px;
}
.page-hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}
.services-full { padding: 80px 0; }
.service-block {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}
.service-block:first-child { padding-top: 0; }
.service-block:last-child { border-bottom: none; }
.service-block-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
  width: 100%;
}
.service-block-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.service-block-content { flex: 1; }
.service-number {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-accent);
  margin-bottom: 8px;
}
.service-block-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 4vw, 36px);
  color: var(--green-deep);
  margin-bottom: 16px;
  line-height: 1.2;
}
.service-block-content p {
  font-size: 15px;
  color: var(--charcoal-mid);
  line-height: 1.8;
  margin-bottom: 20px;
}
.service-includes {
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 24px;
}
.service-includes h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green-deep);
  margin-bottom: 12px;
}
.service-includes ul { display: flex; flex-direction: column; gap: 8px; }
.service-includes li {
  font-size: 14px;
  color: var(--charcoal);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.service-includes li::before {
  content: '✓';
  color: var(--green-accent);
  font-weight: 700;
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .service-block { flex-direction: row; align-items: center; }
  .service-block.reverse { flex-direction: row-reverse; }
  .service-block-img { width: 44%; }
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-page { padding: 80px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.contact-info-panel h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 38px);
  color: var(--green-deep);
  margin-bottom: 16px;
}
.contact-info-panel p {
  font-size: 15px;
  color: var(--charcoal-mid);
  line-height: 1.75;
  margin-bottom: 32px;
}
.big-phone {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--green-deep);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
  text-decoration: none;
  transition: background var(--transition);
}
.big-phone:hover { background: var(--green-accent); }
.big-phone-icon { font-size: 24px; }
.big-phone-label { font-size: 12px; opacity: 0.75; font-weight: 500; }
.big-phone-number {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.1;
}
.service-area-box {
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-top: 24px;
}
.service-area-box h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green-deep);
  margin-bottom: 10px;
}
.service-area-box p { font-size: 14px; color: var(--charcoal-mid); margin-bottom: 0; }

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.3fr; }
}

/* =============================================
   FORM SUCCESS STATE
   ============================================= */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.show { display: block; }
.form-success .check-icon {
  width: 60px;
  height: 60px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
}
.form-success h3 { font-family: var(--font-serif); font-size: 24px; color: var(--green-deep); margin-bottom: 8px; }
.form-success p { font-size: 14px; color: var(--charcoal-mid); }

/* =============================================
   MISC PAGE ELEMENTS
   ============================================= */
.section-cta { padding: 80px 0; background: var(--green-pale); text-align: center; }
.section-cta h2 { font-family: var(--font-serif); font-size: clamp(26px, 5vw, 40px); color: var(--green-deep); margin-bottom: 12px; }
.section-cta p { font-size: 16px; color: var(--charcoal-mid); margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.section-cta .btn-group { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* =============================================
   RESPONSIVE ADJUSTMENTS
   ============================================= */
@media (max-width: 375px) {
  .container { padding: 0 16px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
}
