@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

:root{
  --bg:#fbfbfb;
  --surface:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --line:rgba(15,23,42,.12);
  --accent:#0B2A5C;   /* DD Legal blue */
  --accent2:#274472;  /* secondary */
  --radius:18px;
  --shadow:0 12px 40px rgba(2, 8, 23, .10);
  --shadow2:0 2px 14px rgba(2, 8, 23, .08);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:"Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
}

a{color:inherit}
img{max-width:100%;display:block}
.container{width:min(1120px, calc(100% - 40px)); margin:0 auto}
@media (max-width:480px){ .container{width:calc(100% - 28px)} }

.skip{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip:focus{left:16px;top:16px;width:auto;height:auto;background:#fff;padding:10px 12px;border-radius:12px;box-shadow:var(--shadow2);z-index:9999}

/* Header */
.site-header{
  position:sticky; top:0; z-index:200;
  background:rgba(251,251,251,.86);
  backdrop-filter:saturate(160%) blur(10px);
  border-bottom:1px solid var(--line);
}
.nav-wrap{display:flex;align-items:center;gap:18px; min-height:78px}
.brand{display:flex;align-items:center;gap:12px; text-decoration:none; min-width:0}
.brand img{width:44px;height:44px}
.brand .brand-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.brand .name{font-weight:800;letter-spacing:.2px;font-size:16px;line-height:1}
.brand .tag{font-size:12px;color:var(--muted);line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:280px}

.site-nav{display:flex;gap:18px;align-items:center;margin-left:14px}
.site-nav a{
  text-decoration:none;
  font-weight:700;
  font-size:14px;
  color:rgba(15,23,42,.82);
  padding:10px 10px;
  border-radius:999px;
}
.site-nav a:hover{background:rgba(11,42,92,.08);color:rgba(15,23,42,1)}
.site-nav a.active{background:rgba(11,42,92,.12);color:rgba(15,23,42,1)}

.header-actions{margin-left:auto;display:flex;gap:10px;align-items:center}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 16px;
  min-height:44px;
  border-radius:999px;
  font-weight:800;
  text-decoration:none;
  border:1px solid transparent;
  box-shadow:none;
  cursor:pointer;
  transition:transform .08s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn:active{transform:translateY(1px)}
.btn-primary{
  background:linear-gradient(90deg,var(--accent),var(--accent2));
  color:#fff;
  box-shadow:var(--shadow2);
}
.btn-primary:hover{box-shadow:var(--shadow)}
.btn-ghost{
  background:#fff;
  border-color:rgba(11,42,92,.28);
  color:var(--accent);
}
.btn-ghost:hover{border-color:rgba(11,42,92,.45); box-shadow:var(--shadow2)}
.btn-link{padding:10px 12px; background:transparent; border-color:transparent; color:rgba(15,23,42,.82)}
.btn-link:hover{background:rgba(11,42,92,.08); color:rgba(15,23,42,1)}

.nav-toggle{display:none; margin-left:auto; background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px 12px;cursor:pointer}
.nav-toggle span{display:block;width:22px;height:2px;background:rgba(15,23,42,.86);margin:5px 0;border-radius:2px}
@media (max-width: 900px){
  .site-nav{display:none; position:absolute; left:0; right:0; top:78px; background:rgba(251,251,251,.96);
    border-bottom:1px solid var(--line); padding:12px 18px; flex-direction:column; align-items:flex-start; gap:6px}
  .site-nav.open{display:flex}
  .header-actions{display:none}
  .nav-toggle{display:inline-block}
  .nav-wrap{position:relative}
}

/* Sections */
.section{padding:64px 0}
.section.small{padding:40px 0}
.section-title{margin:0 0 12px 0;font-size:40px;line-height:1.15}
.section-lead{margin:0;max-width:820px;color:var(--muted);font-size:18px}

.card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow2);
}
.card.pad{padding:28px}
@media (max-width:480px){ .card.pad{padding:20px} }

/* Hero */
.hero{
  position:relative;
  padding:72px 0 56px;
  overflow:hidden;
}
.hero .hero-bg{
  position:absolute; inset:-8%;
  background:url('../assets/hero-bg.webp') center/cover no-repeat;
  opacity:.16;
  transform:rotate(-2deg) scale(1.06);
  z-index:0;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(900px 420px at 20% 0%, rgba(11,42,92,.16), transparent 72%),
    radial-gradient(820px 380px at 80% 20%, rgba(39,68,114,.14), transparent 72%),
    linear-gradient(180deg, rgba(251,251,251,.92), rgba(251,251,251,.96));
  z-index:1;
  pointer-events:none;
}
.hero .hero-wrap{position:relative; z-index:2; display:grid; grid-template-columns:1.2fr .8fr; gap:26px; align-items:center}
@media (max-width:900px){ .hero .hero-wrap{grid-template-columns:1fr; gap:18px} }

.hero h1{margin:0 0 14px 0;font-size:52px;line-height:1.06;letter-spacing:-.4px}
@media (max-width:480px){ .hero h1{font-size:36px} }
.hero p{margin:0 0 18px 0;color:var(--muted);font-size:18px}
.hero .cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.cta .btn{flex:0 0 auto}

.hero .hero-art{
  border-radius:24px;
  overflow:visible;
  border:none;
  box-shadow:none;
  background:transparent;
}
.hero .hero-art img{width:100%;height:auto;display:block;filter:drop-shadow(0 24px 44px rgba(0,0,0,.18))}


/* Contact cards */
.contact-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}
.contact-cards .btn{width:100%}
@media (max-width:900px){ .contact-cards{grid-template-columns:1fr} }

/* Steps */
.steps{display:grid;grid-template-columns:repeat(4, minmax(0,1fr));gap:18px;margin-top:22px}
@media (max-width:900px){ .steps{grid-template-columns:1fr} }
.step{padding:22px;border-radius:18px;border:1px solid var(--line);background:#fff;box-shadow:var(--shadow2)}
.step .num{width:36px;height:36px;border-radius:12px;background:rgba(11,42,92,.12);color:var(--accent);display:flex;align-items:center;justify-content:center;font-weight:900}
.step .sticker{width:76px;height:76px}
.step h3{margin:12px 0 8px 0;font-size:18px}
.step p{margin:0;color:var(--muted)}

/* Services grid */
.grid{display:grid;grid-template-columns:repeat(3, minmax(0,1fr));gap:16px;margin-top:22px}
@media (max-width:980px){ .grid{grid-template-columns:repeat(2, minmax(0,1fr))} }
@media (max-width:640px){ .grid{grid-template-columns:1fr} }
.service{
  padding:22px;
  border-radius:18px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow2);
  text-decoration:none;
}
.service:hover{box-shadow:var(--shadow)}
.service .title{display:flex;align-items:center;gap:10px;font-weight:900;margin:0 0 8px 0}
.service .dot{width:10px;height:10px;border-radius:999px;background:linear-gradient(90deg,var(--accent),var(--accent2))}
.service .desc{margin:0;color:var(--muted)}

/* Team */
.team-grid{display:grid;gap:16px;margin-top:22px}
.profile{
  display:grid; grid-template-columns:140px 1fr; gap:20px; align-items:center;
  padding:22px; border-radius:18px; background:#fff; border:1px solid var(--line); box-shadow:var(--shadow2)
}
.profile img{width:140px;height:140px}
.profile h2{margin:0 0 8px 0}
.profile .role{margin:0 0 12px 0; color:var(--muted)}
.profile ul{margin:0 0 12px 18px; padding:0}
.profile li{margin:6px 0}
@media (max-width:640px){
  .profile{grid-template-columns:1fr}
  .profile img{width:120px;height:120px}
}

/* Contact form */
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}
@media (max-width:720px){ .form-grid{grid-template-columns:1fr} }
label{display:flex;flex-direction:column;gap:8px;font-weight:700;font-size:13px;color:rgba(15,23,42,.82)}
input,select,textarea{
  width:100%;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.18);
  padding:12px 12px;
  font:inherit;
  background:#fff;
  outline:none;
}
textarea{min-height:120px;resize:vertical}
input:focus,select:focus,textarea:focus{border-color:rgba(11,42,92,.55); box-shadow:0 0 0 4px rgba(11,42,92,.10)}
.help{font-size:12px;color:var(--muted);font-weight:600}
.checkbox{display:flex;gap:10px;align-items:flex-start;margin-top:12px;color:var(--muted);font-weight:600}
.checkbox input{width:18px;height:18px;margin-top:2px}

/* Footer */
.site-footer{padding:34px 0 44px;border-top:1px solid var(--line);background:#fbfbfb}
.footer-inner{display:flex;align-items:flex-start;gap:18px}
.footer-brand{display:flex;align-items:center;gap:12px}
.footer-brand img{width:28px;height:28px}
.footer-brand .footer-name{font-weight:900}
.footer-brand .footer-tag{font-size:12px;color:var(--muted)}
.footer-links{margin-left:auto;display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end}
.footer-links a{font-weight:800;font-size:13px;text-decoration:none;color:rgba(15,23,42,.78);padding:10px 12px;border-radius:999px}
.footer-links a:hover{background:rgba(11,42,92,.08);color:rgba(15,23,42,1)}
.footer-copy{margin-top:14px;color:var(--muted);font-size:12px}
@media (max-width:720px){
  .footer-inner{flex-direction:column;align-items:flex-start}
  .footer-links{margin-left:0;justify-content:flex-start}
}
