:root {
  --ink: #111827;
  --muted: #5f6b7a;
  --navy: #0b1f3a;
  --navy-soft: #10294b;
  --gold: #d8b45d;
  --gold-light: #f6e7bd;
  --white: #ffffff;
  --paper: #fbfbf7;
  --line: #e8e2d3;
  --shadow: 0 22px 65px rgba(11, 31, 58, 0.14);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }
.section-pad { padding: 88px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232,226,211,0.8);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.02em; }
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy), #18375f);
  color: var(--gold);
  box-shadow: 0 14px 32px rgba(11,31,58,0.2);
}
.brand-text { font-size: 1.1rem; color: var(--navy); }
.nav-links { display: flex; align-items: center; gap: 22px; color: var(--muted); font-weight: 700; }
.nav-links a:hover { color: var(--navy); }
.nav-cta { color: var(--navy) !important; border: 1px solid var(--gold); padding: 10px 16px; border-radius: 999px; background: #fffaf0; }
.nav-toggle { display: none; background: transparent; border: 0; width: 44px; height: 44px; }
.nav-toggle span { display:block; width: 25px; height: 2px; background: var(--navy); margin: 6px auto; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 10%, rgba(216,180,93,0.22), transparent 28%),
    radial-gradient(circle at 88% 28%, rgba(11,31,58,0.11), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbfbf7 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(11,31,58,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(11,31,58,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 0.98fr; align-items: center; gap: 52px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); border-radius: 10px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(3rem, 8vw, 6rem); line-height: .95; margin-bottom: 18px; color: var(--navy); letter-spacing: -0.08em; }
.hero-subtitle { color: var(--navy); font-size: clamp(1.2rem, 2vw, 1.7rem); font-weight: 800; margin-bottom: 18px; }
.hero-text { max-width: 650px; color: var(--muted); font-size: 1.13rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 13px 21px; border-radius: 999px; font-weight: 800; border: 1px solid transparent; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { color: white; background: linear-gradient(135deg, var(--navy), var(--navy-soft)); box-shadow: 0 16px 35px rgba(11,31,58,.22); }
.btn.secondary { color: var(--navy); background: var(--white); border-color: var(--line); }
.btn.full { width: 100%; border: 0; }
.hero-contact { display: flex; flex-direction: column; gap: 4px; color: var(--muted); }
.hero-contact a { color: var(--navy); font-size: 1.2rem; font-weight: 900; }

.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.legal-card { background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.main-card { width: min(420px, 100%); min-height: 430px; padding: 34px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.main-card::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -86px; bottom: -82px; background: rgba(216,180,93,.16); }
.card-topline { width: 100%; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--gold), var(--navy)); }
.scales-icon { position: relative; width: 210px; height: 185px; margin: 20px auto; }
.scales-icon span { position:absolute; display:block; background: var(--navy); }
.beam { width: 170px; height: 8px; top: 38px; left: 20px; border-radius: 99px; }
.pillar { width: 10px; height: 122px; top: 32px; left: 100px; border-radius: 99px; }
.base { width: 110px; height: 12px; bottom: 18px; left: 50px; border-radius: 99px; }
.left-pan, .right-pan { width: 62px; height: 34px; background: transparent !important; border-bottom: 9px solid var(--gold); border-left: 2px solid var(--gold); border-right: 2px solid var(--gold); border-radius: 0 0 60px 60px; top: 75px; }
.left-pan { left: 10px; } .right-pan { right: 10px; }
.main-card h2 { color: var(--navy); font-size: 2rem; letter-spacing: -0.04em; }
.chips { display:flex; flex-wrap:wrap; gap:10px; position:relative; z-index:1; }
.chips span { padding:10px 14px; border-radius:999px; background: #fff8e4; color: var(--navy); font-weight:800; border:1px solid var(--gold-light); }
.floating-card { position:absolute; background: var(--navy); color: white; padding: 14px 18px; border-radius: 18px; box-shadow: var(--shadow); font-weight: 800; }
.card-one { top: 70px; right: 10px; }
.card-two { bottom: 70px; left: 0; background: var(--gold); color: var(--navy); }

.intro { background: var(--white); }
.intro-grid { display:grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items:start; }
.section-title h2, .center-title h2, .statement h2, .contact h2 { font-size: clamp(2rem, 4vw, 3.3rem); color: var(--navy); line-height: 1.05; letter-spacing:-0.05em; margin-bottom:16px; }
.intro-text { border-left: 5px solid var(--gold); padding: 8px 0 8px 28px; color: var(--muted); font-size: 1.08rem; }
.intro-text strong { color: var(--navy); }

.areas { background: var(--paper); }
.center-title { text-align:center; max-width: 660px; margin: 0 auto 42px; }
.center-title .eyebrow { justify-content:center; }
.center-title p { color: var(--muted); }
.area-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.area-card { position:relative; min-height: 340px; padding: 30px; border-radius: var(--radius-lg); background: white; border:1px solid var(--line); box-shadow: 0 14px 35px rgba(11,31,58,.07); overflow:hidden; }
.area-card::after { content:""; position:absolute; width:150px; height:150px; border-radius:50%; right:-70px; bottom:-70px; background: rgba(216,180,93,.12); }
.area-card.featured { background: linear-gradient(145deg, var(--navy), #153763); color: white; transform: translateY(-12px); }
.area-card.featured p, .area-card.featured .area-number { color: rgba(255,255,255,.76); }
.area-number { color: var(--muted); font-weight:900; letter-spacing:.1em; }
.area-icon { width: 66px; height:66px; display:grid; place-items:center; border-radius:22px; margin: 24px 0; background:#fff8e4; color: var(--navy); font-size:1.55rem; font-weight:900; border:1px solid var(--gold-light); }
.featured .area-icon { background: var(--gold); }
.area-card h3 { font-size:1.55rem; margin-bottom:12px; }
.area-card p { color: var(--muted); position:relative; z-index:1; }

.statement { background: white; }
.statement-box { display:flex; align-items:center; justify-content:space-between; gap:30px; padding: 42px; border-radius: var(--radius-lg); background: linear-gradient(135deg, #fffaf0, #ffffff); border:1px solid var(--line); box-shadow: var(--shadow); }
.statement-box p { color: var(--muted); max-width:680px; margin-bottom:0; }
.statement-box .btn { flex: 0 0 auto; }

.contact { background: linear-gradient(180deg, #fbfbf7, #fff); }
.contact-grid { display:grid; grid-template-columns: 1fr .9fr; gap:28px; align-items:stretch; }
.contact-panel, .message-card { border-radius: var(--radius-lg); background:white; border:1px solid var(--line); box-shadow: 0 18px 45px rgba(11,31,58,.08); padding:34px; }
.contact-panel p { color: var(--muted); }
.contact-list { display:grid; gap:14px; margin-top:28px; }
.contact-item { padding:18px; border-radius: var(--radius-md); background: var(--paper); border:1px solid var(--line); }
.contact-item span { display:block; color: var(--muted); font-size:.88rem; margin-bottom:4px; }
.contact-item strong { color: var(--navy); }
.message-card h3 { color: var(--navy); font-size:1.6rem; }
.message-card label { display:block; font-weight:800; color:var(--navy); margin: 14px 0 8px; }
.message-card select, .message-card textarea { width:100%; border:1px solid var(--line); border-radius: var(--radius-sm); padding:14px; font: inherit; color: var(--ink); background:#fff; outline: none; }
.message-card textarea { resize: vertical; }
.message-card select:focus, .message-card textarea:focus { border-color: var(--gold); box-shadow:0 0 0 4px rgba(216,180,93,.14); }

.footer { background: var(--navy); color:white; padding:34px 0; }
.footer-grid { display:flex; justify-content:space-between; gap:24px; align-items:center; }
.footer p { margin: 4px 0; color: rgba(255,255,255,.76); }
.footer a { color: var(--gold); font-weight: 800; }
.whatsapp-float { position:fixed; right: 20px; bottom: 20px; z-index:100; width:62px; height:62px; display:grid; place-items:center; border-radius:50%; background: #25d366; color:white; font-weight:900; box-shadow: 0 14px 32px rgba(37,211,102,.34); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .nav-toggle { display:block; }
  .nav-links { position:absolute; top:76px; left:18px; right:18px; display:none; flex-direction:column; align-items:stretch; background:white; padding:18px; border:1px solid var(--line); border-radius:22px; box-shadow: var(--shadow); }
  .nav-links.open { display:flex; }
  .hero-grid, .intro-grid, .contact-grid { grid-template-columns:1fr; }
  .hero-visual { min-height: 430px; }
  .area-grid { grid-template-columns:1fr; }
  .area-card.featured { transform:none; }
  .statement-box, .footer-grid { flex-direction:column; align-items:flex-start; }
}
@media (max-width: 560px) {
  .section-pad { padding: 64px 0; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .main-card { min-height: 380px; padding: 24px; }
  .floating-card { display:none; }
  .contact-panel, .message-card, .statement-box { padding: 24px; }
}
