:root {
  --navy: #12324a;
  --blue: #1f6f8b;
  --teal: #2c9a8c;
  --green: #5d8a52;
  --gold: #c89b3c;
  --ink: #15222b;
  --muted: #64737d;
  --line: #dce5e8;
  --soft: #f3f7f6;
  --paper: #ffffff;
  --shadow: 0 18px 45px rgba(18, 50, 74, .12);
  --radius: 8px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 12px; z-index: 50; }
.skip-link:focus { left: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(220,229,232,.8);
  backdrop-filter: blur(16px);
}
.topbar { background: var(--navy); color: #dcebf0; font-size: .84rem; }
.topbar-inner { min-height: 34px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar a { text-decoration: none; font-weight: 700; color: #fff; }
.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--navy); }
.brand-logo { width: 198px; max-width: 42vw; height: auto; object-fit: contain; }
.brand-mark {
  width: 46px; height: 46px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff; border-radius: 8px; font-weight: 800; letter-spacing: 0;
}
.brand strong { display: block; font-size: 1.18rem; line-height: 1.05; }
.brand small { display: block; color: var(--muted); font-size: .78rem; margin-top: 2px; }
.nav .brand span:last-child { display: none; }
.flag-br { display: inline-block; margin-right: 5px; font-size: 1rem; line-height: 1; }
.phone-link { display: inline-flex; align-items: center; }
.menu { display: flex; align-items: center; gap: 22px; font-size: .94rem; }
.menu a { text-decoration: none; color: #2f414c; font-weight: 650; }
.menu a:hover { color: var(--blue); }
.client-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  background: var(--soft);
}
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--navy); margin: 4px auto; }

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}
.hero-media, .hero-media img, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; }
.hero-overlay { background: linear-gradient(90deg, rgba(13,39,58,.92) 0%, rgba(13,39,58,.72) 48%, rgba(13,39,58,.28) 100%); }
.hero-content { position: relative; padding: 120px 0 58px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.95rem);
  line-height: .98;
  letter-spacing: 0;
}
.hero-text { max-width: 680px; font-size: clamp(1.04rem, 2vw, 1.25rem); color: #e4edf0; margin: 22px 0 0; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 12px 24px rgba(44,154,140,.28); }
.btn-primary:hover { background: #23877b; }
.btn-secondary { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.34); }
.btn-secondary:hover { background: rgba(255,255,255,.2); }
.btn-quiet { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-quiet:hover { border-color: var(--teal); color: var(--teal); }
.inline-actions { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 850px;
  margin: 54px 0 0;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.25);
}
.proof-row div { background: rgba(18,50,74,.5); padding: 18px; }
.proof-row dt { font-weight: 850; }
.proof-row dd { margin: 4px 0 0; color: #d9e7eb; font-size: .92rem; }

.section { padding: 86px 0; }
.trust-band { padding: 18px 0; background: var(--navy); color: #d9e7eb; }
.keyword-strip { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.keyword-strip span { border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 7px 11px; font-size: .86rem; }
.section-grid, .split, .contact-grid, .faq-layout, .tutorial-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
}
.section-copy { position: sticky; top: 126px; }
h2 { margin: 0; color: var(--navy); font-size: clamp(2rem, 3.4vw, 3.25rem); line-height: 1.05; letter-spacing: 0; }
h3 { margin: 0; color: var(--navy); line-height: 1.18; }
p { color: #40525c; }
.solution-list { display: grid; gap: 16px; }
.service-card, .article-grid article, .process-grid li, .lead-form, .client-panel, .intent-grid article, .glossary-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.service-card { padding: 28px; box-shadow: 0 8px 24px rgba(18,50,74,.06); }
.service-card p { margin-bottom: 18px; }
.service-card a { color: var(--blue); font-weight: 800; text-decoration: none; }
.service-icon {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 8px;
  background: #e9f3f1; color: var(--teal);
  font-weight: 850; margin-bottom: 16px;
}
.muted { background: var(--soft); }
.split { grid-template-columns: minmax(0, 1fr) minmax(280px, .82fr); align-items: center; }
.check-list { padding: 0; margin: 24px 0 0; list-style: none; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 28px; color: #334650; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); box-shadow: inset 0 0 0 3px #d9efeb; }
.image-panel { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.image-panel img { aspect-ratio: 1.16 / 1; object-fit: cover; }
.image-panel figcaption { padding: 13px 16px; color: var(--muted); font-size: .9rem; }
.section-center { text-align: center; max-width: 760px; margin: 0 auto 38px; }
.process-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  counter-reset: step;
}
.process-grid li { padding: 24px; counter-increment: step; }
.process-grid li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  color: var(--gold);
  font-weight: 900;
  margin-bottom: 36px;
}
.intent-section { background: #fbfdfc; }
.intent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.intent-grid article, .glossary-grid article { padding: 22px; }
.seo-content { background: #fbfdfc; }
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.article-grid article { padding: 26px; }
.tutorial-section { background: #eef5f3; }
.tutorial-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; }
.tutorial-list { list-style: none; display: grid; gap: 12px; padding: 0; margin: 0; counter-reset: tutorial; }
.tutorial-list li {
  counter-increment: tutorial;
  position: relative;
  padding: 18px 18px 18px 64px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.tutorial-list li::before {
  content: counter(tutorial);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
}
.tutorial-list strong, .tutorial-list span { display: block; }
.tutorial-list span { color: #40525c; margin-top: 3px; }
.comparison-section { background: #fff; }
.comparison-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.comparison-table [role="row"] {
  display: grid;
  grid-template-columns: .75fr 1.15fr 1.1fr;
  border-bottom: 1px solid var(--line);
}
.comparison-table [role="row"]:last-child { border-bottom: 0; }
.comparison-table span { padding: 15px 16px; border-right: 1px solid var(--line); color: #40525c; }
.comparison-table span:last-child { border-right: 0; }
.comparison-table .table-head { background: var(--navy); }
.comparison-table .table-head span { color: #fff; font-weight: 850; }
.sectors-section { background: #f7faf9; }
.sector-tags { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.sector-tags span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-weight: 750;
}
.glossary-section { background: #fff; }
.glossary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.faq-layout { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); }
.faq-list { display: grid; gap: 10px; }
details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
summary { cursor: pointer; font-weight: 850; color: var(--navy); }
details p { margin-bottom: 0; }
.contact-section { background: var(--navy); color: #fff; }
.contact-section h2, .contact-section h3 { color: #fff; }
.contact-section p { color: #d9e7eb; }
.contact-cards { display: grid; gap: 10px; margin-top: 26px; }
.contact-cards a, .contact-cards address {
  display: block;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 16px;
  color: #fff;
  text-decoration: none;
  font-style: normal;
}
.contact-cards strong { display: block; color: var(--gold); margin-bottom: 4px; }
.lead-form { padding: 24px; color: var(--ink); }
.lead-form label { display: block; font-weight: 800; font-size: .86rem; margin: 14px 0 6px; color: var(--navy); }
.lead-form label span { color: var(--muted); font-weight: 650; }
.lead-form label:first-child { margin-top: 0; }
input, textarea {
  width: 100%;
  border: 1px solid #cdd9dc;
  border-radius: 8px;
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
input:focus, textarea:focus { outline: 3px solid rgba(44,154,140,.22); border-color: var(--teal); }
textarea { resize: vertical; min-height: 120px; }
.lead-form .btn { width: 100%; margin-top: 16px; }
.form-note { margin: 12px 0 0; color: var(--muted) !important; font-size: .88rem; }
.area-cliente { padding: 46px 0; background: #eef5f3; }
.client-panel { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px; }
.client-panel h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.client-panel .btn-secondary { background: var(--navy); color: #fff; border-color: var(--navy); }
.site-footer { background: #0b2232; color: #d7e4e8; padding: 52px 0 24px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .6fr) minmax(0, .8fr); gap: 34px; }
.footer-brand { color: #fff; }
.footer-brand .brand-mark { background: #fff; color: var(--navy); }
.site-footer p, .site-footer a { color: #d7e4e8; }
.site-footer nav { display: grid; gap: 8px; align-content: start; }
.site-footer nav a { text-decoration: none; }
.legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; font-size: .86rem; }
.legal p { margin: 0; }
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 14px 32px rgba(18, 50, 74, .28);
  transition: transform .18s ease, box-shadow .18s ease;
}
.whatsapp-float:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(18, 50, 74, .34); }
.whatsapp-float svg { width: 34px; height: 34px; fill: currentColor; }

.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 96px 0 58px;
}
.page-hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}
.page-hero p { max-width: 760px; color: #d9e7eb; font-size: 1.12rem; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  color: #b9cbd2;
  font-size: .9rem;
}
.breadcrumb a { color: #fff; text-decoration: none; }
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(34px, 6vw, 72px);
  align-items: start;
}
.content-main { display: grid; gap: 26px; }
.content-block {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.content-block h2 { font-size: clamp(1.5rem, 2.4vw, 2.15rem); margin-bottom: 12px; }
.content-block h3 { margin-top: 22px; }
.content-block ul, .content-block ol { padding-left: 1.25rem; color: #40525c; }
.content-block li { margin: 8px 0; }
.sidebar-card {
  position: sticky;
  top: 126px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}
.sidebar-card h2 { font-size: 1.35rem; }
.sidebar-card nav { display: grid; gap: 8px; margin-top: 18px; }
.sidebar-card nav a { color: var(--navy); text-decoration: none; font-weight: 750; }
.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.metric-strip div {
  padding: 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
}
.metric-strip strong { display: block; font-size: 1.15rem; color: #fff; }
.metric-strip span { color: #d9e7eb; font-size: .9rem; }
.mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mini-card { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fbfdfc; }
.faq-block details { margin-bottom: 10px; }
.simulator-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
  gap: 22px;
  align-items: start;
}
.result-box {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
}
.result-box p, .result-box li { color: #d9e7eb; }
.result-number { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1; font-weight: 900; color: #fff; }
.lead-form select { width: 100%; border: 1px solid #cdd9dc; border-radius: 8px; padding: 12px 13px; font: inherit; color: var(--ink); background: #fff; }

@media (max-width: 880px) {
  .topbar-inner { justify-content: center; }
  .topbar-inner span { display: none; }
  .menu-toggle { display: block; }
  .menu {
    position: absolute;
    top: 108px;
    left: 16px;
    right: 16px;
    display: none;
    grid-template-columns: 1fr;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    box-shadow: var(--shadow);
  }
  .menu.is-open { display: grid; }
  .menu a { padding: 10px; }
  .hero { min-height: 660px; }
  .hero-overlay { background: linear-gradient(0deg, rgba(13,39,58,.92), rgba(13,39,58,.58)); }
  .proof-row, .section-grid, .split, .contact-grid, .faq-layout, .footer-grid, .article-grid, .process-grid, .intent-grid, .tutorial-grid, .glossary-grid, .content-layout, .mini-grid, .metric-strip, .simulator-panel {
    grid-template-columns: 1fr;
  }
  .section-copy { position: static; }
  .section { padding: 62px 0; }
  .proof-row { margin-top: 36px; }
  .client-panel { align-items: stretch; flex-direction: column; }
  .client-panel .btn { width: 100%; }
  .legal { flex-direction: column; }
  .sidebar-card { position: static; }
  .comparison-table, .comparison-table [role="row"], .comparison-table span { display: block; }
  .comparison-table .table-head { display: none; }
  .comparison-table [role="row"] { padding: 14px 16px; }
  .comparison-table span { border-right: 0; padding: 4px 0; }
  .comparison-table span:first-child { color: var(--navy); font-weight: 850; }
}

@media (max-width: 540px) {
  .container { width: min(calc(100% - 24px), var(--max)); }
  .nav { min-height: 68px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-logo { width: 164px; max-width: 58vw; }
  .brand strong { font-size: 1.02rem; }
  .hero-content { padding: 98px 0 36px; }
  .hero-actions .btn { width: 100%; }
  .proof-row div, .service-card, .article-grid article, .process-grid li, .lead-form { padding: 20px; }
  .menu { top: 102px; }
  .whatsapp-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}
