/* =========================
   DESIGN TOKENS
   ========================= */
:root{
  --blue-900:#0a2a43;
  --blue-700:#0a4d8c;
  --blue-600:#1769aa;
  --green-500:#2bb673;
  --green-600:#229a62;
  --slate-900:#0f172a;
  --slate-700:#334155;
  --slate-600:#475569;
  --slate-500:#64748b;
  --slate-300:#cbd5e1;
  --slate-200:#e2e8f0;
  --slate-100:#f1f5f9;
  --white:#ffffff;

  --radius-lg:1rem;
  --radius-xl:1.25rem;
  --shadow-sm:0 6px 20px rgba(2,19,34,.06);
  --shadow-md:0 12px 30px rgba(2,19,34,.08);

  --container:1100px;
}

/* =========================
   BASE / RESET
   ========================= */
*{box-sizing:border-box}
html:focus-within{scroll-behavior:smooth}
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(--slate-900);
  line-height:1.6;
  background:linear-gradient(180deg, var(--slate-100), #fff 35%);
}
img{max-width:100%;display:block}
a{color:var(--blue-700);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3{line-height:1.2;margin:0 0 .6rem}
h1{font-size:clamp(2rem, 4vw, 3rem)}
h2{font-size:clamp(1.5rem, 2.8vw, 2rem)}
h3{font-size:clamp(1.125rem, 2.2vw, 1.25rem)}
p{margin:.4rem 0 .9rem}

/* Accessibility */
:focus-visible{outline:3px solid var(--green-500);outline-offset:3px}
.skip-link{
  position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden;
}
.skip-link:focus{position:static;width:auto;height:auto;padding:.5rem .75rem;background:var(--green-500);color:#fff;border-radius:.5rem}

/* =========================
   LAYOUT HELPERS
   ========================= */
.container{max-width:var(--container);margin-inline:auto;padding:0 1rem}
.section{padding: clamp(2.5rem, 6vw, 5rem) 0}
.section.alt{background:var(--slate-100)}
.grid{display:grid;gap:clamp(1rem, 2vw, 1.25rem)}
.grid.two{grid-template-columns:1fr;align-items:start}
.grid.three{grid-template-columns:1fr}
.grid.four{grid-template-columns:1fr}
.cards .card{border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);background:#fff;padding:1.25rem}
.card.highlight{border:1px solid var(--slate-200);background:linear-gradient(180deg,#fff, var(--slate-100))}
.lead{color:var(--slate-700)}

/* =========================
   HEADER / NAV
   ========================= */
.site-header{
  position:sticky;top:0;z-index:10;background:rgba(255,255,255,.8);
  backdrop-filter:saturate(180%) blur(10px);border-bottom:1px solid var(--slate-200)
}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:.75rem 0}
.brand{display:flex;gap:.5rem;align-items:center;font-weight:700}
.brand-mark{font-size:1.25rem}
.brand-text{letter-spacing:.3px}

.nav{display:flex;gap:.75rem;list-style:none;margin:0;padding:0;flex-wrap:wrap}
.nav a{padding:.5rem .75rem;border-radius:.6rem}
.nav a:hover{background:var(--slate-100);text-decoration:none}

/* Buttons */
.btn{
  display:inline-block;border-radius:.8rem;padding:.75rem 1rem;font-weight:600;border:1px solid transparent;cursor:pointer
}
.btn-solid{
  background:linear-gradient(135deg, var(--blue-700), var(--green-500));
  color:#fff;box-shadow:var(--shadow-md)
}
.btn-solid:hover{filter:brightness(1.05)}
.btn-outline{
  border-color:var(--blue-700);color:var(--blue-700);background:#fff
}
.btn-outline:hover{background:var(--slate-100)}

/* =========================
   HERO
   ========================= */
.hero{
  position:relative;isolation:isolate;
  background:linear-gradient(135deg, var(--blue-700), var(--green-500));
  color:#fff;overflow:hidden
}
.hero-inner{padding: clamp(3rem, 10vw, 6rem) 0; text-align:center}
.hero p{max-width:55ch;margin:0 auto 1.25rem;color:#eef7ff}
.hero .btn{margin-top:.25rem}
.hero-accent{
  position:absolute;inset:auto -10% -30% -10%;height:60vh;pointer-events:none;
  background:radial-gradient(60% 60% at 50% 0%, rgba(255,255,255,.25), rgba(255,255,255,0));
  z-index:-1
}

/* =========================
   LISTS & UTILITIES
   ========================= */
.checks{list-style:none;padding:0;margin:.75rem 0 0}
.checks li{padding-left:1.8rem;position:relative}
.checks li::before{
  content:"";position:absolute;left:0;top:.4rem;width:1rem;height:1rem;border-radius:50%;
  background:conic-gradient(from 0deg, var(--green-500), var(--blue-700));
  box-shadow:0 0 0 3px rgba(43,182,115,.15)
}

/* =========================
   SERVICES
   ========================= */
.service h3{margin-bottom:.2rem}
.service p{color:var(--slate-700)}

/* =========================
   ATTORNEYS
   ========================= */
.attorney .avatar{
  width:64px;height:64px;border-radius:50%;
  background:linear-gradient(135deg, var(--blue-600), var(--green-600));
  color:#fff;display:grid;place-items:center;font-weight:800;margin-bottom:.5rem
}
.attorney .role{color:var(--slate-600);margin-top:-.2rem}

/* =========================
   TESTIMONIALS
   ========================= */
.quotes .quote blockquote{margin:0 0 .6rem;color:var(--slate-800)}
.quotes figcaption{color:var(--slate-600);font-weight:600}

/* =========================
   CONTACT
   ========================= */
.contact-card p{margin:.25rem 0}
.contact-name{margin-top:0}
.form label{display:block;font-weight:600;margin-top:.5rem}
.form input,.form textarea{
  width:100%;padding:.7rem .8rem;margin-top:.25rem;border:1px solid var(--slate-300);
  border-radius:.6rem;background:#fff
}
.form input:focus,.form textarea:focus{outline:none;box-shadow:0 0 0 3px rgba(23,105,170,.18)}
.form button{margin-top:.9rem}
.form-note{font-size:.9rem;color:var(--slate-600)}

/* =========================
   FOOTER
   ========================= */
.site-footer{border-top:1px solid var(--slate-200);background:#fff}
.footer-inner{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;justify-content:space-between;padding:1.25rem 0}
.footer-nav{list-style:none;display:flex;gap:.75rem;margin:0;padding:0}
.footer-nav a{padding:.25rem .5rem;border-radius:.5rem}
.footer-nav a:hover{background:var(--slate-100)}

/* =========================
   RESPONSIVE
   ========================= */
@media (min-width: 640px){
  .grid.two{grid-template-columns:1.1fr .9fr}
  .grid.three{grid-template-columns:repeat(3,1fr)}
  .grid.four{grid-template-columns:repeat(4,1fr)}
}

@media (prefers-reduced-motion: reduce){
  *{animation:none !important;transition:none !important;scroll-behavior:auto !important}
}
