/* Fonts are self-hosted (no requests to Google) – variable fonts, latin subset */
@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/inter-latin.woff2") format("woff2"); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/montserrat-latin.woff2") format("woff2"); }

:root {
  --navy: #0b2a55;
  --navy-deep: #071c3a;
  --blue: #1497e8;
  --green: #3fbf5f;
  --grad: linear-gradient(100deg, var(--blue), var(--green));
  --blue-text: #0a74b8;   /* readable blue for text on white */
  --btn-grad: linear-gradient(100deg, #0b7fc7, #1f8f45); /* darker gradient so white button text stays readable */
  --bg: #fff;
  --tint: #f2f7fb;
  --line: #dfe7ef;
  --ink: #10233f;
  --muted: #56677d;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(11, 42, 85, 0.10);
  --head: "Montserrat", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-padding-top: 112px; }
/* Smooth scrolling only after load, so menu links (/about#content) land instantly */
html.smooth { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; letter-spacing: -0.01em; margin-bottom: .6rem; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }
p + p { margin-top: .9rem; }
/* stylelint-disable-next-line property-no-vendor-prefix -- Safari needs the prefix for gradient text */
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow { font-family: var(--head); text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 700; margin-bottom: .8rem; color: var(--blue-text); }

a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.svg-defs { position: absolute; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: .6rem 1rem; border-radius: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--btn-grad); color: var(--white); border: 0;
  padding: .9rem 1.5rem; border-radius: 10px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 18px rgba(20, 151, 232, .25); transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(20, 151, 232, .32); filter: saturate(1.1); }
.btn svg { width: 20px; height: 20px; }
.btn-outline { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px rgba(255,255,255,.4); }
.btn-outline:hover { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 2px var(--white); }
.btn-dark { background: var(--navy); box-shadow: none; margin-top: 2rem; }
.btn-dark:hover { background: var(--navy-deep); box-shadow: none; }
.btn-whatsapp { background: #25d366; box-shadow: 0 6px 18px rgba(37, 211, 102, .3); }
.btn-whatsapp:hover { background: #1ebe5b; box-shadow: 0 10px 24px rgba(37, 211, 102, .4); filter: none; }
.btn-small { padding: .6rem 1.05rem; font-size: .92rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo img { height: 60px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links > a:not(.btn), .dropdown-toggle {
  font: inherit; font-weight: 500; font-size: .98rem; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: .3rem; position: relative; padding: .4rem 0;
}
.dropdown-toggle svg { width: 12px; height: 12px; transition: transform .2s; }
.nav-links > a:not(.btn):hover, .dropdown-toggle:hover { color: var(--blue-text); }
.nav-links > a[aria-current="page"], .dropdown.is-active .dropdown-toggle { color: var(--navy); font-weight: 600; }
.nav-links > a[aria-current="page"]::after, .dropdown.is-active .dropdown-toggle::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px; background: var(--grad);
}
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: -16px; min-width: 300px; z-index: 60;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: .5rem; display: grid; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility 0s linear .35s;
}
/* invisible bridge so the menu stays open while moving the mouse down to it */
.dropdown-menu::before { content: ""; position: absolute; top: -24px; left: 0; right: 0; height: 24px; }
.dropdown.open .dropdown-menu, .dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s, visibility 0s; }
.dropdown.open .dropdown-toggle svg { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 901px) {
  .dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s, visibility 0s; }
  .dropdown:hover .dropdown-toggle svg { transform: rotate(180deg); }
}
.dropdown-menu a { display: flex; align-items: center; gap: .75rem; padding: .75rem .9rem; border-radius: 10px; text-decoration: none; font-weight: 500; }
.dropdown-menu a:hover, .dropdown-menu a[aria-current="page"] { background: var(--tint); }
.dropdown-menu .ico { width: 22px; height: 22px; flex-shrink: 0; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; border-radius: 10px; -webkit-tap-highlight-color: transparent; transition: background .2s, transform .1s; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .25s; }
/* tap feedback: tinted background while pressed and while the menu is open */
.nav-toggle:active { transform: scale(.92); }
.nav-toggle:active, .nav-toggle[aria-expanded="true"] { background: linear-gradient(135deg, rgba(20,151,232,.16), rgba(63,191,95,.18)); }
.nav-toggle:active span, .nav-toggle[aria-expanded="true"] span { background: var(--blue); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero (dark, with logo-inspired arcs) */
.hero, .page-hero { position: relative; overflow: hidden; color: var(--white); background: radial-gradient(ellipse at 85% 0%, #123f7a 0%, var(--navy) 45%, var(--navy-deep) 100%); }
.hero h1, .page-hero h1 { color: var(--white); }
.hero .eyebrow, .page-hero .eyebrow { color: #7fd0ff; }
.arcs { position: absolute; inset: 0; pointer-events: none; }
.arcs::before, .arcs::after {
  content: ""; position: absolute; border-radius: 50%; border: 56px solid transparent;
  width: 760px; height: 760px; opacity: .14;
}
.arcs::before { right: -260px; top: -330px; border-top-color: var(--blue); border-left-color: var(--blue); transform: rotate(10deg); }
.arcs::after { right: -420px; top: -300px; border-top-color: var(--green); border-right-color: var(--green); transform: rotate(-10deg); }

.hero { padding: 80px 0 56px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; }
.hero h1 { margin-bottom: 1.3rem; }
.lead { font-size: 1.2rem; color: rgba(255,255,255,.9); max-width: 34em; }
.sublead { color: rgba(255,255,255,.65); margin-top: .7rem; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-photo { position: relative; isolation: isolate; justify-self: center; width: 100%; max-width: 420px; }
.hero-photo img { border-radius: 20px; aspect-ratio: 4/5; object-fit: cover; object-position: center 20%; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.hero-photo::before { content: ""; position: absolute; inset: -10px; border-radius: 26px; background: var(--grad); z-index: -1; opacity: .9; }
.badge-float {
  position: absolute; left: -28px; bottom: 32px; background: var(--white); color: var(--ink);
  padding: .9rem 1.2rem; border-radius: 14px; box-shadow: var(--shadow);
}
.badge-float strong { display: block; font-family: var(--head); font-size: 1.5rem; color: var(--navy); line-height: 1.1; }
.badge-float span { font-size: .88rem; color: var(--muted); }
.hero-creds {
  position: relative; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.12);
}
.hero-creds li { display: flex; align-items: center; gap: .75rem; color: rgba(255,255,255,.85); font-size: .95rem; font-weight: 500; }
.hero-creds .ico { width: 30px; height: 30px; flex-shrink: 0; }

.page-hero { padding: 72px 0 80px; }
.page-404 { padding: 140px 0 160px; }
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 18em; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 44em; font-size: 1.12rem; margin-top: 1rem; }
.page-hero .eyebrow { font-size: .76rem; margin-top: 0; color: #7fd0ff; }
.crumbs { font-size: .9rem; color: rgba(255,255,255,.6); margin-bottom: 1rem; display: flex; gap: .5rem; }
.crumbs a { color: #7fd0ff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Sections */
.section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p:not(.eyebrow) { color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem;
  transition: transform .25s, box-shadow .25s, border-color .25s; display: flex; flex-direction: column;
}
.card p { color: var(--muted); }
.card-link { text-decoration: none; }
.card-link:hover, .cards .card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.link-arrow { margin-top: auto; padding-top: 1.2rem; font-weight: 600; color: var(--blue-text); }
.icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.3rem;
  background: linear-gradient(135deg, rgba(20,151,232,.10), rgba(63,191,95,.12));
}
.icon .ico { width: 30px; height: 30px; }
.icon:has(.ico-img) { width: 56px; height: 56px; }
.icon .ico-img { width: 44px; height: 44px; object-fit: contain; mix-blend-mode: multiply; }
.icon-lg { width: 64px; height: 64px; margin: 0; }
.icon-lg:has(.ico-img) { width: 63px; height: 63px; }
.icon-lg .ico-img { width: 48px; height: 48px; }
.icon-lg .ico { width: 34px; height: 34px; }
.ticks { list-style: none; display: grid; gap: .5rem; margin-top: .3rem; }
.ticks li { position: relative; padding-left: 1.5rem; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .6em; width: 9px; height: 9px; border-radius: 50%; background: var(--grad); }

.industry-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; }
.industry-row a {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .9rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1rem;
  text-decoration: none; font-family: var(--head); font-weight: 600; color: var(--navy); font-size: .98rem; transition: .25s;
}
.industry-row a:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.industry-row .ico { width: 44px; height: 44px; }
.industry-row .ico-img { width: 52px; height: 52px; object-fit: contain; mix-blend-mode: multiply; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4.5rem; align-items: center; }
.photo-frame { position: relative; isolation: isolate; max-width: 460px; }
.photo-frame img { border-radius: 18px; aspect-ratio: 4/5; object-fit: cover; }
.photo-frame::after { content: ""; position: absolute; right: -14px; bottom: -14px; width: 60%; height: 60%; border-radius: 18px; background: var(--grad); z-index: -1; opacity: .85; }
.photo-small { max-width: 360px; margin-bottom: 2.5rem; }

.checks { list-style: none; margin-top: 1.4rem; display: grid; gap: .75rem; }
.checks li { display: flex; gap: .8rem; align-items: start; }
.checks li::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: .15rem; border-radius: 50%;
  background: var(--grad) center / cover;
  /* stylelint-disable-next-line property-no-vendor-prefix -- Safari < 15.4 needs the prefixed mask */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1a11 11 0 100 22 11 11 0 000-22zm-1.5 15.5L6 12l1.4-1.4 3.1 3.1 6.1-6.1L18 9z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1a11 11 0 100 22 11 11 0 000-22zm-1.5 15.5L6 12l1.4-1.4 3.1 3.1 6.1-6.1L18 9z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .7rem; }
.tags li { max-width: 100%; overflow-wrap: anywhere; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .65rem 1.2rem; font-weight: 500; color: var(--navy); }
.tags-sm li { padding: .45rem .95rem; font-size: .93rem; background: var(--tint); border-color: transparent; }

.industries { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
/* let grid children shrink below their content width on very small screens */
.industries > *, .cards > *, .split > *, .contact > *, .hero-grid > * { min-width: 0; }
.industry { border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem; }
.industry-head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1rem; }
.industry-head h2 { font-size: 1.45rem; margin: 0; }
.industry > p { color: var(--muted); }
.industry h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 1.4rem 0 .8rem; }

.quote { font-family: var(--head); font-size: 1.15rem; line-height: 1.6; font-weight: 600; color: var(--navy); margin-bottom: 1.5rem; }
.split p { color: var(--muted); }
.split .eyebrow { color: var(--blue-text); }
.infographic { max-width: 60%; margin-inline: auto; }
.infographic img { border-radius: 18px; box-shadow: var(--shadow); width: 100%; }
.split-about { grid-template-columns: auto 1fr; }
.photo-about { width: 276px; max-width: 100%; }

/* CTA */
.cta {
  position: relative; overflow: hidden; border-radius: 22px; padding: 3.5rem;
  background: radial-gradient(ellipse at 100% 0%, #134a8a 0%, var(--navy) 50%, var(--navy-deep) 100%); color: var(--white);
  display: grid; grid-template-columns: 1.4fr auto; gap: 2.5rem; align-items: center;
}
.cta h2 { color: var(--white); }
.cta p { color: rgba(255,255,255,.75); max-width: 40em; }
.cta > div:not(.cta-arcs) { position: relative; }
.cta-actions { display: flex; flex-direction: column; gap: .8rem; }
.cta-arcs { position: absolute; right: -120px; top: -160px; width: 380px; height: 380px; border-radius: 50%; border: 40px solid transparent; border-top-color: var(--green); border-left-color: var(--blue); opacity: .18; }

/* Contact */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4.5rem; align-items: start; }
.contact-list { list-style: none; display: grid; gap: 1.2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: center; }
.contact-list .icon { margin: 0; width: 48px; height: 48px; flex-shrink: 0; }
.contact-list .icon .ico { width: 24px; height: 24px; }
.wa-icon { color: #25d366; }
.wa-icon svg { width: 26px; height: 26px; }
.contact-list span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.contact-list a, .contact-value { text-decoration: none; font-weight: 600; color: var(--navy); }
.contact-list a:hover { color: var(--blue-text); }
.form { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 2.5rem; border-radius: 18px; display: grid; gap: 1.1rem; }
.form h2 { margin-bottom: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: .4rem; font-weight: 600; font-size: .93rem; color: var(--navy); }
.form input, .form textarea {
  font: inherit; font-weight: 400; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--tint); color: var(--ink); transition: border-color .2s, background .2s;
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: var(--white); }
.form .invalid { border-color: #c0392b; }
.form .btn { justify-self: start; }
.form .btn[disabled] { opacity: .6; cursor: wait; }
.hp { position: absolute; left: -9999px; }
.form-privacy { font-size: .86rem; color: var(--muted); }
.form-privacy a { color: var(--blue-text); }
.legal h2:first-of-type { margin-top: 2.2rem; }
.site-footer .footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.form-status { font-size: .95rem; min-height: 1.4em; }
.form-status.ok { color: #1a7a3d; font-weight: 600; }
.form-status.err { color: #c0392b; }


/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1.6rem; }
.post-grid > * { min-width: 0; }
.post-grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.post-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.post-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; border-bottom: 1px solid var(--line); }
.post-card > div { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-card h2, .post-card h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.post-card p { color: var(--muted); font-size: .97rem; }
.post-meta { font-size: .85rem !important; margin-bottom: .5rem; }

.article-container { max-width: 700px; }
.article-hero { position: relative; overflow: hidden; color: var(--white); padding: 64px 0 56px;
  background: radial-gradient(ellipse at 85% 0%, #123f7a 0%, var(--navy) 45%, var(--navy-deep) 100%); }
.article-hero .container { position: relative; }
.article-hero h1 { color: var(--white); font-size: clamp(1.9rem, 4vw, 2.8rem); }
.byline { display: flex; align-items: center; gap: .9rem; margin-top: 1.6rem; color: rgba(255,255,255,.85); font-size: .95rem; }
.byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 2px solid rgba(255,255,255,.5); }
.byline a { color: var(--white); font-weight: 600; }
.byline span { display: block; color: rgba(255,255,255,.65); font-size: .88rem; margin-top: .15rem; }

.article-body { padding-top: 48px; padding-bottom: 72px; }
.article-body h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); margin: 2.8rem 0 1rem; scroll-margin-top: 112px; }
.article-body h3 { font-size: 1.1rem; margin: 1.6rem 0 .5rem; }
.article-body p, .article-body li { color: #2b3a4f; }
.article-body p + p { margin-top: 1rem; }
.article-body ul, .article-body ol { margin: 1rem 0 1rem 1.3rem; display: grid; gap: .5rem; }
.article-body li::marker { color: var(--blue-text); font-weight: 700; }
.article-body a:not(.btn) { color: var(--blue-text); text-underline-offset: 3px; }
.article-body a:not(.btn):hover { color: var(--navy); }

.tldr { background: linear-gradient(135deg, rgba(20,151,232,.08), rgba(63,191,95,.10)); border: 1px solid #cfe6f5; border-radius: var(--radius); padding: 1.5rem 1.7rem; }
.tldr-label, .toc-label { font-family: var(--head); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--blue-text); margin-bottom: .5rem; }
.tldr p:last-child { color: var(--ink); font-size: 1.05rem; }
.toc { margin-top: 1.6rem; padding: 1.3rem 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); }
.toc ol { margin: .4rem 0 0 1.2rem; gap: .3rem; }
.toc a { text-decoration: none; }

.table-wrap { overflow-x: auto; margin: 1.4rem 0; border: 1px solid var(--line); border-radius: 12px; }
.article-body table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 480px; }
.article-body th { background: var(--navy); color: var(--white); text-align: left; padding: .75rem 1rem; font-family: var(--head); font-weight: 600; }
.article-body td { padding: .7rem 1rem; border-top: 1px solid var(--line); vertical-align: top; }
.article-body tbody tr:nth-child(even) td { background: var(--tint); }

.article-figure { margin: 1.8rem 0; }
.article-figure img { width: 100%; border-radius: 14px; border: 1px solid var(--line); background: var(--tint); }
.article-figure figcaption { color: var(--muted); font-size: .9rem; margin-top: .6rem; }
.figure-hint { display: none; }

.faq { margin-top: 3rem; }
.faq-item { border-top: 1px solid var(--line); padding: .4rem 0 .8rem; }
.faq-item h3 { margin-top: 1rem; }
.disclaimer { margin-top: 2.4rem; padding: 1rem 1.2rem; background: var(--tint); border-radius: 12px; font-size: .9rem; color: var(--muted) !important; }
.author-box { display: flex; gap: 1.2rem; align-items: flex-start; margin-top: 2rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); }
.author-box img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; object-position: center 20%; flex-shrink: 0; }
.author-name { font-family: var(--head); font-weight: 700; margin-bottom: .3rem; }
.author-name a { color: var(--navy) !important; text-decoration: none; }
.author-box p:last-child { font-size: .95rem; color: var(--muted); }
@media (max-width: 640px) {
  .figure-hint { display: inline; }
  .article-hero { padding: 44px 0 40px; }
  .article-body { padding-top: 32px; }
  .author-box { flex-direction: column; }
  .tldr, .toc { padding: 1.2rem; }
}

.article-list { list-style: none; display: grid; gap: .8rem; max-width: 760px; }
.article-list a { font-family: var(--head); font-weight: 600; color: var(--navy); text-underline-offset: 4px; }
.article-list a:hover { color: var(--blue-text); }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding: 72px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer-logo { display: inline-block; background: var(--white); border-radius: 12px; padding: 10px 14px; margin-bottom: 1.2rem; }
.footer-logo img { height: 56px; width: auto; }
.site-footer h4 { color: var(--white); margin-bottom: 1rem; font-size: .95rem; }
.site-footer ul { list-style: none; display: grid; gap: .55rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .86rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }

/* WhatsApp */
.whatsapp {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0,0,0,.22); transition: transform .2s;
}
.whatsapp:hover { transform: scale(1.08); }
.whatsapp svg { width: 32px; height: 32px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  html.smooth { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1080px) {
  .nav-links { gap: 1.1rem; }
}
@media (max-width: 960px) {
  .hero-grid, .split, .contact, .industries { grid-template-columns: 1fr; gap: 3rem; }
  .hero-photo { max-width: 340px; }
  .hero-creds { grid-template-columns: 1fr 1fr; }
  .cards-3 { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
  .cta-actions { flex-flow: row wrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .photo-frame { max-width: 400px; }
  .photo-about { width: 240px; }
  .infographic { max-width: 100%; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 84px; left: 0; right: 0; max-height: calc(100vh - 84px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0; background: var(--white);
    padding: .5rem 16px 1.5rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links > a:not(.btn), .dropdown-toggle { padding: .9rem 0; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between; }
  .nav-links > a[aria-current="page"]::after, .dropdown.is-active .dropdown-toggle::after { display: none; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .5rem; min-width: 0; display: none; transition: none; }
  .dropdown.open .dropdown-menu { display: grid; }
  .dropdown-menu::before { display: none; }
  .dropdown-toggle { border-bottom: 0 !important; -webkit-tap-highlight-color: transparent; transition: background .15s, color .15s; }
  .dropdown-toggle:active { background: var(--tint); color: var(--blue-text); }
  .dropdown.open .dropdown-toggle { color: var(--blue-text); }
  .dropdown-toggle svg { width: 14px; height: 14px; }
  .dropdown.open .dropdown-toggle svg { transform: rotate(180deg); }
  .dropdown { border-bottom: 1px solid var(--line); }
  .nav-links a { -webkit-tap-highlight-color: transparent; transition: background .15s, color .15s; }
  .nav-links > a:not(.btn):active, .dropdown-menu a:active { background: var(--tint); color: var(--blue-text); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { height: 72px; }
  .logo img { height: 50px; }
  .nav-links { top: 72px; max-height: calc(100vh - 72px); }
  .hero { padding: 48px 0 40px; }
  .page-hero { padding: 48px 0 56px; }
  .section { padding: 64px 0; }
  .hero-creds { grid-template-columns: 1fr; gap: .8rem; }
  .badge-float { left: 12px; bottom: 16px; }
  .industry-row { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form, .industry, .card { padding: 1.5rem; }
  .cta { padding: 2rem 1.5rem; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 96px; } /* keep the last footer line clear of the WhatsApp button */
  .article-body table { min-width: 0; font-size: .88rem; }
  .article-body th, .article-body td { padding: .55rem .6rem; hyphens: auto; overflow-wrap: break-word; }
  .article-body th:first-child, .article-body td:first-child { min-width: 6.5em; }
  /* privacy table: one card per row on phones */
  .legal .table-wrap { border: 0; overflow: visible; }
  .legal table thead { display: none; }
  .legal table, .legal tbody, .legal tr, .legal td { display: block; width: 100%; }
  .legal tr { border: 1px solid var(--line); border-radius: 12px; margin-bottom: .8rem; overflow: hidden; }
  .legal tbody tr:nth-child(even) td { background: transparent; }
  .legal td { border-top: 1px solid var(--line); padding: .6rem .9rem; min-width: 0; }
  .legal td:first-child { border-top: 0; background: var(--navy) !important; color: var(--white); font-family: var(--head); font-weight: 600; }
  .legal td:not(:first-child)::before { content: attr(data-label); display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .15rem; }
  .photo-frame::after { right: -8px; bottom: -8px; }
  .hero-photo { max-width: 260px; }
  .photo-frame, .photo-small { max-width: 270px; }
  .photo-about { width: 220px; }
}
