/* AC Abogados — Landing Divorcios FINAL
   Paleta:
   - Verde profundo: #162a2c
   - Oliva/arena: #a6a195
   - Verde gris: #5e6c5b
   - Marfil: #f3f0eb
*/
:root{
  --text:#162a2c;
  --wa:#25D366;

  --ink:#053203;
  --muted:#5e6c5b;
  --sand:#a6a195;
  --paper:#f3f0eb;
  --white:#ffffff;
  --shadow: 0 10px 30px rgba(22,42,44,.10);
  --radius: 18px;
  --radius2: 24px;
  --container: 1080px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:linear-gradient(180deg, var(--paper) 0%, #fff 60%);
}
a{color:inherit}
.container{max-width:var(--container); margin:0 auto; padding:0 18px}

.skip{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{left:18px; top:18px; width:auto; height:auto; padding:10px 12px; background:var(--white); border-radius:12px; box-shadow:var(--shadow)}

.topbar{
  position:sticky; top:0; z-index:50;
  background:rgba(243,240,235,.92);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid rgba(22,42,44,.10);
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; padding:14px 0;
}
.brand{display:flex; align-items:center; gap:10px; min-width:220px}
.brand__mark{
  width:40px; height:40px; border-radius:14px;
  display:grid; place-items:center;
  background:var(--ink); color:var(--paper);
  font-weight:800; letter-spacing:.5px;
}
.brand__name{font-weight:800; line-height:1}
.brand__tag{font-size:12px; color:var(--muted); margin-top:2px}

.nav{display:none; gap:14px; font-size:14px; color:rgba(22,42,44,.82)}
.nav a{padding:8px 10px; border-radius:12px; text-decoration:none}
.nav a:hover{background:rgba(22,42,44,.06)}
@media (min-width: 860px){
  .nav{display:flex}
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  border-radius:999px;
  padding:12px 16px;
  border:1px solid rgba(22,42,44,.16);
  background:var(--white);
  text-decoration:none;
  font-weight:800;
  box-shadow: 0 8px 18px rgba(22,42,44,.06);
}
.btn:hover{transform: translateY(-1px)}
.btn:active{transform: translateY(0)}
.btn--primary{
  background:var(--ink);
  color:var(--paper);
  border-color:transparent;
}
.btn--ghost{
  background:transparent;
  box-shadow:none;
}
.btn--lg{padding:14px 18px; font-size:15px}
.btn--xl{padding:16px 22px; font-size:16px}
.btn--full{width:100%}

.hero{
  padding:34px 0 18px;
}
.hero--img{
  background:
    linear-gradient(180deg, rgba(243,240,235,.55) 0%, rgba(243,240,235,.82) 45%, rgba(255,255,255,1) 100%),
    url("hero.jpg");
  background-size: cover;
  background-position: center;
}
.hero__inner{display:grid; gap:18px}
@media (min-width: 980px){
  .hero__inner{grid-template-columns: 1.2fr .8fr; align-items:start; gap:22px}
}

.pill{
  display:inline-flex; align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(166,161,149,.20);
  border:1px solid rgba(22,42,44,.10);
  color:rgba(22,42,44,.85);
  font-weight:800;
  font-size:13px;
}
h1{
  margin:14px 0 10px;
  font-size: clamp(30px, 4vw, 44px);
  line-height:1.05;
  letter-spacing:-.6px;
}
.lead{
  margin:0 0 18px;
  color:rgba(22,42,44,.84);
  font-size:16px;
  line-height:1.55;
  max-width: 56ch;
}
.hero__bullets{
  display:grid; gap:10px; margin: 10px 0 18px;
}
.bullet{
  display:flex; gap:12px; align-items:flex-start;
  padding:12px 12px;
  border-radius:var(--radius);
  background:rgba(255,255,255,.72);
  border:1px solid rgba(22,42,44,.10);
}
.bullet__icon{width:34px; height:34px; border-radius:14px; display:grid; place-items:center; background:rgba(22,42,44,.06)}
.bullet__title{font-weight:900}
.bullet__text{font-size:14px; color:rgba(22,42,44,.78); margin-top:2px}

.hero__cta{display:flex; gap:10px; flex-wrap:wrap}
.micro{margin:14px 0 0; font-size:13px; color:rgba(22,42,44,.70)}

.card{
  background:rgba(255,255,255,.90);
  border:1px solid rgba(22,42,44,.10);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding:18px;
}
.card__title{font-weight:900; font-size:16px}
.card__subtitle{font-size:13px; color:rgba(22,42,44,.70); margin-top:4px}
.checklist{margin:14px 0 12px; padding-left:18px; color:rgba(22,42,44,.86); line-height:1.6}
.card__note{
  font-size:13px; color:rgba(22,42,44,.72);
  padding:12px 12px;
  background:rgba(166,161,149,.18);
  border:1px solid rgba(22,42,44,.08);
  border-radius:16px;
  margin-bottom:12px;
}

.section{padding:46px 0}
.section--alt{background:linear-gradient(180deg, rgba(166,161,149,.12), rgba(255,255,255,0) 70%)}
.section__head h2{margin:0 0 8px; font-size:28px; letter-spacing:-.3px}
.section__head p{margin:0; color:rgba(22,42,44,.78); max-width: 70ch; line-height:1.55}

.steps{
  margin-top:18px;
  display:grid; gap:12px;
}
@media (min-width: 860px){
  .steps{grid-template-columns:repeat(3, 1fr)}
}
.step{
  background:rgba(255,255,255,.90);
  border:1px solid rgba(22,42,44,.10);
  border-radius: var(--radius2);
  padding:18px;
  box-shadow: 0 8px 22px rgba(22,42,44,.06);
}
.step__num{
  width:34px; height:34px; border-radius:14px;
  display:grid; place-items:center;
  background:rgba(22,42,44,.08);
  font-weight:900;
  margin-bottom:10px;
}
.step h3{margin:0 0 6px}
.step p{margin:0; color:rgba(22,42,44,.78); line-height:1.55}

.callout{
  margin-top:18px;
  border-radius: var(--radius2);
  padding:18px;
  border:1px solid rgba(22,42,44,.10);
  background:rgba(22,42,44,.04);
  display:flex; gap:14px; flex-wrap:wrap; align-items:center; justify-content:space-between;
}
.callout__title{font-weight:900}
.callout__text{color:rgba(22,42,44,.80); line-height:1.55; max-width: 78ch}

.grid3{
  margin-top:18px;
  display:grid; gap:12px;
}
@media (min-width: 860px){
  .grid3{grid-template-columns:repeat(3, 1fr)}
}
.tile{
  background:rgba(255,255,255,.90);
  border:1px solid rgba(22,42,44,.10);
  border-radius: var(--radius2);
  padding:18px;
  box-shadow: 0 8px 22px rgba(22,42,44,.06);
}
.tile h3{margin:0 0 6px}
.tile p{margin:0 0 10px; color:rgba(22,42,44,.78); line-height:1.55}
.mini{margin:0; padding-left:18px; color:rgba(22,42,44,.84); line-height:1.7; font-size:14px}

.ctaRow{
  margin-top:18px;
  border-radius: var(--radius2);
  padding:16px;
  background:rgba(255,255,255,.90);
  border:1px solid rgba(22,42,44,.10);
  display:flex; gap:12px; align-items:center; justify-content:space-between; flex-wrap:wrap;
}
.ctaRow__title{font-weight:900}
.ctaRow__text{font-size:14px; color:rgba(22,42,44,.76)}

.faq{margin-top:18px; border-radius: var(--radius2); overflow:hidden; border:1px solid rgba(22,42,44,.10); background:rgba(255,255,255,.90)}
.faq__item{
  width:100%;
  display:flex; justify-content:space-between; align-items:center;
  gap:12px;
  padding:16px 16px;
  background:transparent;
  border:0;
  cursor:pointer;
  font:inherit;
  text-align:left;
}
.faq__item:hover{background:rgba(22,42,44,.04)}
.faq__q{font-weight:900}
.faq__icon{width:28px; height:28px; border-radius:12px; display:grid; place-items:center; background:rgba(22,42,44,.08); font-weight:900}
.faq__a{
  padding:0 16px 16px;
  color:rgba(22,42,44,.78);
  line-height:1.55;
  border-bottom:1px solid rgba(22,42,44,.08);
}
.faq__a:last-child{border-bottom:0}

.ctaBox{
  margin-top:18px;
  border-radius: var(--radius2);
  padding:18px;
  background:linear-gradient(135deg, rgba(22,42,44,.10), rgba(166,161,149,.18));
  border:1px solid rgba(22,42,44,.10);
  display:flex; gap:14px; align-items:center; justify-content:space-between; flex-wrap:wrap;
}
.ctaBox__title{font-weight:900}
.ctaBox__text{color:rgba(22,42,44,.78); margin-top:4px}

.reviewsWidget{
  margin-top:18px;
  border-radius: var(--radius2);
  overflow:hidden;
  border:1px solid rgba(22,42,44,.10);
  background:rgba(255,255,255,.92);
  box-shadow: 0 8px 22px rgba(22,42,44,.06);
  padding: 14px;
}

/* Fallback cards */
.reviewsFallback{
  margin-top:18px;
  display:grid; gap:12px;
}
@media (min-width: 860px){
  .reviewsFallback{grid-template-columns:repeat(3,1fr)}
}
.review{
  background:rgba(255,255,255,.90);
  border:1px solid rgba(22,42,44,.10);
  border-radius: var(--radius2);
  padding:18px;
  box-shadow: 0 8px 22px rgba(22,42,44,.06);
}
.review__stars{letter-spacing:1px}
.review p{margin:10px 0 12px; color:rgba(22,42,44,.78); line-height:1.55}
.review__who{font-size:13px; color:rgba(22,42,44,.65)}

.note{
  margin-top:14px;
  padding:14px 14px;
  border-radius:18px;
  border:1px dashed rgba(22,42,44,.22);
  color:rgba(22,42,44,.76);
  background:rgba(255,255,255,.74);
}

.final{
  padding:44px 0;
  background:var(--ink);
  color:var(--paper);
}
.final__inner{
  display:flex; gap:14px; align-items:center; justify-content:space-between; flex-wrap:wrap;
}
.final h2{margin:0 0 6px; letter-spacing:-.2px}
.final p{margin:0; opacity:.9}

.footer{
  padding:22px 0 84px; /* room for sticky */
  background:rgba(243,240,235,.9);
  border-top:1px solid rgba(22,42,44,.10);
}
.footer__inner{display:flex; gap:14px; align-items:center; justify-content:space-between; flex-wrap:wrap}
.footer__brand{font-weight:900}
.footer__small{font-size:12.5px; color:rgba(22,42,44,.70); max-width: 88ch}
.footer__wa{text-decoration:none; font-weight:900}

.sticky{
  position:fixed; left:0; right:0; bottom:0;
  background:rgba(255,255,255,.88);
  border-top:1px solid rgba(22,42,44,.12);
  backdrop-filter:saturate(140%) blur(10px);
  z-index:60;
}
.sticky__inner{display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 0}
.sticky__title{font-weight:900}
.sticky__sub{font-size:13px; color:rgba(22,42,44,.70)}


/* WhatsApp CTA */
.btn--wa{
  background: var(--wa);
  color: #fff;
  border-color: transparent;
}
