/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #FAF8F5;
  --green: #2C4A2E;
  --green-light: #3a6140;
  --gray: #6B6560;
  --gray-light: #A09A94;
  --white: #FFFFFF;
  --black: #1A1A1A;
  --shadow: 0 2px 20px rgba(0,0,0,0.06);
  --radius: 4px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--gray);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--black);
  font-weight: 600;
  line-height: 1.25;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: var(--green);
  padding: 0.8rem 0;
  box-shadow: 0 2px 30px rgba(0,0,0,0.15);
}

.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}

.nav-links a,
.nav-dropdown-toggle {
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
}

.nav-links > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width var(--transition);
}

.nav-links > a:hover::after,
.nav-links > a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

/* Dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
}

.dropdown-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid rgba(255,255,255,0.85);
  margin-left: 2px;
  transition: transform var(--transition);
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  min-width: 220px;
  padding: 0.8rem 0;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  margin-top: 0.8rem;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 1.5rem;
  color: var(--gray);
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0;
}

.nav-dropdown-menu a::after { display: none; }

.nav-dropdown-menu a:hover {
  color: var(--green);
  background: var(--bg);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  display: block;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #C0B8A8;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 2rem;
}

.hero h1 { color: var(--white); margin-bottom: 1.2rem; }

.hero p {
  color: rgba(255,255,255,0.85);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  margin-bottom: 2rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.hero-page { min-height: 50vh; }
.hero-page .hero-content { padding-top: 5rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: var(--radius);
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(44,74,46,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

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

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

.btn-white:hover {
  background: var(--bg);
  transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
.section { padding: 6rem 0; }

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 4rem;
}

.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--gray); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.8rem;
}

/* ===== SERVICE CARDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}

.service-card-img {
  width: 100%;
  height: 220px;
  background: #C0B8A8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.85rem;
}

.service-card-body { padding: 1.8rem; }
.service-card-body h3 { margin-bottom: 0.8rem; }

.service-card-body p {
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.service-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card-link:hover { gap: 10px; }
.service-card-link::after { content: '\2192'; }

/* ===== WHY / COLUMNS ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  text-align: center;
}

.why-item .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-item .icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--white);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-item h3 { margin-bottom: 0.8rem; }
.why-item p { font-size: 0.95rem; }

/* ===== PROCESS STEPS ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.process-step {
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 2px solid var(--green);
  border-radius: 50%;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--green);
  margin-bottom: 1.5rem;
}

.process-step h3 { margin-bottom: 0.8rem; }

/* Full Process List */
.process-list { max-width: 800px; margin: 0 auto; }

.process-list-item {
  display: flex;
  gap: 2rem;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(107,101,96,0.15);
}

.process-list-item:last-child { border-bottom: none; }

.process-list-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border: 2px solid var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--green);
}

.process-list-content h3 { margin-bottom: 0.6rem; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--green);
  padding: 5rem 0;
  text-align: center;
}

.cta-banner h2 { color: var(--white); margin-bottom: 1.5rem; }

.cta-banner p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== IMAGE GRID ===== */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.image-placeholder {
  background: #C0B8A8;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.85rem;
}

/* ===== CAPABILITIES ===== */
.capabilities { margin-bottom: 4rem; }
.capabilities h2 { margin-bottom: 2rem; }

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
}

.capability-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-weight: 500;
  color: var(--black);
  font-size: 0.95rem;
}

.capability-item::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== SERVICE PAGE OVERVIEW ===== */
.service-overview { max-width: 750px; margin-bottom: 3rem; }

.service-overview p {
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ===== FULL SERVICE LIST (estate caretaking / commercial) ===== */
.service-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.service-list-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.service-list-item:hover {
  transform: translateY(-3px);
}

.service-list-icon {
  width: 44px;
  height: 44px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-list-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-list-text h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.2rem;
}

.service-list-text p {
  font-size: 0.88rem;
  margin-bottom: 0;
  color: var(--gray);
}

/* ===== PORTFOLIO ===== */
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  background: var(--white);
  border: 1px solid rgba(107,101,96,0.2);
  border-radius: 30px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray);
  cursor: pointer;
  transition: all var(--transition);
}

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

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition);
}

.portfolio-card:hover { transform: translateY(-4px); }
.portfolio-card .image-placeholder { aspect-ratio: 1; }

.portfolio-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--green);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 30px;
}

/* ===== ABOUT ===== */
.mission {
  max-width: 750px;
  margin: 0 auto 4rem;
  text-align: center;
}

.mission p {
  font-size: 1.15rem;
  line-height: 1.9;
  font-style: italic;
  color: var(--black);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.team-card { text-align: center; }

.team-card .image-placeholder {
  aspect-ratio: 1;
  border-radius: 50%;
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
}

.team-card h3 { margin-bottom: 0.3rem; }
.team-card p { font-size: 0.9rem; color: var(--gray-light); }

.area-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 800px;
  margin: 2rem auto 0;
}

.area-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  color: var(--black);
}

.area-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: start;
}

.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(107,101,96,0.2);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--black);
  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);
}

.form-group textarea { min-height: 150px; resize: vertical; }

.form-group .error-msg {
  color: #c0392b;
  font-size: 0.8rem;
  margin-top: 0.3rem;
  display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #c0392b;
}

.form-group.error .error-msg { display: block; }

.contact-info h3 { margin-bottom: 1.5rem; }
.contact-detail { margin-bottom: 1.5rem; }

.contact-detail h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.3rem;
}

.contact-detail p { font-size: 0.95rem; }

.response-note {
  margin-top: 2rem;
  padding: 1.2rem;
  background: var(--white);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-style: italic;
}

/* ===== LOCATION PAGES ===== */
.location-content { max-width: 800px; margin: 0 auto; }

.location-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.location-content p {
  font-size: 1.02rem;
  line-height: 1.8;
}

/* ===== FAQ ===== */
.faq-section { margin-top: 4rem; }

.faq-item {
  border-bottom: 1px solid rgba(107,101,96,0.15);
  padding: 1.8rem 0;
}

.faq-item:first-child {
  border-top: 1px solid rgba(107,101,96,0.15);
}

.faq-question {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--black);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--green);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-question::after { content: '\2212'; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-top: 1rem;
}

/* ===== BEYOND SECTION ===== */
.beyond-section {
  background: var(--white);
  text-align: center;
}

.beyond-section p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ===== TWO-COLUMN SERVICE SECTIONS (housekeeping) ===== */
.dual-service { margin-bottom: 4rem; }
.dual-service h2 { margin-bottom: 1.5rem; }

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.6);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

.footer-brand p { font-size: 0.9rem; line-height: 1.7; }

.footer-nav h4,
.footer-contact h4 {
  font-family: 'Inter', sans-serif;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer-nav a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  transition: color var(--transition);
}

.footer-nav a:hover { color: var(--white); }
.footer-contact p { font-size: 0.9rem; margin-bottom: 0.4rem; }

.footer-statewide {
  margin-top: 1rem;
  font-size: 0.82rem;
  font-style: italic;
  color: rgba(255,255,255,0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
}

/* ===== MOBILE NAV OVERLAY ===== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.nav-overlay.active { opacity: 1; visibility: visible; }

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: var(--green);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 5rem 2.5rem 2rem;
    gap: 1rem;
    transition: right var(--transition);
    overflow-y: auto;
  }

  .nav-links.open { right: 0; }

  .nav-links a,
  .nav-dropdown-toggle {
    font-size: 0.95rem;
  }

  .hamburger { display: flex; }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-top: 0.5rem;
    opacity: 1;
    visibility: visible;
    display: none;
  }

  .nav-dropdown.open .nav-dropdown-menu { display: block; }

  .nav-dropdown-menu a {
    color: rgba(255,255,255,0.7);
    padding: 0.4rem 1rem;
  }

  .nav-dropdown-menu a:hover {
    color: var(--white);
    background: transparent;
  }

  .section { padding: 4rem 0; }
  .hero-page { min-height: 40vh; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .process-list-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .image-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .service-list-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .team-grid { grid-template-columns: 1fr; }
}
