/* ============================================================
   APCHO ABOGADOS - MODERN DESIGN SYSTEM (Responsive Optimized)
   Colors: Dark Hero #070e1c, Gold #D4AF37 / #B99F31, Pure White
   Fonts: Poltawski Nowy (Serif Titles), Inter (Clean Body)
   ============================================================ */

:root {
  --bg-dark-hero: #070e1c;
  --bg-dark-card: #0c172c;
  --bg-dark-surface: #030814;
  --bg-light: #f4f6fa;
  --bg-white: #ffffff;
  
  --primary-blue: #0263e2;
  --accent-gold: #d4af37;
  --accent-gold-dark: #b99f31;
  --accent-gold-light: #f3e5ab;
  --accent-gold-glow: rgba(212, 175, 55, 0.35);
  
  --text-white: #ffffff;
  --text-muted-dark: #94a3b8;
  --text-dark: #0f172a;
  --text-muted-light: #64748b;
  
  --border-dark: rgba(255, 255, 255, 0.12);
  --border-gold: rgba(212, 175, 55, 0.35);
  --border-light: #e2e8f0;
  
  --font-serif: 'Poltawski Nowy', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-pill: 9999px;
  
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  
  --shadow-hero: 0 30px 60px -15px rgba(0, 0, 0, 0.8);
  --shadow-gold: 0 10px 30px -10px rgba(212, 175, 55, 0.4);
}

/* Reset & Base */
*, *::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: #040914;
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

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

/* ============================================================
   NAVBAR (Unified White Block & Sticky Scroll)
   ============================================================ */
.header-sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-sticky.scrolled {
  padding: 0.65rem 0;
}

.header-white-bar {
  background: #ffffff;
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-sticky.scrolled .header-white-bar {
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

/* Desktop Nav Links */
.nav-capsule-light .nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav-capsule-light .nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e293b;
  padding: 0.3rem 0;
  position: relative;
  transition: var(--transition-fast);
}

.nav-capsule-light .nav-link:hover, 
.nav-capsule-light .nav-link.active {
  color: #b99f31;
}

.nav-capsule-light .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #b99f31;
  border-radius: 2px;
}

/* Mega Menu Dropdown (Desktop) */
.nav-dropdown-wrapper {
  position: relative;
}

.megamenu-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(32px);
  width: 420px;
  background: rgba(12, 23, 44, 0.97);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(212, 175, 55, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 1100;
}

/* Hit bridge to prevent hover loss when moving cursor down */
.megamenu-dropdown::before {
  content: '';
  position: absolute;
  top: -35px;
  left: 0;
  width: 100%;
  height: 35px;
  background: transparent;
}

.nav-dropdown-wrapper:hover .megamenu-dropdown,
.megamenu-dropdown:hover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(22px);
  pointer-events: auto;
}

.megamenu-grid {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.megamenu-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: var(--transition-fast);
}

.megamenu-item:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--border-gold);
  transform: translateX(4px);
}

.megamenu-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(217, 169, 40, 0.15);
  color: #d9a928;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.megamenu-icon i {
  color: #d9a928;
}

.mobile-accordion-content a i {
  color: #d9a928;
}

.megamenu-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.15rem;
}

.megamenu-desc {
  font-size: 0.8rem;
  color: var(--text-muted-dark);
  line-height: 1.35;
}

/* Buttons (Pill Gold) */
.btn-pill-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  color: #070e1c;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-gold);
  transition: var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.btn-pill-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.5);
  background: linear-gradient(135deg, #f3e5ab, var(--accent-gold));
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #0f172a;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* Mobile Drawer Overlay & Sliding Panel */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(7, 14, 28, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 2000;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-nav-drawer.active {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 1.5rem;
}

.mobile-drawer-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-dark);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.85rem 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  border-radius: var(--radius-sm);
}

.mobile-accordion-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.mobile-accordion-content {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem 1rem 0.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
}

.mobile-accordion.open .mobile-accordion-content {
  display: flex;
}

.mobile-accordion-content a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  color: var(--text-muted-dark);
  font-size: 0.95rem;
}

/* ============================================================
   HERO SECTION (Subtle Lerp Parallax Background)
   ============================================================ */
.hero-wrapper {
  min-height: 100vh;
  width: 100%;
  padding-top: 110px;
  padding-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 30%), rgba(2, 99, 226, 0.16) 0%, transparent 60%),
              radial-gradient(circle at calc(100% - var(--mouse-x, 50%)) calc(100% - var(--mouse-y, 30%)), rgba(212, 175, 55, 0.12) 0%, transparent 55%),
              #030814;
}

.hero-card-frame {
  background: rgba(7, 14, 28, 0.20);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 3.5rem 3.5rem 2.5rem;
  box-shadow: var(--shadow-hero);
  position: relative;
  overflow: hidden;
}

/* Slider items animation */
.hero-slides-wrapper {
  position: relative;
  min-height: 480px;
}

.hero-slide-item {
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
  transform: translateY(15px);
}

.hero-slide-item.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Slider Controls Bar */
.hero-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  margin-top: 1rem;
}

.hero-slider-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.hero-slider-arrow:hover {
  background: var(--accent-gold);
  color: #070e1c;
  border-color: var(--accent-gold);
}

.hero-slider-dots {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition-fast);
}

.hero-dot.active {
  width: 32px;
  border-radius: var(--radius-pill);
  background: var(--accent-gold);
  border-color: var(--accent-gold);
}

.hero-main-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  color: var(--accent-gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-main-title {
  font-size: clamp(1.55rem, 3.5vw, 2.95rem);
  line-height: 1.15;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.hero-main-title span.gold {
  color: var(--accent-gold);
  background: linear-gradient(135deg, #f3e5ab, var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-main-subtext {
  font-size: 1.1rem;
  color: var(--text-muted-dark);
  margin-bottom: 2.2rem;
  max-width: 580px;
  line-height: 1.7;
}

/* Rating Card Box */
.rating-card-box {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 380px;
  backdrop-filter: blur(12px);
  margin-bottom: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.rating-icons {
  display: flex;
  gap: 0.4rem;
}

.rating-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.rating-score {
  font-weight: 800;
  color: white;
  font-size: 1.1rem;
}

.rating-stars {
  color: #fbbf24;
  font-size: 0.85rem;
}

.rating-text {
  font-size: 0.8rem;
  color: var(--text-muted-dark);
  line-height: 1.3;
}

/* Right Lawyer Hero Portrait */
.hero-portrait-container {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-portrait-frame {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.hero-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-portrait-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 14, 28, 0.95) 0%, transparent 60%);
}

.hero-portrait-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  text-align: center;
}

/* Bottom Stats Strip */
.hero-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-item {
  position: relative;
  padding: 0 1rem;
}

.hero-stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-stat-num span.gold {
  color: var(--accent-gold);
}

.hero-stat-desc {
  font-size: 0.85rem;
  color: var(--text-muted-dark);
  font-weight: 500;
}

/* ============================================================
   LIGHT SECTIONS
   ============================================================ */
.section-light {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 90px 0;
}

.section-light h1, .section-light h2, .section-light h3 {
  color: var(--text-dark);
}

.section-light p {
  color: var(--text-muted-light);
}

/* About Section Grid (Responsive) */
.about-home-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}

.about-home-title {
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  margin-bottom: 1.5rem;
  line-height: 1.15;
  color: var(--text-dark);
}

.about-home-text {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.8;
  color: var(--text-muted-light);
  margin-bottom: 2rem;
}

@media (max-width: 992px) {
  .about-home-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* Responsive About Page Classes */
.about-overview-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.about-badge-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: rgba(2, 11, 25, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  padding: 1.4rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 320px;
}

.about-two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}

.about-dark-box {
  padding: 4rem 3.5rem;
}

.about-csr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 992px) {
  .about-overview-grid,
  .about-two-col-grid,
  .about-csr-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-features-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .about-badge-card {
    position: relative;
    bottom: 0;
    left: 0;
    max-width: 100%;
    margin-top: 1.25rem;
  }

  .about-dark-box {
    padding: 2.25rem 1.25rem;
  }
}

/* Service Block Cards (Responsive) */
.service-block-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  transition: var(--transition-normal);
}

.service-card-body {
  padding: 3.5rem;
}

@media (max-width: 992px) {
  .service-block-card {
    grid-template-columns: 1fr !important;
  }
  .service-card-body {
    padding: 1.75rem 1.25rem !important;
  }
  .service-card-img-wrap {
    min-height: 240px !important;
    padding: 1rem !important;
  }
}

/* Service Detail Page Layout (Responsive) */
.service-detail-grid {
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: 3.5rem;
}

.service-intervention-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 992px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .service-intervention-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* Contact Page Responsive Layout */
.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3.5rem;
}

.contact-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.contact-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
  padding: 3rem;
}

@media (max-width: 992px) {
  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-inputs-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .contact-box {
    padding: 1.75rem 1.25rem !important;
  }
}

/* Article Detail Layout (Responsive) */
.article-detail-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 3.5rem;
}

.article-content-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid var(--border-light);
  box-shadow: 0 15px 40px rgba(0,0,0,0.04);
  color: var(--text-dark);
  font-size: 1.05rem;
  line-height: 1.9;
}

.article-content-box img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

@media (max-width: 992px) {
  .article-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .article-content-box {
    padding: 1.75rem 1.25rem !important;
    font-size: 0.98rem !important;
  }
}

.pill-badge-dark {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  background: rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: var(--radius-pill);
  color: var(--text-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

/* ============================================================
   SERVICES & CARDS SHOWCASE GRID
   ============================================================ */
.dark-rounded-box {
  background: var(--bg-dark-hero);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 4rem 3.5rem;
}

.cards-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

.white-service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  color: var(--text-dark);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.white-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.card-pill-tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  color: #334155;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  align-self: flex-start;
}

.white-card-title {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.white-card-text {
  font-size: 0.92rem;
  color: var(--text-muted-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.card-img-thumb {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-md);
  object-fit: cover;
  margin-bottom: 1.5rem;
}

.card-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
}

.btn-circle-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.white-service-card:hover .btn-circle-arrow {
  background: var(--accent-gold);
  color: #070e1c;
  transform: scale(1.08);
}

/* ============================================================
   INTERACTIVE PLAYLIST COMPONENT (Apcho Legal Talks)
   ============================================================ */
.playlist-container {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 2rem;
  align-items: stretch;
  margin-top: 2rem;
  text-align: left;
}

@media (max-width: 992px) {
  .playlist-container {
    grid-template-columns: 1fr;
  }
}

.playlist-player-wrapper {
  background: rgba(7, 14, 28, 0.95);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.playlist-iframe-box {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  border: 1px solid var(--border-dark);
}

.playlist-iframe-box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.playlist-sidebar {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 520px;
  overflow-y: auto;
}

.playlist-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
}

.playlist-item:hover,
.playlist-item.active {
  background: rgba(217, 169, 40, 0.14);
  border-color: var(--border-gold);
  transform: translateX(4px);
}

.playlist-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 0, 0, 0.15);
  color: #FF0000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.playlist-item.active .playlist-item-icon {
  background: #FF0000;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

.playlist-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.playlist-item-meta {
  font-size: 0.78rem;
  color: var(--text-muted-dark);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ============================================================
   RESPONSIVE TABLE WRAPPER
   ============================================================ */
.table-responsive-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-works {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  margin-top: 2rem;
}

.table-works th {
  text-align: left;
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted-light);
  font-weight: 600;
  text-transform: uppercase;
  border-bottom: 2px solid #e2e8f0;
}

.table-works td {
  padding: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.95rem;
}

.table-works tr:hover {
  background: #f8fafc;
}

/* ============================================================
   FLOATING WHATSAPP BUTTON (Interactive Pulse & Tooltip)
   ============================================================ */
.whatsapp-float-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 12px;
}

.whatsapp-float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  background: #20ba5a;
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-badge-pulse {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: #d9a928;
  border: 2px solid #ffffff;
  border-radius: 50%;
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-tooltip-box {
  background: #0f172a;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  max-width: 250px;
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-float-container:hover .whatsapp-tooltip-box {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-tooltip-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #25D366;
  margin-bottom: 0.25rem;
}

.whatsapp-tooltip-body {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.35;
}

/* Footer */
.footer {
  background: #020712;
  border-top: 1px solid var(--border-dark);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 0.85fr 1.4fr;
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--text-muted-dark);
  margin-top: 1rem;
  font-size: 0.95rem;
}

.footer-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.1rem 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: var(--transition-fast);
}

.footer-logo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

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

.footer-title {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--accent-gold);
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted-dark);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: white;
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--text-muted-dark);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition-fast);
}

.social-icon:hover {
  background: var(--accent-gold);
  color: #070e1c;
  transform: translateY(-3px);
}

/* ============================================================
   RESPONSIVE BREAKPOINTS (Optimized Mobile-First Rules)
   ============================================================ */
@media (max-width: 992px) {
  .nav-capsule-light, .nav-cta {
    display: none;
  }
  .menu-toggle {
    display: block;
  }

  .hero-wrapper {
    min-height: 100vh;
    padding-top: 95px;
    padding-bottom: 2rem;
  }

  .hero-card-frame {
    padding: 2.5rem 1.75rem 2rem;
    border-radius: var(--radius-lg);
  }

  .hero-main-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
  }

  .hero-portrait-frame {
    max-width: 100%;
    height: 380px;
  }

  .hero-stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
  }

  .hero-stat-item:nth-child(2)::after {
    display: none;
  }

  .dark-rounded-box {
    padding: 2.5rem 1.75rem;
    border-radius: var(--radius-lg);
  }

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

@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }

  .header-white-bar {
    padding: 0.5rem 1rem;
  }

  .brand-img {
    height: 38px;
  }

  .hero-card-frame {
    padding: 1.75rem 1.15rem 1.5rem;
    border-radius: var(--radius-md);
  }

  .hero-main-title {
    font-size: 1.45rem;
    margin-bottom: 0.85rem;
  }

  .hero-main-subtext {
    font-size: 0.98rem;
    margin-bottom: 1.5rem;
  }

  .rating-card-box {
    max-width: 100%;
    padding: 1rem;
  }

  .hero-portrait-frame {
    height: 320px;
  }

  .hero-stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 0.75rem;
  }

  .hero-stat-num {
    font-size: 1.8rem;
  }

  .hero-stat-desc {
    font-size: 0.8rem;
  }

  .hero-stat-item {
    padding: 0 0.5rem;
  }

  .hero-stat-item::after {
    display: none !important;
  }

  .dark-rounded-box {
    padding: 1.75rem 1.15rem;
    border-radius: var(--radius-md);
  }

  .cards-showcase-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .white-service-card {
    padding: 1.5rem;
  }

  .section-light {
    padding: 60px 0;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .btn-pill-gold {
    white-space: normal !important;
    text-align: center;
    justify-content: center;
    max-width: 100%;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
}
