/* Shared refinements and the new homepage. */
:root { --radius-xl: 16px; --shadow-xl: 0 8px 24px rgba(30,43,88,.08); }
.site-header { background: #fff; box-shadow: 0 1px 0 #e2e8f0; }
.card, .service-card-media, .testimonial-card, .contact-form-card { box-shadow: none; }
.page-hero { padding-block: clamp(2.5rem,5vw,4rem); }
.home-redesign { background: #fff; }
.home-hero { padding: 4.5rem 0 4rem; background: #f5f7fb; }
.home-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.home-hero h1 { font-size: clamp(2.5rem,4.4vw,4.1rem); line-height: 1.08; letter-spacing: -.05em; color: #1e2b58; margin: 1rem 0 1.5rem; }
.home-hero h1 span { color: #4156a7; }
.home-intro { font-size: 1.12rem; line-height: 1.75; max-width: 44ch; margin-bottom: 1.75rem; }
.home-hero .btn { gap: 2rem; }
.hero-note { margin: 1.3rem 0 0; font-size: .8rem; color: #536178; }
.home-hero-photo { margin: 0; position: relative; min-width: 0; overflow: hidden; border-radius: 12px; }
.home-hero-photo img { width: 100%; height: 490px; object-fit: cover; object-position: 58% center; }
.home-hero-photo figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: 4rem 2rem 2rem; background: linear-gradient(transparent,rgba(15,28,60,.94)); color: white; }
.home-hero-photo figcaption span { display: block; font-size: .68rem; letter-spacing: .14em; margin-bottom: .6rem; }
.home-hero-photo figcaption strong { font-size: 1.4rem; line-height: 1.35; }
.home-proof { padding: 1.6rem 0 1.9rem; border-bottom: 1px solid #e2e8f0; }
.proof-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: center; font-size: .8rem; }
.proof-heading p { margin: 0; color: #536178; }
.proof-heading a { font-weight: 600; }
.home-client-logos { display: grid; grid-template-columns: repeat(4,1fr); align-items: center; justify-items: center; gap: 1.5rem; margin-top: .8rem; }
.home-client-logos img { width: 130px; height: 78px; object-fit: contain; }
.client-wordmark { text-align: center; color: #334155; font-weight: 750; font-size: 1.35rem; letter-spacing: -.035em; }
.client-wordmark span { display: block; font-size: .65rem; font-weight: 500; letter-spacing: .025em; }
.home-section-heading { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: end; margin-bottom: 2.5rem; }
.home-section-heading p { margin: 0; max-width: 43ch; }
.home-redesign h2 { color: #1e2b58; letter-spacing: -.035em; font-size: clamp(1.8rem,3vw,2.6rem); }
.home-service-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.5rem; }
.home-service { display: block; color: inherit; }
.home-service-photo { border-radius: 8px; overflow: hidden; margin-bottom: 1.3rem; }
.home-service-photo img { width: 100%; height: 190px; object-fit: cover; transition: transform 200ms ease; }
.home-service:hover img { transform: scale(1.035); }
.home-service-title { display: flex; align-items: baseline; gap: .55rem; margin-bottom: .6rem; }
.home-service-title h3 { font-size: 1.05rem; letter-spacing: -.025em; flex: 1; }
.home-service-title span { font-size: .76rem; color: #4156a7; }
.home-service p { font-size: .9rem; line-height: 1.65; color: #536178; }
.home-services-footer { border-top: 1px solid #e2e8f0; margin-top: 2rem; padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; }
.home-services-footer p { font-size: .85rem; margin: 0; }
.text-link { font-weight: 700; font-size: .9rem; text-decoration: underline; text-underline-offset: 5px; }
.home-services-footer .text-link { flex-shrink: 0; }
.home-approach { background: #f5f7fb; }
.home-approach-grid, .home-quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.home-approach h2 { margin-bottom: 1.3rem; }
.home-approach p { max-width: 43ch; }
.home-steps { list-style: none; }
.home-steps li { display: flex; gap: 1.5rem; padding: 1.4rem 0; border-bottom: 1px solid #dce2ec; }
.home-steps li:first-child { padding-top: 0; }
.home-steps li > span { color: #4156a7; font-size: .8rem; font-weight: 700; padding-top: .3rem; }
.home-steps h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.home-steps p { font-size: .95rem; margin: 0; }
.home-quote h2 { margin-bottom: 1.5rem; }
.home-quote figure { margin: 0; border-left: 3px solid #4156a7; padding-left: 2rem; }
.home-quote blockquote { font-size: 1.45rem; line-height: 1.6; color: #1e2b58; letter-spacing: -.02em; }
.home-quote figcaption { margin-top: 1.5rem; font-size: .85rem; }
.home-quote figcaption span { display: block; color: #64748b; }
.home-final-cta { background: #1e2b58; padding: 3.5rem 0; }
.home-final-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.home-final-cta .eyebrow { color: #c7d2fe; }
.home-final-cta h2 { color: white; margin-bottom: 1rem; }
.home-final-cta p { color: #d4dced; margin: 0; }
.home-final-cta .btn { background: white; color: #1e2b58; gap: 1rem; flex-shrink: 0; }
.form-privacy { font-size: .85rem; color: #536178; margin-top: 1.25rem; }
.mobile-nav-drawer[inert] { visibility: hidden; }
.gallery-item { cursor: pointer; text-align: left; width: 100%; }
.floating-whatsapp-wrapper { z-index: 60; }
@media (max-width: 1100px) { .home-hero-grid { gap: 2rem; } .home-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .home-service-photo img { height: 230px; } }
@media (max-width: 760px) {
 .home-hero { padding: 2.5rem 0; } .home-hero-grid, .home-section-heading, .home-approach-grid, .home-quote-grid { grid-template-columns: 1fr; gap: 2rem; }
 .home-hero-photo img { height: 320px; } .home-hero h1 { font-size: clamp(2.35rem,7.5vw,3.4rem); }
 .home-services-footer, .home-final-cta .container { flex-direction: column; align-items: flex-start; }
 .home-redesign .section-padding { padding: 3rem 0; } .home-quote blockquote { font-size: 1.25rem; }
 .home-client-logos { gap: 1rem; grid-template-columns: repeat(2,1fr); }
 .proof-heading { align-items: flex-start; } .proof-heading a { flex-shrink: 0; }
}
@media (max-width: 480px) {
 .home-service-grid { grid-template-columns: 1fr; gap: 2rem; } .home-service-photo img { height: 210px; }
 .home-hero-photo img { height: 280px; } .home-hero-photo figcaption { padding: 3rem 1.25rem 1.25rem; }
 .home-hero-photo figcaption strong { font-size: 1.15rem; } .home-final-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.reference-section { background: #f5f7fb; }
.reference-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; }
.reference-card { background: #fff; border: 1px solid #e2e8f0; border-top: 3px solid #4156a7; border-radius: 9px; padding: 1.7rem; }
.reference-card > span { color: #4156a7; font-size: .69rem; letter-spacing: .1em; font-weight: 800; }
.reference-card h3 { margin: .8rem 0; font-size: 1.15rem; color: #1e2b58; }
.reference-card p { font-size: .91rem; line-height: 1.65; }
.reference-card small { font-size: .77rem; color: #64748b; }
@media (max-width: 760px) { .reference-grid { grid-template-columns: 1fr; } }


/* Sharp, scalable rendition of the client-supplied mark for compact placements. */
.site-logo img { width: 230px; height: auto; max-width: none; }
.mobile-drawer-logo img { width: 190px; height: auto; max-width: none; }
.footer-brand img { width: 240px; height: auto; filter: brightness(0) invert(1); }
@media (max-width: 1200px) { .site-logo img { width: 190px; height: auto; max-width: none; } }
@media (max-width: 640px) { .site-logo img { width: 165px; height: auto; max-width: none; } }
.map-open-link { max-width: none; margin: 1rem 0 0; text-align: center; font-weight: 700; }

/* Preserve the full photograph, including wide teams and portrait projects. */
.service-card-img-wrapper { height: auto; aspect-ratio: 3 / 2; background: #eef1f5; }
.service-card-img-wrapper picture { display: block; width: 100%; height: 100%; }
.service-card-img-wrapper img { display: block; object-fit: contain; }
.service-card-media:hover .service-card-img-wrapper img { transform: none; }
.service-card-content .service-card-badge { position: static; align-self: flex-start; display: inline-block; margin-bottom: 1rem; }
.service-detail-picture { display: block; background: #eef1f5; }
.service-detail-photo { display: block; width: 100%; height: auto; max-height: 520px; object-fit: contain; }
.service-hero { background: linear-gradient(110deg, #1e2b58, #4156a7); }
.sanitation-section { background: #f5f7fb; scroll-margin-top: 100px; }
.sanitation-section h3 { margin-bottom: 1rem; }
.sanitation-section p + p { margin-top: 1rem; }
.sanitation-section .btn { margin-top: 1.5rem; }
.home-service-photo { aspect-ratio: 3 / 2; background: #eef1f5; }
.home-service-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-service:hover img { transform: none; }
.home-hero-photo img { height: auto; aspect-ratio: 1376 / 768; object-fit: contain; }
.home-hero-photo figcaption { position: static; padding: 1.5rem 2rem; background: #1e2b58; }
.gallery-item { height: auto; aspect-ratio: 4 / 3; background: #eef1f5; }
.gallery-item picture { display: block; width: 100%; height: 100%; }
.gallery-item img { display: block; object-fit: contain; }
.gallery-item:hover img { transform: none; }

.about-photo { aspect-ratio: 960 / 536; }

/* Fill gardening preview frames with the photo, without empty bands. */
.home-service[href="gardening.php"] .home-service-photo img,
.service-card-img-wrapper img[src*="/gardening."] {
  object-fit: cover;
  object-position: center;
}

/* Servcraft CRM & Field Service Management styles */
.servcraft-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(65, 86, 167, 0.08);
  border: 1px solid rgba(65, 86, 167, 0.22);
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 1rem;
}
.servcraft-badge svg {
  color: var(--color-primary);
  flex-shrink: 0;
}
.servcraft-callout {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.servcraft-callout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}
.servcraft-callout-header h4 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--color-primary-dark);
}
.servcraft-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.servcraft-step-card {
  background: var(--bg-page);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
}
.servcraft-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.servcraft-step-card h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--color-primary-dark);
}
.servcraft-step-card p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-body);
  margin: 0;
}
.contact-crm-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(65, 86, 167, 0.05);
  border: 1px solid rgba(65, 86, 167, 0.18);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-body);
}
.contact-crm-notice svg {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* ==========================================================================
   Interactive WhatsApp Service Selector Widget
   ========================================================================== */
.floating-whatsapp-wrapper {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.wa-widget {
  display: none;
  width: min(340px, calc(100vw - 32px));
  max-height: min(580px, 80vh);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24), 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transform: translateY(12px) scale(0.96);
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  pointer-events: none;
  flex-direction: column;
}

.wa-widget.is-open {
  display: flex;
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.wa-widget-header {
  background: linear-gradient(135deg, #075E54 0%, #128C7E 100%);
  color: #ffffff;
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  flex-shrink: 0;
}

.wa-widget-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  color: #075E54;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.wa-widget-meta {
  flex: 1;
  min-width: 0;
}

.wa-widget-name {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wa-widget-status {
  font-size: 0.74rem;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 2px;
}

.wa-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25D366;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.3);
}

.wa-widget-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  opacity: 0.8;
  transition: opacity 0.15s ease;
  border-radius: 4px;
}

.wa-widget-close:hover {
  opacity: 1;
}

.wa-widget-body {
  padding: 0.9rem;
  background: #ECE5DD url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" opacity="0.03"><path d="M0 0h60v60H0z" fill="none"/><circle cx="30" cy="30" r="10" fill="%23000"/></svg>');
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wa-chat-bubble {
  background: #ffffff;
  padding: 0.75rem 0.85rem;
  border-radius: 0 10px 10px 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  position: relative;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #111111;
}

.wa-chat-bubble p {
  margin: 0 0 0.3rem;
  font-weight: 700;
  color: #075E54;
}

.wa-chat-hint {
  font-size: 0.76rem;
  color: #555555;
  display: block;
}

.wa-services-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.wa-service-btn {
  background: #ffffff;
  border: 1px solid #d9d0c7;
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
  color: #222222;
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  width: 100%;
}

.wa-service-btn:hover, .wa-service-btn:focus-visible {
  background: #f0fdf4;
  border-color: #25D366;
  color: #075E54;
  transform: translateX(2px);
  outline: none;
}

.wa-btn-icon {
  font-size: 1.05rem;
  flex-shrink: 0;
  line-height: 1;
}

.wa-btn-text {
  flex: 1;
  line-height: 1.3;
}

.wa-btn-arrow {
  color: #25D366;
  font-size: 0.95rem;
  opacity: 0.7;
  transition: transform 0.15s ease;
}

.wa-service-btn:hover .wa-btn-arrow {
  transform: translateX(2px);
  opacity: 1;
}

.wa-widget-custom-note {
  background: #ffffff;
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  border: 1px solid #d9d0c7;
}

.wa-widget-custom-note label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
  display: block;
}

.wa-input-row {
  display: flex;
  gap: 0.4rem;
}

.wa-input-row input {
  flex: 1;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0.45rem 0.6rem;
  font-size: 0.8rem;
  font-family: inherit;
  outline: none;
}

.wa-input-row input:focus {
  border-color: #25D366;
}

.wa-send-btn {
  background: #25D366;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
  flex-shrink: 0;
}

.wa-send-btn:hover {
  background: #128C7E;
}

@media (max-width: 640px) {
  .floating-whatsapp-wrapper {
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    right: 18px;
  }
  .wa-widget {
    width: calc(100vw - 36px);
    max-height: 75vh;
    margin-bottom: 10px;
  }
}

