/* ==========================================================================
   Verun Tech Investigacoes - Complete Stylesheet
   Clean rewrite - Dark Navy + Gold Accent
   ========================================================================== */

/* --- CSS Variables --- */
:root {
  --navy: #0A1628;
  --navy2: #0F1D32;
  --navy3: #1a2332;
  --gold: #C8A45A;
  --gold-light: #dfc06a;
  --white: #ffffff;
  --gray: #94A3B8;
  --gray2: #64748b;
  --gray3: #475569;
  --serif: 'DM Serif Display', serif;
  --sans: 'DM Sans', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.35);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray);
  background-color: var(--navy);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  color: var(--white);
  line-height: 1.2;
  font-weight: 400;
}

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

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

ul, ol {
  list-style: none;
}

/* --- Utility --- */
.gold { color: var(--gold); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section {
  padding: 100px 0;
}

.section-sm {
  padding: 4rem 2rem;
}

/* --- Selection & Scrollbar --- */
::selection {
  background: rgba(201, 168, 76, 0.3);
  color: var(--white);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--navy3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray3); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
  background: rgba(10, 22, 40, 0.95);
}

.site-header.scrolled {
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo-text {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--white);
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-list a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.3px;
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--white);
}

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

/* Header Phone */
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin-left: 32px;
}

.header-phone svg,
.header-phone i {
  color: var(--gold);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
  position: relative;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 180px 0 80px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200, 164, 90, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-content {
  flex: 1;
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 164, 90, 0.1);
  border: 1px solid rgba(200, 164, 90, 0.25);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-text {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  flex: 0 0 420px;
}

/* Stats Box */
.stats-box {
  background: var(--navy2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

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

.stat-item {
  text-align: center;
  padding: 12px 0;
}

.stat-number {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--gold);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray2);
  font-weight: 500;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 164, 90, 0.3);
}

.btn-outline {
  background: rgba(10, 22, 40, 0.95);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--navy3);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
  background: rgba(200, 164, 90, 0.12);
  color: var(--gold);
  border-color: rgba(200, 164, 90, 0.3);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8rem;
}

.btn-danger {
  background: #dc2626;
  color: #fff;
}

.btn-danger:hover {
  background: #b91c1c;
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.7;
}

.section-action {
  margin-top: 48px;
  text-align: center;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services-section {
  background: var(--navy);
}

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

.service-card {
  background: var(--navy2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 164, 90, 0.15);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(200, 164, 90, 0.1);
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.service-card-icon svg,
.service-card-icon i {
  width: 28px;
  height: 28px;
}

.service-card-title {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 14px;
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap var(--transition);
}

.service-card-link:hover {
  gap: 12px;
}

/* ==========================================================================
   HOW IT WORKS / STEPS
   ========================================================================== */
.how-it-works {
  background: var(--navy2);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: steps;
}

.step-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius);
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all var(--transition);
  position: relative;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 164, 90, 0.12);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(200, 164, 90, 0.12);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.2rem;
  margin-bottom: 20px;
  border: 1.5px solid rgba(200, 164, 90, 0.25);
}

.step-title {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--gray2);
  line-height: 1.7;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-section {
  background: var(--navy);
}

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

.testimonial-card {
  background: var(--navy2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 164, 90, 0.12);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 18px;
  letter-spacing: 3px;
  display: flex;
  gap: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}

.testimonial-author span {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--gray2);
  margin-top: 4px;
}

/* ==========================================================================
   BLOG POSTS ON HOMEPAGE
   ========================================================================== */
.blog-section {
  background: var(--navy2);
}

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

.post-card {
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 164, 90, 0.15);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.post-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy3);
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-card:hover .post-card-image img {
  transform: scale(1.06);
}

.post-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.post-card-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 10px;
  line-height: 1.35;
}

.post-card-excerpt {
  font-size: 0.88rem;
  color: var(--gray2);
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.post-card-date {
  font-size: 0.8rem;
  color: var(--gray3);
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
  background: var(--navy2);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

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

.cta-content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.05rem;
  color: var(--gray);
  margin-bottom: 36px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

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

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--gray2);
  line-height: 1.8;
  max-width: 300px;
}

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

.footer-heading {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--gray2);
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  padding: 0;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact a,
.footer-contact p {
  font-size: 0.9rem;
  color: var(--gray2);
  line-height: 1.6;
  transition: color var(--transition);
}

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

.footer-contact svg,
.footer-contact i {
  color: var(--gold);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray3);
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: all var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
}

.whatsapp-float svg,
.whatsapp-float i {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   PAGE HEADER (Inner Pages)
   ========================================================================== */
.page-header {
  background: var(--navy2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 8rem 2rem 3rem;
  text-align: center;
}

/* .page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 164, 90, 0.3), transparent); */
}

.page-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  color: var(--gray);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.page-header-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 16px;
}

.page-header-breadcrumb {
  font-size: 0.9rem;
  color: var(--gray2);
  margin-top: 1rem;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray2);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--gray2);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--gold);
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.about-intro {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
  line-height: 1.8;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
}

.about-image-placeholder {
  background: var(--navy3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray3);
  font-size: 0.85rem;
}

.about-text p {
  color: var(--gray);
  margin-bottom: 1.25rem;
  line-height: 1.85;
}

.about-text strong {
  color: var(--white);
}

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

.about-creds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cred-card {
  background: var(--navy2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition);
}

.cred-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 164, 90, 0.15);
}

.cred-card h3 {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.cred-card p {
  font-size: 0.85rem;
  color: var(--gray2);
}

/* Brands */
.about-brands {
  margin-bottom: 4rem;
}

.brands-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.brand-card {
  background: var(--navy3);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 2rem;
  transition: border-color 0.3s;
}

.brand-card:hover {
  border-color: rgba(200, 164, 90, 0.2);
}

.brand-card h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.brand-card p {
  font-size: 0.88rem;
  color: var(--gray2);
  line-height: 1.7;
}

/* Mentor */
.mentor-section {
  margin-bottom: 4rem;
}

.mentor-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.mentor-image-placeholder {
  background: var(--navy3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  width: 200px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray3);
  font-size: 0.8rem;
}

.mentor-text h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.mentor-text p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 1rem;
}

/* Credentials */
.credentials-section {
  margin-bottom: 2rem;
}

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

.credential-card {
  background: var(--navy3);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 1.75rem;
  transition: border-color 0.3s;
}

.credential-card:hover {
  border-color: rgba(200, 164, 90, 0.2);
}

.credential-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(200, 164, 90, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--gold);
}

.credential-card h3 {
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.credential-card h4 {
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.credential-card p {
  font-size: 0.82rem;
  color: var(--gray2);
  line-height: 1.65;
}

/* ==========================================================================
   SERVICE DETAIL PAGE
   ========================================================================== */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

.service-detail-content {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.85;
}

.service-detail-content p {
  margin-bottom: 1.25rem;
}

.service-detail-content h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.service-detail-content h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.service-detail-content ul,
.service-detail-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-detail-content li {
  margin-bottom: 0.5rem;
  list-style: disc;
}

.service-detail-content ol li {
  list-style: decimal;
}

/* Service Sidebar */
.service-sidebar {
  position: sticky;
  top: 5rem;
}

.sidebar-box {
  background: var(--navy3);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.sidebar-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-services {
  list-style: none;
  padding: 0;
}

.sidebar-services a {
  display: block;
  padding: 0.6rem 0;
  font-size: 0.88rem;
  color: var(--gray);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: color 0.2s;
}

.sidebar-services a:hover {
  color: var(--gold);
}

.sidebar-cta {
  background: linear-gradient(135deg, rgba(200, 164, 90, 0.1), rgba(200, 164, 90, 0.05));
  border: 1px solid rgba(200, 164, 90, 0.15);
  border-radius: 10px;
  padding: 1.75rem;
  text-align: center;
}

.sidebar-cta h3 {
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.sidebar-cta h4 {
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.sidebar-cta p {
  font-size: 0.82rem;
  color: var(--gray2);
  margin-bottom: 1rem;
}

/* ==========================================================================
   BLOG LISTING PAGE
   ========================================================================== */
.category-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.category-link {
  display: inline-block;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray);
  background: var(--navy3);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.2s;
}

.category-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.category-link.active {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  font-weight: 600;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--navy2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(200, 164, 90, 0.15);
}

/* Featured blog card */
.blog-card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.blog-card-featured .blog-card-img {
  aspect-ratio: auto;
  height: 100%;
}

.blog-card-featured .blog-card-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-card-featured .blog-card-title {
  font-size: 1.5rem;
}

.blog-card-featured .blog-card-excerpt {
  -webkit-line-clamp: 4;
}

/* Blog card image */
.blog-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy3);
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.06);
}

.blog-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray3);
  background: linear-gradient(135deg, var(--navy3), var(--navy2));
}

.blog-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  z-index: 2;
}

/* Blog card body */
.blog-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  font-size: 0.75rem;
  color: var(--gray3);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.blog-card-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.blog-card-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.blog-card-title a {
  color: inherit;
  transition: color 0.2s;
}

.blog-card:hover .blog-card-title a {
  color: var(--gold);
}

.blog-card-excerpt {
  font-size: 0.88rem;
  color: var(--gray2);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap 0.2s;
}

.blog-card-link:hover {
  gap: 0.7rem;
  color: var(--gold-light);
}

.blog-card-link svg {
  transition: transform 0.2s;
}

.blog-card-link:hover svg {
  transform: translateX(2px);
}

.blog-card-date {
  font-size: 0.8rem;
  color: var(--gray3);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--gray2);
  font-size: 1rem;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.pagination-numbers {
  display: flex;
  gap: 0.25rem;
}

.pagination-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray);
  background: var(--navy3);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.2s;
}

.pagination-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.pagination-link.active {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  font-weight: 700;
}

/* ==========================================================================
   BLOG POST SINGLE PAGE
   ========================================================================== */
.post-hero {
  background: var(--navy2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 8rem 2rem 3rem;
}

.post-hero .breadcrumb {
  margin-bottom: 2rem;
}

.post-hero-cat {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 4px;
  margin-bottom: 1.25rem;
}

.post-hero-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  font-weight: 400;
  line-height: 1.2;
  max-width: 800px;
  margin-bottom: 1.5rem;
}

.post-hero-meta {
  display: flex;
  align-items: center;
  gap: 2rem;
  color: var(--gray2);
  font-size: 0.88rem;
}

.post-hero-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.post-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-hero-author strong {
  color: var(--white);
  display: block;
  font-size: 0.88rem;
}

.post-hero-author span {
  font-size: 0.75rem;
  color: var(--gray3);
}

/* Post cover image */
.post-cover-wrap {
  padding: 0 2rem;
  margin-top: -1rem;
  margin-bottom: 2rem;
}

.post-cover-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Post body */
.post-body-section {
  padding: 3rem 2rem 4rem;
}

.post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  align-items: start;
}

/* Post article content */
.post-article {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.9;
}

.post-article p {
  margin-bottom: 1.5rem;
}

.post-article h2,
.post-article h3 {
  font-family: var(--serif);
  color: var(--white);
  font-weight: 400;
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
}

.post-article h2 {
  font-size: 1.6rem;
}

.post-article h3 {
  font-size: 1.3rem;
}

.post-article ul,
.post-article ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.post-article li {
  margin-bottom: 0.5rem;
  list-style: disc;
}

.post-article ol li {
  list-style: decimal;
}

.post-article strong {
  color: var(--white);
}

.post-article blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: rgba(200, 164, 90, 0.04);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--gray);
}

.post-article a {
  color: var(--gold);
  border-bottom: 1px solid rgba(200, 164, 90, 0.3);
}

.post-article a:hover {
  border-bottom-color: var(--gold);
}

.post-article img {
  max-width: 100%;
  border-radius: 8px;
  margin: 1.5rem 0;
}

/* Post sidebar */
.post-sidebar {
  position: sticky;
  top: 5rem;
}

.post-sidebar-box {
  background: var(--navy3);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.post-sidebar-box h4 {
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.post-sidebar-box p {
  font-size: 0.85rem;
  color: var(--gray2);
  line-height: 1.65;
}

.post-sidebar-links {
  list-style: none;
  padding: 0;
}

.post-sidebar-links li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.post-sidebar-links a {
  display: block;
  padding: 0.6rem 0;
  font-size: 0.85rem;
  color: var(--gray);
  transition: color 0.2s, padding-left 0.2s;
}

.post-sidebar-links a:hover {
  color: var(--gold);
  padding-left: 0.5rem;
}

.post-sidebar-contact {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.post-sidebar-contact a {
  font-size: 0.85rem;
  color: var(--gray);
  transition: color 0.2s;
}

.post-sidebar-contact a:hover {
  color: var(--gold);
}

/* Related section */
.related-section {
  background: var(--navy2);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* Legacy post single (fallback) */
.post-single {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.post-header {
  margin-bottom: 40px;
  text-align: center;
}

.post-header h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--gray2);
  flex-wrap: wrap;
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.post-cover {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
}

.post-cover img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.post-content {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.9;
}

.post-content h2 {
  font-size: 1.6rem;
  margin-top: 48px;
  margin-bottom: 20px;
}

.post-content h3 {
  font-size: 1.3rem;
  margin-top: 36px;
  margin-bottom: 16px;
}

.post-content p {
  margin-bottom: 20px;
}

.post-content ul,
.post-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.post-content li {
  margin-bottom: 8px;
  list-style: disc;
  color: var(--gray);
}

.post-content ol li {
  list-style: decimal;
}

.post-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 16px 24px;
  margin: 28px 0;
  background: rgba(200, 164, 90, 0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--gray);
}

.post-content a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-content a:hover {
  color: var(--gold-light);
}

.related-posts {
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.related-posts h2 {
  font-size: 1.6rem;
  margin-bottom: 32px;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-form-wrapper {
  background: var(--navy3);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 2.5rem;
}

.contact-form-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Contact info */
.contact-info h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.contact-info-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.contact-info-list li:last-child {
  border-bottom: none;
}

.contact-info-list a {
  font-size: 0.88rem;
  color: var(--gray);
  transition: color 0.2s;
}

.contact-info-list a:hover {
  color: var(--gold);
}

.contact-info-box {
  margin-bottom: 2rem;
}

.contact-info-box h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.contact-info-box h4 {
  font-size: 0.85rem;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.contact-info-box p,
.contact-info-box a {
  font-size: 0.88rem;
  color: var(--gray);
}

.contact-info-box a:hover {
  color: var(--gold);
}

.office-address,
.office-addr {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.6;
}

.map-embed {
  margin-top: 1rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.map-embed iframe {
  width: 100%;
  height: 200px;
  border: 0;
  filter: grayscale(1) invert(1) contrast(0.8) brightness(0.6);
}

/* Alert */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.alert-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

/* Legacy contact layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  padding: 80px 0;
  align-items: start;
}

.contact-offices {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.office {
  background: var(--navy2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 1.5rem;
}

.office-label {
  font-size: 0.7rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.contact-extra {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-group label {
  font-size: 0.72rem;
  color: var(--gray3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--navy2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 0.8rem 1rem;
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
}

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

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray3);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.form-group select option {
  background: var(--navy2);
}

/* Legacy form-wrap */
.form-wrap {
  background: var(--navy2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 40px;
}

.form-wrap h2,
.form-wrap h3 {
  font-size: 1.4rem;
  margin-bottom: 28px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
}

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

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--gray3);
}

/* ==========================================================================
   AREAS / TAGS
   ========================================================================== */
.areas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 0;
}

.areas span {
  display: inline-block;
  background: var(--navy2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--gray);
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 100px;
  transition: all var(--transition);
}

.areas span:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200, 164, 90, 0.08);
}

/* ==========================================================================
   404 PAGE
   ========================================================================== */
.error-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-content {
  text-align: center;
}

.error-code {
  font-family: var(--serif);
  font-size: 6rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}

.error-title {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 16px;
}

.error-text {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 32px;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   RESPONSIVE - 1024px (Tablet)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-text {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    flex: 0 0 auto;
    width: 100%;
    max-width: 460px;
  }

  .services-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-sidebar {
    position: static;
  }

  .credentials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mentor-grid {
    grid-template-columns: 160px 1fr;
  }

  .post-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .post-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
  }
}

/* ==========================================================================
   RESPONSIVE - 768px (Mobile)
   ========================================================================== */
@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  /* Mobile Navigation */
  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
  }

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

  .main-nav.open .header-phone {
    display: flex;
    margin-left: 0;
    margin-top: 28px;
  }

  .nav-list {
    flex-direction: column;
    gap: 28px;
  }

  .nav-list a {
    font-size: 1.2rem;
  }

  .header-phone {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .header-inner {
    justify-content: space-between;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-content {
    text-align: center;
  }

  .stats-box {
    padding: 24px 16px;
    gap: 16px;
    grid-template-columns: 1fr 1fr;
  }

  .stat-item {
    padding: 8px 0;
  }

  .stat-number {
    font-size: 1.6rem;
    margin-bottom: 4px;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  /* Grids collapse to 1 column */
  .services-grid,
  .testimonials-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .blog-card-featured {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .section-header {
    margin-bottom: 48px;
  }

  /* Inner pages */
  .page-header {
    padding: 6rem 1.25rem 2rem;
  }

  .brands-grid,
  .credentials-grid {
    grid-template-columns: 1fr;
  }

  .mentor-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mentor-image-placeholder {
    margin: 0 auto;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Post page */
  .post-hero {
    padding: 6rem 1.25rem 2rem;
  }

  .post-hero-title {
    font-size: 1.8rem;
  }

  .post-hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .post-sidebar {
    grid-template-columns: 1fr;
  }

  .post-body-section {
    padding: 2rem 1.25rem 3rem;
  }

  .post-cover-wrap {
    padding: 0 1.25rem;
  }
}

/* ==========================================================================
   RESPONSIVE - 480px (Small Mobile)
   ========================================================================== */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    padding: 100px 0 48px;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .stats-box {
    padding: 20px 12px;
    gap: 12px;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  .about-creds {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .form-wrap {
    padding: 24px;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .blog-card-body {
    padding: 20px;
  }

  .post-single {
    padding: 40px 16px 60px;
  }

  .page-header {
    padding: 5rem 1rem 1.5rem;
  }

  .category-filters {
    gap: 0.35rem;
  }

  .category-link {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
  }
}

/* Remove decorative lines */
.page-header::after,
.stats-box::before {
  display: none !important;
}

/* === MOBILE BLOG FIX === */
@media (max-width: 768px) {
  .category-filters {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding-bottom: 12px;
    margin-bottom: 2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  
  .category-filters::-webkit-scrollbar {
    display: none;
  }
  
  .category-link {
    flex-shrink: 0;
    font-size: 0.78rem;
    padding: 0.4rem 0.9rem;
    white-space: nowrap;
  }
  
  .blog-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  
  .featured-post {
    grid-template-columns: 1fr !important;
  }
  
  .featured-post .featured-image {
    height: 200px;
  }
  
  .page-header {
    padding: 100px 0 40px;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .page-subtitle {
    font-size: 0.9rem;
  }

  /* Pagination mobile */
  .pagination {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .pagination-link {
    min-width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

  /* Nav mobile fix */
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
  }

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

  .nav-list {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .nav-list a {
    font-size: 1.3rem;
  }

  .header-phone {
    display: none;
  }

  .hamburger {
    display: flex !important;
    z-index: 1001;
  }
}

@media (max-width: 480px) {
  .category-link {
    font-size: 0.72rem;
    padding: 0.35rem 0.75rem;
  }
  
  .page-title {
    font-size: 1.6rem;
  }
}
