:root {
  color-scheme: light;
  --blue: #125fc1;
  --blue-2: #083d86;
  --orange: #fc8410;
  --orange-2: #ffb45a;
  --black: #111111;
  --white: #ffffff;
  --paper: #f4f8fd;
  --muted: #5b6470;
  --line: rgba(17, 17, 17, .12);
  --shadow: 0 24px 70px rgba(18, 95, 193, .13);
}

[data-theme="dark"] {
  color-scheme: dark;
  --black: #f5f5f0;
  --white: #071b36;
  --paper: #0b2548;
  --muted: #bfcee2;
  --line: rgba(255, 255, 255, .14);
  --shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px clamp(18px, 5vw, 64px);
  background: color-mix(in srgb, var(--white) 88%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 64px;
  max-height: 64px;
  height: auto;
  display: block;
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover, .text-link:hover { color: var(--blue); }

.nav a[aria-current="page"] {
  color: var(--blue);
  position: relative;
}

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  border-radius: 999px;
  background: var(--orange);
}

.actions { display: flex; gap: 10px; align-items: center; }

button, .btn {
  font: inherit;
  min-height: 42px;
  border: 1px solid var(--line);
  cursor: pointer;
}

.chip, .icon-btn {
  display: inline-grid;
  place-items: center;
  background: var(--paper);
  color: var(--black);
  border-radius: 8px;
  font-weight: 800;
}

.chip { min-width: 46px; padding: 0 12px; }
.icon-btn { width: 42px; }

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 86px clamp(20px, 6vw, 86px);
  overflow: hidden;
  background: #083d86;
  color: #fff;
  text-align: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 35, 80, .96), rgba(8, 61, 134, .78) 48%, rgba(8, 61, 134, .38)),
    radial-gradient(circle at 76% 34%, rgba(252, 132, 16, .56), transparent 24%),
    linear-gradient(135deg, #125fc1, #06244f);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: .34;
  background-image:
    linear-gradient(30deg, rgba(255,255,255,.12) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.12) 87.5%),
    linear-gradient(150deg, rgba(255,255,255,.12) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.12) 87.5%);
  background-size: 90px 156px;
}

.hero-content {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 980px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 88px);
  line-height: .95;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
  margin-bottom: 18px;
}

h3 { font-size: 21px; line-height: 1.18; margin-bottom: 12px; }

.lead {
  max-width: 690px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(18px, 2vw, 22px);
  color: rgba(255,255,255,.84);
}

.hero-actions, .proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 900;
}

.btn.primary {
  background: var(--orange);
  color: #111;
  border-color: var(--orange);
}

.btn.ghost {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.3);
}

.proof span {
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 8px;
  color: rgba(255,255,255,.84);
  font-size: 13px;
  font-weight: 800;
}

.section {
  padding: 92px clamp(20px, 6vw, 86px);
  background: var(--white);
}

.intro {
  background: var(--paper);
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.18;
  font-weight: 800;
  text-align: center;
}

.intro p { max-width: 1120px; margin: 0 auto; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 36px;
  margin-bottom: 34px;
}

.section-head h2 { max-width: 760px; margin-bottom: 0; }

#expertise .section-head,
#method .section-head {
  display: block;
  text-align: center;
}

#expertise .section-head h2,
#method .section-head h2 {
  margin-left: auto;
  margin-right: auto;
}

.cards {
  display: grid;
  gap: 18px;
}

.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card, .solution-grid article, .news-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 48px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.card p, .solution-grid p, .timeline p, .news-card p { color: var(--muted); margin-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 46px;
  background: var(--paper);
}

.split > div:first-child { align-self: start; position: sticky; top: 96px; }

.text-link {
  display: inline-flex;
  margin-top: 18px;
  font-weight: 900;
  color: var(--blue);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.solution-grid article { box-shadow: none; }
.solution-grid h3 { color: var(--blue); }

.feature-band {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  padding: 92px clamp(20px, 6vw, 86px);
  background: #071b36;
  color: #fff;
}

.feature-band ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  list-style: none;
}

.feature-band li {
  padding: 18px;
  border-left: 4px solid var(--orange);
  background: rgba(255,255,255,.06);
  border-radius: 0 8px 8px 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.steps article {
  padding: 26px 18px 0 0;
  border-right: 1px solid var(--line);
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--orange);
  color: #111;
  font-weight: 900;
}

.steps p { color: var(--muted); }

.results {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 42px;
  background: var(--paper);
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline article {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.timeline time { color: var(--blue); font-weight: 900; }

.cta {
  margin: 0;
  padding: 92px clamp(20px, 6vw, 86px);
  background: var(--blue);
  color: #fff;
  text-align: center;
}

.cta h2 { max-width: 780px; margin-left: auto; margin-right: auto; }
.cta p { max-width: 620px; margin-left: auto; margin-right: auto; color: rgba(255,255,255,.82); font-size: 18px; }

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.footer {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
  padding: 58px clamp(20px, 6vw, 86px);
  background: #071b36;
  color: #fff;
}

.footer-logo { width: 128px; background: #fff; border-radius: 8px; margin-bottom: 16px; }
.footer h3 { font-size: 15px; color: var(--orange); }
.footer a, .footer p { display: block; color: rgba(255,255,255,.75); margin: 0 0 9px; }
.footer.compact { grid-template-columns: 1fr auto; align-items: center; }

.page-hero {
  padding: 112px clamp(20px, 6vw, 86px) 70px;
  background: var(--paper);
}

.page-hero.centered {
  text-align: center;
}

.page-hero h1 {
  color: var(--black);
  max-width: 940px;
  font-size: clamp(42px, 6vw, 76px);
}

.page-hero.centered h1,
.page-hero.centered p:not(.eyebrow) {
  margin-left: auto;
  margin-right: auto;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 20px;
}

.page-hero .full-name {
  max-width: 760px;
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--black);
  font-weight: 900;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.news-card.featured { grid-column: span 2; background: var(--blue); color: #fff; }
.news-card.featured p { color: rgba(255,255,255,.82); }
.news-card time { display: block; color: var(--orange); font-weight: 900; margin-bottom: 26px; }

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr .95fr .9fr;
  gap: 18px;
}

.contact-details {
  align-items: stretch;
}

.about-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.about-panel.highlight {
  background: var(--blue);
  color: #fff;
}

.about-panel.highlight p:not(.eyebrow) {
  color: rgba(255, 255, 255, .84);
}

.about-panel.highlight h2 {
  font-size: clamp(28px, 3.5vw, 48px);
}

.contact-grid h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.contact-panel h2 {
  font-size: clamp(22px, 2.3vw, 30px);
}

.copy-btn {
  margin-top: 22px;
  background: var(--white);
  color: var(--blue);
  border-color: transparent;
}

.copy-btn.light {
  margin-top: 0;
}

.copy-btn:hover {
  background: var(--orange);
  color: #111;
}

.about-panel p:not(.eyebrow) {
  color: var(--muted);
  font-size: 20px;
}

.contact-form-wrap {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 24px;
  align-items: start;
  background: var(--paper);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
  color: var(--black);
  font-size: 14px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--black);
  font: inherit;
  font-weight: 500;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}

.faq-item {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.faq-item h2 {
  font-size: clamp(22px, 2.5vw, 32px);
  margin-bottom: 10px;
}

.faq-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.section-head.center {
  display: block;
  text-align: center;
}

.section-head.center h2 {
  margin-left: auto;
  margin-right: auto;
}

.about-values {
  background: var(--paper);
}

.about-band {
  align-items: center;
}

@media (max-width: 960px) {
  .site-header { align-items: start; flex-wrap: wrap; }
  .nav { order: 3; width: 100%; flex-wrap: wrap; overflow: visible; gap: 18px 20px; padding: 12px 0; }
  .hero { min-height: 640px; }
  .cards.three, .cards.four, .split, .feature-band, .results, .footer, .about-grid, .contact-grid, .contact-form-wrap { grid-template-columns: 1fr; }
  .split > div:first-child { position: static; }
  .steps { grid-template-columns: 1fr; border-top: 0; }
  .steps article { border-right: 0; border-top: 1px solid var(--line); }
  .news-grid { grid-template-columns: 1fr; }
  .news-card.featured { grid-column: auto; }
}

@media (max-width: 640px) {
  .brand img { width: 56px; max-height: 56px; }
  .site-header { padding: 12px 16px; }
  .nav { gap: 15px; font-size: 13px; }
  .hero { min-height: 600px; padding: 62px 18px; }
  h1 { font-size: clamp(38px, 13vw, 52px); }
  .section, .cta, .feature-band { padding: 62px 18px; }
  .solution-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .timeline article { grid-template-columns: 1fr; gap: 6px; }
  .footer.compact { grid-template-columns: 1fr; }
}

.form-status {
  padding: 20px 24px;
  border: 1px solid var(--blue);
  border-left: 5px solid var(--orange);
  border-radius: 8px;
  background: var(--paper);
  color: var(--black);
}

.form-status[hidden] { display: none; }
.form-status strong { display: block; font-size: 20px; }
.form-status p { margin: 8px 0 0; color: var(--muted); }
.form-status[data-state="success"] { box-shadow: var(--shadow); }
.form-status[data-state="error"] { border-color: var(--orange); }
.contact-form button:disabled { opacity: .65; cursor: wait; }

.form-success-icon,
.form-success-brand,
#sendAnother { display: none; }

.contact-form.is-submitted > :not(.form-status) { display: none; }
.form-status[data-state="success"] {
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-top: 5px solid var(--orange);
  background: var(--white);
  text-align: center;
}
.form-status[data-state="success"] .form-success-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 36px;
}
.form-status[data-state="success"] .form-success-brand {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}
.form-status[data-state="success"] strong { font-size: clamp(24px, 3vw, 30px); }
.form-status[data-state="success"] p { max-width: 440px; margin: 12px auto 24px; }
.form-status[data-state="success"] #sendAnother { display: inline-flex; }
.form-status:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; align-items: start; }
.blog-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: var(--shadow); }
.blog-cover { position: relative; display: flex; flex-direction: column; justify-content: space-between; height: 210px; padding: 24px; overflow: hidden; background: var(--blue); color: #fff; }
.blog-cover span { font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.blog-cover b { align-self: end; font-size: 100px; line-height: 1; }
.blog-cover-02 { background: var(--orange); color: #111; }
.blog-cover-03 { background: var(--blue-2); }
.blog-content { padding: 28px; }
.blog-content h2 { margin: 12px 0 16px; font-size: clamp(24px, 2.3vw, 30px); line-height: 1.2; }
.blog-content p { color: var(--muted); }
.blog-article { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 18px; }
.blog-article summary { cursor: pointer; font-weight: 800; color: var(--black); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 6px; }
.blog-article summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.blog-article h3 { margin: 28px 0 10px; font-size: 20px; }
.blog-article p { line-height: 1.8; }
.blog-article .text-link { display: inline-block; margin-top: 12px; }
@media (max-width: 960px) { .blog-grid { grid-template-columns: 1fr; } .blog-cover { height: 180px; } }

/* Compact article listing. */
.blog-page-heading { max-width: 1240px; margin: 0 auto; padding: 54px 28px 24px; }
.blog-page-heading .eyebrow { margin: 0 0 10px; }
.blog-page-heading h1 { margin: 0; font-size: clamp(32px, 4vw, 44px); line-height: 1.15; }
.section.blog-grid { max-width: 1240px; margin: 0 auto; padding: 12px 28px 72px; gap: 24px; }
.blog-card { border-radius: 12px; border-top: 4px solid var(--blue); box-shadow: 0 8px 28px rgba(18, 95, 193, .07); }
.blog-card:nth-child(2) { border-top-color: var(--orange); }
.blog-content { padding: 28px; }
.blog-content > .eyebrow { margin: 0 0 16px; font-size: 11px; letter-spacing: .06em; }
.blog-content h2 { margin: 0 0 16px; font-size: 25px; line-height: 1.3; }
.blog-content > p:not(.eyebrow) { margin: 0; font-size: 15px; line-height: 1.75; }
.blog-article { border-top: 0; padding-top: 0; margin-top: 24px; }
.blog-article summary { display: inline-flex; align-items: center; gap: 12px; padding: 11px 18px; border-radius: 6px; background: var(--blue); color: #fff; font-size: 14px; text-decoration: none; list-style: none; transition: background .2s; }
.blog-article summary::-webkit-details-marker { display: none; }
.blog-article summary::after { content: '→'; }
.blog-article summary:hover { background: var(--blue-2); }
.blog-article[open] summary::after { content: '−'; }
@media (max-width: 960px) { .section.blog-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .blog-article summary { transition: none; } }

.blog-grid { align-items: stretch; }
.blog-card { display: flex; }
.blog-content { display: flex; flex-direction: column; width: 100%; }
.blog-content > p:not(.eyebrow),
.blog-article p { text-align: justify; hyphens: auto; }
.blog-content > .blog-article { margin-top: auto; padding-top: 24px; }

.blog-content > .blog-read-link { align-self: flex-start; margin-top: auto; }
.blog-content > p:not(.eyebrow) { margin-bottom: 24px; }
.article-page { max-width: 860px; margin: 0 auto; padding: 48px 24px 80px; }
.article-back { display: inline-block; margin-bottom: 36px; font-weight: 700; }
.article-detail h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.2; margin: 12px 0 24px; }
.article-detail > p:not(.eyebrow) { font-size: 18px; line-height: 1.85; color: var(--muted); text-align: justify; hyphens: auto; }
.article-detail > h2 { font-size: 26px; margin: 36px 0 12px; }
.article-share { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.article-share h2 { font-size: 20px; margin-bottom: 18px; }
.share-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.share-link { border: 1px solid var(--line); background: var(--paper); color: var(--black); }
.share-link:hover { border-color: var(--blue); }

.share-link[data-share="whatsapp"] { background: #187c3d; border-color: #187c3d; color: #fff; }
.share-link[data-share="x"] { background: #171717; border-color: #171717; color: #fff; }
.share-link[data-share="facebook"] { background: #0866d9; border-color: #0866d9; color: #fff; }
.share-link[data-share="email"] { background: #ac4b00; border-color: #ac4b00; color: #fff; }
.share-link:hover { filter: brightness(.88); }
.share-link:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

@media (max-width: 960px) {
  .site-header { position: relative; align-items: center; justify-content: space-between; }
  .site-header .actions { margin-left: auto; }
  .nav a { white-space: nowrap; }
  .nav a[aria-current="page"]::after { bottom: -5px; }
}
@media (max-width: 640px) {
  .nav { gap: 18px 16px; font-size: 13px; }
}

.menu-toggle { display: none; }
@media (max-width: 960px) {
  .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 44px; }
  .menu-toggle span { display: block; width: 21px; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header .nav { display: none; }
  .site-header .nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; border-top: 1px solid var(--line); }
  .nav.is-open a { padding: 12px 8px; }
  .nav.is-open a[aria-current="page"] { background: var(--paper); border-left: 3px solid var(--orange); }
  .nav.is-open a[aria-current="page"]::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { .menu-toggle span { transition: none; } }
