
.andrea-formatos-nav,
.andrea-formatos-pagination,
.andrea-swipe-hint {
  display: none !important;
}

/* ========================================================
   ANDREA LOGOPEDIA - INTERACTIVE INFANTIL TIMELINE COMPONENT
   ======================================================== */

.andrea-timeline-track {
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

@media (min-width: 810px) {
  .andrea-timeline-track {
    min-height: 220vh;
  }
  .andrea-timeline-stage {
    position: sticky !important;
    top: 96px !important;
    z-index: 10;
  }
}

@media (max-width: 809.98px) {
  .andrea-timeline-track {
    min-height: auto;
  }
  .andrea-timeline-stage {
    position: relative !important;
    top: 0 !important;
  }
}

.andrea-timeline-stage {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  border-radius: 40px;
  padding: 48px;
  background-color: var(--step-bg, #FEFAF4);
  border: 1px solid rgba(53, 65, 49, 0.08);
  box-shadow: 0 20px 50px rgba(53, 65, 49, 0.07);
  transition: background-color 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  overflow: hidden;
}

@media (max-width: 809.98px) {
  .andrea-timeline-stage {
    border-radius: 24px;
    padding: 24px 18px;
  }
}

/* Stage Header */
.andrea-stage-header {
  margin-bottom: 36px;
  text-align: left;
}

.andrea-stage-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(53, 65, 49, 0.07);
  color: var(--step-accent, #4A5D43);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
  transition: color 0.4s ease;
}

.andrea-stage-title {
  font-family: inherit;
  font-size: 38px;
  font-weight: 700;
  color: #202D1E;
  margin: 0 0 12px 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.andrea-stage-subtitle {
  font-family: inherit;
  font-size: 17px;
  line-height: 1.6;
  color: #5A6855;
  margin: 0;
  max-width: 780px;
}

@media (max-width: 809.98px) {
  .andrea-stage-title {
    font-size: 28px;
  }
  .andrea-stage-subtitle {
    font-size: 15px;
  }
}

/* 2-Column Grid */
.andrea-stage-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: stretch;
}

@media (max-width: 809.98px) {
  .andrea-stage-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Left Column: Interactive Steps Timeline */
.andrea-steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  padding-left: 0;
}

.andrea-step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(53, 65, 49, 0.06);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.andrea-step-item:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
  border-color: rgba(53, 65, 49, 0.12);
}

.andrea-step-item.is-active {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--step-accent, #4A5D43);
  box-shadow: 0 10px 30px rgba(53, 65, 49, 0.08);
  transform: translateY(0);
}

/* Step Number Circle */
.andrea-step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  color: #5A6855;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(53, 65, 49, 0.18);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.andrea-step-item.is-active .andrea-step-num {
  background: var(--step-accent, #4A5D43);
  color: #ffffff;
  border-color: var(--step-accent, #4A5D43);
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

/* Step Text Content */
.andrea-step-content {
  flex: 1;
  min-width: 0;
}

.andrea-step-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.andrea-step-title {
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  color: #202D1E;
  margin: 0;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.andrea-step-item.is-active .andrea-step-title {
  color: var(--step-accent, #4A5D43);
}

.andrea-step-toggle-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(53, 65, 49, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5A6855;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.35s ease, background 0.3s ease, color 0.3s ease;
}

.andrea-step-item.is-active .andrea-step-toggle-icon {
  transform: rotate(180deg);
  background: var(--step-accent, #4A5D43);
  color: #ffffff;
}

/* Expandable Details Container */
.andrea-step-details {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  opacity: 0;
}

.andrea-step-item.is-active .andrea-step-details {
  grid-template-rows: 1fr;
  opacity: 1;
}

.andrea-step-details-inner {
  overflow: hidden;
  padding-top: 10px;
}

.andrea-step-desc {
  font-family: inherit;
  font-size: 15px;
  line-height: 1.65;
  color: #4A5645;
  margin: 0 0 14px 0;
}

.andrea-step-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 600;
  background: var(--step-light-accent, rgba(74, 93, 67, 0.12));
  color: var(--step-accent, #4A5D43);
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 12px;
}

.andrea-step-action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--step-accent, #4A5D43);
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.andrea-step-action-link:hover {
  transform: translateX(3px);
  text-decoration: underline;
}

/* Right Column: Plant Growth Visual Showcase */
.andrea-plant-stage {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 36px rgba(53, 65, 49, 0.06);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 480px;
  position: relative;
  box-sizing: border-box;
}

@media (max-width: 809.98px) {
  .andrea-plant-stage {
    min-height: 320px;
    padding: 24px 18px;
    order: -1; /* On mobile, display the visual hero above or inside */
  }
}

.andrea-plant-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: #ffffff;
  border: 1px solid rgba(53, 65, 49, 0.1);
  box-shadow: 0 4px 12px rgba(53, 65, 49, 0.04);
  font-size: 13px;
  font-weight: 700;
  color: var(--step-accent, #4A5D43);
  transition: all 0.35s ease;
}

/* Central Image Container */
.andrea-plant-images-wrap {
  position: relative;
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 809.98px) {
  .andrea-plant-images-wrap {
    height: 200px;
  }
}

.andrea-plant-img {
  position: absolute;
  max-width: 85%;
  max-height: 90%;
  object-fit: contain;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.5s ease;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.9) translateY(14px);
  filter: drop-shadow(0 10px 20px rgba(53, 65, 49, 0.08));
}

.andrea-plant-img.is-active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
  filter: drop-shadow(0 14px 28px rgba(53, 65, 49, 0.12));
}

/* Bottom Caption Pill */
.andrea-plant-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.andrea-plant-caption-title {
  font-size: 15px;
  font-weight: 700;
  color: #202D1E;
  margin: 0;
  transition: color 0.3s ease;
}

.andrea-plant-caption-desc {
  font-size: 13px;
  color: #5A6855;
  margin: 0;
}

/* Reduced Motion Safety */
@media (prefers-reduced-motion: reduce) {
  .andrea-timeline-stage,
  .andrea-step-item,
  .andrea-step-num,
  .andrea-step-details,
  .andrea-plant-img {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}




/* === ANDREA SECTION FIXES: HISTORIAS, ADULTOS, FORMATOS === */

/* -------------------------------------------------------------
   1. HISTORIAS REALES (REVIEWS) - ALWAYS 100% VISIBLE & ELEGANT
   ------------------------------------------------------------- */
.framer-19f1puz,
.framer-1qnqs4g,
.framer-18rpbtw,
.framer-19f1puz [class*="-container"],
.framer-19f1puz .framer-d0bhV,
[data-framer-name="card"].framer-19f1puz {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  will-change: auto !important;
}

.framer-19f1puz [class*="-container"] {
  opacity: 1 !important;
  transform: none !important;
}

.framer-19f1puz .framer-d0bhV {
  opacity: 1 !important;
  transform: none !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease !important;
}

.framer-19f1puz .framer-d0bhV:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 30px rgba(53, 65, 49, 0.12) !important;
}

/* -------------------------------------------------------------
   2. ADULTOS Y ESTIMULACIÓN COGNITIVA (INTERACTIVE ACCORDION)
   ------------------------------------------------------------- */
.framer-16lq0i1-container {
  width: 100% !important;
  position: relative !important;
}

.framer-2fJ12 .framer-1d2013v,
.framer-1d2013v {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.framer-18luhh1-container,
.framer-ruqg8a-container,
.framer-1jlsfhu-container,
.framer-bkkshv-container,
.framer-1exy9iq-container {
  width: 100% !important;
  max-width: 100% !important;
}

[data-framer-name="Question"],
.framer-9nim1,
.framer-9nim1.framer-1p4wjnz {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
  border-radius: 16px !important;
  padding: 18px 22px !important;
  margin-bottom: 0 !important;
  user-select: none !important;
  -webkit-tap-highlight-color: transparent !important;
  border: 1px solid rgba(230, 206, 213, 0.8) !important;
  background-color: rgba(255, 255, 255, 0.45) !important;
}

[data-framer-name="Question"]:hover,
.framer-9nim1:hover {
  background-color: rgba(255, 255, 255, 0.85) !important;
  border-color: #8B5E6B !important;
}

[data-framer-name="Question"].is-open,
.framer-9nim1.is-open {
  background-color: #FFFFFF !important;
  border-color: #7E505E !important;
  box-shadow: 0 8px 24px rgba(53, 65, 49, 0.08) !important;
}

/* Header row (title + plus icon) */
[data-framer-name="Question"] .framer-1628gpb,
.framer-9nim1 .framer-1628gpb,
.framer-1628gpb {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 48px !important;
  flex: none !important;
  gap: 16px !important;
  border: none !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

[data-framer-name="Question"] .framer-fgmo08,
.framer-9nim1 .framer-fgmo08,
.framer-fgmo08 {
  display: block !important;
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  white-space: normal !important;
  overflow: visible !important;
}

[data-framer-name="Question"] .framer-fgmo08 h2,
.framer-9nim1 .framer-fgmo08 h2,
.framer-fgmo08 h2 {
  font-size: clamp(16px, 2.1vw, 21px) !important;
  line-height: 1.4 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  margin: 0 !important;
  color: #253123 !important;
  font-weight: 600 !important;
  text-align: left !important;
  letter-spacing: -0.01em !important;
  transition: color 0.25s ease !important;
}

[data-framer-name="Question"].is-open .framer-fgmo08 h2,
.framer-9nim1.is-open .framer-fgmo08 h2 {
  color: #7E505E !important;
}

/* Plus/Minus Icon Rotation */
[data-framer-name="Question"] .framer-7j273c,
.framer-9nim1 .framer-7j273c,
.framer-7j273c {
  flex: 0 0 34px !important;
  width: 34px !important;
  height: 34px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background: rgba(126, 80, 94, 0.08) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease !important;
}

[data-framer-name="Question"]:hover .framer-7j273c,
.framer-9nim1:hover .framer-7j273c {
  background: rgba(126, 80, 94, 0.14) !important;
}

[data-framer-name="Question"].is-open .framer-7j273c,
.framer-9nim1.is-open .framer-7j273c {
  transform: rotate(45deg) !important;
  background: #7E505E !important;
}

[data-framer-name="Question"].is-open .framer-7j273c svg rect,
[data-framer-name="Question"].is-open .framer-7j273c svg path,
.framer-9nim1.is-open .framer-7j273c svg rect,
.framer-9nim1.is-open .framer-7j273c svg path {
  stroke: #FFFFFF !important;
}

/* Accordion Answer Content (Smooth CSS Grid slide) */
.andrea-accordion-answer {
  display: grid !important;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, margin-top 0.3s ease !important;
  opacity: 0;
  margin-top: 0 !important;
  overflow: hidden !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

[data-framer-name="Question"].is-open .andrea-accordion-answer,
.framer-9nim1.is-open .andrea-accordion-answer {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 14px !important;
}

.andrea-accordion-answer-inner {
  overflow: hidden;
  min-height: 0;
  padding-bottom: 4px;
  width: 100% !important;
}

.andrea-accordion-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(126, 80, 94, 0.12);
  color: #7E505E;
  margin-bottom: 10px;
}

.andrea-accordion-desc {
  font-size: 15px;
  line-height: 1.65;
  color: #4A5645;
  margin: 0 0 14px 0;
  text-align: left !important;
}

.andrea-accordion-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(126, 80, 94, 0.09);
  font-size: 13.5px;
  font-weight: 700;
  color: #7E505E;
  text-decoration: none;
  transition: all 0.2s ease;
}

.andrea-accordion-cta:hover {
  background: #7E505E;
  color: #FFFFFF;
  transform: translateX(3px);
}

/* -------------------------------------------------------------
   3. 3 FORMATOS DE ATENCIÓN & LETTER BANNER
   ------------------------------------------------------------- */
#servicios,
.framer-1p0z7vc-container,
[data-framer-name="Servicios"] {
  position: relative !important;
  top: unset !important;
  transform: none !important;
  scroll-margin-top: 88px !important;
  z-index: 2 !important;
  height: auto !important;
}

.framer-yELCp,
[data-framer-name="desktop"][name="Services"],
[data-framer-name="Consulta Presencial"],
[data-framer-name="Atención a Domicilio"],
[data-framer-name="Terapia Online"],
.framer-rmz5ng,
.framer-12vl28n,
.framer-9fht62 {
  opacity: 1 !important;
  transform: none !important;
  will-change: auto !important;
}

[data-framer-name="Consulta Presencial"],
[data-framer-name="Atención a Domicilio"],
[data-framer-name="Terapia Online"] {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease !important;
}

[data-framer-name="Consulta Presencial"]:hover,
[data-framer-name="Atención a Domicilio"]:hover,
[data-framer-name="Terapia Online"]:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 32px rgba(53, 65, 49, 0.1) !important;
}

/* Fix sticky letter banner ('Antes de dar el paso') & stray clipped text */
.framer-1094v73 {
  position: relative !important;
  top: unset !important;
  width: 100% !important;
  overflow: hidden !important;
  padding: 40px 0 60px 0 !important;
  z-index: 1 !important;
}

.framer-1094v73 .framer-a8pzc8 {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}


/* === ANDREA 3 FORMATOS ANIMATION & MOBILE CAROUSEL === */

/* --- 1. Interactive Tabs / Pill Selector (Desktop & Mobile) --- */
.andrea-formatos-nav {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 32px auto 40px auto !important;
  padding: 6px !important;
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(53, 65, 49, 0.12) !important;
  box-shadow: 0 8px 24px rgba(53, 65, 49, 0.05) !important;
  width: fit-content !important;
  max-width: 95% !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 5 !important;
}

.andrea-format-tab {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 9px 20px !important;
  border-radius: 9999px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: #354131 !important;
  font-family: "DM Sans", -apple-system, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  user-select: none !important;
  -webkit-tap-highlight-color: transparent !important;
  white-space: nowrap !important;
}

.andrea-format-tab:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #7E505E !important;
  transform: translateY(-1px) !important;
}

.andrea-format-tab.is-active {
  background: #7E505E !important;
  color: #FFFFFF !important;
  border-color: #7E505E !important;
  box-shadow: 0 4px 16px rgba(126, 80, 94, 0.35) !important;
}

.andrea-tab-num {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  background: rgba(126, 80, 94, 0.12) !important;
  color: #7E505E !important;
  transition: all 0.28s ease !important;
}

.andrea-format-tab.is-active .andrea-tab-num {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #FFFFFF !important;
}

/* --- 2. Desktop Card Enhancements & Hover Animation --- */
@media (min-width: 810px) {
  .framer-1l8txmq {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
    width: 100% !important;
  }

  [data-framer-name="Consulta Presencial"].framer-rmz5ng,
  [data-framer-name="Atención a Domicilio"].framer-we6j4p,
  [data-framer-name="Terapia Online"].framer-9fht62 {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    gap: 32px !important;
    border-radius: 36px !important;
    padding: 0 !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  [data-framer-name="Consulta Presencial"].framer-rmz5ng:hover,
  [data-framer-name="Atención a Domicilio"].framer-we6j4p:hover,
  [data-framer-name="Terapia Online"].framer-9fht62:hover {
    transform: translateY(-8px) scale(1.006) !important;
    box-shadow: 0 24px 50px rgba(53, 65, 49, 0.12) !important;
    border-color: rgba(126, 80, 94, 0.3) !important;
  }

  /* Image zoom inside card on hover */
  .framer-1wid4yz,
  .framer-1mqnrz2,
  .framer-1fbct2l {
    overflow: hidden !important;
    border-radius: 32px !important;
  }

  .framer-1wid4yz img,
  .framer-1mqnrz2 img,
  .framer-1fbct2l img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease !important;
    will-change: transform !important;
  }

  [data-framer-name="Consulta Presencial"]:hover .framer-1wid4yz img,
  [data-framer-name="Atención a Domicilio"]:hover .framer-1mqnrz2 img,
  [data-framer-name="Terapia Online"]:hover .framer-1fbct2l img {
    transform: scale(1.05) !important;
  }

  /* Pulse highlight when navigated from tabs */
  .andrea-card-pulse {
    animation: andreaSpotlightPulse 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  @keyframes andreaSpotlightPulse {
    0% {
      box-shadow: 0 0 0 0 rgba(126, 80, 94, 0.5);
      border-color: #7E505E;
    }
    70% {
      box-shadow: 0 0 0 16px rgba(126, 80, 94, 0);
      border-color: rgba(126, 80, 94, 0.4);
    }
    100% {
      box-shadow: 0 10px 30px rgba(53, 65, 49, 0.08);
      border-color: rgba(255, 255, 255, 0.7);
    }
  }

  /* Hide mobile pagination dots on desktop */
  .andrea-formatos-pagination,
  .andrea-swipe-hint {
    display: none !important;
  }
}

/* --- 3. Card CTA Link (Pedir Cita / WhatsApp) --- */
.andrea-card-cta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 22px !important;
  margin-top: 18px !important;
  border-radius: 9999px !important;
  background: #7E505E !important;
  color: #FFFFFF !important;
  font-family: "DM Sans", -apple-system, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  width: fit-content !important;
  box-shadow: 0 4px 14px rgba(126, 80, 94, 0.25) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  -webkit-tap-highlight-color: transparent !important;
}

.andrea-card-cta:hover {
  background: #643D49 !important;
  transform: translateY(-2px) translateX(2px) !important;
  box-shadow: 0 8px 20px rgba(126, 80, 94, 0.35) !important;
  color: #FFFFFF !important;
}

.andrea-card-cta:active {
  transform: scale(0.97) !important;
}

/* --- 4. Mobile Swipeable Carousel Track ("на телефоні горталося все прикольно") --- */
@media (max-width: 809.98px) {
  /* Tabs scrollable if tight */
  .andrea-formatos-nav {
    overflow-x: auto !important;
    white-space: nowrap !important;
    padding: 4px 8px !important;
    gap: 6px !important;
    margin: 20px auto 24px auto !important;
    scrollbar-width: none !important;
  }
  .andrea-formatos-nav::-webkit-scrollbar {
    display: none !important;
  }

  .andrea-format-tab {
    padding: 6px 14px !important;
    font-size: 13px !important;
  }

  /* Carousel track with smooth snap */
  .framer-1l8txmq {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 16px !important;
    padding: 10px 24px 28px 24px !important;
    margin: 0 -24px !important;
    width: calc(100% + 48px) !important;
    scrollbar-width: none !important;
    box-sizing: border-box !important;
  }

  .framer-1l8txmq::-webkit-scrollbar {
    display: none !important;
  }

  /* Each card in mobile carousel */
  [data-framer-name="Consulta Presencial"].framer-rmz5ng,
  [data-framer-name="Atención a Domicilio"].framer-we6j4p,
  [data-framer-name="Terapia Online"].framer-9fht62 {
    flex: 0 0 85vw !important;
    max-width: 340px !important;
    scroll-snap-align: center !important;
    scroll-snap-stop: always !important;
    border-radius: 28px !important;
    overflow: hidden !important;
    background: #FFFFFF !important;
    box-shadow: 0 12px 30px rgba(53, 65, 49, 0.09) !important;
    border: 1px solid rgba(53, 65, 49, 0.08) !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  }

  /* Image at top for all cards on mobile */
  .framer-1wid4yz,
  .framer-1mqnrz2,
  .framer-1fbct2l {
    order: 0 !important;
    width: 100% !important;
    height: 190px !important;
    min-height: 190px !important;
    border-radius: 24px 24px 0 0 !important;
    overflow: hidden !important;
  }

  .framer-1wid4yz img,
  .framer-1mqnrz2 img,
  .framer-1fbct2l img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* Text at bottom for all cards on mobile */
  .framer-mkf5gp,
  .framer-dxw7bz,
  .framer-1kdw7lr {
    order: 1 !important;
    width: 100% !important;
    padding: 22px 20px 24px 20px !important;
    gap: 12px !important;
    background: #FFFFFF !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
  }

  /* Formatos Pagination Dots */
  .andrea-formatos-pagination {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 14px auto 6px auto !important;
  }

  .andrea-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 9999px !important;
    background: rgba(126, 80, 94, 0.25) !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .andrea-dot.is-active {
    width: 28px !important;
    background: #7E505E !important;
    box-shadow: 0 2px 8px rgba(126, 80, 94, 0.4) !important;
  }

  /* Swipe Hint */
  .andrea-swipe-hint {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #6C7967 !important;
    margin-top: 4px !important;
  }

  .andrea-swipe-icon {
    display: inline-block !important;
    animation: andreaHandSwipe 1.8s infinite ease-in-out !important;
  }

  @keyframes andreaHandSwipe {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
  }
}



/* ========================================================
   STACKING CARDS ANIMATION (DECK OF CARDS ON SCROLL)
   ======================================================== */

/* Ensure parent containers do not clip sticky cards */
html, body, #main, .framer-72rtr7, .framer-oAMkq, .framer-1p0z7vc-container, .framer-yELCp {
  overflow: visible !important;
}

/* Card track as vertical stacking column */
.framer-1l8txmq {
  display: flex !important;
  flex-direction: column !important;
  gap: 140px !important;
  padding-bottom: 380px !important;
  position: relative !important;
  width: 100% !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
  overflow: visible !important;
}

/* Base Sticky Card properties */
.framer-rmz5ng,
.framer-we6j4p,
.framer-9fht62,
[data-framer-name="Consulta Presencial"].framer-rmz5ng,
[data-framer-name="Atención a Domicilio"].framer-we6j4p,
[data-framer-name="Terapia Online"].framer-9fht62 {
  position: sticky !important;
  width: 100% !important;
  max-width: 100% !important;
  background: #FFFFFF !important;
  border-radius: 36px !important;
  box-shadow: 0 -4px 22px rgba(53, 65, 49, 0.05), 0 20px 50px rgba(53, 65, 49, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  overflow: hidden !important;
  transform-origin: center top !important;
  will-change: transform, filter !important;
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), filter 0.15s ease-out, box-shadow 0.25s ease !important;
}

/* Desktop Stacking Stagger */
@media (min-width: 810px) {
  .framer-rmz5ng {
    top: 110px !important;
    z-index: 10 !important;
  }
  .framer-we6j4p,
  [data-framer-name="Atención a Domicilio"].framer-we6j4p {
    top: 130px !important;
    z-index: 20 !important;
  }
  .framer-9fht62,
  [data-framer-name="Terapia Online"].framer-9fht62 {
    top: 150px !important;
    z-index: 30 !important;
  }
}

/* Mobile Stacking Stagger and Layout */
@media (max-width: 809.98px) {
  .framer-1l8txmq {
    gap: 90px !important;
    padding-bottom: 480px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .framer-rmz5ng,
  .framer-we6j4p,
  .framer-9fht62,
  [data-framer-name="Consulta Presencial"].framer-rmz5ng,
  [data-framer-name="Atención a Domicilio"].framer-we6j4p,
  [data-framer-name="Terapia Online"].framer-9fht62 {
    border-radius: 28px !important;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.06), 0 16px 36px rgba(53, 65, 49, 0.13) !important;
    border: 1px solid rgba(53, 65, 49, 0.08) !important;
    margin: 0 0 20px 0 !important;
  }

  .framer-rmz5ng {
    top: 75px !important;
    z-index: 10 !important;
  }
  .framer-we6j4p,
  [data-framer-name="Atención a Domicilio"].framer-we6j4p {
    top: 90px !important;
    z-index: 20 !important;
  }
  .framer-9fht62,
  [data-framer-name="Terapia Online"].framer-9fht62 {
    top: 105px !important;
    z-index: 30 !important;
  }

  .framer-1wid4yz,
  .framer-1mqnrz2,
  .framer-1fbct2l {
    height: 160px !important;
    min-height: 160px !important;
  }

  .framer-mkf5gp,
  .framer-dxw7bz,
  .framer-1kdw7lr {
    padding: 16px 18px 22px 18px !important;
    gap: 10px !important;
  }
}

/* Hide old 123 tabs and dots */
.andrea-formatos-nav,
.andrea-formatos-pagination,
.andrea-swipe-hint {
  display: none !important;
}


.framer-1l8txmq .framer-rmz5ng,
.framer-1l8txmq .framer-we6j4p,
.framer-1l8txmq .framer-9fht62,
.framer-rmz5ng,
.framer-we6j4p,
.framer-9fht62 {
  height: fit-content !important;
  min-height: fit-content !important;
}
