/* ==========================================================================
   Lex Do It - Pure Static Website Stylesheet
   Pixel-Perfect Match with Original Production Web
   ========================================================================== */

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

:root {
  --primary: #FFD800;
  --primary-accent: #ffde00;
  --primary-dark: #e6c200;
  --bg-black: #111111;
  --bg-charcoal: #303234;
  --bg-light-gray: #EEEEEE;
  --bg-white: #ffffff;
  --text-white: #ffffff;
  --text-light-gray: #F0F5FA;
  --text-dark: #111827;
  --text-muted: #64748b;
  --border-light: #e5e7eb;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.14);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.25);
  --transition: all 0.2s ease-in-out;
  --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

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

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

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

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

/* ==========================================================================
   Header & Navigation (Exact 109px Logo with 18px Top Breathing Room)
   ========================================================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  padding: 18px 0 10px;
  transition: var(--transition);
}

.site-header.scrolled {
  position: fixed;
  background: rgba(17, 17, 17, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  padding: 10px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 130px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo Dimensions: Exact Astra 109px width with breathing room ("aire") */
.site-brand {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.site-logo {
  width: 109px;
  max-width: 109px;
  height: auto;
  display: block;
  transition: var(--transition);
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.35));
}

.site-header.scrolled .site-logo {
  width: 75px;
  max-width: 75px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 26px;
  margin: 0;
  padding: 0;
}

.nav-item {
  display: flex;
  align-items: center;
}

/* Menu Typography: 16px, Font Weight 800 Extra Bold, All White, Uppercase */
.nav-link {
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 4px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease, opacity 0.2s ease;
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

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

/* Language Switcher (Pill shape) */
.lang-switcher {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 12px;
}

.lang-btn {
  background: rgba(0, 0, 0, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-family: var(--font-family);
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.lang-btn:hover {
  border-color: var(--primary);
  background: rgba(0, 0, 0, 0.75);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #181a1d;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  padding: 4px 0;
  min-width: 135px;
  display: none;
  list-style: none;
  z-index: 100;
}

.lang-dropdown.show {
  display: block;
  animation: fadeInDown 0.2s ease-out;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  color: #e2e8f0;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.lang-option:hover {
  background: rgba(255, 216, 0, 0.18);
  color: var(--primary);
}

.lang-flag {
  font-size: 0.95rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid #ffe900;
  border-radius: 4px;
  cursor: pointer;
  padding: 6px 10px;
  color: #ffe200;
  font-size: 1.2rem;
}

/* ==========================================================================
   Hero Section (Bloque 1 - +5% Escala Adicional)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 735px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--bg-black);
  color: #ffffff;
  padding: 152px 20px 80px;
  overflow: hidden;
}

.hero-slider-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: bottom left;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.5s ease-in-out, transform 8s ease-out;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
}

.hero-title-main {
  font-size: 23px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
  line-height: 1.35;
  margin: 0;
}

.hero-subtitle-question {
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin: 0;
}

.hero-lead-text {
  font-size: 19.5px;
  font-weight: 300;
  color: #ffffff;
  line-height: 1.6;
  max-width: 890px;
  margin: 2px 0 0;
}

.hero-italic-note {
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  color: #ffffff;
  margin: 0 0 6px;
}

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: #000000;
  font-family: var(--font-family);
  font-size: 15.5px;
  font-weight: 700;
  padding: 13px 30px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border: none;
  box-shadow: 0 4px 12px rgba(255, 216, 0, 0.25);
  transition: var(--transition);
  cursor: pointer;
  margin-top: 10px;
}

.btn-primary-cta:hover {
  background-color: #ffffff;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   Hero News Announcement Card (Texto Izquierda + Foto Derecha)
   ========================================================================== */
.hero-news-banner {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 820px;
  z-index: 5;
}

.hero-news-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 22px;
  gap: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: left;
}

.hero-news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

.hero-news-content {
  flex: 1 1 auto;
  min-width: 0;
}

.hero-news-text {
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.55;
  color: #111827;
  letter-spacing: 0.2px;
  margin: 0;
}

.hero-news-title-link {
  color: #111827;
  font-weight: 300;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hero-news-title-link:hover {
  color: #9d8053;
}

.hero-news-more-link {
  color: #0284c7;
  font-weight: 400;
  text-decoration: underline;
  margin-left: 6px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.hero-news-more-link:hover {
  color: #0369a1;
}

.hero-news-img-side {
  flex: 0 0 112px;
  max-width: 112px;
  width: 112px;
  height: 77px;
  border-radius: 5px;
  overflow: hidden;
  background-color: #f1f5f9;
  display: block;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.hero-news-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 0.35s ease;
}

.hero-news-card:hover .hero-news-banner-img {
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .hero-news-banner {
    margin-top: 24px;
    padding: 0 10px;
  }
  .hero-news-card {
    flex-direction: column-reverse;
    padding: 14px 16px;
    gap: 12px;
  }
  .hero-news-img-side {
    flex: 0 0 auto;
    max-width: 100px;
    width: 100px;
    height: 68px;
    margin: 0 auto;
  }
  .hero-news-text {
    font-size: 15px;
    text-align: center;
  }
}

/* ==========================================================================
   Bloque 2: Nosotros (Fondo Negro #111111 Exacto)
   ========================================================================== */
.section-nosotros-intro {
  background: var(--bg-black);
  color: var(--text-white);
  padding: 90px 0 80px;
  position: relative;
}

.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.section-label {
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: 0.8px;
}

.section-separator {
  width: 150px;
  margin-bottom: 24px;
}

.lead-paragraph {
  font-size: 1.02rem;
  color: var(--text-light-gray);
  line-height: 1.8;
  text-align: justify;
}

.img-rounded-shadow {
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Bloque 3: Equipo (Fondo Charcoal #303234 con Arrow Top Divider)
   ========================================================================== */
.section-equipo {
  background-color: var(--bg-charcoal);
  color: #ffffff;
  padding: 80px 0 95px;
  position: relative;
}

.section-equipo .container {
  max-width: 1400px;
  padding: 0 16px;
}

.shape-divider-arrow-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.shape-divider-arrow-top svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 38px;
}

.shape-divider-arrow-top .shape-fill {
  fill: var(--bg-black);
}

.section-header-dark {
  margin-bottom: 24px;
}

.section-header-dark .section-label {
  font-size: 20px;
  font-weight: 500;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-lead-team {
  font-size: 13.5px;
  color: #d1d5db;
  max-width: 100%;
  line-height: 1.65;
  text-align: justify;
  margin-bottom: 16px;
}

.section-tagline-team {
  font-size: 19px;
  font-weight: 300;
  color: #ffffff;
  margin-top: 8px;
}

.section-tagline-team strong {
  font-weight: 300;
  color: #ffffff;
}

/* 5-Column Grid for Team - Full Width Spanning */
.team-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: start;
  margin-top: 24px;
}

.member-card {
  background: #ffffff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

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

.member-photo-wrapper {
  position: relative;
  width: 100%;
  padding-top: 106%;
  overflow: hidden;
  background: #e2e8f0;
}

.member-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.member-card:hover .member-photo {
  transform: scale(1.03);
}

.member-content {
  padding: 12px 6px 10px;
  text-align: center;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70px;
}

.member-name {
  font-size: 0.94rem;
  font-weight: 500;
  color: #111111;
  margin-bottom: 6px;
  line-height: 1.2;
}

.member-role-badge {
  display: inline-block;
  background-color: var(--primary);
  color: #111111;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 2px;
  margin-bottom: 0;
}

/* Accordion Button matching Elementor Dark Bar */
.member-accordion {
  width: 100%;
}

.accordion-trigger {
  width: 100%;
  background: #343532;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-family: var(--font-family);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 8px 4px;
  border-radius: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: var(--transition);
}

.accordion-plus {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.accordion-trigger:hover,
.accordion-trigger.active {
  background: var(--primary);
  color: #111111;
}

.accordion-trigger:hover .accordion-plus,
.accordion-trigger.active .accordion-plus {
  color: #111111;
}

.accordion-trigger.active .accordion-plus {
  transform: rotate(45deg);
}

.accordion-drawer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
  background: #EEEEEE;
  text-align: left;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #303234;
}

.accordion-drawer.open {
  max-height: 500px;
  overflow-y: auto;
  border-bottom: 1px solid #e2e8f0;
}

.accordion-inner-text {
  padding: 12px 10px;
}

.accordion-inner-text strong {
  color: #0f172a;
  display: block;
  margin-bottom: 4px;
}

.accordion-bullet {
  color: #ffd700;
  font-weight: bold;
  margin-right: 4px;
}

/* ==========================================================================
   Títulos de Sección Globales y Bloque 4: Servicios
   ========================================================================== */
.section-title-center {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 45px;
  position: relative;
}

.section-title-center::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 12px auto 0;
}

.section-servicios {
  background-color: #eeeeee;
  padding: 90px 0 90px;
}

.section-servicios .container {
  max-width: 1320px;
}

.services-header-wrap {
  text-align: center;
  max-width: 980px;
  margin: 0 auto 50px;
}

.services-section-title {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.services-separator {
  width: 150px;
  height: auto;
  display: block;
  margin: 0 auto 20px;
}

.services-intro-text {
  font-size: 15px;
  line-height: 1.7;
  color: #303234;
  text-align: justify;
  margin: 0 auto;
}

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

@media (min-width: 1025px) {
  .services-grid > .service-card:nth-child(10):last-child {
    grid-column: 2;
  }
}

.service-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 235px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #ffd800;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.service-card-top {
  display: flex;
  flex-direction: column;
}

.service-num {
  font-size: 29px;
  font-weight: 600;
  color: #ffd800;
  line-height: 1;
  margin-bottom: 14px;
}

.service-title {
  font-size: 19px;
  font-weight: 500;
  color: #303234;
  line-height: 1.35;
  margin-bottom: 20px;
  min-height: 52px;
  display: flex;
  align-items: flex-start;
}

.btn-service-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #ffd800;
  color: #111111;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  padding: 7px 16px;
  border-radius: 3px;
  width: fit-content;
  margin-top: auto;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-service-more:hover {
  background-color: #e6c200;
  transform: translateX(3px);
  color: #111111;
}

.btn-service-more i {
  font-size: 12px;
}

/* ==========================================================================
   Bloque 5: Testimonios (Fondo Charcoal #303234 con Arrow Top Divider)
   ========================================================================== */
.section-testimonios {
  background: var(--bg-charcoal);
  color: #ffffff;
  padding: 100px 0 95px;
  position: relative;
}

.section-testimonios .shape-divider-arrow-top .shape-fill {
  fill: var(--bg-light-gray);
}

.section-testimonios .section-title-center {
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 45px;
}

.section-testimonios .section-title-center::after {
  display: none;
}

.testimonials-carousel-container {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  padding: 0 50px;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 10px 15px;
  box-sizing: border-box;
}

/* 2-Column Testimonial Card Grid: Left (Avatar + Name + Job) | Right (Quote) */
.testimonial-card-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: center;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 35px 35px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonial-avatar-wrap {
  width: 115px;
  height: 115px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  margin-bottom: 14px;
  background: #111111;
}

.testimonial-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  line-height: 1.3;
}

.testimonial-company {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
  line-height: 1.35;
}

.testimonial-content-side {
  position: relative;
  display: flex;
  flex-direction: column;
}

.testimonial-quote-mark {
  font-size: 65px;
  font-family: Georgia, serif;
  color: var(--primary);
  line-height: 0.8;
  display: block;
  margin-bottom: 4px;
  opacity: 0.9;
}

.testimonial-quote {
  font-size: 0.96rem;
  font-weight: 300;
  line-height: 1.75;
  color: #f1f5f9;
  text-align: justify;
}

/* Navigation Arrows */
.testimonial-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 216, 0, 0.4);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  font-size: 1.1rem;
}

.testimonial-nav-arrow:hover {
  background: var(--primary);
  color: #111111;
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

.testimonial-nav-arrow.prev {
  left: 2px;
}

.testimonial-nav-arrow.next {
  right: 2px;
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 6px;
}

/* ==========================================================================
   Bloque 6: Noticias (Elementor Section 9 Parity: Fondo Oscuro escritorio.jpg)
   ========================================================================== */
.section-noticias {
  background-color: #111111;
  background-image: linear-gradient(180deg, rgba(17, 17, 17, 0.92) 0%, rgba(17, 17, 17, 0.88) 100%), url('../images/escritorio.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0 70px;
  position: relative;
}

.section-noticias .container {
  max-width: 1240px;
}

.news-header-wrap {
  text-align: left;
  margin-bottom: 35px;
}

.news-section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffd800;
  letter-spacing: 0.5px;
  margin: 0 0 4px 0;
  padding: 0;
  text-align: left;
}

.news-separator {
  width: 150px;
  height: auto;
  display: block;
  margin: 6px 0 16px 0;
}

.news-intro-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #f0f5fa;
  max-width: 900px;
  margin: 0;
  text-align: left;
}

.news-intro-text strong {
  font-weight: 600;
  color: #ffffff;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
}

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

.news-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.news-card {
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.news-img-link {
  display: block;
  overflow: hidden;
  height: 240px;
  width: 100%;
  background-color: #000;
}

.news-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.news-card:hover .news-thumbnail {
  transform: scale(1.04);
}

.news-body {
  padding: 24px 24px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-date {
  font-size: 12px;
  color: #888888;
  margin: 0 0 16px 0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

.news-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #111111;
  line-height: 1.4;
  margin: 0 0 12px 0;
  flex-grow: 1;
  min-height: 68px;
}

.news-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-title a:hover {
  color: #b89600;
}

.news-excerpt {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.news-link {
  font-size: 13px;
  font-weight: 700;
  color: #ffd800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  margin-top: auto;
  transition: transform 0.2s ease, color 0.2s ease;
}

.news-link:hover {
  color: #111827;
  transform: translateX(3px);
}

.news-bottom-action {
  text-align: center;
  margin-top: 40px;
}

.btn-news-bottom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffd800;
  color: #111111;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 30px;
  border-radius: 4px;
  border: 1px solid #ffd800;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-news-bottom:hover {
  background-color: transparent;
  color: #ffd800;
}

.news-article-full {
  background: #ffffff;
  padding: 60px 0 95px;
}

/* ==========================================================================
   Bloque 7: Contacto (Fondo Negro #111111)
   ========================================================================== */
.section-contacto {
  background: var(--bg-black);
  color: #ffffff;
  padding: 95px 0 90px;
}

.contact-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-col h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 16px;
}

.contact-info-col p {
  color: #94a3b8;
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.contact-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: #e2e8f0;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 216, 0, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-cta-wrap {
  margin-top: 32px;
}

.contact-cta-wrap .btn-primary-cta {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Form Styles */
.contact-form {
  background: #1e2227;
  padding: 34px 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  background: #14171a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: #ffffff;
  font-family: var(--font-family);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 216, 0, 0.2);
}

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

.btn-form-submit {
  width: 100%;
  background: var(--primary);
  color: #111111;
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 800;
  padding: 14px;
  border: none;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-form-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Toast Message */
.form-toast {
  display: none;
  margin-top: 14px;
  padding: 12px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

.form-toast.success {
  display: block;
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.form-toast.error {
  display: block;
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #0b0d0f;
  color: #64748b;
  padding: 40px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-logo {
  width: 65px;
  height: auto;
  opacity: 0.85;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-link {
  color: #94a3b8;
  font-size: 0.85rem;
}

.footer-link:hover {
  color: var(--primary);
}

.footer-copy {
  font-size: 0.85rem;
}

/* Floating WhatsApp Button */
.whatsapp-float-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 58px;
  height: 58px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  color: #ffffff;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.65);
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .team-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  .site-header {
    padding: 12px 16px;
  }

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

  .site-logo {
    width: 75px;
    max-width: 75px;
  }

  .mobile-toggle {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    height: auto;
    background: #16181b;
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .nav-links {
    flex-direction: column;
    width: 100%;
    height: auto;
    gap: 16px;
    text-align: center;
  }
  
  .nav-link {
    width: 100%;
    justify-content: center;
    font-size: 13px;
  }
  
  .two-col-grid,
  .contact-split-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .testimonial-card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 25px 20px;
    text-align: center;
  }

  .testimonial-content-side {
    align-items: center;
  }

  .testimonial-quote {
    text-align: center;
  }

  .testimonials-carousel-container {
    padding: 0 10px;
  }

  .testimonial-nav-arrow {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-logo {
    width: 65px;
    max-width: 65px;
  }

  .hero-title-main {
    font-size: 1.05rem;
  }
  
  .hero-subtitle-question {
    font-size: 0.98rem;
  }

  .hero-lead-text {
    font-size: 0.9rem;
  }
  
  .team-grid-5 {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   Páginas de Detalle de Servicios (Paridad Exacta con Elementor)
   ========================================================================== */
.service-hero-banner {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  padding: 140px 0 45px;
  position: relative;
}

.service-hero-inner {
  display: flex;
  flex-direction: column;
}

.service-hero-pretitle {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffd800;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.service-hero-title {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin: 0;
}

.service-detail-section {
  background-color: #eeeeee;
  padding: 50px 0 90px;
}

.service-detail-container {
  max-width: 1060px;
}

.service-detail-top-nav {
  margin-bottom: 30px;
}

.back-services-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #111111;
  background: #ffffff;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.back-services-btn:hover {
  background: #ffd800;
  color: #111111;
  transform: translateX(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-items-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 45px;
}

.service-item-card {
  background: #ffffff;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 35px 32px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-item-card:hover {
  transform: translateY(-3px);
  border-color: #ffd800;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.service-item-num {
  font-size: 29px;
  font-weight: 600;
  color: #ffd800;
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}

.service-item-title {
  font-size: 22px;
  font-weight: 600;
  color: #303234;
  line-height: 1.35;
  margin-bottom: 16px;
}

.service-item-desc p {
  font-size: 15px;
  line-height: 1.75;
  color: #555555;
  text-align: justify;
  margin-bottom: 14px;
}

.service-item-desc p:last-child {
  margin-bottom: 0;
}

.service-intro-card {
  background: #ffffff;
  border-left: 4px solid #ffd800;
  border-radius: 4px;
  padding: 35px 36px;
  margin-bottom: 50px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.service-intro-card p {
  font-size: 16px;
  line-height: 1.85;
  color: #444444;
  margin-bottom: 18px;
}

.service-intro-card p:last-child {
  margin-bottom: 0;
}

.service-item-desc ul {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-item-desc li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.7;
  color: #555555;
}

.service-item-desc li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #ffd800;
  font-weight: 700;
  font-size: 14px;
}

.service-item-desc strong {
  color: #222222;
}

.service-item-desc a {
  color: #111111;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #ffd800;
  text-underline-offset: 3px;
  transition: all 0.2s ease;
}

.service-item-desc a:hover {
  color: #ffd800;
  text-decoration-color: #111111;
}

/* Service Section Subtitle / Header */
.service-section-heading {
  font-size: 26px;
  font-weight: 700;
  color: #111111;
  margin: 45px 0 24px;
}

/* Service FAQ Cards */
.service-faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 50px;
}

.service-faq-card {
  background: #ffffff;
  border-radius: 4px;
  padding: 26px 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  border-left: 3px solid #ffd800;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-faq-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}

.service-faq-question {
  font-size: 19px;
  font-weight: 600;
  color: #222222;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-faq-question i {
  color: #ffd800;
  font-size: 17px;
}

.service-faq-answer p {
  font-size: 15px;
  line-height: 1.75;
  color: #555555;
  margin: 0;
}

.service-cta-card {
  background: #111111;
  color: #ffffff;
  border-radius: 6px;
  padding: 40px 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-cta-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: #ffd800;
  margin-bottom: 8px;
}

.service-cta-content p {
  font-size: 15px;
  color: #d1d5db;
  margin: 0;
}

.service-cta-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #ffd800;
  color: #111111;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.btn-cta-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  color: #111111;
}

.btn-cta-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #25d366;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.btn-cta-whatsapp:hover {
  background-color: #1ebc59;
  transform: translateY(-2px);
  color: #ffffff;
}

@media (max-width: 920px) {
  .service-hero-title {
    font-size: 26px;
  }
  .service-cta-card {
    flex-direction: column;
    text-align: center;
  }
  .service-cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-cta-primary,
  .btn-cta-whatsapp {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Páginas de Detalle de Artículos / Noticias
   ========================================================================== */
.news-hero-banner {
  min-height: 280px;
}

.article-detail-container {
  max-width: 900px;
}

.article-full-card {
  background: #ffffff;
  border-radius: 6px;
  padding: 40px 45px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  margin-bottom: 40px;
}

.article-meta-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  font-size: 14px;
  color: #64748b;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 15px;
}

.article-date-badge,
.article-author-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-featured-img-wrap {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 30px;
}

.article-featured-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.article-content-body {
  font-size: 16px;
  line-height: 1.8;
  color: #334155;
}

.article-lead-heading {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  color: #1e293b;
  margin-bottom: 25px;
  border-left: 4px solid #ffd800;
  padding-left: 16px;
}

.article-content-body p {
  margin-bottom: 20px;
  text-align: justify;
}

.article-content-body h2 {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin: 35px 0 15px;
}

.article-content-body blockquote {
  border-left: 4px solid #ffd800;
  background: #f8fafc;
  padding: 20px 24px;
  margin: 25px 0;
  font-style: italic;
  color: #334155;
  border-radius: 0 6px 6px 0;
}

.article-content-body blockquote p {
  margin: 0;
}

.article-content-body ul {
  margin: 15px 0 25px 25px;
}

.article-content-body ul li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.article-content-body mark {
  background-color: #fef08a;
  padding: 2px 5px;
  border-radius: 3px;
}

.article-doc-link-box {
  margin: 30px 0;
}

.btn-doc-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1e293b;
  color: #ffd800;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-doc-link:hover {
  background: #0f172a;
  color: #ffffff;
  transform: translateY(-2px);
}

.article-external-link-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #ffd800;
  border-radius: 6px;
  padding: 20px 24px;
  margin: 35px 0 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.external-link-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.external-link-info .external-icon {
  font-size: 28px;
  color: #1e293b;
}

.external-link-info strong {
  display: block;
  font-size: 16px;
  color: #0f172a;
  margin-bottom: 3px;
}

.external-link-info p {
  margin: 0 !important;
  font-size: 13.5px;
  color: #64748b;
  text-align: left !important;
}

.btn-external-article {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffd800;
  color: #111111;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-external-article:hover {
  background: #f5cb00;
  transform: translateY(-2px);
  color: #000000;
}

.article-source-note {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  font-size: 13.5px;
  color: #64748b;
}

.news-img-link {
  display: block;
  overflow: hidden;
}

.news-img-link img {
  transition: transform 0.3s ease;
}

.news-img-link:hover img {
  transform: scale(1.04);
}

.news-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.news-title a:hover {
  color: #d4a300;
}

@media (max-width: 768px) {
  .article-full-card {
    padding: 25px 20px;
  }
}
