/* ==========================================================================
   EP ASESORÍAS JURÍDICAS - SISTEMA DE DISEÑO DE ALTA GAMA
   Inspirado en la elegancia de González Páez Abogados y la credibilidad de Legión Legal.
   Paleta: Azul Rey (#06152b, #0c2340, #143666), Verde Oliva (#66704b), Dorado Imperial (#c59b27, #e6ca65), Blanco (#ffffff)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Paleta de Colores de Prestigio */
  --navy-950: #06152b;
  --navy-900: #0a1f3d;
  --navy-800: #0c2340;
  --navy-700: #143666;
  --navy-600: #1e4a8a;
  
  --gold-600: #a37d18;
  --gold-500: #c59b27;
  --gold-400: #dfb943;
  --gold-300: #e6ca65;
  --gold-100: #faf4db;
  
  --gold-gradient: linear-gradient(135deg, #c59b27 0%, #e6ca65 50%, #c59b27 100%);
  --navy-gradient: linear-gradient(145deg, #06152b 0%, #0c2340 100%);
  
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  
  --emerald-600: #059669;
  --emerald-100: #d1fae5;
  --olive-700: #4f5a3b;
  --olive-600: #66704b;
  --olive-100: #eef0e6;
  
  /* Tipografía */
  --font-heading: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-serif-accent: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  
  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(6, 21, 43, 0.05);
  --shadow-md: 0 8px 24px rgba(6, 21, 43, 0.08);
  --shadow-lg: 0 16px 36px rgba(6, 21, 43, 0.12);
  --shadow-gold: 0 6px 20px rgba(197, 155, 39, 0.3);
  --shadow-card-hover: 0 20px 40px rgba(6, 21, 43, 0.14);
  
  /* Radios & Transiciones */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--slate-800);
  background-color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

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

/* ==========================================================================
   TOP CONTACT BAR (Prestige Navy)
   ========================================================================== */
.top-bar {
  background-color: var(--navy-950);
  color: #cbd5e1;
  font-size: 0.82rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(197, 155, 39, 0.2);
  position: relative;
  z-index: 1002;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #e2e8f0;
  font-weight: 500;
  transition: color var(--transition);
}

.top-bar-item:hover {
  color: var(--gold-300);
}

.top-bar-item svg {
  width: 15px;
  height: 15px;
  fill: var(--gold-400);
  flex-shrink: 0;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(197, 155, 39, 0.2);
  transition: var(--transition);
}

.social-icon svg {
  width: 13px;
  height: 13px;
  fill: #e2e8f0;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  transform: translateY(-2px);
}

.social-icon:hover svg {
  fill: var(--navy-950);
}

/* ==========================================================================
   HEADER & NAVEGACIÓN (100% SÓLIDO, OPACO, SIN TRANSPARENCIA NI OVERLAPS)
   ========================================================================== */
.main-header {
  background-color: #ffffff !important;
  background: #ffffff !important;
  opacity: 1 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 4px 20px rgba(6, 21, 43, 0.08);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow 0.3s ease;
}

.main-header.scrolled {
  background-color: #ffffff !important;
  background: #ffffff !important;
  opacity: 1 !important;
  box-shadow: 0 8px 28px rgba(6, 21, 43, 0.14);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
}

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

.brand-logo-img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: 0 3px 12px rgba(6, 21, 43, 0.14);
}

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

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--navy-900);
  letter-spacing: -0.45px;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-name span {
  color: var(--gold-600);
}

.brand-tagline {
  font-size: 0.7rem;
  color: var(--slate-500);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 600;
}

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

.nav-link {
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--slate-700);
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--transition);
}

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

.nav-link:hover, .nav-link.active {
  color: var(--navy-900);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  width: 38px;
  height: 38px;
  cursor: pointer;
  padding: 4px;
  color: var(--navy-900);
}

.mobile-toggle svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* ==========================================================================
   BOTONES ELEGANTES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--navy-950);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(197, 155, 39, 0.4);
  color: var(--navy-950);
}

.btn-navy {
  background: var(--navy-800);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(12, 35, 64, 0.25);
}

.btn-navy:hover {
  background: var(--navy-700);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  color: #ffffff;
  border: 2px solid var(--gold-400);
}

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

/* ==========================================================================
   HERO SLIDER / CAROUSEL (Estilo González Páez Abogados)
   ========================================================================== */
.hero-slider-container {
  position: relative;
  width: 100%;
  min-height: 580px;
  overflow: hidden;
  background-color: var(--navy-950);
}

.hero-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 580px;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 5rem 0 6.5rem;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: scale(1.03);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  position: relative;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(6, 21, 43, 0.92) 0%, rgba(12, 35, 64, 0.88) 100%);
  z-index: 1;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: 940px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(197, 155, 39, 0.15);
  border: 1px solid var(--gold-500);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  color: var(--gold-300);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.22;
  color: #ffffff;
  max-width: 920px;
  margin: 0 auto 1.2rem;
  letter-spacing: -0.5px;
}

.gold-text {
  color: var(--gold-300);
}

.gold-divider-bar {
  width: 60px;
  height: 3px;
  background: var(--gold-gradient);
  margin: 1.2rem auto 1.4rem;
  border-radius: 2px;
}

.gold-divider-bar.left {
  margin-left: 0;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #e2e8f0;
  max-width: 760px;
  margin: 0 auto 2.2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
}

.trust-item svg {
  width: 18px;
  height: 18px;
  fill: var(--gold-400);
}

/* Flechas y Controles del Slider */
.slider-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(6, 21, 43, 0.6);
  border: 1px solid rgba(197, 155, 39, 0.4);
  color: var(--gold-300);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.slider-arrow-btn:hover {
  background: var(--gold-500);
  color: var(--navy-950);
  border-color: var(--gold-500);
  transform: translateY(-50%) scale(1.08);
}

.slider-arrow-btn.prev {
  left: 25px;
}

.slider-arrow-btn.next {
  right: 25px;
}

.slider-dots-container {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(197, 155, 39, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--gold-400);
  width: 28px;
  border-radius: 6px;
}

/* ==========================================================================
   3 HERO HIGHLIGHT CARDS (Diseño Flotante Limpio y Moderno)
   ========================================================================== */
.hero-cards-section {
  position: relative;
  z-index: 20;
  margin-top: -3.5rem;
  padding-bottom: 3.5rem;
}

.hero-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.hero-feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
  border-top: 4px solid var(--gold-500);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.hero-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-top-color: var(--gold-600);
}

.card-icon-bubble {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--gold-100);
  border: 1px solid rgba(197, 155, 39, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.3rem;
}

.card-icon-bubble svg {
  width: 26px;
  height: 26px;
  fill: var(--navy-800);
}

.card-title-modern {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.card-desc-modern {
  font-size: 0.93rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.3rem;
  flex-grow: 1;
}

.card-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--gold-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-action-link:hover {
  color: var(--navy-900);
  gap: 0.6rem;
}

/* ==========================================================================
   SECCIÓN ¿QUIÉNES SOMOS? (Estructura de 2 Columnas González Páez)
   ========================================================================== */
.about-section {
  padding: 5rem 0;
  background-color: var(--white);
}

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

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--gold-600);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.4rem;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.25;
  letter-spacing: -0.3px;
  margin-bottom: 0.8rem;
}

.about-paragraph {
  font-size: 0.98rem;
  color: var(--slate-700);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.about-paragraph strong {
  color: var(--navy-900);
}

.about-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 1.6rem 0 2rem;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-900);
}

.check-item svg {
  width: 18px;
  height: 18px;
  fill: var(--gold-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin: 1.7rem 0;
}

.about-pillar-card {
  padding: 1rem;
  border-left: 3px solid var(--olive-600);
  background: var(--olive-100);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.about-pillar-card span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--olive-700);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.about-pillar-card p {
  color: var(--slate-700);
  font-size: 0.8rem;
  line-height: 1.55;
}

.about-image-card {
  position: relative;
}

.about-portrait-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--white);
  outline: 1px solid rgba(197, 155, 39, 0.3);
}

.about-portrait-wrapper img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  transition: var(--transition);
}

.about-portrait-wrapper:hover img {
  transform: scale(1.02);
}

.floating-experience-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--navy-950);
  color: #ffffff;
  padding: 1.3rem 1.6rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--gold-400);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 300px;
}

.exp-number {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--gold-300);
  line-height: 1;
}

.exp-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.35;
}

/* ==========================================================================
   SECCIÓN SERVICIOS (Grid 4 Columnas con Filtros e Imágenes Reales)
   ========================================================================== */
.services-section {
  padding: 5rem 0;
  background-color: var(--slate-50);
}

.section-header-center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.5rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--slate-600);
  margin-top: 0.5rem;
}

/* Pestañas de Filtro */
.services-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-tab-btn {
  background: var(--white);
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab-btn:hover {
  background: var(--slate-100);
  color: var(--navy-900);
  border-color: var(--slate-300);
}

.filter-tab-btn.active {
  background: var(--navy-800) !important;
  color: #ffffff !important;
  border-color: var(--navy-800) !important;
  box-shadow: 0 4px 12px rgba(12, 35, 64, 0.25);
}

.services-grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.practice-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

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

.practice-card-thumb {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-bottom: 1px solid var(--slate-100);
  transition: var(--transition);
}

.practice-card:hover .practice-card-thumb {
  transform: scale(1.04);
}

.practice-card-body {
  padding: 1.5rem 1.3rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.practice-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--gold-100);
  border: 1px solid rgba(197, 155, 39, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.practice-icon-box svg {
  width: 22px;
  height: 22px;
  fill: var(--navy-800);
}

.practice-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.practice-desc {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 1.1rem;
  flex-grow: 1;
}

.practice-tags-list {
  margin-bottom: 1.1rem;
}

.practice-tag-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--slate-700);
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.practice-tag-item svg {
  width: 12px;
  height: 12px;
  fill: var(--gold-500);
  flex-shrink: 0;
}

.practice-card-footer {
  padding-top: 0.9rem;
  border-top: 1px solid var(--slate-100);
}

.practice-detail-btn {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-800);
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  transition: color var(--transition);
}

.practice-detail-btn:hover {
  color: var(--gold-600);
}

/* ==========================================================================
   BANNER PORTAFOLIO PDF (González Páez Style)
   ========================================================================== */
.pdf-banner-section {
  background: var(--navy-gradient);
  color: #ffffff;
  padding: 3.8rem 0;
  border-top: 2px solid var(--gold-500);
  border-bottom: 2px solid var(--gold-500);
}

.pdf-banner-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.pdf-banner-text {
  max-width: 680px;
}

.pdf-banner-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.6rem;
  letter-spacing: -0.2px;
}

.pdf-banner-desc {
  font-size: 0.98rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.pdf-banner-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   SECCIÓN CONTACTO & FORMULARIO RÁPIDO
   ========================================================================== */
.contact-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.contact-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3.5rem;
  align-items: stretch;
}

.contact-info-panel {
  background: var(--navy-gradient);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.8rem 2.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(197, 155, 39, 0.3);
}

.contact-info-heading {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.8rem;
  letter-spacing: -0.2px;
}

.contact-info-sub {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-rows-list {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  margin-bottom: 2.2rem;
}

.contact-row-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.contact-row-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(197, 155, 39, 0.15);
  border: 1px solid var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-row-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--gold-400);
}

.contact-row-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--gold-300);
  letter-spacing: 0.5px;
  font-weight: 700;
}

.contact-row-val {
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 600;
}

.contact-form-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.8rem 2.4rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.4rem;
  letter-spacing: -0.2px;
}

.form-subtitle {
  font-size: 0.92rem;
  color: var(--slate-500);
  margin-bottom: 1.6rem;
}

.form-group-item {
  margin-bottom: 1.1rem;
}

.field-label {
  display: block;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
}

.input-field, .select-field, .textarea-field {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background: var(--slate-50);
  color: var(--slate-800);
  font-size: 0.92rem;
  transition: var(--transition);
}

.input-field:focus, .select-field:focus, .textarea-field:focus {
  outline: none;
  border-color: var(--gold-500);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.15);
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Chips de Selección de Área */
.interest-chips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.chip-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--slate-100);
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate-700);
  cursor: pointer;
  border: 1px solid var(--slate-200);
  transition: var(--transition);
}

.chip-label:hover {
  background: #e2e8f0;
  color: var(--navy-900);
}

.chip-label input {
  accent-color: var(--gold-500);
}

/* ==========================================================================
   SECCIÓN TESTIMONIOS (Estilo Legión Legal - 100% Equilibrado)
   ========================================================================== */
.testimonials-section {
  padding: 5rem 0;
  background-color: var(--slate-50);
}

.social-trust-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.8rem 2.2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.8rem;
}

.rating-block {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding-right: 1.2rem;
  border-right: 1px solid var(--slate-200);
}

.score-big {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1;
}

.stars-gold {
  color: #f59e0b;
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.score-caption {
  font-size: 0.85rem;
  color: var(--slate-500);
  font-weight: 600;
}

.trust-metric-pill {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--slate-50);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
}

.metric-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--gold-600);
}

.metric-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.35;
}

.reviews-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.review-card-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

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

.review-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--emerald-100);
  color: var(--emerald-600);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.review-quote-text {
  font-size: 0.92rem;
  color: var(--slate-700);
  line-height: 1.65;
  margin-bottom: 1.4rem;
  flex-grow: 1;
  font-style: italic;
}

.review-author-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border-top: 1px solid var(--slate-100);
  padding-top: 1rem;
}

.author-avatar-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy-gradient);
  color: var(--gold-300);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  border: 1px solid var(--gold-400);
}

.author-name-text {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy-900);
}

.author-city-text {
  font-size: 0.78rem;
  color: var(--slate-500);
}

/* WhatsApp-style testimonial cards */
.whatsapp-testimonials-grid {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.6rem;
}

.whatsapp-testimonial-card {
  display: flex;
  flex: 0 0 calc((100% - 1.5rem) / 2);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d9e4d5;
  border-radius: 18px;
  background: #f7fbf4;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.whatsapp-testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--olive-600);
}

.whatsapp-card-topbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--olive-700), var(--olive-600));
}

.whatsapp-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold-300);
  color: var(--navy-950);
  font-weight: 800;
  font-size: 0.82rem;
}

.whatsapp-card-topbar strong,
.whatsapp-card-topbar span {
  display: block;
}

.whatsapp-card-topbar strong { font-size: 0.9rem; }
.whatsapp-card-topbar span:not(.whatsapp-online) { opacity: 0.82; font-size: 0.73rem; }

.whatsapp-online {
  width: 9px;
  height: 9px;
  margin-left: auto;
  border-radius: 50%;
  background: #b8d96a;
  box-shadow: 0 0 0 3px rgba(184, 217, 106, 0.2);
}

.whatsapp-chat-surface {
  min-height: 245px;
  padding: 1.25rem 1.1rem;
  background:
    radial-gradient(circle at 20% 15%, rgba(102, 112, 75, 0.09) 0 1px, transparent 1px 100%),
    #f1f6ed;
  background-size: 18px 18px;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
}

.whatsapp-bubble {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 1rem 1rem .8rem;
  border-radius: 10px;
  color: #233022;
  font-size: 0.9rem;
  line-height: 1.6;
  box-shadow: 0 2px 5px rgba(26, 49, 30, 0.08);
}

.whatsapp-bubble::after {
  content: '';
  position: absolute;
  top: 0;
  width: 0;
  height: 0;
  border-style: solid;
}

.whatsapp-bubble-in { align-self: flex-start; background: #fff; }
.whatsapp-bubble-in::after { left: -7px; border-width: 0 8px 8px 0; border-color: transparent #fff transparent transparent; }
.whatsapp-bubble-out { align-self: flex-end; background: #e3f0cf; }
.whatsapp-bubble-out::after { right: -7px; border-width: 8px 0 0 8px; border-color: transparent transparent transparent #e3f0cf; }
.whatsapp-bubble small { position: absolute; right: 0.6rem; bottom: 0.3rem; color: #7a8775; font-size: 0.66rem; }
.whatsapp-checks { color: #43819a; font-weight: 800; }
.ep-testimonial-excerpt { margin: 0; color: #243325; font-size: .95rem; line-height: 1.65; }
.ep-testimonial-long .ep-testimonial-excerpt { font-weight: 650; }
.ep-testimonial-details { margin-top: .9rem; padding-top: .85rem; border-top: 1px solid #dce6d7; }
.ep-testimonial-details summary { width: fit-content; color: #4f5d2c; font-size: .78rem; font-weight: 800; cursor: pointer; list-style: none; }
.ep-testimonial-details summary::-webkit-details-marker { display: none; }
.ep-testimonial-details summary::after { content: " +"; color: #a77d19; }
.ep-testimonial-details[open] summary::after { content: " −"; }
.ep-testimonial-full { max-height: 340px; margin-top: .85rem; padding-right: .45rem; overflow-y: auto; color: #415042; font-size: .84rem; line-height: 1.65; scrollbar-color: #87925d #eef3ea; scrollbar-width: thin; }
.ep-testimonial-full p { margin: 0 0 .85rem; }
.ep-testimonial-full p:last-child { margin-bottom: 0; }
.ep-testimonial-time { display: flex; justify-content: flex-end; gap: .35rem; margin-top: .7rem; color: #7a8775; font-size: .66rem; }

.whatsapp-card-footer {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  color: var(--olive-700);
  background: var(--olive-100);
  font-size: 0.72rem;
  font-weight: 700;
}

.whatsapp-status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); }

.testimonials-cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  margin-top: 2.3rem;
  color: var(--navy-900);
  font-weight: 700;
}

.ep-testimonial-slider { position: relative; }
.ep-testimonial-viewport { overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-inline: contain; }
.ep-testimonial-viewport::-webkit-scrollbar { display: none; }
.ep-testimonial-viewport .whatsapp-testimonial-card { scroll-snap-align: start; scroll-snap-stop: always; }
.ep-testimonial-controls { display: none; align-items: center; justify-content: center; gap: .85rem; margin-top: 1.3rem; }
.ep-testimonial-slider.is-ready .ep-testimonial-controls { display: flex; }
.ep-testimonial-arrow { display: grid; width: 42px; height: 42px; padding: 0; place-items: center; border: 1px solid #cfd8c9; border-radius: 50%; color: #071f3b; background: #fff; font-size: 1.15rem; font-weight: 800; cursor: pointer; transition: .2s ease; }
.ep-testimonial-arrow:hover, .ep-testimonial-arrow:focus-visible { border-color: #a78328; color: #fff; background: #071f3b; transform: translateY(-2px); }
.ep-testimonial-dots { display: flex; align-items: center; justify-content: center; gap: .45rem; min-width: 54px; }
.ep-testimonial-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #c7cfbd; cursor: pointer; transition: .2s ease; }
.ep-testimonial-dot.is-active { width: 24px; border-radius: 999px; background: #a78328; }
.ep-testimonial-dot:focus-visible { outline: 2px solid #071f3b; outline-offset: 3px; }

/* ==========================================================================
   COMPROMISO SOCIAL / PRO-BONO
   ========================================================================== */
.social-impact-block {
  padding: 4.5rem 0;
  background: var(--white);
}

.impact-inner-box {
  background: linear-gradient(135deg, rgba(6, 21, 43, 0.04) 0%, rgba(197, 155, 39, 0.08) 100%);
  border: 1px solid rgba(197, 155, 39, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.impact-headline {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.8rem;
}

.impact-body {
  font-size: 0.95rem;
  color: var(--slate-700);
  line-height: 1.65;
}

/* ==========================================================================
   FOOTER (González Páez Style)
   ========================================================================== */
.main-footer {
  background-color: var(--navy-950);
  color: #e2e8f0;
  padding: 4.5rem 0 2rem;
  border-top: 3px solid var(--gold-500);
}

.footer-grid-4col {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-column-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-300);
  margin-bottom: 1.3rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-column-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold-500);
}

.footer-about-text {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 1.3rem;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav-item {
  font-size: 0.88rem;
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition);
}

.footer-nav-item:hover {
  color: var(--gold-300);
  transform: translateX(3px);
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.footer-contact-row svg {
  width: 17px;
  height: 17px;
  fill: var(--gold-400);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom-bar {
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 1rem;
}

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

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

/* ==========================================================================
   FLOATING ACTION BUTTONS (WhatsApp & Volver Arriba)
   ========================================================================== */
.floating-actions-dock {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.float-whatsapp-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--transition);
}

.float-whatsapp-cta:hover {
  transform: scale(1.04);
  background: #20ba59;
  color: #ffffff;
}

.float-whatsapp-cta svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

.btn-scroll-top {
  width: 40px;
  height: 40px;
  background: var(--navy-950);
  border: 1px solid var(--gold-500);
  color: var(--gold-400);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.btn-scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.btn-scroll-top:hover {
  background: var(--gold-500);
  color: var(--navy-950);
}

/* ==========================================================================
   MODAL DE SERVICIOS
   ========================================================================== */
.modal-overlay-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 21, 43, 0.75);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal-card-dialog {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 620px;
  width: 100%;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(197, 155, 39, 0.3);
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
  max-height: 90vh;
  overflow-y: auto;
}

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

.btn-close-modal {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--slate-400);
  line-height: 1;
}

.btn-close-modal:hover {
  color: var(--navy-900);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .services-grid-4col {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-grid, .contact-grid-2col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-grid-4col {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .hero-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .whatsapp-testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .slider-arrow-btn {
    display: none;
  }
}

@media (max-width: 900px) {
  .social-trust-card {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  
  .rating-block {
    border-right: none;
    border-bottom: 1px solid var(--slate-200);
    padding-bottom: 1rem;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .brand-logo {
    gap: 0.6rem;
  }

  .brand-logo-img {
    width: 58px;
    height: 58px;
  }

  .brand-name {
    font-size: 1rem;
  }
  
  .hero-slider-container {
    min-height: 520px;
  }
  
  .hero-slide {
    min-height: 520px;
    padding: 3.8rem 0 4.5rem;
  }
  
  .hero-title {
    font-size: 1.9rem;
  }
  
  .hero-cards-section {
    margin-top: -2.5rem;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 2rem;
    gap: 1.2rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--slate-200);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-cta .desktop-cta-btn {
    display: none;
  }
  
  .services-grid-4col, .reviews-grid-3col {
    grid-template-columns: 1fr;
  }

  .whatsapp-testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid-4col {
    grid-template-columns: 1fr;
  }
  
  .form-row-2col, .interest-chips-grid {
    grid-template-columns: 1fr;
  }

  .about-pillars-grid {
    grid-template-columns: 1fr;
  }
  
  .pdf-banner-wrapper, .impact-inner-box {
    grid-template-columns: 1fr;
  }
  
  .floating-experience-badge {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 1rem;
    max-width: 100%;
  }
}

/* ========================================================================== 
   PORTADA COMPACTA — recorrido directo hacia la asesoría
   ========================================================================== */
.ep-home-compact { overflow: hidden; }
.ep-home-compact .ep-kicker {
  display: inline-flex;
  color: var(--gold-300);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  margin-bottom: 1rem;
}
.ep-home-compact .ep-kicker-dark { color: #6f762f; }
.ep-hero {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: center;
  color: #fff;
  background-image: linear-gradient(90deg, rgba(4,19,42,.98) 0%, rgba(5,28,55,.93) 34%, rgba(5,28,55,.60) 55%, rgba(5,28,55,.10) 82%), var(--ep-hero-image);
  background-size: cover;
  background-position: center 44%;
}
.ep-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 68%, rgba(4,19,42,.26));
  pointer-events: none;
}
.ep-hero-inner { position: relative; z-index: 1; padding: 6.4rem 1.5rem 8.6rem; }
.ep-hero-copy { max-width: 660px; }
.ep-hero h1 {
  max-width: 650px;
  margin: 0 0 1.3rem;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5vw, 4.45rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}
.ep-hero-copy > p { max-width: 540px; margin: 0 0 2rem; color: rgba(255,255,255,.86); font-size: 1.08rem; line-height: 1.65; }
.ep-hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.ep-hero-actions .btn { min-width: 220px; justify-content: center; }
.ep-text-link { color: #fff; font-weight: 750; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: .2rem; }
.ep-text-link:hover { color: var(--gold-300); }
.ep-hero-proof { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; max-width: 650px; margin-top: 2.1rem; padding-top: 1.15rem; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.8); font-size: .82rem; }
.ep-hero-proof span::before { content: "✓"; color: var(--gold-300); font-weight: 900; margin-right: .42rem; }

.ep-route-wrap { position: relative; z-index: 3; margin-top: -78px; padding-bottom: 5rem; }
.ep-route-grid { display: grid; grid-template-columns: repeat(3, 1fr); box-shadow: 0 22px 54px rgba(3,19,39,.18); padding: 0; }
.ep-route-card { min-height: 156px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 1.6rem 1.75rem; color: #fff; background: #0d3154; border-right: 1px solid rgba(255,255,255,.13); transition: transform .25s ease, background .25s ease; }
.ep-route-card:nth-child(2) { background: #687032; }
.ep-route-card:nth-child(3) { background: #b28b28; }
.ep-route-card:hover { transform: translateY(-7px); color: #fff; background: #071f3b; }
.ep-route-number { align-self: start; color: rgba(255,255,255,.62); font-size: .75rem; font-weight: 800; }
.ep-route-card h2 { margin: 0 0 .42rem; color: #fff; font-size: 1.17rem; line-height: 1.25; }
.ep-route-card p { margin: 0; color: rgba(255,255,255,.78); font-size: .85rem; line-height: 1.5; }
.ep-route-arrow { font-size: 1.5rem; }

.ep-help-section { padding: 1.5rem 0 6rem; background: #fff; }
.ep-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.4rem; }
.ep-section-heading h2 { margin: 0; color: #071f3b; font-family: 'Playfair Display', serif; font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 1.08; }
.ep-section-heading > p { max-width: 330px; margin: 0 0 .2rem; color: #64748b; line-height: 1.6; }
.ep-help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.ep-help-card { min-height: 220px; display: flex; flex-direction: column; padding: 1.65rem; border: 1px solid #dfe6ec; border-top: 3px solid #687032; background: #fff; transition: transform .22s ease, box-shadow .22s ease; }
.ep-help-card:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(7,31,59,.10); }
.ep-help-icon { color: #b28b28; font-size: .77rem; font-weight: 900; letter-spacing: .08em; }
.ep-help-card h3 { margin: 1rem 0 .6rem; color: #071f3b; font-size: 1.12rem; line-height: 1.3; }
.ep-help-card p { margin: 0 0 1.2rem; color: #64748b; font-size: .9rem; line-height: 1.55; }
.ep-help-card button { margin-top: auto; padding: 0; border: 0; background: transparent; color: #687032; font: inherit; font-size: .86rem; font-weight: 800; text-align: left; cursor: pointer; }
.ep-help-footer { display: flex; justify-content: center; gap: .7rem; margin-top: 2rem; color: #64748b; }
.ep-help-footer a { color: #0d3154; font-weight: 800; }

.ep-editorial-band { padding: 0 0 6rem; background: #fff; }
.ep-editorial-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  min-height: 410px;
  overflow: hidden;
  color: #fff;
  background: #071f3b;
  box-shadow: 0 24px 54px rgba(7,31,59,.14);
}
.ep-editorial-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(178,139,40,.44);
  pointer-events: none;
}
.ep-editorial-media { min-width: 0; overflow: hidden; }
.ep-editorial-media img { width: 100%; height: 100%; min-height: 410px; display: block; object-fit: cover; transition: transform .7s ease; }
.ep-editorial-card:hover .ep-editorial-media img { transform: scale(1.025); }
.ep-editorial-copy { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 4.5vw, 4.5rem); }
.ep-editorial-copy h2 { margin: 0 0 1rem; color: #fff; font-family: 'Playfair Display', serif; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.1; }
.ep-editorial-copy p { margin: 0 0 1.5rem; color: rgba(255,255,255,.76); line-height: 1.65; }
.ep-editorial-link { align-self: flex-start; padding-bottom: .25rem; border-bottom: 1px solid rgba(255,255,255,.38); color: var(--gold-300); font-weight: 800; }
.ep-editorial-link:hover { color: #fff; }
.ep-editorial-card-reverse { grid-template-columns: .85fr 1.35fr; background: #59622b; }
.ep-editorial-card-reverse .ep-editorial-media { order: 2; }
.ep-editorial-card-reverse .ep-editorial-copy { order: 1; }
.ep-editorial-band-business { background: #fff; }

.ep-contact-section { padding: 6rem 0; color: #fff; background: linear-gradient(120deg, #06162d, #0d3154 62%, #4f5727); }
.ep-contact-shell { display: grid; grid-template-columns: .88fr 1.12fr; gap: 4.5rem; align-items: center; }
.ep-contact-copy h2 { max-width: 530px; margin: 0 0 1.2rem; color: #fff; font-family: 'Playfair Display', serif; font-size: clamp(2.1rem, 3.6vw, 3.25rem); line-height: 1.12; }
.ep-contact-copy p { max-width: 480px; color: rgba(255,255,255,.78); line-height: 1.7; }
.ep-contact-direct { display: inline-block; margin-top: 1.2rem; color: var(--gold-300); font-weight: 800; }
.ep-short-form-card { padding: 2rem; background: #fff; box-shadow: 0 22px 50px rgba(0,0,0,.22); }
.ep-short-form-card .form-group-item { margin-bottom: 1rem; }
.ep-full-button { width: 100%; justify-content: center; }
.ep-form-note { display: block; margin-top: .75rem; color: #64748b; text-align: center; }

.ep-about-brief { padding: 6rem 0; background: #f4f5f1; }
.ep-about-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 4.5rem; align-items: center; }
.ep-about-photo { position: relative; min-height: 560px; margin: 0; overflow: visible; }
.ep-about-photo::after { content: ""; position: absolute; z-index: 0; inset: 1rem -1rem -1rem 1rem; border: 2px solid #b28b28; pointer-events: none; }
.ep-about-photo img { position: relative; z-index: 1; width: 100%; height: 560px; object-fit: cover; object-position: center top; }
.ep-about-photo figcaption { position: absolute; z-index: 2; right: -1.4rem; bottom: 2rem; display: flex; min-width: 185px; padding: 1.05rem 1.2rem; color: #fff; background: #071f3b; box-shadow: 0 16px 30px rgba(7,31,59,.22); flex-direction: column; }
.ep-about-photo figcaption strong { color: #d6b55d; font-family: 'Playfair Display', serif; font-size: 1.55rem; line-height: 1; }
.ep-about-photo figcaption span { margin-top: .3rem; font-size: .78rem; font-weight: 700; letter-spacing: .03em; }
.ep-about-copy h2 { margin: 0 0 1.25rem; color: #071f3b; font-family: 'Playfair Display', serif; font-size: clamp(2.1rem, 3.5vw, 3.3rem); line-height: 1.1; }
.ep-about-copy > p { max-width: 670px; margin: 0 0 1rem; color: #475569; font-size: .98rem; line-height: 1.72; }
.ep-about-copy > .ep-about-lead { color: #21354b; font-size: 1.08rem; font-weight: 650; line-height: 1.65; }
.ep-about-highlight { max-width: 690px; margin-top: 1.3rem; padding: 1.2rem 1.3rem; border-left: 3px solid #a78328; color: #354332; background: rgba(255,255,255,.78); font-size: .92rem; line-height: 1.7; }
.ep-about-points { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.35rem; }
.ep-about-points span { padding: .58rem .8rem; border: 1px solid #d6ddc5; color: #3f4921; background: #fff; font-size: .78rem; font-weight: 800; }
.ep-purpose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 4rem; }
.ep-purpose-card { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; min-height: 250px; padding: 2rem; overflow: hidden; }
.ep-purpose-card::after { content: ""; position: absolute; right: -75px; bottom: -75px; width: 180px; height: 180px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.ep-purpose-mission { color: #fff; background: #071f3b; }
.ep-purpose-vision { color: #fff; background: #59622b; }
.ep-purpose-number { color: #d6b55d; font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; }
.ep-purpose-label { display: block; margin-bottom: .6rem; color: #d6b55d; font-size: .72rem; font-weight: 800; letter-spacing: .13em; }
.ep-purpose-card h3 { margin: 0 0 .85rem; color: #fff; font-family: 'Playfair Display', serif; font-size: 1.55rem; }
.ep-purpose-card p { position: relative; z-index: 1; max-width: 580px; margin: 0; color: rgba(255,255,255,.8); font-size: .91rem; line-height: 1.72; }

.ep-testimonials-compact { padding: 6rem 0; background: #fff; }
.ep-testimonials-heading > p { max-width: 500px; }
.ep-testimonials-compact .whatsapp-chat-surface { display: flex; align-items: stretch; }
.ep-testimonials-compact .whatsapp-bubble { margin: 0; }

@media (max-width: 900px) {
  .ep-hero { background-image: linear-gradient(90deg, rgba(4,19,42,.97) 0%, rgba(5,28,55,.88) 58%, rgba(5,28,55,.52) 100%), var(--ep-hero-image); background-position: 66% center; }
  .ep-route-grid, .ep-help-grid { grid-template-columns: 1fr 1fr; }
  .ep-route-card:last-child { grid-column: 1 / -1; }
  .ep-contact-shell, .ep-about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .ep-about-photo { max-width: 620px; }
  .ep-purpose-grid { grid-template-columns: 1fr; margin-top: 3rem; }
  .ep-editorial-card, .ep-editorial-card-reverse { grid-template-columns: 1fr; }
  .ep-editorial-card-reverse .ep-editorial-media, .ep-editorial-card-reverse .ep-editorial-copy { order: initial; }
  .ep-editorial-media img { height: 330px; min-height: 330px; }
  .whatsapp-testimonial-card { flex-basis: 100%; }
}
@media (max-width: 640px) {
  .ep-hero { min-height: 620px; background-position: 68% center; }
  .ep-hero-inner { padding: 4.3rem 1.1rem 6.7rem; }
  .ep-hero h1 { font-size: 2.5rem; }
  .ep-hero-copy > p { font-size: 1rem; }
  .ep-hero-actions { align-items: flex-start; flex-direction: column; }
  .ep-hero-actions .btn { width: 100%; min-width: 0; }
  .ep-hero-proof { gap: .7rem 1rem; margin-top: 1.6rem; }
  .ep-route-wrap { margin-top: -52px; padding-bottom: 4rem; }
  .ep-route-grid, .ep-help-grid { grid-template-columns: 1fr; margin-left: 1rem; margin-right: 1rem; }
  .ep-route-card:last-child { grid-column: auto; }
  .ep-route-card { min-height: 126px; padding: 1.25rem; }
  .ep-section-heading { align-items: flex-start; flex-direction: column; gap: .8rem; }
  .ep-help-section, .ep-contact-section, .ep-about-brief, .ep-testimonials-compact { padding: 4.4rem 0; }
  .ep-editorial-band { padding: 0 0 4.4rem; }
  .ep-editorial-card { min-height: 0; margin: 0 1rem; }
  .ep-editorial-media img { height: 255px; min-height: 255px; }
  .ep-editorial-copy { padding: 2rem 1.5rem; }
  .ep-editorial-copy h2 { font-size: 2rem; }
  .ep-help-footer { align-items: center; flex-direction: column; }
  .ep-contact-shell { gap: 2rem; }
  .ep-short-form-card { padding: 1.35rem; }
  .ep-about-photo, .ep-about-photo img { min-height: 390px; height: 390px; }
  .ep-about-photo { margin-right: 1rem; }
  .ep-about-photo figcaption { right: -1rem; bottom: 1rem; }
  .ep-purpose-card { grid-template-columns: 1fr; gap: .65rem; min-height: 0; padding: 1.5rem; }
}
