/*
Theme Name: AlmaCan
Theme URI: https://almacan.com
Author: AlmaCan
Description: Tema oficial AlmaCan - Banner card flotante, popups de cursos, mapa editable, compatible con Elementor y Gutenberg.
Version: 4.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: almacan
Tags: one-page, elementor, custom-colors, custom-menu, featured-images, responsive-layout
*/

:root {
  --color-primary:      #2BAE8E;
  --color-primary-dark: #1E8A6F;
  --color-primary-light:#E8F7F4;
  --color-accent:       #F4A623;
  --color-accent-dark:  #D4891A;
  --color-dark:         #1A2332;
  --color-text:         #3D4B5C;
  --color-text-light:   #6B7A8D;
  --color-border:       #E5EDF0;
  --color-white:        #FFFFFF;
  --color-bg:           #ffffff;
  --color-bg-section:   #D6EEEA;
  --color-hero-bg:      #D6EEEA;
  --font-heading: 'Recoleta Alt', 'Playfair Display', Georgia, serif;
  --font-body:    'Asen Pro', 'DM Sans', 'Segoe UI', sans-serif;
  --shadow-sm: 0 2px 8px rgba(43,174,142,.08);
  --shadow-md: 0 4px 20px rgba(43,174,142,.14);
  --shadow-lg: 0 8px 40px rgba(26,35,50,.14);
  --shadow-xl: 0 20px 60px rgba(26,35,50,.20);
  --radius-sm: 8px; --radius-md: 14px; --radius-lg: 22px; --radius-xl: 32px;
  --transition: 0.3s ease;
  --container: 1200px;
  --header-h:  70px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar { padding-top: 32px; }
@media (max-width: 782px) { body.admin-bar { padding-top: 46px; } }

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-dark); }
ul  { list-style: none; }

/* TIPOGRAFIA */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  line-height: 1.25; font-weight: 700;
  margin-bottom: .75rem;
}
h1 { font-size: clamp(2rem,5vw,3.2rem); }
h2 { font-size: clamp(1.6rem,3vw,2.4rem); }
h3 { font-size: clamp(1.1rem,2vw,1.4rem); }
p  { margin-bottom: 1rem; }

/* Contenido del editor */
.entry-content h2,
.entry-content h3,
.entry-content h4 { margin-top: 1.75rem; }
.entry-content ul,
.entry-content ol  { padding-left: 1.5rem; margin-bottom: 1rem; }
.entry-content ul  { list-style: disc; }
.entry-content ol  { list-style: decimal; }
.entry-content li  { margin-bottom: .4rem; }
.entry-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding: .75rem 1.5rem;
  background: var(--color-bg-section);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0; font-style: italic;
}
.entry-content img { border-radius: var(--radius-md); margin: 1.5rem 0; }
.entry-content a   { text-decoration: underline; }

/* LAYOUT */
.container   { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section     { padding: 80px 0; }
.section-alt { background: var(--color-bg-section); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.section-header p { color: var(--color-text-light); font-size: 1.05rem; margin: 0; }

/* BOTONES */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem; border-radius: 50px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  cursor: pointer; border: 2px solid transparent;
  transition: all var(--transition); text-decoration: none !important;
}
.btn-primary { background: var(--color-accent); color: #fff !important; border-color: var(--color-accent); }
.btn-primary:hover { background: var(--color-accent-dark); border-color: var(--color-accent-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(244,166,35,.4); }
.btn-outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: #fff !important; transform: translateY(-2px); }
.btn-white   { background: #fff; color: var(--color-primary) !important; border-color: #fff; }
.btn-white:hover { background: transparent; color: #fff !important; }

/* =============================================
   HEADER
============================================= */

#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: #02ada4 !important;
  border-bottom: none;
  transition: box-shadow var(--transition);
  height: var(--header-h);
}
body.admin-bar #site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar #site-header { top: 46px; } }
#site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.15); background: #02ada4 !important; }

.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: var(--header-h); gap: 2rem;
}
.site-logo {
  font-family: var(--font-heading); font-size: 1.6rem;
  font-weight: 700; color: #fff !important; text-decoration: none !important;
}
.site-logo span { color: #fff; }

/* Logo — tamaño controlado */
.site-logo,
.custom-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}
.site-logo img,
.site-logo .custom-logo,
.custom-logo-link img,
a.site-logo img {
  height: 38px !important;
  width: auto !important;
  max-width: none !important;
  max-height: 38px !important;
  object-fit: contain !important;
  display: block !important;
}

.main-navigation ul { display: flex; gap: 1.2rem; align-items: center; white-space: nowrap; }
.main-navigation a {
  font-weight: 500; color: #fff !important; font-size: .95rem;
  padding: .25rem 0; position: relative;
}
.main-navigation a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--color-primary);
  transition: width var(--transition);
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a { color: #fff !important; }
.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after { width: 100%; }

.header-social { display: flex; gap: .75rem; align-items: center; }
.header-social a {
  width: 34px; height: 34px; display: flex; align-items: center;
  justify-content: center; border-radius: 50%;
  background: #ffffff; color: var(--color-text);
  font-size: .9rem; transition: all var(--transition); text-decoration: none !important;
}
.header-social a:hover { background: rgba(255,255,255,.2); color: #fff; transform: translateY(-2px); }

.header-actions { display: flex; align-items: center; gap: 1rem; }

.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: .5rem; flex-direction: column; gap: 5px;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--color-dark); transition: all var(--transition); border-radius: 2px;
}

/* =============================================
   HERO — BANNER CARD FLOTANTE
   Fondo mint claro, banner como tarjeta redondeada
   igual al diseño de referencia
============================================= */
#hero {
  padding-top: var(--header-h);
  background: var(--color-hero-bg);
  padding-bottom: 2.5rem;
}

/* ─── HERO — card flotante con slider ─── */
#hero {
  background: #D6EEEA;
  padding: 36px 40px 0;
  box-sizing: border-box;
  margin-top: 16px;
}

/* La card flota sobre la siguiente sección */
.hero-wrap {
  position: relative;
  border-radius: 20px;
  overflow: visible;       /* dots y botones no se cortan */
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  margin-bottom: -90px;   /* efecto flotante */
}

/* Contenedor que SÍ tiene overflow:hidden (solo para las imágenes) */
.hero-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 440px;        /* height explicito para position:absolute slides */
  min-height: 440px;
}

/* ─── Slider ─── */
.hero-slider {
  position: relative;
  width: 100%;
  height: 440px;
  overflow: hidden;
  border-radius: 20px;
}
.hero-slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity .7s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,20,35,.12) 0%, rgba(10,20,35,.58) 100%);
}

/* ─── Texto encima del slider ─── */
.hero-text {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 3rem;
  pointer-events: none;
}
.hero-text > * { pointer-events: auto; }

/* Posiciones del texto por slide */
.hero-text--left  { align-items: flex-start; text-align: left;   padding-left: 5%; }
.hero-text--right { align-items: flex-end;   text-align: right;  padding-right: 5%; }
.hero-text--center{ align-items: center;     text-align: center; }

.hero-text h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.hero-text p {
  font-size: clamp(.95rem, 1.8vw, 1.1rem);
  color: rgba(255,255,255,.92);
  margin-bottom: 1.75rem;
  line-height: 1.65;
  max-width: 580px;
  text-shadow: 0 1px 6px rgba(0,0,0,.3);
}
.hero-text .btn-primary {
  font-size: 1rem;
  padding: .85rem 2.4rem;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(244,166,35,.5);
}

/* ─── Flechas nav ─── */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  border: none; cursor: pointer;
  color: #1A2332;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
  transition: all .2s;
}
.hero-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.hero-arrow-prev { left: 16px; }
.hero-arrow-next { right: 16px; }

/* ─── Dots ─── */
.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 4;
}
.hero-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: none; cursor: pointer;
  background: rgba(255,255,255,.45);
  padding: 0;
  transition: background .3s;
}
.hero-dot.active { background: #F4A623; }

/* ─── Barra de progreso ─── */
.hero-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  background: var(--color-accent, #F4A623);
  z-index: 4;
  width: 0;
  transition: width linear;
}

/* ─── Sección Cursos necesita padding extra por el margin-bottom negativo ─── */
#cursos { padding-top: 140px !important; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  #hero { padding: 24px 20px 0; }
  .hero-card { height: 360px; min-height: 360px; }
  .hero-text { padding: 2rem 1.5rem; }
  .hero-wrap { margin-bottom: -70px; }
  #cursos { padding-top: 100px !important; }
}
@media (max-width: 600px) {
  #hero { padding: 16px 12px 0; margin-top: 8px; }
  .hero-card { height: 280px; min-height: 280px; }
  .hero-text { padding: 1.5rem 1rem; }
  .hero-wrap { margin-bottom: -55px; border-radius: 16px; }
  .hero-card { border-radius: 16px; }
  #cursos { padding-top: 80px !important; }
}

/* =============================================
   CURSOS
============================================= */
.courses-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem;
}
.course-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition); box-shadow: var(--shadow-sm);
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--color-primary); }
.course-image { height: 360px; overflow: hidden; position: relative; display: block; }
.course-image img { width: 100%; height: 360px; object-fit: cover; object-position: center; display: block; transition: transform .5s ease; }
.course-card:hover .course-image img { transform: scale(1.08); }
.course-badge {
  position: absolute; top: .75rem; left: .75rem;
  background: var(--color-primary); color: #fff;
  font-size: .73rem; font-weight: 600;
  padding: .25rem .75rem; border-radius: 50px;
}
.course-body   { padding: 1.25rem 1.5rem 1.5rem; }
.course-body h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.course-body p  { font-size: .88rem; color: var(--color-text-light); line-height: 1.6; margin-bottom: 1rem; }
.course-link {
  font-weight: 600; font-size: .88rem; color: var(--color-primary);
  display: inline-flex; align-items: center; gap: .35rem;
  transition: gap var(--transition);
  background: none; border: none; cursor: pointer;
  padding: 0; font-family: var(--font-body);
}
.course-link:hover { gap: .65rem; color: var(--color-primary-dark); }

/* =============================================
   POPUP MODAL
============================================= */
.ac-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(26,35,50,.72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
.ac-overlay.open { opacity: 1; visibility: visible; }
.ac-modal {
  background: #fff; border-radius: var(--radius-xl);
  max-width: 720px; width: 100%; max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-xl); position: relative;
  transform: translateY(30px) scale(.97);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.ac-overlay.open .ac-modal { transform: translateY(0) scale(1); }
.ac-modal::-webkit-scrollbar { width: 6px; }
.ac-modal::-webkit-scrollbar-track { background: var(--color-bg); }
.ac-modal::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 3px; }

.modal-img-wrap img { width: 100%; height: 240px; object-fit: cover; border-radius: var(--radius-xl) var(--radius-xl) 0 0; display: block; }
.modal-img-wrap .modal-placeholder {
  width: 100%; height: 200px;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-bg-section));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  display: flex; align-items: center; justify-content: center; font-size: 4rem;
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 40px; height: 40px; background: rgba(255,255,255,.9);
  border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--color-dark);
  transition: all var(--transition); box-shadow: var(--shadow-sm);
}
.modal-close:hover { background: var(--color-dark); color: #fff; transform: rotate(90deg); }
.modal-body   { padding: 2rem 2.5rem 2.5rem; }
.modal-tags   { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.modal-tag    { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .9rem; border-radius: 50px; font-size: .8rem; font-weight: 600; }
.modal-tag.tg-level    { background: var(--color-primary-light); color: var(--color-primary-dark); }
.modal-tag.tg-duration { background: #FFF3E0; color: #E65100; }
.modal-tag.tg-price    { background: #E8F5E9; color: #2E7D32; }
.modal-body h2         { font-size: 1.7rem; margin-bottom: .5rem; }
.modal-excerpt         { font-size: 1rem; color: var(--color-text-light); margin-bottom: 1.5rem; font-style: italic; }
.modal-content h3      { font-size: 1.05rem; margin: 1.5rem 0 .65rem; padding-bottom: .4rem; border-bottom: 2px solid var(--color-primary-light); }
.modal-content h3:first-child { margin-top: 0; }
.modal-content p       { font-size: .93rem; }
.modal-content ul      { margin-bottom: 1rem; padding-left: 0; }
.modal-content ul li   { font-size: .93rem; padding: .35rem 0 .35rem 1.5rem; position: relative; border-bottom: 1px solid var(--color-border); }
.modal-content ul li::before { content: '✓'; position: absolute; left: 0; color: var(--color-primary); font-weight: 700; }
.modal-includes        { background: var(--color-bg-section); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.modal-includes h4     { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--color-text-light); margin-bottom: .75rem; font-family: var(--font-body); }
.modal-includes ul     { display: flex; flex-wrap: wrap; gap: .5rem; }
.modal-includes ul li  { background: #fff; border: 1px solid var(--color-border); border-radius: 50px; padding: .3rem .9rem; font-size: .82rem; }
.modal-includes ul li::before { content: none; }
.modal-footer { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.modal-price .lbl { font-size: .8rem; color: var(--color-text-light); }
.modal-price .amt { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--color-primary); line-height: 1; }
.modal-spin { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4rem 2rem; gap: 1rem; color: var(--color-text-light); }
.modal-spin-ring { width: 44px; height: 44px; border: 3px solid var(--color-border); border-top-color: var(--color-primary); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =============================================
   BENEFITS
============================================= */
.benefits-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; max-width: 820px; margin: 0 auto; }
.benefit-item {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: #fff; padding: 1.5rem; border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition);
}
.benefit-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.benefit-icon { width: 52px; height: 52px; min-width: 52px; background: var(--color-primary-light); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.benefit-text h4 { margin-bottom: .4rem; font-size: 1rem; }
.benefit-text p  { font-size: .87rem; color: var(--color-text-light); margin: 0; }

.social-benefits { margin-top: 3rem; display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.social-benefit { text-align: center; padding: 1.5rem; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: transform var(--transition); }
.social-benefit:hover { transform: translateY(-4px); }
.social-benefit .si { font-size: 2rem; margin-bottom: .75rem; display: block; }
.social-benefit h4  { font-size: 1rem; margin-bottom: .5rem; }
.social-benefit p   { font-size: .84rem; color: var(--color-text-light); margin: 0; }

/* =============================================
   TESTIMONIOS
============================================= */
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.testi-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.75rem; transition: all var(--transition); box-shadow: var(--shadow-sm); }
.testi-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.testi-quote { font-size: 2.5rem; color: var(--color-primary); opacity: .35; line-height: 1; margin-bottom: 1rem; font-family: Georgia, serif; }
.testi-text  { font-size: .91rem; line-height: 1.7; margin-bottom: 1.25rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: .75rem; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--color-primary-light); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; color: var(--color-primary); font-size: 1.1rem; overflow: hidden; }
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-name  { font-weight: 600; font-size: .9rem; color: var(--color-dark); display: block; }
.stars       { color: var(--color-accent); font-size: .85rem; }
.testi-tags  { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--color-border); }
.chip        { background: var(--color-bg); color: var(--color-text-light); font-size: .75rem; padding: .2rem .65rem; border-radius: 50px; font-weight: 500; }

/* =============================================
   PRICING
============================================= */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; max-width: 900px; margin: 0 auto; align-items: start; }
.pricing-card { background: #fff; border: 2px solid var(--color-border); border-radius: var(--radius-xl); padding: 2rem; text-align: center; transition: all var(--transition); position: relative; overflow: hidden; }
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pricing-card.featured { border-color: var(--color-primary); background: var(--color-primary); transform: scale(1.05); box-shadow: var(--shadow-lg); }
.pricing-card.featured:hover { transform: scale(1.05) translateY(-6px); }
.pricing-badge { position: absolute; top: 0; right: 0; background: var(--color-accent); color: #fff; font-size: .75rem; font-weight: 700; padding: .4rem 1rem; border-radius: 0 0 0 var(--radius-md); }
.pricing-name  { font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .5rem; color: var(--color-text-light); }
.pricing-card.featured .pricing-name { color: rgba(255,255,255,.75); }
.pricing-price { margin-bottom: 1.5rem; }
.pricing-price .amount   { font-family: var(--font-heading); font-size: 3rem; font-weight: 700; color: var(--color-dark); line-height: 1; }
.pricing-card.featured .pricing-price .amount { color: #fff; }
.pricing-price .currency { font-size: 1.5rem; vertical-align: super; font-weight: 600; }
.pricing-price .period   { font-size: .9rem; color: var(--color-text-light); }
.pricing-card.featured .pricing-price .period { color: rgba(255,255,255,.7); }
.pricing-features { text-align: left; margin-bottom: 1.5rem; }
.pricing-features li { padding: .45rem 0; font-size: .9rem; display: flex; align-items: center; gap: .5rem; color: var(--color-text); border-bottom: 1px solid var(--color-border); }
.pricing-card.featured .pricing-features li { color: rgba(255,255,255,.9); border-bottom-color: rgba(255,255,255,.15); }
.pricing-features li::before { content: '\2713'; color: var(--color-primary); font-weight: 700; min-width: 16px; }
.pricing-card.featured .pricing-features li::before { color: var(--color-accent); }
.pricing-card .btn { width: 100%; justify-content: center; }
.pricing-card.featured .btn-outline { border-color: #fff; color: #fff; }
.pricing-card.featured .btn-outline:hover { background: #fff; color: var(--color-primary) !important; }

/* =============================================
   CTA
============================================= */
#cta {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, #48C9A9 100%);
  color: #fff; text-align: center; padding: 100px 0;
  position: relative; overflow: hidden;
}
#cta::before,#cta::after { content: ''; position: absolute; border-radius: 50%; }
#cta::before { top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle,rgba(255,255,255,.08) 0%,transparent 70%); }
#cta::after  { bottom: -80px; left: -80px; width: 350px; height: 350px; background: radial-gradient(circle,rgba(255,255,255,.06) 0%,transparent 70%); }
.cta-inner   { position: relative; z-index: 1; }
.cta-inner h2 { color: #fff; font-size: clamp(1.8rem,4vw,3rem); margin-bottom: 1rem; }
.cta-inner p  { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 550px; margin: 0 auto 2rem; }

/* =============================================
   MAPA — fondo blanco, texto oscuro
============================================= */
.ac-map-section {
  background: #ffffff;
}
.ac-map-wrapper {
  display: flex;
  flex-wrap: wrap;
  min-height: 480px;
}
.ac-map-frame {
  flex: 1 1 60%;
  min-width: 300px;
  min-height: 480px;
}
.ac-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: none;
  display: block;
}
.ac-map-panel {
  flex: 1 1 300px !important;
  background: #ffffff !important;
  border-left: 1px solid #E8F0EE !important;
  padding: 3rem 2.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 1.5rem !important;
  color: #1A2332 !important;
}
/* Override any leftover dark map rules */
#ubicacion,
.ac-map-section { background: #ffffff !important; }
#ubicacion > div,
.ac-map-wrapper > div { background: #ffffff !important; }
.ac-map-title {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 1.8rem;
  color: #1A2332;
  line-height: 1.25;
  margin: 0 0 .3rem;
}
.ac-map-title span { color: var(--color-primary, #2BAE8E); }
.ac-map-sub {
  color: #6B7A8D;
  font-size: .93rem;
  margin: 0;
}
.ac-map-rows {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ac-map-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.ac-map-ico {
  width: 42px; height: 42px; min-width: 42px;
  background: #E8F7F4;
  border: 1px solid #C5E8E1;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary, #2BAE8E);
  font-size: 1rem;
}
.ac-map-lbl {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #9FB0AA;
  display: block;
  margin-bottom: .2rem;
}
.ac-map-val {
  color: #1A2332;
  font-size: .92rem;
  font-weight: 500;
  text-decoration: none;
  display: block;
}
.ac-map-val:hover { color: var(--color-primary, #2BAE8E); }
.ac-map-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--color-primary, #2BAE8E);
  color: #fff !important;
  padding: .85rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .93rem;
  text-decoration: none !important;
  align-self: flex-start;
  transition: all .2s;
}
.ac-map-btn:hover {
  background: #1E8A6F;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43,174,142,.35);
}
@media (max-width: 768px) {
  .ac-map-wrapper    { flex-direction: column; }
  .ac-map-frame      { min-height: 300px; }
  .ac-map-frame iframe { min-height: 300px; height: 300px; }
  .ac-map-panel      { border-left: none; border-top: 1px solid #E8F0EE; padding: 2rem 1.5rem; }
}

/* =============================================
   FOOTER
============================================= */
#site-footer { background: #02ada4; color: rgba(255,255,255,.85); padding: 20px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1.4fr; gap: 2.5rem; margin-bottom: 0; align-items: start; }
.footer-brand .site-logo { color: #fff !important; display: block; margin-bottom: .5rem; text-decoration: none !important; }
.footer-logo-link { display: inline-block; text-decoration: none !important; margin-bottom: .5rem; }
.footer-logo-img  { height: 32px !important; width: auto !important; max-width: none !important; object-fit: contain; display: block; }
.footer-logo-text { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: #fff; text-decoration: none; }
.footer-logo-text span { color: rgba(255,255,255,.7); }
.footer-brand p { font-size: .88rem; line-height: 1.5; color: rgba(255,255,255,.8); max-width: 320px; margin: .4rem 0 .6rem; }
.footer-col h4  { color: #fff; font-size: .93rem; margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: .06em; font-family: var(--font-body); }
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul a  { color: rgba(255,255,255,.6); font-size: .9rem; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--color-primary); }
.footer-social   { display: flex; gap: .5rem; margin-top: .5rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); font-size: 1rem; transition: all var(--transition); text-decoration: none !important; }
.footer-social a:hover { background: var(--color-primary); color: #fff; transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.2); padding: .6rem 0; display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: rgba(255,255,255,.4); }

/* =============================================
   PAGINAS INTERNAS
============================================= */
.page-hero { padding: calc(var(--header-h) + 3rem) 0 3rem; background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-bg-section) 100%); text-align: center; }
.page-hero h1 { font-size: clamp(1.8rem,4vw,2.8rem); margin: 0; }
.page-hero .breadcrumb { font-size: .88rem; color: var(--color-text-light); margin-bottom: 1rem; }
.page-hero .breadcrumb a { color: var(--color-primary); }

.page-body { max-width: 860px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
.page-body.with-sidebar { max-width: var(--container); display: grid; grid-template-columns: 1fr 300px; gap: 3rem; align-items: start; }
.page-thumb { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 2rem; }
.sidebar .widget { margin-bottom: 2rem; }
.sidebar .widget-title { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--color-primary-light); }
.post-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; color: var(--color-text-light); font-size: .88rem; }
.post-meta span { display: flex; align-items: center; gap: .4rem; }
.post-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--color-border); }
.post-nav a { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .9rem; max-width: 45%; }

/* Formulario comentarios */
.comments-area { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--color-border); }
.comments-area h2 { font-size: 1.4rem; margin-bottom: 1.5rem; }
.comment-list .comment { padding: 1.25rem 0; border-bottom: 1px solid var(--color-border); }
.comment-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea { width: 100%; padding: .75rem 1rem; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: .95rem; transition: border-color var(--transition); margin-bottom: 1rem; }
.comment-form input:focus,
.comment-form textarea:focus { outline: none; border-color: var(--color-primary); }
.comment-form textarea { min-height: 140px; resize: vertical; }
.comment-form .submit { background: var(--color-primary); color: #fff; padding: .75rem 2rem; border: none; border-radius: 50px; font-family: var(--font-body); font-size: 1rem; font-weight: 600; cursor: pointer; transition: all var(--transition); }
.comment-form .submit:hover { background: var(--color-primary-dark); transform: translateY(-2px); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(1){transition-delay:.05s} .reveal:nth-child(2){transition-delay:.15s}
.reveal:nth-child(3){transition-delay:.25s} .reveal:nth-child(4){transition-delay:.35s}
.reveal:nth-child(5){transition-delay:.42s} .reveal:nth-child(6){transition-delay:.50s}

/* =============================================
   HERO FLOTANTE
============================================= */
/* Hero — forzar ancho completo */
#hero .e-con-inner,
#hero .elementor-widget-container,
#hero .elementor-widget-html { padding:0 !important; width:100% !important; }

/* Espacio entre header y el banner hero */
#hero { margin-top: 24px !important; }

/* Cursos: padding top reducido porque el hero ya tiene padding-bottom */
/* removed conflicting padding */

/* =============================================
   SECCION CONTACTO — AlmaCan (columna unica)
============================================= */

.ac-contact-section {
  background: #D6EEEA;
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}
.ac-contact-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,174,142,.12) 0%, transparent 65%);
  pointer-events: none;
}

/* ── Header centrado ── */
.ac-contact-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.ac-contact-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(43,174,142,.15);
  border: 1px solid rgba(43,174,142,.4);
  color: #2BAE8E;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .45rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.ac-contact-header h2 {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #1A2332 !important;
  line-height: 1.15;
  margin: 0 0 1rem;
  font-weight: 700;
}
.ac-contact-header h2 span { color: #F4A623 !important; }

.ac-contact-header > p {
  color: #5A6A7A;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

/* ── Area del formulario — columna unica sin fondo blanco ── */
.ac-contact-form-area {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Inputs del form nativo sobre fondo oscuro */
.ac-contact-form-area .ac-field label {
  color: #1A2332 !important;
}
.ac-contact-form-area .ac-input {
  background: #fff;
  border-color: #D0E8E3;
  color: #1A2332;
}
.ac-contact-form-area .ac-input::placeholder { color: #9FB0AA; }
.ac-contact-form-area .ac-input:focus {
  background: rgba(255,255,255,.12);
  border-color: #2BAE8E;
  box-shadow: 0 0 0 3px rgba(43,174,142,.2);
  color: #fff;
}

/* CF7 sobre fondo oscuro */
.ac-contact-form-area .wpcf7 label { color: #1A2332 !important; }
.ac-contact-form-area .wpcf7 input:not([type="submit"]),
.ac-contact-form-area .wpcf7 textarea,
.ac-contact-form-area .wpcf7 select {
  width: 100% !important;
  padding: .85rem 1.1rem !important;
  border: 1.5px solid #D0E8E3 !important;
  border-radius: 10px !important;
  font-size: .95rem !important;
  background: #fff !important;
  color: #1A2332 !important;
  outline: none !important;
  box-sizing: border-box !important;
  margin-bottom: .9rem !important;
  transition: border-color .2s, background .2s !important;
}
.ac-contact-form-area .wpcf7 input::placeholder,
.ac-contact-form-area .wpcf7 textarea::placeholder {
  color: #9FB0AA !important;
}
.ac-contact-form-area .wpcf7 input:focus,
.ac-contact-form-area .wpcf7 textarea:focus {
  border-color: #2BAE8E !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(43,174,142,.2) !important;
}
.ac-contact-form-area .wpcf7 input[type="submit"] {
  background: #2BAE8E !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50px !important;
  padding: .95rem 2.5rem !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  width: auto !important;
  transition: all .2s !important;
  display: block !important;
  margin: .5rem auto 0 !important;
}
.ac-contact-form-area .wpcf7 input[type="submit"]:hover {
  background: #1E8A6F !important;
  transform: translateY(-2px);
}
.ac-contact-form-area .wpcf7-response-output {
  border-radius: 10px !important;
  padding: .75rem 1rem !important;
  text-align: center !important;
}

/* Boton nativo sobre oscuro */
.ac-contact-form-area .ac-submit-btn {
  display: block;
  width: 100%;
  justify-content: center;
  margin-top: .5rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .ac-contact-section { padding: 55px 0 70px; }
  .ac-contact-header h2 { font-size: clamp(1.65rem, 7vw, 2.2rem); }
  .ac-contact-header > p { font-size: .93rem; }
  .ac-contact-form-area { padding: 0; }
  .ac-input-row { grid-template-columns: 1fr; }
}



/* ─── 1100px: tablets landscape ──────────────── */
@media (max-width: 1100px) {
  /* hero-wrap full width */
  .hero-card             { min-height: 360px; }
  .courses-grid          { grid-template-columns: repeat(2, 1fr); }
  .footer-grid           { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

/* ─── 900px: tablets ─────────────────────────── */
@media (max-width: 900px) {

  /* Header */
  :root                  { --header-h: 62px; }
  .header-inner          { gap: .6rem; }
  .main-navigation       { display: none !important; }
  .header-social         { display: none !important; }
  #lang-dropdown         { display: none !important; }
  .header-actions        { display: none !important; }
  .menu-toggle           { display: flex !important; }

  /* Grids */
  .courses-grid          { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .testimonials-grid     { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .private-courses-grid  { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .dash-resources        { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

/* ─── 768px: tablets portrait / large phones ─── */
@media (max-width: 768px) {

  /* Espaciado general */
  .section               { padding: 55px 0; }

  /* Hero */
  #hero                  { padding-top: var(--header-h, 62px); }
  /* hero-wrap full width */
  .hero-card             { min-height: 280px; border-radius: 16px;
                           background-attachment: scroll !important; }
  .hero-text             { padding: 2.5rem 1.25rem; }
  .hero-text h1          { font-size: clamp(1.5rem, 6vw, 2.2rem); line-height: 1.15; }
  .hero-text p           { font-size: .95rem; margin-bottom: 1.5rem; }

  /* Grids → 1 columna */
  .benefits-grid         { grid-template-columns: 1fr; gap: 1rem; }
  .social-benefits       { grid-template-columns: 1fr; gap: 1rem; }
  .courses-grid          { grid-template-columns: 1fr; gap: 1rem; }
  .testimonials-grid     { grid-template-columns: 1fr; gap: 1rem; }
  .pricing-grid          { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-card.featured { transform: scale(1); }
  .footer-grid           { grid-template-columns: 1fr; gap: 1.2rem; }

  /* Mapa: apilado */
  .ac-map-wrapper { flex-direction: column !important; }
  .ac-map-frame iframe { height: 300px !important; min-height: 300px !important; }

  /* Contacto */
  #contacto .contact-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }

  /* Páginas internas */
  .page-hero             { padding: calc(var(--header-h, 62px) + 2rem) 0 2rem; }
  .page-hero h1          { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  .page-body             { padding: 2rem 1rem 3rem; }
  .page-body.with-sidebar{ grid-template-columns: 1fr; }
  .post-nav              { flex-direction: column; }
  .post-nav a            { max-width: 100%; }
  .page-thumb            { height: 220px; }

  /* Footer */
  .footer-bottom         { flex-direction: column; gap: .5rem; text-align: center; }

  /* Modal */
  .ac-overlay            { align-items: flex-end; }
  .ac-modal              { border-radius: 20px 20px 0 0; max-height: 92vh; }
  .modal-body            { padding: 1.5rem; }
  .modal-footer          { flex-direction: column; }

  /* Login */
  .login-page            { grid-template-columns: 1fr; grid-template-rows: 220px 1fr; }
  .login-visual-stats    { display: none; }
  .login-visual-quote    { display: none; }
  .login-visual-content  { padding: 1.5rem; justify-content: flex-start; }
  .login-form-col        { padding: 2rem 1.75rem; }

  /* Dashboard */
  .private-courses-grid  { grid-template-columns: 1fr; gap: 1rem; }
  .dash-resources        { grid-template-columns: 1fr; gap: 1rem; }
  .dashboard-hero .container { flex-direction: column; gap: 1rem; align-items: flex-start; }

  /* Leccion privada */
  .lesson-body           { grid-template-columns: 1fr; gap: 1.5rem; }
  .lesson-sidebar        { position: static; }

  /* Elementor containers → columna */
  .e-con[data-id]        { flex-wrap: wrap !important; }
  .e-con.e-child         { width: 100% !important; flex-basis: 100% !important;
                           min-width: 100% !important; }
  .e-con > .e-con-inner  { padding-left: 1rem !important; padding-right: 1rem !important; }
}

/* ─── 600px: phones ──────────────────────────── */
@media (max-width: 600px) {

  /* Layout */
  body                   { overflow-x: hidden; font-size: 15px; }
  .container             { padding: 0 1rem; overflow-x: hidden; }
  .section               { padding: 48px 0; }

  /* Tipografía */
  h1                     { font-size: clamp(1.5rem, 6vw, 2.5rem) !important; }
  h2                     { font-size: clamp(1.25rem, 5vw, 2rem) !important; }
  h3                     { font-size: clamp(1.1rem, 4vw, 1.5rem) !important; }
  img                    { max-width: 100%; height: auto; }
  table                  { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Footer */
  #site-footer           { padding: 20px 0 12px; }
  .footer-bottom         { font-size: .8rem; }

  /* Modal */
  .modal-img-wrap img    { height: 180px; }
  .modal-price .amt      { font-size: 1.6rem; }

  /* Contacto: formulario 1 col */
  .ac-input-row          { grid-template-columns: 1fr !important; }

  /* Login */
  .login-form-col        { padding: 1.5rem 1.25rem; }
  .login-form-top h1     { font-size: 1.5rem; }
  .login-opts            { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .login-page            { grid-template-rows: 180px 1fr; }

  /* Dashboard hero */
  .dash-welcome h1       { font-size: 1.4rem; }
  .dash-meta             { flex-wrap: wrap; gap: .75rem; }

  /* Leccion */
  .lesson-header         { padding: 2rem 0 1.5rem; }
  .lesson-header h1      { font-size: 1.5rem; }
  .lesson-meta           { gap: .75rem; flex-wrap: wrap; }
  .lesson-content        { padding: 1.5rem; }

  /* Elementor textos */
  .elementor-widget-text-editor p { font-size: clamp(.875rem, 3.5vw, 1rem) !important; }
}

/* ─── 480px: small phones ────────────────────── */
@media (max-width: 480px) {

  .hero-card             { min-height: 240px; }
  .hero-text             { padding: 2rem 1rem; }
  .hero-text h1          { font-size: clamp(1.3rem, 7vw, 1.8rem); }

  .login-page            { grid-template-rows: 160px 1fr; }

  /* Elementor H1 en hero */
  .e-con h1,
  .elementor-heading-title[tag="h1"] { font-size: clamp(1.4rem, 6vw, 2rem) !important; }
}

/* ─── Contact Form 7 — estilos del tema ─────── */
.wpcf7 input:not([type="submit"]),
.wpcf7 textarea,
.wpcf7 select {
  width: 100% !important;
  padding: .75rem 1rem !important;
  border: 1.5px solid #E5EDF0 !important;
  border-radius: 10px !important;
  font-family: var(--font-body) !important;
  font-size: .93rem !important;
  outline: none !important;
  transition: border-color .2s !important;
  box-sizing: border-box !important;
  margin-bottom: .75rem !important;
}
.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-color: #2BAE8E !important;
  box-shadow: 0 0 0 3px rgba(43,174,142,.12) !important;
}
.wpcf7 input[type="submit"] {
  background: #2BAE8E !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50px !important;
  padding: .85rem 2rem !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all .2s !important;
  width: auto !important;
}
.wpcf7 input[type="submit"]:hover { background: #1E8A6F !important; }
.wpcf7-response-output { border-radius: 10px !important; padding: .75rem 1rem !important; }
.wpcf7 label { font-weight: 600; font-size: .88rem; color: #1A2332; display: block; margin-bottom: .35rem; }



/* ─── PHP fallback: pricing no tenia responsive ──────────── */
@media (max-width: 600px) {
  .pricing-grid {
    grid-template-columns: 1fr !important;
    max-width: 380px !important;
    margin: 0 auto !important;
  }
  .pricing-card.featured { transform: scale(1) !important; }
}

/* ─── Polylang / selector de idioma ─────────── */
.ac-lang-polylang ul { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.ac-lang-polylang ul li a,
.ac-lang-polylang ul li span {
  display: inline-flex; align-items: center; padding: .3rem .65rem;
  border-radius: 6px; font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  color: var(--color-text-light); text-decoration: none; transition: all var(--transition);
}
.ac-lang-polylang ul li a:hover { background: var(--color-primary-light); color: var(--color-primary); }
.ac-lang-polylang ul li.current-lang a,
.ac-lang-polylang ul li.current-lang span { background: var(--color-primary); color: #fff; }

/* =============================================
   CAROUSEL MOVIL — CSS puro con scroll-snap
   Funciona con Elementor 3 y 4 sin JS.
   Solo actua en pantallas <= 767px.
============================================= */
@media (max-width: 767px) {

  /* ─── Las secciones que se convierten en carousel ─── */
  /* Beneficios, Testimonios, Precios, Cursos */

  /* 1. El container padre de las columnas se convierte en scroll horizontal */
  #beneficios .elementor-section > .elementor-container > .elementor-row,
  #beneficios .e-con > .e-con-inner,
  #benefits .elementor-section > .elementor-container > .elementor-row,
  #benefits .e-con > .e-con-inner,
  #testimonios .elementor-section > .elementor-container > .elementor-row,
  #testimonios .e-con > .e-con-inner,
  #testimonials .e-con > .e-con-inner,
  #precios .elementor-section > .elementor-container > .elementor-row,
  #precios .e-con > .e-con-inner,
  #pricing .e-con > .e-con-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 0 !important;
    padding: 8px 16px 32px !important;
    /* Ocultar scrollbar */
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  #beneficios .e-con > .e-con-inner::-webkit-scrollbar,
  #testimonios .e-con > .e-con-inner::-webkit-scrollbar,
  #precios .e-con > .e-con-inner::-webkit-scrollbar { display: none !important; }

  /* 2. Cada columna = 1 slide de 85% del ancho */
  #beneficios .elementor-row > .elementor-column,
  #beneficios .e-con > .e-con-inner > .e-con,
  #benefits .e-con > .e-con-inner > .e-con,
  #testimonios .elementor-row > .elementor-column,
  #testimonios .e-con > .e-con-inner > .e-con,
  #testimonials .e-con > .e-con-inner > .e-con,
  #precios .elementor-row > .elementor-column,
  #precios .e-con > .e-con-inner > .e-con,
  #pricing .e-con > .e-con-inner > .e-con {
    flex: 0 0 82% !important;
    width: 82% !important;
    min-width: 82% !important;
    max-width: 82% !important;
    scroll-snap-align: center !important;
    margin-right: 12px !important;
  }

  /* 3. Indicador visual: punto abajo usando box-shadow en el container */
  /* (sin JS: se usa la barra de scroll nativa invisible como indicador) */

  /* 4. Fix: quitar transform en pricing card destacada */
  .pricing-card.featured { transform: scale(1) !important; }

  /* 5. Fix: cursos grid -> 1 columna normal (ya son cards independientes) */
  .courses-grid,
  .almacan-courses-dynamic {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 12px !important;
    padding: 0 16px 16px !important;
    scrollbar-width: none !important;
  }
  .courses-grid::-webkit-scrollbar,
  .almacan-courses-dynamic::-webkit-scrollbar { display: none !important; }

  .courses-grid > *,
  .almacan-courses-dynamic > .acd-card {
    flex: 0 0 82% !important;
    min-width: 82% !important;
    scroll-snap-align: center !important;
  }

  /* 6. Testimonios grid (PHP fallback) */
  .testimonials-grid,
  .almacan-testi-dynamic {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 0 16px 16px !important;
    scrollbar-width: none !important;
  }
  .testimonials-grid > *,
  .almacan-testi-dynamic > * {
    flex: 0 0 82% !important;
    min-width: 82% !important;
    scroll-snap-align: center !important;
    margin-right: 12px !important;
  }
}

/* =============================================
   AJUSTES DISEÑO — alineación con mockup
============================================= */

/* ── Sección header (títulos de sección) ── */
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: .75rem;
}
.section-header h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  margin: .75rem auto 0;
}

/* ── Course cards — igual al mockup ── */
.course-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  background: #fff;
}
.course-image { height: 280px; overflow: hidden; display: block; }
.course-image img { width: 100%; height: 280px; object-fit: cover; object-position: center; display: block; transition: transform .4s ease; }
.course-card:hover .course-image img { transform: scale(1.06); }
.course-body { padding: 1.1rem 1.25rem 1.35rem; }
.course-body h3 { font-size: 1rem; font-weight: 700; color: var(--color-dark); margin-bottom: .4rem; }
.course-body p  { font-size: .87rem; color: var(--color-text-light); line-height: 1.55; margin-bottom: .9rem; }
.course-link {
  background: none; border: none; padding: 0;
  color: var(--color-primary); font-weight: 600; font-size: .9rem;
  cursor: pointer; display: inline-flex; align-items: center; gap: .35rem;
}
.course-link:hover { color: var(--color-primary-dark); }

/* ── Benefits 2x2 grid — igual al mockup ── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 780px;
  margin: 0 auto 2rem;
}
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}
.benefit-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.benefit-icon {
  width: 48px; height: 48px; min-width: 48px;
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.benefit-text h4 { font-size: .97rem; font-weight: 700; margin-bottom: .3rem; color: var(--color-dark); }
.benefit-text p  { font-size: .84rem; color: var(--color-text-light); margin: 0; line-height: 1.5; }

/* ── Social benefits row ── */
.social-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.social-benefit {
  text-align: center; padding: 1.5rem 1rem;
  background: #fff; border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}
.social-benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.social-benefit .si { font-size: 1.8rem; margin-bottom: .6rem; display: block; }
.social-benefit h4 { font-size: .95rem; font-weight: 700; margin-bottom: .4rem; }
.social-benefit p  { font-size: .82rem; color: var(--color-text-light); margin: 0; }

/* ── Testimonials — 3 columnas, cards limpias ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.testi-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition);
}
.testi-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.testi-quote { font-size: 2rem; color: var(--color-primary); opacity: .35; line-height: 1; margin-bottom: .5rem; }
.testi-text { font-size: .88rem; color: var(--color-text); line-height: 1.65; margin-bottom: 1.1rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.testi-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--color-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem; overflow: hidden; flex-shrink: 0;
}
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-name  { font-size: .88rem; font-weight: 600; color: var(--color-dark); display: block; }
.stars       { color: #F4A623; font-size: .85rem; letter-spacing: .05em; }
.testi-tags  { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  display: inline-block; padding: .2rem .65rem;
  background: var(--color-primary-light); color: var(--color-primary);
  border-radius: 20px; font-size: .75rem; font-weight: 600;
}

/* ── Pricing grid — mockup estilo ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  align-items: start;
}
.pricing-card {
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
}
.pricing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}
.pricing-name { font-size: 1rem; font-weight: 700; color: var(--color-dark); margin-bottom: .5rem; }
.pricing-card.featured .pricing-name { color: rgba(255,255,255,.85); }
.pricing-price { margin-bottom: 1.25rem; }
.pricing-price .amount { font-size: 2.2rem; font-weight: 800; color: var(--color-dark); }
.pricing-card.featured .pricing-price .amount { color: #fff; }
.pricing-price .currency { font-size: 1.2rem; vertical-align: top; margin-top: .4rem; display: inline-block; }
.pricing-price .period { font-size: .88rem; color: var(--color-text-light); }
.pricing-card.featured .pricing-price .period { color: rgba(255,255,255,.7); }
.pricing-features { list-style: none; margin: 0 0 1.5rem; padding: 0; text-align: left; }
.pricing-features li {
  padding: .55rem 0; font-size: .88rem; color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  display: flex; align-items: center; gap: .5rem;
}
.pricing-features li::before { content: '✓'; color: var(--color-primary); font-weight: 700; flex-shrink: 0; }
.pricing-card.featured .pricing-features li { color: rgba(255,255,255,.9); border-bottom-color: rgba(255,255,255,.15); }
.pricing-card.featured .pricing-features li::before { color: #F4A623; }
.pricing-badge {
  position: absolute; top: -1px; right: 1.25rem;
  background: #F4A623; color: #fff;
  padding: .2rem .75rem; border-radius: 0 0 8px 8px;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
}
.pricing-card .btn { width: 100%; justify-content: center; margin-top: auto; }
.pricing-card.featured .btn { background: #F4A623; border-color: #F4A623; color: #fff; }
.pricing-card.featured .btn:hover { background: #e09520; }

/* ── CTA section — full width verde ── */
#cta {
  background: var(--color-primary);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-inner h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.cta-inner p  { color: rgba(255,255,255,.88); font-size: 1.05rem; max-width: 560px; margin: 0 auto 2rem; }
.btn-accent {
  background: #F4A623; color: #fff; border-color: #F4A623;
  padding: .9rem 2.5rem; font-size: 1rem;
}
.btn-accent:hover { background: #e09520; border-color: #e09520; }

/* ── Footer — 4 columnas igual al mockup ── */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand p { color: rgba(255,255,255,.65); font-size: .88rem; line-height: 1.7; margin: .75rem 0 1.25rem; }
.footer-col h4 { color: #fff; font-size: .88rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul a  { color: rgba(255,255,255,.6); font-size: .87rem; text-decoration: none; transition: color .2s; }
.footer-col ul a:hover { color: var(--color-primary); }

/* ── Responsive mockup ── */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .pricing-card.featured { transform: scale(1); }
}
@media (max-width: 600px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .social-benefits { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .courses-grid { grid-template-columns: 1fr; }
}

/* =============================================
   CAROUSEL MOVIL — Cursos, Precios
   Mismo estilo que Testimonios en móvil
   Solo actúa en ≤767px, desktop intacto
============================================= */
@media (max-width: 767px) {

  /* Activar scroll horizontal en los grids con .ac-carousel */
  .ac-carousel {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 0 !important;
    padding: 8px 16px 20px !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    /* anular el grid de desktop */
    grid-template-columns: unset !important;
  }
  .ac-carousel::-webkit-scrollbar { display: none !important; }

  /* Cada hijo = 1 slide */
  .ac-carousel > * {
    flex: 0 0 82% !important;
    width: 82% !important;
    min-width: 82% !important;
    max-width: 82% !important;
    scroll-snap-align: center !important;
    margin-right: 12px !important;
    box-sizing: border-box !important;
  }
  .ac-carousel > *:first-child { margin-left: 4px !important; }
  .ac-carousel > *:last-child  { margin-right: 20px !important; }

  /* Pricing featured: quitar el scale en móvil */
  .pricing-grid.ac-carousel .pricing-card.featured {
    transform: scale(1) !important;
  }

  /* Testimonios también tiene carousel móvil */
  .testimonials-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 8px 16px 20px !important;
    scrollbar-width: none !important;
    gap: 0 !important;
  }
  .testimonials-grid::-webkit-scrollbar { display: none !important; }
  .testimonials-grid > * {
    flex: 0 0 82% !important;
    min-width: 82% !important;
    scroll-snap-align: center !important;
    margin-right: 12px !important;
  }
}

/* =============================================
   CONTACTO — fondo negro, centrado, acento naranja
============================================= */
.ac-contact-section {
  background: #D6EEEA;
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}
.ac-contact-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2,173,164,.15) 0%, transparent 65%);
  pointer-events: none;
}
.ac-contact-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251,149,30,.12) 0%, transparent 65%);
  pointer-events: none;
}
.ac-contact-header {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}
.ac-contact-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(251,149,30,.15);
  border: 1px solid rgba(251,149,30,.4);
  color: #fb951e;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .55rem 1.4rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}
.ac-contact-header h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #1A2332 !important;
  line-height: 1.15;
  margin: 0 0 1rem;
  font-weight: 700;
}
.ac-contact-header h2 span { color: #02ada4 !important; }
.ac-contact-header > p {
  color: #4a6060;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

/* Formulario centrado */
.ac-contact-form-center {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid rgba(2,173,164,.2);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(2,173,164,.1);
}

/* Labels */
.ac-contact-form-center .ac-field label,
.ac-contact-right .ac-field label,
.ac-contact-form-center .wpcf7 label,
.ac-contact-right .wpcf7 label { color: #1A2332 !important; font-weight: 500 !important; }

/* Inputs */
.ac-contact-form-center .ac-input,
.ac-contact-right .ac-input,
.ac-contact-form-center .wpcf7 input:not([type="submit"]),
.ac-contact-right .wpcf7 input:not([type="submit"]),
.ac-contact-form-center .wpcf7 textarea,
.ac-contact-right .wpcf7 textarea,
.ac-contact-form-center .wpcf7 select,
.ac-contact-right .wpcf7 select {
  width: 100% !important;
  padding: .85rem 1.1rem !important;
  border: 1.5px solid #D6EEEA !important;
  border-radius: 10px !important;
  font-size: .95rem !important;
  background: #f8fbfa !important;
  color: #1A2332 !important;
  outline: none !important;
  box-sizing: border-box !important;
  margin-bottom: .9rem !important;
  transition: border-color .2s, background .2s !important;
}
.ac-contact-form-center .ac-input::placeholder,
.ac-contact-right .ac-input::placeholder,
.ac-contact-form-center .wpcf7 input::placeholder,
.ac-contact-right .wpcf7 input::placeholder,
.ac-contact-form-center .wpcf7 textarea::placeholder,
.ac-contact-right .wpcf7 textarea::placeholder {
  color: #9ab0aa !important;
}
.ac-contact-form-center .ac-input:focus,
.ac-contact-right .ac-input:focus,
.ac-contact-form-center .wpcf7 input:focus,
.ac-contact-right .wpcf7 input:focus,
.ac-contact-form-center .wpcf7 textarea:focus,
.ac-contact-right .wpcf7 textarea:focus {
  border-color: #02ada4 !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(2,173,164,.15) !important;
}

/* Boton corporativo */
.ac-contact-form-center .ac-submit-btn,
.ac-contact-right .ac-submit-btn,
.ac-contact-form-center .wpcf7 input[type="submit"],
.ac-contact-right .wpcf7 input[type="submit"] {
  background: #fb951e !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50px !important;
  padding: .95rem 2.8rem !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  width: auto !important;
  display: block !important;
  margin: .5rem auto 0 !important;
  transition: all .2s !important;
  letter-spacing: .02em !important;
}
.ac-contact-form-center .ac-submit-btn:hover,
.ac-contact-right .ac-submit-btn:hover,
.ac-contact-form-center .wpcf7 input[type="submit"]:hover,
.ac-contact-right .wpcf7 input[type="submit"]:hover {
  background: #e07f10 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(251,149,30,.4) !important;
}
.ac-contact-form-center .wpcf7-response-output {
  border-radius: 10px !important;
  padding: .75rem 1rem !important;
  text-align: center !important;
  border-color: rgba(2,173,164,.4) !important;
}

@media (max-width: 600px) {
  .ac-contact-form-center { padding: 1.5rem; }
}



/* =============================================
   BOTON FLOTANTE WHATSAPP
============================================= */
.ac-whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  text-decoration: none !important;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .2s ease, box-shadow .2s ease;
  animation: wa-pulse 2.5s infinite;
}
.ac-whatsapp-fab:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
  color: #fff !important;
}
@keyframes wa-pulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.45); }
  50%      { box-shadow: 0 4px 28px rgba(37,211,102,.75), 0 0 0 8px rgba(37,211,102,.1); }
}
@media (max-width: 600px) {
  .ac-whatsapp-fab { bottom: 20px; right: 18px; width: 52px; height: 52px; font-size: 1.5rem; }
}

/* =============================================
   TIPOGRAFIA CORPORATIVA — OBLIGATORIA
   Recoleta Alt Bold: todos los titulos
   Asen Pro: parrafos, nav, botones y todo lo demas
   Estas reglas tienen maxima especificidad
============================================= */
h1, h2, h3, h4, h5, h6,
.entry-title, .page-title,
.section-header h2,
.hero-text h1, .hero-text h2,
.course-body h3,
.pricing-name,
.ac-contact-header h2,
.ac-map-title,
.benefit-text h4,
.testi-name,
.footer-col h4 {
  font-family: 'Recoleta Alt', 'Playfair Display', Georgia, serif !important;
  font-weight: 700 !important;
}

body,
p, li, td, th, span, label, input, textarea, select,
.btn, .ac-input, .ac-submit-btn,
.main-navigation a,
.section-header p,
.course-body p,
.testi-text,
.benefit-text p,
.footer-brand p,
.ac-contact-header > p,
.pricing-card ul li,
.ac-map-sub, .ac-map-val, .ac-map-lbl,
.footer-bottom {
  font-family: 'Asen Pro', 'DM Sans', 'Segoe UI', sans-serif !important;
}

/* Footer 3 columnas */
.footer-col h4 {
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .75rem;
  opacity: .6;
}
.footer-col ul {
  list-style: none;
  margin: 0; padding: 0;
}
.footer-col ul li {
  margin-bottom: .45rem;
}
.footer-col ul a {
  color: rgba(255,255,255,.8);
  font-size: .88rem;
  text-decoration: none;
  transition: color .2s;
}
.footer-col ul a:hover { color: #fff; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  color: rgba(255,255,255,.8);
  font-size: .87rem;
}
.footer-contact-list i {
  color: rgba(255,255,255,.5);
  width: 14px;
  margin-top: .15rem;
  flex-shrink: 0;
}
.footer-contact-list a {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  color: rgba(255,255,255,.8) !important;
  text-decoration: none !important;
}
.footer-contact-list a:hover { color: #fff !important; }


/* =============================================
   CONTACTO — Layout 2 columnas
============================================= */
.ac-contact-two-col {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
  padding: 0 2rem;
}
.ac-contact-left .ac-contact-badge {
  margin-bottom: 1rem;
}
.ac-contact-left h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: #1A2332;
  margin: 0 0 1rem;
  font-weight: 700;
  line-height: 1.2;
}
.ac-contact-left h2 span { color: #02ada4; }
.ac-contact-left > p {
  color: #4a6060;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 2rem;
}
.ac-contact-info-items {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.ac-info-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .93rem;
  color: #1A2332;
}
.ac-info-ico {
  width: 38px; height: 38px; min-width: 38px;
  background: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #02ada4;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(2,173,164,.12);
}
.ac-info-row a {
  color: #1A2332;
  text-decoration: none;
  transition: color .2s;
}
.ac-info-row a:hover { color: #02ada4; }

/* Form derecha */
.ac-contact-right {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(2,173,164,.1);
}

/* ac-contact-header oculto en layout 2 columnas */
.ac-contact-two-col ~ * .ac-contact-header { display: none; }

@media (max-width: 860px) {
  .ac-contact-two-col { grid-template-columns: 1fr; gap: 2rem; }
  .ac-contact-right { padding: 1.75rem; }
}

/* Disponibilidad en tarjeta de curso */
.course-avail {
  font-size: .8rem;
  color: #6cb26c;
  margin: .25rem 0 .75rem;
  display: flex;
  align-items: center;
  gap: .35rem;
}
.course-avail i { font-size: .75rem; }

/* =============================================
   RECOLETA ALT — Header, Menu y Footer
   Solo texto, no iconos Font Awesome
============================================= */
.main-navigation a,
.mobile-nav a,
.mobile-lang-btn,
.ac-lang-trigger,
.site-logo,
.footer-col h4,
.footer-brand p,
.footer-bottom span,
.footer-logo-text,
.footer-col ul a,
.footer-contact-list span,
.footer-contact-list a {
  font-family: 'Recoleta Alt', 'Playfair Display', Georgia, serif !important;
}
