/* ============================================
   JulsPrint Enterprises - Design System v5
   GreenCare-Inspired · Clean Corporate · Photo-Led
   ============================================ */

/* --- Design Tokens --- */
:root {
  --brand-green: #4CAF50;
  --brand-green-dark: #388E3C;
  --brand-green-light: rgba(76, 175, 80, 0.1);
  --brand-green-muted: rgba(76, 175, 80, 0.2);
  --brand-accent: #8BC34A;
  --brand-dark: #0B1D12;
  --brand-charcoal: #4A4A4A;
  --brand-gray: #9CA3AF;
  --brand-gray-light: #E5E7EB;
  --brand-light: #FFFFFF;
  --brand-card: #F8FAF8;
  --brand-white: #FFFFFF;
  --brand-page-bg: #E8F5E9;
  --wa-green: #25D366;
  --font-family: 'Plus Jakarta Sans', sans-serif;

  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-pill: 9999px;

  --section-pad: clamp(4rem, 8vw, 7rem);
  --content-max: 1200px;
  --body-max: 65ch;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-weight: 400;
  color: var(--brand-charcoal);
  background-color: var(--brand-page-bg);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { color: var(--brand-dark); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.125rem, 1.8vw, 1.375rem); font-weight: 600; }
p { max-width: var(--body-max); }

.text-green { color: var(--brand-green); }
.text-dark { color: var(--brand-dark); }
.text-muted { color: var(--brand-gray); }
.text-white { color: var(--brand-white); }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
.section-alt { background-color: var(--brand-card); }
.section-dark { background-color: var(--brand-dark); color: rgba(255,255,255,0.7); }
.section-dark h2, .section-dark h3 { color: var(--brand-white); }

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  width: 0%; height: 3px;
  background: var(--brand-green);
  z-index: 200;
  transition: width 0.1s linear;
}

/* --- Navbar --- */
.navbar {
  position: relative; top: 0; left: 0; transform: none;
  width: 100%; max-width: 100%; border-radius: 0;
  background: var(--brand-white);
  border: none; border-bottom: 1px solid var(--brand-gray-light);
  padding: 0.75rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  z-index: 100;
}

.nav-logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 1.125rem; color: var(--brand-dark);
}
.nav-logo img { height: 40px; width: auto; max-width: 160px; object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500;
  color: var(--brand-charcoal); transition: color 0.2s ease; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--brand-green);
  transition: width 0.25s ease;
}
.nav-links a:hover { color: var(--brand-dark); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--brand-green); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--brand-green); color: var(--brand-white) !important;
  padding: 0.5rem 1.25rem; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 0.875rem;
  transition: background 0.2s ease, transform 0.15s ease;
}
.nav-cta:hover { background: var(--brand-green-dark); }
.nav-cta:active { transform: scale(0.97); }
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--brand-dark);
  border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile {
  display: none; position: fixed; top: 0; left: 0;
  width: 100%; height: 100dvh;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  z-index: 99; flex-direction: column; align-items: center; justify-content: center;
  gap: 2rem; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.nav-mobile.open { display: flex; opacity: 1; pointer-events: all; }
.nav-mobile a {
  font-size: 1.5rem; font-weight: 600; color: var(--brand-dark);
  transition: color 0.2s ease;
}
.nav-mobile a:hover { color: var(--brand-green); }

@media (max-width: 768px) {
  .navbar {
    position: relative; top: 0; left: 0; right: 0;
    background: var(--brand-white);
    border: none; border-bottom: 1px solid var(--brand-gray-light);
  }
  .nav-toggle span { background: var(--brand-dark); }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-family); font-weight: 600; font-size: 0.9375rem;
  padding: 0.75rem 1.75rem; border-radius: var(--radius-btn); border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.btn:active { transform: scale(0.97); }

.btn-primary { background: var(--brand-green); color: var(--brand-white); }
.btn-primary:hover { background: var(--brand-green-dark); box-shadow: 0 4px 16px rgba(76, 175, 80, 0.3); }

.btn-accent { background: var(--brand-accent); color: var(--brand-dark); }
.btn-accent:hover { background: #7CB342; box-shadow: 0 4px 16px rgba(139, 195, 74, 0.3); }

.btn-outline { background: transparent; color: var(--brand-dark); border: 1.5px solid var(--brand-gray-light); }
.btn-outline:hover { background: var(--brand-dark); color: var(--brand-white); border-color: var(--brand-dark); }

.btn-white { background: var(--brand-white); color: var(--brand-dark); }
.btn-white:hover { background: rgba(255, 255, 255, 0.9); }

.btn-whatsapp { background: var(--wa-green); color: var(--brand-white); }
.btn-whatsapp:hover { background: #20bd5a; box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3); }

.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-arrow::after { content: '\2192'; transition: transform 0.2s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }

/* --- Hero with Video Background --- */
.hero-gif {
  position: relative;
  height: 100vh; height: 100dvh;
  display: flex; align-items: center;
  padding-top: 0; padding-bottom: 0; overflow: hidden;
}
.hero-gif-bg { position: absolute; inset: 0; z-index: 0; }
.hero-gif-bg video {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero-gif-bg img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero-gif-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,29,18,0.92) 0%, rgba(11,29,18,0.7) 40%, rgba(11,29,18,0.3) 70%, rgba(11,29,18,0.1) 100%);
}
.hero-gif-content { position: relative; z-index: 1; max-width: 560px; }
.hero-gif-content h1 { color: var(--brand-white); margin-bottom: 1.5rem; }
.hero-gif-content h1 .accent { color: var(--brand-accent); }
.hero-gif-content p {
  color: rgba(255, 255, 255, 0.8); font-size: 1.0625rem;
  line-height: 1.7; margin-bottom: 2rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(76, 175, 80, 0.2);
  border: 1px solid rgba(76, 175, 80, 0.3);
  color: var(--brand-accent);
  padding: 0.375rem 1rem; border-radius: var(--radius-pill);
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}

.hero-word {
  display: inline-block; opacity: 0; transform: translateY(40px);
  animation: wordDrop 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes wordDrop { to { opacity: 1; transform: translateY(0); } }
.hero-word:nth-child(1) { animation-delay: 0.1s; }
.hero-word:nth-child(2) { animation-delay: 0.2s; }
.hero-word:nth-child(3) { animation-delay: 0.3s; }
.hero-word:nth-child(4) { animation-delay: 0.4s; }
.hero-word:nth-child(5) { animation-delay: 0.5s; }
.hero-word:nth-child(6) { animation-delay: 0.6s; }
.hero-word:nth-child(7) { animation-delay: 0.7s; }
.hero-word:nth-child(8) { animation-delay: 0.8s; }
.hero-word:nth-child(9) { animation-delay: 0.9s; }

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 768px) {
  .hero-gif {
    height: 50vh; height: 50dvh;
    min-height: 300px;
  }
  .hero-gif .hero-gif-content { display: none; }
  .hero-gif-bg::after { background: transparent; }
  .hero-gif-bg video { object-position: center bottom; }
  .hero-gif-bg img { object-position: center bottom; }
}

/* --- Mobile Hero Content --- */
.hero-mobile-content { display: none; }
@media (max-width: 768px) {
  .hero-mobile-content {
    display: block; background: var(--brand-light); padding: 2.5rem 1.5rem 2rem;
  }
  .hero-mobile-content h1 { font-size: clamp(1.75rem, 7vw, 2.5rem); margin-bottom: 1rem; }
  .hero-mobile-content p {
    color: var(--brand-charcoal); font-size: 1rem; line-height: 1.7; margin-bottom: 1.5rem;
  }
  .hero-mobile-content .hero-ctas { flex-direction: column; }
  .hero-mobile-content .hero-ctas .btn { justify-content: center; width: 100%; }
}

/* --- Floating Services Card --- */
.floating-services {
  position: relative; z-index: 10;
  background: var(--brand-white);
  border-radius: var(--radius-card);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  padding: 2.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-item {
  text-align: center; padding: 1.25rem 0.5rem;
  border-radius: var(--radius-btn);
  transition: background 0.2s ease;
}
.service-item:hover { background: var(--brand-green-light); }

.service-icon {
  width: 56px; height: 56px;
  background: var(--brand-green-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.service-icon svg { width: 28px; height: 28px; color: var(--brand-green); }

.service-item h4 {
  font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.375rem;
}
.service-item p {
  font-size: 0.8125rem; color: var(--brand-gray); line-height: 1.5;
  max-width: 200px; margin: 0 auto;
}

@media (max-width: 768px) {
  .floating-services { padding: 1.5rem; }
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
  .service-item { padding: 0.75rem 0.25rem; }
  .service-icon { width: 44px; height: 44px; margin-bottom: 0.75rem; }
  .service-icon svg { width: 22px; height: 22px; }
  .service-item h4 { font-size: 0.8125rem; margin-bottom: 0.25rem; }
  .service-item p { font-size: 0.75rem; }
}

/* --- Two-Panel (About + Stats) --- */
.two-panel {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.two-panel-text h2 { margin-bottom: 1.25rem; }
.two-panel-text > p { margin-bottom: 1rem; line-height: 1.8; }

.check-list { list-style: none; margin-top: 1.5rem; }
.check-list li {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.5rem 0; font-size: 0.9375rem; font-weight: 500;
  color: var(--brand-dark);
}
.check-list li::before {
  content: '';
  flex-shrink: 0; width: 22px; height: 22px;
  background: var(--brand-green); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.stats-dark-card {
  background: var(--brand-dark);
  border-radius: var(--radius-card);
  padding: 2.5rem;
}
.stats-dark-card .stats-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.stats-dark-card .stat-item { text-align: center; }
.stats-dark-card .stat-icon {
  margin-bottom: 0.75rem;
}
.stats-dark-card .stat-icon svg {
  width: 28px; height: 28px; color: var(--brand-green);
}
.stats-dark-card .stat-value {
  font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800;
  color: var(--brand-white); line-height: 1; margin-bottom: 0.25rem;
}
.stats-dark-card .stat-label {
  font-size: 0.8125rem; color: rgba(255,255,255,0.5); font-weight: 500;
}

@media (max-width: 768px) {
  .two-panel { grid-template-columns: 1fr; gap: 2rem; }
  .stats-dark-card .stats-grid { gap: 1.5rem; }
}

/* --- Services Hero Image --- */
.services-hero-image {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}
.services-hero-image img {
  width: 100%; height: auto; display: block;
}
@media (max-width: 480px) {
  .service-img-grid { grid-template-columns: 1fr; }
}

/* --- Emergency Dark Section --- */
.emergency-dark {
  background: var(--brand-dark);
  color: rgba(255,255,255,0.7);
}
.emergency-dark h2, .emergency-dark h3 { color: var(--brand-white); }

.emergency-dark-grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 4rem; align-items: center;
}
.emergency-dark-text h2 { margin-bottom: 1rem; }
.emergency-dark-text > p { margin-bottom: 2rem; line-height: 1.8; }

.emergency-steps {
  list-style: none; counter-reset: step;
}
.emergency-steps li {
  counter-increment: step; display: flex; gap: 1rem;
  align-items: flex-start; margin-bottom: 1.25rem;
}
.emergency-steps li::before {
  content: counter(step);
  flex-shrink: 0; width: 32px; height: 32px;
  background: var(--brand-green); color: var(--brand-white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; font-weight: 700;
}
.emergency-steps li strong { color: var(--brand-white); display: block; margin-bottom: 0.15rem; }
.emergency-steps li span { font-size: 0.9375rem; color: rgba(255,255,255,0.6); }

.emergency-cta-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-card); padding: 2.5rem; text-align: center;
}
.emergency-cta-card h3 { margin-bottom: 0.5rem; }
.emergency-cta-card > p { color: rgba(255,255,255,0.5); font-size: 0.9375rem; margin-bottom: 1.5rem; }
.emergency-cta-card .btn { width: 100%; justify-content: center; margin-bottom: 0.75rem; }
.emergency-cta-card .btn:last-child { margin-bottom: 0; }

.emergency-phones {
  margin-top: 1.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.emergency-phones a {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  color: rgba(255,255,255,0.6); font-size: 0.9375rem; margin-bottom: 0.5rem;
}
.emergency-phones a:last-child { margin-bottom: 0; }
.emergency-phones svg { width: 18px; height: 18px; color: var(--brand-green); }

@media (max-width: 768px) {
  .emergency-dark-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* --- Team Horizontal Scroll --- */
.team-scroll-wrapper {
  overflow: hidden; margin: 0 -1.5rem;
  padding: 0 1.5rem;
}
.team-scroll {
  display: flex; gap: 1.25rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--brand-green) var(--brand-gray-light);
}
.team-scroll::-webkit-scrollbar { height: 6px; }
.team-scroll::-webkit-scrollbar-track { background: var(--brand-gray-light); border-radius: 3px; }
.team-scroll::-webkit-scrollbar-thumb { background: var(--brand-green); border-radius: 3px; }

.team-scroll-item {
  flex: 0 0 320px; scroll-snap-align: start;
  border-radius: var(--radius-card); overflow: hidden;
  aspect-ratio: 4/3; position: relative;
}
.team-scroll-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.team-scroll-item:hover img { transform: scale(1.05); }

@media (max-width: 768px) {
  .team-scroll-item { flex: 0 0 280px; }
}
@media (max-width: 480px) {
  .team-scroll-item { flex: 0 0 260px; }
}

/* --- Gallery Grid (Past Projects) --- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative; border-radius: var(--radius-card);
  overflow: hidden; cursor: pointer; aspect-ratio: 4/3;
}
.gallery-item img, .gallery-item video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img, .gallery-item:hover video { transform: scale(1.05); }

.gallery-item-overlay {
  position: absolute; inset: 0;
  background: rgba(11, 29, 18, 0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay svg {
  width: 40px; height: 40px; color: var(--brand-white);
}

.gallery-item.gallery-video .gallery-item-overlay {
  background: rgba(11, 29, 18, 0.4);
}
.gallery-item.gallery-video .gallery-item-overlay svg {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  padding: 14px;
}

@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
}

/* --- Lightbox Modal --- */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s ease;
}
.lightbox.active {
  display: flex; opacity: 1;
}
.lightbox-content {
  max-width: 90vw; max-height: 85vh;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-content img, .lightbox-content video {
  max-width: 100%; max-height: 85vh;
  border-radius: var(--radius-btn);
  object-fit: contain;
}
.lightbox-content video { cursor: pointer; }

.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none; color: var(--brand-white);
  font-size: 2.5rem; cursor: pointer; line-height: 1;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,0.1); }

.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.1); border: none;
  color: var(--brand-white); font-size: 2rem;
  width: 56px; height: 56px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.2); }

@media (max-width: 768px) {
  .lightbox-prev, .lightbox-next { display: none; }
  .lightbox-close { top: 1rem; right: 1rem; }
}

/* --- Clients Strip --- */
.clients-section { text-align: center; }
.clients-strip {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0;
}
.client-name {
  font-size: 1rem; font-weight: 600; color: var(--brand-dark);
  padding: 1rem 1.5rem;
  border-right: 1px solid var(--brand-gray-light);
}
.client-name:last-child { border-right: none; }
.client-name:hover { color: var(--brand-green); }

.clients-note {
  font-size: 0.9375rem; color: var(--brand-gray); font-style: italic;
  max-width: 500px; margin: 1.5rem auto 0;
}

@media (max-width: 768px) {
  .clients-strip { gap: 0; }
  .client-name {
    font-size: 0.875rem; padding: 0.75rem 1rem;
    border-right: none; border-bottom: 1px solid var(--brand-gray-light);
    width: 50%;
  }
}

/* --- Community (Full-Width Photo with Overlay) --- */
.community-hero {
  position: relative; border-radius: var(--radius-card);
  overflow: hidden; min-height: 400px;
  display: flex; align-items: center;
}
.community-hero-bg {
  position: absolute; inset: 0;
}
.community-hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.community-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(11,29,18,0.9) 0%, rgba(11,29,18,0.6) 50%, transparent 100%);
}
.community-hero-content {
  position: relative; z-index: 1;
  max-width: 480px; padding: 3rem;
}
.community-hero-content .section-tag { color: var(--brand-accent); }
.community-hero-content h2 { color: var(--brand-white); margin-bottom: 1rem; }
.community-hero-content p { color: rgba(255,255,255,0.75); line-height: 1.8; }

@media (max-width: 768px) {
  .community-hero { min-height: auto; }
  .community-hero-content { padding: 2rem 1.5rem; }
  .community-hero-bg::after {
    background: linear-gradient(180deg, rgba(11,29,18,0.3) 0%, rgba(11,29,18,0.85) 100%);
  }
}

/* --- Contact Info Grid --- */
.contact-info-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
}
.contact-info-text h2 { margin-bottom: 1rem; }
.contact-info-text > p { margin-bottom: 2rem; line-height: 1.8; }

.contact-details { list-style: none; }
.contact-details li {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--brand-gray-light);
}
.contact-details li:last-child { border-bottom: none; }
.contact-details svg {
  width: 20px; height: 20px; flex-shrink: 0;
  margin-top: 2px; color: var(--brand-green);
}
.contact-details strong {
  display: block; font-size: 0.8125rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--brand-gray); margin-bottom: 0.25rem;
}
.contact-details span {
  font-size: 0.9375rem; color: var(--brand-dark);
}
.contact-details a {
  color: var(--brand-dark); transition: color 0.2s ease;
}
.contact-details a:hover { color: var(--brand-green); }

.contact-card-side {
  background: var(--brand-card);
  border: 1px solid var(--brand-gray-light);
  border-radius: var(--radius-card);
  padding: 2rem;
}
.contact-card-side h3 { font-size: 1.125rem; margin-bottom: 1.25rem; }

@media (max-width: 768px) {
  .contact-info-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* --- FAQ Accordion --- */
.faq-list { max-width: 768px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--brand-gray-light);
}
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 0; font-family: var(--font-family);
  font-size: 1rem; font-weight: 600; color: var(--brand-dark);
  text-align: left; gap: 1rem;
  transition: color 0.2s ease;
}
.faq-question:hover { color: var(--brand-green); }
.faq-question svg {
  width: 20px; height: 20px; flex-shrink: 0;
  color: var(--brand-gray);
  transition: transform 0.3s ease, color 0.3s ease;
}
.faq-item.open .faq-question svg {
  transform: rotate(45deg); color: var(--brand-green);
}

.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-answer-inner {
  padding-bottom: 1.25rem;
  font-size: 0.9375rem; color: var(--brand-charcoal); line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 300px;
}

/* --- CTA Band --- */
.cta-band {
  background: var(--brand-dark);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.cta-band-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}
.cta-band-text h2 { color: var(--brand-white); margin-bottom: 0.5rem; }
.cta-band-text p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem; margin-bottom: 0;
}
.cta-band-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  background: rgba(76, 175, 80, 0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.cta-band-icon svg { width: 28px; height: 28px; color: var(--brand-green); }

@media (max-width: 768px) {
  .cta-band-inner { flex-direction: column; text-align: center; }
}

/* --- Forms --- */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block; font-size: 0.875rem; font-weight: 600;
  color: var(--brand-dark); margin-bottom: 0.375rem;
}
.form-input, .form-textarea {
  width: 100%; padding: 0.75rem 1rem;
  font-family: var(--font-family); font-size: 0.9375rem;
  color: var(--brand-dark); background: #FFFFFF;
  border: 1.5px solid var(--brand-gray-light);
  border-radius: var(--radius-btn);
  transition: border-color 0.2s ease, box-shadow 0.2s ease; outline: none;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
}
.form-input::placeholder, .form-textarea::placeholder { color: #999; }
.form-textarea { resize: vertical; min-height: 120px; }

.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
}

/* --- Contact Info Cards (for services/contact pages) --- */
.contact-card-green {
  background: var(--brand-green);
  border-radius: var(--radius-card); padding: 1.75rem; margin-bottom: 1.5rem;
}
.contact-card {
  background: var(--brand-white);
  border: 1px solid var(--brand-gray-light);
  border-radius: var(--radius-card); padding: 1.75rem; margin-bottom: 1.5rem;
}
.contact-card h3 { font-size: 1.125rem; margin-bottom: 1rem; }
.contact-card-link {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.9375rem; color: var(--brand-charcoal);
  margin-bottom: 0.75rem;
}
.contact-card-link:last-child { margin-bottom: 0; }
.contact-card-link svg {
  width: 20px; height: 20px; flex-shrink: 0;
  color: var(--brand-green);
}

/* --- WhatsApp Sticky --- */
.whatsapp-sticky {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 90;
  width: 60px; height: 60px;
  background: var(--wa-green); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: whatsappPulse 2s ease-in-out infinite;
}
.whatsapp-sticky:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(37, 211, 102, 0.5);
}
.whatsapp-sticky svg { width: 30px; height: 30px; fill: white; }

@keyframes whatsappPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@media (max-width: 768px) {
  .whatsapp-sticky { bottom: 1.5rem; right: 1.5rem; width: 56px; height: 56px; }
  .whatsapp-sticky svg { width: 26px; height: 26px; }
}

/* --- Footer --- */
.footer {
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand img { height: 28px; width: auto; max-width: 130px; object-fit: contain; }
.footer-brand p {
  margin-top: 0.75rem; font-size: 0.875rem;
  line-height: 1.7; max-width: 300px;
}

.footer h4 {
  color: var(--brand-white); font-size: 0.875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem;
}
.footer ul li { margin-bottom: 0.5rem; }
.footer ul a {
  font-size: 0.875rem; color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}
.footer ul a:hover { color: var(--brand-white); }

.footer-contact-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  margin-bottom: 0.75rem; font-size: 0.875rem;
}
.footer-contact-item svg {
  width: 18px; height: 18px; flex-shrink: 0;
  margin-top: 2px; color: var(--brand-green);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8125rem;
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.4); transition: color 0.2s ease;
}
.footer-bottom a:hover { color: var(--brand-white); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.stagger-children .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.06s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.12s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.18s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.24s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.3s; }

/* --- Utilities --- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }

/* --- Contact Form Grid --- */
.contact-form-grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 4rem; align-items: start;
}
@media (max-width: 768px) {
  .contact-form-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .service-img-card:hover { transform: none; }
  .hero-word { opacity: 1; transform: none; animation: none; }
  .whatsapp-sticky { animation: none; }
  html { scroll-behavior: auto; }
}
