/*
====================================================================
  AYALATOP - CSS FIX PARA ELEMENTOR (ALTA ESPECIFICIDAD)
====================================================================

  IMPORTANTE: Este archivo sobrescribe los estilos de Elementor
  Copia y pega ESTE archivo en Simple Custom CSS and JS

  Problema resuelto:
  - Títulos H1 y H2 ahora se muestran en blanco en .hero
  - Botones con colores corporativos funcionan correctamente
  - Mayor especificidad para sobrescribir Elementor
====================================================================
*/

/* ============================================
   VARIABLES CSS (ROOT)
============================================ */
:root {
  --ayala-red: #E63946;
  --ayala-blue: #1D3557;
  --ayala-gray: #E5E5E5;
  --ayala-black: #222222;
  --ayala-white: #FFFFFF;
  --ayala-hover: #722f37;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 32px;
  --spacing-lg: 48px;
  --spacing-xl: 64px;
  --spacing-xxl: 96px;
  --border-radius: 8px;
  --border-radius-sm: 4px;
  --border-radius-lg: 16px;
}

/* Cargar Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Roboto:wght@400;500;700&display=swap');

/* ============================================
   TIPOGRAFÍA CON ALTA ESPECIFICIDAD
============================================ */

/* Sobrescribir tipografía de Elementor */
.elementor-widget-heading .elementor-heading-title,
.elementor-heading-title,
body .elementor h1,
body .elementor h2,
body .elementor h3,
body .elementor h4,
body .elementor h5,
body .elementor h6 {
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  color: var(--ayala-blue) !important;
}

body .elementor p,
body .elementor-widget-text-editor,
.elementor-text-editor {
  font-family: var(--font-body) !important;
  color: var(--ayala-black) !important;
}

/* ============================================
   HERO SECTION - ALTA ESPECIFICIDAD
============================================ */

/* Sección Hero */
body .elementor-section.hero,
.elementor-element.hero {
  position: relative;
  min-height: 600px !important;
  background: linear-gradient(135deg, var(--ayala-blue) 0%, #2c4a6e 100%) !important;
  padding: 96px 32px !important;
}

/* Patrón decorativo del hero */
body .elementor-section.hero::before,
.elementor-element.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><path d="M0 0L100 100M100 0L0 100" stroke="rgba(255,255,255,0.05)" stroke-width="2"/></svg>') repeat;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}

/* TODOS los elementos dentro del hero */
body .elementor-section.hero .elementor-container,
body .elementor-section.hero .elementor-column-wrap,
body .elementor-section.hero .elementor-widget-wrap {
  position: relative;
  z-index: 2;
}

/* Títulos H1 en HERO - MÁXIMA ESPECIFICIDAD */
body .elementor-section.hero h1,
body .elementor-section.hero .elementor-heading-title.elementor-size-default,
body .elementor-section.hero .elementor-widget-heading h1.elementor-heading-title,
.elementor-element.hero h1,
.elementor-element.hero .elementor-heading-title {
  color: var(--ayala-white) !important;
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  font-size: 3.5rem !important;
  line-height: 1.2 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
  margin-bottom: 32px !important;
  text-align: center !important;
}

/* Títulos H2 en HERO - MÁXIMA ESPECIFICIDAD */
body .elementor-section.hero h2,
body .elementor-section.hero .elementor-widget-heading h2.elementor-heading-title,
.elementor-element.hero h2,
.elementor-element.hero h2.elementor-heading-title {
  color: var(--ayala-white) !important;
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  font-size: 1.5rem !important;
  line-height: 1.4 !important;
  opacity: 0.95 !important;
  margin-bottom: 48px !important;
  text-align: center !important;
}

/* Párrafos en HERO */
body .elementor-section.hero p,
body .elementor-section.hero .elementor-text-editor,
.elementor-element.hero p {
  color: var(--ayala-white) !important;
  font-family: var(--font-body) !important;
  font-size: 1.25rem !important;
  line-height: 1.6 !important;
  opacity: 0.9 !important;
  margin-bottom: 48px !important;
  text-align: center !important;
}

/* H3, H4, H5, H6 en HERO (por si los usas) */
body .elementor-section.hero h3,
body .elementor-section.hero h4,
body .elementor-section.hero h5,
body .elementor-section.hero h6,
.elementor-element.hero h3,
.elementor-element.hero h4 {
  color: var(--ayala-white) !important;
  font-family: var(--font-heading) !important;
  text-align: center !important;
}

/* Centrar todos los widgets en hero */
body .elementor-section.hero .elementor-widget-wrap {
  text-align: center !important;
  justify-content: center !important;
}

/* ============================================
   BOTONES - ALTA ESPECIFICIDAD
============================================ */

/* Botón base - Remover estilos de Elementor */
.elementor-button-wrapper,
.elementor-button-wrapper a {
  background: none !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.elementor-button.btn,
.elementor-button-wrapper .btn,
.elementor-button-wrapper .elementor-button,
a.btn,
.btn {
  display: inline-block !important;
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  padding: 14px 32px !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  border: none !important;
  text-align: center !important;
  line-height: 1.5 !important;
  background: none !important;
  box-shadow: none !important;
}

/* Botón primario ROJO */
.elementor-button.btn-primary,
.elementor-button-wrapper .btn-primary,
.elementor-button.btn-primary .elementor-button,
a.btn-primary,
.btn-primary {
  background-color: var(--ayala-red) !important;
  background-image: none !important;
  color: var(--ayala-white) !important;
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.25) !important;
  border: none !important;
}

.elementor-button.btn-primary:hover,
.elementor-button-wrapper .btn-primary:hover,
a.btn-primary:hover,
.btn-primary:hover {
  background-color: var(--ayala-hover) !important;
  background-image: none !important;
  color: var(--ayala-white) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.35) !important;
}

/* Botón secundario AZUL */
.elementor-button.btn-secondary,
.elementor-button-wrapper .btn-secondary,
a.btn-secondary,
.btn-secondary {
  background-color: var(--ayala-blue) !important;
  background-image: none !important;
  color: var(--ayala-white) !important;
  box-shadow: 0 4px 12px rgba(29, 53, 87, 0.25) !important;
  border: none !important;
}

.elementor-button.btn-secondary:hover,
.btn-secondary:hover {
  background-color: #2c4a6e !important;
  background-image: none !important;
  color: var(--ayala-white) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 20px rgba(29, 53, 87, 0.35) !important;
}

/* Botón VERDE (estilo moderno como la imagen) */
.elementor-button.btn-green,
.elementor-button-wrapper .btn-green,
a.btn-green,
.btn-green {
  background-color: #4CAF50 !important;
  background-image: none !important;
  color: var(--ayala-white) !important;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.25) !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 16px 36px !important;
  font-size: 1.05rem !important;
}

.elementor-button.btn-green:hover,
.btn-green:hover {
  background-color: #45a049 !important;
  background-image: none !important;
  color: var(--ayala-white) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.35) !important;
}

/* Botón outline */
.elementor-button.btn-outline,
.btn-outline {
  background-color: transparent !important;
  color: var(--ayala-red) !important;
  border: 2px solid var(--ayala-red) !important;
  box-shadow: none !important;
}

.elementor-button.btn-outline:hover,
.btn-outline:hover {
  background-color: var(--ayala-red) !important;
  color: var(--ayala-white) !important;
  transform: translateY(-2px) !important;
}

/* Botón outline blanco (para fondos oscuros) */
.elementor-button.btn-outline-white,
.btn-outline-white {
  background-color: transparent !important;
  color: var(--ayala-white) !important;
  border: 2px solid var(--ayala-white) !important;
  box-shadow: none !important;
}

.elementor-button.btn-outline-white:hover,
.btn-outline-white:hover {
  background-color: var(--ayala-white) !important;
  color: var(--ayala-blue) !important;
  transform: translateY(-2px) !important;
}

/* Botón grande */
.btn-lg {
  padding: 20px 40px !important;
  font-size: 1.125rem !important;
}

/* Botón pequeño */
.btn-sm {
  padding: 12px 24px !important;
  font-size: 0.875rem !important;
}

/* Fix para el ícono del botón de Elementor */
.elementor-button .elementor-button-text {
  flex-grow: 0 !important;
}

/* ============================================
   CARDS / TARJETAS
============================================ */

/* SERVICE CARDS - Tarjetas de Servicios */
.elementor-element.service-card,
.elementor-column.service-card,
.service-card {
  background: var(--ayala-white) !important;
  border-radius: var(--border-radius-lg) !important;
  padding: var(--spacing-lg) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease !important;
  border-top: 4px solid var(--ayala-red) !important;
  height: 100% !important;
}

.elementor-element.service-card:hover,
.elementor-column.service-card:hover,
.service-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
}

/* Títulos en service-card */
.service-card h3,
.service-card .elementor-heading-title,
.elementor-element.service-card h3,
.elementor-column.service-card h3 {
  color: var(--ayala-blue) !important;
  margin-bottom: var(--spacing-md) !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 1.75rem !important;
  text-align: center !important;
  line-height: 1.3 !important;
}

/* Párrafos en service-card */
.service-card p,
.service-card .elementor-text-editor,
.elementor-element.service-card p,
.elementor-column.service-card p {
  color: var(--ayala-black) !important;
  margin-bottom: var(--spacing-md) !important;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  text-align: center !important;
}

/* Listas dentro de service-card */
.service-card ul,
.elementor-element.service-card ul,
.elementor-column.service-card ul {
  list-style: none !important;
  padding: 0 !important;
  margin: var(--spacing-md) 0 !important;
  text-align: left !important;
}

.service-card ul li,
.elementor-element.service-card ul li,
.elementor-column.service-card ul li {
  padding-left: 28px !important;
  margin-bottom: 10px !important;
  position: relative !important;
  color: var(--ayala-black) !important;
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
}

.service-card ul li::before,
.elementor-element.service-card ul li::before,
.elementor-column.service-card ul li::before {
  content: '▸' !important;
  position: absolute !important;
  left: 0 !important;
  color: var(--ayala-red) !important;
  font-weight: bold !important;
  font-size: 1rem !important;
}

/* Botones dentro de service-card */
.service-card .elementor-button,
.elementor-element.service-card .elementor-button {
  margin-top: var(--spacing-md) !important;
}

/* ============================================
   SECCIONES
============================================ */

.section {
  padding: var(--spacing-xxl) var(--spacing-md);
}

.section-gray {
  background-color: #f8f9fa !important;
}

.section-blue {
  background: linear-gradient(135deg, var(--ayala-blue) 0%, #2c4a6e 100%) !important;
}

/* Todos los textos en section-blue deben ser blancos */
.section-blue h1,
.section-blue h2,
.section-blue h3,
.section-blue h4,
.section-blue h5,
.section-blue h6,
.section-blue .elementor-heading-title,
.elementor-section.section-blue h1,
.elementor-section.section-blue h2,
.elementor-section.section-blue h3,
.elementor-section.section-blue h4 {
  color: var(--ayala-white) !important;
  text-align: center !important;
}

/* Párrafos en section-blue - MÁXIMA ESPECIFICIDAD */
.section-blue p,
.section-blue .elementor-text-editor,
.section-blue .elementor-text-editor p,
.section-blue .elementor-widget-text-editor,
.section-blue .elementor-widget-text-editor p,
.elementor-section.section-blue p,
.elementor-section.section-blue .elementor-text-editor,
.elementor-section.section-blue .elementor-text-editor p,
body .elementor-section.section-blue p,
body .elementor-section.section-blue .elementor-text-editor p {
  color: var(--ayala-white) !important;
  opacity: 0.95 !important;
  text-align: center !important;
  font-family: var(--font-body) !important;
}

/* Centrar todo el contenido en section-blue */
.section-blue .elementor-widget-wrap,
.elementor-section.section-blue .elementor-widget-wrap {
  text-align: center !important;
  justify-content: center !important;
}

/* Botones en section-blue centrados */
.section-blue .elementor-button-wrapper,
.elementor-section.section-blue .elementor-button-wrapper {
  text-align: center !important;
  justify-content: center !important;
  display: flex !important;
  align-items: center !important;
}

/* ============================================
   ESTADÍSTICAS
============================================ */

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  margin: var(--spacing-lg) 0;
}

.stat-item {
  text-align: center;
  padding: var(--spacing-md);
}

.stat-number {
  font-family: var(--font-heading) !important;
  font-size: 4rem !important;
  font-weight: 800 !important;
  color: var(--ayala-red) !important;
  line-height: 1 !important;
  margin-bottom: var(--spacing-sm) !important;
  display: block !important;
}

.stat-label {
  font-size: 1.125rem !important;
  color: var(--ayala-black) !important;
  font-weight: 500 !important;
  font-family: var(--font-body) !important;
}

/* ============================================
   CTA (CALL TO ACTION)
============================================ */

.cta-box {
  background: linear-gradient(135deg, var(--ayala-red) 0%, var(--ayala-hover) 100%) !important;
  padding: var(--spacing-xl) !important;
  border-radius: var(--border-radius-lg) !important;
  text-align: center !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
  margin: var(--spacing-xxl) 0 !important;
}

.cta-box h2,
.cta-box .elementor-heading-title {
  color: var(--ayala-white) !important;
  margin-bottom: var(--spacing-md) !important;
}

.cta-box p,
.cta-box .elementor-text-editor {
  color: var(--ayala-white) !important;
  font-size: 1.25rem !important;
  margin-bottom: var(--spacing-lg) !important;
  opacity: 0.95 !important;
}

/* ============================================
   PROCESO / PASOS
============================================ */

.process-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin: var(--spacing-lg) 0;
}

.process-step {
  text-align: center;
  padding: var(--spacing-lg);
  background: var(--ayala-white);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.process-number {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--spacing-md);
  background: linear-gradient(135deg, var(--ayala-red) 0%, var(--ayala-hover) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ayala-white);
  font-family: var(--font-heading);
}

.process-step h3,
.process-step .elementor-heading-title {
  color: var(--ayala-blue) !important;
  margin-bottom: var(--spacing-sm);
  font-size: 1.25rem !important;
}

/* ============================================
   UTILIDADES
============================================ */

.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

.text-red { color: var(--ayala-red) !important; }
.text-blue { color: var(--ayala-blue) !important; }
.text-white { color: var(--ayala-white) !important; }

.bg-red { background-color: var(--ayala-red) !important; }
.bg-blue { background-color: var(--ayala-blue) !important; }
.bg-gray { background-color: var(--ayala-gray) !important; }

.mt-lg { margin-top: var(--spacing-lg) !important; }
.mb-lg { margin-bottom: var(--spacing-lg) !important; }
.pt-lg { padding-top: var(--spacing-lg) !important; }
.pb-lg { padding-bottom: var(--spacing-lg) !important; }

/* ============================================
   RESPONSIVE - TABLET Y MÓVIL
============================================ */

/* TABLET (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Hero - Solo tamaños y espaciado */
  body .elementor-section.hero,
  .elementor-element.hero {
    min-height: 550px !important;
    padding: 72px 32px !important;
  }

  body .elementor-section.hero h1,
  .elementor-element.hero h1 {
    font-size: 2.75rem !important;
    margin-bottom: 24px !important;
  }

  body .elementor-section.hero h2,
  .elementor-element.hero h2 {
    font-size: 1.35rem !important;
    margin-bottom: 36px !important;
  }

  body .elementor-section.hero p,
  .elementor-element.hero p {
    font-size: 1.15rem !important;
    margin-bottom: 36px !important;
  }

  /* Títulos generales H2 (fuera de hero) */
  body .elementor h2,
  .elementor-heading-title h2,
  .elementor-widget-heading h2 {
    font-size: 1.85rem !important;
  }

  /* Títulos generales H3 */
  body .elementor h3,
  .elementor-heading-title h3,
  .elementor-widget-heading h3 {
    font-size: 1.5rem !important;
  }

  /* Párrafos generales - MISMO TAMAÑO EN TODO EL SITIO (AUMENTADO) */
  body .elementor p,
  body .elementor-widget-text-editor p,
  .elementor-text-editor p,
  body p,
  .elementor-section p {
    font-size: 1.1rem !important;
    line-height: 1.7 !important;
  }

  /* Service Cards - Solo texto y padding */
  .service-card h3,
  .elementor-element.service-card h3,
  .elementor-column.service-card h3 {
    font-size: 1.5rem !important;
  }

  .service-card p,
  .elementor-element.service-card p,
  .elementor-column.service-card p {
    font-size: 1rem !important;
    line-height: 1.7 !important;
  }

  .service-card,
  .elementor-element.service-card,
  .elementor-column.service-card {
    padding: 36px !important;
  }

  /* Stats - Solo tamaños */
  .stat-number {
    font-size: 3.5rem !important;
  }

  .stat-label {
    font-size: 1.05rem !important;
  }

  /* Botones */
  .btn {
    font-size: 0.95rem !important;
    padding: 15px 32px !important;
  }

  .btn-lg {
    font-size: 1.05rem !important;
    padding: 18px 36px !important;
  }

  /* CTA Box */
  .cta-box {
    padding: 56px 32px !important;
  }

  .cta-box h2 {
    font-size: 1.85rem !important;
  }

  .cta-box p {
    font-size: 1.15rem !important;
  }

  /* Secciones generales */
  .section {
    padding: 72px 32px !important;
  }
}

/* MÓVIL (max 768px) */
@media (max-width: 768px) {
  /* Hero - Solo tamaños y espaciado */
  body .elementor-section.hero,
  .elementor-element.hero {
    min-height: 450px !important;
    padding: 48px 20px !important;
  }

  body .elementor-section.hero h1,
  body .elementor-section.hero .elementor-heading-title.elementor-size-default,
  body .elementor-section.hero .elementor-widget-heading h1.elementor-heading-title,
  .elementor-element.hero h1,
  .elementor-element.hero .elementor-heading-title {
    font-size: 1.5rem !important;
    margin-bottom: 16px !important;
    line-height: 1.3 !important;
  }

  body .elementor-section.hero h2,
  body .elementor-section.hero .elementor-widget-heading h2.elementor-heading-title,
  .elementor-element.hero h2,
  .elementor-element.hero h2.elementor-heading-title {
    font-size: 1rem !important;
    margin-bottom: 20px !important;
  }

  body .elementor-section.hero p,
  body .elementor-section.hero .elementor-text-editor,
  .elementor-element.hero p {
    font-size: 1.1rem !important;
    line-height: 1.7 !important;
    margin-bottom: 24px !important;
  }

  /* Títulos generales H2 (fuera de hero) - MÁS GRANDE */
  body .elementor h2,
  body .elementor-widget-heading h2,
  body .elementor-widget-heading h2.elementor-heading-title,
  .elementor-heading-title h2,
  .elementor-widget-heading h2 {
    font-size: 1.85rem !important;
  }

  /* Títulos generales H3 */
  body .elementor h3,
  .elementor-heading-title h3,
  .elementor-widget-heading h3 {
    font-size: 1.25rem !important;
  }

  /* Párrafos generales - MISMO TAMAÑO EN TODO EL SITIO (AUMENTADO) */
  body .elementor p,
  body .elementor-widget-text-editor p,
  .elementor-text-editor p,
  body p,
  .elementor-section p {
    font-size: 1.1rem !important;
    line-height: 1.7 !important;
  }

  /* Service Cards - MÁS PEQUEÑO QUE H2 GENERAL */
  .service-card h3,
  .service-card .elementor-heading-title,
  .elementor-element.service-card h3,
  .elementor-element.service-card .elementor-heading-title,
  .elementor-column.service-card h3,
  .elementor-column.service-card .elementor-heading-title,
  body .service-card h3,
  body .elementor-element.service-card h3,
  body .elementor-column.service-card h3 {
    font-size: 1.15rem !important;
    margin-bottom: 16px !important;
  }

  .service-card p,
  .service-card .elementor-text-editor,
  .elementor-element.service-card p,
  .elementor-element.service-card .elementor-text-editor,
  .elementor-column.service-card p,
  body .service-card p,
  body .elementor-element.service-card p {
    font-size: 1.1rem !important;
    line-height: 1.7 !important;
  }

  .service-card,
  .elementor-element.service-card,
  .elementor-column.service-card {
    padding: 28px !important;
  }

  /* Stats Container - Layout ajustado */
  .stats-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }

  .stat-number {
    font-size: 3rem !important;
  }

  .stat-label {
    font-size: 1rem !important;
  }

  /* Process Container */
  .process-container {
    grid-template-columns: 1fr !important;
  }

  .process-number {
    font-size: 1.25rem !important;
    width: 50px !important;
    height: 50px !important;
  }

  /* Botones */
  .btn {
    font-size: 1rem !important;
    padding: 16px 32px !important;
  }

  .btn-sm {
    font-size: 0.85rem !important;
    padding: 11px 22px !important;
  }

  /* CTA Box */
  .cta-box {
    padding: 40px 24px !important;
    margin: 48px 0 !important;
  }

  .cta-box h2 {
    font-size: 1.65rem !important;
    margin-bottom: 20px !important;
  }

  .cta-box p {
    font-size: 1.05rem !important;
    margin-bottom: 32px !important;
  }

  /* Secciones */
  .section {
    padding: 48px 20px !important;
  }

  /* Blog Posts / Artículos */
  .elementor-post h2,
  .elementor-post .elementor-post__title,
  .elementor-posts .elementor-post__title,
  article h2,
  .post h2,
  body article h2,
  body .post h2 {
    font-size: 1.25rem !important;
  }

  .elementor-post h3,
  article h3,
  .post h3,
  body article h3,
  body .post h3 {
    font-size: 1.1rem !important;
  }

  .elementor-post p,
  .elementor-post .elementor-post__excerpt,
  article p,
  .post p,
  body article p,
  body .post p,
  .single-post article p,
  .single article.post p {
    font-size: 1.1rem !important;
    line-height: 1.7 !important;
  }

  /* Elementor spacing fix */
  .elementor-section.elementor-section-boxed > .elementor-container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .elementor-column-gap-default > .elementor-column > .elementor-element-populated {
    padding: 10px !important;
  }
}

/* MÓVIL PEQUEÑO (max 480px) */
@media (max-width: 480px) {
  /* Hero */
  body .elementor-section.hero,
  .elementor-element.hero {
    min-height: 400px !important;
    padding: 40px 16px !important;
  }

  body .elementor-section.hero h1,
  body .elementor-section.hero .elementor-heading-title.elementor-size-default,
  body .elementor-section.hero .elementor-widget-heading h1.elementor-heading-title,
  .elementor-element.hero h1,
  .elementor-element.hero .elementor-heading-title {
    font-size: 1.35rem !important;
    margin-bottom: 14px !important;
    line-height: 1.3 !important;
  }

  body .elementor-section.hero h2,
  body .elementor-section.hero .elementor-widget-heading h2.elementor-heading-title,
  .elementor-element.hero h2,
  .elementor-element.hero h2.elementor-heading-title {
    font-size: 0.9rem !important;
    margin-bottom: 16px !important;
  }

  body .elementor-section.hero p,
  body .elementor-section.hero .elementor-text-editor,
  .elementor-element.hero p {
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
    margin-bottom: 20px !important;
  }

  /* Títulos generales H2 (fuera de hero) - MÁS GRANDE */
  body .elementor h2,
  body .elementor-widget-heading h2,
  body .elementor-widget-heading h2.elementor-heading-title,
  .elementor-heading-title h2,
  .elementor-widget-heading h2 {
    font-size: 1.65rem !important;
  }

  /* Títulos generales H3 */
  body .elementor h3,
  .elementor-heading-title h3,
  .elementor-widget-heading h3 {
    font-size: 1.15rem !important;
  }

  /* Párrafos generales - MISMO TAMAÑO EN TODO EL SITIO */
  body .elementor p,
  body .elementor-widget-text-editor p,
  .elementor-text-editor p,
  body p,
  .elementor-section p {
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
  }

  /* Service Cards - MÁS PEQUEÑO QUE H2 GENERAL */
  .service-card,
  .elementor-element.service-card,
  .elementor-column.service-card {
    padding: 20px 14px !important;
  }

  .service-card h3,
  .service-card .elementor-heading-title,
  .elementor-element.service-card h3,
  .elementor-element.service-card .elementor-heading-title,
  .elementor-column.service-card h3,
  .elementor-column.service-card .elementor-heading-title,
  body .service-card h3,
  body .elementor-element.service-card h3,
  body .elementor-column.service-card h3 {
    font-size: 1.05rem !important;
    margin-bottom: 14px !important;
  }

  .service-card p,
  .service-card .elementor-text-editor,
  .elementor-element.service-card p,
  .elementor-element.service-card .elementor-text-editor,
  .elementor-column.service-card p,
  body .service-card p,
  body .elementor-element.service-card p {
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
  }

  /* Stats - Single column */
  .stats-container {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .stat-number {
    font-size: 2.5rem !important;
  }

  .stat-label {
    font-size: 0.95rem !important;
  }

  /* Botones */
  .btn {
    font-size: 0.9rem !important;
    padding: 14px 28px !important;
  }

  .btn-lg {
    font-size: 1rem !important;
    padding: 16px 32px !important;
  }

  /* Blog Posts / Artículos */
  .elementor-post h2,
  .elementor-post .elementor-post__title,
  .elementor-posts .elementor-post__title,
  article h2,
  .post h2,
  body article h2,
  body .post h2 {
    font-size: 1.15rem !important;
  }

  .elementor-post h3,
  article h3,
  .post h3,
  body article h3,
  body .post h3 {
    font-size: 1rem !important;
  }

  .elementor-post p,
  .elementor-post .elementor-post__excerpt,
  article p,
  .post p,
  body article p,
  body .post p,
  .single-post article p,
  .single article.post p {
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
  }

  /* CTA Box */
  .cta-box {
    padding: 32px 20px !important;
  }

  .cta-box h2 {
    font-size: 1.5rem !important;
  }

  .cta-box p {
    font-size: 0.95rem !important;
  }
}

/* ============================================
   FIN DEL CSS
============================================ */

