/* ============================================
   CSS STRUCTURE - LawyerWeb PH
   ============================================
   1. Base Styles & Reset
   2. Layout & Container
   3. Typography
   4. Buttons (Reusable)
   5. Cards (Reusable)
   6. Header & Navigation
   7. Hero Section
   8. Content Sections & Add-ons
   9. Pricing Components
   10. Benefits & Steps
   11. FAQ Components
   12. CTA Section (Reusable Footer Banner)
   13. Site Footer
   14. Accessibility
   15. Legal Resources & Footer Section
   16. Responsive Design
   ============================================ */


/* ============================================
   1. BASE STYLES & RESET
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
}


/* ============================================
   2. LAYOUT & CONTAINER
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-light {
  background: #ffffff;
}

.section-gray {
  background: #f8f8f8;
}

/* Offset for sticky header anchor jumps */
#service,
#pricing,
#benefits,
#faq,
#cta {
  scroll-margin-top: 90px;
}


/* ============================================
   3. TYPOGRAPHY
   ============================================ */
.section-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
  color: #1a1a1a;
}

.section-subtitle {
  font-size: 18px;
  color: #666;
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.content-block {
  max-width: 800px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.8;
  color: #4a4a4a;
}

.content-paragraph {
  margin-bottom: 20px;
}


/* ============================================
   4. BUTTONS (REUSABLE)
   ============================================ */
.btn {
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

/* Primary should work on light backgrounds (cards, white sections) */
.btn-primary {
  background: #1a1a1a;
  color: #ffffff;
}

.btn-primary:hover {
  background: #2d2d2d;
  transform: translateY(-2px);
}

/* Light button for dark backgrounds (hero, CTA) */
.btn-light {
  background: #ffffff;
  color: #1a1a1a;
}

.btn-light:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-side {
  background: transparent;
  color: #424242;
  border: 2px solid #424242;
}

.btn-side:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-block {
  width: 100%;
  margin-top: 24px;
}

.btn-cta {
  background: #424242;
  color: #ffffff;
}

.btn-cta:hover {
  background: #2d2d2d;
  transform: translateY(-2px);
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ============================================
   5. CARDS (REUSABLE)
   ============================================ */
.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.card-featured {
  border: 2px solid #1a1a1a;
  position: relative;
}

.card-title {
  font-size: 24px;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.card-footer-note {
  margin-top: 24px;
  color: #888;
  font-size: 14px;
  text-align: center;
}


/* ============================================
   6. HEADER & NAVIGATION
   ============================================ */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

/* Optional: If you want the logo clickable, change your HTML logo div to an a tag */
.logo {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: #4a4a4a;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: #1a1a1a;
}


/* ============================================
   7. HERO SECTION
   ============================================ */
.hero-section {
  position: relative;
  color: #ffffff;
  padding: 250px 0;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.hero-section > .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  color: #e0e0e0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}


/* ============================================
   8. CONTENT SECTIONS & ADD-ONS
   ============================================ */
.pricing-grid,
.packages-grid,
.benefits-grid,
.steps-grid {
  display: grid;
  gap: 40px;
  margin-top: 60px;
}

.pricing-grid,
.packages-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.benefits-grid,
.steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Add-ons Section */
.addons-section {
  margin-top: 80px;
  text-align: center;
}

.addons-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.addons-subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 32px;
}

.addons-box {
  max-width: 650px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 12px;
  padding: 40px 50px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  border: 1px solid #e5e5e5;
}

.addons-list {
  list-style: none;
  text-align: left;
  columns: 1;
  column-gap: 40px;
}

.addons-list li {
  padding: 16px 0;
  color: #4a4a4a;
  font-size: 16px;
  break-inside: avoid;
  border-bottom: 1px solid #f0f0f0;
}

.addons-list li:last-child {
  border-bottom: none;
}

.addons-list li::before {
  content: "➕";
  margin-right: 12px;
  font-size: 16px;
}


/* ============================================
   9. PRICING COMPONENTS
   ============================================ */
.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  color: #ffffff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.price {
  font-size: 48px;
  font-weight: 700;
  margin: 20px 0;
  color: #1a1a1a;
}

.price-note {
  font-size: 14px;
  color: #888;
  margin-bottom: 24px;
}

.features-list {
  list-style: none;
  margin: 24px 0;
}

.features-list li {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  color: #4a4a4a;
}

.features-list li::before {
  content: "✓";
  color: #1a1a1a;
  font-weight: 700;
  margin-right: 12px;
}


/* ============================================
   10. BENEFITS & STEPS
   ============================================ */

.benefit-card {
  text-align: center;
}

.benefit-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
}

.benefit-icon img {
  max-width: 150%;
  max-height: 150%;
  object-fit: contain;
}

.benefit-title {
  font-size: 22px;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.benefit-text {
  color: #666;
  line-height: 1.7;
}

.benefit-cta-row {
  margin-top: 10px;
}

/* CTA styling */
.benefit-cta {
  display: inline;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  background-image: linear-gradient(#1a1a1a, #1a1a1a);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.25s ease, color 0.2s ease;
  cursor: pointer;
}

.benefit-cta:hover {
  background-size: 100% 1px;
  color: #000000;
}

/* Steps (unchanged) */
.step {
  text-align: center;
}

.step-number {
  width: 60px;
  height: 60px;
  background: #1a1a1a;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 26px;
  font-weight: 700;
}

.step-title {
  font-size: 20px;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.step-text {
  color: #666;
}





/* ============================================
   11. FAQ COMPONENTS
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-question {
  font-size: 20px;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.faq-answer {
  color: #666;
  line-height: 1.7;
}


/* ============================================
   12. CTA SECTION (REUSABLE FOOTER BANNER)
   ============================================ */
.cta-section {
  position: relative;
  background-size: cover;
  background-position: center 70%;
  padding: 100px 0;
  text-align: center;
  color: #ffffff;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 42px;
  margin-bottom: 24px;
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.cta-subtitle {
  font-size: 18px;
  margin-bottom: 40px;
  color: #e0e0e0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.cta-section .btn-light {
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
}

.cta-section .btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.cta-section .btn-secondary:hover {
  background-color: #ffffff;
  color: #000000;
}


/* ============================================
   13. SITE FOOTER
   ============================================ */
.site-footer {
  background: #1a1a1a;
  color: #888;
  padding: 20px 0;
  text-align: center;
}

.footer-text {
  color: #888;
  margin: 0;
}


/* ============================================
   14. ACCESSIBILITY
   ============================================ */
a:focus-visible,
button:focus-visible {
  outline: 3px solid #1a1a1a;
  outline-offset: 3px;
}


/* ============================================
   15. LEGAL RESOURCES & FOOTER SECTION
   ============================================ */
.resources-section {
  background: #1a1a1a;
  padding: 45px 0 20px;
}

.resources-section .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.resources-title {
  color: #b0b0b0;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}

.resources-text {
  color: #888888;
  opacity: 0.95;
  margin: 0 0 6px;
  line-height: 1.6;
}

.resources-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.resources-list li {
  margin-bottom: 6px;
}

.resources-list a,
.resources-text a {
  color: #888888;
  text-decoration: none;
  opacity: 0.95;
}

.resources-list a:hover,
.resources-text a:hover {
  color: #ffffff;
  text-decoration: underline;
  opacity: 1;
}

/* Follow Us */
.resources-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #888888;
  text-decoration: none;
  opacity: 0.95;
}

.resources-social:hover {
  color: #ffffff;
  opacity: 1;
  text-decoration: underline;
}

.li-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  border-radius: 3px;
  background-color: #888888;
  color: #1a1a1a;
}

.resources-social:hover .li-badge {
  background-color: #ffffff;
  color: #1a1a1a;
}

/* Full width divider */
.resources-divider {
  width: 100%;
  height: 1px;
  background-color: #2a2a2a;
  margin: 24px 0 14px;
}

/* Bottom Copyright Row */
.resources-bottom {
  text-align: center;
  padding-bottom: 12px;
}

.resources-copy {
  margin: 0;
  color: #888888;
  font-size: 16px;
}


/* ============================================
   16. RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
  .site-header nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .nav-links a {
    font-size: 14px;
  }

  .hero-title {
    font-size: 36px;
  }

  .section-title,
  .cta-title {
    font-size: 32px;
  }

  .section,
  .hero-section,
  .cta-section {
    padding: 60px 0;
  }

  .pricing-grid,
  .packages-grid,
  .benefits-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  /* Add-ons responsive */
  .addons-box {
    padding: 30px 25px;
  }

  .addons-list {
    columns: 1;
  }

  .addons-title {
    font-size: 28px;
  }

  /* Resources footer responsive */
  .resources-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .resources-divider {
    margin: 20px 0 12px;
  }
}