@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Manrope:wght@700;800&display=swap");

:root {
  --global-blue: #0A4C78;
  --global-blue-dark: #073A5C;
  --global-blue-soft: #E8F3FA;
  --global-accent: #00B4D8;
  --global-text: #1E293B;
  --global-muted: #64748B;
  --global-line: #E2E8F0;
  --global-shadow: 0 18px 48px rgba(15, 23, 42, .10);
  --global-container: 1280px;
}

body {
  padding-top: 88px;
}

.container {
  width: min(calc(100% - 48px), var(--container, var(--global-container)));
  margin-inline: auto;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(226, 232, 240, .86);
  backdrop-filter: blur(16px);
  font-family: Inter, Arial, sans-serif;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
}

.brand img {
  height: 62px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted, var(--global-muted));
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.nav a:hover {
  color: var(--blue, var(--global-blue));
  background: var(--blue-soft, var(--global-blue-soft));
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line, var(--global-line));
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue, var(--global-blue));
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.topbar a.btn,
.topbar a.btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  font-family: Inter, Arial, sans-serif;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.topbar a.btn:hover {
  transform: translateY(-1px);
}

.topbar a.btn-primary,
.topbar a.btn-primary:visited {
  color: #fff;
  background: var(--global-accent);
  box-shadow: 0 12px 28px rgba(0, 180, 216, .26);
}

.topbar a.btn-primary:hover {
  background: #009BB9;
}

.footer {
  padding: 58px 0 24px;
  background: #fff;
  border-top: 1px solid var(--line, var(--global-line));
  font-family: Inter, Arial, sans-serif;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 30px;
}

.footer img {
  height: 56px;
  width: auto;
  margin-bottom: 16px;
}

.footer p,
.footer a,
.footer span {
  color: var(--muted, var(--global-muted));
  line-height: 1.55;
  font-size: 14px;
}

.footer-col {
  display: grid;
  gap: 9px;
  align-content: start;
}

.footer strong {
  color: var(--text, var(--global-text));
  margin-bottom: 4px;
}

.footer a {
  text-decoration: none;
}

.footer a:hover {
  color: var(--blue, var(--global-blue));
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line, var(--global-line));
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.whatsapp-float {
  position: fixed;
  right: 28px;
  bottom: 36px;
  z-index: 80;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #fff;
  box-shadow: 0 14px 36px rgba(37, 211, 102, .35);
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity .2s ease, transform .2s ease;
}

.whatsapp-float svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
}

.whatsapp-float.is-near-footer {
  bottom: 108px;
}

.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  width: 100%;
  padding: 11px 0;
  border-top: 1px solid rgba(226, 232, 240, .94);
  background: #fff;
  box-shadow: 0 -10px 28px rgba(15, 23, 42, .08);
  color: var(--global-text);
  font-family: Inter, Arial, sans-serif;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent p {
  margin: 0;
  color: var(--global-muted);
  font-size: 13px;
  line-height: 1.45;
}

.cookie-consent a {
  color: var(--global-blue);
  font-weight: 800;
  text-decoration: none;
}

.cookie-consent a:hover {
  color: var(--global-blue-dark);
}

.cookie-consent-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(calc(100% - 48px), var(--container, var(--global-container)));
  margin-inline: auto;
}

.cookie-consent-actions,
.cookie-consent-custom-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.cookie-consent button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--global-blue);
  cursor: pointer;
  font: 800 13px/1.1 Inter, Arial, sans-serif;
}

.cookie-consent button:hover {
  border-color: rgba(0, 180, 216, .35);
  background: var(--global-blue-soft);
}

.cookie-consent .cookie-primary {
  border-color: transparent;
  background: var(--global-accent);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 180, 216, .20);
}

.cookie-consent .cookie-primary:hover {
  background: #009BB9;
}

.cookie-consent-custom {
  display: grid;
  gap: 12px;
  width: min(calc(100% - 48px), var(--container, var(--global-container)));
  margin: 10px auto 0;
  padding-top: 10px;
  border-top: 1px solid var(--global-line);
}

.cookie-consent-custom[hidden] {
  display: none;
}

.cookie-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--global-text);
  font-size: 13px;
  line-height: 1.45;
}

.cookie-option input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--global-accent);
}

.cookie-option strong {
  display: block;
  margin-bottom: 2px;
}

.cookie-option span {
  color: var(--global-muted);
}

.js-scroll .scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}

.js-scroll .scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js-scroll .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

@media (max-width: 760px) {
  .cookie-consent {
    padding: 12px 0;
  }

  .cookie-consent-main {
    grid-template-columns: 1fr;
    width: min(calc(100% - 32px), var(--container, var(--global-container)));
    gap: 10px;
  }

  .cookie-consent-custom {
    width: min(calc(100% - 32px), var(--container, var(--global-container)));
  }

  .cookie-consent-actions,
  .cookie-consent-custom-actions {
    justify-content: flex-start;
  }

  .cookie-consent button {
    flex: 0 1 auto;
  }
}

.case-section {
  background: #fff;
}

.case-section .case-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 56px;
  align-items: start;
  padding: 42px;
  border: 1px solid rgba(11, 79, 120, .12);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(11, 79, 120, .08);
}

.case-section .case-copy h2 {
  max-width: 680px;
  margin: 18px 0;
  color: #0B2341;
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.case-section .case-meta {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 9px 13px;
  border-radius: 10px;
  background: rgba(0, 180, 216, .10);
  color: #0B4F78;
  font-size: 14px;
  font-weight: 800;
}

.case-section .case-context {
  display: block;
  margin: 0 0 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0B4F78;
  font-weight: 900;
}

.case-section .case-text-block {
  margin-top: 24px;
}

.case-section .case-text-block h3 {
  margin: 0 0 8px;
  color: #0B2341;
  font-size: 22px;
  line-height: 1.2;
}

.case-section .case-text-block p {
  margin: 0;
  color: #4B5F78;
  font-size: 17px;
  line-height: 1.7;
}

.case-section .case-insight {
  margin: 30px 0 0;
  padding: 22px 24px;
  border-left: 4px solid #00B4D8;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(0, 180, 216, .10), rgba(255,255,255,.82));
}

.case-section .case-insight p {
  margin: 0;
  color: #0B2341;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
}

.case-section .case-insight cite {
  display: block;
  margin-top: 12px;
  color: #0B4F78;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}

.case-section .case-results-panel {
  padding-top: 4px;
}

.case-section .case-results-panel h3 {
  margin: 0 0 18px;
  color: #0B2341;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.case-section .case-result {
  padding: 22px 24px;
  border: 1px solid rgba(11, 79, 120, .12);
  border-radius: 16px;
  background: #F7FBFE;
}

.case-section .case-result + .case-result {
  margin-top: 14px;
}

.case-section .case-result strong {
  display: block;
  margin-bottom: 6px;
  color: #0B4F78;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.case-section .case-result span {
  display: block;
  color: #4B5F78;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.case-section .case-link {
  display: inline-flex;
  margin-top: 22px;
  border-bottom: 2px solid rgba(0, 180, 216, .35);
  color: #0B4F78;
  font-weight: 900;
  text-decoration: none;
}

.case-section .case-link:hover {
  color: #00B4D8;
}

@media (min-width: 1024px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    right: 24px;
    bottom: 24px;
  }

  .whatsapp-float svg {
    width: 27px;
    height: 27px;
  }

  .whatsapp-float.is-near-footer {
    bottom: 108px;
  }
}

@media (max-width: 1024px) {
  .case-section .case-card {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .case-section .case-results-panel {
    padding-top: 0;
  }
}

@media (max-width: 860px) {
  body { padding-top: 76px; }

  .topbar-inner {
    position: relative;
    min-height: 76px;
  }

  .brand img {
    height: 48px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--line, var(--global-line));
    border-radius: 8px;
    background: rgba(255,255,255,.98);
    box-shadow: var(--shadow, var(--global-shadow));
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav a {
    padding: 13px 14px;
    background: #fff;
    border: 1px solid var(--line, var(--global-line));
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 24px), var(--container, var(--global-container)));
  }

  .case-section .case-card {
    padding: 28px 22px;
    border-radius: 18px;
  }

  .case-section .case-copy h2 {
    font-size: 34px;
  }

  .case-section .case-result strong {
    font-size: 23px;
  }

  .topbar .btn {
    display: none;
  }

  .whatsapp-float {
    right: 18px;
    bottom: 22px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float.is-near-footer {
    bottom: 108px;
  }
}
