/* ===== RESET & BASE ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}

:root{
  --green:#1B4332;
  --green2:#1D4A38;
  --green3:#2D6A4F;
  --green-light:#40916C;
  --gold:#D4A847;
  --gold-dark:#B8902E;
  --gold-light:#ECC865;
  --ivory:#F9F7F3;
  --cream:#EDF2EE;
  --white:#FFFFFF;
  --text:#1A2E1E;
  --text-mid:#4A5E4E;
  --text-light:#8A9E8E;
  --shadow:0 4px 24px rgba(27,67,50,0.1);
  --shadow-lg:0 8px 48px rgba(27,67,50,0.16);
  --radius:10px;
  --transition:all 0.32s ease;
}

html{scroll-behavior:smooth;}
body{font-family:'Source Sans Pro',sans-serif;background:var(--ivory);color:var(--text);line-height:1.7;overflow-x:hidden;}
img{max-width:100%;display:block;}
a{text-decoration:none;color:inherit;}

/* ===== UTILITY ===== */
.container{max-width:1180px;margin:0 auto;padding:0 24px;}
.btn{
  display:inline-block;padding:14px 36px;border-radius:4px;
  font-family:'Source Sans Pro',sans-serif;font-weight:700;font-size:0.9rem;
  cursor:pointer;border:none;transition:var(--transition);letter-spacing:1px;text-transform:uppercase;
}
.btn-primary{background:var(--gold);color:var(--text);}
.btn-primary:hover{background:var(--gold-dark);transform:translateY(-2px);box-shadow:0 6px 20px rgba(212,168,71,0.35);}
.btn-green{background:var(--green);color:var(--white);}
.btn-green:hover{background:var(--green2);transform:translateY(-2px);box-shadow:var(--shadow-lg);}
.btn-outline{background:transparent;color:var(--green);border:2px solid var(--green);}
.btn-outline:hover{background:var(--green);color:var(--white);transform:translateY(-2px);}
.btn-outline-light{background:transparent;color:var(--white);border:1px solid rgba(255,255,255,0.45);}
.btn-outline-light:hover{background:rgba(255,255,255,0.1);border-color:rgba(255,255,255,0.7);}

.section-tag{
  display:inline-flex;align-items:center;gap:8px;
  color:var(--gold-dark);font-size:0.75rem;font-weight:700;
  letter-spacing:2.5px;text-transform:uppercase;margin-bottom:12px;
}
.section-tag::before{content:'';width:26px;height:2px;background:var(--gold);}
.section-title{
  font-family:'Libre Baskerville',serif;
  font-size:clamp(1.9rem,3.5vw,2.6rem);font-weight:700;
  color:var(--text);margin-bottom:16px;line-height:1.2;
}
.section-sub{font-size:1rem;color:var(--text-light);max-width:580px;line-height:1.8;}

.reveal{opacity:0;transform:translateY(30px);transition:opacity 0.6s ease,transform 0.6s ease;}
.reveal.visible{opacity:1;transform:none;}

/* ===== NAVBAR ===== */
.navbar{position:fixed;top:0;left:0;right:0;z-index:1000;transition:var(--transition);}
.navbar.scrolled{background:rgba(249,247,243,0.97);backdrop-filter:blur(10px);box-shadow:var(--shadow);}
.nav-container{
  display:flex;align-items:center;justify-content:space-between;
  height:70px;max-width:1180px;margin:0 auto;padding:0 24px;
}
.brand{
  font-family:'Libre Baskerville',serif;font-size:1.25rem;font-weight:700;
  color:var(--white);display:flex;flex-direction:column;line-height:1.15;
  transition:color 0.3s;
}
.navbar.scrolled .brand{color:var(--green);}
.brand-sub{font-size:0.65rem;font-family:'Source Sans Pro',sans-serif;font-weight:400;letter-spacing:2px;text-transform:uppercase;opacity:0.7;}
.nav-menu{display:flex;align-items:center;gap:2px;}
.nav-link{
  padding:8px 12px;font-size:0.82rem;font-weight:600;
  letter-spacing:1px;text-transform:uppercase;color:rgba(255,255,255,0.8);
  transition:var(--transition);border-radius:3px;
}
.navbar.scrolled .nav-link{color:var(--text-mid);}
.nav-link:hover,.nav-link.active{color:var(--gold) !important;}
.nav-cta{
  margin-left:12px;padding:10px 20px;font-size:0.78rem;
  background:var(--gold);color:var(--text) !important;
  font-weight:700;border-radius:4px;
}
.nav-cta:hover{background:var(--gold-dark) !important;}
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:6px;background:none;border:none;}
.hamburger span{width:22px;height:1.5px;background:var(--white);display:block;transition:var(--transition);border-radius:2px;}
.navbar.scrolled .hamburger span{background:var(--green);}
.hamburger.open span:nth-child(1){transform:translateY(6.5px) rotate(45deg);}
.hamburger.open span:nth-child(2){opacity:0;}
.hamburger.open span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg);}

/* ===== HERO ===== */
#hero{min-height:100vh;position:relative;display:flex;align-items:center;overflow:hidden;}
.hero-bg{position:absolute;inset:0;background:url('https://picsum.photos/seed/lawoffice1/1600/900') center/cover no-repeat;}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(27,67,50,0.93) 0%,rgba(27,67,50,0.75) 55%,rgba(27,67,50,0.4) 100%);}
.hero-content{position:relative;z-index:2;padding-top:70px;max-width:660px;}
.hero-badge{
  display:inline-flex;align-items:center;gap:10px;
  background:rgba(212,168,71,0.18);border:1px solid rgba(212,168,71,0.35);
  color:var(--gold-light);font-size:0.75rem;font-weight:700;
  letter-spacing:2px;text-transform:uppercase;padding:9px 18px;
  border-radius:4px;margin-bottom:24px;
}
.hero-badge i{font-size:0.75rem;}
.hero-title{
  font-family:'Libre Baskerville',serif;
  font-size:clamp(2.6rem,6vw,4rem);font-weight:700;
  color:var(--white);line-height:1.1;margin-bottom:22px;
}
.hero-title em{color:var(--gold-light);font-style:italic;}
.hero-sub{font-size:1.05rem;color:rgba(255,255,255,0.72);margin-bottom:40px;max-width:500px;line-height:1.8;}
.hero-btns{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:52px;}
.hero-trust{
  display:flex;align-items:center;gap:24px;padding-top:28px;
  border-top:1px solid rgba(255,255,255,0.12);flex-wrap:wrap;
}
.trust-item{display:flex;align-items:center;gap:10px;color:rgba(255,255,255,0.65);font-size:0.85rem;}
.trust-item i{color:var(--gold-light);font-size:1rem;}

/* ===== ABOUT ===== */
#about{padding:110px 0;background:var(--white);}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center;}
.about-img-block{position:relative;}
.about-img-main{border-radius:12px;overflow:hidden;box-shadow:var(--shadow-lg);}
.about-img-main img{width:100%;height:440px;object-fit:cover;}
.about-stat-pill{
  position:absolute;bottom:-22px;left:30px;
  background:var(--green);color:var(--white);
  border-radius:10px;padding:18px 28px;box-shadow:var(--shadow-lg);
  display:flex;align-items:center;gap:18px;
}
.pill-num{font-family:'Libre Baskerville',serif;font-size:2.2rem;font-weight:700;color:var(--gold-light);line-height:1;}
.pill-label{font-size:0.8rem;color:rgba(255,255,255,0.7);line-height:1.3;}
.about-text{padding-bottom:22px;}
.about-text .section-sub{margin-bottom:20px;}
.about-text p:last-of-type{color:var(--text-light);font-size:0.93rem;margin-bottom:30px;line-height:1.85;}
.attorney-row{display:flex;gap:18px;margin-bottom:34px;flex-wrap:wrap;}
.attorney-card{
  display:flex;align-items:center;gap:12px;padding:14px 18px;
  background:var(--cream);border-radius:10px;flex:1;min-width:200px;
}
.attorney-img{width:52px;height:52px;border-radius:50%;overflow:hidden;border:2px solid var(--gold-light);flex-shrink:0;}
.attorney-img img{width:100%;height:100%;object-fit:cover;}
.attorney-name{font-weight:700;font-size:0.9rem;color:var(--text);line-height:1.2;}
.attorney-title{font-size:0.78rem;color:var(--text-light);}

/* ===== SERVICES ===== */
#services{padding:110px 0;background:var(--ivory);}
.services-head{text-align:center;margin-bottom:60px;}
.services-head .section-tag{justify-content:center;}
.services-head .section-tag::before{display:none;}
.services-head .section-sub{margin:0 auto;}
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.service-card{
  background:var(--white);border-radius:12px;padding:36px 28px;
  border:1px solid rgba(27,67,50,0.08);transition:var(--transition);
  box-shadow:0 2px 12px rgba(27,67,50,0.05);
}
.service-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg);border-color:rgba(27,67,50,0.2);}
.service-icon{
  width:52px;height:52px;border-radius:10px;
  background:linear-gradient(135deg,var(--green),var(--green3));
  color:var(--white);display:flex;align-items:center;justify-content:center;
  font-size:1.2rem;margin-bottom:20px;
}
.service-card h3{font-family:'Libre Baskerville',serif;font-size:1.15rem;font-weight:700;margin-bottom:10px;color:var(--text);}
.service-card p{font-size:0.9rem;color:var(--text-light);line-height:1.7;}
.service-card a{
  display:inline-flex;align-items:center;gap:7px;margin-top:16px;
  font-size:0.82rem;font-weight:700;color:var(--green);letter-spacing:0.5px;transition:gap 0.25s;
}
.service-card a:hover{gap:12px;}

/* ===== PRICING ===== */
#pricing{padding:110px 0;background:var(--cream);}
.pricing-head{text-align:center;margin-bottom:60px;}
.pricing-head .section-tag{justify-content:center;}
.pricing-head .section-tag::before{display:none;}
.pricing-head .section-sub{margin:0 auto;}
.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;align-items:start;}
.price-card{
  background:var(--white);border-radius:14px;padding:40px 32px;
  border:1px solid rgba(27,67,50,0.08);transition:var(--transition);
}
.price-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg);}
.price-card.featured{
  background:var(--green);border-color:transparent;
  transform:translateY(-12px);box-shadow:var(--shadow-lg);
}
.price-card.featured:hover{transform:translateY(-18px);}
.featured-badge{
  display:inline-block;background:var(--gold);color:var(--text);
  font-size:0.72rem;font-weight:800;letter-spacing:2px;text-transform:uppercase;
  padding:5px 14px;border-radius:3px;margin-bottom:20px;
}
.price-plan{font-size:0.72rem;font-weight:700;letter-spacing:2.5px;text-transform:uppercase;color:var(--green);margin-bottom:6px;}
.price-card.featured .price-plan{color:rgba(255,255,255,0.65);}
.price-name{font-family:'Libre Baskerville',serif;font-size:1.45rem;font-weight:700;color:var(--text);margin-bottom:22px;}
.price-card.featured .price-name{color:var(--white);}
.price-amount{margin-bottom:26px;padding-bottom:22px;border-bottom:1px solid rgba(27,67,50,0.1);}
.price-card.featured .price-amount{border-color:rgba(255,255,255,0.15);}
.price-num{font-family:'Libre Baskerville',serif;font-size:3rem;font-weight:700;color:var(--green);line-height:1;}
.price-card.featured .price-num{color:var(--gold-light);}
.price-num sup{font-size:1.2rem;vertical-align:super;}
.price-num span{font-size:0.9rem;color:var(--text-light);font-family:'Source Sans Pro',sans-serif;font-weight:400;}
.price-card.featured .price-num span{color:rgba(255,255,255,0.5);}
.price-list{list-style:none;margin-bottom:32px;}
.price-list li{
  display:flex;align-items:center;gap:10px;
  font-size:0.9rem;padding:8px 0;color:var(--text-mid);
  border-bottom:1px solid rgba(27,67,50,0.06);
}
.price-card.featured .price-list li{color:rgba(255,255,255,0.85);border-color:rgba(255,255,255,0.1);}
.price-list li i{color:var(--green);font-size:0.82rem;}
.price-card.featured .price-list li i{color:var(--gold-light);}
.price-list li.muted{color:var(--text-light);opacity:0.5;}
.price-list li.muted i{color:var(--text-light);}
.price-card .btn{width:100%;text-align:center;}

/* ===== TESTIMONIALS ===== */
#testimonials{padding:110px 0;background:var(--white);}
.testi-head{text-align:center;margin-bottom:60px;}
.testi-head .section-tag{justify-content:center;}
.testi-head .section-tag::before{display:none;}
.testi-head .section-sub{margin:0 auto;}
.testi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.testi-card{
  background:var(--ivory);border-radius:12px;padding:34px 28px;
  border:1px solid rgba(27,67,50,0.08);transition:var(--transition);
}
.testi-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);}
.testi-stars{color:var(--gold);margin-bottom:14px;font-size:0.9rem;}
.testi-text{font-size:0.93rem;line-height:1.8;color:var(--text-mid);font-style:italic;margin-bottom:22px;}
.testi-author{display:flex;align-items:center;gap:14px;}
.testi-avatar{width:48px;height:48px;border-radius:50%;overflow:hidden;border:2px solid var(--gold-light);}
.testi-avatar img{width:100%;height:100%;object-fit:cover;}
.testi-name{font-weight:700;font-size:0.92rem;color:var(--text);}
.testi-role{font-size:0.8rem;color:var(--text-light);}

/* ===== FAQ ===== */
#faq{padding:110px 0;background:var(--ivory);}
.faq-layout{display:grid;grid-template-columns:1fr 1.4fr;gap:80px;align-items:start;}
.faq-sidebar .section-sub{margin-bottom:28px;}
.faq-sidebar .section-tag{display:flex;}
.faq-cta{background:var(--green);color:var(--white);border-radius:12px;padding:28px;margin-top:24px;}
.faq-cta h4{font-family:'Libre Baskerville',serif;font-size:1.15rem;margin-bottom:8px;}
.faq-cta p{font-size:0.88rem;color:rgba(255,255,255,0.65);margin-bottom:18px;line-height:1.65;}
.faq-list{display:flex;flex-direction:column;gap:10px;}
.faq-item{background:var(--white);border-radius:8px;overflow:hidden;border:1px solid rgba(27,67,50,0.08);}
.faq-q{
  width:100%;display:flex;justify-content:space-between;align-items:center;
  padding:18px 22px;cursor:pointer;font-weight:600;font-size:0.93rem;
  color:var(--text);background:none;border:none;font-family:'Source Sans Pro',sans-serif;
  text-align:left;gap:14px;transition:color 0.25s;
}
.faq-q:hover{color:var(--green);}
.faq-icon{
  width:28px;height:28px;border-radius:50%;background:var(--cream);
  color:var(--green);display:flex;align-items:center;justify-content:center;
  flex-shrink:0;font-size:0.8rem;transition:var(--transition);
}
.faq-item.open .faq-icon{background:var(--green);color:var(--white);transform:rotate(45deg);}
.faq-a{max-height:0;overflow:hidden;transition:max-height 0.4s ease;}
.faq-a-inner{padding:0 22px 18px;font-size:0.9rem;color:var(--text-light);line-height:1.75;}
.faq-item.open .faq-a{max-height:200px;}

/* ===== CONTACT ===== */
#contact{padding:110px 0;background:var(--white);}
.contact-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:80px;align-items:start;}
.contact-info .section-sub{margin-bottom:32px;}
.contact-items{display:flex;flex-direction:column;gap:16px;margin-bottom:32px;}
.contact-item{
  display:flex;align-items:flex-start;gap:14px;padding:16px 18px;
  background:var(--ivory);border-radius:10px;border:1px solid rgba(27,67,50,0.08);
}
.contact-icon{
  width:40px;height:40px;border-radius:8px;background:var(--green);
  color:var(--white);display:flex;align-items:center;justify-content:center;
  font-size:0.9rem;flex-shrink:0;
}
.contact-item-text h4{font-weight:700;font-size:0.88rem;color:var(--text);margin-bottom:3px;}
.contact-item-text p{font-size:0.86rem;color:var(--text-light);line-height:1.5;}
.contact-social{display:flex;gap:10px;}
.social-btn{
  width:36px;height:36px;border-radius:6px;background:var(--ivory);
  color:var(--green);display:flex;align-items:center;justify-content:center;
  font-size:0.85rem;border:1px solid rgba(27,67,50,0.1);transition:var(--transition);
}
.social-btn:hover{background:var(--green);color:var(--white);border-color:transparent;}
.contact-form{
  background:var(--ivory);border-radius:16px;padding:44px 38px;
  border:1px solid rgba(27,67,50,0.1);box-shadow:var(--shadow);
}
.contact-form h3{font-family:'Libre Baskerville',serif;font-size:1.6rem;font-weight:700;margin-bottom:6px;color:var(--text);}
.contact-form p{font-size:0.9rem;color:var(--text-light);margin-bottom:28px;}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.form-group{margin-bottom:16px;}
.form-group label{display:block;font-size:0.78rem;font-weight:700;color:var(--text-mid);margin-bottom:7px;letter-spacing:1px;text-transform:uppercase;}
.form-group input,.form-group select,.form-group textarea{
  width:100%;padding:12px 16px;border:1.5px solid rgba(27,67,50,0.15);
  border-radius:6px;font-family:'Source Sans Pro',sans-serif;font-size:0.92rem;
  color:var(--text);background:var(--white);transition:var(--transition);outline:none;
}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{
  border-color:var(--green);box-shadow:0 0 0 3px rgba(27,67,50,0.07);
}
.form-group textarea{resize:vertical;min-height:120px;}
.form-submit{width:100%;padding:14px;font-size:0.88rem;}

/* ===== FOOTER ===== */
footer{background:var(--green);color:rgba(255,255,255,0.7);padding:70px 0 0;}
.footer-grid{display:grid;grid-template-columns:1.8fr 1fr 1fr 1fr;gap:50px;margin-bottom:50px;}
.footer-brand .brand{color:var(--white);margin-bottom:14px;}
.footer-brand p{font-size:0.9rem;line-height:1.75;margin-bottom:22px;}
.footer-col h4{color:var(--white);font-size:0.75rem;font-weight:700;letter-spacing:2.5px;text-transform:uppercase;margin-bottom:18px;}
.footer-links{list-style:none;display:flex;flex-direction:column;gap:10px;}
.footer-links a{font-size:0.9rem;color:rgba(255,255,255,0.55);transition:color 0.25s;}
.footer-links a:hover{color:var(--gold-light);}
.footer-bottom{border-top:1px solid rgba(255,255,255,0.1);padding:22px 0;display:flex;align-items:center;justify-content:space-between;font-size:0.82rem;}
.footer-bottom a{color:var(--gold-light);}
.footer-disclaimer{background:rgba(0,0,0,0.2);padding:12px 0;font-size:0.78rem;color:rgba(255,255,255,0.4);text-align:center;}

/* ===== BACK TO TOP ===== */
#backToTop{
  position:fixed;bottom:32px;right:32px;width:46px;height:46px;
  background:var(--green);color:var(--white);border:none;border-radius:8px;
  cursor:pointer;display:flex;align-items:center;justify-content:center;
  font-size:1rem;box-shadow:var(--shadow-lg);opacity:0;pointer-events:none;
  transform:translateY(10px);transition:var(--transition);z-index:999;
}
#backToTop.visible{opacity:1;pointer-events:auto;transform:none;}
#backToTop:hover{background:var(--green2);transform:translateY(-3px);}

/* ===== RESPONSIVE ===== */
@media(max-width:1024px){
  .about-grid,.faq-layout,.contact-grid{grid-template-columns:1fr;gap:50px;}
  .services-grid{grid-template-columns:repeat(2,1fr);}
  .pricing-grid{grid-template-columns:1fr;max-width:420px;margin:0 auto;}
  .price-card.featured{transform:none;}
  .testi-grid{grid-template-columns:1fr 1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;gap:36px;}
  .about-stat-pill{position:relative;bottom:auto;left:auto;margin-top:20px;width:fit-content;}
}
@media(max-width:768px){
  .nav-menu{
    display:none;position:fixed;top:70px;left:0;right:0;
    background:var(--ivory);padding:18px 24px 28px;
    flex-direction:column;border-bottom:1px solid rgba(27,67,50,0.1);
    box-shadow:var(--shadow);gap:4px;
  }
  .nav-link{color:var(--text-mid) !important;}
  .nav-menu.open{display:flex;}
  .hamburger{display:flex;}
  .services-grid{grid-template-columns:1fr;}
  .testi-grid{grid-template-columns:1fr;}
  .contact-form{padding:28px 20px;}
  .form-row{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr;gap:28px;}
  .footer-bottom{flex-direction:column;gap:10px;text-align:center;}
  .hero-btns{flex-direction:column;max-width:260px;}
  .hero-trust{flex-direction:column;align-items:flex-start;gap:14px;}
}
