/*
Theme Name: temabasico
Author: Carol
Version: 1.0
*/
    :root {
      --teal:        #2BBFB3;
      --teal-light:  #A8EDE9;
      --teal-pale:   #E4F9F8;
      --violet:      #6B5CE7;
      --violet-soft: #EDE9FF;
      --magenta:     #E91E8C;
      --magenta-mid: #FF6BBF;
      --magenta-pale:#FFE0F5;
      --rose:        #FF2D78;
      --sand:        #FDF7F0;
      --ink:         #1A1A2E;
      --ink-mid:     #4A4A6A;
      --ink-light:   #9999BB;
      --white:       #FFFFFF;
      --radius:      18px;
      --shadow-sm:   0 2px 12px rgba(233,30,140,.10);
      --shadow-md:   0 8px 40px rgba(233,30,140,.15);
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'DM Sans', sans-serif;
      background: var(--white);
      color: var(--ink);
      overflow-x: hidden;
    }

    /* ── BANNER ── */
    .site-banner {
      width: 100%;
      background: #fff;
      overflow: hidden;
      position: relative;
    }

    .site-banner-inner {
      position: relative;
      width: 100%;
      /* preserve SVG aspect ratio 1440:642.75 ≈ 44.635% */
      padding-bottom: min(44.635%, 75vh);
      max-height: 75vh;
      overflow: hidden;
    }

    .site-banner-img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      display: block;
    }

    /* subtle gradient at the bottom to blend into page */
    .site-banner-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to bottom,
        transparent 60%,
        rgba(255,255,255,.7) 90%,
        #fff 100%
      );
      display: flex;
      align-items: flex-end;
      justify-content: center;
      padding-bottom: 24px;
    }

    .banner-scroll-hint {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--magenta);
      color: white; border-radius: 50px;
      padding: 10px 22px; font-size: .85rem; font-weight: 600;
      text-decoration: none;
      box-shadow: 0 4px 20px rgba(233,30,140,.4);
      opacity: 0;
      animation: fadeUp .6s 1s ease forwards;
      transition: transform .2s, box-shadow .2s;
    }
    .banner-scroll-hint:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 28px rgba(233,30,140,.5);
    }
    .banner-scroll-hint svg { flex-shrink: 0; }

    @media (max-width: 600px) {
      .site-banner-inner {
        padding-bottom: min(60%, 50vh);
      }
      .site-banner-img {
        object-position: 30% top;
      }
    }

    /* ── NAV ── */
    nav {
      position: sticky; top: 0; z-index: 100;
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 5vw;
      height: 72px;
      background: rgba(255,255,255,.90);
      backdrop-filter: blur(14px);
      border-bottom: 2px solid transparent;
      background-clip: padding-box;
      box-shadow: 0 1px 0 0 rgba(233,30,140,.15), 0 2px 16px rgba(233,30,140,.06);
    }

    .nav-logo {
      display: flex; align-items: center; gap: 10px;
      font-family: 'Syne', sans-serif;
      font-weight: 800; font-size: 1.25rem;
      color: var(--ink); text-decoration: none;
    }

    .nav-logo-badge {
      width: 38px; height: 38px;
      background: linear-gradient(135deg, var(--magenta), var(--teal));
      border-radius: 10px;
      display: grid; place-items: center;
      color: white; font-size: .75rem; font-weight: 800; letter-spacing: .5px;
    }

    .nav-links { display: flex; gap: 32px; list-style: none; }

    .nav-links a {
      font-size: .9rem; font-weight: 500;
      color: var(--ink-mid); text-decoration: none;
      transition: color .2s;
    }
    .nav-links a:hover { color: var(--magenta); }

    .nav-cta {
      background: linear-gradient(135deg, var(--magenta), #c4146e);
      color: white;
      padding: 9px 22px; border-radius: 50px;
      font-size: .88rem; font-weight: 600;
      text-decoration: none;
      transition: box-shadow .2s, transform .15s;
    }
    .nav-cta:hover { box-shadow: 0 4px 20px rgba(233,30,140,.45); transform: translateY(-1px); }

    /* ── HERO ── */
    .hero {
      min-height: 92vh;
      padding: 100px 5vw 60px;
      display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
      align-items: center;
      background: linear-gradient(145deg, #fff0f8 0%, var(--teal-pale) 45%, #f5f0ff 100%);
      position: relative; overflow: hidden;
    }

    /* floating blobs */
    .hero::before {
      content: '';
      position: absolute; width: 560px; height: 560px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(233,30,140,.14) 0%, transparent 70%);
      top: -140px; right: -100px; pointer-events: none;
    }
    .hero::after {
      content: '';
      position: absolute; width: 380px; height: 380px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(43,191,179,.18) 0%, transparent 70%);
      bottom: 40px; left: 5%; pointer-events: none;
    }

    .hero-text { position: relative; z-index: 1; }

    .hero-tag {
      display: inline-flex; align-items: center; gap: 7px;
      background: white; border: 1.5px solid var(--magenta-pale);
      color: var(--magenta); border-radius: 50px;
      padding: 6px 16px; font-size: .82rem; font-weight: 600;
      margin-bottom: 24px;
      box-shadow: 0 2px 12px rgba(233,30,140,.12);
    }
    .hero-tag span { width: 7px; height: 7px; background: var(--magenta); border-radius: 50%; display: block; }

    .hero-title {
      font-family: 'Syne', sans-serif;
      font-size: clamp(2.4rem, 4.5vw, 3.6rem);
      font-weight: 800; line-height: 1.1;
      color: var(--ink);
    }

    .hero-title em {
      font-style: normal;
      background: linear-gradient(90deg, var(--magenta), var(--teal));
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    }

    .hero-subtitle {
      margin-top: 20px;
      font-size: 1.05rem; line-height: 1.7; color: var(--ink-mid);
      font-weight: 300; max-width: 480px;
    }

    .hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

    .btn-primary {
      background: linear-gradient(135deg, var(--magenta), #c4146e);
      color: white; padding: 13px 30px; border-radius: 50px;
      font-weight: 600; font-size: .95rem; text-decoration: none;
      box-shadow: 0 6px 24px rgba(233,30,140,.35);
      transition: transform .2s, box-shadow .2s;
    }
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(233,30,140,.5); }

    .btn-secondary {
      background: white; color: var(--ink);
      padding: 13px 30px; border-radius: 50px;
      font-weight: 600; font-size: .95rem; text-decoration: none;
      border: 1.5px solid rgba(233,30,140,.25);
      box-shadow: 0 2px 12px rgba(233,30,140,.08);
      transition: border-color .2s, box-shadow .2s;
    }
    .btn-secondary:hover { border-color: var(--magenta); box-shadow: 0 8px 28px rgba(233,30,140,.15); }

    /* hero visual */
    .hero-visual { position: relative; z-index: 1; display: flex; justify-content: center; }

    .hero-card-stack { position: relative; width: 100%; max-width: 440px; }

    .hcard {
      background: white;
      border-radius: var(--radius);
      padding: 28px;
      box-shadow: 0 12px 48px rgba(233,30,140,.10), 0 2px 8px rgba(0,0,0,.05);
    }

    .hcard-main {
      position: relative;
      border: 2px solid rgba(233,30,140,.18);
    }

    .hcard-accent {
      position: absolute; top: -22px; right: -22px;
      background: linear-gradient(135deg, var(--magenta-pale), #fff);
      border: 1.5px solid rgba(233,30,140,.2);
      padding: 16px 20px; border-radius: 14px;
      font-size: .82rem; color: var(--magenta);
      font-weight: 600; box-shadow: 0 6px 24px rgba(233,30,140,.14);
      white-space: nowrap;
    }

    .hcard-stat-row {
      display: flex; gap: 16px; margin-top: 20px;
    }

    .hstat {
      flex: 1; background: linear-gradient(135deg, var(--magenta-pale), var(--teal-pale));
      border-radius: 12px; padding: 16px;
      text-align: center;
    }
    .hstat-num {
      font-family: 'Syne', sans-serif; font-weight: 800;
      font-size: 1.5rem; color: var(--magenta);
    }
    .hstat-label { font-size: .75rem; color: var(--ink-mid); margin-top: 2px; }

    .hcard-logo-area {
      display: flex; align-items: center; gap: 14px;
      margin-bottom: 16px;
    }
    .logo-circle {
      width: 52px; height: 52px; border-radius: 14px;
      background: linear-gradient(135deg, var(--magenta), var(--teal));
      display: grid; place-items: center;
      color: white; font-family: 'Syne', sans-serif;
      font-weight: 800; font-size: .8rem; text-align: center; line-height: 1.2;
    }
    .logo-text-block h3 {
      font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem;
      color: var(--ink);
    }
    .logo-text-block p { font-size: .78rem; color: var(--ink-light); }

    .hcard-desc { font-size: .88rem; line-height: 1.6; color: var(--ink-mid); }

    .hcard-bottom {
      position: absolute; bottom: -16px; left: 20px; right: 20px;
      background: white; border-radius: 12px; padding: 14px 18px;
      display: flex; align-items: center; gap: 10px;
      box-shadow: 0 8px 32px rgba(0,0,0,.08);
      border: 1px solid rgba(233,30,140,.15);
    }
    .hcard-bottom-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--magenta); flex-shrink: 0; animation: pulse 1.8s infinite; }
    .hcard-bottom span { font-size: .82rem; color: var(--ink-mid); }

    /* ── PARTNERS BAND ── */
    .partners {
      background: white;
      padding: 28px 5vw;
      border-top: 1px solid rgba(233,30,140,.12);
      border-bottom: 1px solid rgba(233,30,140,.12);
      display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
      justify-content: center;
    }
    .partners-label {
      font-size: .78rem; font-weight: 600; color: var(--ink-light);
      letter-spacing: 1px; text-transform: uppercase;
    }
    .partner-logo {
      height: 36px; opacity: .55; filter: grayscale(1);
      transition: opacity .2s, filter .2s;
      display: flex; align-items: center; gap: 8px;
      font-family: 'Syne', sans-serif; font-weight: 700;
      font-size: .95rem; color: var(--ink-mid);
      text-decoration: none;
    }
    .partner-logo:hover { opacity: 1; filter: none; }
    .partner-logo svg { flex-shrink: 0; }

    /* ── SECTION SHARED ── */
    section { padding: 90px 5vw; }

    .section-tag {
      display: inline-block;
      font-size: .78rem; font-weight: 600; letter-spacing: 1.5px;
      text-transform: uppercase; color: var(--magenta);
      margin-bottom: 14px;
    }

    .section-title {
      font-family: 'Syne', sans-serif; font-weight: 800;
      font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.2; color: var(--ink);
    }

    .section-title em {
      font-style: normal;
      background: linear-gradient(90deg, var(--magenta), var(--teal));
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    }

    .section-sub {
      margin-top: 14px; font-size: 1rem; line-height: 1.7;
      color: var(--ink-mid); font-weight: 300; max-width: 580px;
    }

    /* ── ABOUT ── */
    .about {
      background: var(--white);
      display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
    }

    .about-content {}

    .about-visual { display: flex; flex-direction: column; gap: 16px; }

    .about-card {
      background: white; border-radius: 16px; padding: 24px;
      border-left: 4px solid var(--magenta);
      box-shadow: 0 2px 14px rgba(233,30,140,.08);
      transition: transform .2s, box-shadow .2s;
    }
    .about-card:hover { transform: translateX(6px); box-shadow: 0 8px 32px rgba(233,30,140,.15); }
    .about-card:nth-child(2) { border-left-color: var(--teal); }
    .about-card:nth-child(3) { border-left-color: var(--violet); }

    .about-card h4 {
      font-family: 'Syne', sans-serif; font-weight: 700; font-size: .95rem;
      margin-bottom: 6px; color: var(--ink);
    }
    .about-card p { font-size: .85rem; line-height: 1.6; color: var(--ink-mid); }

    /* ── OBJECTIVES ── */
    .objectives { background: linear-gradient(135deg, var(--magenta-pale) 0%, var(--teal-pale) 50%, var(--violet-soft) 100%); }

    .obj-header { max-width: 600px; margin-bottom: 56px; }

    .obj-grid {
      display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 24px;
    }

    .obj-card {
      background: var(--white);
      border: 1.5px solid rgba(43,191,179,.15);
      border-radius: var(--radius); padding: 30px;
      transition: border-color .2s, box-shadow .2s, transform .2s;
      position: relative; overflow: hidden;
    }
    .obj-card::before {
      content: '';
      position: absolute; top: 0; left: 0; right: 0; height: 3px;
      background: linear-gradient(90deg, var(--magenta), var(--teal));
      opacity: 0; transition: opacity .2s;
    }
    .obj-card:hover { border-color: var(--magenta-pale); box-shadow: 0 8px 40px rgba(233,30,140,.12); transform: translateY(-4px); }
    .obj-card:hover::before { opacity: 1; }

    .obj-num {
      font-family: 'Syne', sans-serif; font-size: 2.2rem; font-weight: 800;
      color: var(--magenta-pale); margin-bottom: 10px; line-height: 1;
    }

    .obj-card h3 {
      font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem;
      color: var(--ink); margin-bottom: 8px;
    }
    .obj-card p { font-size: .87rem; line-height: 1.65; color: var(--ink-mid); }

    /* ── GOALS ── */
    .goals { background: white; }

    .goals-grid {
      display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 20px;
      margin-top: 48px;
    }

    .goal-chip {
      background: white; border-radius: 14px; padding: 22px 24px;
      display: flex; align-items: flex-start; gap: 14px;
      box-shadow: 0 2px 14px rgba(233,30,140,.08);
      transition: transform .2s, box-shadow .2s;
    }
    .goal-chip:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(233,30,140,.16); }

    .goal-icon {
      width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
      display: grid; place-items: center; font-size: 1.1rem;
    }
    .goal-icon.teal  { background: var(--teal-pale); }
    .goal-icon.vio   { background: var(--violet-soft); }
    .goal-icon.rose  { background: var(--magenta-pale); }
    .goal-icon.sand  { background: #FFF3E5; }

    .goal-body h4 {
      font-family: 'Syne', sans-serif; font-weight: 700; font-size: .92rem;
      color: var(--ink); margin-bottom: 4px;
    }
    .goal-body p { font-size: .82rem; line-height: 1.55; color: var(--ink-mid); }

    /* ── NEWS ── */
    .news { background: white; }

    .news-grid {
      display: grid; grid-template-columns: 2fr 1fr; gap: 28px; margin-top: 48px;
    }

    .news-featured {
      background: var(--magenta-pale);
      border-radius: var(--radius); overflow: hidden;
      border: 1.5px solid rgba(233,30,140,.2);
      transition: box-shadow .2s, transform .2s;
    }
    .news-featured:hover { box-shadow: 0 8px 40px rgba(233,30,140,.15); transform: translateY(-4px); }

    .news-featured-img {
      height: 220px;
      background: linear-gradient(135deg, var(--magenta) 0%, var(--teal) 100%);
      display: flex; align-items: center; justify-content: center;
      font-size: 3rem;
    }

    .news-featured-body { padding: 28px; }

    .news-badge {
      display: inline-block; background: var(--magenta); color: white;
      font-size: .72rem; font-weight: 600; letter-spacing: .5px;
      padding: 4px 12px; border-radius: 50px; margin-bottom: 12px;
    }

    .news-featured-body h3 {
      font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.15rem;
      color: var(--ink); line-height: 1.35; margin-bottom: 10px;
    }
    .news-featured-body p { font-size: .88rem; line-height: 1.65; color: var(--ink-mid); }

    .news-read-link {
      display: inline-flex; align-items: center; gap: 6px;
      color: var(--magenta); font-weight: 600; font-size: .87rem;
      text-decoration: none; margin-top: 16px;
      transition: gap .15s;
    }
    .news-read-link:hover { gap: 10px; }

    .news-side { display: flex; flex-direction: column; gap: 18px; }

    .news-card {
      background: white; border-radius: 14px; padding: 20px;
      border: 1.5px solid rgba(233,30,140,.1);
      box-shadow: 0 2px 12px rgba(233,30,140,.06);
      transition: border-color .2s, box-shadow .2s;
      text-decoration: none; color: inherit;
      display: block;
    }
    .news-card:hover { border-color: var(--magenta-mid); box-shadow: 0 8px 28px rgba(233,30,140,.14); }

    .news-card-meta {
      font-size: .75rem; color: var(--ink-light); font-weight: 500; margin-bottom: 8px;
    }
    .news-card h4 {
      font-family: 'Syne', sans-serif; font-weight: 700; font-size: .9rem;
      color: var(--ink); line-height: 1.4;
    }

    /* ── EVENT BANNER ── */
    .event-banner {
      background: linear-gradient(90deg, #2c102e 20%,  #cb4aa3 100%);
      color: white; padding: 5px 5vw;
      text-align: center; position: relative; overflow: hidden;
    }

    .event-banner::before {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(90deg, #2c102e 20%,  #cb4aa3 100%);
    }

    .event-banner > * { position: relative; z-index: 1; }

    .event-eyebrow {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(255,255,255,.1); border: 1px solid rgba(233,30,140,.35);
      color: var(--magenta-mid); font-size: .8rem; font-weight: 600;
      padding: 6px 16px; border-radius: 50px; margin-bottom: 24px;
    }
    .event-eyebrow::before { content: '●'; font-size: .5rem; animation: pulse 1.8s infinite; }

    .event-banner h2 {
      font-family: 'Syne', sans-serif; font-weight: 800;
      font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.15;
      margin-bottom: 12px;
    }
    .event-banner h2 span { color: var(--magenta-mid); }

    .event-banner p {
      font-size: 1rem; color: rgba(255,255,255,.7); margin-bottom: 32px;
    }

    .event-chips {
      display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
      margin-bottom: 36px;
    }
    .event-chip {
      background: rgba(255,255,255,.08); border: 1px solid rgba(233,30,140,.25);
      color: white; border-radius: 50px; padding: 8px 20px;
      font-size: .85rem; font-weight: 500;
    }



    /* Contenedor principal del banner */
.event-banner-container {
    width: 100%;
    overflow: hidden; /* Esconde las fotos que no caben */
    position: relative;
    border-radius: 12px; /* Opcional: bordes redondeados */
}

/* El riel que sostiene las imágenes */
.event-banner-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Cada lámina del carrusel */
.banner-slide {
    min-width: 100%; /* Cada foto ocupa el 100% del ancho */
    flex-shrink: 0;
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Ajusta la imagen sin deformarla */
}


    .btn-event {
      background: linear-gradient(135deg, var(--magenta), #c4146e);
      color: white;
      padding: 14px 36px; border-radius: 50px;
      font-weight: 700; font-size: 1rem; text-decoration: none;
      display: inline-block;
      box-shadow: 0 6px 28px rgba(233,30,140,.45);
      transition: transform .2s, box-shadow .2s;
    }
    .btn-event:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(233,30,140,.6); }

    /* ── FOOTER ── */
    footer {
      background: var(--ink);
      color: rgba(255,255,255,.7);
      padding: 60px 5vw 30px;
    }

    .footer-top {
      display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
      padding-bottom: 48px;
      border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .footer-brand p {
      font-size: .88rem; line-height: 1.65; margin-top: 14px;
      max-width: 320px;
    }

    .footer-col h4 {
      font-family: 'Syne', sans-serif; font-weight: 700; color: white;
      font-size: .9rem; margin-bottom: 16px; letter-spacing: .5px;
    }
    .footer-col a {
      display: block; color: rgba(255,255,255,.6);
      font-size: .86rem; text-decoration: none; margin-bottom: 10px;
      transition: color .2s;
    }
    .footer-col a:hover { color: var(--teal-light); }

    .footer-bottom {
      display: flex; align-items: center; justify-content: space-between;
      padding-top: 28px; flex-wrap: wrap; gap: 12px;
    }
    .footer-bottom p { font-size: .8rem; }

    .footer-socials { display: flex; gap: 12px; }
    .social-btn {
      width: 36px; height: 36px; border-radius: 50%;
      background: rgba(255,255,255,.08);
      display: grid; place-items: center;
      text-decoration: none; transition: background .2s;
      font-size: .9rem; color: white;
    }
    .social-btn:hover { background: var(--magenta); }

    @keyframes pulse {
      0%,100% { opacity: 1; }
      50% { opacity: .3; }
    }

    /* ── ANIMATIONS ── */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(30px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .hero-text { animation: fadeUp .7s ease both; }
    .hero-visual { animation: fadeUp .7s .15s ease both; }

    /* ── RESPONSIVE ── */
    @media (max-width: 900px) {
      .hero { grid-template-columns: 1fr; padding-top: 60px; }
      .hero-visual { display: none; }
      .about { grid-template-columns: 1fr; }
      .news-grid { grid-template-columns: 1fr; }
      .footer-top { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 600px) {
      .nav-links { display: none; }
      .footer-top { grid-template-columns: 1fr; }
    }
