/* ==========================================================================
   ESTUDIO JURÍDICO ALESSANDRO - DESIGN SYSTEM & STYLESHEET
   Deep Navy (#0B192C) & Champagne Gold (#D4AF37) Theme
   Fully Responsive (Mobile-First Optimization)
   ========================================================================== */

:root {
  --primary-navy: #0B192C;
  --secondary-navy: #1E293B;
  --dark-navy: #060E1A;
  
  --gold-primary: #D4AF37;
  --gold-hover: #B89327;
  --gold-light: #F7E9B8;
  --gold-glow: rgba(212, 175, 55, 0.25);
  
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --bg-card: #FFFFFF;
  
  --text-dark: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;
  
  --border-color: #E2E8F0;
  --border-gold: rgba(212, 175, 55, 0.4);
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(11, 25, 44, 0.1);
  --shadow-lg: 0 20px 35px -10px rgba(11, 25, 44, 0.18);
  --shadow-gold: 0 8px 25px rgba(212, 175, 55, 0.3);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

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

/* UTILITY CLASSES */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.text-center { text-align: center; }
.text-gold { color: var(--gold-primary) !important; }
.w-100 { width: 100%; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.hidden { display: none !important; }

/* BUTTON SYSTEM */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-gold {
  background-color: var(--gold-primary);
  color: var(--primary-navy);
  box-shadow: 0 4px 15px var(--gold-glow);
}

.btn-gold:hover {
  background-color: var(--gold-hover);
  color: #000;
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--gold-primary);
  border-color: var(--gold-primary);
}

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

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.1rem 2.2rem;
  font-size: 1.05rem;
}

.btn-text-gold {
  background: none;
  border: none;
  color: var(--gold-primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: gap var(--transition-fast);
  padding: 0;
}

.btn-text-gold:hover {
  color: var(--gold-hover);
  gap: 0.75rem;
}

/* DECORATION ELEMENTS */
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-primary);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

.gold-divider {
  height: 3px;
  width: 60px;
  background-color: var(--gold-primary);
  margin-bottom: 1.25rem;
}

.gold-divider.center {
  margin-left: auto;
  margin-right: auto;
}

.section {
  padding: 5rem 0;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(11, 25, 44, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  transition: all var(--transition-fast);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

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

.scales-icon {
  width: 32px;
  height: 32px;
  color: var(--gold-primary);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-primary);
}

.brand-subname {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: #CBD5E1;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--gold-primary);
  transition: width var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-primary);
}

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

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  background: linear-gradient(135deg, var(--dark-navy) 0%, var(--primary-navy) 100%);
  color: var(--text-white);
  padding: 9rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--text-white);
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  color: #94A3B8;
  margin-bottom: 2.25rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #CBD5E1;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-divider {
  width: 1px;
  height: 16px;
  background-color: rgba(255, 255, 255, 0.2);
}

/* HERO IMAGE CARD */
.hero-image-wrapper {
  position: relative;
  width: 100%;
}

.hero-image-card {
  position: relative;
  width: 100%;
}

.image-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-gold);
}

.hero-lawyer-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
}

.gold-corner {
  position: absolute;
  width: 25px;
  height: 25px;
  border: 3px solid var(--gold-primary);
}

.gold-corner.top-left {
  top: 10px;
  left: 10px;
  border-right: none;
  border-bottom: none;
}

.gold-corner.bottom-right {
  bottom: 10px;
  right: 10px;
  border-left: none;
  border-top: none;
}

.lawyer-badge-card {
  position: absolute;
  bottom: -20px;
  left: 20px;
  right: 20px;
  background: rgba(11, 25, 44, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.badge-icon {
  width: 45px;
  height: 45px;
  background: var(--gold-primary);
  color: var(--primary-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.badge-info {
  display: flex;
  flex-direction: column;
}

.lawyer-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
}

.lawyer-title {
  font-size: 0.8rem;
  color: var(--gold-primary);
}

.lawyer-license {
  font-size: 0.7rem;
  color: #94A3B8;
  font-weight: 500;
  margin-top: 2px;
}

/* ==========================================================================
   SOBRE LA ABOGADA / EL ESTUDIO
   ========================================================================== */
.about-section {
  background-color: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: center;
}

.about-img-container {
  position: relative;
  width: 100%;
}

.about-office-img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  height: 500px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.about-experience-badge {
  position: absolute;
  bottom: -25px;
  right: -20px;
  background-color: var(--primary-navy);
  color: var(--text-white);
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.exp-number {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1;
}

.exp-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94A3B8;
  margin-top: 0.25rem;
  text-align: center;
}

.about-lead {
  font-size: 1.15rem;
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

.about-text {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.value-card {
  display: flex;
  gap: 1rem;
}

.value-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(212, 175, 55, 0.12);
  border-radius: var(--radius-sm);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.value-info h3 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.value-info p {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.stats-counter-bar {
  display: flex;
  justify-content: space-between;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-primary);
}

.stat-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   ÁREAS DE ESPECIALIZACIÓN
   ========================================================================== */
.practice-section {
  background-color: var(--bg-light);
}

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

.practice-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
}

.practice-card:hover {
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.practice-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.practice-icon {
  width: 55px;
  height: 55px;
  background-color: var(--primary-navy);
  color: var(--gold-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.area-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-hover);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.practice-card-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.practice-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.practice-list {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.practice-list li {
  font-size: 0.875rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.practice-card .btn-text-gold {
  margin-top: auto;
}

/* ==========================================================================
   TIENDA DE EBOOKS DIGITALES
   ========================================================================== */
.ebooks-section {
  background-color: var(--bg-white);
}

.category-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--primary-navy);
  color: var(--gold-primary);
  border-color: var(--primary-navy);
}

.ebooks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.ebook-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.ebook-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
  transform: translateY(-5px);
}

.ebook-badge-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  z-index: 2;
  text-transform: uppercase;
}

.ebook-badge-tag.free {
  background-color: #10B981;
  color: #FFF;
}

.ebook-badge-tag.paid {
  background-color: var(--gold-primary);
  color: var(--primary-navy);
}

.ebook-cover-container {
  background: #060E1A;
  padding: 2.5rem 1.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

/* 3D CSS EBOOK COVER */
.ebook-3d-cover {
  width: 140px;
  height: 195px;
  border-radius: 4px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: -8px 8px 20px rgba(0, 0, 0, 0.4), inset -2px 0 5px rgba(255, 255, 255, 0.2);
  transform: rotateY(-12deg) rotateX(4deg);
  transition: transform var(--transition-normal);
  position: relative;
}

.ebook-card:hover .ebook-3d-cover {
  transform: rotateY(0deg) scale(1.05);
}

.cover-gold {
  background: linear-gradient(135deg, #1E293B 0%, #0B192C 100%);
  border: 2px solid var(--gold-primary);
}

.cover-navy {
  background: linear-gradient(135deg, #0B192C 0%, #060E1A 100%);
  border: 2px solid #38BDF8;
}

.cover-dark-gold {
  background: linear-gradient(135deg, #2A2111 0%, #0B192C 100%);
  border: 2px solid var(--gold-primary);
}

.cover-header {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold-primary);
  text-align: center;
}

.cover-icon {
  font-size: 1.75rem;
  color: var(--gold-primary);
  text-align: center;
  margin: 0.5rem 0;
}

.cover-title {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-white);
  text-align: center;
  line-height: 1.2;
}

.cover-author {
  font-size: 0.55rem;
  color: #94A3B8;
  text-align: center;
}

.ebook-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ebook-category {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold-hover);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.ebook-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.ebook-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.ebook-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
}

.price-free {
  color: #10B981;
  font-weight: 700;
  font-size: 0.95rem;
}

.price-val {
  color: var(--primary-navy);
  font-weight: 700;
  font-size: 1rem;
}

/* ==========================================================================
   TESTIMONIOS
   ========================================================================== */
.testimonials-section {
  background-color: var(--bg-light);
}

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

.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
}

.stars {
  color: #F59E0B;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-style: italic;
  color: var(--text-dark);
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

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

.author-details {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-navy);
}

.author-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-section {
  background-color: var(--bg-white);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--gold-primary);
}

.faq-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: var(--bg-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-navy);
  cursor: pointer;
  text-align: left;
  gap: 1rem;
}

.faq-icon {
  color: var(--gold-primary);
  font-size: 0.9rem;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background-color: var(--bg-light);
}

.faq-item.active .faq-content {
  max-height: 300px;
  padding: 1.25rem 1.5rem;
}

.faq-content p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   CONTACT / CTA FINAL
   ========================================================================== */
.contact-cta-section {
  padding: 5rem 0;
  background: var(--bg-light);
}

.cta-box {
  background: linear-gradient(135deg, var(--dark-navy) 0%, var(--primary-navy) 100%);
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 4rem;
  color: var(--text-white);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  box-shadow: var(--shadow-lg);
}

.cta-tag {
  color: var(--gold-primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 0.75rem;
}

.cta-title {
  color: var(--text-white);
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.cta-desc {
  color: #94A3B8;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.cta-info-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.info-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.info-icon {
  width: 38px;
  height: 38px;
  background: var(--gold-primary);
  color: var(--primary-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.95rem;
}

.info-text {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-size: 0.7rem;
  color: #94A3B8;
  text-transform: uppercase;
}

.info-val {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-white);
}

/* ==========================================================================
   FOOTER & FLOATING WHATSAPP
   ========================================================================== */
.footer {
  background-color: var(--dark-navy);
  color: #94A3B8;
  padding: 4.5rem 0 0;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--gold-primary);
  color: var(--primary-navy);
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: #94A3B8;
}

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

.footer-contact-item {
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-bottom {
  background: #030712;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
}

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

.footer-legal {
  display: flex;
  gap: 0.75rem;
}

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

/* FLOATING WHATSAPP BUTTON */
.floating-whatsapp-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.whatsapp-popover {
  background: var(--bg-white);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  width: 220px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 10px;
  animation: fadeIn 0.4s ease forwards;
}

.popover-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.25rem;
}

.online-indicator {
  width: 8px;
  height: 8px;
  background-color: #10B981;
  border-radius: 50%;
}

.popover-body {
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.btn-floating-whatsapp {
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  position: relative;
  transition: transform var(--transition-fast);
}

.btn-floating-whatsapp:hover {
  transform: scale(1.1);
  color: #FFF;
}

.whatsapp-badge-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background-color: #EF4444;
  border: 2px solid #FFF;
  border-radius: 50%;
}

/* ==========================================================================
   MODALES
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 14, 26, 0.75);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

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

.modal-card {
  background: var(--bg-white);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform var(--transition-normal);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-backdrop.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-header {
  margin-bottom: 1.5rem;
}

.modal-icon-badge {
  width: 50px;
  height: 50px;
  background-color: var(--primary-navy);
  color: var(--gold-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.modal-icon-badge.gold-bg {
  background-color: var(--gold-primary);
  color: var(--primary-navy);
}

.modal-title {
  font-size: 1.5rem;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: var(--gold-hover);
  font-weight: 600;
}

.modal-body {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

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

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

.form-group label {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--primary-navy);
}

.form-control {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  width: 100%;
}

.form-control:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.checkout-summary-box {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.summary-row:last-child {
  margin-bottom: 0;
}

.payment-method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
}

.payment-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.payment-card.active {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.08);
}

.lead-success-view {
  text-align: center;
  padding: 1rem 0;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (TABLET & MOBILE OPTIMIZATION)
   ========================================================================== */

/* Laptop & Tablet Large (max 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .cta-box {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem;
  }
  
  .ebooks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .about-office-img {
    height: 380px;
  }
}

/* Tablet & Mobile Medium (max 768px) */
@media (max-width: 768px) {
  .section {
    padding: 3.75rem 0;
  }

  /* Header & Navigation */
  .navbar-container {
    height: 70px;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: rgba(11, 25, 44, 0.98);
    backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
    transition: left var(--transition-normal);
    z-index: 1001;
    text-align: center;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .btn-nav-cta {
    display: none;
  }

  /* Hero Section Mobile */
  .hero {
    padding: 7rem 0 3.5rem;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

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

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

  .hero-trust-bar {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
  }

  .trust-divider {
    display: none;
  }

  .hero-lawyer-img {
    height: 380px;
  }

  .lawyer-badge-card {
    position: relative;
    bottom: auto;
    left: 0;
    right: 0;
    margin-top: 1rem;
  }

  /* About Section Mobile */
  .about-office-img {
    height: 280px;
  }

  .about-experience-badge {
    position: relative;
    right: 0;
    bottom: 0;
    margin-top: 1rem;
    width: 100%;
  }

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

  .stats-counter-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 1.25rem 0.75rem;
    gap: 0.5rem;
    text-align: center;
  }

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

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

  /* Grids Mobile */
  .practice-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .cta-box {
    padding: 2.25rem 1.5rem;
    border-radius: var(--radius-md);
  }

  .cta-title {
    font-size: 1.65rem;
  }

  .cta-info-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

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

  /* Floating WhatsApp Popover Mobile */
  .whatsapp-popover {
    width: calc(100vw - 70px);
    max-width: 250px;
  }
}

/* Small Mobile (max 480px) */
@media (max-width: 480px) {
  .brand-subname {
    font-size: 1.05rem;
  }

  .brand-name {
    font-size: 0.55rem;
    letter-spacing: 1.5px;
  }

  .scales-icon {
    width: 26px;
    height: 26px;
  }

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

  .practice-card {
    padding: 1.5rem;
  }

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

  .category-filters {
    gap: 0.4rem;
  }

  .filter-btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.775rem;
  }

  .ebook-3d-cover {
    width: 120px;
    height: 170px;
  }

  .stats-counter-bar {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .payment-method-grid {
    grid-template-columns: 1fr;
  }

  .modal-card {
    padding: 1.5rem 1.15rem;
  }
}

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