    :root {
      --nav-total-height: 128px;
      --primary: #cd212a;
      --primary-title: #cd212a;
      --primary-card-title: #cd212a;
      --primary-dark: #008c45;
      --accent: #f4b400;
      --bg: #f6f8fb;
      --text: #1d2733;
      --muted: #4b4b4b;
      --white: #ffffff;
      --shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
      --max-width: 1180px;
    }

    * {
      -webkit-tap-highlight-color: transparent;
      -webkit-touch-callout: none;
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: var(--nav-total-height);
    }

    body {
      font-family: Arial, Helvetica, sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      padding-top: 0;
    }

    body.santino-open {
      overflow: hidden;
    }

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

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

    .container {
      width: min(100% - 2rem, var(--max-width));
      margin: 0 auto;
    }

    .main-nav {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--nav-total-height);
      z-index: 100;
    }

    .sticky-nav {
      background: rgba(205, 33, 42, 1);
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      height: var(--nav-total-height);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0);
      transition:
        opacity 0.18s ease-out,
        visibility 0s linear 0.18s,
        box-shadow 0.18s ease-out;
    }

    .sticky-nav.visible {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
      transition:
        opacity 0.65s ease-out,
        visibility 0s linear 0s,
        box-shadow 0.65s ease-out;
    }

    .sticky-nav.compact {
      --nav-total-height: 76px;
    }

    .sticky-nav.compact .nav-stripe-green,
    .sticky-nav.compact .nav-stripe-white {
      height: 8px;
    }

    .sticky-nav.compact .nav-main {
      height: calc(var(--nav-total-height) - 16px);
    }

    .sticky-nav.compact .nav-inner {
      min-height: 60px;
    }

    .sticky-nav.compact .brand {
      font-size: 1.2rem;
    }

    .sticky-nav.compact .brand-logo {
      width: 42px;
      height: 42px;
    }

    .sticky-nav.compact .nav-links {
      gap: 1rem;
      font-size: 0.92rem;
    }

    .nav-flag {
      display: flex;
      flex-direction: column;
      width: 100%;
    }

    .nav-stripe {
      width: 100%;
    }

    .nav-stripe-green {
      height: 10px;
      background: #008c45;
    }

    .nav-stripe-white {
      height: 10px;
      background: #ffffff;
    }

    .nav-main {
      background: rgba(205, 33, 42, 1);
      color: var(--white);
      -webkit-backdrop-filter: blur(10px);
      height: calc(var(--nav-total-height) - 20px);
      display: flex;
      align-items: center;
    }

    .nav-inner {
      min-height: 76px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }

    .brand {
      color: var(--white);
      font-size: 1.5rem;
      font-weight: 800;
      letter-spacing: 0.4px;
      display: inline-flex;
      align-items: center;
      gap: 0.75rem;
    }

    .brand-logo {
      display: block;
      font-size: 0;
      width: 82px;
      height: 82px;
      border-radius: 50%;
      object-fit: cover;
      flex-shrink: 0;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    }

    .brand-text {
      display: inline-block;
    }

    .brand-text span {
      color: var(--accent);
    }

    .nav-links {
      list-style: none;
      display: flex;
      align-items: center;
      gap: 1.25rem;
      color: var(--white);
      font-weight: 600;
    }

    .nav-links a {
      padding: 0.45rem 0.2rem;
      position: relative;
      transition: opacity 0.25s ease;
    }

    .nav-links a:hover {
      opacity: 0.85;
    }

    .nav-links a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -2px;
      width: 0;
      height: 2px;
      background: var(--accent);
      transition: width 0.25s ease;
    }

    .nav-links a:hover::after {
      width: 100%;
    }

    .menu-toggle {
      display: none;
      background: transparent;
      border: none;
      color: var(--white);
      font-size: 1.8rem;
      cursor: pointer;
    }

    .page-block {
      padding-bottom: 5rem;
    }

    .page-block:last-child {
      padding-bottom: 0;
    }

    .candidates-page {
      padding-top: calc(var(--nav-total-height) + 4rem);
      padding-bottom: 5rem;
    }

    .candidates-page .section-title,
    .candidates-page .section-lead {
      text-align: left;
    }

    .election-budget-section {
      text-align: left;
    }

    .election-budget-section .section-lead {
      margin-left: 0;
      margin-right: 0;
    }



    .election-budget-section {
      text-align: center;
    }

    .election-budget-section .section-lead {
      margin-left: auto;
      margin-right: auto;
    }

    .election-budget-doc {
      min-width: 280px;
    }

    .section-title {
      font-size: clamp(2rem, 4vw, 3rem);
      margin-bottom: 0.75rem;
      color: var(--primary-title);
    }

    .section-lead {
      color: var(--muted);
      margin-bottom: 2rem;
    }

    .card {
      background: var(--white);
      border-radius: 24px;
      padding: 1.75rem;
      box-shadow: var(--shadow);
    }

    .candidates-page {
      padding-top: calc(var(--nav-total-height) + 4rem);
      /* padding-bottom: 5rem;*/
    }

    .candidates-list {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
    }

    .candidate-card {
      text-align: center;
      overflow: hidden;
    }

    .candidate-card h3 {
      margin-bottom: 0.65rem;
      color: var(--primary-card-title);
    }

    .candidate-avatar {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      object-fit: cover;
      margin: 0 auto 1rem;
      border: 4px solid rgba(205, 33, 42, 0.12);
    }

    .candidate-docs {
      display: grid;
      gap: 0.65rem;
      margin-top: 1rem;
    }

    .candidate-doc {
      width: auto;
      height: 46px;
      padding: 0 1rem;
      gap: 0.5rem;
      border-radius: 999px;
      font-weight: 700;
      font-size: 0.9rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(205, 33, 42, 0.1);
      color: var(--primary);
      cursor: pointer;
      transition: background 0.25s ease;
      border: none;
    }

    .candidate-doc:hover {
      background: rgba(205, 33, 42, 0.18);
    }

    .candidate-doc i {
      font-size: 1.15rem;
    }

    .candidate-santino {
      background: rgba(0, 140, 69, 0.1);
      color: #008c45;
    }

    .candidate-santino:hover {
      background: rgba(0, 140, 69, 0.18);
    }


    .mayor-candidate {
      max-width: 70ch;
      margin: 0 auto;
    }


    .mayor-candidate .candidate-card {
      position: relative;
      overflow: hidden;
    }

    .mayor-candidate .candidate-card::before {
      content: "";
      position: absolute;
      top: 28px;
      left: -28px;
      width: 135px;
      height: 20px;
      z-index: 5;
      pointer-events: none;
      transform: rotate(-48deg);
      transform-origin: center;

background: linear-gradient(
  to bottom,
  #008c45 0px,
  #008c45 5px,

  #ffffff 5px,
  #ffffff 10px,

  #cd212a 10px,
  #cd212a 15px,

  transparent 15px,
  transparent 100%
);
    }

    .santino-overlay {
      position: fixed;
      inset: 0;
      z-index: 3000;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 2rem;
      background: rgba(0, 0, 0, 0.72);
    }

    .santino-overlay.open {
      display: flex;
    }

    .santino-modal {
      position: relative;
      max-width: min(100%, 560px);
      width: 100%;
      display: grid;
      justify-items: center;
      gap: 1rem;
    }

    .santino-actions {
      position: absolute;
      top: -18px;
      right: -18px;
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 0.5rem;
      z-index: 2;
    }

    .santino-flip,
    .santino-close {
      width: 44px;
      height: 44px;
      border: none;
      border-radius: 50%;
      color: var(--white);
      font-size: 1.25rem;
      cursor: pointer;
      box-shadow: var(--shadow);
    }

    .santino-flip {
      background: var(--primary);
    }

    .santino-close {
      background: var(--primary);
    }


    .santino-close {

      width: 44px;
      height: 44px;
      border: none;
      border-radius: 50%;
      background: var(--primary);
      color: var(--white);
      font-size: 1.25rem;
      cursor: pointer;
      box-shadow: var(--shadow);

    }

    .santino-title {
      color: var(--white);
      text-align: center;
      font-size: 1.2rem;
      font-weight: 800;
    }

    .santino-card {
      width: min(100%, 500px);
      aspect-ratio: 500 / 703;
      perspective: 1200px;
      cursor: pointer;
    }

    .santino-card-inner {
      position: relative;
      width: 100%;
      height: 100%;
      transition: transform 0.75s ease;
      transform-style: preserve-3d;
    }

    .santino-card.flipped .santino-card-inner {
      transform: rotateY(180deg);
    }

    .santino-face {
      position: absolute;
      inset: 0;
      overflow: hidden;
      border-radius: 22px;
      background: var(--white);
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
      backface-visibility: hidden;
    }

    .santino-face-back {
      transform: rotateY(180deg);
    }

    .santino-face img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .santino-help {
      color: rgba(255, 255, 255, 0.85);
      font-size: 0.95rem;
      text-align: center;
    }

    .footer-site {
      background: #680000;
      color: rgba(255, 255, 255, 0.86);
      padding: 3.25rem 0 0;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1.2fr 1fr 1fr 1fr;
      gap: 2rem;
      align-items: start;
      padding-bottom: 2rem;
    }

    .footer-bottom-bar {
      background: #3f0000;
      margin-top: 2rem;
      padding: 1.2rem 0;
    }

    .footer-brand {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .footer-logo {
      display: inline-flex;
      align-items: center;
      font-size: 1.5rem;
      font-weight: 800;
      letter-spacing: 0.4px;
      color: #fff;
    }

    .footer-logo span {
      color: var(--accent);
    }

    .footer-social {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      color: rgba(255, 255, 255, 0.86);
      transition: color 0.25s ease;
    }

    .footer-social:hover {
      color: #ffffff;
    }

    .footer-social-icon {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.08);
      font-weight: 700;
    }

    .footer-column h4 {
      font-size: 1rem;
      color: #ffffff;
      margin-bottom: 1rem;
    }

    .footer-column ul {
      list-style: none;
      display: grid;
      gap: 0.75rem;
    }

    .footer-column li,
    .footer-column a {
      color: rgba(255, 255, 255, 0.78);
      transition: color 0.3s ease;
    }

    .footer-column a:hover {
      color: #ffffff;
    }

    .footer-bottom {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 0.5rem;
      align-items: center;
    }

    .footer-legal {
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
      color: rgba(255, 255, 255, 0.72);
      font-size: 0.95rem;
    }

    .footer-credit {
      display: flex;
      align-items: center;
      gap: 0.9rem;
      justify-content: flex-end;
      flex-wrap: wrap;
    }

    .footer-credit-label {
      color: rgba(255, 255, 255, 0.8);
      font-size: 0.95rem;
    }

    .footer-credit-badge {
      display: inline-flex;
      align-items: center;
    }

    .footer-credit-badge img {
      max-height: 40px;
      width: auto;
      display: block;
    }

    .footer-links {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .footer-links a {
      transition: color 0.3s ease;
    }

    .footer-links a:hover {
      color: #ffffff;
    }

    @media (max-width: 1120px) {
      .footer-top {
        grid-template-columns: 1fr 1fr;
      }

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

      .footer-credit,
      .footer-legal {
        justify-content: center;
      }
    }

    @media (max-width: 1000px) {
      .candidates-list {
        grid-template-columns: repeat(2, 1fr);
      }

      .candidates-page .section-title,
      .candidates-page .section-lead,
      .election-budget-section {
        text-align: center;
      }

      .election-budget-section .section-lead {
        margin-left: auto;
        margin-right: auto;
      }
    }

    @media (max-width: 760px) {
      .menu-toggle {
        display: block;
      }

      .nav-links {
        position: absolute;
        top: var(--nav-total-height);
        left: 0;
        right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        display: none;
      }

      .nav-links.open {
        display: flex;
      }

      .sticky-nav.compact .nav-links {
        top: var(--nav-total-height);
      }

      .candidates-page {
        padding-top: calc(var(--nav-total-height) + 2.5rem);
      }


    }

    @media (max-width: 670px) {

      .candidates-list {
        grid-template-columns: 1fr;
      }

      .santino-overlay {
        padding: 1rem;
      }

      .santino-actions {
        top: -12px;
        right: -12px;
      }

      .footer-site {
        padding: 2.5rem 0 0;
      }

      .footer-top {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding-bottom: 1.5rem;
      }

      .footer-bottom-bar {
        margin-top: 1.5rem;
        padding: 1rem 0;
      }

      .footer-legal {
        flex-direction: column;
        align-items: center;
        gap: 0.35rem;
        text-align: center;
      }

      .footer-legal span,
      .footer-credit span {
        display: block;
        width: 100%;
        text-align: center;
      }

      .footer-credit {
        justify-content: center;
        text-align: center;
      }
    }