/* ======================================================
   CONTENEDOR BASE
====================================================== */

.aa-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}


/* ======================================================
   CONTROL GLOBAL ESPACIADO GUTENBERG + ANIMA
   (Controla TODOS los bloques reales del contenido)
====================================================== */

.entry-content > * {
  margin-top: 28px !important;
  margin-bottom: 28px !important;
}

/* Compacta bloques ANIMA */
.entry-content section[class*="aa-"] {
  margin-top: 28px !important;
  margin-bottom: 28px !important;
}

/* Cuando hay bloques ANIMA consecutivos */
.entry-content section[class*="aa-"] + section[class*="aa-"] {
  margin-top: 18px !important;
}


/* ======================================================
   TITULOS DE BLOQUES
====================================================== */

section[class*="aa-"] h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 18px;
  line-height: 1.25;
}


/* ======================================================
   HERO → SIN margen superior
====================================================== */

#hero-anima,
.aa-hero {
  margin-top: 0 !important;
  margin-bottom: 40px !important;
}


/* ======================================================
   TESTIMONIOS → Compactar
====================================================== */

.testimonios-anima {
  margin-top: 40px !important;
  margin-bottom: 40px !important;
}


/* ======================================================
   SERVICIOS GRID → Compactar
====================================================== */

.aa-servicios-home,
.aa-servicios-grid {
  margin-top: 30px !important;
  margin-bottom: 30px !important;
}


/* ======================================================
   BLOQUES SEO SUELTOS
====================================================== */

section[style*="padding:40px"],
section[style*="padding:50px"] {
  margin-top: 30px !important;
  margin-bottom: 30px !important;
}


/* ======================================================
   CTA FINAL → Aire visual premium
====================================================== */

.aa-cta-whatsapp {
  margin-top: 50px !important;
  margin-bottom: 20px !important;
}


/* ======================================================
   OCULTAR TITULO NATIVO SOLO EN PÁGINAS
====================================================== */

.page .entry-title,
.page h1.entry-title {
  display: none !important;
}


/* ======================================================
   OCULTAR IMAGEN DESTACADA SOLO EN PÁGINAS
====================================================== */

.page .post-thumbnail,
.page .featured-image,
.page .wp-post-image,
.page .wp-block-post-featured-image {
  display: none !important;
}


/* ======================================================
   MIGAS DE PAN – ESTILO ANIMA
====================================================== */

.ast-breadcrumbs {
  font-size: 14px !important;
  color: #6b6b6b !important;
  font-family: 'Poppins', sans-serif !important;
  margin-bottom: 18px !important;
  margin-top: 8px !important;
}

.ast-breadcrumbs a {
  color: #C87914 !important;
  text-decoration: none !important;
  transition: color 0.2s ease-in-out;
  font-weight: 500;
}

.ast-breadcrumbs a:hover {
  color: #8a550d !important;
}

.ast-breadcrumbs .breadcrumb-separator {
  margin: 0 6px !important;
  color: #9a9a9a !important;
  font-size: 14px !important;
}

.ast-breadcrumbs .trail-end {
  color: #444 !important;
  font-weight: 600 !important;
}


/* ======================================================
   INTRO PREMIUM ANIMA
====================================================== */

.aa-intro {
  padding: 50px 20px;
  background: #fff;
}

.aa-intro-head {
  background: #F2F2F5;
  padding: 24px 30px;
  border-left: 6px solid #C87914;
  border-radius: 12px;
  margin-bottom: 22px;
}

.aa-intro-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}

.aa-intro-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 16px;
}

.aa-intro-lead {
  font-size: 18px;
}

.aa-intro-highlight {
  font-size: 17px;
  font-weight: 600;
}

.aa-intro-benefits {
  background: #F5F5F7;
  padding: 30px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.aa-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
}

.aa-benefit span {
  color: #C87914;
  font-size: 18px;
  font-weight: 700;
}

.aa-link {
  color: #C87914;
  font-weight: 600;
  text-decoration: none;
}

.aa-link:hover {
  text-decoration: underline;
}


/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 900px) {

  .aa-intro-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 768px) {

  .entry-content > * {
    margin-top: 24px !important;
    margin-bottom: 24px !important;
  }

  .ast-breadcrumbs {
    font-size: 13px !important;
    margin-bottom: 15px !important;
  }

}
/* ======================================
   SISTEMA VERTICAL ANIMA
====================================== */

:root{
  --aa-space-section:50px;
  --aa-space-section-mobile:35px;
}

/* Espaciado estándar */
section[class^="aa-"]{
  margin:0;
  padding-top:var(--aa-space-section);
  padding-bottom:var(--aa-space-section);
}

/* Mobile */
@media(max-width:768px){
  section[class^="aa-"]{
    padding-top:var(--aa-space-section-mobile);
    padding-bottom:var(--aa-space-section-mobile);
  }
}

