/* ============================================================
   CLERNOW — Global Styles
   Font: Plus Jakarta Sans (Google Fonts)
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-brand: #6ecfac;
  --color-brand-light: #8edfc0;
  --color-brand-dark: #4db899;
  --color-brand-bg: #f0faf8;
  --color-dark: #0d1117;
  --color-dark-2: #1a2332;
  --color-heading: #111827;
  --color-body: #374151;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-bg-light: #f9fafb;
  --color-white: #ffffff;
  --font: 'Plus Jakarta Sans', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
  --transition: 0.2s ease;
}

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

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-body);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  border-radius: 8px;
  padding: 13px 24px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--color-brand);
  color: var(--color-white);
  border-color: var(--color-brand);
}
.btn-primary:hover {
  background: var(--color-brand-dark);
  border-color: var(--color-brand-dark);
  box-shadow: 0 4px 14px rgba(110,207,172,0.45);
}

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: var(--color-white);
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--color-brand);
  border-color: var(--color-brand);
}
.btn-outline:hover {
  background: var(--color-brand);
  color: var(--color-white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-heading);
  border-color: var(--color-heading);
}
.btn-outline-dark:hover {
  background: var(--color-heading);
  color: var(--color-white);
}

.btn-lg {
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 10px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,17,23,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow var(--transition);
}

.nav-wrapper.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.logo-light {
  color: var(--color-white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  padding: 8px 12px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}

.nav-links a:hover {
  background: rgba(255,255,255,0.08);
  color: var(--color-white);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-phone {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}
.nav-phone:hover { color: var(--color-brand); }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(13,17,23,0.98);
}

.mobile-menu a {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  padding: 10px 12px;
  border-radius: 6px;
}

.mobile-menu a:hover {
  background: rgba(255,255,255,0.08);
  color: var(--color-white);
}

.mobile-menu .btn {
  margin-top: 8px;
  justify-content: center;
}

.mobile-menu.open {
  display: flex;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(110,207,172,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(110,207,172,0.4), transparent);
}

.hero-inner {
  position: relative;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand-light);
  background: rgba(110,207,172,0.12);
  border: 1px solid rgba(110,207,172,0.25);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--color-white);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
}

.trust-icon {
  color: var(--color-brand-light);
  font-size: 14px;
  font-weight: 700;
}

/* ============================================================
   PROOF STRIP
   ============================================================ */

.proof-strip {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 32px 0;
}

.proof-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 40px;
  text-align: center;
}

.proof-stat strong {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-heading);
  letter-spacing: -0.5px;
  line-height: 1;
}

.proof-stat span {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.proof-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

/* ============================================================
   SECTION DEFAULTS
   ============================================================ */

.section {
  padding: 96px 0;
}

.section-light {
  background: var(--color-bg-light);
}

.section-dark {
  background: var(--color-dark);
  color: var(--color-white);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--color-heading);
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 17px;
  color: var(--color-muted);
  line-height: 1.6;
}

.section-header-light h2 {
  color: var(--color-white);
}

.section-header-light p {
  color: rgba(255,255,255,0.65);
}

.section-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand);
  background: var(--color-brand-bg);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-badge-light {
  color: var(--color-brand-light);
  background: rgba(110,207,172,0.12);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.step-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(110,207,172,0.3);
  transform: translateY(-3px);
}

.step-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--color-brand-bg);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 20px;
  -webkit-text-stroke: 2px var(--color-brand);
  color: transparent;
}

.step-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.step-card p {
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.65;
}

/* ============================================================
   WHAT WE TAKE
   ============================================================ */

.items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.item-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.item-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(110,207,172,0.25);
}

.item-icon {
  font-size: 28px;
  margin-bottom: 14px;
  line-height: 1;
}

.item-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.item-card p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
}

.items-note {
  text-align: center;
  font-size: 15px;
  color: var(--color-muted);
}

.items-note a {
  color: var(--color-brand);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--transition);
}

.items-note a:hover {
  text-decoration-color: var(--color-brand);
}

/* ============================================================
   WHY CLERNOW
   ============================================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.feature-card {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-card-large {
  grid-column: span 2;
  background: var(--color-brand-bg);
  border-color: rgba(110,207,172,0.2);
}

.feature-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-heading);
  margin-bottom: 12px;
  letter-spacing: -0.4px;
}

.feature-card p {
  font-size: 15px;
  color: var(--color-body);
  line-height: 1.65;
}

/* ============================================================
   SERVICE AREAS
   ============================================================ */

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.area-group h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  letter-spacing: -0.2px;
}

.area-group ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.area-group li {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
  cursor: default;
}

.area-group li:hover {
  color: rgba(255,255,255,0.9);
}

.areas-note {
  text-align: center;
  font-size: 15px;
  color: rgba(255,255,255,0.5);
}

.areas-note a {
  color: var(--color-brand-light);
  font-weight: 600;
}

.areas-note a:hover {
  text-decoration: underline;
}

/* ============================================================
   REVIEWS
   ============================================================ */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.review-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.review-card-featured {
  background: var(--color-brand-bg);
  border-color: rgba(110,207,172,0.25);
}

.review-stars {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 1px;
}

.review-text {
  font-size: 15px;
  color: var(--color-body);
  line-height: 1.7;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-brand);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.review-author strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-heading);
}

.review-author span {
  font-size: 13px;
  color: var(--color-muted);
}

/* ============================================================
   CTA SECTION
   ============================================================ */

.section-cta {
  background: var(--color-brand-bg);
  border-top: 1px solid rgba(110,207,172,0.15);
  border-bottom: 1px solid rgba(110,207,172,0.15);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.cta-content .section-badge {
  text-align: left;
}

.cta-content h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--color-heading);
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 17px;
  color: var(--color-body);
  line-height: 1.6;
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.cta-hours {
  font-size: 13px;
  color: var(--color-muted);
  font-weight: 500;
}

.cta-checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--color-white);
  border: 1px solid rgba(110,207,172,0.2);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--color-body);
  font-weight: 500;
}

.check-icon {
  width: 22px;
  height: 22px;
  background: var(--color-brand);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.7);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 56px;
}

.footer-brand p {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  margin-top: 16px;
  margin-bottom: 20px;
  line-height: 1.65;
  max-width: 280px;
}

.footer-phone,
.footer-email {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
  transition: color var(--transition);
}

.footer-phone:hover,
.footer-email:hover {
  color: var(--color-brand-light);
}

.footer-links h5 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: rgba(255,255,255,0.9);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: rgba(255,255,255,0.8);
}

/* ============================================================
   RESPONSIVE — Tablet (768px)
   ============================================================ */

@media (max-width: 900px) {

  .nav-links,
  .nav-phone {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-cta .btn {
    display: none;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .items-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card-large {
    grid-column: span 2;
  }

  .areas-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 400px;
    margin: 0 auto 32px;
  }

  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .proof-divider {
    display: none;
  }

  .proof-inner {
    gap: 16px;
  }

  .proof-stat {
    padding: 8px 20px;
  }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* ============================================================
   RESPONSIVE — Mobile (480px)
   ============================================================ */

@media (max-width: 600px) {

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 64px 0 56px;
  }

  .hero-trust {
    gap: 12px;
    flex-direction: column;
    align-items: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .items-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card-large {
    grid-column: span 1;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .proof-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .section-header {
    margin-bottom: 40px;
  }
}
