/**
 * Estudio Pericial Sur - Main Design System & Styles
 * Colors: Deep Navy (#152836), Forest Teal (#1a7a6c), Vibrant Mint (#2eb872), Warm Amber (#d97736)
 */

:root {
  --primary-navy: #152836;
  --primary-navy-dark: #0d1b26;
  --primary-navy-light: #1f3b50;
  --secondary-teal: #1a7a6c;
  --secondary-teal-light: #239b89;
  --secondary-teal-dark: #12574d;
  --accent-mint: #2eb872;
  --accent-mint-light: #4cd48d;
  --accent-amber: #d97736;
  --accent-amber-light: #f59e0b;
  
  --bg-page: #f8fafc;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-dark: #0f1c26;
  
  --text-dark: #1e293b;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  
  --border-light: #e2e8f0;
  --border-card: rgba(21, 40, 54, 0.08);
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  --shadow-sm: 0 2px 6px rgba(21, 40, 54, 0.05);
  --shadow-md: 0 8px 24px rgba(21, 40, 54, 0.08);
  --shadow-lg: 0 16px 36px rgba(21, 40, 54, 0.12);
  --shadow-hover: 0 20px 40px rgba(26, 122, 108, 0.16);
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-navy);
  font-weight: 700;
  line-height: 1.25;
}

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

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

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

/* ==========================================================================
   Buttons & UI Elements
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-teal) 0%, var(--secondary-teal-dark) 100%);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(26, 122, 108, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(26, 122, 108, 0.4);
  color: var(--text-white);
}

.btn-outline {
  background: var(--bg-white);
  border-color: var(--secondary-teal);
  color: var(--secondary-teal);
}

.btn-outline:hover {
  background: var(--secondary-teal);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
  color: var(--text-white);
}

.btn-lg {
  padding: 16px 30px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-card);
  z-index: 1000;
  padding: 14px 0;
  transition: var(--transition);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.logo-badge {
  background: linear-gradient(135deg, var(--secondary-teal) 0%, var(--primary-navy) 100%);
  color: var(--text-white);
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.nav-desktop {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
  padding: 6px 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--secondary-teal);
}

.chevron-down {
  font-size: 0.8rem;
  margin-left: 2px;
}

/* Dropdown Menu */
.nav-dropdown-item {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  background: var(--bg-white);
  min-width: 320px;
  padding: 12px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1010;
}

.nav-dropdown-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}

.dropdown-link:hover {
  background: #f1f5f9;
}

.dropdown-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.dropdown-title {
  display: block;
  font-weight: 700;
  color: var(--primary-navy);
  font-size: 0.92rem;
}

.dropdown-desc {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-btn {
  font-size: 0.88rem;
  padding: 10px 18px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--primary-navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background: var(--bg-white);
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
  z-index: 2000;
  transition: var(--transition);
  overflow-y: auto;
  padding: 24px;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.mobile-close-btn {
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--primary-navy);
  cursor: pointer;
}

.mobile-links {
  list-style: none;
}

.mobile-link {
  display: block;
  padding: 10px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.mobile-section-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin: 16px 0 6px;
  font-weight: 800;
}

.mobile-cta {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 60px 0 70px;
  background: linear-gradient(180deg, #f1f8f6 0%, var(--bg-page) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26, 122, 108, 0.1);
  color: var(--secondary-teal-dark);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-mint);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(46, 184, 114, 0.25);
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--secondary-teal);
  background: linear-gradient(135deg, var(--secondary-teal) 0%, var(--accent-mint) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-body);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.trust-badge-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--primary-navy);
}

.trust-badge-item p {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin: 0;
}

.hero-media-wrap {
  position: relative;
}

.hero-media-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-white);
  border: 4px solid var(--bg-white);
}

.hero-img-main {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center 20%;
  transition: var(--transition);
}

.hero-overlay-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(21, 40, 54, 0.88);
  backdrop-filter: blur(10px);
  color: var(--text-white);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-overlay-tag strong {
  display: block;
  font-size: 0.92rem;
}

.hero-overlay-tag p {
  font-size: 0.78rem;
  color: var(--text-light);
  margin: 0;
}

.hero-benefit-float {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border-light);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.benefit-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-mint);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.hero-benefit-float strong {
  display: block;
  font-size: 0.9rem;
  color: var(--primary-navy);
}

.hero-benefit-float p {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   Stats Bar
   ========================================================================== */
.stats-bar {
  background: var(--primary-navy);
  color: var(--text-white);
  padding: 36px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-mint);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-light);
}

/* ==========================================================================
   Sections Common
   ========================================================================== */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--secondary-teal);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

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

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--secondary-teal-light);
}

.service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.service-icon {
  font-size: 2rem;
  line-height: 1;
}

.service-tag {
  background: #f1f5f9;
  color: var(--secondary-teal-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.service-title a:hover {
  color: var(--secondary-teal);
}

.service-desc {
  font-size: 0.93rem;
  color: var(--text-body);
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-checklist {
  list-style: none;
  margin-bottom: 24px;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.service-checklist li {
  font-size: 0.85rem;
  color: var(--text-muted);
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.service-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-mint);
  font-weight: bold;
}

.service-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--secondary-teal);
}

.service-btn-link:hover {
  gap: 10px;
  color: var(--secondary-teal-dark);
}

/* ==========================================================================
   Audience Section
   ========================================================================== */
.audience-section {
  background: #ffffff;
}

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

.audience-card {
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.audience-card-highlight {
  background: linear-gradient(180deg, #f0faf7 0%, var(--bg-page) 100%);
  border-color: var(--secondary-teal);
  box-shadow: var(--shadow-md);
}

.audience-badge {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--secondary-teal);
  margin-bottom: 14px;
}

.audience-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.audience-card p {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 20px;
}

.audience-points {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
}

.audience-points li {
  font-size: 0.88rem;
  color: var(--text-body);
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
}

.audience-points li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--secondary-teal);
  font-size: 1.2rem;
  line-height: 1;
}

/* ==========================================================================
   Team Section E-E-A-T
   ========================================================================== */
.team-section {
  background: var(--bg-page);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  margin-bottom: 50px;
}

.team-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  transition: var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.team-img-wrap {
  position: relative;
  height: 100%;
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-img-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary-navy);
  color: var(--text-white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.team-info {
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.team-name {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--secondary-teal);
  margin-bottom: 16px;
}

.team-credentials {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.cred-tag {
  font-size: 0.78rem;
  color: var(--text-body);
  background: #f1f5f9;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
}

.team-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.methodology-box {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

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

.methodology-col {
  text-align: center;
}

.meth-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.methodology-col h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.methodology-col p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  background: #ffffff;
}

.faq-container {
  max-width: 860px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item[open] {
  border-color: var(--secondary-teal);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-toggle-icon {
  font-size: 1.4rem;
  color: var(--secondary-teal);
  transition: var(--transition);
}

.faq-item[open] .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
  padding: 60px 0 80px;
}

.cta-card {
  background: linear-gradient(135deg, var(--primary-navy-dark) 0%, var(--primary-navy) 60%, var(--secondary-teal-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 64px 40px;
  text-align: center;
  color: var(--text-white);
  box-shadow: var(--shadow-lg);
}

.cta-badge {
  display: inline-block;
  background: rgba(46, 184, 114, 0.2);
  color: var(--accent-mint-light);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.cta-title {
  color: var(--text-white);
  font-size: 2.4rem;
  max-width: 720px;
  margin: 0 auto 20px;
}

.cta-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 32px;
}

.cta-phone-note {
  margin-top: 24px;
  font-size: 0.88rem;
  color: var(--text-light);
}

.cta-phone-note strong {
  color: var(--text-white);
}

/* ==========================================================================
   Service Detail Pages
   ========================================================================== */
.page-header-service {
  background: linear-gradient(180deg, #edf6f4 0%, var(--bg-page) 100%);
  padding: 50px 0 60px;
  border-bottom: 1px solid var(--border-light);
}

.breadcrumb-nav {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumb-nav a {
  color: var(--secondary-teal);
}

.breadcrumb-nav span {
  margin: 0 6px;
}

.service-hero-badge {
  display: inline-block;
  background: rgba(26, 122, 108, 0.12);
  color: var(--secondary-teal-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.service-page-title {
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.service-page-subtitle {
  font-size: 1.15rem;
  color: var(--text-body);
  max-width: 820px;
}

.detail-layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.detail-main-content h2 {
  font-size: 1.7rem;
  margin: 36px 0 16px;
}

.detail-main-content p {
  font-size: 1.02rem;
  color: var(--text-body);
  margin-bottom: 20px;
  line-height: 1.75;
}

.callout-box {
  background: #f0faf7;
  border-left: 4px solid var(--secondary-teal);
  padding: 22px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 32px 0;
  display: flex;
  gap: 16px;
}

.callout-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.callout-box h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.callout-box p {
  font-size: 0.92rem;
  color: var(--text-body);
  margin: 0;
}

.features-subgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 28px 0 36px;
}

.feature-subcard {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.feature-subicon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.feature-subcard h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-subcard p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.styled-list {
  list-style: none;
  margin: 20px 0 32px;
}

.styled-list li {
  font-size: 0.98rem;
  color: var(--text-body);
  margin-bottom: 14px;
  position: relative;
  padding-left: 28px;
}

.styled-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-mint);
  font-weight: 800;
  font-size: 1.1rem;
}

.styled-numbered-list {
  margin: 20px 0 32px 20px;
  color: var(--text-body);
}

.styled-numbered-list li {
  font-size: 0.98rem;
  margin-bottom: 12px;
  padding-left: 6px;
}

.styled-checklist {
  list-style: none;
  margin: 20px 0;
}

.styled-checklist li {
  font-size: 0.96rem;
  margin-bottom: 10px;
  position: relative;
  padding-left: 24px;
}

.styled-checklist li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--secondary-teal);
  font-size: 1.4rem;
  line-height: 1;
}

.service-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 28px 0 36px;
}

.pillar-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
}

.pillar-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary-teal);
  margin-bottom: 8px;
}

.pillar-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.pillar-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

/* Sidebar */
.detail-sidebar {
  position: relative;
}

.sidebar-sticky {
  position: sticky;
  top: 90px;
}

.sidebar-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
}

.sidebar-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.sidebar-icon {
  font-size: 1.6rem;
}

.sidebar-card-header h3 {
  font-size: 1.2rem;
}

.sidebar-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.sidebar-contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
}

.sidebar-contact-item {
  display: flex;
  gap: 12px;
}

.sb-icon {
  font-size: 1.2rem;
}

.sidebar-contact-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--primary-navy);
}

.sidebar-contact-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

.sidebar-related-links {
  margin-top: 24px;
}

.sidebar-related-links h4 {
  font-size: 0.92rem;
  margin-bottom: 12px;
  color: var(--primary-navy);
}

.sidebar-related-links ul {
  list-style: none;
}

.sidebar-related-links li {
  margin-bottom: 8px;
}

.sidebar-related-links a {
  font-size: 0.85rem;
  color: var(--secondary-teal);
  font-weight: 600;
}

.sidebar-related-links a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-badges {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-badge {
  font-size: 0.78rem;
  background: rgba(255,255,255,0.06);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  color: #cbd5e1;
}

.footer-title {
  color: var(--text-white);
  font-size: 1.05rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--secondary-teal);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: #94a3b8;
}

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

.footer-links-list {
  list-style: none;
}

.footer-links-list li {
  font-size: 0.84rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.footer-links-list strong {
  color: #e2e8f0;
}

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

.contact-row {
  display: flex;
  gap: 10px;
  font-size: 0.85rem;
}

.contact-row strong {
  color: #e2e8f0;
}

.contact-row a {
  color: var(--accent-mint);
}

.footer-cta-box {
  margin-top: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
}

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

.copyright-text {
  font-size: 0.78rem;
  color: #64748b;
  max-width: 780px;
}

.footer-legal-links {
  font-size: 0.8rem;
}

.footer-legal-links a {
  color: #94a3b8;
}

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

.footer-legal-links .sep {
  margin: 0 8px;
  color: #475569;
}

/* ==========================================================================
   WhatsApp Floating Widget
   ========================================================================== */
.wa-float-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 12px;
}

.wa-tooltip {
  background: var(--bg-white);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border: 1px solid var(--border-light);
  max-width: 260px;
  animation: fadeIn 0.4s ease;
}

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

.wa-tooltip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.wa-tooltip-header strong {
  font-size: 0.85rem;
  color: var(--primary-navy);
}

.wa-badge-online {
  font-size: 0.7rem;
  background: #dcfce7;
  color: #166534;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}

.wa-tooltip p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.wa-float-btn {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 50%;
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
}

.wa-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.wa-svg {
  width: 32px;
  height: 32px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .audience-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .team-card {
    grid-template-columns: 1fr;
  }
  .team-img-wrap {
    height: 320px;
  }
  .detail-layout-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .methodology-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-trust-badges {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .features-subgrid, .service-pillars-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .methodology-grid {
    grid-template-columns: 1fr;
  }
  .wa-tooltip {
    display: none;
  }
}
