:root {
  --ink: #122633;
  --muted: #5c6c75;
  --blue-900: #073a4d;
  --blue-800: #075f78;
  --blue-700: #0d7894;
  --blue-500: #1693ad;
  --mint: #afcbc4;
  --mint-light: #eaf3f1;
  --line: #d8e3e6;
  --white: #ffffff;
  --soft: #f4f8f9;
  --shadow: 0 20px 60px rgba(5, 50, 67, .12);
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 36px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--mint); color: var(--blue-900); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 104px 0; }
.section-soft { background: var(--soft); }
.section-dark { color: var(--white); background: var(--blue-900); }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 9999;
  background: var(--white);
  color: var(--blue-900);
  padding: 10px 16px;
  border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid rgba(7,95,120,.1);
  backdrop-filter: blur(18px);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(5,50,67,.1); }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: 24px; }
.brand { width: 158px; height: 68px; display: flex; align-items: center; overflow: hidden; flex: 0 0 auto; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 23px; margin-left: auto; }
.main-nav a { position: relative; color: var(--ink); font-weight: 700; font-size: .89rem; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--blue-700); transition: right .25s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: var(--white); border-radius: 12px; padding: 11px; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--blue-900); border-radius: 10px; transition: transform .25s ease, opacity .25s ease; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  border: 1px solid var(--blue-700);
  border-radius: 999px;
  background: var(--blue-700);
  color: var(--white);
  font-weight: 800;
  letter-spacing: .01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(22,147,173,.24); background: var(--blue-500); }
.button-small { min-height: 44px; padding: 9px 18px; font-size: .88rem; }
.button-ghost { background: transparent; border-color: rgba(255,255,255,.42); }
.button-ghost:hover { background: rgba(255,255,255,.1); }
.button-light { background: var(--white); color: var(--blue-900); border-color: var(--white); }
.button-outline { background: transparent; color: var(--blue-900); border-color: var(--blue-700); }

.hero { position: relative; overflow: hidden; padding: 92px 0 84px; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(7,58,77,.98), rgba(7,95,120,.92) 55%, rgba(13,120,148,.86)); }
.hero-decoration { position: absolute; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; pointer-events: none; }
.hero-decoration-one { width: 520px; height: 520px; right: -150px; top: -140px; }
.hero-decoration-two { width: 300px; height: 300px; left: 45%; bottom: -210px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 70px; }
.eyebrow { margin: 0 0 14px; color: var(--blue-700); font-size: .78rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.section-dark .eyebrow { color: var(--mint); }
.hero h1 { max-width: 740px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.9rem, 6vw, 5.8rem); line-height: .98; letter-spacing: -.045em; }
.hero-subtitle { max-width: 720px; margin: 26px 0 4px; color: #dceef2; font-size: clamp(1.12rem, 2vw, 1.45rem); font-weight: 700; }
.hero-lead { margin: 8px 0 0; color: var(--mint); font-family: Georgia, "Times New Roman", serif; font-size: 1.12rem; font-style: italic; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 36px; }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 650px; }
.hero-proof div { padding: 14px 16px; border: 1px solid rgba(255,255,255,.15); border-radius: 16px; background: rgba(255,255,255,.07); }
.hero-proof strong { display: block; font-size: 1.2rem; }
.hero-proof span { display: block; color: #cfe1e5; font-size: .78rem; line-height: 1.35; }
.hero-visual { position: relative; }
.portrait-frame { max-width: 470px; margin-left: auto; padding: 12px; border-radius: 38px; background: rgba(255,255,255,.13); box-shadow: 0 30px 80px rgba(0,0,0,.22); }
.portrait-frame img { width: 100%; border-radius: 28px; }
.floating-card { position: absolute; left: -25px; bottom: 32px; width: min(300px, 76%); padding: 20px 22px; border-radius: 20px; background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.floating-card span, .floating-card strong { display: block; }
.floating-card-label { color: var(--blue-700); font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.floating-card strong { margin: 4px 0; font-size: 1.08rem; }
.floating-card > span:last-child { color: var(--muted); font-size: .87rem; }

.specialty-strip { position: relative; z-index: 2; margin-top: -1px; background: var(--white); border-bottom: 1px solid var(--line); }
.specialty-grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.specialty-grid span { display: flex; align-items: center; justify-content: center; min-height: 82px; padding: 14px; text-align: center; font-weight: 800; font-size: .86rem; border-right: 1px solid var(--line); }
.specialty-grid span:first-child { border-left: 1px solid var(--line); }
.specialty-grid span::before { content: ""; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-light); }

.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2, .firm-copy h2, .cta-copy h2, .training-intro h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.15rem, 4vw, 4rem); line-height: 1.08; letter-spacing: -.035em; }
.section-heading p:not(.eyebrow) { margin: 18px 0 0; color: var(--muted); font-size: 1.05rem; }

.featured-defense { background: linear-gradient(180deg, #fff 0%, #f9fbfb 100%); }
.defense-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: stretch; }
.defense-statement { padding: clamp(28px, 5vw, 52px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.defense-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--mint-light); color: var(--blue-800); font-family: Georgia, serif; font-size: 2rem; }
.defense-statement h3 { margin: 20px 0 12px; font-size: 1.65rem; }
.defense-statement p { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; font-weight: 700; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--blue-700); font-weight: 900; }
.defense-priority { display: flex; flex-direction: column; padding: clamp(28px, 4vw, 46px); border-radius: var(--radius-lg); background: linear-gradient(150deg, var(--blue-900), var(--blue-700)); color: var(--white); box-shadow: var(--shadow); }
.priority-label { width: fit-content; margin: 0 0 18px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.11); color: var(--mint); font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.priority-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 20px; }
.priority-list li { position: relative; padding-left: 24px; color: #edf6f7; font-weight: 750; font-size: .96rem; line-height: 1.55; }
.priority-list li::before { content: ""; position: absolute; left: 0; top: .65em; width: 10px; height: 2px; background: var(--mint); }
.defense-priority .button { margin-top: auto; align-self: flex-start; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { position: relative; min-height: 330px; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: rgba(13,120,148,.35); }
.service-card-featured { background: var(--blue-900); color: var(--white); border-color: var(--blue-900); }
.service-number { display: inline-flex; margin-bottom: 30px; color: var(--blue-700); font-size: .78rem; font-weight: 900; letter-spacing: .13em; }
.service-card-featured .service-number { color: var(--mint); }
.service-card h3 { margin: 0 0 16px; font-size: 1.25rem; line-height: 1.35; }
.service-card p, .service-card li { color: var(--muted); font-size: .93rem; }
.service-card-featured p { color: #dfecef; }
.service-card ul { margin: 0; padding-left: 20px; }

.firm-section { background: linear-gradient(135deg, var(--mint-light), #fff 62%); }
.firm-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; }
.firm-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.experience-card { padding: 52px; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); border-top: 5px solid var(--blue-700); }
.experience-number { display: block; color: var(--blue-700); font-family: Georgia, serif; font-size: clamp(4rem, 9vw, 7rem); line-height: .9; }
.experience-card h3 { margin: 20px 0; font-size: 1.5rem; line-height: 1.4; }
.experience-card p { color: var(--blue-900); font-weight: 900; letter-spacing: .08em; }

.audit-section { background: var(--white); }
.audit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.audit-copy { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.audit-copy p { color: var(--muted); }
.audit-copy-accent { background: var(--mint-light); border-color: transparent; }
.audit-copy h3 { margin-top: 0; font-family: Georgia, serif; font-size: 1.55rem; line-height: 1.25; }

.training-section { position: relative; overflow: hidden; }
.training-section::after { content: ""; position: absolute; width: 420px; height: 420px; right: -210px; bottom: -210px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.training-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.training-intro, .training-detail { padding: clamp(28px, 5vw, 48px); border-radius: var(--radius-lg); }
.training-intro { border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.05); }
.training-intro p { color: #d7e6e9; }
.check-list-light li::before { color: var(--mint); }
.training-detail { background: var(--white); color: var(--ink); }
.training-detail h3 { margin-top: 0; color: var(--blue-900); font-family: Georgia, serif; font-size: 1.7rem; line-height: 1.3; }
.training-detail p, .training-detail li { color: var(--muted); }

.document-section { background: var(--soft); }
.document-accordion { max-width: 960px; margin-inline: auto; display: grid; gap: 14px; }
.accordion-item { border: 1px solid var(--line); border-radius: 18px; background: var(--white); overflow: hidden; }
.accordion-trigger { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 24px; border: 0; background: transparent; color: var(--ink); text-align: left; font-weight: 850; }
.accordion-trigger:hover { color: var(--blue-700); }
.accordion-symbol { display: grid; place-items: center; min-width: 32px; height: 32px; border-radius: 50%; background: var(--mint-light); color: var(--blue-800); font-size: 1.2rem; }
.accordion-panel { padding: 0 24px 24px; color: var(--muted); }
.accordion-panel p:first-child { margin-top: 0; }
.accordion-panel ul { padding-left: 22px; }
.accordion-item.is-open { border-color: rgba(13,120,148,.4); box-shadow: 0 12px 38px rgba(5,50,67,.08); }

.cta-section { background: linear-gradient(120deg, var(--white), var(--mint-light)); }
.cta-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.cta-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.contact-card { display: grid; gap: 1px; overflow: hidden; padding: 0; border-radius: var(--radius); background: var(--line); box-shadow: var(--shadow); font-style: normal; }
.contact-item { display: grid; padding: 24px 26px; background: var(--white); }
.contact-item span { margin-bottom: 6px; color: var(--blue-700); font-size: .76rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.contact-item a, .contact-item strong { overflow-wrap: anywhere; font-weight: 750; }
.contact-item a:hover { color: var(--blue-700); }

.site-footer { padding: 68px 0 24px; background: #052e3e; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .9fr; gap: 50px; }
.footer-brand img { width: 180px; height: 104px; object-fit: contain; object-position: left center; margin-bottom: 16px; filter: brightness(1.04); }
.footer-brand p, .footer-contact p { margin: 5px 0; color: #c5d8dd; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 9px; }
.footer-links a, .footer-contact a { color: #dbe8eb; }
.footer-links a:hover, .footer-contact a:hover { color: var(--mint); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.11); color: #9fb7bd; font-size: .84rem; }

.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 900; display: flex; align-items: center; gap: 9px; min-height: 54px; padding: 10px 17px 10px 13px; border-radius: 999px; background: #1fae61; color: var(--white); box-shadow: 0 14px 38px rgba(0,0,0,.2); font-weight: 850; transition: transform .2s ease; }
.whatsapp-float:hover { transform: translateY(-3px); }
.whatsapp-float svg { width: 30px; height: 30px; fill: currentColor; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1080px) {
  .header-cta { display: none; }
  .main-nav { gap: 16px; }
  .hero-grid { gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .specialty-grid { grid-template-columns: repeat(3, 1fr); }
  .specialty-grid span:nth-child(3) { border-right: 1px solid var(--line); }
}

@media (max-width: 860px) {
  .section { padding: 82px 0; }
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav a { padding: 12px 10px; }
  .main-nav a::after { display: none; }
  .hero { padding-top: 70px; }
  .hero-grid, .defense-layout, .firm-grid, .training-grid, .cta-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-actions, .hero-proof { margin-inline: auto; justify-content: center; }
  .portrait-frame { margin-inline: auto; max-width: 500px; }
  .floating-card { left: 5%; }
  .firm-grid { gap: 34px; }
  .audit-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 26px), var(--container)); }
  .header-inner { min-height: 76px; }
  .brand { width: 128px; height: 60px; }
  .hero { padding: 58px 0 66px; }
  .hero h1 { font-size: clamp(2.45rem, 12vw, 4rem); }
  .hero-proof { grid-template-columns: 1fr; width: 100%; }
  .hero-actions .button { width: 100%; }
  .floating-card { position: relative; left: auto; bottom: auto; width: 92%; margin: -26px auto 0; }
  .specialty-grid { grid-template-columns: repeat(2, 1fr); }
  .specialty-grid span { min-height: 70px; font-size: .78rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .defense-statement, .defense-priority, .experience-card, .audit-copy, .training-intro, .training-detail { padding: 26px; border-radius: 22px; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2, .firm-copy h2, .cta-copy h2, .training-intro h2 { font-size: clamp(2rem, 10vw, 3.2rem); }
  .cta-actions .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .whatsapp-float { width: 56px; height: 56px; padding: 12px; justify-content: center; }
  .whatsapp-float span { display: none; }
}
