:root {
  --blue-900: #08215c;
  --blue-800: #0b2f78;
  --blue-600: #0869c5;
  --blue-400: #3fb2ff;
  --ink: #111827;
  --muted: #5c667a;
  --white: #ffffff;
  --soft: #f5f9ff;
  --line: rgba(8, 33, 92, 0.14);
  --shadow: 0 22px 60px rgba(8, 33, 92, 0.16);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.section-padding { padding: 86px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.navbar {
  width: min(1180px, calc(100% - 28px));
  height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  color: var(--blue-900);
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-600));
  color: white;
  box-shadow: 0 12px 25px rgba(8, 33, 92, 0.25);
}
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--blue-900);
  font-weight: 700;
  font-size: 0.94rem;
}
.nav-links a:hover { background: var(--soft); }
.menu-toggle {
  display: none;
  border: 0;
  background: var(--blue-900);
  color: white;
  border-radius: 12px;
  width: 42px;
  height: 42px;
  font-size: 1.2rem;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}
.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
  opacity: 0.25;
}
.hero-bg::before {
  width: 420px;
  height: 420px;
  background: var(--blue-400);
  right: -120px;
  top: 90px;
}
.hero-bg::after {
  width: 260px;
  height: 260px;
  background: var(--blue-900);
  left: -80px;
  bottom: 40px;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 38px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-800);
  background: rgba(8, 105, 197, 0.08);
  border: 1px solid rgba(8, 105, 197, 0.14);
  padding: 8px 13px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(2.5rem, 5vw, 5.1rem);
  line-height: 0.96;
  color: var(--blue-900);
  margin: 22px 0 20px;
  letter-spacing: -0.055em;
}
.lead {
  color: var(--muted);
  font-size: clamp(1.06rem, 1.6vw, 1.25rem);
  line-height: 1.75;
  max-width: 670px;
}
.hero-alert {
  margin: 28px 0;
  padding: 22px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 8px;
}
.hero-alert strong { color: var(--blue-900); font-size: 1.25rem; }
.hero-alert span { color: var(--muted); font-weight: 700; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-600));
  box-shadow: 0 14px 30px rgba(8, 105, 197, 0.28);
}
.btn-secondary {
  color: var(--blue-900);
  background: white;
  border: 1px solid var(--line);
}
.logo-card {
  border-radius: var(--radius);
  background: white;
  padding: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.main-logo {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: contain;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}
.section-heading h2 {
  font-size: clamp(2rem, 3.3vw, 3.5rem);
  line-height: 1.05;
  color: var(--blue-900);
  letter-spacing: -0.04em;
  margin: 18px 0 0;
}
.section-heading.center { text-align: center; max-width: 760px; margin: 0 auto 46px; }
.section-heading.center p { color: var(--muted); line-height: 1.7; margin-top: 16px; }
.intro-text {
  padding: 34px;
  border-radius: var(--radius);
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.82;
  font-size: 1.08rem;
}
.intro-text strong { color: var(--blue-900); }

.notice { padding: 24px 0; }
.notice-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  padding: 32px;
  border-radius: var(--radius);
  color: white;
  background: radial-gradient(circle at 20% 20%, #1d8fff 0, #08215c 48%, #050b1f 100%);
  box-shadow: var(--shadow);
}
.notice-icon {
  width: 74px;
  height: 74px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.13);
  font-size: 2rem;
}
.notice-box h2 { margin-bottom: 8px; font-size: clamp(1.6rem, 3vw, 2.5rem); }
.notice-box p { margin-bottom: 0; color: rgba(255,255,255,0.82); line-height: 1.7; }

.services { background: #ffffff; }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  position: relative;
  min-height: 238px;
  padding: 28px;
  border-radius: 26px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 16px 38px rgba(8, 33, 92, 0.08);
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: rgba(8, 105, 197, 0.08);
  right: -30px;
  top: -30px;
}
.card-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: white;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-600));
  font-weight: 900;
  margin-bottom: 18px;
}
.service-card h3 { color: var(--blue-900); font-size: 1.22rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); line-height: 1.72; margin-bottom: 0; }
.wide-card { grid-column: span 3; min-height: auto; }

.process { background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%); }
.process-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 24px; align-items: stretch; }
.process-card {
  padding: 36px;
  border-radius: var(--radius);
  background: var(--blue-900);
  color: white;
  box-shadow: var(--shadow);
}
.process-card span { font-weight: 900; color: #9ed6ff; }
.process-card h2 { font-size: clamp(2rem, 3vw, 3.1rem); line-height: 1.04; margin: 15px 0; }
.process-card p { color: rgba(255,255,255,0.82); line-height: 1.75; margin: 0; }
.steps { display: grid; gap: 14px; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border-radius: 24px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(8, 33, 92, 0.07);
}
.step strong { color: var(--blue-600); font-size: 1.4rem; }
.step p { margin: 0; color: var(--muted); font-weight: 700; }

.contact-card {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding: 42px;
  border-radius: 34px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.contact-card h2 { color: var(--blue-900); font-size: clamp(2rem, 3vw, 3.3rem); line-height: 1.05; margin: 18px 0 14px; }
.contact-card p { color: var(--muted); line-height: 1.7; }
.lawyer-name { color: var(--blue-900) !important; font-weight: 900; }
.contact-actions { display: grid; gap: 14px; }
.phone-card {
  display: grid;
  gap: 5px;
  padding: 22px;
  border-radius: 23px;
  color: white;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-600));
  box-shadow: 0 18px 36px rgba(8, 105, 197, 0.21);
}
.phone-card span { opacity: 0.82; font-weight: 800; }
.phone-card strong { font-size: clamp(1.35rem, 2.2vw, 2rem); letter-spacing: 0.02em; }

.footer {
  background: #050b1f;
  color: white;
  padding: 30px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer p { margin: 0; color: rgba(255,255,255,0.76); }
.footer strong { color: white; }

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: #0aa545;
  box-shadow: 0 18px 38px rgba(10, 165, 69, 0.35);
  z-index: 25;
  font-size: 1.5rem;
  font-weight: 900;
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 880px) {
  .section-padding { padding: 64px 0; }
  .menu-toggle { display: grid; place-items: center; }
  .nav-links {
    position: absolute;
    top: 74px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .hero-grid,
  .intro-grid,
  .process-grid,
  .contact-card { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .wide-card { grid-column: auto; }
  .notice-box { grid-template-columns: 1fr; }
  .brand span:last-child { font-size: 0.93rem; }
  .contact-card { padding: 28px; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 22px, 1120px); }
  .navbar { width: min(100% - 20px, 1180px); }
  .cta-row .btn { width: 100%; }
  .logo-card { padding: 9px; }
  .hero-alert, .intro-text, .notice-box, .service-card, .process-card, .step { padding: 22px; }
  .floating-whatsapp { width: 52px; height: 52px; }
}
