/* ==========================================================================
   ProjectM Agency - Pure White Clean Green Agency Stylesheet
   Designed for High Conversion, Mobile-First Responsiveness & Speed
   ========================================================================== */

/* 1. CSS Custom Properties / Variables (Light Theme with Pure White Background) */
:root {
  --primary: #059669;
  --primary-light: #10b981;
  --primary-glow: #00d984;
  --primary-dark: #047857;
  --primary-deep: #064e3b;
  --primary-soft: #ecfdf5;
  --primary-soft-hover: #d1fae5;
  --primary-border: #a7f3d0;
  --primary-border-hover: #059669;

  --bg-page: #ffffff;
  --bg-surface: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-input: #ffffff;

  --border-light: #e2e8f0;
  --border-subtle: #f1f5f9;
  --border-focus: #059669;

  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-white: #ffffff;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 4px 20px rgba(5, 150, 105, 0.25);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Ensure minimum touch targets rule */
a, button, input, select, textarea, .touch-target {
  min-height: 44px;
  min-width: 44px;
  touch-action: manipulation;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
}

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

a:hover {
  color: var(--primary-dark);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 3.75rem 0;
  }
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.section-tag .dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(5, 150, 105, 0.4);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.section-title {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  margin-bottom: 1rem;
  color: var(--text-main);
}

.text-gradient {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, #047857 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
}

/* 3. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.35);
}

.btn-outline {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.05rem;
}

/* 4. Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.navbar.scrolled {
  background: #ffffff;
  box-shadow: var(--shadow-md);
  height: 72px;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.logo-icon-svg {
  width: 36px;
  height: 36px;
}

.brand-highlight {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  position: relative;
  padding: 0.4rem 0.2rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger-btn {
  display: none;
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 0.5rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

/* 5. Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 360px;
  height: 100vh;
  background: #ffffff;
  border-left: 1px solid var(--border-light);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  transition: right var(--transition-normal);
}

.mobile-nav-drawer.active {
  right: 0;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

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

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.close-btn {
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  color: var(--text-main);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-links .nav-link {
  font-size: 1.15rem;
  font-weight: 600;
  padding: 0.5rem 0;
  width: 100%;
  color: var(--text-main);
}

.drawer-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* 6. Hero Section */
.hero-section {
  padding-top: calc(var(--header-height) + 3.5rem);
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.4rem 1.1rem;
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Ensure animated words always start and end on the exact same line */
.hero-title {
  font-size: clamp(1.75rem, 2.5vw, 2.45rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.hero-title-prefix {
  display: inline;
}

.dynamic-words {
  color: var(--primary);
  border-bottom: 3px solid var(--primary);
  display: inline-block;
  white-space: nowrap;
  vertical-align: baseline;
  padding-bottom: 2px;
  min-height: 1.2em;
}

@media (min-width: 993px) {
  .hero-title {
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .hero-title-prefix {
    display: block;
    margin-bottom: 0.25rem;
  }
  .dynamic-words {
    display: inline-block;
    white-space: nowrap;
  }
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.75rem;
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-num {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.trust-num span {
  color: var(--primary);
}

.trust-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.3rem;
}

/* Hero Visual Card */
.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-dashboard-mockup {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.w-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.w-dot:nth-child(1) { background: #ef4444; }
.w-dot:nth-child(2) { background: #f59e0b; }
.w-dot:nth-child(3) { background: #10b981; }

.mockup-status {
  font-size: 0.78rem;
  color: var(--primary);
  background: var(--primary-soft);
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.growth-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.stat-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.stat-box-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.stat-box-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 0.2rem;
}

.stat-box-trend {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 0.25rem;
}

.chart-container {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.2rem;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.chart-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.chart-badge {
  font-size: 0.72rem;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.mini-svg-chart {
  width: 100%;
  height: 90px;
}

.floating-badge {
  position: absolute;
  background: #ffffff;
  border: 1px solid var(--primary-border);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 3;
  animation: floatAnim 4s ease-in-out infinite;
}

.floating-badge-top {
  top: -15px;
  right: -15px;
}

.floating-badge-bottom {
  bottom: -20px;
  left: -20px;
  animation-delay: 2s;
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.f-icon {
  width: 36px;
  height: 36px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.f-info strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-main);
}

.f-info span {
  font-size: 0.75rem;
  color: var(--primary);
}

/* 7. Logos & Social Proof Strip */
.clients-section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-subtle);
}

.clients-heading {
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.marquee-wrapper {
  overflow: hidden;
  user-select: none;
  display: flex;
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  animation: marqueeScroll 25s linear infinite;
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.client-logo-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.client-logo-item:hover {
  color: var(--primary);
}

.client-logo-item svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* 8. About Section */
.about-section {
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.about-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.about-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.about-pillar-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-md);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-pillar-item h4 {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.about-pillar-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.about-stats-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
}

.about-card-badge {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.about-card-title {
  font-size: 1.35rem;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.about-card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.about-highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.about-highlight-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
}

.highlight-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.highlight-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.about-cta-row {
  margin-top: 0.5rem;
}

/* 9. Services Section */
.services-tabs-container {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-soft);
}

.tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 58px;
  height: 58px;
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-icon {
  transform: scale(1.05);
  background: var(--primary);
  color: #ffffff;
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  color: var(--text-main);
}

.service-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.service-features-list {
  list-style: none;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.service-features-list li svg {
  color: var(--primary);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

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

.process-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.process-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.process-step-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-border);
  line-height: 1;
  margin-bottom: 1rem;
}

.process-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.process-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* 11. Stats Counter Section */
.stats-section {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border-top: 1px solid var(--primary-border);
  border-bottom: 1px solid var(--primary-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-counter-card {
  padding: 1.5rem;
}

.stat-counter-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.stat-counter-label {
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 600;
}

/* 12. Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

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

.stars-row {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  margin-bottom: 1.25rem;
}

.testimonial-quote {
  font-size: 1.02rem;
  color: var(--text-main);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.client-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
}

.client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
}

.client-details h4 {
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
  color: var(--text-main);
}

.client-details p {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
}

/* 13. FAQ Accordion */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--primary-border);
}

.faq-question-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.35rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  cursor: pointer;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
}

.faq-icon-chevron {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-normal);
  color: var(--primary);
  flex-shrink: 0;
}

.faq-item.active .faq-icon-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Contact Section & Map Panel */
.contact-section {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: stretch;
}

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

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card-title {
  font-size: 1.3rem;
  color: var(--text-main);
}

.contact-methods-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-method-item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-md);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method-text span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.contact-method-text a,
.contact-method-text strong {
  font-size: 1.05rem;
  color: var(--text-main);
  font-weight: 600;
}

.contact-method-text a:hover {
  color: var(--primary);
}

.contact-actions-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.contact-guarantee-box {
  background: var(--primary-soft);
  border: 1px dashed var(--primary);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.guarantee-icon {
  color: var(--primary);
  flex-shrink: 0;
}

.guarantee-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.guarantee-text strong {
  color: var(--text-main);
}

/* Contact Map Panel */
.contact-map-panel {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.map-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.map-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.map-status-dot {
  width: 9px;
  height: 9px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(5, 150, 105, 0.5);
  animation: pulseDot 2s infinite;
}

.map-card-header h4 {
  font-size: 1.1rem;
  color: var(--text-main);
}

.map-badge {
  font-size: 0.78rem;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.map-frame-container {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-subtle);
}

.map-frame-container iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.map-footer-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

@media (max-width: 600px) {
  .map-footer-details {
    grid-template-columns: 1fr;
  }
}

.map-detail-item strong {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.map-detail-item span,
.map-detail-item a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.map-detail-item a:hover {
  color: var(--primary);
}

/* 15. Toast Notification */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  max-width: 420px;
  width: calc(100% - 4rem);
  pointer-events: none;
}

@media (max-width: 600px) {
  .toast-container {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    width: auto;
  }
}

.toast {
  background: #ffffff;
  border: 1px solid var(--primary);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  pointer-events: auto;
  transform: translateY(120%);
  opacity: 0;
  transition: all var(--transition-normal);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.toast-content h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

.toast-content p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.toast-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
}

/* 16. Floating WhatsApp & Back to Top */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 990;
}

@media (max-width: 600px) {
  .floating-actions {
    bottom: 1.25rem;
    left: 1.25rem;
  }
}

.float-whatsapp-btn {
  width: 50px;
  height: 50px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-normal);
}

.float-whatsapp-btn:hover {
  transform: scale(1.1) translateY(-3px);
  color: #ffffff;
}

.back-to-top-btn {
  width: 50px;
  height: 50px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
  transform: translateY(-3px);
}

/* 17. Footer - Dark Textured Background */
.footer {
  background-color: #080f0c;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(5, 150, 105, 0.06) 0%, transparent 45%),
    radial-gradient(rgba(16, 185, 129, 0.14) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 20px 20px;
  border-top: 1px solid rgba(16, 185, 129, 0.2);
  color: #94a3b8;
  padding: 5rem 0 2rem 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

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

.footer-brand-col .brand-logo {
  color: #ffffff;
}

.footer-brand-desc {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.7;
  margin: 1.25rem 0 1.5rem 0;
  max-width: 320px;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.social-link:hover {
  color: #10b981;
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  color: #f8fafc;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-list a {
  color: #94a3b8;
  font-size: 0.92rem;
  display: inline-block;
  padding: 0.2rem 0;
}

.footer-links-list a:hover {
  color: #10b981;
  transform: translateX(4px);
}

.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter-input-group {
  display: flex;
  position: relative;
}

.newsletter-input-group input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-full);
  outline: none;
  font-size: 0.9rem;
}

.newsletter-input-group input::placeholder {
  color: #64748b;
}

.newsletter-input-group input:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.newsletter-submit-btn {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  background: #10b981;
  border: none;
  border-radius: var(--radius-full);
  color: #ffffff;
  padding: 0 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-submit-btn:hover {
  background: #059669;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom a {
  color: #94a3b8;
}

.footer-bottom a:hover {
  color: var(--primary);
}

/* 18. Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .nav-menu {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .hero-trust-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
}
