/* ========================================================
   SHOWFREIGHTER - EXACT FIGMA DESIGN SYSTEM & STYLES
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --primary-red: #832020;
  --accent-red: #C02F2F;
  --bright-red: #CB4D4D;
  --dark-bg: #090B0D;
  --dark-surface: #12161A;
  --card-dark: #14171B;
  --text-white: #FFFFFF;
  --text-grey: #9A9393;
  --text-charcoal: #231F20;
  --text-body: #4A4A4A;
  --card-bg-light: #FFFFFF;
  --font-montserrat: 'Montserrat', sans-serif;
  --font-roboto: 'Roboto', sans-serif;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max-width: 1440px;
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-roboto);
  background-color: var(--dark-bg);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition-smooth);
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* ========================================================
   HEADER
   ======================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: background-color 0.4s ease, padding 0.3s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled,
.site-header.header-solid {
  background-color: rgba(9, 11, 13, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.header-solid .header-logo img,
.site-header.scrolled .header-logo img {
  height: 82px;
}

.header-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}

.header-logo {
  justify-self: start;
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 108px;
  max-width: 440px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease, height 0.3s ease;
}

.site-header.scrolled .header-logo img {
  height: 82px;
}

.header-logo:hover img {
  transform: scale(1.02);
}

.nav-menu {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-family: var(--font-roboto);
  font-weight: 700;
  font-size: 14px;
  line-height: 18px;
  text-transform: uppercase;
  color: var(--text-white);
  letter-spacing: 1px;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-red);
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--accent-red);
}

.nav-link:hover, .nav-link.active {
  color: #FFFFFF;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-btn {
  padding: 3px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.65;
  transition: opacity 0.25s, transform 0.25s;
}

.lang-btn img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.lang-btn:hover, .lang-btn.active {
  opacity: 1;
  transform: scale(1.12);
}

.lang-btn.active {
  box-shadow: 0 0 0 2px var(--accent-red);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
}

.mobile-toggle span {
  width: 26px;
  height: 2px;
  background-color: var(--text-white);
  transition: var(--transition-smooth);
}

/* ========================================================
   HERO / BANNER SECTION
   ======================================================== */
.hero-section {
  position: relative;
  min-height: 804px;
  height: 85vh;
  min-height: 800px;
  max-height: 920px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #07090B;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.95);
}

.hero-lines-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0.85;
}

.hero-glow-line {
  position: absolute;
  bottom: 210px;
  left: -10%;
  width: 120%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(192, 47, 47, 0.2) 20%, #C02F2F 50%, rgba(192, 47, 47, 0.2) 80%, transparent 100%);
  box-shadow: 0 0 15px #C02F2F, 0 0 30px rgba(192, 47, 47, 0.6);
  z-index: 2;
  animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { opacity: 0.6; transform: translateY(0); }
  100% { opacity: 1; transform: translateY(-4px); }
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 130px 20px 0;
}

.hero-title {
  font-family: var(--font-montserrat);
  font-weight: 700;
  font-size: 65px;
  line-height: 1.15;
  color: var(--text-white);
  max-width: 860px;
  margin-top: 15px;
  margin-bottom: 0;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
  letter-spacing: -0.5px;
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-subtitle {
  position: absolute;
  bottom: 85px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 90%;
  max-width: 888px;
  text-align: center;
  font-family: var(--font-roboto);
  font-weight: 300;
  font-size: 22px;
  line-height: 32px;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
  animation: fadeInSubtitle 1s cubic-bezier(0.16, 1, 0.3, 1) both 0.4s;
}

.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  color: rgba(255, 255, 255, 0.7);
  font-size: 20px;
  animation: bounce 2s infinite;
  cursor: pointer;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-10px) translateX(-50%); }
  60% { transform: translateY(-5px) translateX(-50%); }
}

/* ========================================================
   SOBRE / A EMPRESA
   ======================================================== */
.sobre-section {
  position: relative;
  background-color: #ECEAE6;
  background-image: url('../img/sobre-bg.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  min-height: 716px;
  display: flex;
  align-items: center;
  padding: 90px 0;
  color: var(--text-charcoal);
  overflow: hidden;
}

.sobre-grid {
  display: grid;
  grid-template-columns: 540px 1fr;
  gap: 40px;
  align-items: center;
}

.section-tag {
  font-family: var(--font-roboto);
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  text-transform: uppercase;
  color: var(--primary-red);
  letter-spacing: 2px;
  margin-bottom: 28px;
  display: inline-block;
  position: relative;
}

.section-tag.light {
  color: #9A9393;
}

.section-tag.center {
  display: block;
  text-align: center;
}

.sobre-content {
  background: transparent;
  backdrop-filter: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  max-width: 530px;
}

.sobre-text {
  font-family: var(--font-roboto);
  font-weight: 400;
  font-size: 17px;
  line-height: 27px;
  color: #111111;
  margin-bottom: 22px;
  text-align: left;
}

.sobre-text:last-of-type {
  margin-bottom: 0;
}

.sobre-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 25px;
  border-top: 1px solid rgba(131, 32, 32, 0.2);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-montserrat);
  font-weight: 800;
  font-size: 32px;
  color: var(--primary-red);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-family: var(--font-roboto);
  font-size: 13px;
  font-weight: 500;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ========================================================
   CASES SECTION
   ======================================================== */
.cases-section {
  position: relative;
  background-color: #0B0E11;
  background-image: url('../img/cases-bg.webp');
  background-size: cover;
  background-position: center;
  padding: 100px 0;
}

.section-intro-center {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 50px;
}

.section-desc-light {
  font-family: var(--font-roboto);
  font-weight: 500;
  font-size: 17px;
  line-height: 26px;
  color: var(--text-white);
  margin-top: 14px;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.case-card {
  position: relative;
  height: 254px;
  border-radius: 6px;
  overflow: hidden;
  background-color: #000000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(192, 47, 47, 0.35);
}

.case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%);
  transition: filter 0.45s ease, transform 0.6s ease;
}

.case-card:hover .case-img {
  filter: grayscale(0%);
  transform: scale(1.08);
}

.case-gradient-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(131, 32, 32, 0.94) 0%, rgba(131, 32, 32, 0.68) 36%, rgba(131, 32, 32, 0.18) 64%, transparent 86%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 24px 16px;
  z-index: 2;
  transition: background 0.4s ease;
}

.case-card:hover .case-gradient-overlay {
  background: linear-gradient(0deg, rgba(160, 24, 24, 0.88) 0%, rgba(131, 32, 32, 0.52) 38%, rgba(0, 0, 0, 0.15) 70%, transparent 100%);
}

.case-title {
  font-family: var(--font-montserrat);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 12px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

.btn-case {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 20px;
  min-width: 112px;
  height: 32px;
  font-family: var(--font-roboto);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 9999px;
  background: transparent;
  transition: var(--transition-smooth);
}

.case-card:hover .btn-case {
  background-color: var(--accent-red);
  border-color: var(--accent-red);
  box-shadow: 0 0 14px rgba(192, 47, 47, 0.7);
}

.cases-cta-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.btn-primary-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 52px;
  padding: 0 32px;
  background-color: var(--primary-red);
  color: #F2F2F2;
  font-family: var(--font-roboto);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  box-shadow: 0 6px 20px rgba(131, 32, 32, 0.4);
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary-red:hover {
  background-color: var(--accent-red);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(192, 47, 47, 0.6);
  color: #FFFFFF;
}

/* ========================================================
   SERVIÇOS SECTION
   ======================================================== */
.servicos-section {
  position: relative;
  background-color: #F6F4F0;
  background-image: url('../img/servicos-bg.webp');
  background-repeat: no-repeat;
  background-size: cover;
  padding: 100px 0;
  color: var(--text-charcoal);
}

.section-desc-dark {
  font-family: var(--font-roboto);
  font-weight: 500;
  font-size: 17px;
  line-height: 26px;
  color: var(--text-charcoal);
  margin-top: 14px;
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.servico-card {
  background: #FFFFFF;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.servico-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(131, 32, 32, 0.16);
}

.servico-img-wrap {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.servico-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.servico-card:hover .servico-img {
  transform: scale(1.05);
}

.servico-body {
  padding: 28px 24px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.servico-title {
  font-family: var(--font-roboto);
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: var(--primary-red);
  margin-bottom: 14px;
}

.servico-text {
  font-family: var(--font-roboto);
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: #444444;
  margin-bottom: 24px;
  flex-grow: 1;
}

.btn-servico {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 32px;
  background-color: var(--primary-red);
  color: #FFFFFF;
  font-family: var(--font-roboto);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(131, 32, 32, 0.25);
  transition: var(--transition-smooth);
  text-decoration: none;
  cursor: pointer;
}

.btn-servico:hover {
  background-color: var(--accent-red);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(192, 47, 47, 0.4);
}

/* ========================================================
   PARCEIROS E CLIENTES SECTION
   ======================================================== */
.parceiros-section {
  background-color: #090B0D;
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.parceiros-title {
  font-family: var(--font-roboto);
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  text-transform: uppercase;
  color: var(--accent-red);
  letter-spacing: 2px;
  margin-bottom: 40px;
}

.parceiros-asset-wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
}

.parceiros-asset-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: grayscale(15%) contrast(105%);
  transition: filter 0.4s ease;
}

.parceiros-asset-img:hover {
  filter: grayscale(0%) contrast(110%);
}

/* ========================================================
   LIDERANÇA SECTION
   ======================================================== */
.lideranca-section {
  position: relative;
  background-color: #F7F5F2;
  background-image: url('../img/lideranca-bg.webp');
  background-repeat: no-repeat;
  background-size: cover;
  padding: 100px 0;
  color: var(--text-charcoal);
}

.lideranca-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.lider-card {
  width: 330px;
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.09);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.lider-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(131, 32, 32, 0.18);
}

.lider-photo-wrap {
  height: 280px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: #E2DFD8;
}

.lider-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.lider-card:hover .lider-photo {
  transform: scale(1.04);
}

.lider-body {
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.lider-name {
  font-family: var(--font-roboto);
  font-weight: 700;
  font-size: 20px;
  color: #111111;
  margin-bottom: 4px;
}

.lider-role {
  font-family: var(--font-roboto);
  font-weight: 500;
  font-size: 15px;
  color: var(--primary-red);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lider-bio {
  font-family: var(--font-roboto);
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  color: #4A4A4A;
  margin-bottom: 24px;
  flex-grow: 1;
  text-align: justify;
}

.lider-socials {
  display: flex;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #EEEEEE;
}

.social-circle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--primary-red);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.social-circle-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-circle-btn:hover {
  background-color: var(--accent-red);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 4px 12px rgba(192, 47, 47, 0.4);
}

/* ========================================================
   FOOTER
   ======================================================== */
.site-footer {
  background-color: var(--primary-red);
  padding: 56px 0 32px;
  color: var(--text-white);
  border-top: 2px solid rgba(255, 255, 255, 0.12);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.3fr 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.footer-brand-name {
  font-family: var(--font-montserrat);
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.5px;
}

.footer-brand-desc {
  font-family: var(--font-roboto);
  font-size: 14px;
  line-height: 22px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 380px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col-title {
  font-family: var(--font-montserrat);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: #FFFFFF;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--bright-red);
  display: inline-block;
  align-self: flex-start;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: #FFFFFF;
}

a.footer-contact-item:hover {
  color: #FFFFFF;
  transform: translateX(4px);
  text-decoration: underline;
}

.footer-actions-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bright-red);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.footer-social-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-social-btn:hover {
  background-color: #FFFFFF;
  color: var(--primary-red);
  transform: translateY(-2px);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-family: var(--font-roboto);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

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

@media (max-width: 680px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ========================================================
   MODAL DIALOG (Case details & Contact)
   ======================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background-color: #16191E;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: #FFFFFF;
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background: var(--accent-red);
  transform: rotate(90deg);
}

.modal-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
}

.modal-title {
  font-family: var(--font-montserrat);
  font-weight: 700;
  font-size: 26px;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.modal-desc {
  font-family: var(--font-roboto);
  font-size: 15px;
  line-height: 24px;
  color: #CCCCCC;
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: #AAAAAA;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input, .form-group textarea {
  width: 100%;
  background-color: #0E1013;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 12px 14px;
  color: #FFFFFF;
  font-family: var(--font-roboto);
  font-size: 15px;
  outline: none;
  transition: border-color 0.25s;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--accent-red);
  box-shadow: 0 0 0 2px rgba(192, 47, 47, 0.3);
}

/* ========================================================
   ANIMATIONS & REVEALS
   ======================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(35px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInSubtitle {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ========================================================
   RESPONSIVE DESIGN (Media Queries)
   ======================================================== */
@media (max-width: 1200px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .servicos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .header-container {
    display: flex;
    justify-content: space-between;
  }
  .header-logo img {
    height: 80px;
    max-width: 320px;
  }
  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-title {
    font-size: 48px;
  }
  .hero-subtitle {
    font-size: 19px;
    line-height: 28px;
  }
  .lideranca-grid {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  .header-logo img {
    height: 64px;
    max-width: 255px;
  }
  .mobile-toggle {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: #0E1114;
    flex-direction: column;
    padding: 90px 30px;
    gap: 24px;
    transition: right 0.4s ease;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.8);
    z-index: 1000;
  }
  .nav-menu.active {
    right: 0;
  }
  .hero-title {
    font-size: 34px;
  }
  .hero-subtitle {
    font-size: 16px;
    line-height: 24px;
    bottom: 50px;
  }
  .cases-grid, .servicos-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* ========================================================
   CATEGORY PAGE & CASE LISTINGS
   ======================================================== */
.category-hero {
  padding-top: 150px;
  padding-bottom: 50px;
  background: radial-gradient(circle at 50% 20%, rgba(131, 32, 32, 0.25) 0%, #090B0D 70%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-grey);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.breadcrumbs a {
  color: var(--text-grey);
}

.breadcrumbs a:hover {
  color: var(--accent-red);
}

.breadcrumbs span.current {
  color: #FFFFFF;
  font-weight: 700;
}

.category-hero-title {
  font-family: var(--font-montserrat);
  font-weight: 700;
  font-size: 46px;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.category-hero-desc {
  font-family: var(--font-roboto);
  font-size: 17px;
  color: #C0C0C0;
  max-width: 780px;
  margin: 0 auto 35px;
  line-height: 26px;
}

.category-pills-bar,
.filter-pills-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 25px auto 0;
  max-width: 980px;
}

.category-pill,
.filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  background: rgba(192, 47, 47, 0.08);
  border: 1px solid rgba(192, 47, 47, 0.45);
  border-radius: 30px;
  color: var(--accent-red);
  font-family: var(--font-roboto);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
  outline: none;
}

.category-pill:hover,
.filter-pill:hover {
  background: rgba(192, 47, 47, 0.22);
  border-color: var(--accent-red);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(192, 47, 47, 0.35);
}

.category-pill.active,
.filter-pill.active {
  background: var(--accent-red);
  border-color: var(--accent-red);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(192, 47, 47, 0.55);
}

.category-posts-section {
  padding: 60px 0 90px;
  background-color: var(--dark-bg);
  min-height: 500px;
}

.category-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.post-card {
  background: #111418;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  position: relative;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 24px rgba(192, 47, 47, 0.2);
  border-color: rgba(192, 47, 47, 0.6);
}

/* Thumbnail wrap & image */
.post-card-thumb-wrap,
.post-thumb-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: block;
  background-color: #080A0C;
}

.post-card-thumb,
.post-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-card:hover .post-card-thumb,
.post-card:hover .post-thumb {
  transform: scale(1.06);
}

/* Gradient overlay on image */
.post-card-thumb-wrap::after,
.post-thumb-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(17, 20, 24, 0.55) 100%);
  pointer-events: none;
}

/* Category Badge */
.post-card-tag,
.post-category-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  background: rgba(131, 32, 32, 0.92);
  color: #FFFFFF;
  font-family: var(--font-roboto);
  font-weight: 700;
  font-size: 10.5px;
  text-transform: uppercase;
  border-radius: 3px;
  letter-spacing: 0.8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

/* Card Body */
.post-card-body,
.post-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Meta: Year & Client */
.post-card-meta,
.post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-roboto);
  font-size: 12px;
  color: #8C96A3;
  margin-bottom: 8px;
  line-height: 1.4;
}

.post-card-year {
  color: var(--accent-red);
  font-weight: 700;
  letter-spacing: 0.3px;
}

.post-card-bullet {
  color: #555E6B;
}

.post-card-client {
  color: #9AA5B1;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Title */
.post-card-title,
.post-title {
  font-family: var(--font-montserrat);
  font-weight: 700;
  font-size: 16.5px;
  color: #FFFFFF;
  line-height: 1.35;
  margin: 0 0 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
}

.post-card-title a,
.post-title a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.25s ease;
}

.post-card:hover .post-card-title a,
.post-card:hover .post-title a,
.post-card-title a:hover {
  color: #FFA5A5;
}

/* Excerpt / Subtext */
.post-card-excerpt,
.post-excerpt {
  font-family: var(--font-roboto);
  font-size: 13.5px;
  line-height: 1.5;
  color: #9CA3AF;
  margin: 0 0 16px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer & Link Action */
.post-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
}

.post-card-link,
.btn-read-post {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-roboto);
  font-weight: 700;
  font-size: 12.5px;
  text-transform: uppercase;
  color: #FFFFFF;
  letter-spacing: 0.6px;
  text-decoration: none;
  transition: color 0.25s ease, gap 0.25s ease;
}

/* Strictly size and style SVG icon so it can never be large or rogue */
.post-card-link svg,
.btn-read-post svg {
  width: 15px !important;
  height: 15px !important;
  max-width: 15px !important;
  max-height: 15px !important;
  stroke: var(--accent-red) !important;
  fill: none !important;
  stroke-width: 2.2 !important;
  flex-shrink: 0;
  transition: transform 0.25s ease, stroke 0.25s ease;
  display: inline-block;
}

.post-card:hover .post-card-link,
.post-card-link:hover,
.post-card:hover .btn-read-post {
  color: var(--accent-red);
  gap: 11px;
}

.post-card:hover .post-card-link svg,
.post-card:hover .btn-read-post svg {
  stroke: #FFFFFF !important;
  transform: translateX(3px);
}

.empty-cases-box {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

.empty-cases-box h3 {
  font-size: 20px;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.empty-cases-box p {
  color: var(--text-grey);
  font-size: 15px;
  margin-bottom: 20px;
}

/* ========================================================
   SINGLE CASE PAGE
   ======================================================== */
.single-case-hero,
.single-case-header {
  padding-top: 145px;
  padding-bottom: 35px;
  background: radial-gradient(circle at 50% 0%, rgba(131, 32, 32, 0.28) 0%, rgba(9, 11, 13, 0.98) 75%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.single-case-title,
.single-title {
  font-family: var(--font-montserrat);
  font-weight: 800;
  font-size: 38px;
  line-height: 1.25;
  color: #FFFFFF;
  margin: 14px 0 20px;
  max-width: 980px;
}

.single-meta-bar,
.case-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  padding: 16px 0 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-grey);
}

.meta-value {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
}

.single-featured-container {
  margin-top: 36px;
  margin-bottom: 40px;
}

.single-featured-wrap {
  width: 100%;
  max-height: 540px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.single-featured-img {
  width: 100%;
  height: 100%;
  max-height: 540px;
  object-fit: cover;
  display: block;
}

.single-body-section {
  padding-bottom: 80px;
  background-color: var(--dark-bg);
}

.single-content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.single-block-title {
  font-family: var(--font-montserrat);
  font-weight: 700;
  font-size: 24px;
  color: #FFFFFF;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}

.single-block-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent-red);
  border-radius: 2px;
}

.single-narrative-text p {
  font-family: var(--font-roboto);
  font-size: 16px;
  line-height: 28px;
  color: #CCCCCC;
  margin-bottom: 18px;
  text-align: justify;
}

.single-highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0 40px;
}

.highlight-card {
  padding: 24px;
  border-radius: 8px;
  background: #14171C;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.highlight-card.challenge {
  border-left: 4px solid var(--accent-red);
}

.highlight-card.solution {
  border-left: 4px solid #28A745;
}

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

.highlight-card.challenge .highlight-header {
  color: var(--accent-red);
}

.highlight-card.solution .highlight-header {
  color: #55DD88;
}

.highlight-header h3 {
  font-family: var(--font-montserrat);
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.highlight-card p {
  font-family: var(--font-roboto);
  font-size: 14px;
  line-height: 22px;
  color: #BBBBBB;
  margin: 0;
}

/* Gallery Section */
.single-gallery-section,
.case-gallery-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery-hint {
  font-size: 13px;
  color: #888888;
  font-style: italic;
}

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

.gallery-item {
  height: 180px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-item img,
.gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(131, 32, 32, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
  border-color: var(--accent-red);
}

.gallery-item:hover img,
.gallery-item:hover .gallery-thumb {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Sidebar components */
.sidebar-card {
  background: #14171C;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-card-title {
  font-family: var(--font-montserrat);
  font-weight: 700;
  font-size: 17px;
  color: #FFFFFF;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.specs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.specs-list li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13px;
  color: #CCCCCC;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 8px;
}

.specs-list li strong {
  color: #888888;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.full-width {
  width: 100%;
}

.related-cases-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.related-case-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.25s, transform 0.25s;
  text-decoration: none;
}

.related-case-item:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(4px);
}

.related-case-thumb {
  width: 60px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.related-case-info h4 {
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 17px;
  margin-bottom: 4px;
}

.related-case-info span {
  font-size: 11px;
  color: #888888;
}

/* Lightbox Modal */
.lightbox-overlay,
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(12px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.lightbox-overlay.active,
.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-img {
  max-width: 85vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  font-size: 38px;
  color: #FFFFFF;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  transition: color 0.25s;
}

.lightbox-close:hover {
  color: var(--accent-red);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.lightbox-nav:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
  left: -60px;
}

.lightbox-nav.next {
  right: -60px;
}

.lightbox-counter {
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  color: #AAAAAA;
  font-size: 13px;
  letter-spacing: 1px;
}

/* ========================================================
   ADMIN DASHBOARD
   ======================================================== */
.admin-body {
  background-color: #0B0E11;
  min-height: 100vh;
}

.admin-nav {
  background: #111418;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
}

.admin-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-badge {
  background: var(--primary-red);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.admin-main {
  padding: 40px 0 80px;
}

.admin-header-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 16px;
}

.admin-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 35px;
}

.admin-stat-card {
  background: #14171C;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-stat-num {
  font-family: var(--font-montserrat);
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-red);
}

.admin-stat-text {
  font-size: 13px;
  color: var(--text-grey);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-filter-bar {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.admin-search-input, .admin-select {
  background: #14171C;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  padding: 10px 16px;
  border-radius: 4px;
  font-family: var(--font-roboto);
  font-size: 14px;
  outline: none;
}

.admin-search-input {
  flex: 1;
  min-width: 250px;
}

.admin-search-input:focus, .admin-select:focus {
  border-color: var(--accent-red);
}

.admin-table-wrap {
  background: #14171C;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th {
  background: #1A1E24;
  padding: 16px 20px;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-grey);
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-table td {
  padding: 16px 20px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.admin-thumb {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
}

.table-actions {
  display: flex;
  gap: 8px;
}

.action-btn {
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.action-btn.edit {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.action-btn.edit:hover {
  background: #FFFFFF;
  color: #000000;
}

.action-btn.delete {
  background: rgba(192, 47, 47, 0.2);
  color: #FF7777;
  border: 1px solid rgba(192, 47, 47, 0.4);
}

.action-btn.delete:hover {
  background: var(--accent-red);
  color: #FFFFFF;
}

.action-btn.view {
  background: rgba(40, 167, 69, 0.2);
  color: #55DD88;
  border: 1px solid rgba(40, 167, 69, 0.4);
}

.action-btn.view:hover {
  background: #28A745;
  color: #FFFFFF;
}

.admin-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 12px;
  color: #E0E0E0;
  transition: var(--transition-smooth);
}

.admin-link-pill:hover {
  background: var(--accent-red);
  color: #FFFFFF;
}

/* Modal Form Admin */
.admin-modal-box {
  max-width: 780px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.admin-form-full {
  grid-column: 1 / -1;
}

/* Responsive updates */
@media (max-width: 992px) {
  .category-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .single-content-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .category-posts-grid {
    grid-template-columns: 1fr;
  }
  .admin-form-grid {
    grid-template-columns: 1fr;
  }
  .admin-stats-row {
    grid-template-columns: 1fr;
  }
}

