/* AMKN & Co — palette taken from the logo: navy check, green bars */
:root {
  --navy: #16324f;
  --navy-deep: #0f2238;
  --green: #6ab23e;
  --green-ink: #3f7d1f;
  --paper: #ffffff;
  --mist: #f2f5f8;
  --rule: #d9e1e8;
  --text: #1c2733;
  --muted: #536274;
  --wide: 'Archivo', system-ui, sans-serif;
  --head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--wide);
  color: var(--text);
  background: var(--paper);
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--head); line-height: 1.1; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); font-weight: 800; letter-spacing: -.015em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: 1.2rem; color: var(--muted); }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
section { padding: clamp(56px, 8vw, 104px) 0; }
.tint { background: var(--mist); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--paper); padding: 8px 12px; }

.btn {
  display: inline-block; padding: .8em 1.4em; border-radius: 6px;
  background: var(--navy); color: #fff; text-decoration: none; font-weight: 600;
  border: 2px solid var(--navy);
}
.btn:hover { background: var(--navy-deep); }
button.btn { font: inherit; font-weight: 600; cursor: pointer; }
address { font-style: normal; }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--mist); }
.btn.green { background: var(--green); border-color: var(--green); color: var(--navy-deep); }
.btn.green:hover { background: #7cc44f; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--rule); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; font-family: var(--head); font-size: 1.15rem; line-height: 1.1; }
.brand img { width: 40px; height: auto; }
.brand small { display: block; font-weight: 500; font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
#menu { display: flex; align-items: center; gap: 4px; }
#menu a:not(.btn) { padding: 8px 12px; text-decoration: none; color: var(--text); font-weight: 500; border-radius: 4px; }
#menu a:not(.btn):hover { background: var(--mist); }
#menu a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -3px 0 var(--green); border-radius: 0; }
.menu-btn { display: none; font: inherit; font-weight: 600; background: none; border: 2px solid var(--navy); color: var(--navy); border-radius: 6px; padding: 6px 14px; }

@media (max-width: 880px) {
  .menu-btn { display: block; }
  #menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); flex-direction: column; align-items: stretch; padding: 8px 16px 20px; border-bottom: 1px solid var(--rule); }
  .menu-open #menu { display: flex; }
  #menu a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--rule); }
  #menu a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--green); padding-left: 14px; }
}

/* Home hero */
.hero { padding-top: clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 13ch; }

.process { background: var(--navy); color: #dbe5ee; border-radius: 12px; padding: 32px; }
.process h2 { color: #fff; font-size: 1.4rem; margin-bottom: 6px; }
.process > p { color: #a9bccf; margin-bottom: 20px; }
.process ol { list-style: none; margin: 0 0 24px; padding: 0; }
.process li { display: grid; grid-template-columns: 2.4rem 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.14); }
.process .step { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--green); color: var(--navy-deep); font: 800 1.05rem var(--head); }
.process strong { display: block; color: #fff; font-family: var(--head); font-size: 1.05rem; margin-bottom: 4px; }
.process li > span:last-child { font-size: .93rem; line-height: 1.55; }

/* Clients */
.clients { padding-top: 24px; }
.clients h2 { font-size: 1.1rem; color: var(--muted); font-weight: 600; }
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin: 0; padding: 0; list-style: none; }
.logo-grid li { background: #fff; padding: 18px 14px 12px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 10px; }
.logo-grid img { height: 54px; width: auto; max-width: 100%; object-fit: contain; }
.logo-grid span { font-size: .8rem; color: var(--muted); }
.more { margin: 16px 0 0; text-align: right; font-weight: 600; }
.more-clients { max-width: none; margin: 28px 0 0; text-align: center; font-family: var(--head); font-weight: 700; font-size: 1.25rem; color: var(--navy); }
.client-grid { grid-template-columns: repeat(4, 1fr); }
.client-grid li { justify-content: flex-start; text-align: center; padding: 24px 16px 18px; }
.client-grid li > :first-child { margin-bottom: 6px; }
.client-grid strong { color: var(--navy); font-family: var(--head); font-size: .98rem; line-height: 1.3; }

/* Practice list (home) */
.split { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 5vw, 72px); }
.practice { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin: 0; }
.practice div { padding: 22px 0; border-top: 2px solid var(--navy); }
.practice dt { font-weight: 700; font-family: var(--head); color: var(--navy); font-size: 1.1rem; margin-bottom: 6px; }
.practice dd { margin: 0; color: var(--muted); }

/* Figures */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; }
.figures div { border-left: 4px solid var(--green); padding-left: 16px; }
.figures dt { order: 2; color: var(--muted); }
.figures dd { margin: 0; font-family: var(--head); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); color: var(--navy); line-height: 1; }
.figures div { display: flex; flex-direction: column; gap: 6px; }

/* Who we are */
.who { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.who img { border-radius: 8px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; padding: 0; margin: 32px 0 0; }
.partners img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; border-radius: 8px; margin-bottom: 14px; }
.partners h3 { margin-bottom: 4px; }
.partners p { color: var(--muted); font-size: .95rem; }

/* CTA band */
.cta { background: var(--navy); color: #dbe5ee; }
.cta h2 { color: #fff; }
.cta-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cta-grid p { margin-bottom: 0; }
.cta-grid .actions { margin-top: 0; justify-content: flex-end; }
.cta a:not(.btn) { color: #fff; }
.cta .btn.ghost { color: #fff; border-color: #fff; }
.cta .btn.ghost:hover { background: rgba(255,255,255,.1); }

/* Page header (inner pages) */
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--rule); }
.page-head h1 { max-width: 18ch; font-size: clamp(2.2rem, 4.2vw, 3.3rem); }
.head-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.head-grid .lead { margin-bottom: 0; }
.head-aside { margin: 0; background: var(--navy); color: #dbe5ee; border-radius: 12px; padding: 28px 32px; }
.head-aside div { display: grid; grid-template-columns: 3.6rem 1fr; align-items: center; gap: 18px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.14); }
.head-aside div:first-child { border-top: 0; padding-top: 0; }
.head-aside div:last-child { padding-bottom: 0; }
.head-aside dd { order: -1; margin: 0; font-family: var(--head); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--green); }
.head-aside dt { font-size: 1.02rem; line-height: 1.4; color: #fff; }
.head-aside .aside-title { font-family: var(--head); font-weight: 700; font-size: 1.3rem; color: #fff; margin-bottom: 8px; }
.head-aside p { margin: 0; }
.head-aside a { color: #fff; font-weight: 600; }

/* Services page */
.svc-layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.svc-nav { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 2px; }
.svc-nav a { text-decoration: none; padding: 8px 12px; border-left: 3px solid var(--rule); color: var(--muted); font-weight: 500; }
.svc-nav a:hover { border-color: var(--green); color: var(--navy); }
.svc-group { scroll-margin-top: 96px; padding-bottom: 56px; }
.svc-group > p { color: var(--muted); }
.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.svc { padding: 24px 0; border-top: 1px solid var(--rule); }
.svc p { color: var(--muted); font-size: .95rem; margin-bottom: .6em; }
.svc ul { margin: 0; padding-left: 1.1em; }
.svc li::marker { color: var(--green); }

/* About */
.bio { display: grid; grid-template-columns: 320px 1fr; gap: clamp(28px, 5vw, 64px); padding: 48px 0; border-top: 1px solid var(--rule); }
.bio:first-of-type { border-top: 0; }
.bio img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; border-radius: 8px; }
.bio h3 { font-size: 1.6rem; }
.bio h4 { margin: 24px 0 8px; font-size: 1rem; }
.bio ul { padding-left: 1.1em; margin: 0; }
.bio li { margin-bottom: 6px; }
.bio li::marker { color: var(--green); }
.offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.offices address { font-style: normal; border-top: 2px solid var(--navy); padding-top: 16px; }
.offices strong { display: block; color: var(--navy); font-family: var(--head); }
#cyberalpha { scroll-margin-top: 72px; }
.assoc { display: grid; grid-template-columns: 320px 1fr; margin-top: 32px; border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; }
.assoc-brand { padding: 36px 32px; border-right: 1px solid var(--rule); }
.assoc-brand img { width: 100%; max-width: 240px; height: auto; margin-bottom: 28px; }
.assoc-brand ul { list-style: none; padding: 0; margin: 0; }
.assoc-brand li { border-top: 1px solid var(--rule); }
.assoc-brand li a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-weight: 600; color: var(--navy); font-size: .95rem; text-decoration: none; }
.assoc-brand li a::after { content: '\2197'; color: var(--green-ink); }
.assoc-brand li a:hover { color: var(--green-ink); }
.assoc-body { padding: 36px 40px; }
.assoc-body h3 { font-size: 1.4rem; }
.assoc-body .btn { margin-top: 8px; }
@media (max-width: 760px) {
  .assoc { grid-template-columns: 1fr; }
  .assoc-brand { border-right: 0; border-bottom: 1px solid var(--rule); }
  .assoc-body { padding: 28px 24px; }
}
.banner-img { width: 100%; aspect-ratio: 16/6; object-fit: cover; border-radius: 8px; margin-bottom: 48px; }

/* FAQ */
.faq { max-width: 820px; }
.faq h2 { font-size: 1.4rem; margin-top: 48px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 20px 40px 20px 0; font-weight: 600; font-size: 1.1rem; color: var(--navy); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 8px; top: 14px; font-size: 1.6rem; color: var(--green-ink); }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--muted); }

.linkedin { display: inline-flex; vertical-align: -2px; margin-left: 6px; color: #0a66c2; }
.linkedin svg { width: 22px; height: 22px; fill: currentColor; }
.linkedin:hover { color: var(--navy); }

/* Contact */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; padding: 0; margin: 0; }
.person { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--paper); border: 1px solid var(--rule); border-top: 4px solid var(--green); border-radius: 12px; padding: 32px 24px 24px; box-shadow: 0 6px 20px rgba(22, 50, 79, .08); }
.person img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; object-position: top; margin-bottom: 16px; border: 4px solid var(--mist); }
.person h2 { font-size: 1.3rem; margin-bottom: 2px; }
.person .role { color: var(--muted); font-size: .9rem; margin: 0 0 18px; }
.person > a { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px 0; border-top: 1px solid var(--rule); text-decoration: none; overflow-wrap: anywhere; }
.person > a:hover { color: var(--green-ink); }
.person > a svg { width: 18px; height: 18px; flex: none; fill: var(--green-ink); }
.map { width: 100%; height: 380px; border: 0; border-radius: 10px; }

/* Footer */
footer { background: var(--navy-deep); color: #b6c5d4; padding: 64px 0 28px; font-size: .95rem; }
footer a { color: #e3ebf2; text-decoration: none; }
footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 32px; }
footer h2 { font-size: 1rem; color: #fff; margin-bottom: 12px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
footer address { font-style: normal; }
.foot-brand { color: #fff; font-weight: 800; font-family: var(--head); font-size: 1.2rem; }
.copy { max-width: none; border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 20px; font-size: .85rem; }

@media (max-width: 960px) {
  .hero-grid, .split, .who, .cta-grid, .svc-layout, .head-grid { grid-template-columns: 1fr; }
  .cta-grid .actions { justify-content: flex-start; }
  .figures, .logo-grid { grid-template-columns: repeat(4, 1fr); }
  .figures { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .svc-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .svc-nav a { border-left: 0; border-bottom: 3px solid var(--rule); }
}
@media (max-width: 640px) {
  .practice, .svc-list, .partners, .offices, .people, .foot-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: 1fr 1fr; }
  .bio { grid-template-columns: 1fr; }
  .bio img { max-width: 320px; }
}
