/*
Theme Name: Asesorarte
Theme URI: https://www.fundacionasesorarte.org
Author: Pi Interactiva
Author URI: https://www.pi-interactiva.com/portafolio
Description: Tema oficial de la Fundación Asesorarte - Universidad del Cuidado
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: asesorarte
*/

:root {
  --color-cyan: #00B4D8;
  --color-cyan-light: #90E0EF;
  --color-orange: #FB8500;
  --color-red: #D00000;
  --color-purple: #7209B7;
  --color-yellow: #FFD60A;
  --color-blue-dark: #023E8A;
  --bg-color: #F8FAFC;
  --surface-color: #FFFFFF;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --font-main: 'Outfit', sans-serif;
  --container-width: 1200px;
  --header-height: 120px;
  --overheader-height: 45px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-primary);
  scroll-behavior: smooth;
  line-height: 1.6;
}

h1, h2, h3, h4 { font-weight: 800; line-height: 1.1; color: var(--text-primary); }

a { text-decoration: none; color: inherit; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 2rem; }

/* Overheader */
.overheader {
  height: var(--overheader-height);
  background: var(--text-primary);
  color: white;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1002;
}
/* Push overheader below WP admin bar when logged in */
.admin-bar .overheader { top: 32px; }
.admin-bar .main-header { top: calc(32px + var(--overheader-height)); }
@media screen and (max-width: 782px) {
  .admin-bar .overheader { top: 46px; }
  .admin-bar .main-header { top: calc(46px + var(--overheader-height)); }
}
.overheader {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 5px 2rem;
  font-size: 0.9rem;
}
.oh-col { display: flex; justify-content: center; }
.oh-left { justify-content: flex-start; }
.oh-right { justify-content: flex-end; }

.btn-crisis {
  background: var(--color-red);
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 4px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.2s;
}
.btn-crisis:hover { background: #b00000; }

.oh-link {
  color: white;
  font-size: 0.85rem;
  opacity: 0.9;
  border-bottom: 1px solid transparent;
  transition: all 0.2s;
}
.oh-link:hover { opacity: 1; border-bottom-color: var(--color-cyan); color: var(--color-cyan); }

.btn-donate-small {
  background: var(--color-yellow);
  color: var(--text-primary);
  padding: 0.3rem 1rem;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
.btn-donate-small:hover { transform: translateY(-1px); background: #ffe066; }

@media (max-width: 768px) {
  .overheader { display: flex; justify-content: space-between; padding: 0 1rem; }
  .oh-center { display: none; }
  .btn-donate-small { font-size: 0.75rem; padding: 0.3rem 0.5rem; }
}

/* Header */
.main-header {
  height: var(--header-height);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  position: fixed;
  top: var(--overheader-height);
  left: 0; right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 50px;
}
.logo-container { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; padding: 10px 0; }
.brand-logo { height: 90px; width: auto; transition: transform 0.3s; }
.logo-container:hover .brand-logo { transform: scale(1.05); }

/* Navigation */
.main-nav { display: flex; gap: 2rem; align-items: center; }
.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: color 0.2s;
  cursor: pointer;
  padding: 0.5rem 0;
  display: block;
}
.nav-link:hover, .nav-item:hover .nav-link { color: var(--color-cyan); }

.nav-item { position: relative; }
.dropdown {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: white;
  min-width: 260px;
  border-radius: 12px;
  box-shadow: 0 10px 30px -5px rgba(0,0,0,0.1);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 1000;
  border: 1px solid rgba(0,0,0,0.05);
}
.nav-item:hover .dropdown { transform: translateX(-50%) translateY(0); opacity: 1; visibility: visible; }
.dropdown a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.1s;
}
.dropdown a:hover { background: var(--bg-color); color: var(--color-cyan); }

.mobile-menu-btn { display: none; background: none; border: none; flex-direction: column; gap: 6px; cursor: pointer; padding: 0.5rem; }
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background-color: var(--color-blue-dark); transition: 0.3s; }

@media (max-width: 968px) {
  .mobile-menu-btn { display: flex; }
  .main-nav {
    position: fixed;
    top: calc(var(--header-height) + var(--overheader-height));
    left: 0; right: 0;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 0;
    height: calc(100vh - var(--header-height));
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    box-shadow: -5px 0 15px rgba(0,0,0,0.05);
  }
  .main-nav.active { transform: translateX(0); }
  .nav-item { width: 100%; border-bottom: 1px solid rgba(0,0,0,0.05); }
  .nav-link, .nav-item .nav-link { width: 100%; padding: 1rem 0; font-size: 1.1rem; justify-content: space-between; display: flex; }
  .has-dropdown .nav-link::after { content: '+'; font-weight: 300; }
  .has-dropdown.active .nav-link::after { content: '-'; }
  .dropdown { position: static; transform: none; box-shadow: none; border: none; padding: 0 0 1rem 1rem; display: none; opacity: 1; visibility: visible; min-width: 0; }
  .has-dropdown.active .dropdown { display: block; }
}

/* Buttons */
.btn { display: inline-block; padding: 1rem 2rem; border-radius: 3rem; font-weight: 600; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; border: none; }
.btn-primary { background: var(--color-cyan); color: white; box-shadow: 0 10px 20px -5px rgba(0,180,216,0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 25px -5px rgba(0,180,216,0.5); }
.btn-outline { display: inline-block; padding: 1rem 2rem; border-radius: 3rem; font-weight: 600; cursor: pointer; border: 2px solid var(--color-blue-dark); color: var(--color-blue-dark); transition: all 0.2s; }
.btn-outline:hover { background: var(--color-blue-dark); color: white; }
.btn-secondary { border: 2px solid var(--color-blue-dark); color: var(--color-blue-dark); background: transparent; }
.btn-secondary:hover { background: var(--color-blue-dark); color: white; }
.btn-white { background: white; color: var(--color-blue-dark); padding: 1rem 2.5rem; border-radius: 3rem; font-weight: 700; display: inline-block; transition: transform 0.2s; }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

/* Split Hero */
.split-hero {
  padding-top: calc(var(--header-height) + var(--overheader-height));
  height: 60vh;
  min-height: 500px;
  display: flex;
  background: white;
}
.full-width-container { max-width: 100%; padding: 0; display: flex; width: 100%; flex-wrap: wrap; }

.hero-left { width: 65%; background: var(--bg-color); position: relative; display: flex; flex-direction: column; justify-content: center; overflow: hidden; border-right: 1px solid rgba(0,0,0,0.05); }
.slider-container { padding: 2rem 3rem; position: relative; }
.slides-wrapper { position: relative; min-height: 400px; }

.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; visibility: hidden; transition: all 0.5s ease-in-out; transform: translateY(20px); display: flex !important; align-items: center; gap: 3rem; }
.slide.active { opacity: 1; visibility: visible; transform: translateY(0); position: relative; }
.slide-image { flex: 0 0 40%; height: 100%; border-radius: 1.5rem; overflow: hidden; }
.slide-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-content { flex: 1; }
.slide-title { font-size: clamp(2rem, 3vw, 3.5rem); line-height: 1.1; margin-bottom: 1rem; }
.slide-title .highlight { color: var(--color-cyan); }
.slide-title .highlight-red { color: var(--color-red); }
.slide-title .highlight-orange { color: var(--color-orange); }
.slide-subtitle { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 2rem; }
.slide-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.slider-dots { display: flex; gap: 0.5rem; margin-top: 2rem; }
.dot { width: 12px; height: 12px; background: rgba(0,0,0,0.2); border-radius: 50%; border: none; cursor: pointer; transition: background 0.3s; padding: 0; }
.dot.active { background: var(--color-cyan); transform: scale(1.2); }

.hero-right { width: 35%; background: linear-gradient(135deg, var(--color-blue-dark) 0%, var(--color-purple) 100%); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 2rem 4rem; }
.resources-content { position: relative; z-index: 2; color: white; max-width: 600px; }
.resource-tag { background: rgba(255,255,255,0.2); padding: 0.5rem 1rem; border-radius: 2rem; font-weight: 600; font-size: 0.9rem; display: inline-block; margin-bottom: 1.5rem; backdrop-filter: blur(5px); }
.hero-right h2 { font-size: 3.5rem; color: white; margin-bottom: 1.5rem; }
.hero-right p { font-size: 1.25rem; margin-bottom: 2.5rem; opacity: 0.9; }

@media (max-width: 968px) {
  .full-width-container { flex-direction: column; }
  .hero-left, .hero-right { width: 100%; min-height: auto; padding: 3rem 1.5rem; }
  .slide { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
  .slide-image { width: 100%; flex: 0 0 250px; }
  .hero-right { min-height: 300px; }
}

/* Pilares */
.pilares-section { padding: 6rem 0; }
.pilares-section h2 { text-align: center; font-size: 2.5rem; margin-bottom: 3rem; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.pilar-card { background: white; padding: 2rem; border-radius: 1.5rem; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); transition: transform 0.3s; position: relative; }
.pilar-card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.card-number { font-size: 4rem; font-weight: 800; color: rgba(0,0,0,0.05); position: absolute; top: 0; right: 1rem; line-height: 1; }
.pilar-card h3 { position: relative; z-index: 2; font-size: 1.5rem; margin-top: 1rem; }

/* Campaign */
.campaign-section { padding: 6rem 0; background: var(--surface-color); }
.campaign-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.campaign-card { padding: 2rem; border-radius: 1.5rem; color: white; }
.blue-card { background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-blue-dark) 100%); }
.purple-card { background: linear-gradient(135deg, var(--color-purple) 0%, #4cc9f0 100%); }
.card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 2rem; }
.card-header h3 { color: white; font-size: 1.25rem; }
.badge { background: rgba(255,255,255,0.2); padding: 0.25rem 0.75rem; border-radius: 1rem; font-size: 0.8rem; font-weight: 600; backdrop-filter: blur(5px); }
.card-quote { font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; font-style: italic; }
.card-desc { opacity: 0.9; }

/* Footer */
.main-footer { padding: 4rem 0 2rem; background: var(--bg-color); border-top: 1px solid rgba(0,0,0,0.05); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer-col h4 { margin-bottom: 1rem; color: var(--color-blue-dark); }
.footer-image-container { overflow: hidden; border-radius: 1rem; margin-bottom: 1.5rem; max-width: 250px; }
.footer-feature-img { width: 100%; height: auto; display: block; }
.footer-logo { height: 60px; width: auto; margin-bottom: 1.5rem; }
.donation-block { text-align: center; max-width: 250px; }
.donation-label { font-weight: 800; color: var(--color-purple); margin-bottom: 0.5rem; font-size: 1.1rem; }
.btn-donate { background: var(--color-red); color: white; width: 100%; text-align: center; font-size: 1.1rem; box-shadow: 0 4px 15px rgba(208,0,0,0.3); }
.btn-donate:hover { background: #b00000; transform: translateY(-2px); }
.newsletter-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.newsletter-input { padding: 1rem; border: 1px solid rgba(0,0,0,0.1); border-radius: 0.75rem; font-family: inherit; font-size: 0.95rem; transition: border-color 0.2s; }
.newsletter-input:focus { outline: none; border-color: var(--color-cyan); }
.btn-full { width: 100%; }
.contact-item { margin-bottom: 1rem; }
.contact-item strong { display: block; font-size: 0.9rem; color: var(--text-secondary); }
.contact-item a { color: var(--color-blue-dark); transition: color 0.2s ease; }
.contact-item a:hover { color: #475569; }
.footer-tagline { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(0,0,0,0.05); font-size: 0.95rem; line-height: 1.5; }
.social-links { margin-top: 1.5rem; display: flex; gap: 1rem; }
.social-links a { font-weight: 600; color: var(--color-blue-dark); transition: color 0.2s ease; }
.social-links a:hover { color: #475569; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid rgba(0,0,0,0.05); margin-top: 2rem; flex-wrap: wrap; gap: 1rem; }
.copyright-text { text-align: left; font-size: 0.9rem; color: var(--text-secondary); }
.credits { font-size: 0.9rem; color: var(--text-secondary); }
.pi-link { font-weight: 700; color: var(--color-purple); transition: color 0.2s; }
.pi-link:hover { color: var(--color-cyan); }

/* Page content padding */
.page-content { padding-top: calc(var(--header-height) + var(--overheader-height) + 3rem); padding-bottom: 4rem; }

/* Inner page hero sections: compensate for fixed header */
.inner-hero {
  padding-top: calc(var(--header-height) + var(--overheader-height) + 4rem) !important;
}

/* =============================================
   CONTACTO PAGE STYLES
   Pegar en: Apariencia → Personalizar → CSS adicional
   o al final de style.css del tema
   ============================================= */

/* Hero */
.ct-hero {
  background: linear-gradient(to bottom, rgba(15,23,42,.88), rgba(15,23,42,.65)),
    url('https://images.unsplash.com/photo-1573164713988-8665fc963095?w=1600') center/cover no-repeat;
  min-height: 50vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
}
.ct-hero-inner {
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
  padding: 0 2rem;
}
.ct-hero-title {
  color: white;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1.25rem;
}
.ct-hero-highlight {
  background: linear-gradient(120deg, #00b4d8, #7209b7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ct-hero-sub {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
}

/* Contenedor general */
.ct-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Sección 2 Cards */
.ct-cards-section {
  padding: 4rem 0 2rem;
  background: #f8fafc;
}
.ct-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.ct-card {
  padding: 3rem;
  border-radius: 2rem;
}
.ct-card-white {
  background: white;
  box-shadow: 0 15px 40px rgba(0,0,0,.07);
  border: 1px solid rgba(0,0,0,.05);
}
.ct-card-purple {
  background: #7209b7;
  box-shadow: 0 15px 40px rgba(114,9,183,.25);
}
.ct-card-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
}
.ct-icon-purple { background: rgba(114,9,183,.08); }
.ct-icon-white  { background: rgba(255,255,255,.2); }

.ct-card-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #0f172a;
}
.ct-card-desc {
  margin-bottom: 2rem;
  line-height: 1.7;
  color: #64748b;
}
.ct-white    { color: white !important; }
.ct-white-80 { color: rgba(255,255,255,.8) !important; }
.ct-white-60 { color: rgba(255,255,255,.6) !important; }

/* Info items dentro de cards */
.ct-info-list { display: flex; flex-direction: column; gap: 1rem; }
.ct-info-item {
  background: #f8fafc;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(0,0,0,.05);
}
.ct-info-item-purple {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
}
.ct-info-link { text-decoration: none; }
.ct-info-emoji { font-size: 1.25rem; }
.ct-info-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: .08em;
  margin: 0 0 .2rem;
}
.ct-info-value {
  font-weight: 600;
  color: #0f172a;
  margin: 0;
}

/* Sección formulario */
.ct-form-section {
  padding: 5rem 0;
  background: white;
}
.ct-form-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 4rem;
  align-items: start;
}
.ct-form-box {
  background: #f8fafc;
  padding: 3.5rem;
  border-radius: 2rem;
  border: 1px solid rgba(0,0,0,.05);
}
.ct-form-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #0f172a;
}
.ct-form { display: flex; flex-direction: column; gap: 1.5rem; }
.ct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.ct-field { display: flex; flex-direction: column; }
.ct-label {
  font-size: .85rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: .5rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.ct-input {
  width: 100%;
  box-sizing: border-box;
  padding: .85rem 1.25rem;
  border: 1.5px solid #e2e8f0;
  border-radius: .75rem;
  font-size: 1rem;
  font-family: inherit;
  background: white;
  outline: none;
  transition: border-color .2s;
}
.ct-input:focus { border-color: #7209b7; }
.ct-textarea {
  min-height: 160px;
  resize: vertical;
}
.ct-submit-btn {
  width: 100%;
  font-size: 1.1rem;
  background: #7209b7;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: .75rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s;
}
.ct-submit-btn:hover { background: #5a0894; }

/* Sidebar */
.ct-sidebar { display: flex; flex-direction: column; gap: 2rem; }
.ct-sidebar-box {
  background: #f8fafc;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(0,0,0,.06);
}
.ct-sidebar-title {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: #0f172a;
}
.ct-sede-info { color: #64748b; line-height: 2; }
.ct-sede-info p { margin: 0; }
.ct-sede-strong { font-weight: 600; color: #0f172a; }
.ct-social-block {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,.07);
}
.ct-social-title { font-weight: 800; font-size: 1rem; margin-bottom: 1rem; }
.ct-social-icons { display: flex; gap: .75rem; }
.ct-social-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  text-decoration: none;
}
.ct-social-cyan   { background: rgba(0,180,216,.1); }
.ct-social-purple { background: rgba(114,9,183,.1); }

/* Mapa */
.ct-map-box {
  background: linear-gradient(135deg, #03045e 0%, #7209b7 100%);
  border-radius: 1.5rem;
  padding: 2.5rem;
  color: white;
  text-align: center;
}
.ct-map-emoji  { font-size: 4rem; margin-bottom: 1rem; }
.ct-map-title  { color: white; font-size: 1.25rem; margin-bottom: .5rem; }
.ct-map-sub    { color: rgba(255,255,255,.75); font-size: .9rem; margin-bottom: 1.5rem; }
.ct-map-cities {
  background: rgba(255,255,255,.15);
  border-radius: .75rem;
  padding: .75rem;
  font-size: .8rem;
  font-weight: 700;
}

/* Horario */
.ct-horario { display: flex; flex-direction: column; gap: .75rem; font-size: .9rem; }
.ct-horario-row {
  display: flex;
  justify-content: space-between;
  color: #64748b;
}
.ct-horario-row span:first-child { font-weight: 600; }

/* Responsive */
@media (max-width: 768px) {
  .ct-cards-grid,
  .ct-form-grid,
  .ct-form-row { grid-template-columns: 1fr; }
  .ct-hero { padding: 6rem 0 3rem; }
  .ct-form-box { padding: 2rem; }
}

/* ================================================
   ASESORARTE — CSS GLOBAL PARA PÁGINAS ELEMENTOR
   Pegar al final de style.css del tema
   ================================================ */

/* ----- CARD BASE ----- */
.card {
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.05);
  transition: transform .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 20px -5px rgba(0,0,0,.1); }

/* ----- SECCIONES ----- */
.as-section       { padding: 5rem 0; }
.as-section-sm    { padding: 3rem 0; }
.as-bg-white      { background: white; }
.as-bg-surface    { background: var(--bg-color); }
.as-bg-dark       { background: var(--text-primary); }
.as-bg-purple     { background: var(--color-purple); }
.as-bg-blue       { background: var(--color-blue-dark); }
.as-bg-cyan       { background: var(--color-cyan); }
.as-bg-orange     { background: var(--color-orange); }
.as-bg-red        { background: var(--color-red); }
.as-bg-grad-purple { background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-blue-dark) 100%); }

/* ----- HERO INNER (compensa header fijo) ----- */
.as-hero {
  padding-top: calc(var(--header-height) + var(--overheader-height) + 4rem);
  padding-bottom: 4rem;
  min-height: 45vh;
  display: flex;
  align-items: center;
}
.as-hero-centered { text-align: center; }
.as-hero-title { font-size: clamp(2rem,4vw,3rem); line-height: 1.2; margin-bottom: 1.25rem; }
.as-hero-sub   { font-size: 1.1rem; max-width: 700px; line-height: 1.7; margin: 0; }
.as-hero-sub-muted { color: var(--text-secondary); }
.as-hero-sub-white { color: rgba(255,255,255,.85); }

/* ----- BADGES ----- */
.as-badge {
  font-weight: 700;
  font-size: .85rem;
  padding: .4rem 1rem;
  border-radius: 2rem;
  display: inline-block;
  margin-bottom: 1.5rem;
}
.as-badge-xs { font-size: .75rem; padding: .3rem .75rem; margin-bottom: .75rem; }
.as-badge-cyan       { background: rgba(0,180,216,.1);    color: var(--color-cyan); }
.as-badge-cyan-solid { background: var(--color-cyan);     color: white; }
.as-badge-purple     { background: rgba(114,9,183,.1);    color: var(--color-purple); }
.as-badge-orange     { background: rgba(251,133,0,.1);    color: var(--color-orange); }
.as-badge-red        { background: rgba(208,0,0,.1);      color: var(--color-red); }
.as-badge-blue       { background: rgba(3,4,94,.08);      color: var(--color-blue-dark); }
.as-badge-green      { background: rgba(16,185,129,.1);   color: #10b981; }
.as-badge-white      { background: rgba(255,255,255,.2);  color: white; }
.as-badge-yellow     { background: var(--color-yellow);   color: var(--color-blue-dark); font-weight: 800; }
.as-badge-white-solid { background: white;                color: var(--color-blue-dark); }

/* ----- GRIDS ----- */
.as-grid-2   { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.as-grid-3   { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
.as-grid-4   { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; }
.as-grid-1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: start; }
.as-grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; align-items: start; }
.as-grid-2-3 { display: grid; grid-template-columns: 2fr 3fr; gap: 4rem; align-items: start; }
.as-grid-1-15 { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.as-grid-img  { display: grid; grid-template-columns: 280px 1fr; }
.as-grid-event { display: grid; grid-template-columns: 110px 1fr auto; gap: 2rem; align-items: center; }
.as-grid-1-1  { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.as-flex-col    { display: flex; flex-direction: column; gap: 1.5rem; }
.as-flex-col-sm { display: flex; flex-direction: column; gap: 1rem; }
.as-flex-row    { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ----- ICON BOX ----- */
.as-icon {
  width: 4rem; height: 4rem;
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}
.as-icon-lg { width: 5rem; height: 5rem; font-size: 2rem; }
.as-icon-purple { background: var(--color-purple); color: white; }
.as-icon-cyan   { background: var(--color-cyan);   color: white; }
.as-icon-orange { background: var(--color-orange); color: white; }
.as-icon-blue   { background: var(--color-blue-dark); color: white; }
.as-icon-red    { background: var(--color-red);    color: white; }
.as-icon-green  { background: #10b981;             color: white; }
.as-icon-purple-soft { background: rgba(114,9,183,.08); }
.as-icon-white-soft  { background: rgba(255,255,255,.2); }

/* ----- STATS ----- */
.as-stat { text-align: center; padding: 1.5rem; background: var(--bg-color); border-radius: 1rem; }
.as-stat-num   { font-size: 2.5rem; font-weight: 800; line-height: 1.1; }
.as-stat-label { font-size: .85rem; color: var(--text-secondary); font-weight: 600; margin-top: .25rem; }
.as-num-purple { color: var(--color-purple); }
.as-num-cyan   { color: var(--color-cyan); }
.as-num-orange { color: var(--color-orange); }
.as-num-blue   { color: var(--color-blue-dark); }
.as-num-green  { color: #10b981; }

/* ----- PASO / BORDER-LEFT CARD ----- */
.as-paso {
  padding: 1.5rem;
  border-radius: 1rem;
  background: white;
  border-left: 4px solid;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.05);
}
.as-paso-cyan   { border-color: var(--color-cyan); }
.as-paso-purple { border-color: var(--color-purple); }
.as-paso-orange { border-color: var(--color-orange); }
.as-paso-blue   { border-color: var(--color-blue-dark); }
.as-paso-green  { border-color: #10b981; }
.as-paso h4     { margin-bottom: .75rem; }

/* ----- STEP CARD ----- */
.as-step {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem 2rem 2rem 1.5rem;
  display: flex; gap: 1.5rem; align-items: flex-start;
  border: 1px solid rgba(0,0,0,.07);
}
.as-step-num {
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.25rem;
  flex-shrink: 0; color: white;
}
.as-step-purple  { background: var(--color-purple); }
.as-step-cyan    { background: var(--color-cyan); }
.as-step-orange  { background: var(--color-orange); }
.as-step-grad    { background: linear-gradient(135deg, var(--color-purple), var(--color-blue-dark)); }

/* ----- INFO ROWS (contacto, etc.) ----- */
.as-info-item {
  background: var(--bg-color);
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  display: flex; align-items: center; gap: 1rem;
  border: 1px solid rgba(0,0,0,.05);
}
.as-info-item-dark {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
}
.as-info-label {
  font-size: .75rem; font-weight: 700;
  text-transform: uppercase; color: var(--text-secondary);
  letter-spacing: .08em; margin: 0 0 .2rem;
}
.as-info-label-w { color: rgba(255,255,255,.6); }
.as-info-val     { font-weight: 600; color: var(--text-primary); margin: 0; }
.as-info-val-w   { color: white; margin: 0; }

/* ----- EVENT DATE BOX ----- */
.as-date-box {
  border-radius: 1rem; padding: 1.25rem;
  text-align: center; color: white;
}
.as-date-num   { font-size: 2rem; font-weight: 900; line-height: 1; }
.as-date-month { font-size: .8rem; font-weight: 600; opacity: .9; }
.as-chip {
  background: var(--bg-color); color: var(--text-secondary);
  padding: .6rem 1.25rem; border-radius: .5rem;
  font-size: .8rem; font-weight: 600; white-space: nowrap;
}

/* ----- NEWS ROW ----- */
.as-news-img  { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.as-news-body { padding: 2rem; }
.as-news-meta { display: flex; gap: .75rem; margin-bottom: 1rem; align-items: center; }
.as-news-date { font-size: .85rem; color: var(--text-secondary); }
.as-news-h    { font-size: 1.4rem; margin-bottom: 1rem; line-height: 1.3; }
.as-news-p    { color: var(--text-secondary); font-size: .95rem; line-height: 1.7; margin-bottom: 1.5rem; }
.as-news-link { color: var(--color-cyan); font-weight: 700; font-size: .85rem; text-transform: uppercase; }

/* ----- PROGRESS BARS ----- */
.as-progress-wrap { margin-bottom: 1rem; }
.as-progress-label { display: flex; justify-content: space-between; font-size: .85rem; font-weight: 700; margin-bottom: .4rem; }
.as-progress-track { background: rgba(0,0,0,.08); border-radius: 1rem; height: .6rem; overflow: hidden; }
.as-progress-bar   { height: 100%; border-radius: 1rem; }

/* ----- QUOTE BOX ----- */
.as-quote-box {
  background: rgba(0,180,216,.08);
  border: 1px solid rgba(0,180,216,.2);
  border-radius: 1rem; padding: 1.5rem; margin-top: 1.5rem;
}

/* ----- CONTACT BUTTONS ----- */
.as-btn-wa   { display:flex;align-items:center;gap:1rem;background:#25d366;color:white;padding:1.25rem 1.75rem;border-radius:1rem;text-decoration:none;font-weight:700; }
.as-btn-mail { display:flex;align-items:center;gap:1rem;background:var(--bg-color);color:var(--text-primary);padding:1.25rem 1.75rem;border-radius:1rem;text-decoration:none;font-weight:700;border:1px solid rgba(0,0,0,.08); }
.as-btn-crisis { background:rgba(255,77,77,.06);border:1px solid rgba(255,77,77,.15);border-radius:1rem;padding:1.25rem 1.75rem;display:flex;gap:1rem;align-items:center; }

/* ----- CTA SECTIONS ----- */
.as-cta { padding: 5rem 0; text-align: center; }
.as-cta-title { color: white; font-size: 2.5rem; margin-bottom: 1.5rem; line-height: 1.2; }
.as-cta-sub   { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 3rem; max-width: 700px; margin-left: auto; margin-right: auto; }

/* ----- QR CARD (Donar) ----- */
.as-qr-card {
  background: white; border-radius: 2rem;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
  border: 1px solid rgba(0,0,0,.06);
  text-align: center; position: relative; overflow: hidden;
}
.as-qr-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--color-purple), var(--color-cyan));
}
.as-qr-wrap {
  background: white;
  border: 3px solid var(--color-blue-dark);
  border-radius: 1.25rem; padding: 1.25rem;
  display: inline-block; margin-bottom: 1.25rem;
  box-shadow: 0 8px 24px rgba(3,4,94,.12);
}
.as-payment-pill {
  background: var(--bg-color);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.as-payment-icon {
  width: 3rem; height: 3rem; border-radius: .75rem;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1rem; flex-shrink: 0; color: white;
}

/* ----- TRANSPARENCIA ----- */
.as-commitments {
  background: var(--text-primary);
  border-radius: 1.75rem; padding: 2.5rem; color: white;
}
.as-commit-item {
  display: flex; gap: .85rem; align-items: flex-start;
  font-size: .9rem; color: rgba(255,255,255,.85);
}
.as-check { color: var(--color-cyan); flex-shrink: 0; font-weight: 800; }

/* ----- TESTIMONIO CARD ----- */
.as-testimonio { padding: 2rem; border: 1px solid rgba(0,0,0,.07); border-radius: 1.5rem; background: white; }
.as-testimonio-quote { font-style: italic; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.25rem; font-size: .95rem; }
.as-avatar {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: white; flex-shrink: 0;
}

/* ----- MATERIALS BADGE ----- */
.as-mat-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.15); color: white;
  font-size: .8rem; font-weight: 700;
  padding: .4rem .9rem; border-radius: 2rem;
  border: 1px solid rgba(255,255,255,.25);
}

/* ----- IMAGES ----- */
.as-img-full   { width: 100%; border-radius: 1.5rem; object-fit: cover; max-height: 400px; }
.as-img-card   { width: 100%; height: 180px; object-fit: cover; border-radius: .75rem; margin-bottom: 1.5rem; }

/* ----- UTILS ----- */
.as-text-white    { color: white !important; }
.as-text-white-80 { color: rgba(255,255,255,.8) !important; }
.as-text-muted    { color: var(--text-secondary); }
.as-mb-3  { margin-bottom: 3rem; }
.as-mb-2  { margin-bottom: 2rem; }
.as-mb-15 { margin-bottom: 1.5rem; }
.as-center { text-align: center; }
.as-max-900 { max-width: 900px; }
.as-max-800 { max-width: 800px; margin-left: auto; margin-right: auto; }
.as-max-700 { max-width: 700px; margin-left: auto; margin-right: auto; }
.as-sticky { position: sticky; top: calc(var(--header-height) + var(--overheader-height) + 2rem); }

/* ----- RESPONSIVO ----- */
@media (max-width: 768px) {
  .as-grid-2, .as-grid-3, .as-grid-4,
  .as-grid-1-2, .as-grid-2-1, .as-grid-2-3,
  .as-grid-1-15, .as-grid-img,
  .as-grid-event, .as-grid-1-1 { grid-template-columns: 1fr; }
  .as-section { padding: 3rem 0; }
  .as-hero    { padding-bottom: 2rem; }
  .as-step    { flex-direction: column; }
}


