/* =========================================================================
   WIST ESTUDIO CREATIVO — Sistema de diseño
   Basado en el Manual de Marca: Fredoka + Nunito, paleta multicolor sobre
   base navy. Estética "mixta": secciones claras y navy alternadas con
   curvas orgánicas multicolor de acento.
   ========================================================================= */

/* ---------- Tokens de marca ---------- */
:root {
    --wist-navy:    #353359;
    --wist-indigo:  #3E4095;
    --wist-magenta: #EC268F;
    --wist-purple:  #A53692;
    --wist-cyan:    #00AFEF;
    --wist-sky:     #91D8F7;
    --wist-yellow:  #FFF212;
    --wist-green:   #00A859;
    --wist-white:   #FFFFFF;

    --ink:        #2a2848;
    --ink-soft:   #5a5878;
    --bg-soft:    #f5f6fb;
    --border:     #e7e8f2;

    --font-head: 'Fredoka', system-ui, sans-serif;
    --font-body: 'Nunito', system-ui, sans-serif;

    --container: 1180px;
    --radius:    18px;
    --radius-lg: 28px;
    --shadow:    0 18px 50px rgba(53, 51, 89, 0.12);
    --shadow-sm: 0 8px 24px rgba(53, 51, 89, 0.10);

    --header-h: 76px;
}

/* ---------- Reset base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--wist-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 600;
    line-height: 1.1;
    color: var(--wist-navy);
    margin: 0 0 0.5em;
}

p { margin: 0 0 1rem; }

a { color: var(--wist-indigo); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--wist-magenta); }

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

ul { margin: 0; padding: 0; list-style: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 200;
    background: var(--wist-navy); color: #fff; padding: 12px 18px; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Utilidades de sección ---------- */
.section { position: relative; padding: 96px 0; overflow: hidden; }
.section--tight { padding: 72px 0; }

.section--navy {
    background: var(--wist-navy);
    color: rgba(255, 255, 255, 0.85);
}
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }

.section--soft { background: var(--bg-soft); }

.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__head--left { margin-left: 0; text-align: left; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-head); font-weight: 600; font-size: .82rem;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--wist-magenta);
    margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--wist-sky); }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: currentColor; }

.section__title { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.section__lead { font-size: 1.12rem; color: var(--ink-soft); }
.section--navy .section__lead { color: rgba(255, 255, 255, 0.8); }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-head); font-weight: 600; font-size: 1rem;
    padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
    cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--wist-magenta); color: #fff; box-shadow: 0 10px 26px rgba(236, 38, 143, .35); }
.btn--primary:hover { background: #d61b7e; color: #fff; }
.btn--cyan { background: var(--wist-cyan); color: #fff; box-shadow: 0 10px 26px rgba(0, 175, 239, .32); }
.btn--cyan:hover { background: #0098cf; color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: #fff; color: var(--wist-navy); border-color: #fff; }
.btn--dark { background: var(--wist-navy); color: #fff; }
.btn--dark:hover { background: var(--wist-indigo); color: #fff; }

/* =========================================================================
   HEADER / NAVBAR
   ========================================================================= */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.site-header__inner {
    display: flex; align-items: center; justify-content: space-between;
    min-height: var(--header-h);
}
.site-header__brand img { width: auto; height: 46px; }

.site-nav { display: flex; align-items: center; }
.site-nav__list { display: flex; align-items: center; gap: 8px; }
.site-nav__link {
    font-family: var(--font-head); font-weight: 500; color: var(--wist-navy);
    padding: 10px 16px; border-radius: 999px; transition: background .2s ease, color .2s ease;
}
.site-nav__link:hover { background: var(--bg-soft); color: var(--wist-navy); }
.site-nav__link.is-active { color: var(--wist-magenta); }
.site-nav__cta {
    font-family: var(--font-head); font-weight: 600; color: #fff;
    background: var(--wist-navy); padding: 11px 22px; border-radius: 999px; margin-left: 8px;
    transition: background .2s ease, transform .2s ease;
}
.site-nav__cta:hover { background: var(--wist-magenta); color: #fff; transform: translateY(-1px); }

/* Iconos de redes sociales en el header */
.site-social { display: flex; align-items: center; gap: 6px; margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--border); }
.site-social__link {
    width: 36px; height: 36px; border-radius: 50%;
    display: grid; place-items: center; font-size: .95rem;
    color: var(--wist-navy); background: var(--bg-soft);
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.site-social__link:hover { background: var(--wist-magenta); color: #fff; transform: translateY(-2px); }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle__bar { width: 26px; height: 3px; border-radius: 3px; background: var(--wist-navy); transition: .3s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
    position: relative;
    background: var(--wist-navy);
    color: #fff;
    padding: 120px 0 130px;
    overflow: hidden;
}
.hero__inner { position: relative; z-index: 2; max-width: 820px; }
.hero__eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-head); font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
    font-size: .85rem; color: var(--wist-sky); margin-bottom: 22px;
}
.hero__eyebrow i { color: var(--wist-yellow); }
.hero__title {
    font-size: clamp(2.5rem, 6.4vw, 4.6rem);
    font-weight: 600; color: #fff; line-height: 1.02; margin-bottom: 22px;
}
.hero__title .hl { color: var(--wist-yellow); }
.hero__title .hl-cyan { color: var(--wist-cyan); }
.hero__text { font-size: 1.2rem; color: rgba(255, 255, 255, 0.82); max-width: 620px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Curvas / blobs multicolor del hero (eco de la "mano" del manual) */
.hero__art { position: absolute; inset: 0; z-index: 1; pointer-events: none; transition: transform .4s cubic-bezier(.22,.61,.36,1); will-change: transform; }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .92; mix-blend-mode: screen; will-change: transform; }
.hero .blob--1 { width: 520px; height: 520px; right: -120px; top: -150px; background: radial-gradient(circle at 30% 30%, var(--wist-magenta), transparent 70%); }
.hero .blob--2 { width: 460px; height: 460px; right: 60px; top: 40px; background: radial-gradient(circle at 30% 30%, var(--wist-cyan), transparent 70%); }
.hero .blob--3 { width: 360px; height: 360px; right: -60px; bottom: -160px; background: radial-gradient(circle at 30% 30%, var(--wist-green), transparent 70%); }
.hero .blob--4 { width: 240px; height: 240px; right: 320px; top: -80px; background: radial-gradient(circle at 30% 30%, var(--wist-yellow), transparent 70%); opacity: .7; }

/* Deriva orgánica + respiración (latido) de cada burbuja */
@media (prefers-reduced-motion: no-preference) {
    .hero .blob--1 { animation: drift-1 19s ease-in-out infinite; }
    .hero .blob--2 { animation: drift-2 23s ease-in-out infinite; }
    .hero .blob--3 { animation: drift-3 21s ease-in-out infinite; }
    .hero .blob--4 { animation: drift-4 16s ease-in-out infinite; }
}
@keyframes drift-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(-26px, 30px) scale(1.08); }
    66%      { transform: translate(20px, -18px) scale(.95); }
}
@keyframes drift-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(34px, 26px) scale(1.12); }
}
@keyframes drift-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    40%      { transform: translate(28px, -24px) scale(1.1); }
    75%      { transform: translate(-18px, 16px) scale(.94); }
}
@keyframes drift-4 {
    0%, 100% { transform: translate(0, 0) scale(.9); opacity: .55; }
    50%      { transform: translate(-22px, 24px) scale(1.15); opacity: .85; }
}

.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; line-height: 0; }
.hero__wave svg { width: 100%; height: 70px; display: block; }

/* Tira de "promesas" debajo del hero */
.hero-strip { background: #fff; border-bottom: 1px solid var(--border); }
.hero-strip__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 30px 0; }
.hero-strip__item { display: flex; align-items: center; gap: 14px; }
.hero-strip__icon {
    flex: 0 0 auto; width: 46px; height: 46px; border-radius: 14px;
    display: grid; place-items: center; color: #fff; font-size: 1.05rem;
}
.hero-strip__item:nth-child(1) .hero-strip__icon { background: var(--wist-magenta); }
.hero-strip__item:nth-child(2) .hero-strip__icon { background: var(--wist-cyan); }
.hero-strip__item:nth-child(3) .hero-strip__icon { background: var(--wist-green); }
.hero-strip__item h3 { font-size: 1.02rem; margin: 0 0 2px; }
.hero-strip__item p { font-size: .9rem; color: var(--ink-soft); margin: 0; }

/* =========================================================================
   INTRO / MANIFIESTO
   ========================================================================= */
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.intro__text .section__title { margin-bottom: 18px; }
.intro__quote {
    border-left: 4px solid var(--wist-magenta); padding-left: 22px;
    font-family: var(--font-head); font-weight: 500; font-size: 1.25rem; color: var(--wist-navy);
}
.intro__hands { position: relative; min-height: 320px; }
.hand-card {
    position: relative; background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 36px;
    display: grid; gap: 18px;
}
.hand-card__row { display: flex; align-items: center; gap: 16px; }
.hand-dot { width: 16px; height: 16px; border-radius: 50%; flex: 0 0 auto; }
.hand-dot--magenta { background: var(--wist-magenta); }
.hand-dot--cyan { background: var(--wist-cyan); }
.hand-dot--yellow { background: var(--wist-yellow); }
.hand-dot--green { background: var(--wist-green); }
.hand-dot--purple { background: var(--wist-purple); }
.hand-card__row span { font-family: var(--font-head); color: var(--wist-navy); }

/* =========================================================================
   SERVICIOS / CAPACIDAD OPERATIVA
   ========================================================================= */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
    position: relative; background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 38px 32px; overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__num {
    font-family: var(--font-head); font-weight: 600; font-size: .95rem;
    color: var(--ink-soft); letter-spacing: .1em;
}
.card__icon {
    width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
    color: #fff; font-size: 1.4rem; margin: 14px 0 20px;
}
.card__title { font-size: 1.3rem; margin-bottom: 10px; }
.card__text { color: var(--ink-soft); font-size: .98rem; margin: 0; }
.card::after {
    content: ""; position: absolute; right: -40px; bottom: -40px;
    width: 120px; height: 120px; border-radius: 50%; opacity: .12; transition: transform .3s ease;
}
.card:hover::after { transform: scale(1.4); }
.card--magenta .card__icon { background: var(--wist-magenta); } .card--magenta::after { background: var(--wist-magenta); }
.card--cyan .card__icon { background: var(--wist-cyan); } .card--cyan::after { background: var(--wist-cyan); }
.card--green .card__icon { background: var(--wist-green); } .card--green::after { background: var(--wist-green); }
.card--purple .card__icon { background: var(--wist-purple); } .card--purple::after { background: var(--wist-purple); }

/* =========================================================================
   TRAYECTORIA (navy con stats)
   ========================================================================= */
.trayectoria__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.stat {
    background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius); padding: 26px;
}
.stat__num { font-family: var(--font-head); font-weight: 600; font-size: 2.4rem; line-height: 1; color: #fff; }
.stat__num span { color: var(--wist-yellow); }
.stat__label { font-size: .95rem; color: rgba(255, 255, 255, 0.7); margin: 8px 0 0; }

/* =========================================================================
   PLANES
   ========================================================================= */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.plan {
    display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 36px 30px; transition: transform .25s ease, box-shadow .25s ease;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan--featured { border: 2px solid var(--wist-magenta); box-shadow: var(--shadow); }
.plan__badge {
    align-self: flex-start; font-family: var(--font-head); font-weight: 600; font-size: .72rem;
    letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--wist-magenta);
    padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.plan__name { font-size: 1.45rem; margin-bottom: 6px; }
.plan__tagline { font-family: var(--font-head); color: var(--wist-indigo); font-size: 1rem; margin-bottom: 18px; }
.plan__desc { color: var(--ink-soft); font-size: .96rem; margin-bottom: 18px; }
.plan__features { display: grid; gap: 12px; margin-bottom: 26px; }
.plan__features li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.plan__features i { color: var(--wist-green); margin-top: 4px; }
.plan__cta { margin-top: auto; }

/* =========================================================================
   CTA FINAL
   ========================================================================= */
.cta { position: relative; text-align: center; }
.cta__title { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 16px; }
.cta__text { font-size: 1.15rem; color: rgba(255, 255, 255, 0.82); max-width: 600px; margin: 0 auto 30px; }
.cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =========================================================================
   EQUIPO HUMANO (Conócenos) — grid 4 columnas responsive
   ========================================================================= */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.team-card { text-align: center; }
.team-card { --accent: var(--wist-magenta); }
.team-card__photo {
    position: relative; height: 240px; display: flex; align-items: flex-end; justify-content: center;
}
/* Halo de color que aparece detrás de la foto al hacer hover */
.team-card__photo::after {
    content: ""; position: absolute; left: 50%; bottom: 18%; transform: translateX(-50%) scale(.6);
    width: 150px; height: 150px; border-radius: 50%; background: var(--accent);
    filter: blur(34px); opacity: 0; transition: opacity .45s ease, transform .45s ease; z-index: 0;
}
.team-card__photo img, .team-card__noimg { position: relative; z-index: 1; }
.team-card__photo img {
    max-height: 240px; max-width: 100%; width: auto; object-fit: contain;
    filter: drop-shadow(0 12px 18px rgba(53,51,89,.18));
    transition: transform .5s cubic-bezier(.22,.61,.36,1), filter .5s ease;
    will-change: transform;
}
/* Zoom in/out + glow del color del integrante al pasar el mouse */
.team-card:hover .team-card__photo img {
    transform: scale(1.07) translateY(-4px);
    filter: drop-shadow(0 16px 22px rgba(53,51,89,.22)) drop-shadow(0 0 16px var(--accent));
}
.team-card:hover .team-card__photo::after { opacity: .45; transform: translateX(-50%) scale(1); }
@media (prefers-reduced-motion: reduce) {
    .team-card__photo img { transition: filter .3s ease; }
    .team-card:hover .team-card__photo img { transform: none; }
}
.team-card__noimg {
    width: 150px; height: 180px; border-radius: 16px; background: #e9eaf2; color: #b9bbcf;
    display: grid; place-items: center; font-size: 2.6rem; align-self: center;
}
/* Nombre sobre el recorte de papel cuadriculado — va por DELANTE de la foto */
.team-card__name {
    position: relative; z-index: 3; margin: -42px auto 14px; width: 92%; min-height: 56px;
    display: flex; align-items: center; justify-content: center; padding: 6px 14px;
    background-image: url('../img/equipo/name-background.png');
    background-size: 100% 100%; background-repeat: no-repeat;
}
.team-card__name span { font-family: var(--font-head); font-weight: 600; font-size: 1.18rem; line-height: 1.1; }
.team-card__profile { color: var(--ink-soft); font-size: .95rem; line-height: 1.6; max-width: 260px; margin: 0 auto; }
.team-card--empty { opacity: .65; }
.team-card--empty .team-card__noimg { border: 2px dashed #cfd1e2; background: transparent; }

@media (max-width: 980px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   POST — tipografía de artículo (contenido del editor enriquecido)
   ========================================================================= */
.post-body { font-size: 1.08rem; line-height: 1.85; color: var(--ink); }
.post-body h1, .post-body h2, .post-body h3, .post-body h4 { color: var(--wist-navy); margin: 1.6em 0 .5em; line-height: 1.2; }
.post-body h2 { font-size: 1.7rem; } .post-body h3 { font-size: 1.35rem; } .post-body h4 { font-size: 1.15rem; }
.post-body p { margin: 0 0 1.2rem; }
.post-body a { color: var(--wist-cyan); text-decoration: underline; }
.post-body a:hover { color: var(--wist-magenta); }
.post-body ul, .post-body ol { margin: 0 0 1.2rem; padding-left: 1.4rem; }
.post-body li { margin-bottom: .4rem; }
.post-body img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 1rem 0; }
.post-body blockquote { margin: 1.5rem 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--wist-magenta);
    font-family: var(--font-head); font-size: 1.2rem; color: var(--wist-navy); }
.post-body pre { background: var(--bg-soft); padding: 16px; border-radius: var(--radius); overflow-x: auto; }
.post-body hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
.post-body table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; }
.post-body th, .post-body td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }

/* =========================================================================
   PROYECTO — grid de 12 columnas (galerías, video, texto)
   ========================================================================= */
.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.project-grid__item { min-width: 0; }
.project-grid__item img { width: 100%; border-radius: var(--radius); display: block; }
.project-grid__video { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; }
.project-grid__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.project-grid__heading { font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--wist-navy); margin: 10px 0; }
.project-grid__text { font-size: 1.05rem; color: var(--ink); line-height: 1.8; }
.project-grid__text p { margin: 0 0 1rem; }
.project-grid__caption { font-size: .9rem; color: var(--ink-soft); margin: 8px 0 0; }
@media (max-width: 760px) {
    .project-grid { gap: 16px; }
    .project-grid__item { grid-column: span 12 !important; }
}

/* =========================================================================
   BANDA DE MARCA (separador antes del footer)
   ========================================================================= */
.brand-band { display: block; line-height: 0; background: var(--wist-navy); }
.brand-band img { width: 100%; height: auto; display: block; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { position: relative; background: var(--wist-navy); color: rgba(255, 255, 255, 0.72); overflow: hidden; }
.footer-curves { position: absolute; inset: 0; pointer-events: none; opacity: .5; }
.footer-curves__blob { position: absolute; width: 300px; height: 300px; border-radius: 50%; filter: blur(20px); mix-blend-mode: screen; }
.footer-curves__blob--magenta { background: var(--wist-magenta); left: -120px; bottom: -120px; opacity: .5; }
.footer-curves__blob--cyan { background: var(--wist-cyan); right: -100px; top: -120px; opacity: .45; }
.footer-curves__blob--yellow { background: var(--wist-yellow); right: 30%; bottom: -160px; opacity: .25; }

.site-footer__inner {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 72px 24px 50px;
}
.site-footer__logo { height: 54px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.site-footer__tagline { font-family: var(--font-head); color: #fff; font-size: 1.1rem; max-width: 260px; }
.site-footer__title { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.site-footer__list { display: grid; gap: 10px; }
.site-footer__list a { color: rgba(255, 255, 255, 0.72); }
.site-footer__list a:hover { color: var(--wist-yellow); }
.site-footer__list i { color: var(--wist-cyan); width: 18px; }
.site-footer__muted { color: rgba(255, 255, 255, 0.5); font-size: .9rem; }
.site-footer__bottom { position: relative; z-index: 2; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.site-footer__credit { display: inline-flex; align-items: center; gap: 12px; }
.site-footer__lock {
    display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
    color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.06); font-size: .72rem;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}
.site-footer__lock:hover { color: #fff; background: var(--wist-magenta); transform: translateY(-2px); }
.site-footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; font-size: .9rem; }
.site-footer__bottom p { margin: 0; }

/* WhatsApp flotante */
.whatsapp-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 90;
    width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
    display: grid; place-items: center; font-size: 1.7rem;
    box-shadow: 0 10px 26px rgba(37, 211, 102, .45); transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }

/* =========================================================================
   FORMULARIO (contacto)
   ========================================================================= */
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 8px; }
.form__row label { font-family: var(--font-head); font-weight: 500; color: var(--wist-navy); }
.form__row input, .form__row textarea {
    font-family: var(--font-body); font-size: 1rem; padding: 14px 16px;
    border: 1.5px solid var(--border); border-radius: 14px; background: #fff; color: var(--ink);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.form__row input:focus, .form__row textarea:focus {
    outline: none; border-color: var(--wist-cyan); box-shadow: 0 0 0 4px rgba(0, 175, 239, .15);
}
.form__alert { padding: 14px 18px; border-radius: 14px; font-size: .95rem; }
.form__alert--ok { background: rgba(0, 168, 89, .12); color: #06713f; border: 1px solid rgba(0, 168, 89, .3); }
.form__alert--err { background: rgba(236, 38, 143, .1); color: #b01369; border: 1px solid rgba(236, 38, 143, .3); }

/* Animación de aparición */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 980px) {
    .intro__grid, .trayectoria__grid { grid-template-columns: 1fr; gap: 40px; }
    .cards, .plans { grid-template-columns: 1fr; }
    .site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    .section { padding: 70px 0; }
    .hero { padding: 90px 0 100px; }
    .hero-strip__inner { grid-template-columns: 1fr; gap: 18px; }

    .nav-toggle { display: flex; }
    .site-nav {
        position: fixed; inset: var(--header-h) 0 auto 0;
        flex-direction: column; align-items: stretch;
        background: #fff; border-bottom: 1px solid var(--border);
        transform: translateY(-130%); transition: transform .3s ease;
        box-shadow: var(--shadow); padding: 16px 0;
    }
    .site-nav.is-open { transform: translateY(0); }
    .site-nav__list { flex-direction: column; align-items: stretch; gap: 4px; padding: 0 20px; }
    .site-nav__link, .site-nav__cta { display: block; text-align: center; margin: 0; }
    .site-nav__cta { margin-top: 8px; }
    .site-social { justify-content: center; margin: 14px 20px 0; padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--border); }

    .stats { grid-template-columns: 1fr 1fr; }
    .site-footer__inner { grid-template-columns: 1fr; }
    .site-footer__bottom-inner { flex-direction: column; gap: 6px; text-align: center; }
}

/* =========================================================================
   PAQUETES
   ========================================================================= */
.pkg-grid {
    display: flex;
    flex-direction: column;
    gap: 34px;
    max-width: 940px;
    margin: 0 auto;
}
.pkg-card {
    position: relative;
    background: var(--wist-navy);
    color: #fff;
    border-radius: 26px;
    padding: 46px 46px 34px;
    box-shadow: 0 24px 50px rgba(53, 51, 89, .22);
    overflow: hidden;
    isolation: isolate;
    transition: transform .35s ease, box-shadow .35s ease;
}
.pkg-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(53, 51, 89, .3); }
.pkg-card--featured {
    box-shadow: 0 26px 60px color-mix(in srgb, var(--accent) 40%, transparent);
    outline: 3px solid var(--accent);
    outline-offset: 0;
}
.pkg-card__badge {
    position: absolute; top: 18px; left: 22px; z-index: 4;
    background: var(--accent); color: #fff;
    font-family: var(--font-head); font-weight: 600; font-size: .72rem;
    letter-spacing: .04em; text-transform: uppercase;
    padding: 5px 12px; border-radius: 999px;
}

/* Papelito con el nombre del paquete */
.pkg-card__tag {
    position: absolute; top: -6px; right: 18px; z-index: 3;
    width: 150px; height: 78px;
    transform: rotate(3deg);
    display: grid; place-items: center;
    filter: drop-shadow(0 8px 14px rgba(0,0,0,.28));
}
.pkg-card__tag-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.pkg-card__tag-text {
    position: relative; z-index: 1;
    font-family: var(--font-head); font-weight: 700;
    font-size: 1.02rem; line-height: 1.05; text-align: center;
    max-width: 96px; transform: rotate(-3deg);
}

.pkg-card__body { position: relative; z-index: 2; margin-top: 18px; }
.pkg-card__body { column-count: 2; column-gap: 44px; }
.pkg-card__heading {
    font-family: var(--font-head); font-weight: 600;
    font-size: 1.02rem; color: #fff;
    margin: 18px 0 6px;
    break-inside: avoid;
}
.pkg-card__heading:first-child { margin-top: 0; }
.pkg-card__list { break-inside: avoid; }
/* la línea destacada ocupa todo el ancho, debajo de las 2 columnas */
.pkg-card__highlight { column-span: all; }
.pkg-card__list { list-style: none; margin: 0 0 4px; padding: 0; }
.pkg-card__list li {
    position: relative; padding-left: 18px; margin-bottom: 7px;
    font-size: .9rem; line-height: 1.45; color: rgba(255,255,255,.82);
}
.pkg-card__list li::before {
    content: ""; position: absolute; left: 2px; top: .55em;
    width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.pkg-card__highlight {
    margin: 16px 0 0;
    font-family: var(--font-head); font-weight: 600;
    font-size: .92rem; line-height: 1.4; color: #fff;
    border-top: 1px solid rgba(255,255,255,.16); padding-top: 14px;
}
.pkg-card__para { font-size: .9rem; color: rgba(255,255,255,.82); margin: 6px 0; }

.pkg-card__foot {
    position: relative; z-index: 2;
    margin-top: 22px; padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.16);
    display: flex; align-items: center; justify-content: flex-start;
    gap: 26px; flex-wrap: wrap;
    padding-right: 180px;
}
.pkg-card__price {
    font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; line-height: 1;
}
.pkg-card__price small { display: block; font-size: .68rem; font-weight: 500; color: rgba(255,255,255,.6); margin-top: 3px; }
.pkg-card__cta { padding: 11px 20px; }

/* Personaje ilustrado */
.pkg-card__char {
    position: absolute; right: 24px; bottom: -6px; z-index: 1;
    width: 160px; height: auto; opacity: .9;
    filter: brightness(0) invert(1);
    pointer-events: none;
}

.pkg-note {
    margin-top: 30px; text-align: center;
    font-size: .9rem; color: var(--ink-soft, #6b6986);
}
.pkg-note i { color: var(--wist-magenta); }

/* CTA de Paquetes: banda con degradado de marca (distinta del footer navy) */
.cta--brand {
    background: linear-gradient(135deg, var(--wist-indigo) 0%, var(--wist-purple) 60%, var(--wist-magenta) 100%);
    position: relative;
}
.cta--brand .cta__title { color: #fff; }
.cta--brand .cta__text { color: rgba(255, 255, 255, .85); }
.cta--brand .btn--ghost { background: #fff; border-color: #fff; color: var(--wist-purple); }
.cta--brand .btn--ghost:hover { background: rgba(255, 255, 255, .88); color: var(--wist-magenta); border-color: #fff; }

@media (max-width: 760px) {
    .pkg-card { padding: 44px 24px 30px; }
    .pkg-card__body { column-count: 1; }
    .pkg-card__char { width: 110px; right: 12px; opacity: .85; }
    .pkg-card__foot { padding-right: 96px; }
}
