/* ===== ARBV — CSS principal (v4 Neodunk-inspired)
   Cores: vermelho #DC2626 + preto. Fonte: Inter Tight.
   ================================================ */

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

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: #111;
  background: #fafafa;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
button { font-family: inherit; cursor: pointer; }

:root {
  --red-600: #DC2626;
  --red-700: #B91C1C;
  --red-800: #991B1B;
  --red-900: #7F1D1D;
  --gray-50: #fafafa;
  --gray-100: #f4f4f4;
  --gray-200: #e6e6e6;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --black: #0a0a0a;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 14px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.04);
  --shadow-lg: 0 16px 40px rgba(0,0,0,.1), 0 4px 12px rgba(0,0,0,.06);
  --shadow-red: 0 10px 28px rgba(220,38,38,.32);
  --ease: cubic-bezier(.2,.8,.2,1);
  --t-fast: .2s var(--ease);
  --t-med: .35s var(--ease);
  --radius-pill: 999px;
  --radius-lg: 1.25rem;
  --radius-md: .75rem;
}

::selection { background: var(--red-600); color: #fff; }

/* ===== Layout ===== */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.bg-white { background: #fff; }
.bg-gray { background: var(--gray-50); }
.bg-black { background: var(--black); color: #fff; }

/* ===== Header (transparent over hero, solid on scroll) ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: transparent;
  transition: background var(--t-med), box-shadow var(--t-med), padding var(--t-med), border-color var(--t-med);
  border-bottom: 1px solid transparent;
}
.header.scrolled,
.header.solid {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
  padding: .55rem 0;
}
body.has-fixed-header main { padding-top: 0; }
body.no-hero main { padding-top: 5rem; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; gap: .65rem; font-weight: 800; letter-spacing: -.02em; color: #fff; transition: color var(--t-fast); }
.logo img { height: 2.6rem; width: auto; object-fit: contain; transition: transform var(--t-fast); }
.logo:hover img { transform: scale(1.04); }
.header.scrolled .logo, .header.solid .logo { color: var(--black); }

/* nav */
.nav { display: none; gap: .15rem; align-items: center; }
.nav a, .nav .nav-trigger {
  display: inline-flex;
  align-items: center;
  height: 2.5rem;
  padding: 0 1rem;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: -.005em;
  color: rgba(255,255,255,.92);
  background: transparent;
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--t-fast), background var(--t-fast);
  position: relative;
}
.header.scrolled .nav a, .header.scrolled .nav .nav-trigger,
.header.solid .nav a, .header.solid .nav .nav-trigger { color: var(--gray-800); }
.nav a:hover, .nav .nav-trigger:hover { color: #fff; }
.header.scrolled .nav a:hover, .header.solid .nav a:hover,
.header.scrolled .nav .nav-trigger:hover, .header.solid .nav .nav-trigger:hover { color: var(--red-600); }
.nav a.active { color: #fff; font-weight: 600; }
.header.scrolled .nav a.active, .header.solid .nav a.active { color: var(--red-600); }

.nav-item { position: relative; }
.nav-item .submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 17rem;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: .5rem;
  visibility: hidden;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
  z-index: 60;
}
.nav-item:hover .submenu, .nav-item:focus-within .submenu {
  visibility: visible; opacity: 1; transform: translateY(0);
}
.submenu a {
  display: block;
  padding: .65rem .85rem;
  border-radius: .5rem;
  height: auto;
  color: var(--gray-700);
  font-size: .875rem;
  transition: background var(--t-fast);
}
.submenu a:hover { background: var(--gray-50); color: var(--red-600); }
.submenu a strong { display: block; font-weight: 600; font-size: .875rem; color: var(--black); }
.submenu a small { display: block; color: var(--gray-500); font-size: .75rem; margin-top: 1px; }

.nav-actions { display: none; align-items: center; gap: .5rem; }
.search-form { display: flex; gap: .25rem; align-items: center; }
.search-form input {
  height: 2.4rem;
  padding: 0 1rem;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-pill);
  font-size: .85rem;
  width: 11rem;
  background: rgba(255,255,255,.1);
  color: #fff;
  transition: border-color var(--t-fast), background var(--t-fast), width var(--t-med), color var(--t-fast);
}
.search-form input::placeholder { color: rgba(255,255,255,.7); }
.search-form input:focus {
  outline: none;
  border-color: #fff;
  background: rgba(255,255,255,.18);
  width: 13rem;
}
.header.scrolled .search-form input,
.header.solid .search-form input {
  border-color: var(--gray-200);
  background: var(--gray-100);
  color: var(--gray-800);
}
.header.scrolled .search-form input::placeholder,
.header.solid .search-form input::placeholder { color: var(--gray-500); }
.header.scrolled .search-form input:focus,
.header.solid .search-form input:focus {
  border-color: var(--red-600);
  background: #fff;
}

.icon-btn {
  height: 2.4rem;
  width: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-pill);
  color: #fff;
  font-size: .9rem;
  transition: all var(--t-fast);
}
.icon-btn:hover { background: #fff; color: var(--red-600); border-color: #fff; transform: translateY(-1px); }
.header.scrolled .icon-btn, .header.solid .icon-btn {
  background: var(--gray-100);
  border-color: var(--gray-200);
  color: var(--gray-700);
}
.header.scrolled .icon-btn:hover, .header.solid .icon-btn:hover {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

.menu-toggle {
  background: transparent;
  border: 0;
  height: 2.5rem;
  width: 2.5rem;
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: var(--radius-pill);
  transition: background var(--t-fast), color var(--t-fast);
}
.menu-toggle:hover { background: rgba(255,255,255,.15); }
.header.scrolled .menu-toggle, .header.solid .menu-toggle { color: var(--black); }
.header.scrolled .menu-toggle:hover, .header.solid .menu-toggle:hover { background: var(--gray-100); }

/* Mobile drawer */
.mobile-menu { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 200; animation: fadeIn .2s ease; }
.mobile-menu.open { display: block; }
.mobile-menu .panel {
  position: absolute;
  top: 0; right: 0;
  width: 86%;
  max-width: 22rem;
  height: 100%;
  background: #fff;
  padding: 1.75rem 1.5rem;
  overflow-y: auto;
  animation: slideInRight .3s var(--ease);
}
.mobile-menu .panel a {
  display: block;
  padding: .85rem 0;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-800);
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.mobile-menu .panel a:hover { color: var(--red-600); padding-left: .35rem; }
.mobile-menu .panel .close {
  background: var(--gray-100);
  border: 0;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  width: 2.4rem; height: 2.4rem;
  border-radius: var(--radius-pill);
  transition: background var(--t-fast);
}
.mobile-menu .panel .close:hover { background: var(--gray-200); }

@media (min-width: 1024px) {
  .nav, .nav-actions { display: flex; }
  .menu-toggle { display: none; }
}

/* ===== Buttons (pill, Neodunk-style) ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.6rem;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: -.005em;
  border-radius: var(--radius-pill);
  border: 0;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  isolation: isolate;
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.12);
  opacity: 0;
  transition: opacity .25s var(--ease);
  z-index: -1;
  pointer-events: none;
}
.btn:hover::before { opacity: 1; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); transition-duration: .08s; }

.btn-primary { background: var(--red-600); color: #fff; box-shadow: 0 2px 6px rgba(220,38,38,.3); }
.btn-primary:hover { background: var(--red-700); box-shadow: var(--shadow-red); }

.btn-dark { background: var(--black); color: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.btn-dark:hover { background: #1f1f1f; box-shadow: 0 10px 28px rgba(0,0,0,.3); }

.btn-outline { background: transparent; color: var(--black); border: 1.5px solid var(--gray-300); }
.btn-outline:hover { background: var(--black); color: #fff; border-color: var(--black); }

.btn-outline-white { background: transparent; border: 1.5px solid rgba(255,255,255,.5); color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--black); border-color: #fff; }

.btn-light { background: #fff; color: var(--black); box-shadow: var(--shadow-sm); }
.btn-light:hover { background: var(--gray-50); box-shadow: var(--shadow-md); }

.btn-lg { padding: 1rem 1.85rem; font-size: .9375rem; }
.btn-block { width: 100%; }

/* arrow icon for cta buttons */
.btn .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem; height: 1.1rem;
  font-size: .9rem;
  transition: transform .35s var(--ease);
}
.btn:hover .arrow { transform: translate(2px, -2px); }

/* play button (circular) */
.btn-play {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  border: 0;
}
.btn-play .circle {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: var(--red-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 8px 22px rgba(220,38,38,.5);
  transition: transform var(--t-fast), background var(--t-fast);
}
.btn-play:hover .circle { transform: scale(1.08); background: var(--red-700); }

/* ===== HERO Neo (full-bleed image with overlay) ===== */
.hero-neo {
  position: relative;
  min-height: 100vh;
  background: var(--black);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 7rem 0 5rem;
  color: #fff;
}
.hero-neo .bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-neo .bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-neo .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}
.hero-neo .container { position: relative; z-index: 2; }
.hero-neo .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: -.005em;
  margin: 0 0 1.5rem;
  color: rgba(255,255,255,.9);
}
.hero-neo .eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red-600);
  box-shadow: 0 0 0 4px rgba(220,38,38,.25);
}
.hero-neo h1 {
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.035em;
  margin: 0 0 1.75rem;
  max-width: 18ch;
}
.hero-neo .lead {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,.85);
  margin: 0 0 2rem;
  max-width: 52ch;
}
.hero-neo .actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.hero-neo .stats-badge {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1.5rem;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-pill);
  padding: .5rem .85rem .5rem .55rem;
}
.hero-neo .stats-badge .avatars {
  display: inline-flex;
}
.hero-neo .stats-badge .avatars span {
  width: 2rem; height: 2rem;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.6);
  background: var(--gray-300) center/cover no-repeat;
  margin-left: -.55rem;
  display: inline-block;
}
.hero-neo .stats-badge .avatars span:first-child { margin-left: 0; }
.hero-neo .stats-badge .info {
  line-height: 1.1;
}
.hero-neo .stats-badge .num {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.01em;
  display: block;
}
.hero-neo .stats-badge .lbl {
  font-size: .7rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  display: block;
  margin-top: 1px;
}

@media (min-width: 768px) {
  .hero-neo { padding: 9rem 0 6rem; }
  .hero-neo .lead { font-size: 1.0625rem; }
}
@media (min-width: 1024px) {
  .hero-neo h1 { font-size: clamp(3.5rem, 5.5vw, 5.5rem); }
}

/* ===== Page header (smaller hero for inner pages) ===== */
.page-header {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: #fff;
  padding: 9rem 0 5rem;
}
.page-header::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 6px;
  background: var(--red-600);
  pointer-events: none;
}
.page-header .container { position: relative; z-index: 2; }
.page-header .ph-content { max-width: 820px; }
.page-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .8125rem;
  font-weight: 500;
  margin: 0 0 1.25rem;
  color: rgba(255,255,255,.85);
}
.page-header .eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red-600);
  box-shadow: 0 0 0 4px rgba(220,38,38,.25);
}
.page-header h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.035em;
  margin: 0 0 1.25rem;
}
.page-header p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.85);
  line-height: 1.6;
  margin: 0;
  max-width: 56ch;
}
.page-header .underline { display: none; }
.page-header .badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; }
.page-header .badges span {
  display: inline-block;
  padding: .45rem 1rem;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: .8125rem;
}

/* legacy diagonal hero -> just hide skew, simpler bg */
.hero-diagonal { display: none; }

/* ===== CTA banner ===== */
.cta-banner {
  background: var(--black);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 6px;
  background: var(--red-600);
}
.cta-banner .container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
  text-align: center;
}
.cta-banner h3 {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .cta-banner .container { flex-direction: row; text-align: left; }
  .cta-banner h3 { font-size: 1.75rem; max-width: 28ch; }
}

/* ===== Section header ===== */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.section-header.left { text-align: left; margin-left: 0; }
.section-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--red-600);
  font-weight: 500;
  font-size: .8125rem;
  margin: 0 0 1rem;
}
.section-header .eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red-600);
  box-shadow: 0 0 0 4px rgba(220,38,38,.18);
}
.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.05;
  margin: 0;
  color: var(--black);
}
.section-header p {
  margin: 1rem auto 0;
  max-width: 640px;
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.6;
}
.section-header.left p { margin-left: 0; }
.section-header .underline { display: none; }

/* ===== Cards ===== */
.card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--t-med), transform var(--t-med), border-color var(--t-med);
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--gray-300);
}
.card-img { aspect-ratio: 16/10; background: var(--gray-100); position: relative; overflow: hidden; }
.card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .65s var(--ease);
}
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card-meta {
  font-size: .75rem;
  font-weight: 500;
  color: var(--gray-500);
  margin-bottom: .65rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.card-title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.3;
  margin: 0 0 .5rem;
  color: var(--black);
}
.card-text { color: var(--gray-600); font-size: .9rem; line-height: 1.55; flex: 1; }
.card-footer { padding-top: 1rem; }

/* Grid utilities */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (min-width: 768px) {
  .grid { gap: 1.75rem; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ===== Pillars (home: Nossos pilares) ===== */
.pillars {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; } }

.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  padding: 2.5rem 2rem 2rem;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
  min-height: 360px;
}
/* Subtle dotted texture, no gradient */
.pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23E5E7EB'/%3E%3C/svg%3E");
  background-size: 14px 14px;
  opacity: 0;
  transition: opacity var(--t-med);
  z-index: -1;
  pointer-events: none;
}
.pillar:hover {
  transform: translateY(-6px);
  border-color: var(--gray-300);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.18), 0 4px 12px rgba(0,0,0,.04);
}
.pillar:hover::before { opacity: .55; }

/* Big outlined number watermark */
.pillar__num {
  position: absolute;
  top: -.3em;
  right: 1rem;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: 7.5rem;
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gray-200);
  pointer-events: none;
  user-select: none;
  transition: -webkit-text-stroke-color var(--t-med), transform var(--t-med);
  z-index: 0;
}
.pillar:hover .pillar__num {
  -webkit-text-stroke-color: var(--red-600);
  transform: translateY(-3px);
}

/* Diagonal red corner ribbon */
.pillar__corner {
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 64px;
  pointer-events: none;
  z-index: 1;
}
.pillar__corner::before,
.pillar__corner::after {
  content: "";
  position: absolute;
  background: var(--red-600);
}
.pillar__corner::before {
  top: 0; left: 0;
  width: 4px; height: 28px;
  transition: height var(--t-med);
}
.pillar__corner::after {
  top: 0; left: 0;
  width: 28px; height: 4px;
  transition: width var(--t-med);
}
.pillar:hover .pillar__corner::before { height: 56px; }
.pillar:hover .pillar__corner::after { width: 56px; }

/* SVG line illustration */
.pillar__art {
  position: relative;
  z-index: 2;
  width: 84px;
  height: 84px;
  margin: 0 0 1.75rem;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--gray-200);
  border-radius: 14px;
  background: #fff;
  transition: color var(--t-med), border-color var(--t-med), transform var(--t-med), background var(--t-med);
}
.pillar__art svg { width: 56px; height: 56px; }
.pillar:hover .pillar__art {
  color: var(--red-600);
  border-color: var(--red-600);
  transform: rotate(-3deg);
}

/* Eyebrow tag with red dot */
.pillar__tag {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin: 0 0 .65rem;
}
.pillar__tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-600);
  box-shadow: 0 0 0 3px rgba(220,38,38,.15);
}

.pillar h3 {
  position: relative;
  z-index: 2;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.025em;
  margin: 0 0 .85rem;
  color: var(--black);
  line-height: 1.15;
}
.pillar p {
  position: relative;
  z-index: 2;
  color: var(--gray-600);
  margin: 0 0 1.5rem;
  font-size: .9375rem;
  line-height: 1.6;
}
.pillar__more {
  position: relative;
  z-index: 2;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 600;
  font-size: .875rem;
  color: var(--black);
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-200);
  transition: color var(--t-fast), border-color var(--t-med);
}
.pillar__more .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--black);
  font-size: .85rem;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.pillar:hover .pillar__more { color: var(--red-600); border-top-color: var(--red-600); }
.pillar:hover .pillar__more .arrow {
  background: var(--red-600);
  color: #fff;
  transform: translateX(4px);
}

/* ===== Stats ===== */
.stat { text-align: left; padding: 1.5rem; background: #fff; border-radius: var(--radius-md); border: 1px solid var(--gray-200); }
.stat .num {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--black);
  margin: 0;
  line-height: 1;
}
.stat .num .accent { color: var(--red-600); }
.stat .label {
  color: var(--gray-600);
  margin: .65rem 0 0;
  font-size: .875rem;
  font-weight: 500;
}

/* ===== Forms ===== */
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: .45rem;
  font-size: .8125rem;
  color: var(--gray-700);
  letter-spacing: -.005em;
}
.form-control {
  display: block;
  width: 100%;
  padding: .8rem 1rem;
  font-size: .9375rem;
  border: 1px solid var(--gray-200);
  border-radius: .65rem;
  background: #fff;
  font-family: inherit;
  color: var(--black);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.form-control::placeholder { color: var(--gray-400); }
.form-control:hover { border-color: var(--gray-300); }
.form-control:focus {
  outline: none;
  border-color: var(--red-600);
  box-shadow: 0 0 0 4px rgba(220,38,38,.12);
}
textarea.form-control { min-height: 8rem; resize: vertical; line-height: 1.55; }

/* ===== Alerts ===== */
.alert {
  padding: .9rem 1.1rem;
  border-radius: .65rem;
  margin-bottom: 1rem;
  font-size: .9rem;
  border: 1px solid transparent;
}
.alert-success { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.alert-error   { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.alert-info    { background: #eff6ff; color: #1e3a8a; border-color: #bfdbfe; }

/* ===== Tables ===== */
.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: .9rem;
  box-shadow: var(--shadow-sm);
}
.table th, .table td { padding: .9rem 1.1rem; text-align: left; border-bottom: 1px solid var(--gray-100); }
.table th {
  background: var(--gray-50);
  font-weight: 600;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-600);
}
.table tbody tr { transition: background var(--t-fast); }
.table tbody tr:hover { background: var(--gray-50); }
.table tr:last-child td { border-bottom: 0; }
.table-actions { display: flex; gap: .4rem; }
.table-actions .btn { padding: .4rem .85rem; font-size: .8rem; }

/* ===== Badges ===== */
.badge {
  display: inline-block;
  padding: .3rem .75rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .03em;
  border-radius: var(--radius-pill);
  background: var(--gray-100);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
}
.badge-red { background: rgba(220,38,38,.1); color: var(--red-700); border-color: rgba(220,38,38,.2); }
.badge-green { background: rgba(16,185,129,.1); color: #047857; border-color: rgba(16,185,129,.25); }
.badge-blue { background: rgba(59,130,246,.1); color: #1d4ed8; border-color: rgba(59,130,246,.25); }

/* ===== Footer ===== */
.footer {
  background: var(--black);
  color: #a3a3a3;
  padding: 4rem 0 1.75rem;
  margin-top: 0;
  font-size: .9rem;
}
.footer .grid-foot {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}
.footer h4 {
  color: #fff;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .55rem; }
.footer a { transition: color var(--t-fast), padding-left var(--t-fast); }
.footer a:hover { color: #fff; padding-left: .25rem; }
.footer .copy {
  border-top: 1px solid #262626;
  padding-top: 1.75rem;
  text-align: center;
  font-size: .825rem;
  color: #525252;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  align-items: center;
}
.footer .credit a {
  color: #a3a3a3;
  font-weight: 600;
  transition: color var(--t-fast);
}
.footer .credit a:hover { color: var(--red-600); }
@media (min-width: 768px) {
  .footer .copy { flex-direction: row; justify-content: space-between; }
}
@media (min-width: 768px) {
  .footer .grid-foot { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ===== Galeria ===== */
.gallery-grid {
  display: grid;
  gap: .85rem;
  grid-template-columns: repeat(2, 1fr);
}
.gallery-grid .item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--gray-100);
  cursor: pointer;
}
.gallery-grid .item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.4);
  opacity: 0;
  transition: opacity var(--t-med);
}
.gallery-grid .item:hover::after { opacity: 1; }
.gallery-grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery-grid .item:hover img { transform: scale(1.07); }
@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}

/* ===== Tabs ===== */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 1.5rem;
}
.tabs a {
  padding: .7rem 1rem;
  font-weight: 600;
  font-size: .85rem;
  color: var(--gray-500);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.tabs a.active { color: var(--red-600); border-bottom-color: var(--red-600); }
.tabs a:hover { color: var(--red-700); }

/* ===== Admin ===== */
.admin-shell { min-height: 100vh; background: var(--gray-50); }
.admin-shell .header { position: relative; background: #fff; border-bottom: 1px solid var(--gray-200); padding: 0; }
.admin-header {
  background: var(--black);
  color: #fff;
  padding: 1rem 0;
  margin-bottom: 2rem;
}
.admin-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin-header h1 { font-size: 1rem; margin: 0; font-weight: 700; letter-spacing: -.01em; }
.admin-header a { color: #fff; opacity: .85; transition: opacity var(--t-fast); }
.admin-header a:hover { opacity: 1; }
.admin-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

/* ===== Utilities ===== */
.text-center { text-align: center; }
.text-red { color: var(--red-600); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.flex { display: flex; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.hidden { display: none; }
.w-full { width: 100%; }

/* News */
.news-meta {
  display: flex; gap: 1rem;
  font-size: .8rem;
  color: var(--gray-500);
  margin-bottom: .5rem;
  font-weight: 500;
}
.news-content {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--gray-700);
  white-space: pre-wrap;
}
.news-content p { margin: 0 0 1rem; }

/* Document list */
.doc-list { list-style: none; padding: 0; margin: 0; }
.doc-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.35rem;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: .85rem;
  margin-bottom: .75rem;
  gap: 1rem;
  flex-wrap: wrap;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.doc-list li:hover { border-color: var(--gray-300); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.doc-list .info { flex: 1; min-width: 200px; }
.doc-list .info strong { display: block; font-size: .9375rem; font-weight: 600; color: var(--black); }
.doc-list .info small { color: var(--gray-500); font-size: .825rem; }
.doc-list .actions { display: flex; gap: .5rem; }

/* Filter buttons */
.filter-bar {
  display: flex; gap: .5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-bar .btn {
  min-width: 7rem;
  background: #fff;
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
  padding: .65rem 1.25rem;
}
.filter-bar .btn:hover { border-color: var(--black); color: var(--black); }
.filter-bar .btn.active {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

/* Athlete card */
.athlete-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.athlete-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-300);
}
.athlete-card .photo { aspect-ratio: 1; background: var(--gray-100); position: relative; overflow: hidden; }
.athlete-card .photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.athlete-card:hover .photo img { transform: scale(1.06); }
.athlete-card .info { padding: 1.1rem; }
.athlete-card .info h3 { margin: 0 0 .3rem; font-size: 1rem; font-weight: 700; letter-spacing: -.015em; color: var(--black); }
.athlete-card .info .sub { color: var(--gray-500); font-size: .8125rem; margin: 0; font-weight: 500; }

/* ===== Cookie consent ===== */
.cookie-consent {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 200;
  background: var(--black);
  color: #f4f4f4;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
  padding: 1.2rem 1.4rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  max-width: 920px;
  margin: 0 auto;
}
.cookie-consent.show { opacity: 1; transform: translateY(0); }
.cookie-inner { display: flex; flex-direction: column; gap: 1rem; }
.cookie-text strong {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: .35rem;
  color: #fff;
}
.cookie-text p { margin: 0; font-size: .825rem; line-height: 1.55; color: #a3a3a3; }
.cookie-actions { display: flex; gap: .5rem; flex-shrink: 0; }
.cookie-actions .btn { flex: 1; }
.cookie-actions .cookie-reject { background: transparent; color: #d4d4d4; border: 1.5px solid rgba(255,255,255,.25); }
.cookie-actions .cookie-reject:hover { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.4); }
@media (min-width: 768px) {
  .cookie-consent { padding: 1.35rem 1.6rem; }
  .cookie-inner { flex-direction: row; align-items: center; gap: 1.75rem; }
  .cookie-actions { flex: 0 0 auto; }
  .cookie-actions .btn { flex: 0 0 auto; min-width: 7rem; }
}

/* ===== Animations ===== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInRight { from { transform: translateX(20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .6s var(--ease) both; }
.fade-up-2 { animation: fadeUp .6s var(--ease) .12s both; }
.fade-up-3 { animation: fadeUp .6s var(--ease) .24s both; }
.fade-up-4 { animation: fadeUp .6s var(--ease) .36s both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* Print-safe */
@media print {
  .header, .footer, .cta-banner, .cookie-consent { display: none; }
}

/* ====================================================
   ADMIN PANEL — Metronic-inspired layout (v5)
   ==================================================== */
:root {
  --adm-bg: #F4F4F5;
  --adm-card: #FFFFFF;
  --adm-border: #E4E4E7;
  --adm-border-soft: #F1F1F3;
  --adm-text: #09090B;
  --adm-muted: #71717A;
  --adm-muted-2: #A1A1AA;
  --adm-rail-bg: #FFFFFF;
  --adm-rail-w: 78px;
  --adm-topbar-h: 64px;
}

body.admin-shell {
  background: var(--adm-bg);
  color: var(--adm-text);
  min-height: 100vh;
  margin: 0;
}

/* hide the public site header inside admin */
body.admin-shell > header.header,
body.admin-shell > .mobile-menu,
body.admin-shell > footer.footer { display: none !important; }

/* ===== Layout shell ===== */
.adm-layout { display: flex; min-height: 100vh; }
.adm-rail {
  width: var(--adm-rail-w);
  background: var(--adm-rail-bg);
  border-right: 1px solid var(--adm-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 50;
}
.adm-rail .brand {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  overflow: hidden;
  transition: transform var(--t-fast);
}
.adm-rail .brand:hover { transform: scale(1.05); }
.adm-rail .brand img { width: 32px; height: 32px; object-fit: contain; filter: brightness(1.2); }
.adm-rail .nav { display: flex; flex-direction: column; gap: .35rem; flex: 1; align-items: center; }
.adm-rail .nav a {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--adm-muted);
  font-size: 1.1rem;
  position: relative;
  transition: background var(--t-fast), color var(--t-fast);
  text-decoration: none;
}
.adm-rail .nav a:hover { background: var(--adm-bg); color: var(--adm-text); }
.adm-rail .nav a.active { background: var(--red-600); color: #fff; box-shadow: 0 4px 12px rgba(220,38,38,.3); }
.adm-rail .nav a .tip {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(-4px);
  background: var(--black);
  color: #fff;
  padding: .35rem .65rem;
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast), transform var(--t-fast);
  z-index: 100;
}
.adm-rail .nav a .tip::before {
  content: "";
  position: absolute;
  right: 100%; top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: var(--black);
}
.adm-rail .nav a:hover .tip { opacity: 1; transform: translateY(-50%) translateX(0); }
.adm-rail .footer-actions { display: flex; flex-direction: column; gap: .35rem; align-items: center; }
.adm-rail .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--red-600) center/cover no-repeat;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  border: 2px solid var(--adm-border);
}

/* ===== Main column ===== */
.adm-main {
  flex: 1;
  margin-left: var(--adm-rail-w);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.adm-topbar {
  height: var(--adm-topbar-h);
  background: var(--adm-card);
  border-bottom: 1px solid var(--adm-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.75rem;
  position: sticky;
  top: 0;
  z-index: 40;
}
.adm-topbar .ttl { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.adm-topbar h1 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--adm-text);
}
.adm-topbar .crumbs {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .75rem;
  color: var(--adm-muted);
}
.adm-topbar .crumbs a { color: var(--adm-muted); transition: color var(--t-fast); }
.adm-topbar .crumbs a:hover { color: var(--red-600); }
.adm-topbar .crumbs .sep { color: var(--adm-muted-2); }
.adm-topbar .crumbs .cur { color: var(--adm-text); font-weight: 500; }
.adm-topbar .actions { display: flex; align-items: center; gap: .5rem; }
.adm-topbar .top-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--adm-muted);
  padding: .45rem .85rem;
  border-radius: 6px;
  border: 1px solid var(--adm-border);
  background: #fff;
  transition: all var(--t-fast);
}
.adm-topbar .top-link:hover { color: var(--adm-text); border-color: var(--adm-muted-2); }
.adm-topbar .top-btn-danger {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .8125rem;
  font-weight: 500;
  color: #fff;
  padding: .45rem .85rem;
  border-radius: 6px;
  border: 1px solid var(--red-600);
  background: var(--red-600);
  transition: background var(--t-fast);
}
.adm-topbar .top-btn-danger:hover { background: var(--red-700); }

.adm-content { padding: 1.5rem; flex: 1; }
@media (min-width: 768px) { .adm-content { padding: 1.75rem; } }
@media (min-width: 1280px) { .adm-content { padding: 2rem 2.25rem; } }
.adm-content > * + * { margin-top: 0; }

/* ===== Cards (admin) ===== */
.adm-card {
  background: var(--adm-card);
  border: 1px solid var(--adm-border);
  border-radius: 12px;
  margin-bottom: 1.25rem;
  overflow: hidden;
}
.adm-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--adm-border-soft);
}
.adm-card-head h2 {
  margin: 0;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--adm-text);
}
.adm-card-head .sub {
  margin: .15rem 0 0;
  font-size: .8125rem;
  color: var(--adm-muted);
  font-weight: 400;
}
.adm-card-body { padding: 1.4rem; }
.adm-card-foot {
  padding: 1rem 1.4rem;
  border-top: 1px solid var(--adm-border-soft);
  background: #FAFAFA;
  display: flex;
  justify-content: flex-end;
  gap: .5rem;
}

/* keep .admin-card for legacy pages */
.admin-card {
  background: var(--adm-card);
  border: 1px solid var(--adm-border);
  border-radius: 12px;
  padding: 1.4rem;
  margin-bottom: 1.25rem;
  box-shadow: none;
}

/* admin stats */
.adm-stats {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .adm-stats { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
@media (min-width: 1280px) { .adm-stats { grid-template-columns: repeat(6, 1fr); gap: 1.25rem; } }
.adm-stat {
  background: var(--adm-card);
  border: 1px solid var(--adm-border);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.adm-stat:hover { border-color: var(--adm-muted-2); transform: translateY(-2px); }
.adm-stat .lbl {
  font-size: .75rem;
  font-weight: 500;
  color: var(--adm-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0 0 .35rem;
}
.adm-stat .val {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--adm-text);
  margin: 0;
  line-height: 1;
}
.adm-stat .ico {
  float: right;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(220,38,38,.1);
  color: var(--red-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-top: -.2rem;
}

/* admin tables (override) */
.admin-shell .table {
  border-radius: 0;
  box-shadow: none;
  font-size: .875rem;
}
.admin-shell .table th {
  background: #FAFAFA;
  font-size: .7rem;
  letter-spacing: .07em;
  color: var(--adm-muted);
  border-bottom: 1px solid var(--adm-border);
  padding: .75rem 1.1rem;
}
.admin-shell .table td { border-bottom: 1px solid var(--adm-border-soft); padding: .85rem 1.1rem; }
.admin-shell .table tbody tr:last-child td { border-bottom: 0; }
.admin-shell .table tbody tr:hover { background: #FAFAFA; }
.admin-shell .adm-card .table { border-radius: 0; }

/* admin buttons override (smaller, sharper) */
.admin-shell .btn {
  border-radius: 6px;
  padding: .55rem 1.1rem;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: 0;
}
.admin-shell .btn-lg { padding: .7rem 1.4rem; font-size: .875rem; }
.admin-shell .btn-block { width: 100%; }
.admin-shell .btn::before { display: none; }
.admin-shell .btn:hover { transform: none; }
.admin-shell .btn-primary { background: var(--red-600); box-shadow: none; }
.admin-shell .btn-primary:hover { background: var(--red-700); box-shadow: none; }
.admin-shell .btn-dark { background: var(--black); box-shadow: none; }
.admin-shell .btn-outline { border: 1px solid var(--adm-border); color: var(--adm-text); background: #fff; }
.admin-shell .btn-outline:hover { background: var(--adm-bg); border-color: var(--adm-muted-2); color: var(--adm-text); }
.admin-shell .btn-light { background: #fff; border: 1px solid var(--adm-border); color: var(--adm-text); }
.admin-shell .btn-light:hover { background: var(--adm-bg); }

/* admin forms override */
.admin-shell .form-control {
  border-radius: 6px;
  border: 1px solid var(--adm-border);
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  font-size: .875rem;
  padding: .65rem .85rem;
}
.admin-shell .form-control:focus {
  border-color: var(--red-600);
  box-shadow: 0 0 0 3px rgba(220,38,38,.15);
}
.admin-shell .form-group label {
  font-size: .8125rem;
  color: var(--adm-text);
  font-weight: 500;
  margin-bottom: .35rem;
}

/* admin alerts */
.admin-shell .alert { border-radius: 8px; font-size: .85rem; padding: .75rem 1rem; }

/* ===== Mobile rail toggle ===== */
.adm-mobile-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--adm-border);
  width: 38px; height: 38px;
  border-radius: 8px;
  font-size: 1.1rem;
  align-items: center;
  justify-content: center;
  margin-right: .5rem;
}
@media (max-width: 1023px) {
  .adm-rail { transform: translateX(-100%); transition: transform .3s var(--ease); }
  .adm-rail.open { transform: translateX(0); box-shadow: 0 0 30px rgba(0,0,0,.2); }
  .adm-main { margin-left: 0; }
  .adm-mobile-toggle { display: inline-flex; }
}

/* ===== Login page (admin) ===== */
.adm-login-shell {
  min-height: 100vh;
  background: var(--adm-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  margin: 0;
  font-family: 'Inter Tight', system-ui, sans-serif;
}
.adm-login-card {
  background: #fff;
  border: 1px solid var(--adm-border);
  border-radius: 14px;
  padding: 2.25rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 50px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.04);
}
.adm-login-card .logo-wrap {
  width: 64px; height: 64px;
  border-radius: 14px;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.adm-login-card .logo-wrap img { width: 44px; height: 44px; object-fit: contain; filter: brightness(1.2); }
.adm-login-card h1 {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -.01em;
  margin: 0 0 .35rem;
  color: var(--adm-text);
}
.adm-login-card .sub {
  text-align: center;
  color: var(--adm-muted);
  font-size: .875rem;
  margin: 0 0 1.5rem;
}

/* Admin footer */
.adm-foot {
  padding: 1rem 1.75rem;
  border-top: 1px solid var(--adm-border);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  align-items: center;
  font-size: .8125rem;
  color: var(--adm-muted);
}
.adm-foot a {
  color: var(--adm-text);
  font-weight: 600;
  transition: color var(--t-fast);
}
.adm-foot a:hover { color: var(--red-600); }
@media (min-width: 768px) {
  .adm-foot { flex-direction: row; justify-content: space-between; padding: 1rem 1.75rem; }
}

/* Admin dashboard shortcuts */
.adm-shortcuts {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .adm-shortcuts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .adm-shortcuts { grid-template-columns: repeat(3, 1fr); } }
.adm-shortcut {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1rem 1.15rem;
  background: #fff;
  border: 1px solid var(--adm-border);
  border-radius: 10px;
  color: var(--adm-text);
  text-decoration: none;
  transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.adm-shortcut:hover {
  border-color: var(--red-600);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.adm-shortcut .tag {
  font-size: .7rem;
  font-weight: 500;
  color: var(--adm-muted);
  text-transform: uppercase;
  letter-spacing: .07em;
}
.adm-shortcut strong {
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -.005em;
  color: var(--adm-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.adm-shortcut .arr {
  color: var(--red-600);
  transition: transform var(--t-fast);
}
.adm-shortcut:hover .arr { transform: translateX(3px); }
