 
    /* CSS Reset & Base */
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    :root {
      --primary: #476EA3;
      --primary-foreground: #FFFFFF;
      --background: #FFFFFF;
      --foreground: #0F172A;
      --secondary: #CFE6FA;
      --muted: #E2E8F0;
      --muted-foreground: #64748B;
      --border: #E2E8F0;
      --accent-green: #A9C36A;
      --accent-orange: #D88A2B;
      --accent-purple: #7A2D78;
      --accent-teal: #5FA39A;
      --accent-yellow: #E4B33A;
      --accent-blue: #4FA0D8;
      --accent-pink: #C76A93;
      --radius: 0.75rem;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Poppins', system-ui, -apple-system, sans-serif;
      background-color: var(--background);
      color: var(--foreground);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

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

    ul {
      list-style: none;
    }

    img {
      max-width: 100%;
      display: block;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 1rem;
    }

    @media (min-width: 640px) {
      .container { padding: 0 1.5rem; }
    }

    @media (min-width: 1024px) {
      .container { padding: 0 2rem; }
    }

    /* Utilities */
    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    .text-balance {
      text-wrap: balance;
    }

    .text-pretty {
      text-wrap: pretty;
    }

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      font-weight: 600;
      border-radius: var(--radius);
      transition: all 0.2s ease;
      cursor: pointer;
      border: none;
      font-family: inherit;
    }

    .btn-primary {
      background-color: var(--primary);
      color: var(--primary-foreground);
      padding: 0.75rem 1.5rem;
    }

    .btn-primary:hover {
      background-color: #3b5c8a;
    }

    .btn-outline {
      background-color: transparent;
      color: var(--primary);
      border: 2px solid var(--primary);
      padding: 0.75rem 1.5rem;
    }
     .btn-outline-npi {
      background-color: transparent;
      color: var(#31897e);
      border: 2px solid var(#31897e);
      padding: 0.75rem 1.5rem;
    }

    .btn-outline:hover {
      background-color: rgba(71, 110, 163, 0.05);
    }

    .btn-lg {
      padding: 1rem 2rem;
      font-size: 1rem;
    }

    /* Badge */
    .badge {
      display: inline-block;
      padding: 0.375rem 1rem;
      border-radius: 9999px;
      font-size: 0.875rem;
      font-weight: 500;
    }

    .badge-primary {
      background-color: rgba(71, 110, 163, 0.1);
      color: var(--primary);
    }

    .badge-green {
      background-color: var(--accent-green);
      color: white;
      font-size: 0.75rem;
      font-weight: 600;
      padding: 0.25rem 0.625rem;
    }

    /* Header */
    .header {
      position: sticky;
      top: 0;
      z-index: 50;
      background-color: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid var(--border);
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 4rem;
    }

    @media (min-width: 768px) {
      .header-inner { height: 5rem; }
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .logo-icon {
      width: 2.5rem;
      height: 2.5rem;
      background-color: var(--muted);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    @media (min-width: 768px) {
      .logo-icon { width: 3rem; height: 3rem; }
    }

    .logo-icon span {
      color: var(--primary-foreground);
      font-weight: 700;
      font-size: 1rem;
    }

    @media (min-width: 768px) {
      .logo-icon span { font-size: 1.25rem; }
    }

    .logo-text {
      display: none;
    }

    @media (min-width: 640px) {
      .logo-text { display: block; }
    }

    .logo-text p {
      font-weight: 600;
      font-size: 0.875rem;
      line-height: 1.2;
    }

    .logo-text p:last-child {
      color: var(--primary);
    }

    .nav-desktop {
      display: none;
    }

    @media (min-width: 1024px) {
      .nav-desktop {
        display: flex;
        align-items: center;
        gap: 1.5rem;
      }
    }

    .nav-desktop a {
      color: var(--muted-foreground);
      font-size: 0.875rem;
      font-weight: 500;
      transition: color 0.2s;
    }

    .nav-desktop a:hover {
      color: var(--primary);
    }

    .header-cta {
      display: none;
    }

    @media (min-width: 768px) {
      .header-cta { display: flex; }
    }

    .mobile-menu-btn {
      display: flex;
      padding: 0.5rem;
      background: none;
      border: none;
      cursor: pointer;
      color: var(--foreground);
    }

    @media (min-width: 1024px) {
      .mobile-menu-btn { display: none; }
    }

    .mobile-menu-btn svg {
      width: 1.5rem;
      height: 1.5rem;
    }

    .nav-mobile {
      display: none;
      padding: 1rem 0;
      border-top: 1px solid var(--border);
    }

    .nav-mobile.active {
      display: block;
    }

    @media (min-width: 1024px) {
      .nav-mobile { display: none !important; }
    }

    .nav-mobile ul {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .nav-mobile a {
      display: block;
      padding: 0.5rem 1rem;
      color: var(--muted-foreground);
      border-radius: 0.5rem;
      transition: all 0.2s;
    }

    .nav-mobile a:hover {
      color: var(--primary);
      background-color: rgba(207, 230, 250, 0.5);
    }

    .nav-mobile .btn {
      margin-top: 0.5rem;
      width: 100%;
    }

    /* Hero Section */
    .hero {
      background: linear-gradient(to bottom, rgba(207, 230, 250, 0.3), var(--background));
      padding: 4rem 0;
    }

    @media (min-width: 768px) {
      .hero { padding: 6rem 0; }
    }

    @media (min-width: 1024px) {
      .hero { padding: 8rem 0; }
    }

    .hero-grid {
      display: grid;
      gap: 3rem;
      align-items: center;
    }

    @media (min-width: 1024px) {
      .hero-grid { grid-template-columns: 1fr 1fr; }
    }

    .hero-content {
      text-align: center;
    }

    @media (min-width: 1024px) {
      .hero-content { text-align: left; }
    }

    .hero h1 {
      font-size: 1.875rem;
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 1.5rem;
    }

    @media (min-width: 640px) {
      .hero h1 { font-size: 2.25rem; }
    }

    @media (min-width: 768px) {
      .hero h1 { font-size: 3rem; }
    }

    @media (min-width: 1024px) {
      .hero h1 { font-size: 3.75rem; }
    }

    .hero h1 span {
      color: var(--primary);
    }

    .hero-description {
      font-size: 1.125rem;
      color: var(--muted-foreground);
      margin-bottom: 2rem;
      max-width: 42rem;
      margin-left: auto;
      margin-right: auto;
    }

    @media (min-width: 1024px) {
      .hero-description {
        margin-left: 0;
        margin-right: 0;
      }
    }

    .hero-trust {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      justify-content: center;
      margin-bottom: 2rem;
    }

    @media (min-width: 640px) {
      .hero-trust { flex-direction: row; }
    }

    @media (min-width: 1024px) {
      .hero-trust { justify-content: flex-start; }
    }

    .hero-trust li {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      color: var(--muted-foreground);
      font-size: 0.875rem;
    }

    .hero-trust svg {
      width: 1.25rem;
      height: 1.25rem;
      color: var(--accent-green);
      flex-shrink: 0;
    }

   .event-banner {
  position: relative;
  margin-bottom: 2.5rem;
  border-radius: 1.25rem;
  overflow: hidden;

  /* Altura adaptable */
  min-height: 11rem;
  height: clamp(220px, 28vw, 360px);

  background-image:
    linear-gradient(
      120deg,
      rgba(145, 172, 235, 0.5),
      rgba(126, 143, 184, 0.1)
    ),
    url('/public/img/img/enpi/enpi3_3.png');

  background-size: cover;        /* adapta la imagen */
  background-position: center;   /* centra lo importante */
  background-repeat: no-repeat;

  box-shadow: 0 18px 40px rgba(124, 156, 231, 0.18);

  display: flex;
  align-items: flex-end;
}

    .event-banner-overlay {
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
      padding: 1.5rem;
      color: #fff;
    }

    .event-banner-kicker {
      font-size: 0.95rem;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .event-banner-meta {
      font-size: 1.15rem;
      font-weight: 700;
    }

    @media (min-width: 768px) {
      .event-banner {
        min-height: 14rem;
      }

      .event-banner-kicker {
        font-size: 1rem;
      }

      .event-banner-meta {
        font-size: 1.35rem;
      }
    }

    .countdown-card {
      margin-top: 1.5rem;
      padding: 1.5rem;
      border-radius: 1.25rem;
      background: #ffffff;
      border: 1px solid rgba(71, 110, 163, 0.15);
      box-shadow: 0 14px 30px rgba(71, 110, 163, 0.12);
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
      align-items: center;
      text-align: center;
    }

    @media (min-width: 1024px) {
      .countdown-card {
        align-items: flex-start;
        text-align: left;
      }
    }

    .countdown-title {
      font-weight: 600;
      color: var(--foreground);
    }

    .countdown-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1rem;
      width: 100%;
      max-width: 22rem;
    }

    @media (min-width: 640px) {
      .countdown-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        max-width: 28rem;
      }
    }

    .countdown-item {
      background: rgba(71, 110, 163, 0.08);
      border-radius: 0.9rem;
      padding: 0.75rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.25rem;
    }

    .countdown-value {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--primary);
    }

    .countdown-label {
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--muted-foreground);
    }

    .countdown-cta {
      width: 100%;
      justify-content: center;
    }

    .hero-ctas {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      justify-content: center;
    }

    @media (min-width: 640px) {
      .hero-ctas { flex-direction: row; }
    }

    @media (min-width: 1024px) {
      .hero-ctas { justify-content: flex-start; }
    }

    .hero-ctas .btn {
      border-radius: 0.75rem;
      box-shadow: 0 10px 25px -5px rgba(71, 110, 163, 0.25);
    }

    .hero-visual {
      display: none;
    }

    @media (min-width: 1024px) {
      .hero-visual { display: block; }
    }

    .hero-visual-inner {
      aspect-ratio: 1;
      max-width: 32rem;
      margin: 0 auto;
      background-image: url('https://centropsicologicoinfantil.com/public/img/img/enpi/enpi3.png');
      background-repeat: no-repeat;
      background-position: center;
      background-size: 100%;
      border-radius: 1.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }

    .hero-visual-circle-1 {
      position: absolute;
      top: 2rem;
      left: 2rem;
      width: 5rem;
      height: 5rem;
      background-image: url('https://centropsicologicoinfantil.com/public/img/img/portfolio/p9.jpg');
      background-repeat: no-repeat;
      background-position: center;
      background-size: 100%;
      /*background-color: rgba(79, 160, 216, 0.2);*/
      border-radius: 50%;
    }

    .hero-visual-circle-2 {
      position: absolute;
      bottom: 3rem;
      right: 3rem;
      width: 8rem;
      height: 8rem;
      background-color: rgba(71, 110, 163, 0.1);
      border-radius: 50%;
    }

    .hero-visual-logo {
      width: 12rem;
      height: 12rem;
      background-image: url('https://centropsicologicoinfantil.com/public/img/img/enpi/enpi3.png');
      background-repeat: no-repeat;
      background-position: center;
      background-size: 100%;
      /*background-color: rgba(250, 250, 163, 0.2);*/
      border-radius: 50%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }

    .hero-visual-logo p:first-child {
      font-size: 3.75rem;
      font-weight: 700;
      color: var(--primary);
    }

    .hero-visual-logo p:last-child {
      font-size: 0.875rem;
      color: rgba(71, 110, 163, 0.8);
      font-weight: 500;
      margin-top: 0.5rem;
    }

    /* Nueva Sede Section */
    .nueva-sede {
      padding: 1.5rem 0;
      background-color: rgba(169, 195, 106, 0.1);
    }

    .nueva-sede-inner {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      align-items: center;
      justify-content: space-between;
      padding: 1rem 1.5rem;
      background-color: var(--background);
      border-radius: 1rem;
      border: 1px solid rgba(169, 195, 106, 0.3);
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    @media (min-width: 640px) {
      .nueva-sede-inner { flex-direction: row; }
    }

    .nueva-sede-content {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .nueva-sede-icon {
      width: 3rem;
      height: 3rem;
      background-color: rgba(169, 195, 106, 0.2);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .nueva-sede-icon svg {
      width: 1.5rem;
      height: 1.5rem;
      color: var(--accent-green);
    }

    .nueva-sede-title {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 0.25rem;
    }

    .nueva-sede-title h3 {
      font-weight: 600;
    }

    .nueva-sede-desc {
      font-size: 0.875rem;
      color: var(--muted-foreground);
      display: flex;
      align-items: center;
      gap: 0.25rem;
    }

    .nueva-sede-desc svg {
      width: 1rem;
      height: 1rem;
    }

    .nueva-sede-link {
      color: var(--primary);
      font-weight: 500;
      font-size: 0.875rem;
      white-space: nowrap;
    }

    .nueva-sede-link:hover {
      text-decoration: underline;
    }

    /* Section Styles */
    .section {
      padding: 4rem 0;
    }

    @media (min-width: 768px) {
      .section { padding: 6rem 0; }
    }

    .section-alt {
      background-color: rgba(207, 230, 250, 0.2);
    }

    .section-header {
      text-align: center;
      margin-bottom: 3rem;
    }

    @media (min-width: 768px) {
      .section-header { margin-bottom: 4rem; }
    }

    .section-header h2 {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 1rem;
    }

    @media (min-width: 640px) {
      .section-header h2 { font-size: 1.875rem; }
    }

    @media (min-width: 768px) {
      .section-header h2 { font-size: 2.25rem; }
    }

    .section-subtitle {
      margin-top: 1rem;
      color: var(--muted-foreground);
      font-size: 1rem;
      max-width: 52rem;
      margin-left: auto;
      margin-right: auto;
    }

    .recap-section .section-header {
      text-align: center;
    }

    .recap-grid {
      display: grid;
      gap: 1.25rem;
      margin-top: 2.5rem;
      margin-bottom: 2.5rem;
    }

    @media (min-width: 768px) {
      .recap-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }

    .recap-media {
      border-radius: 1rem;
      overflow: hidden;
      box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
    }

    .recap-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      aspect-ratio: 4 / 3;
    }

    .recap-speakers {
      display: grid;
      gap: 1.5rem;
    }

    @media (min-width: 1024px) {
      .recap-speakers {
        grid-template-columns: 1.3fr 1fr;
        align-items: start;
      }
    }

    .recap-card {
      background: #ffffff;
      border-radius: 1rem;
      padding: 1.5rem;
      border: 1px solid rgba(71, 110, 163, 0.15);
      box-shadow: 0 12px 24px rgba(71, 110, 163, 0.1);
    }

    .recap-card h4 {
      font-size: 1.1rem;
      margin-bottom: 0.75rem;
      color: var(--foreground);
    }

    .recap-card h4 + .recap-list {
      margin-bottom: 1.5rem;
    }

    .recap-list {
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
      color: var(--muted-foreground);
      font-size: 0.95rem;
    }

    .recap-highlights {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-top: 1.25rem;
    }

    .recap-highlights span {
      background: rgba(79, 160, 216, 0.12);
      color: var(--primary);
      padding: 0.45rem 0.9rem;
      border-radius: 999px;
      font-size: 0.85rem;
      font-weight: 600;
    }

    .section-header p {
      color: var(--muted-foreground);
      font-size: 1.125rem;
      max-width: 42rem;
      margin: 0 auto;
    }
 /* Cards Grid  formacion*/
    .cards-grid-f {
      display: grid;
      gap: 1.5rem;
    }

    @media (min-width: 768px) {
      .cards-grid-f { grid-template-columns: repeat(4, 1fr); }
    }

    .card {
      background-color: var(--background);
      border-radius: 1rem;
      padding: 1.5rem;
      border: 1px solid var(--border);
      transition: all 0.3s ease;
    }

    @media (min-width: 768px) {
      .card { padding: 2rem; }
    }

    .card:hover {
      border-color: rgba(71, 110, 163, 0.3);
      box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    }

    .card-icon {
      width: 3.5rem;
      height: 3.5rem;
      border-radius: 0.75rem;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1.5rem;
    }

    .card-icon svg {
      width: 1.75rem;
      height: 1.75rem;
    }

    .card h3 {
      font-size: 1.25rem;
      font-weight: 600;
      margin-bottom: 0.75rem;
    }

    .card p {
      color: var(--muted-foreground);
      line-height: 1.6;
    }
    /* Cards Grid  servicios*/
    .cards-grid-s {
      display: grid;
      gap: 1.5rem;
    }

    @media (min-width: 768px) {
      .cards-grid-s { grid-template-columns: repeat(5, 1fr); }
    }

    .card {
      background-color: var(--background);
      border-radius: 1rem;
      padding: 1.5rem;
      border: 1px solid var(--border);
      transition: all 0.3s ease;
    }

    @media (min-width: 768px) {
      .card { padding: 2rem; }
    }

    .card:hover {
      border-color: rgba(71, 110, 163, 0.3);
      box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    }

    .card-icon {
      width: 3.5rem;
      height: 3.5rem;
      border-radius: 0.75rem;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1.5rem;
    }

    .card-icon svg {
      width: 1.75rem;
      height: 1.75rem;
    }

    .card h3 {
      font-size: 1.25rem;
      font-weight: 600;
      margin-bottom: 0.75rem;
    }

    .card p {
      color: var(--muted-foreground);
      line-height: 1.6;
    }
    /* Cards Grid  servicios*/
    .cards-grid-s2 {
      display: grid;
      gap: 1.5rem;
    }

    @media (min-width: 768px) {
      .cards-grid-s2 { grid-template-columns: repeat(6, 1fr); }
    }

    .card {
      background-color: var(--background);
      border-radius: 1rem;
      padding: 1.5rem;
      border: 1px solid var(--border);
      transition: all 0.3s ease;
    }

    @media (min-width: 768px) {
      .card { padding: 2rem; }
    }

    .card:hover {
      border-color: rgba(71, 110, 163, 0.3);
      box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    }

    .card-icon {
      width: 3.5rem;
      height: 3.5rem;
      border-radius: 0.75rem;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1.5rem;
    }

    .card-icon svg {
      width: 1.75rem;
      height: 1.75rem;
    }

    .card h3 {
      font-size: 1.25rem;
      font-weight: 600;
      margin-bottom: 0.75rem;
    }

    .card p {
      color: var(--muted-foreground);
      line-height: 1.6;
    }
    /* Cards Grid */
    .cards-grid {
      display: grid;
      gap: 1.5rem;
    }

    @media (min-width: 768px) {
      .cards-grid { grid-template-columns: repeat(3, 1fr); }
    }

    .card {
      background-color: var(--background);
      border-radius: 1rem;
      padding: 1.5rem;
      border: 1px solid var(--border);
      transition: all 0.3s ease;
    }

    @media (min-width: 768px) {
      .card { padding: 2rem; }
    }

    .card:hover {
      border-color: rgba(71, 110, 163, 0.3);
      box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    }

    .card-icon {
      width: 3.5rem;
      height: 3.5rem;
      border-radius: 0.75rem;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1.5rem;
    }

    .card-icon svg {
      width: 1.75rem;
      height: 1.75rem;
    }

    .card h3 {
      font-size: 1.25rem;
      font-weight: 600;
      margin-bottom: 0.75rem;
    }

    .card p {
      color: var(--muted-foreground);
      line-height: 1.6;
    }

    /* Additional Services */
    .additional-services {
      background-color: rgba(207, 230, 250, 0.3);
      border-radius: 1rem;
      padding: 1.5rem;
      margin-top: 3rem;
    }

    @media (min-width: 768px) {
      .additional-services { padding: 2rem; }
    }

    .additional-services h3 {
      font-size: 1.125rem;
      font-weight: 600;
      margin-bottom: 1.5rem;
      text-align: center;
    }

    .additional-services-grid {
      display: grid;
      gap: 1rem;
    }

    @media (min-width: 640px) {
      .additional-services-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (min-width: 1024px) {
      .additional-services-grid { grid-template-columns: repeat(3, 1fr); }
    }

    .additional-service {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
      background-color: var(--background);
      border-radius: 0.75rem;
      padding: 1rem;
    }

    .additional-service-icon {
      width: 2.5rem;
      height: 2.5rem;
      background-color: rgba(71, 110, 163, 0.1);
      border-radius: 0.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .additional-service-icon svg {
      width: 1.25rem;
      height: 1.25rem;
      color: var(--primary);
    }

    .additional-service h4 {
      font-weight: 500;
      margin-bottom: 0.25rem;
    }

    .additional-service p {
      font-size: 0.875rem;
      color: var(--muted-foreground);
    }

    /* Community Cards */
    .community-card {
     background: transparent;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  align-self: start;

    }

    .community-card:hover {
      box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    }

    .community-card-header {
      padding: 1.5rem;
    }

    @media (min-width: 768px) {
      .community-card-header { padding: 2rem; }
    }

    .community-card-top {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1rem;
    }

    .community-card-icon {
      width: 3.5rem;
      height: 3.5rem;
      border-radius: 0.75rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .community-card-icon svg {
      width: 1.75rem;
      height: 1.75rem;
      color: white;
    }

    .community-card-title h3 {
      font-size: 1.5rem;
      font-weight: 700;
    }

    .community-card-title p {
      font-size: 0.875rem;
      color: var(--muted-foreground);
    }

    .community-card-header > p {
      color: var(--muted-foreground);
    }

    .community-card-features {
      padding: 1.5rem;
      padding-top: 0;
    }

    @media (min-width: 768px) {
      .community-card-features { padding: 2rem; padding-top: 0; }
    }

    .community-card-features ul {
      margin-top: 1.5rem;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .community-card-features li {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.875rem;
    }

    .community-card-features li span {
      width: 0.375rem;
      height: 0.375rem;
      border-radius: 50%;
    }

    /* Direction Section */
    .direction-grid {
      display: grid;
      gap: 3rem;
      align-items: center;
    }

    @media (min-width: 1024px) {
      .direction-grid { grid-template-columns: 1fr 1fr; }
    }

    .direction-visual {
      order: 2;
    }

    @media (min-width: 1024px) {
      .direction-visual { order: 1; }
    }

    .direction-visual-inner {
      aspect-ratio: 4/5;
      max-width: 28rem;
      margin: 0 auto;
      background-image: url('https://centropsicologicoinfantil.com/public/img/img/Team/yurias.jpeg');
      background-repeat: no-repeat;
      background-position: center;
      background-size: 100%;
     /* background-color: var(--secondary);*/
      border-radius: 1.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      padding: 2rem;
    }

    .direction-visual-avatar {
      width: 8rem;
      height: 8rem;
      background-color: rgba(71, 110, 163, 0.2);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 1.5rem;
    }

    .direction-visual-avatar span {
      font-size: 3rem;
      font-weight: 700;
      color: var(--primary);
    }

    .direction-visual-text {
      text-align: center;
    }

    .direction-visual-text p:first-child {
      font-size: 1.25rem;
      font-weight: 600;
    }

    .direction-visual-text p:last-child {
      color: var(--primary);
      font-weight: 500;
    }

    .direction-badge {
      position: absolute;
      bottom: -1rem;
      right: -1rem;
      background-color: var(--primary);
      color: var(--primary-foreground);
      padding: 0.5rem 1rem;
      border-radius: 0.75rem;
      box-shadow: 0 10px 25px -5px rgba(71, 110, 163, 0.4);
    }

    .direction-badge p {
      font-size: 0.875rem;
      font-weight: 600;
    }

    .direction-content {
      order: 1;
    }

    @media (min-width: 1024px) {
      .direction-content { order: 2; }
    }

    .direction-content h2 {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 1.5rem;
    }

    @media (min-width: 640px) {
      .direction-content h2 { font-size: 1.875rem; }
    }

    @media (min-width: 768px) {
      .direction-content h2 { font-size: 2.25rem; }
    }

    .direction-content > p {
      color: var(--muted-foreground);
      font-size: 1.125rem;
      margin-bottom: 1.5rem;
      line-height: 1.7;
    }

    .direction-content > p strong {
      color: var(--foreground);
    }

    .direction-credentials {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .direction-credential {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
    }

    .direction-credential-icon {
      width: 2.5rem;
      height: 2.5rem;
      background-color: rgba(71, 110, 163, 0.1);
      border-radius: 0.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .direction-credential-icon svg {
      width: 1.25rem;
      height: 1.25rem;
      color: var(--primary);
    }

    .direction-credential h4 {
      font-weight: 500;
    }

    .direction-credential p {
      font-size: 0.875rem;
      color: var(--muted-foreground);
    }

    /* Model Section */
    .model-section {
      background-color: var(--primary);
      color: var(--primary-foreground);
      padding: 4rem 0;
    }

    @media (min-width: 768px) {
      .model-section { padding: 6rem 0; }
    }

    .model-section .section-header h2 {
      color: var(--primary-foreground);
    }

    .model-section .section-header p {
      color: rgba(255, 255, 255, 0.8);
    }

    .model-section .badge {
      background-color: rgba(255, 255, 255, 0.2);
      color: var(--primary-foreground);
    }

    .model-grid {
      display: grid;
      gap: 1.5rem;
      margin-bottom: 3rem;
    }

    @media (min-width: 640px) {
      .model-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (min-width: 1024px) {
      .model-grid { grid-template-columns: repeat(4, 1fr); }
    }

    .model-pillar {
      text-align: center;
    }

    .model-pillar-icon {
      width: 4rem;
      height: 4rem;
      background-color: rgba(255, 255, 255, 0.2);
      border-radius: 1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 1rem;
    }

    .model-pillar-icon svg {
      width: 2rem;
      height: 2rem;
    }

    .model-pillar-number {
      font-size: 2.25rem;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.3);
      margin-bottom: 0.5rem;
    }

    .model-pillar h3 {
      font-size: 1.125rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
    }

    .model-pillar p {
      font-size: 0.875rem;
      color: rgba(255, 255, 255, 0.7);
      line-height: 1.6;
    }

    .model-cta {
      text-align: center;
    }

    .model-cta .btn {
      background-color: var(--primary-foreground);
      color: var(--primary);
    }

    .model-cta .btn:hover {
      background-color: rgba(255, 255, 255, 0.9);
    }

    /* Team Section */
    .team-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
      margin-bottom: 3rem;
    }

    @media (min-width: 768px) {
      .team-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
    }

    @media (min-width: 1024px) {
      .team-grid { grid-template-columns: repeat(6, 1fr); }
    }

    .team-member {
      text-align: center;
    }

    .team-member-avatar {
      aspect-ratio: 1;
      border-radius: 1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1rem;
      transition: transform 0.3s ease;
    }

    .team-member:hover .team-member-avatar {
      transform: scale(1.05);
    }

    .team-member-avatar-inner {
      width: 4rem;
      height: 4rem;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 1.25rem;
      font-weight: 700;
    }

    @media (min-width: 768px) {
      .team-member-avatar-inner { width: 5rem; height: 5rem; font-size: 1.5rem; }
    }

    .team-member h3 {
      font-weight: 600;
      font-size: 0.875rem;
      margin-bottom: 0.25rem;
    }

    @media (min-width: 768px) {
      .team-member h3 { font-size: 1rem; }
    }

    .team-member > p {
      color: var(--muted-foreground);
      font-size: 0.75rem;
    }

    @media (min-width: 768px) {
      .team-member > p { font-size: 0.875rem; }
    }

    .team-member-badge {
      display: inline-block;
      margin-top: 0.5rem;
      padding: 0.125rem 0.5rem;
      border-radius: 9999px;
      font-size: 0.75rem;
      font-weight: 500;
    }

    .team-cta {
      text-align: center;
    }

    /* Formacion Section */
    .formacion-card {
      background-color: var(--background);
      border-radius: 1rem;
      padding: 1.5rem;
      border: 1px solid var(--border);
      transition: all 0.3s ease;
    }

    @media (min-width: 768px) {
      .formacion-card { padding: 2rem; }
    }

    .formacion-card:hover {
      border-color: rgba(71, 110, 163, 0.3);
      box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    }

    .formacion-card-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      margin-bottom: 1.5rem;
    }

    .formacion-card-icon {
      width: 3.5rem;
      height: 3.5rem;
      border-radius: 0.75rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .formacion-card-icon svg {
      width: 1.75rem;
      height: 1.75rem;
    }

    .formacion-card-tag {
      font-size: 0.75rem;
      font-weight: 500;
      padding: 0.25rem 0.75rem;
      border-radius: 9999px;
    }

    .formacion-card h3 {
      font-size: 1.25rem;
      font-weight: 600;
      margin-bottom: 0.75rem;
    }

    .formacion-card p {
      color: var(--muted-foreground);
      line-height: 1.6;
    }

    /* Gallery Section */
    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
    }

    @media (min-width: 640px) {
      .gallery-grid { gap: 1.5rem; }
    }

    @media (min-width: 768px) {
      .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    }

    @media (min-width: 1024px) {
      .gallery-grid { grid-template-columns: repeat(4, 1fr); }
    }

    .gallery-item {
      position: relative;
      aspect-ratio: 1;
      border-radius: 1rem;
      overflow: hidden;
      cursor: pointer;
      background-color: var(--secondary);
    }

    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .gallery-item:hover img {
      transform: scale(1.05);
    }

    .gallery-item-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
      opacity: 0;
      transition: opacity 0.3s ease;
      display: flex;
      align-items: flex-end;
      padding: 1rem;
    }

    .gallery-item:hover .gallery-item-overlay {
      opacity: 1;
    }

    .gallery-item-overlay p {
      color: white;
      font-size: 0.875rem;
      font-weight: 500;
    }

    .gallery-item-placeholder {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background-color: var(--secondary);
    }

    .gallery-item-placeholder svg {
      width: 2.5rem;
      height: 2.5rem;
      color: var(--primary);
      opacity: 0.5;
      margin-bottom: 0.5rem;
    }

    .gallery-item-placeholder p {
      font-size: 0.75rem;
      color: var(--muted-foreground);
    }

    /* Featured (larger) gallery items */
    .gallery-item.featured {
      grid-column: span 2;
      grid-row: span 2;
    }

    @media (max-width: 639px) {
      .gallery-item.featured {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 16/9;
      }
    }

    /* Gallery Lightbox */
    .gallery-lightbox {
      position: fixed;
      inset: 0;
      z-index: 100;
      background-color: rgba(0, 0, 0, 0.9);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 1rem;
    }

    .gallery-lightbox.active {
      display: flex;
    }

    .gallery-lightbox-close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      width: 3rem;
      height: 3rem;
      background-color: rgba(255, 255, 255, 0.1);
      border: none;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background-color 0.2s;
    }

    .gallery-lightbox-close:hover {
      background-color: rgba(255, 255, 255, 0.2);
    }

    .gallery-lightbox-close svg {
      width: 1.5rem;
      height: 1.5rem;
      color: white;
    }

    .gallery-lightbox-content {
      max-width: 90vw;
      max-height: 80vh;
    }

    .gallery-lightbox-content img {
      max-width: 100%;
      max-height: 80vh;
      object-fit: contain;
      border-radius: 0.5rem;
    }

    .gallery-lightbox-caption {
      text-align: center;
      color: white;
      margin-top: 1rem;
      font-size: 0.875rem;
    }

    .gallery-lightbox-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 3rem;
      height: 3rem;
      background-color: rgba(255, 255, 255, 0.1);
      border: none;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background-color 0.2s;
    }

    .gallery-lightbox-nav:hover {
      background-color: rgba(255, 255, 255, 0.2);
    }

    .gallery-lightbox-nav svg {
      width: 1.5rem;
      height: 1.5rem;
      color: white;
    }

    .gallery-lightbox-prev {
      left: 1rem;
    }

    .gallery-lightbox-next {
      right: 1rem;
    }

    @media (max-width: 639px) {
      .gallery-lightbox-nav {
        width: 2.5rem;
        height: 2.5rem;
      }
      .gallery-lightbox-close {
        width: 2.5rem;
        height: 2.5rem;
      }
    }

    /* Testimonios Section */
    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
      margin-bottom: 3rem;
    }

    @media (min-width: 768px) {
      .metrics-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
    }

    .metric {
      text-align: center;
      padding: 1.5rem;
      background-color: rgba(207, 230, 250, 0.3);
      border-radius: 1rem;
    }

    .metric p:first-child {
      font-size: 1.875rem;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 0.25rem;
    }

    @media (min-width: 768px) {
      .metric p:first-child { font-size: 2.25rem; }
    }

    .metric p:last-child {
      font-size: 0.875rem;
      color: var(--muted-foreground);
    }

    .testimonials-grid {
      display: grid;
      gap: 1.5rem;
    }

    @media (min-width: 768px) {
      .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    }

    .testimonial {
      background-color: var(--background);
      border-radius: 1rem;
      padding: 1.5rem;
      border: 1px solid var(--border);
      position: relative;
    }

    @media (min-width: 768px) {
      .testimonial { padding: 2rem; }
    }

    .testimonial-quote {
      position: absolute;
      top: 1.5rem;
      right: 1.5rem;
      width: 2.5rem;
      height: 2.5rem;
      color: rgba(71, 110, 163, 0.1);
    }

    .testimonial-rating {
      display: flex;
      gap: 0.25rem;
      margin-bottom: 1rem;
    }

    .testimonial-rating svg {
      width: 1.25rem;
      height: 1.25rem;
      color: var(--accent-yellow);
      fill: var(--accent-yellow);
    }

    .testimonial blockquote {
      margin-bottom: 1.5rem;
      line-height: 1.6;
    }

    .testimonial-footer {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .testimonial-avatar {
      width: 3rem;
      height: 3rem;
      background-color: rgba(71, 110, 163, 0.1);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .testimonial-avatar span {
      color: var(--primary);
      font-weight: 600;
    }

    .testimonial-author p:first-child {
      font-weight: 600;
    }

    .testimonial-author p:last-child {
      font-size: 0.875rem;
      color: var(--muted-foreground);
    }

    .testimonials-note {
      text-align: center;
      font-size: 0.75rem;
      color: var(--muted-foreground);
      margin-top: 1.5rem;
    }

    /* Contact Section */
    .contact-grid {
      display: grid;
      gap: 2rem;
    }

    @media (min-width: 1024px) {
      .contact-grid { grid-template-columns: 2fr 1fr; }
    }

    .contact-info {
      display: grid;
      gap: 1.5rem;
    }

    @media (min-width: 640px) {
      .contact-info { grid-template-columns: repeat(2, 1fr); }
    }

    .contact-card {
      background-color: var(--background);
      border-radius: 1rem;
      padding: 1.5rem;
      border: 1px solid var(--border);
    }

    .contact-card-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      margin-bottom: 1rem;
    }

    .contact-card-icon {
      width: 3rem;
      height: 3rem;
      border-radius: 0.75rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .contact-card-icon svg {
      width: 1.5rem;
      height: 1.5rem;
    }

    .contact-card h3 {
      font-size: 1.125rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
    }

    .contact-card > p {
      font-size: 0.875rem;
      color: var(--muted-foreground);
      margin-bottom: 0.75rem;
    }

    .contact-card .phone {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-weight: 500;
      font-size: 0.875rem;
    }

    .contact-card .phone svg {
      width: 1rem;
      height: 1rem;
      color: var(--primary);
    }

    .contact-card .btn-green {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background-color: var(--accent-green);
      color: white;
      padding: 0.5rem 1rem;
      border-radius: 0.5rem;
      font-weight: 500;
      font-size: 0.875rem;
      transition: background-color 0.2s;
    }

    .contact-card .btn-green:hover {
      background-color: #97b35c;
    }

    .contact-card .btn-green svg {
      width: 1rem;
      height: 1rem;
    }

    .contact-card .email-link {
      color: var(--primary);
      font-weight: 500;
      font-size: 0.875rem;
    }

    .contact-card .email-link:hover {
      text-decoration: underline;
    }

    .contact-sidebar {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    .contact-hours h3 {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      font-size: 1.125rem;
      font-weight: 600;
      margin-bottom: 1rem;
    }

    .contact-hours-icon {
      width: 3rem;
      height: 3rem;
      background-color: rgba(71, 110, 163, 0.1);
      border-radius: 0.75rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .contact-hours-icon svg {
      width: 1.5rem;
      height: 1.5rem;
      color: var(--primary);
    }

    .contact-hours ul {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .contact-hours li {
      display: flex;
      justify-content: space-between;
      font-size: 0.875rem;
    }

    .contact-hours li span:first-child {
      color: var(--muted-foreground);
    }

    .contact-hours li span:last-child {
      font-weight: 500;
    }

    .contact-cta-card {
      background-color: var(--primary);
      border-radius: 1rem;
      padding: 1.5rem;
      color: var(--primary-foreground);
    }

    .contact-cta-card h3 {
      font-size: 1.25rem;
      font-weight: 600;
      margin-bottom: 0.75rem;
    }

    .contact-cta-card > p {
      font-size: 0.875rem;
      color: rgba(255, 255, 255, 0.8);
      margin-bottom: 1.5rem;
    }

    .contact-cta-card .btn {
      display: block;
      width: 100%;
      text-align: center;
      background-color: var(--primary-foreground);
      color: var(--primary);
    }

    .contact-cta-card .btn:hover {
      background-color: rgba(255, 255, 255, 0.9);
    }

    /* Footer */
    .footer {
      background-color: var(--foreground);
      color: var(--background);
      padding: 3rem 0 2rem;
    }

    @media (min-width: 768px) {
      .footer { padding: 4rem 0 2rem; }
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
      margin-bottom: 3rem;
    }

    @media (min-width: 768px) {
      .footer-grid { grid-template-columns: repeat(4, 1fr); }
    }

    @media (min-width: 1024px) {
      .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; }
    }

    .footer-brand {
      grid-column: span 2;
    }

    @media (min-width: 768px) {
      .footer-brand { grid-column: span 4; }
    }

    @media (min-width: 1024px) {
      .footer-brand { grid-column: span 1; }
    }

    .footer-brand .logo {
      margin-bottom: 1rem;
    }

    .footer-brand > p {
      color: rgba(255, 255, 255, 0.7);
      font-size: 0.875rem;
      margin-bottom: 1rem;
    }

    .footer-socials {
      display: flex;
      gap: 0.75rem;
    }

    .footer-socials a {
      width: 2.5rem;
      height: 2.5rem;
      background-color: rgba(255, 255, 255, 0.1);
      border-radius: 0.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background-color 0.2s;
    }

    .footer-socials a:hover {
      background-color: rgba(255, 255, 255, 0.2);
    }

    .footer-socials svg {
      width: 1.25rem;
      height: 1.25rem;
    }

    .footer-links h4 {
      font-weight: 600;
      margin-bottom: 1rem;
    }

    .footer-links ul {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .footer-links a {
      color: rgba(255, 255, 255, 0.7);
      font-size: 0.875rem;
      transition: color 0.2s;
    }

    .footer-links a:hover {
      color: var(--background);
    }

    .footer-bottom {
      padding-top: 2rem;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      display: flex;
      flex-direction: column;
      gap: 1rem;
      align-items: center;
      text-align: center;
    }

    @media (min-width: 768px) {
      .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
      }
    }

    .footer-bottom p {
      color: rgba(255, 255, 255, 0.5);
      font-size: 0.875rem;
    }

    .footer-bottom p:last-child {
      font-size: 0.75rem;
    }

    /* Sticky CTA */
    .sticky-cta {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 40;
      background-color: var(--background);
      border-top: 1px solid var(--border);
      padding: 1rem;
      transform: translateY(100%);
      transition: transform 0.3s ease;
    }

    .sticky-cta.visible {
      transform: translateY(0);
    }

    @media (min-width: 768px) {
      .sticky-cta { display: none; }
    }

    .sticky-cta .btn {
      width: 100%;
      justify-content: center;
    }
    a.fb-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1877f2; /* azul Facebook */
  text-decoration: none;
  font-weight: 500;
}

a.fb-link svg {
  width: 20px;
  height: 20px;
}
  
