@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-strong: #eef2f7;
  --text: #172033;
  --muted: #5f6b7a;
  --border: #dce3ec;
  --primary: #202945;
  --primary-contrast: #ffffff;
  --accent: #e2553f;
  --accent-strong: #bf3e2c;
  --blue: #2563eb;
  --success: #15803d;
  --contact-bg: #202945;
  --contact-text: #ffffff;
  --contact-muted: rgba(255, 255, 255, 0.92);
  --contact-border: rgba(255, 255, 255, 0.24);
  --shadow: 0 18px 50px rgba(23, 32, 51, 0.1);
  --radius: 8px;
  --container: min(1160px, calc(100vw - 32px));
  --font: "Montserrat", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111827;
  --surface: #172033;
  --surface-strong: #202945;
  --text: #f8fafc;
  --muted: #c0cad8;
  --border: #334155;
  --primary: #dbeafe;
  --primary-contrast: #111827;
  --accent: #ff765f;
  --accent-strong: #ff927f;
  --blue: #7aa2ff;
  --success: #86efac;
  --contact-bg: #111827;
  --contact-text: #f8fafc;
  --contact-muted: #eef4fb;
  --contact-border: rgba(219, 228, 239, 0.32);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 128px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea {
  font: inherit;
}

body,
body * {
  font-family: var(--font) !important;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

button,
a,
summary {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 50;
  transform: translateY(-160%);
  background: var(--surface);
  color: var(--text);
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.topbar {
  background: var(--primary);
  color: var(--primary-contrast);
  font-size: 0.875rem;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar span {
  color: color-mix(in srgb, var(--primary-contrast) 82%, transparent);
}

.nav-shell {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  font-weight: 800;
}

.brand img {
  width: 132px;
  max-height: 48px;
  object-fit: contain;
}

.brand span {
  max-width: 210px;
  overflow-wrap: anywhere;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-weight: 500;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent);
}

.theme-toggle,
.icon-button,
.button {
  border: 0;
  border-radius: var(--radius);
  min-height: 44px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  padding: 0;
  background: var(--surface-strong);
  color: var(--text);
  border: 1px solid var(--border);
  font-weight: 800;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.theme-toggle:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}

.theme-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-icon-sun {
  display: none;
}

:root[data-theme="dark"] .theme-icon-moon {
  display: none;
}

:root[data-theme="dark"] .theme-icon-sun {
  display: block;
}

.menu-toggle {
  display: none;
  width: 44px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
}

.menu-toggle span[aria-hidden="true"],
.menu-toggle span[aria-hidden="true"]::before,
.menu-toggle span[aria-hidden="true"]::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: auto;
  background: var(--text);
  content: "";
}

.menu-toggle span[aria-hidden="true"]::before {
  transform: translateY(-6px);
}

.menu-toggle span[aria-hidden="true"]::after {
  transform: translateY(4px);
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--bg) 95%, transparent) 0%, color-mix(in srgb, var(--bg) 84%, transparent) 42%, color-mix(in srgb, var(--bg) 35%, transparent) 100%),
    url("../img/hero-consultoria.jpg") center / cover;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, var(--bg));
  content: "";
}

.hero-grid {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 44px;
  padding-block: 80px 96px;
}

.hero-copy {
  max-width: 740px;
}

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

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 6vw, 4.875rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-lead,
.section-heading p,
.contact-copy > p {
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 900;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--accent-strong);
}

.button .button-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
  stroke: none;
}

.button .button-icon path {
  fill: currentColor;
}

.button-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.proof-strip div,
.diagnostic-panel,
.metric-card,
.process-grid article,
.values-list article,
.faq-list details,
.contact-form,
.trust-grid article {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.proof-strip div {
  padding: 16px;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 16%, var(--surface));
  color: var(--accent);
}

.card-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.35;
}

.proof-strip .card-icon,
.trust-grid .card-icon,
.values-list .card-icon {
  background: color-mix(in srgb, var(--accent) 16%, var(--surface));
}

.proof-strip div:hover,
.trust-grid article:hover,
.values-list article:hover,
.service-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 48%, var(--border));
}

.proof-strip dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-strip dd {
  margin: 0;
  font-weight: 900;
}

.diagnostic-panel {
  padding: 24px;
  box-shadow: var(--shadow);
}

.panel-kicker {
  color: var(--success);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.diagnostic-panel h2 {
  font-size: 1.65rem;
}

.diagnostic-panel ul,
.service-card ul {
  padding-left: 18px;
}

.diagnostic-panel li,
.service-card li {
  margin-bottom: 8px;
}

.text-link {
  color: var(--accent);
  font-weight: 900;
}

.section {
  padding-block: 92px;
  scroll-margin-top: 128px;
}

.hero {
  scroll-margin-top: 128px;
}

.section-tight {
  padding-block: 36px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
  text-align: center;
}

.align-left {
  margin-inline: 0;
  text-align: left;
}

.trust-section {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 82%, transparent), var(--bg));
}

.trust-content {
  padding: 0;
}

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

.trust-grid article {
  position: relative;
  padding: 22px;
  min-height: 224px;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.trust-grid article::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  border-radius: var(--radius) 0 0 var(--radius);
  background: color-mix(in srgb, var(--accent) 65%, transparent);
  content: "";
}

.trust-grid h3,
.trust-grid span:not(.card-icon) {
  display: block;
}

.trust-grid h3 {
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.trust-grid span:not(.card-icon),
.trust-grid p {
  color: var(--muted);
}

.trust-grid p {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
}

.entity-section {
  padding-block: 68px;
  background: var(--bg);
}

.entity-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 42px;
  align-items: start;
}

.entity-facts {
  display: grid;
  gap: 0;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.entity-facts div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 18px;
}

.entity-facts div + div {
  border-top: 1px solid var(--border);
}

.entity-facts dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
}

.entity-facts dd {
  margin: 0;
  font-weight: 500;
}

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

.services-noscript {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.services-noscript ul {
  margin: 0;
  padding-left: 18px;
}

.services-noscript li {
  margin-bottom: 8px;
  color: var(--muted);
}

.service-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 180ms ease, transform 180ms ease;
}

.service-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.service-card > div {
  padding: 20px;
}

.service-card-header {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.service-card-header h3 {
  margin: 0;
}

.service-card .service-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.service-card .service-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card p,
.service-card li,
.metric-card p,
.values-list p,
.process-grid p,
.faq-list p,
.contact-form p,
.site-footer p {
  color: var(--muted);
}

.service-card ul {
  margin: 16px 0 0;
}

.accent-section,
.process-section {
  background: var(--surface-strong);
}

.split,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 42px;
  align-items: start;
}

.company-grid {
  display: grid;
  gap: 30px;
}

.company-grid .section-heading {
  max-width: 880px;
}

.metric-card {
  padding: 28px;
}

.metric-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 4rem;
  line-height: 1;
  font-weight: 900;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.clients-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}

.clients-pagination[hidden] {
  display: none;
}

.clients-pagination .icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.clients-pagination .icon-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.clients-pagination svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.clients-pagination span {
  color: var(--muted);
  font-weight: 500;
}

.client-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 20px;
  min-height: 132px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease;
}

.client-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.client-card > strong {
  font-weight: 600;
}

.client-logo {
  display: grid;
  place-items: center;
  min-height: 92px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
}

.client-logo img {
  max-width: 120px;
  max-height: 70px;
  object-fit: contain;
}

.client-logo span {
  color: var(--accent);
  font-weight: 900;
}

.api-note {
  min-height: 1.5em;
  color: var(--accent);
  font-weight: 800;
}

.values-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}

.values-list article {
  padding: 22px;
  transition: border-color 180ms ease, transform 180ms ease;
}

.values-list article:nth-child(3) {
  grid-column: 1 / -1;
}

.values-list h3 {
  margin-bottom: 8px;
}

.company-copy,
.company-copy p,
.company-copy li {
  color: var(--muted);
}

.company-copy p {
  margin: 0;
}

.company-copy p + p,
.company-copy ul,
.company-copy ol {
  margin: 10px 0 0;
}

.company-copy ul,
.company-copy ol {
  padding-left: 18px;
}

.company-copy li {
  margin-bottom: 6px;
}

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

.process-grid article {
  padding: 24px;
}

.process-grid .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 900;
}

.faq-list {
  max-width: 820px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list details + details {
  margin-top: 12px;
}

.faq-list summary {
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
}

.contact-section {
  background: var(--contact-bg);
  color: var(--contact-text);
}

.contact-section .eyebrow,
.contact-section a {
  color: var(--contact-text);
}

.contact-copy > p,
.contact-form p {
  color: var(--contact-muted);
}

.contact-section address,
.contact-section address span,
.contact-section address a,
.contact-section .social-links a {
  color: var(--contact-text);
}

.contact-section .contact-copy > p,
.contact-section address span,
.contact-section address a,
.contact-section .social-links a {
  opacity: 1;
}

.contact-section .contact-form p {
  color: #4b5563;
}

address {
  display: grid;
  gap: 8px;
  margin: 28px 0;
  font-style: normal;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--contact-border);
  border-radius: 999px;
  color: var(--contact-text);
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.social-links a:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

.social-links svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-card {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--contact-border);
  border-radius: var(--radius);
  background: var(--surface);
}

.map-card iframe {
  display: block;
  width: 100%;
  min-height: 220px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  color: var(--text);
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  padding: 12px 13px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  width: 100%;
}

.site-footer {
  padding-block: 44px;
  background: #0b1020;
  color: #ffffff;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer h2 {
  margin-bottom: 18px;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.2;
}

.site-footer strong[data-company] {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.brand,
.site-nav,
.theme-toggle,
.button-secondary,
.eyebrow,
.proof-strip dt,
.proof-strip dd,
.panel-kicker,
.text-link,
.client-logo span,
.api-note,
.faq-list summary,
.social-links a,
.contact-form label {
  font-weight: 500;
}

.button-primary,
.metric-card span,
.process-grid .step-number {
  font-weight: 500;
}

.topbar,
.hero-lead,
.section-heading p,
.service-card p,
.service-card li,
.values-list p,
.process-grid p,
.faq-list p,
.contact-form p {
  font-weight: 400;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: start;
}

.footer-about {
  display: grid;
  gap: 28px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #ffffff;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.footer-social a:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.footer-social svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-useful h2 {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.footer-useful ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid a {
  color: #ffffff;
}

.footer-grid a:focus-visible {
  outline-color: #ffffff;
}

.footer-useful a {
  display: block;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.footer-useful a:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(920px, calc(100% - 40px));
  margin-inline: auto;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
}

.cookie-banner .button {
  flex: 0 0 auto;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 29;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.whatsapp-float:hover {
  background: #1fb457;
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(37, 211, 102, 0.42);
}

.whatsapp-float:focus-visible {
  outline-color: #ffffff;
}

.whatsapp-float svg {
  width: 33px;
  height: 33px;
  fill: currentColor;
  stroke: none;
}

@media (max-width: 980px) {
  html {
    scroll-padding-top: 84px;
  }

  .section,
  .hero {
    scroll-margin-top: 84px;
  }

  .topbar {
    display: none;
  }

  .nav-shell {
    grid-template-columns: auto auto auto;
  }

  .brand span {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .site-nav {
    position: absolute;
    inset: 76px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .hero-grid,
  .split,
  .entity-grid,
  .company-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
    padding-block: 72px;
  }

  .diagnostic-panel {
    max-width: 560px;
  }

  .trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
    padding-right: 82px;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 24px, 1160px);
  }

  .nav-shell {
    min-height: 68px;
    gap: 10px;
  }

  .brand img {
    width: 112px;
  }

  .theme-toggle {
    padding-inline: 0;
  }

  .site-nav {
    inset-top: 68px;
  }

  .cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
    padding-right: 16px;
  }

  .cookie-banner.is-visible + .whatsapp-float {
    bottom: 176px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--bg) 95%, transparent) 0%, color-mix(in srgb, var(--bg) 88%, transparent) 62%, color-mix(in srgb, var(--bg) 82%, transparent) 100%),
      url("../img/hero-consultoria.jpg") center / cover;
  }

  .hero-grid {
    padding-block: 48px 64px;
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 2rem;
  }

  .proof-strip,
  .trust-grid,
  .services-grid,
  .values-list,
  .process-grid,
  .clients-grid {
    grid-template-columns: 1fr;
  }

  .client-card {
    grid-template-columns: 1fr;
  }

  .entity-facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .section {
    padding-block: 68px;
  }

  .footer-grid {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .footer-useful h2 {
    text-align: left;
  }

  .footer-useful ul {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
