﻿/* =============================================
   REVOLVE SOLUTIONS â€” Main Stylesheet
   Aesthetic: Refined Corporate / Editorial Dark
   ============================================= */

:root {
  --ink: #0b1f3a;
  --ink-90: #102a4c;
  --ink-80: #17375e;
  --ink-60: #506176;
  --mid: #667386;
  --muted: #5a6676;
  --pale: #c0c5ce;
  --off-white: #f6f8fb;
  --white: #ffffff;
  --gold: #c9a14a;
  --gold-light: #d6b86a;
  --gold-dim: rgba(201,161,74,0.12);
  --silver-dim: rgba(192,197,206,0.22);
  --border: rgba(11,31,58,0.12);
  --border-light: rgba(11,31,58,0.16);
  --shadow: 0 18px 44px rgba(11,31,58,0.10);
  --shadow-strong: 0 24px 70px rgba(11,31,58,0.18);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'DM Mono', monospace;
  --radius: 3px;
  --transition: 280ms ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- UTILITIES ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

.section {
  padding: 120px 0;
  position: relative;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 24px;
}

.section-title em { font-style: italic; color: var(--gold); }
.section-title.centered { text-align: center; }
.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 640px; line-height: 1.7; }
.section-sub.centered { text-align: center; margin: 0 auto; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-light);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--ink); background: var(--gold-dim); }

.btn-sm { padding: 9px 18px; font-size: 0.82rem; }
.btn-full { width: 100%; justify-content: center; }

/* ---- HEADER / NAV ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border), 0 16px 36px rgba(11,31,58,0.08);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  height: 72px;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  border-radius: 2px;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--off-white);
}

.logo-text em { font-style: normal; color: var(--gold); font-weight: 300; display: block; font-size: 0.7rem; letter-spacing: 0.15em; }
.site-header.scrolled .logo-text { color: var(--ink); }
.site-header.scrolled .main-nav a:not(.nav-cta) { color: var(--ink-60); }
.site-header.scrolled .main-nav a:not(.nav-cta):hover { color: var(--ink); }
.site-header.scrolled .hamburger span { background: var(--ink); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.main-nav a {
  padding: 7px 14px;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--pale);
  border-radius: var(--radius);
  transition: color var(--transition);
  letter-spacing: 0.02em;
}

.main-nav a:hover { color: var(--white); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--ink) !important;
  font-weight: 500 !important;
  margin-left: 12px;
  padding: 8px 18px !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--off-white); transition: all var(--transition); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 64% 35%, rgba(201,161,74,0.12) 0%, transparent 58%),
              linear-gradient(135deg, #07172b 0%, #0b1f3a 52%, #102a4c 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(192,197,206,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192,197,206,0.12) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, black 20%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 32px;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.7s 0.1s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 36px;
  color: var(--white);
}

.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s forwards;
}
.hero-title .line:nth-child(1) { animation-delay: 0.2s; }
.hero-title .line:nth-child(2) { animation-delay: 0.35s; }
.hero-title .line:nth-child(3) { animation-delay: 0.5s; }
.hero-title .line:nth-child(4) { animation-delay: 0.65s; }

.hero-title .accent { color: var(--gold-light); font-style: italic; }
.hero-title .accent-dim { color: var(--pale); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--pale);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.7s 0.8s forwards;
}

.hero .btn-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.hero .btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); }
.hero .btn-ghost {
  color: var(--white);
  border-color: rgba(192,197,206,0.55);
}
.hero .btn-ghost:hover {
  color: var(--white);
  border-color: var(--gold);
  background: rgba(255,255,255,0.08);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 72px;
  opacity: 0;
  animation: fadeUp 0.7s 0.95s forwards;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 40px;
  opacity: 0;
  animation: fadeUp 0.7s 1.1s forwards;
}

.stat { padding: 0 40px 0 0; }
.stat:first-child { padding-left: 0; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pale);
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
  margin-right: 40px;
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--mid);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.7s 1.4s forwards;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease infinite;
}

/* ---- ABOUT ---- */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pillar {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color var(--transition), transform var(--transition);
}

.pillar:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow); }

.pillar-icon {
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--ink);
}

.pillar p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

/* ---- SECTORS ---- */
.sectors { background: var(--off-white); }

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.sector-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 28px;
  transition: all var(--transition);
  cursor: default;
}

.sector-card:hover {
  border-color: var(--gold);
  background: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.sector-icon { font-size: 2.2rem; margin-bottom: 20px; }

.sector-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.sector-card li {
  font-size: 0.875rem;
  color: var(--mid);
  padding: 6px 0;
  border-bottom: 1px solid rgba(11,31,58,0.07);
}

.sector-card li:last-child { border-bottom: none; }

/* ---- SERVICES ---- */
.services { background: var(--white); }

.services-tabs { margin-top: 48px; }

.tabs-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
  margin-bottom: 48px;
}

.tab-btn {
  background: none;
  border: none;
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 0.87rem;
  color: var(--mid);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--transition);
  border-radius: var(--radius) var(--radius) 0 0;
  white-space: nowrap;
}

.tab-btn:hover { color: var(--ink); }
.tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }

.tab-content { display: none; }
.tab-content.active { display: block; }

.service-intro {
  background: var(--gold-dim);
  border-left: 3px solid var(--gold);
  padding: 20px 24px;
  margin-bottom: 32px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.service-intro p { color: var(--ink); font-size: 0.95rem; line-height: 1.7; }

.service-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.service-item {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color var(--transition);
}

.service-item:hover { border-color: rgba(201,161,74,0.55); box-shadow: var(--shadow); }

.service-item h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 10px;
}

.service-item p { font-size: 0.875rem; color: var(--mid); line-height: 1.65; }

.additional-services { display: flex; flex-direction: column; gap: 40px; }

.add-service-block h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold-light);
  margin-bottom: 20px;
  font-style: italic;
}

/* ---- ENGAGEMENT ---- */
.engagement { background: var(--off-white); }

.engagement-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.engage-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all var(--transition);
}

.engage-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow); }

.engage-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.engage-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 12px;
}

.engage-card p { font-size: 0.85rem; color: var(--mid); line-height: 1.65; }

/* ---- WHY ---- */
.why {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.why::before {
  content: '';
  position: absolute;
  top: 0;
  left: -200px;
  right: -200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 60px;
  margin-top: 48px;
}

.why-item {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.why-marker {
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 8px;
}

.why-item p { font-size: 0.875rem; color: var(--mid); line-height: 1.65; }

/* ---- NEWS ---- */
.news-section { background: var(--off-white); }

.news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 20px;
}

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

.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
}

.news-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-strong); }

.news-card-header {
  padding: 28px 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.news-tag {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  padding: 4px 10px;
  border-radius: 2px;
}

.news-date {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  color: var(--mid);
  letter-spacing: 0.06em;
}

.news-card-body { padding: 0 28px 28px; }

.news-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.35;
}

.news-card p { font-size: 0.87rem; color: var(--mid); line-height: 1.65; }

.news-card-footer {
  padding: 18px 28px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.news-loading {
  grid-column: 1/-1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 60px;
}

.loading-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 1.2s ease infinite;
}
.loading-dot:nth-child(2) { animation-delay: 0.2s; }
.loading-dot:nth-child(3) { animation-delay: 0.4s; }

.news-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 80px 20px;
  color: var(--mid);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
}

/* ---- CONTACT ---- */
.contact {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contact-text p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 36px;
  font-size: 1rem;
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.contact-item:hover { color: var(--gold); }

.contact-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ---- CONTACT FORM ---- */
.contact-form { display: flex; flex-direction: column; gap: 20px; }

.contact-form .form-group,
.contact-form .form-group--full { display: flex; flex-direction: column; gap: 8px; }

.contact-form label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.93rem;
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--gold); }

.contact-form select { appearance: none; cursor: pointer; }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--mid); }

.form-success {
  color: var(--gold);
  font-size: 0.9rem;
  text-align: center;
  padding: 12px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: var(--gold-dim);
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand .logo-mark { width: 40px; height: 40px; font-size: 1.5rem; }

.footer-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--off-white);
}
.footer-tagline { font-size: 0.8rem; color: var(--pale); }

.footer-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  padding: 6px 14px;
  font-size: 0.83rem;
  color: var(--pale);
  border-radius: var(--radius);
  transition: color var(--transition);
}

.footer-nav a:hover { color: var(--gold); }
.footer-admin { opacity: 0.4; font-size: 0.75rem !important; }

.footer-copy { font-size: 0.78rem; color: var(--pale); }
.footer-credit {
  font-size: 0.76rem;
  color: var(--pale);
  letter-spacing: 0.04em;
}
.footer-credit span { color: var(--gold-light); font-weight: 600; }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.6); opacity: 0.4; }
}

/* Intersection observer reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.revealed { opacity: 1; transform: none; }

/* ---- NEWS PAGE ---- */
.news-page-header {
  padding: 160px 0 80px;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
}

.news-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 80px 0;
}

/* ---- ADMIN PANEL ---- */
.admin-body {
  background: var(--off-white);
  min-height: 100vh;
}

.admin-layout { display: flex; min-height: 100vh; }

.admin-sidebar {
  width: 260px;
  background: var(--ink);
  border-right: 1px solid var(--border);
  padding: 32px 0;
  flex-shrink: 0;
}

.admin-brand {
  padding: 0 24px 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.admin-brand .logo-mark { width: 32px; height: 32px; font-size: 1.1rem; }
.admin-logo { display: flex; align-items: center; gap: 10px; }
.admin-logo-text { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; color: var(--gold); text-transform: uppercase; }

.admin-nav { padding: 0 16px; }
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  font-size: 0.87rem;
  color: var(--mid);
  border-radius: var(--radius);
  margin-bottom: 2px;
  transition: all var(--transition);
}
.admin-nav a:hover, .admin-nav a.active { color: var(--white); background: var(--ink-80); }
.admin-nav a.active { color: var(--gold); }

.admin-main {
  flex: 1;
  padding: 40px;
  overflow-y: auto;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.admin-topbar h1 { font-family: var(--font-display); font-size: 2rem; font-weight: 300; }

.admin-form { max-width: 740px; }
.admin-form .form-group { margin-bottom: 24px; }
.admin-form label { display: block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.93rem;
  outline: none;
  transition: border-color var(--transition);
}
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus { border-color: var(--gold); }
.admin-form textarea { min-height: 200px; resize: vertical; }

.posts-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.posts-table th {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.posts-table td {
  padding: 14px 16px;
  font-size: 0.875rem;
  color: var(--muted);
  border-bottom: 1px solid rgba(11,31,58,0.07);
  vertical-align: middle;
}
.posts-table tr:hover td { background: var(--off-white); }
.post-title-cell { color: var(--ink); font-weight: 500; }

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.badge-published { background: rgba(80,180,100,0.15); color: #6dca82; }
.badge-draft { background: rgba(201,161,74,0.12); color: var(--gold); }

.action-btn {
  background: none;
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: var(--radius);
  font-size: 0.78rem;
  color: var(--mid);
  cursor: pointer;
  transition: all var(--transition);
  margin-right: 6px;
}
.action-btn:hover { border-color: var(--gold); color: var(--gold); }
.action-btn.delete:hover { border-color: #e05555; color: #e05555; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .engagement-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .main-nav { display: none; position: fixed; top: 72px; left: 0; right: 0; background: var(--white); padding: 24px 32px; flex-direction: column; border-bottom: 1px solid var(--border); gap: 4px; box-shadow: var(--shadow); }
  .main-nav a:not(.nav-cta) { color: var(--ink-60); }
  .main-nav a:not(.nav-cta):hover { color: var(--ink); }
  .main-nav.open { display: flex; }
  .hamburger { display: flex; }
  .hero-title { font-size: clamp(2.2rem, 10vw, 4rem); }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .stat-divider { display: none; }
  .sectors-grid { grid-template-columns: 1fr 1fr; }
  .service-items { grid-template-columns: 1fr; }
  .engagement-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-pillars { grid-template-columns: 1fr; }
  .tabs-nav { overflow-x: auto; }
  .news-page-grid { grid-template-columns: 1fr; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .sectors-grid { grid-template-columns: 1fr; }
  .engagement-grid { grid-template-columns: 1fr; }
  .news-header { flex-direction: column; align-items: flex-start; }
}

