/* ============================================================
   COMPONENTS — psicologa.co
   Todos los componentes de sección reutilizables.
   Requiere: tokens.css, base.css
   ============================================================ */

/* ════════════════════════════════════════════════════════════
   SERVICIOS CON FOTO (.svc-*)
   ════════════════════════════════════════════════════════════ */
.svc-section { max-width: 1100px; margin: 0 auto; text-align: center; padding: 72px 32px 80px; }
.svc-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #d8d6ed; border-radius: 999px; padding: 6px 18px; margin-bottom: 22px; }
.svc-badge-dot { width: 8px; height: 8px; background: #38BDF8; border-radius: 50%; }
.svc-badge-label { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 2px; color: #00254D; text-transform: uppercase; }
.svc-heading { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(24px, 2.9vw, 38px); font-weight: 400; color: #00254D; line-height: 1.15; margin-bottom: 16px; }
@media (max-width: 640px) { .svc-heading { white-space: normal; font-size: clamp(22px, 6vw, 30px); } }
.svc-heading em { font-style: italic; color: #38BDF8; }
.svc-subheading { font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 400; color: #717487; line-height: 1.65; margin-bottom: 52px; }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; text-align: left; }
@media (max-width: 820px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,37,77,0.07); transition: transform 0.28s ease, box-shadow 0.28s ease; }
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(0,37,77,0.13); }
.svc-photo { position: relative; height: 288px; overflow: hidden; background: #c8c5d8; }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.svc-card:hover .svc-photo img { transform: scale(1.04); }
.svc-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,8,26,0.62) 0%, rgba(0,8,26,0.15) 55%, transparent 100%); }
.svc-label { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 18px 22px 22px; }
.svc-icon { width: 52px; height: 52px; border-radius: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.svc-icon.violet { background: rgba(237,231,255,0.92); }
.svc-icon.amber  { background: rgba(255,246,218,0.92); }
.svc-icon img { width: 28px; height: 28px; object-fit: contain; }
.svc-title { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-size: 22px; font-weight: 400; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,0.4); line-height: 1.13; }
.svc-title .upright { font-style: normal; }
.svc-body { padding: 24px 26px 28px; }
.svc-desc { font-family: 'Inter', sans-serif; font-size: 14.5px; color: #3d4256; line-height: 1.65; margin-bottom: 18px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.svc-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border-radius: 999px; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 500; }
.svc-tag-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
/* Variantes de tag */
.svc-tag.violet-t  { background: #f0eafa; color: #5b35a8; } .svc-tag.violet-t  .svc-tag-dot { background: #8b5cf6; }
.svc-tag.amber-t   { background: #fef5e3; color: #92600a; } .svc-tag.amber-t   .svc-tag-dot { background: #f59e0b; }
.svc-tag.coral-t   { background: #fff0f0; color: #991b1b; } .svc-tag.coral-t   .svc-tag-dot { background: #ef4444; }
.svc-tag.teal-t    { background: #f0fdfa; color: #0f766e; } .svc-tag.teal-t    .svc-tag-dot { background: #14b8a6; }
.svc-tag.fuchsia-t { background: #fdf4ff; color: #86198f; } .svc-tag.fuchsia-t .svc-tag-dot { background: #d946ef; }
.svc-tag.sky-t     { background: #f0f9ff; color: #0369a1; } .svc-tag.sky-t     .svc-tag-dot { background: #0ea5e9; }
.svc-tag.sage-t    { background: #f0fdf4; color: #166534; } .svc-tag.sage-t    .svc-tag-dot { background: #22c55e; }
.svc-tag.indigo-t  { background: #eef2ff; color: #3730a3; } .svc-tag.indigo-t  .svc-tag-dot { background: #6366f1; }
.svc-tag.orange-t  { background: #fff7ed; color: #9a3412; } .svc-tag.orange-t  .svc-tag-dot { background: #f97316; }
.svc-tag.rose-t    { background: #fff1f2; color: #9f1239; } .svc-tag.rose-t    .svc-tag-dot { background: #f43f5e; }
/* Footer de card */
.svc-footer { display: flex; align-items: flex-end; justify-content: space-between; }
.svc-price-row { display: flex; align-items: baseline; gap: 5px; }
.svc-price-amount { font-family: 'Playfair Display', Georgia, serif; font-size: 30px; font-weight: 400; color: #00254D; line-height: 0.96; }
.svc-price-amount:not(.no-sign)::before { content: '$'; font-family: 'Inter', sans-serif; font-weight: 400; font-size: 0.82em; margin-right: 1px; }
@media (max-width: 640px) { .svc-price-amount { font-size: 22px; } }
.svc-price-currency { font-family: 'Inter', sans-serif; font-size: 9px; font-weight: 600; color: #00254D; text-transform: uppercase; letter-spacing: 0.5px; }
.svc-price-note { font-family: 'Inter', sans-serif; font-size: 13px; color: #9ca3af; margin-top: 3px; line-height: 1; }
.svc-footer > div:first-child::before { content: 'Desde'; display: block; font-family: 'Inter', sans-serif; font-size: 13px; color: #9ca3af; margin-bottom: 1px; }
.svc-actions { display: flex; align-items: center; gap: 10px; }
@media (max-width: 640px) { .svc-footer { flex-direction: column; align-items: stretch; gap: 16px; } .svc-actions { justify-content: flex-end; } .svc-btn-more { flex: 1; text-align: center; } }
.svc-btn-more { padding: 12px 22px; border: 1px solid rgba(0,37,77,0.28); border-radius: 12px; background: #ffffff; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500; color: #00254D; cursor: pointer; text-decoration: none; display: inline-block; white-space: nowrap; transition: background 0.2s, border-color 0.2s, transform 0.2s; }
.svc-btn-more:hover { background: #f8fafc; border-color: #00254D; transform: translateY(-1px); }
.svc-btn-click { width: 48px; height: 48px; border: 2px solid #e5e7eb; border-radius: 11px; background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; color: #00254D; flex-shrink: 0; transition: border-color 0.2s, background 0.2s; }
.svc-btn-click:hover { border-color: #00254D; background: #ddeaf7; }


/* ════════════════════════════════════════════════════════════
   BANNER CTA AZUL (.cta-banner, .cta-*)
   ════════════════════════════════════════════════════════════ */
.cta-banner { display: flex; align-items: center; background: linear-gradient(135deg, #e8f0f9 0%, #dce8f5 100%); border-radius: 20px; overflow: hidden; max-width: 1100px; width: 100%; height: 108px; box-shadow: 0 4px 24px rgba(0,37,77,0.07); margin: 0 auto; position: relative; }
.cta-photo { flex-shrink: 0; width: 210px; height: 100%; overflow: hidden; }
.cta-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; -webkit-mask-image: linear-gradient(to right, black 50%, transparent 100%); mask-image: linear-gradient(to right, black 50%, transparent 100%); }
.cta-content { flex: 1; display: flex; align-items: center; gap: 16px; padding: 0 24px 0 8px; }
.cta-icon { flex-shrink: 0; width: 50px; height: 50px; border-radius: 50%; background: #ffffff; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(56,189,248,0.2); }
.cta-icon img { width: 26px; height: 26px; object-fit: contain; }
.cta-text-title { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 700; color: #00254D; margin-bottom: 3px; white-space: nowrap; }
.cta-text-sub { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 400; color: #5a6a80; white-space: nowrap; }
.cta-btn-wrap { flex-shrink: 0; padding: 0 28px 0 0; }
.cta-btn { display: inline-flex; align-items: center; gap: 9px; background: #00254D; color: #ffffff; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500; padding: 13px 24px; border-radius: 10px; text-decoration: none; white-space: nowrap; letter-spacing: 0.1px; transition: background 0.2s, transform 0.2s; }
.cta-btn:hover { background: #003a75; transform: translateY(-2px); }
@media (max-width: 680px) {
  .cta-banner { flex-direction: column; height: auto; }
  .cta-photo { width: 100%; height: 160px; }
  .cta-photo img { -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%); mask-image: linear-gradient(to bottom, black 60%, transparent 100%); }
  .cta-content { padding: 20px 20px 8px; }
  .cta-text-title, .cta-text-sub { white-space: normal; }
  .cta-btn-wrap { padding: 12px 20px 24px; width: 100%; }
  .cta-btn { width: 100%; justify-content: center; }
}


/* ════════════════════════════════════════════════════════════
   CURSOS DIGITALES (.cursos-*)
   ════════════════════════════════════════════════════════════ */
.cursos-section { max-width: 1100px; margin: 0 auto; }
.cursos-badge-wrap { text-align: center; margin-bottom: 22px; }
.cursos-badge { display: inline-flex; align-items: center; gap: 8px; background: #ffffff; border: 1px solid #d1e8df; border-radius: 999px; padding: 6px 18px; }
.cursos-badge-dot { width: 8px; height: 8px; background: #059669; border-radius: 50%; }
.cursos-badge-label { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 2px; color: #00254D; text-transform: uppercase; }
.cursos-banner { display: grid; grid-template-columns: 1fr 1fr; border-radius: 20px; overflow: hidden; box-shadow: 0 4px 28px rgba(0,37,77,0.08); background: #ffffff; min-height: 210px; }
.cursos-left { padding: 28px 36px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.cursos-heading { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(22px, 2.6vw, 34px); font-weight: 400; color: #00254D; line-height: 1.2; }
.cursos-heading em { font-style: italic; color: #059669; }
.cursos-subheading { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 400; color: #717487; line-height: 1.5; }
.cursos-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px; border: 2px solid #00254D; border-radius: 11px; background: transparent; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; color: #00254D; text-decoration: none; width: fit-content; transition: background 0.2s; }
.cursos-btn:hover { background: #ddeaf7; }
.cursos-right { position: relative; min-height: 210px; overflow: hidden; background: linear-gradient(135deg, #fffef7 0%, #fef9d7 100%); display: flex; align-items: center; justify-content: center; }
.cursos-right img { width: 85%; height: 85%; object-fit: contain; display: block; }
.cursos-nowrap { white-space: nowrap; }
@media (max-width: 768px) {
  .cursos-banner { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; height: 300px; }
  .cursos-left { padding: 16px 20px; gap: 8px; }
  .cursos-right { min-height: unset; }
}


/* ════════════════════════════════════════════════════════════
   VIDEO (.video-*)
   ════════════════════════════════════════════════════════════ */
.video-section { max-width: 1100px; margin: 0 auto; text-align: center; }
.video-badge { display: inline-flex; align-items: center; gap: 8px; background: #ffffff; border: 1px solid #e2d9f0; border-radius: 999px; padding: 6px 18px; margin-bottom: 22px; }
.video-badge-dot { width: 8px; height: 8px; background: #BE185D; border-radius: 50%; }
.video-badge-label { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 2px; color: #00254D; text-transform: uppercase; }
.video-heading { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(26px, 3vw, 42px); font-weight: 400; color: #00254D; line-height: 1.15; margin-bottom: 40px; }
.video-heading em { font-style: italic; color: #BE185D; }
.video-wrapper { position: relative; width: 100%; max-width: 760px; margin: 0 auto; border-radius: 20px; overflow: hidden; box-shadow: 0 8px 40px rgba(0,37,77,0.15); aspect-ratio: 16/9; }
.video-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; display: block; }
@media (max-width: 640px) { .video-heading { font-size: clamp(22px, 6vw, 30px); margin-bottom: 28px; } }


/* ════════════════════════════════════════════════════════════
   ESPECIALIDADES (.spec-*)
   ════════════════════════════════════════════════════════════ */
.spec-section { max-width: 1100px; margin: 0 auto; text-align: center; }
.spec-badge { display: inline-flex; align-items: center; gap: 8px; background: #ffffff; border: 1px solid #ddd6f3; border-radius: 999px; padding: 6px 18px; margin-bottom: 22px; }
.spec-badge-dot { width: 8px; height: 8px; background: #7C3AED; border-radius: 50%; }
.spec-badge-label { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 2px; color: #00254D; text-transform: uppercase; }
.spec-heading { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(26px, 3vw, 40px); font-weight: 400; color: #00254D; line-height: 1.15; margin-bottom: 48px; }
.spec-heading em { font-style: italic; color: #7C3AED; }
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.spec-card { border-radius: 20px; overflow: hidden; background: linear-gradient(160deg, #c8d8e8 0%, #a8bdd0 100%); transition: transform 0.28s ease, box-shadow 0.28s ease; }
.spec-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,37,77,0.14); }
.spec-card img { width: 100%; height: auto; display: block; }
@media (max-width: 820px) { .spec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .spec-grid { grid-template-columns: 1fr; } }


/* ════════════════════════════════════════════════════════════
   CONSULTORIOS / SEDES (.consultorios-*, .sedes-*)
   ════════════════════════════════════════════════════════════ */
.consultorios-section { max-width: 1100px; margin: 0 auto; text-align: center; }
.consultorios-badge { display: inline-flex; align-items: center; gap: 8px; background: #ffffff; border: 1px solid #bfdbfe; border-radius: 999px; padding: 6px 18px; margin-bottom: 22px; }
.consultorios-badge-dot { width: 8px; height: 8px; background: #1D4ED8; border-radius: 50%; }
.consultorios-badge-label { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 2px; color: #00254D; text-transform: uppercase; }
.consultorios-heading { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(26px, 3vw, 42px); font-weight: 400; color: #00254D; line-height: 1.15; margin-bottom: 12px; }
.consultorios-heading em { font-style: italic; color: #1D4ED8; }
@media (max-width: 640px) { .consultorios-heading { font-size: clamp(24px, 6.5vw, 32px); } }
.consultorios-subheading { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 400; color: #717487; line-height: 1.65; margin-bottom: 52px; }
.consultorios-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; text-align: left; }
@media (max-width: 640px) { .consultorios-grid { grid-template-columns: 1fr; } }
.consultorio-card { display: flex; flex-direction: column; }
.consultorio-photo { position: relative; width: 100%; aspect-ratio: 80/39; border-radius: 18px; overflow: hidden; background: linear-gradient(160deg, #c8d8e8 0%, #b8c8d8 100%); margin-bottom: 14px; }
.consultorio-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform 0.45s ease; }
.consultorio-card:hover .consultorio-photo img { transform: scale(1.04); }
.consultorio-city-badge { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,0.92); backdrop-filter: blur(6px); border-radius: 999px; padding: 4px 12px; font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.8px; color: #00254D; text-transform: uppercase; }
.consultorio-info { padding: 0 2px; text-align: left; }
.consultorio-title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(16px, 1.6vw, 19px); font-weight: 400; color: #00254D; margin-bottom: 3px; line-height: 1.2; }
.consultorio-ciudad { font-size: 12px; font-weight: 500; color: #6b8cba; letter-spacing: 0.3px; }

.sedes-bloque { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 18px; display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; overflow: hidden; margin-top: 4px; }
@media (max-width: 760px) { .sedes-bloque { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .sedes-bloque { grid-template-columns: 1fr; } }
.sede-item { padding: 16px 20px; border-right: 1px solid #f0f4f8; display: flex; flex-direction: column; gap: 3px; text-align: left; }
.sede-item:last-child { border-right: none; }
@media (max-width: 760px) { .sede-item { border-right: none; border-bottom: 1px solid #f0f4f8; } .sede-item:last-child { border-bottom: none; } .sede-item:nth-child(odd) { border-right: 1px solid #f0f4f8; } }
@media (max-width: 440px) { .sede-item:nth-child(odd) { border-right: none; } }
.sede-ciudad-tag { font-size: 10px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: #1D4ED8; margin-bottom: 2px; }
.sede-nombre { font-size: 14px; font-weight: 600; color: #00254D; line-height: 1.2; }
.sede-dir { font-size: 12px; color: #8a95a8; line-height: 1.45; margin-top: 2px; }


/* ════════════════════════════════════════════════════════════
   BLOG (.blog-*)
   ════════════════════════════════════════════════════════════ */
.blog-badge { display: inline-flex; align-items: center; gap: 8px; background: #ffffff; border: 1px solid #99d6d0; border-radius: 999px; padding: 6px 18px; margin-bottom: 20px; }
.blog-badge-dot { width: 8px; height: 8px; background: #0D9488; border-radius: 50%; }
.blog-badge-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: #00254D; text-transform: uppercase; }
.blog-heading { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(28px, 3vw, 42px); font-weight: 400; color: #00254D; line-height: 1.15; margin-bottom: 10px; }
.blog-heading em { font-style: italic; color: #0D9488; }
.blog-sub { font-size: 15px; color: #717487; line-height: 1.65; margin-bottom: 44px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { background: #ffffff; border-radius: 18px; overflow: hidden; border: 1px solid #edf1f8; transition: box-shadow 0.25s, transform 0.25s; text-decoration: none; display: flex; flex-direction: column; }
.blog-card:hover { box-shadow: 0 8px 36px rgba(0,37,77,0.11); transform: translateY(-4px); }
.blog-card-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg, #c8d8e8, #b0c4d8); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card-meta { font-size: 12px; color: #9aa4b8; display: flex; align-items: center; gap: 12px; }
.blog-cat { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; border-radius: 999px; padding: 4px 14px; width: fit-content; align-self: flex-start; }
.blog-cat-ansiedad  { background: #eff6ff; color: #1D4ED8; }
.blog-cat-depresion { background: #fdf4ff; color: #7C3AED; }
.blog-cat-pareja    { background: #fff7ed; color: #c2410c; }
.blog-cat-crianza   { background: #f0fdf4; color: #15803d; }
.blog-cat-general   { background: #f0f4fa; color: #4e5a72; }
.blog-card-title { font-family: 'Playfair Display', Georgia, serif; font-size: 18px; font-weight: 400; color: #00254D; line-height: 1.3; }
.blog-card-excerpt { font-size: 13px; color: #717487; line-height: 1.6; flex: 1; }
.blog-card-btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 24px; border: 1px solid rgba(0,37,77,0.28); border-radius: 12px; background: #ffffff; color: #00254D; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 500; text-decoration: none; align-self: flex-start; margin-top: 4px; transition: background 0.2s, border-color 0.2s, transform 0.2s; }
.blog-card-btn:hover { background: #f8fafc; border-color: #00254D; transform: translateY(-1px); }


/* ════════════════════════════════════════════════════════════
   POR QUÉ ELEGIRNOS (.porque-*)
   ════════════════════════════════════════════════════════════ */
.porque-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
@media (max-width: 820px) { .porque-grid { grid-template-columns: 1fr; gap: 40px; } }
.porque-left { display: flex; flex-direction: column; gap: 20px; }
.porque-badge { display: inline-flex; align-items: center; gap: 8px; background: #ffffff; border: 1px solid #bfdbfe; border-radius: 999px; padding: 6px 18px; width: fit-content; }
.porque-badge-dot { width: 8px; height: 8px; background: #1D4ED8; border-radius: 50%; }
.porque-badge-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: #00254D; text-transform: uppercase; }
.porque-heading { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(28px, 3vw, 42px); font-weight: 400; color: #00254D; line-height: 1.15; }
.porque-heading em { font-style: italic; color: #1D4ED8; }
.porque-sub { font-size: 15px; color: #717487; line-height: 1.65; }
.porque-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #00254D; color: #ffffff; font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 500; padding: 14px 36px; border-radius: 11px; text-decoration: none; width: fit-content; transition: background 0.2s, transform 0.2s; }
.porque-btn:hover { background: #003a75; transform: translateY(-2px); }
.porque-list { display: flex; flex-direction: column; gap: 12px; }
.porque-item { display: flex; align-items: flex-start; gap: 16px; background: #ffffff; border: 1px solid #e8edf5; border-radius: 16px; padding: 18px 22px; transition: box-shadow 0.2s; }
.porque-item:hover { box-shadow: 0 4px 20px rgba(0,37,77,0.08); }
.porque-check { width: 36px; height: 36px; background: #dbeafe; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.porque-check svg { width: 18px; height: 18px; }
.porque-item-text { display: flex; flex-direction: column; gap: 3px; padding-top: 2px; }
.porque-item-title { font-size: 14px; font-weight: 600; color: #00254D; line-height: 1.3; }
.porque-item-sub { font-size: 13px; color: #8a95a8; line-height: 1.45; }


/* ════════════════════════════════════════════════════════════
   BANNER CTA 2 — TEAL (.cta2-*)
   ════════════════════════════════════════════════════════════ */
.cta2-banner { display: flex; align-items: center; background: linear-gradient(135deg, #f0faf8 0%, #e2f5f1 100%); border-radius: 20px; overflow: hidden; max-width: 1100px; width: 100%; height: 108px; box-shadow: 0 4px 24px rgba(13,148,136,0.08); margin: 0 auto; position: relative; }
.cta2-btn { display: inline-flex; align-items: center; gap: 9px; background: #00254D; color: #ffffff; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500; padding: 13px 24px; border-radius: 10px; text-decoration: none; white-space: nowrap; letter-spacing: 0.1px; transition: background 0.2s, transform 0.2s; }
.cta2-btn:hover { background: #003a75; transform: translateY(-2px); }
@media (max-width: 640px) {
  .cta2-banner { flex-direction: column; height: auto; }
  .cta2-banner .cta-photo { width: 100%; height: 160px; }
  .cta2-banner .cta-photo img { -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%); mask-image: linear-gradient(to bottom, black 60%, transparent 100%); }
  .cta2-banner .cta-content { padding: 20px 20px 8px; }
  .cta2-banner .cta-text-title, .cta2-banner .cta-text-sub { white-space: normal; }
  .cta2-banner .cta-btn-wrap { padding: 12px 20px 24px; width: 100%; }
  .cta2-btn { width: 100%; justify-content: center; }
}


/* ════════════════════════════════════════════════════════════
   AVALES (.avales-*)
   ════════════════════════════════════════════════════════════ */
.avales-banner { display: flex; align-items: center; background: linear-gradient(135deg, #e8f0f9 0%, #dce8f5 100%); border-radius: 20px; box-shadow: 0 4px 24px rgba(0,37,77,0.07); padding: 28px 44px; max-width: 1100px; margin: 0 auto; gap: 0; }
.avales-left { display: flex; flex-direction: row; align-items: center; gap: 32px; flex: 1; }
.avales-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: #7a8aaa; }
.avales-logos { display: flex; align-items: center; gap: 36px; }
.aval-logo { height: 72px; width: auto; object-fit: contain; opacity: 0.88; filter: grayscale(15%); transition: opacity 0.2s, filter 0.2s; }
.aval-logo:hover { opacity: 1; filter: grayscale(0%); }
.avales-divider { width: 1px; height: 64px; background: #c5d4e8; flex-shrink: 0; margin: 0 40px; align-self: center; }
.avales-right { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.avales-colpsic-logo { height: 72px; width: auto; object-fit: contain; flex-shrink: 0; }
.avales-colpsic-text { font-size: 13px; font-weight: 400; color: #5a6a80; line-height: 1.55; max-width: 230px; }
.avales-colpsic-text strong { font-weight: 600; color: #00254D; display: block; margin-bottom: 3px; }
@media (max-width: 820px) {
  .avales-banner { flex-direction: column; padding: 24px 20px; gap: 20px; align-items: stretch; }
  .avales-left { flex-direction: column; align-items: flex-start; gap: 14px; }
  .avales-logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; }
  .aval-logo { height: 52px; width: 100%; object-fit: contain; object-position: left center; }
  .avales-divider { width: 100%; height: 1px; margin: 0; }
  .avales-right { gap: 14px; align-items: center; }
  .avales-colpsic-logo { height: 52px; }
  .avales-colpsic-text { max-width: none; font-size: 13px; }
}


/* ════════════════════════════════════════════════════════════
   STATS BANNER (.stats-*)
   ════════════════════════════════════════════════════════════ */
.stats-banner { display: grid; grid-template-columns: repeat(4, 1fr) 1.5fr; background: radial-gradient(ellipse 80% 100% at 20% 50%, #002d5e 0%, #00254D 100%); border-radius: 20px; overflow: hidden; box-shadow: 0 8px 40px rgba(0,37,77,0.22); width: 100%; }
.stats-item { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 26px 28px; }
.stats-num { font-family: 'Inter', sans-serif; font-size: clamp(32px, 3.2vw, 46px); font-weight: 300; color: #ffffff; line-height: 1; letter-spacing: -0.5px; }
.stats-suffix { color: #60c4f8; }
.stats-label { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.58); line-height: 1.35; }
.stats-text { padding: 26px 32px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.stats-text p { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 400; color: rgba(255,255,255,0.70); line-height: 1.65; }
.stats-text a { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500; color: #5ecfbd; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; transition: color 0.2s; }
.stats-text a:hover { color: #7dddd0; }
@media (max-width: 820px) {
  .stats-banner { grid-template-columns: 1fr 1fr; }
  .stats-item { padding: 28px 22px; }
  .stats-text { grid-column: 1 / -1; padding: 28px 22px; }
  .stats-num { font-size: clamp(28px, 7vw, 38px); }
}
@media (max-width: 420px) {
  .stats-item { padding: 22px 16px; gap: 6px; }
  .stats-text { padding: 22px 16px; }
}


/* ════════════════════════════════════════════════════════════
   PRECIOS (.precios-*)
   ════════════════════════════════════════════════════════════ */
.precios-section { max-width: 1100px; margin: 0 auto; text-align: center; }
.precios-badge { display: inline-flex; align-items: center; gap: 8px; background: #ffffff; border: 1px solid #99e6d8; border-radius: 999px; padding: 6px 18px; margin-bottom: 22px; }
.precios-badge-dot { width: 8px; height: 8px; background: #0D9488; border-radius: 50%; }
.precios-badge-label { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 2px; color: #00254D; text-transform: uppercase; }
.precios-heading { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(26px, 3vw, 42px); font-weight: 400; color: #00254D; line-height: 1.15; margin-bottom: 12px; }
.precios-heading em { font-style: italic; color: #0D9488; }
@media (max-width: 640px) { .precios-heading { font-size: clamp(24px, 6.5vw, 32px); } }
.precios-subheading { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 400; color: #717487; line-height: 1.65; margin-bottom: 48px; }
.precios-tabla { width: 100%; text-align: left; }
.precios-categoria { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 1.8px; color: #7a8299; text-transform: uppercase; margin-bottom: 16px; }
.precios-grid-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 600px) { .precios-grid-cols { grid-template-columns: 1fr; } }
.precios-col { display: flex; flex-direction: column; gap: 8px; }
.precios-col-header { background: #ebeef4; border-radius: 14px; padding: 16px 22px 14px; }
.precios-col-title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(26px, 2.8vw, 34px); font-weight: 300; color: #00254D; }
.precios-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px; overflow: hidden; flex: 1; }
.precios-row { display: grid; grid-template-columns: 1fr 90px 90px; gap: 8px; padding: 14px 22px; border-bottom: 1px solid #f1f4f8; align-items: center; }
.precios-row:last-child { border-bottom: none; }
@media (max-width: 420px) { .precios-row { grid-template-columns: 1fr 72px 72px; padding: 12px 14px; gap: 4px; } }
.precios-row-header .precios-row-label { font-weight: 400; color: #8a93a8; font-size: 13px; }
.precios-row-header .precios-row-val { font-weight: 400; color: #8a93a8; font-size: 13px; }
.precios-row-label { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 400; color: #4e5a72; line-height: 1.4; }
.precios-row-val { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 700; color: #00254D; text-align: right; }
.precios-row-val.dash { font-weight: 400; color: #8a93a8; text-align: right; }
.precios-benefits-header { background: #ebeef4; border-radius: 14px; padding: 18px 22px 16px; margin-bottom: 8px; }
.precios-benefits-title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(18px, 2.2vw, 26px); font-weight: 300; color: #00254D; }
.precios-benefits-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px; overflow: hidden; }
.precios-benefits-row { display: grid; grid-template-columns: 1fr 1fr 1fr; border-bottom: 1px solid #f1f4f8; }
.precios-benefits-row:last-child { border-bottom: none; }
@media (max-width: 700px) { .precios-benefits-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .precios-benefits-row { grid-template-columns: 1fr; } }
.precios-benefit-item { display: flex; align-items: flex-start; gap: 12px; padding: 16px 20px; font-family: 'Inter', sans-serif; font-size: 13px; color: #4e5a72; line-height: 1.45; }
.precios-benefit-item + .precios-benefit-item { border-left: 1px solid #f1f4f8; }
@media (max-width: 440px) { .precios-benefit-item + .precios-benefit-item { border-left: none; border-top: 1px solid #f1f4f8; } }
.precios-benefit-dot { width: 28px; height: 28px; background: #dce4f0; border-radius: 50%; flex-shrink: 0; margin-top: 1px; display: flex; align-items: center; justify-content: center; }
.precios-benefit-dot::after { content: ''; display: block; width: 9px; height: 5px; border-left: 2px solid #00254D; border-bottom: 2px solid #00254D; transform: rotate(-45deg) translate(1px, -1px); }
.precios-btns { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 40px; }
.precios-btn-secondary { display: inline-flex; align-items: center; justify-content: center; padding: 13px 40px; border: 1px solid rgba(0,37,77,0.28); border-radius: 12px; background: #ffffff; font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 500; color: #00254D; text-decoration: none; transition: background 0.2s, border-color 0.2s, transform 0.2s; min-width: 260px; }
.precios-btn-secondary:hover { background: #f8fafc; border-color: #00254D; transform: translateY(-1px); }
.precios-btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 40px; background: #00254D; border: 2px solid #00254D; border-radius: 11px; font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 500; color: #ffffff; text-decoration: none; transition: background 0.2s, transform 0.2s; min-width: 260px; }
.precios-btn-primary:hover { background: #003a75; transform: translateY(-2px); }


/* ════════════════════════════════════════════════════════════
   EQUIPO / ESPECIALISTAS (.team-*)
   ════════════════════════════════════════════════════════════ */
.team-section { max-width: 1100px; margin: 0 auto; text-align: center; }
.team-badge { display: inline-flex; align-items: center; gap: 8px; background: #ffffff; border: 1px solid #ddd6f3; border-radius: 999px; padding: 6px 18px; margin-bottom: 22px; }
.team-badge-dot { width: 8px; height: 8px; background: #7C3AED; border-radius: 50%; }
.team-badge-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: #00254D; text-transform: uppercase; }
.team-heading { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(26px, 3vw, 40px); font-weight: 400; color: #00254D; line-height: 1.15; margin-bottom: 12px; }
.team-heading em { font-style: italic; color: #7C3AED; }
.team-subheading { font-size: 15px; color: #717487; line-height: 1.6; margin-bottom: 52px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; text-align: left; }
@media (max-width: 820px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { display: flex; flex-direction: column; border-radius: 20px; transition: background 0.32s ease; }
.team-card:hover { background: rgba(219, 234, 254, 0.42); }
.team-card-photo { position: relative; width: 100%; aspect-ratio: 3 / 3.4; overflow: hidden; border-radius: 20px; background: linear-gradient(160deg, #d8e8f8 0%, #e8f0fb 100%); margin-bottom: 20px; transition: transform 0.30s ease, box-shadow 0.30s ease; }
.team-card:hover .team-card-photo { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(14, 165, 233, 0.20); }
.team-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform 0.4s ease; }
.team-card:hover .team-card-photo img { transform: scale(1.03); }
.team-card-photo::after { content: ''; position: absolute; inset: 0; border-radius: 20px; background: linear-gradient(180deg, rgba(186,230,253,0.14) 0%, rgba(14,165,233,0.22) 100%); opacity: 0; transition: opacity 0.35s ease; pointer-events: none; }
.team-card:hover .team-card-photo::after { opacity: 1; }
.team-photo-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #c8d8ec 0%, #b8c8e0 100%); }
.team-photo-ph span { font-size: 11px; color: rgba(255,255,255,0.7); text-align: center; padding: 0 12px; }
.team-card-body { display: flex; flex-direction: column; flex: 1; gap: 0; padding: 0 6px 18px; }
.team-card-name { font-family: 'Playfair Display', Georgia, serif; font-size: 20px; font-weight: 400; color: #00254D; line-height: 1.2; margin-bottom: 5px; }
.team-card-role { font-size: 13px; font-weight: 500; letter-spacing: 0.2px; margin-bottom: 12px; color: #7C3AED; }
.team-card-role.role-neuro { color: #0D9488; }
.team-card-role.role-psiq  { color: #1E40AF; }
.team-card-role.role-tca   { color: #F97316; }
.team-card-titles { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.team-card-titles span { font-family: 'Inter', sans-serif; font-style: italic; font-size: 13px; color: #9ca3af; line-height: 1.5; text-wrap: balance; overflow-wrap: break-word; }
.team-card-bio { font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 400; color: #717487; line-height: 1.55; margin-bottom: 18px; }
.team-card-bio a { color: #38BDF8; font-weight: 600; text-decoration: none; }
.team-card-bio a:hover { color: #0ea5e9; }
.team-card-spacer { flex: 1; min-height: 8px; }
.team-card-btn { display: inline-flex; align-items: center; justify-content: center; background: transparent; color: #00254D; border: 1.5px solid #00254D; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500; padding: 12px 20px; border-radius: 10px; text-decoration: none; width: 100%; transition: background 0.22s, color 0.22s, border-color 0.22s; cursor: pointer; }
.team-card-btn:hover { background: #dbeafe; border-color: #93c5fd; color: #00254D; }
.team-cta { text-align: center; margin-top: 56px; }
.team-cta-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #eff6ff; color: #00254D; border: 1.5px solid #bfdbfe; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; padding: 16px 56px; border-radius: 12px; text-decoration: none; letter-spacing: 0.2px; transition: background 0.22s, border-color 0.22s; }
.team-cta-btn:hover { background: #dbeafe; border-color: #93c5fd; }


/* ════════════════════════════════════════════════════════════
   CONVENIOS (.convenios-*, .convenio-*)
   ════════════════════════════════════════════════════════════ */
.convenios-badge { display: inline-flex; align-items: center; gap: 8px; background: #ffffff; border: 1px solid #bfdbfe; border-radius: 999px; padding: 6px 18px; margin-bottom: 22px; }
.convenios-badge-dot { width: 8px; height: 8px; background: #1D4ED8; border-radius: 50%; }
.convenios-badge-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: #00254D; text-transform: uppercase; }
.convenios-heading { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(26px, 3vw, 42px); font-weight: 400; color: #00254D; line-height: 1.15; margin-bottom: 10px; }
.convenios-heading em { font-style: italic; color: #1D4ED8; }
.convenios-sub { font-size: 15px; color: #717487; line-height: 1.65; margin-bottom: 52px; }
.convenios-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .convenios-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .convenios-grid { grid-template-columns: 1fr; } }
.convenio-card { display: flex; flex-direction: column; gap: 0; }
.convenio-card-inner { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 18px; overflow: hidden; padding: 20px 18px; display: flex; flex-direction: column; align-items: center; flex: 1; transition: box-shadow 0.25s, transform 0.25s; }
.convenio-card-inner:hover { box-shadow: 0 8px 32px rgba(0,37,77,0.10); transform: translateY(-3px); }
.convenio-logo-wrap { width: 100%; aspect-ratio: 5 / 2.5; border-radius: 10px; overflow: hidden; background: transparent; display: flex; align-items: center; justify-content: center; }
.convenio-logo-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 12px 18px; display: block; }
.convenio-logo-ph { font-size: 12px; font-weight: 600; color: #a0aec0; text-align: center; padding: 10px; line-height: 1.4; display: none; }
.convenio-logo-ph span { display: block; font-size: 10px; font-weight: 400; color: #b8c4d4; margin-top: 4px; }
.convenio-link { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 400; color: #5a6a80; text-decoration: none; text-align: center; }
.convenio-link a { color: #1D4ED8; font-weight: 600; text-decoration: none; transition: color 0.2s; }
.convenio-link a:hover { color: #1e40af; text-decoration: underline; }
.convenios-contacto { margin-top: 44px; font-size: 14px; color: #8a95a8; line-height: 1.6; }
.convenios-contacto a { color: #1D4ED8; font-weight: 600; text-decoration: none; transition: color 0.2s; }
.convenios-contacto a:hover { color: #1e40af; text-decoration: underline; }


/* ════════════════════════════════════════════════════════════
   BANNER ¿ERES PSICÓLOG@? (.psibanner-*)
   ════════════════════════════════════════════════════════════ */
.psibanner { display: flex; align-items: center; background: linear-gradient(135deg, #f3eeff 0%, #ede5ff 100%); border-radius: 20px; overflow: hidden; height: 108px; box-shadow: 0 4px 24px rgba(109,40,217,0.08); max-width: 1100px; margin: 0 auto; }
.psibanner-photo { height: 108px; width: 150px; flex-shrink: 0; background: transparent; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; position: relative; }
.psibanner-photo img { height: 115%; width: auto; object-fit: cover; object-position: top center; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); }
.psibanner-photo-ph { width: 100%; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.psibanner-photo-ph svg { width: 68px; height: 68px; opacity: 0.45; }
.psibanner-body { display: flex; align-items: center; gap: 16px; flex: 1; padding: 0 28px; }
.psibanner-icon { width: 42px; height: 42px; background: #ede9fe; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.psibanner-title { font-size: 16px; font-weight: 700; color: #00254D; }
.psibanner-sub { font-size: 13px; color: #7C3AED; opacity: 0.8; margin-top: 3px; line-height: 1.4; }
.psibanner-btn { display: inline-flex; align-items: center; justify-content: center; background: transparent; color: #00254D; border: 2px solid #00254D; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; padding: 12px 28px; border-radius: 12px; text-decoration: none; white-space: nowrap; flex-shrink: 0; margin-right: 28px; transition: background 0.2s, color 0.2s; }
.psibanner-btn:hover { background: #00254D; color: #ffffff; }
@media (max-width: 680px) { .psibanner { flex-direction: column; height: auto; padding: 24px 20px; gap: 16px; align-items: flex-start; } .psibanner-photo { display: none; } .psibanner-body { padding: 0; } .psibanner-btn { margin-right: 0; } }
