/**
 * JusticeShield Law Firm - Stylesheet
 * Prepared for Royal Addons for Elementor Integration
 */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

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

body {
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #334155;
  background-color: #f8fafc;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', serif;
  color: #0b192c;
  margin-top: 0;
  line-height: 1.25;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 85px 0;
  position: relative;
}

.section-bg-light {
  background-color: #ffffff;
}

.section-bg-dark {
  background: linear-gradient(135deg, #0b192c 0%, #1e293b 100%);
  color: #f8fafc;
}

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

.section-subtitle {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #c59b27;
  background: #fefce8;
  border: 1px solid #fef08a;
  padding: 6px 18px;
  border-radius: 9999px;
  margin-bottom: 14px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.section-title span {
  color: #c59b27;
}

.section-desc {
  font-size: 16px;
  color: #64748b;
  margin-bottom: 0;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-law {
  padding: 80px 0 100px 0;
  background: linear-gradient(135deg, #0b192c 0%, #1e293b 60%, #060e18 100%);
  color: #f8fafc;
  position: relative;
  overflow: hidden;
}

.hero-law::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(197, 155, 39, 0.15) 0%, rgba(11, 25, 44, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
}

.hero-badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 155, 39, 0.15);
  border: 1px solid rgba(197, 155, 39, 0.35);
  color: #fde047;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 22px;
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  color: #ffffff;
}

.hero-title span {
  color: #c59b27;
}

.hero-desc {
  font-size: 17.5px;
  color: #cbd5e1;
  margin-bottom: 34px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #c59b27;
  color: #ffffff;
  font-weight: 700;
  font-size: 14.5px;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(197, 155, 39, 0.35);
  transition: all 0.3s ease;
}

.btn-gold:hover {
  background: #b48c1e;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(197, 155, 39, 0.45);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #ffffff;
  font-weight: 700;
  font-size: 14.5px;
  padding: 14px 26px;
  border-radius: 6px;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.h-stat-num {
  font-family: 'Cinzel', serif;
  font-size: 32px;
  font-weight: 700;
  color: #c59b27;
  line-height: 1;
}

.h-stat-label {
  font-size: 13px;
  color: #94a3b8;
  margin-top: 4px;
  font-weight: 600;
}

.hero-img-box {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  border: 4px solid rgba(197, 155, 39, 0.4);
}

.hero-img-box img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   Quick Features Bar (Royal Addons: royalfeatures)
   ========================================================================== */
.features-strip {
  padding: 0;
  margin-top: -35px;
  position: relative;
  z-index: 10;
}

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

.feature-box {
  background: #ffffff;
  padding: 26px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(11, 25, 44, 0.08);
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(197, 155, 39, 0.15);
  border-color: #fde047;
}

.f-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: #fefce8;
  color: #c59b27;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.feature-box h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-box p {
  font-size: 13.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   About Firm & Senior Partner (Royal Addons: royalprofilecard)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 60px;
}

.about-img-wrap {
  position: relative;
}

.about-img-wrap img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(11, 25, 44, 0.15);
}

.about-badge-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #0b192c;
  color: #ffffff;
  padding: 24px 28px;
  border-radius: 14px;
  border: 2px solid #c59b27;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.about-badge-card .num {
  font-family: 'Cinzel', serif;
  font-size: 38px;
  font-weight: 700;
  color: #c59b27;
  line-height: 1;
}

.about-badge-card .txt {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #cbd5e1;
}

.about-points {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.about-points li {
  font-size: 14.5px;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-points li i {
  color: #c59b27;
  font-size: 16px;
}

/* ==========================================================================
   Practice Areas (Royal Addons: royalservices)
   ========================================================================== */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.practice-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 36px 30px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(11, 25, 44, 0.04);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.practice-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(197, 155, 39, 0.15);
  border-color: #fde047;
}

.p-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: #fefce8;
  color: #c59b27;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
  transition: all 0.3s ease;
}

.practice-card:hover .p-icon-box {
  background: #0b192c;
  color: #ffffff;
}

.practice-card h3 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 12px;
}

.practice-card p {
  font-size: 14.5px;
  color: #64748b;
  margin-bottom: 20px;
  flex-grow: 1;
}

.practice-link {
  font-size: 13.5px;
  font-weight: 700;
  color: #c59b27;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.practice-link:hover {
  gap: 10px;
  color: #0b192c;
}

/* ==========================================================================
   Attorneys Team (Royal Addons: royalteam)
   ========================================================================== */
.attorneys-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.attorney-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(11, 25, 44, 0.04);
  transition: all 0.3s ease;
}

.attorney-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(197, 155, 39, 0.15);
}

.attorney-img {
  height: 320px;
  overflow: hidden;
  position: relative;
  background: #0b192c;
}

.attorney-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.attorney-card:hover .attorney-img img {
  transform: scale(1.05);
}

.attorney-body {
  padding: 24px;
  text-align: center;
}

.attorney-body h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.attorney-title {
  font-size: 12.5px;
  color: #c59b27;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.attorney-body p {
  font-size: 13.5px;
  color: #64748b;
  margin-bottom: 16px;
}

/* ==========================================================================
   Case Evaluation Form & Hotline (Royal Addons: royalform)
   ========================================================================== */
.eval-section-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
}

.eval-form-box {
  background: #ffffff;
  padding: 44px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 15px 40px rgba(11, 25, 44, 0.06);
}

.eval-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.eval-full {
  grid-column: span 2;
}

.eval-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0b192c;
  margin-bottom: 6px;
}

.eval-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  font-size: 14px;
  outline: none;
  transition: all 0.25s ease;
}

.eval-input:focus {
  border-color: #c59b27;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.15);
}

.eval-side-panel {
  background: linear-gradient(135deg, #0b192c 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.eval-promise-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 30px 0;
}

.eval-promise-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.eval-promise-list li i {
  color: #c59b27;
  font-size: 18px;
}

/* ==========================================================================
   Client Testimonials (Royal Addons: royalreview)
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.review-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 34px 28px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(11, 25, 44, 0.04);
}

.r-stars {
  color: #c59b27;
  font-size: 14px;
  margin-bottom: 14px;
}

.r-quote {
  font-size: 14.5px;
  color: #334155;
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.65;
}

.r-author h5 {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
}

.r-author span {
  font-size: 12.5px;
  color: #64748b;
}

/* ==========================================================================
   FAQ Accordion (Royal Addons: royalaccordion)
   ========================================================================== */
.faq-box {
  max-width: 820px;
  margin: 0 auto;
}

.faq-row {
  background: #ffffff;
  border-radius: 10px;
  margin-bottom: 14px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.faq-btn {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 16.5px;
  font-weight: 700;
  color: #0b192c;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-btn i {
  color: #c59b27;
  transition: transform 0.3s ease;
}

.faq-row.active .faq-btn i {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: #475569;
  font-size: 15px;
  line-height: 1.65;
}

.faq-row.active .faq-content {
  max-height: 250px;
  padding-bottom: 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.royal-law-footer {
  background: #060e18;
  color: #cbd5e1;
  padding: 70px 0 0 0;
  font-size: 14.5px;
}

.f-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 60px;
}

.f-col h4 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}

.f-col h4::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 28px;
  height: 2px;
  background: #c59b27;
}

.f-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.f-links li {
  margin-bottom: 12px;
}

.f-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.f-links a:hover {
  color: #c59b27;
  padding-left: 4px;
}

.f-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  text-align: center;
  font-size: 13.5px;
  color: #64748b;
}

.f-bottom a {
  color: #c59b27;
  text-decoration: none;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 25, 44, 0.7);
  backdrop-filter: blur(4px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.modal-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 36px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .eval-section-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .practice-grid,
  .attorneys-grid,
  .reviews-grid,
  .f-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-title { font-size: 36px; }
  .features-grid,
  .practice-grid,
  .attorneys-grid,
  .reviews-grid,
  .eval-grid,
  .about-points,
  .f-grid {
    grid-template-columns: 1fr;
  }
  .eval-full { grid-column: span 1; }
}
