/* ==========================================================================
   Proofix Technologies — Common: tokens, base, buttons, header, footer, shared components
   ========================================================================== */

:root {
  --ink: #1E1B4B;
  --ink-soft: #4B5275;
  --ink-mute: #7A8099;
  --primary: #3730A3;
  --primary-600: #312E81;
  --primary-50: #EEF0FF;
  --primary-100: #E0E4FF;
  --accent: #F59E0B;
  --accent-600: #D97706;
  --accent-50: #FFF6E0;
  --success: #12A150;
  --bg: #FFFFFF;
  --bg-soft: #F7F8FF;
  --bg-tint: #EEF0FF;
  --line: #E4E7F5;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container: 1200px;
  --header-h: 76px;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-full: 999px;

  --shadow-sm: 0 1px 2px rgba(30, 27, 75, .06), 0 1px 3px rgba(30, 27, 75, .06);
  --shadow-md: 0 8px 24px rgba(30, 27, 75, .08);
  --shadow-lg: 0 18px 48px rgba(30, 27, 75, .14);
  --ease: .22s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--ease);
}

a:hover {
  color: var(--primary-600);
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -.02em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.section.soft {
  background: var(--bg-soft);
}

.section.tint {
  background: var(--bg-tint);
}

.section-head {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head.left {
  margin-left: 0;
  text-align: left;
}

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-50);
  padding: 6px 14px;
  border-radius: var(--r-full);
  margin-bottom: 16px;
}

.lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 200;
}

.skip-link:focus {
  left: 8px;
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  white-space: nowrap;
  font: 700 .96rem/1 var(--font);
  border-radius: var(--r-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(55, 48, 163, .28);
}

.btn-primary:hover {
  background: var(--primary-600);
  color: #fff;
}

.btn-accent {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(245, 158, 11, .32);
}

.btn-accent:hover {
  background: var(--accent-600);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--primary);
  border-color: var(--primary-100);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #1fb957;
  color: #fff;
}

.btn-block {
  width: 100%;
}

.link-arrow {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.link-arrow img {
  transition: transform var(--ease);
}

.link-arrow:hover img {
  transform: translateX(4px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--ease);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand img {
  height: 46px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--primary-50);
}

.nav-link img {
  font-size: .65rem;
  transition: transform var(--ease);
}

.has-menu {
  position: relative;
}

.menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 300px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--ease);
}

.has-menu:hover .menu,
.has-menu:focus-within .menu,
.has-menu.open .menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.has-menu:hover .nav-link img,
.has-menu.open .nav-link img {
  transform: rotate(180deg);
}

.menu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink);
}

.menu a:hover {
  background: var(--primary-50);
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cta {
  display: none;
}

.nav-overlay,
.nav-close {
  display: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: #fff;
  font-size: 1.15rem;
  color: var(--ink);
  cursor: pointer;
}

.site-footer {
  background: var(--ink);
  color: #B9BEDD;
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}

.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
}

.footer-brand img {
  height: 48px;
  background: #fff;
  padding: 6px 10px;
  border-radius: 10px;
  margin-bottom: 18px;
}

.site-footer a {
  color: #B9BEDD;
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer li {
  margin-bottom: 10px;
  font-size: .94rem;
}

.footer-contact li {
  display: flex;
  gap: 12px;
}

.footer-contact img {
  color: var(--accent);
  margin-top: 5px;
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 22px 0;
  font-size: .88rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.whatsapp-float,
.back-to-top {
  position: fixed;
  right: 22px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 90;
}

.whatsapp-float {
  bottom: 22px;
  background: #25D366;
  color: #fff;
}

.whatsapp-float:hover {
  color: #fff;
  transform: scale(1.07);
}

.back-to-top {
  bottom: 90px;
  width: 44px;
  height: 44px;
  font-size: 1rem;
  background: var(--primary);
  color: #fff;
  border: 0;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--ease);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-100);
}

.icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 1.35rem;
  margin-bottom: 20px;
}

.icon-box.amber {
  background: #c6c2ff;
  color: #ffffff;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  background: var(--primary-50);
  color: var(--primary-600);
  font-size: .86rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--r-full);
}

.check-list li {
  position: relative;
  padding: 11px 0 11px 36px;
  border-bottom: 1px dashed var(--line);
}

.check-list li:last-child {
  border-bottom: 0;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #E3F7EC url(../assets/images/icon/check.svg) no-repeat center / 12px;
}

.check-list.two-col {
  columns: 2;
  column-gap: 40px;
}

.check-list.two-col li {
  break-inside: avoid;
}

.page-banner {
  background: linear-gradient(135deg, var(--primary-600), var(--primary) 60%, #4F46E5);
  color: #fff;
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}

.page-banner::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(245, 158, 11, .22);
}

.page-banner h1 {
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3rem);
  max-width: 820px;
}

.page-banner p {
  color: #D7DAFF;
  max-width: 680px;
  font-size: 1.1rem;
  margin-bottom: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .88rem;
  margin-bottom: 18px;
  color: #C3C7FF;
}

.breadcrumb a {
  color: #fff;
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split > img {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

.quote {
  background: var(--primary);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 40px 44px;
  position: relative;
  overflow: hidden;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.quote::before {
  content: "\201C";
  position: absolute;
  top: -14px;
  left: 22px;
  font-size: 7rem;
  color: rgba(255, 255, 255, .14);
  line-height: 1;
}

.quote small {
  display: block;
  margin-top: 14px;
  font-size: .92rem;
  font-weight: 500;
  color: #C3C7FF;
}

.tag {
  background: var(--accent-50);
  color: var(--accent-600);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--r-full);
}

.cta-band {
  background: linear-gradient(135deg, var(--primary-600), var(--primary));
  color: #fff;
  border-radius: var(--r-lg);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -90px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(245, 158, 11, .25);
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 8px;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
}

.cta-band p {
  margin: 0;
  color: #D7DAFF;
  max-width: 560px;
}

.cta-band .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.side-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.side-box h4 {
  font-size: 1.05rem;
}

.side-box .btn+.btn {
  margin-top: 10px;
}

.side-list a {
  display: block;
  padding: 10px 12px;
  margin: 0 -12px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
}

.side-list a:hover,
.side-list a.current {
  background: var(--primary-50);
  color: var(--primary);
}

.note-box {
  margin-top: 22px;
  padding: 16px 20px;
  border-left: 4px solid var(--accent);
  background: var(--accent-50);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: .95rem;
  color: var(--ink);
}

@media (max-width: 1100px) {
  .header-actions .header-cta {
    padding: 11px 18px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1050px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(340px, 86vw);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 76px 20px 40px;
    gap: 2px;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    box-shadow: -12px 0 32px rgba(30, 27, 75, .18);
    transition: transform .3s ease, visibility .3s;
  }

  .nav.open {
    transform: none;
    visibility: visible;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(30, 27, 75, .45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s;
  }

  .nav-overlay.show {
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 14px;
    font-size: 1rem;
  }

  .menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 12px;
    min-width: 0;
    display: none;
  }

  .has-menu:hover .menu {
    opacity: 1;
  }

  .has-menu.open .menu {
    display: block;
  }

  .header-actions .header-cta {
    display: none;
  }

  .site-header {
    backdrop-filter: none;
    background: #fff;
  }

  .nav {
    z-index: 2;
  }

  .nav-close {
    display: flex;
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-sm);
    border: 1px solid var(--line);
    background: #fff;
    font-size: 1.15rem;
    color: var(--ink);
    cursor: pointer;
  }

  .nav-cta {
    display: inline-flex;
    margin-top: 16px;
  }
}

@media (max-width: 960px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 60px 0;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .split>* {
    min-width: 0;
  }

  .btn {
    white-space: normal;
  }

  .check-list.two-col {
    columns: 1;
  }

  .cta-band {
    padding: 36px 24px;
  }

  .quote {
    padding: 30px 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Icons: <img class="icon"> from assets/images/icon (Font Awesome Free 6.5.1, CC BY 4.0).
   SVGs are black, so each context recolors them with a filter. */
:root {
  --f-white: brightness(0) invert(1);
  --f-ink: brightness(0) invert(44%) sepia(70%) saturate(367%) hue-rotate(205deg) brightness(40%) contrast(126%);
  --f-primary: brightness(0) invert(38%) sepia(75%) saturate(442%) hue-rotate(204deg) brightness(71%) contrast(148%);
  --f-accent: brightness(0) invert(52%) sepia(88%) saturate(616%) hue-rotate(359deg) brightness(109%) contrast(92%);
  --f-accent-600: brightness(0) invert(57%) sepia(91%) saturate(554%) hue-rotate(345deg) brightness(80%) contrast(116%);
  --f-success: brightness(0) invert(57%) sepia(90%) saturate(673%) hue-rotate(95deg) brightness(73%) contrast(86%);
}

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
}

.btn-accent .icon,
.nav-link .icon,
.menu-toggle .icon,
.nav-close .icon { filter: var(--f-ink); }

.nav-link:hover .icon,
.nav-link.active .icon,
.btn-outline .icon,
.link-arrow .icon,
.icon-box .icon { filter: var(--f-primary); }

.btn-primary .icon,
.btn-whatsapp .icon,
.whatsapp-float .icon,
.back-to-top .icon,
.icon-box.amber .icon,
.btn-accent:hover .icon { filter: var(--f-white); }

.footer-contact .icon { filter: var(--f-accent); }

/* Running banner (top of header) */
.top-banner {
  background: var(--primary, #0b3d91);
  color: #fff;
  overflow: hidden;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 34px;
  height: 34px;
}
.top-banner-track {
  display: flex;
  width: max-content;
  animation: banner-run 30s linear infinite;
}
.top-banner:hover .top-banner-track { animation-play-state: paused; }
.top-banner-group { display: flex; flex-shrink: 0; }
.top-banner-group span { padding: 0 28px; white-space: nowrap; }
@keyframes banner-run { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .top-banner-track { animation: none; }
}
