:root {
    --bg: #F3EEF5;
    /* Fondo lavanda muy suave */
    --ink: #17131A;
    /* Negro con toque morado */
    --muted: #625B67;
    /* Texto secundario */
    --accent: #5B2A86;
    /* Morado principal */
    --accent2: #7a079d;
    /* Rosa apagado */
    --card: #FFFFFF;
    /* Tarjetas */
    --soft: #E5DCE8;
    /* Fondos decorativos */
    --gold: #C89B3C;
    /* Detalles */
    --font-title: "Space Grotesk", sans-serif;
    --font-body: "DM Sans", sans-serif;
}

html {
    scroll-behavior: smooth;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-size: 16px;
}

.container {
    width: 90%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/*================================================
  MENU
  ==================================================*/
.menuNavegacion {
    background: #2f0653;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999999999;
    padding: 10px 0;
}

.menuInfo {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 80px;
    height: 80px;
}

.contendorNav {
    display: flex;
    width: 60%;
    justify-content: space-between;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--bg);
    transition: 0.3s ease-in-out;
    position: relative;
    text-decoration: none;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link:hover::after {
    width: 100%;
}



/* =========================
   BANNER
========================= */

.banner {
    height: 100vh;
    padding: 80px 0;
    background: var(--soft);
    overflow: hidden;
    position: relative;
}

.banner .container {
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    place-content: center;
    gap: 70px;
    height: 100%;
}


/* =========================
   TEXTO
========================= */

.texto {
    position: relative;
    z-index: 2;
}

.mini-titulo {
    display: inline-block;
    margin-bottom: 25px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent2);
    font-family: var(--font-body);
}

.texto h1 {
    margin: 0;
    max-width: 650px;

    font-size: 76px;
    line-height: 0.98;
    letter-spacing: -3px;
    font-family: var(--font-title);
    color: var(--ink);
}

.texto h1 span {
    color: var(--accent2);
    font-family: var(--font-title);
    font-size: 76px;
}

.texto p {
    max-width: 600px;
    margin: 30px 0;

    font-size: 18px;
    line-height: 1.7;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
}


/* =========================
   BOTONES
========================= */

.acciones {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 35px;
}

.boton,
.boton-secundario {
    transition: 0.3s ease;
    font-family: var(--font-body);
}

.boton,
.boton-secundario {
    transition: 0.3s ease;
    font-family: var(--font-body);
}

.boton {
    position: relative;
    overflow: hidden;
    isolation: isolate;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 15px 25px;

    border: 2px solid var(--accent2);
    color: var(--accent2);

    border-radius: 5px;
}

/* Fondo que entra desde la derecha */
.boton::before {
    content: "";
    position: absolute;
    inset: 0;

    background: var(--accent2);

    transform: translateX(100%);
    transition: transform 0.3s ease;

    z-index: -1;
}

/* El color entra de derecha a izquierda */
.boton:hover::before {
    transform: translateX(0);
}

/* Movimiento del botón */
.boton:hover {
    transform: translateY(-3px);
    color: var(--card);
}


/* Botón secundario */
.boton-secundario {
    color: var(--card);
    padding: 15px 45px;
    background-color: var(--accent2);
    border-radius: 5px;
}

.boton-secundario:hover {
    color: var(--card);
    background-color: var(--gold);
}

/* =========================
   PARTE VISUAL
========================= */

.visual {
    min-height: 500px;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================
   BLOQUE DE CÓDIGO
========================= */

.codigo {
    position: absolute;
    top: 20px;
    right: 25px;

    padding: 18px 24px;

    background: var(--accent2);
    color: var(--card);

    font-family: monospace;
    font-size: 17px;

    border-radius: 10px;

    transform: rotate(3deg);

    box-shadow: 12px 12px 0 var(--muted);
}

.codigo span {
    color: var(--gold);
    font-weight: bold;
}

.codigo strong {
    display: block;
    margin-left: 25px;

    color: var(--card);
}


/* =========================
   NUMERO
========================= */

.numero {
    position: absolute;
    left: 5px;
    top: 80px;

    font-size: 130px;
    font-weight: 800;
    line-height: 1;

    color: transparent;
    -webkit-text-stroke: 2px #7a079d5d;

    opacity: 0.8;
}


/* =========================
   TARJETAS
========================= */

.tarjetas {
    position: relative;
    z-index: 2;

    width: 390px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;

    transform: rotate(-4deg);
}

.tarjeta {
    min-height: 125px;
    padding: 22px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: var(--card);

    border-radius: 14px;

    box-shadow: 8px 8px 0 rgba(29, 27, 25, 0.08);

    transition: 0.35s ease;
}

.tarjeta:hover {
    transform: translateY(-8px) rotate(2deg);
}

.tarjeta strong {
    font-size: 32px;
    line-height: 1;
    color: var(--accent2);
    font-family: var(--font-title);
    text-align: center;
}

.tarjeta span {
    font-size: 13px;
    line-height: 1.4;
    color: var(--muted);
    font-family: var(--font-body);
    text-align: center;
}


/* =========================
   TARJETA PRINCIPAL
========================= */

.tarjeta-principal {
    grid-column: span 2;

    min-height: 170px;

    background: var(--accent);
    color: var(--card);

    justify-content: flex-end;
}

.tarjeta-principal strong {
    font-size: 70px;
    color: var(--card);
    letter-spacing: -3px;
}

.tarjeta-principal span {
    color: var(--card);
}


/* =========================
   NOMBRE NATOFER
========================= */

.nombre-visual {
    position: absolute;

    bottom: -15px;
    right: -20px;

    font-size: 80px;
    font-weight: 900;
    letter-spacing: -5px;

    color: transparent;
    -webkit-text-stroke: 2px #7a079d5d;

    transform: rotate(-90deg);
    transform-origin: center;

    opacity: 0.15;

    pointer-events: none;
    font-family: var(--font-title);
}


/* =========================
   DETALLES DECORATIVOS
========================= */

.visual::before {
    content: "";

    position: absolute;

    width: 330px;
    height: 330px;

    border: 2px solid var(--accent2);
    border-radius: 50%;

    right: 30px;
    top: 100px;

    z-index: 0;
}

.visual::after {
    content: "";

    position: absolute;

    width: 14px;
    height: 14px;

    background: var(--accent);
    border-radius: 50%;

    right: 15px;
    bottom: 90px;

    box-shadow:
        -35px 20px 0 var(--accent2),
        -70px -5px 0 var(--ink);
}

/* =========================
   SOBRE MI
   =========================
*/
.sobre-mi {
    padding: 80px 0;
    background: var(--bg);
}

.sobre-mi article {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

/* CONTENIDO */

.sobre-contenido {
    max-width: 750px;
}

.etiqueta {
    display: inline-block;
    margin-bottom: 20px;
    font-family: var(--font-body);
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;

    color: var(--accent);
}

.sobre-contenido h2 {
    margin: 0 0 30px;
    font-family: var(--font-title);
    font-size: 55px;
    line-height: 1;
    color: var(--ink);
}

.sobre-contenido h2 span {
    color: var(--gold);
    font-family: var(--font-title);
    font-size: 55px;
}

.sobre-contenido p {
    margin-bottom: 20px;
    font-size: 16px;
    font-family: var(--font-body);
    color: var(--muted);
    line-height: 1.8;
}

.sobre-contenido strong {
    color: var(--accent2);
}

/* IMAGEN */
/* CONTENEDOR */
.imagen-sobre {
    position: relative;
    width: 100%;
    height: 620px;

    display: flex;
    justify-content: center;
    align-items: center;

    isolation: isolate;
}


/* MANCHA */
.imagen-sobre::before {
    content: "";

    position: absolute;

    width: 400px;
    height: 500px;

    background: var(--accent2);

    border-radius: 55% 45% 48% 52%;

    right: 55px;
    top: 55px;

    transform: rotate(-8deg);

    z-index: -3;
}


/* MARCO */
.marco {
    position: absolute;

    width: 360px;
    height: 490px;

    border: 2.5px solid var(--gold);

    transform: rotate(10deg) translate(8px, 10px);

    z-index: -1;
}


/* IMAGEN */
.imagen-sobre img {
    position: relative;

    width: 365px;
    height: 500px;

    object-fit: cover;

    border-radius: 2px;

    transform: rotate(-2deg);

    z-index: 2;

    transition:
        transform .5s ease,
        filter .5s ease;
}

/* =========================================================
   EDUCACIÓN + EXPERIENCIA EDUCATIVA
   ========================================================= */
.formacionSection {
    padding: 90px 0;
    background: var(--bg);
}

/* ENCABEZADO */

.formacionHeader {

    margin: 0 auto;
    margin-bottom: 65px;
    text-align: center;
}

.etiqueta {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--muted);
    margin-bottom: 14px;
    font-family: var(--font-body);
}

.formacionHeader .h2 {
    font-size: 55px;
    line-height: 1.1;
    margin: 0 0 18px;
    font-family: var(--font-title);
    color: var(--ink);
}

.formacionHeader p {
    color: var(--muted);
    line-height: 1.8;
    margin: 0;
    font-size: 16px;
    font-family: var(--font-body);
}

/* GRUPOS */

.eduExpe {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.edu>h3 {
    font-size: 25px;
    color: var(--accent2);
    margin: 0 0 20px;
    font-family: var(--font-title);
}

/* ==============================
   TARJETAS DE EDUCACIÓN
============================== */

.educacionGrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.educacionCard {
    min-width: 0;
    height: 100%;
    min-height: 330px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    gap: 18px;

    padding: 24px 20px;
    background: var(--card);
    border: 1px solid var(--soft);
    border-radius: 5px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.educacionCard:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
}

.educacionYear {
    align-self: flex-end;
    color: var(--soft);
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 600;
}

.educacionInfo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.educacionTipo {
    display: inline-block;
    background: var(--soft);
    color: var(--ink);
    font-family: var(--font-body);
    border-radius: 30px;
    padding: 6px 10px;
    margin-bottom: 14px;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.educacionInfo h4 {
    font-size: 20px;
    font-family: var(--font-title);
    line-height: 1.4;
    margin: 0 0 10px;
    color: var(--accent);
}

.educacionInfo h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    font-family: var(--font-title);
    margin: 0 0 16px;
}

.educacionInfo p {
    font-size: 14px;
    line-height: 1.7;
    color: #5d5852;
    margin: 0 0 18px;
    font-family: var(--font-body);
}

/* ETIQUETAS */

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: auto;
}

.tags span {
    display: inline-block;
    padding: 7px 11px;
    border-radius: 30px;
    background: var(--soft);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 11px;
}

/* ==============================
   EXPERIENCIA EDUCATIVA
============================== */

.experienciaEducativa {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.worldskillsCard {
    min-width: 0;
    height: 100%;
    min-height: 440px;
    box-sizing: border-box;

    padding: 24px;
    display: flex;
    flex-direction: column;

    background: var(--card);
    border: 1px solid var(--soft);
    border-radius: 12px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.worldskillsCard:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
}

.worldskillsContent {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.worldskillsTop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.experienceTag {
    background: var(--soft);
    color: var(--ink);
    font-family: var(--font-body);
    padding: 7px 10px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
}

.experienceYear {
    font-size: 20px;
    font-family: var(--font-title);
    color: var(--soft);
}

.worldskillsContent>h3 {
    font-size: 25px;
    font-family: var(--font-title);
    color: var(--accent);
    margin: 0 0 14px;
}

.worldskillsContent>p,
.worldskillsStage>p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--muted);
    font-family: var(--font-body);
    margin: 0 0 14px;
}

/* RECONOCIMIENTO */

.achievement {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 8px;
    padding: 14px;
    border: 1px solid var(--accent2);
    border-radius: 9px;
    background: #fffaff;
}

.achievement strong {
    font-size: 15px;
    font-family: var(--font-title);
    color: var(--accent2);
    letter-spacing: 0.5px;
}

.achievement span {
    font-size: 14px;
    font-family: var(--font-body);
    line-height: 1.5;
    color: var(--muted);
}

/* HABILIDADES */

.habilidades {
    padding: 60px 0;
    background-color: var(--bg);
    margin: 0;
}

.habilidades h2 {
    font-family: var(--font-title);
    font-size: 55px;
    color: var(--ink);
}

.habilidades p {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--muted);
    width: 80%;
}

.grupoHabilidades {
    margin-top: 28px;
}

.tituloGrupo {
    font-size: 20px;
    font-family: var(--font-title);
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--accent);
}

.listaHabilidades {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 32px;
}

.habilidadItem {
    min-width: 0;
}

.habilidadInfo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 9px;
}

.habilidadInfo img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    flex-shrink: 0;
}

.habilidadInfo>span:nth-child(2) {
    font-size: 15px;
    font-family: var(--font-title);
    font-weight: 500;
    color: var(--ink);
}

.nivelTexto {
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--muted);
    font-family: var(--font-body);
    font-variant-numeric: tabular-nums;
}

.barraNivel {
    height: 5px;
    background: #e7e2dc;
    border-radius: 10px;
    overflow: hidden;
}

.barraNivel span {
    display: block;
    width: var(--nivel);
    height: 100%;
    background: var(--color);
    border-radius: inherit;
    transform-origin: left;
    animation: cargarBarra 1s ease-out both;
}

@keyframes cargarBarra {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

/* SERVICIOS */

.servicios {
    padding: 100px 0;
    background-color: var(--bg);
}

.servicios h2 {
    font-family: var(--font-title);
    font-size: 55px;
    margin: 15px 0;
    color: var(--ink);
}

.headerS {
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
}

.serviciosIntro {
    line-height: 14px;
    font-family: var(--font-body);
    color: var(--muted);
    margin-bottom: 40px;
}

.serviciosGrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.servicioCard {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    min-height: 340px;
    border: 1px solid var(--soft);
    border-radius: 5px;
    background: var(--card);
    transition: transform 0.25s ease,
        border-color 0.25s ease;
}

.servicioCard:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.servicioNumero {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--muted);
    font-family: var(--font-title);
}

.servicioIcono {
    width: 30px;
    height: 30px;
    margin: 25px 0 10px;
}

.servicioIcono svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    color: var(--accent2);
}

.servicioCard h3 {
    font-family: var(--font-title);
    font-size: 25px;
    margin: 12px 0;
}

.servicioCard p {
    font-size: 14px;
    font-family: var(--font-body);
    line-height: 1.7;
    margin: 0 0 24px;
}

.servicioTags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 22px;
}

.servicioTags span {
    padding: 6px 9px;
    font-size: 11px;
    font-family: var(--font-body);
    background: var(--soft);
    color: var(--ink);
}

/* =========================
   SECCIÓN DE PROYECTOS
========================= */

.proyectos {
    padding: 100px 0;
    background: var(--bg);
}

/* Encabezado */

.headerProyectos {
    width: 100%;
    margin-bottom: 48px;
}

.headerProyectos h2 {
    margin: 0 0 20px;
    font-family: var(--font-title);
    font-size: 55px;
    line-height: 1.12;
    letter-spacing: -1.5px;
    display: flex;
    gap: 15px;
}

.headerProyectos h2 span {
    display: block;
    color: var(--gold);
    font-family: var(--font-title);
    font-size: 55px;
}

.headerProyectos p {
    margin: 0;
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.8;
}

/* Cuadrícula */

.proyectosGrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 26px;
    align-items: start;
}

/* Tarjetas */

.proyectoCard {
    min-width: 0;
    background: var(--card);
    border: 1px solid var(--soft);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.proyectoCard:hover {
    transform: translateY(-7px);
    box-shadow: 0 14px 32px rgba(29, 27, 25, 0.08);
}

/* Imágenes */

.proyectoImagen {
    position: relative;
    display: block;
    height: 450px;
    overflow: hidden;
    background: #e8e0d5;
}

.proyectoImagen img {
    display: block;
    width: 100%;
    height: 100%;
    transition: transform 0.55s ease;
}

.proyectoCard:hover .proyectoImagen img {
    transform: scale(1.045);
}

/* Flecha sobre la imagen */

.proyectoFlecha {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: rgba(246, 241, 234, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    color: var(--accent2);
    border-radius: 100px;
}

/* Contenido */

.proyectoContenido {
    padding: 25px;
}

.proyectoCategoria {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--muted);
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.proyectoContenido h3 {
    margin: 0 0 12px;
    font-family: var(--font-title);
    font-size: 25PX;
    line-height: 1.3;
    color: var(--accent);
}

.proyectoContenido p {
    margin: 0 0 20px;
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
}

/* Tecnologías */

.proyectoTecnologias {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.proyectoTecnologias span {
    padding: 7px 10px;
    background: var(--soft);
    color: var(--ink);
    font-size: 14px;
    font-family: var(--font-body);
}

/* Enlaces */

.proyectoCard .boton {
    padding: 10px;
    font-size: 14px;
}


/* Enlace a GitHub */
.proyectosFooter {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

/* =========================
   ANIMACIÓN AL HACER SCROLL
========================= */

.proyectoCard.animarEntrada {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease,
        box-shadow 0.35s ease;
}

.proyectoCard.animarEntrada.visible {
    opacity: 1;
    transform: translateY(0);
}

.proyectoCard.animarEntrada.visible:hover {
    transform: translateY(-7px);
}


/* =========================
   ANIMACIÓN DE ENTRADA
========================= */

.proyectoCard.animarEntrada {
    opacity: 0;
    transform: translateY(80px) scale(0.94);
    filter: blur(8px);

    transition:
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.9s ease,
        box-shadow 0.35s ease;
}

.proyectoCard.animarEntrada.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Hover más evidente */

.proyectoCard:hover {
    transform: translateY(-12px) scale(1.015);
    box-shadow: 0 22px 45px rgba(29, 27, 25, 0.15);
}

/* Zoom de la imagen */

.proyectoImagen img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.proyectoCard:hover .proyectoImagen img {
    transform: scale(1.09);
}

/* Movimiento de la flecha */

.proyectoCard:hover .proyectoFlecha {
    background: var(--accent2);
    color: #ffffff;
}

/* ========================================
   SECCIÓN DE CONTACTO
======================================== */

.Contacto {
    padding: 100px 7%;
    background: var(--bg);
    color: #FFFFFF;
    overflow: hidden;
}

.contact-container {
    width: 85%;
    margin: 0 auto;
}

.informacionCotacto {
    position: relative;
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    align-items: center;
    gap: 0;
    min-height: 555px;
}

/* TARJETA DE INFORMACIÓN */

.contact-card {
    position: relative;
    z-index: 2;
    padding: 42px 30px;
    background: var(--accent2);
    color: var(--card);
    border-radius: 9px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.35s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
}

.Contacto .h2 {
    margin: 0 0 28px;
    color: inherit;
    font-family: var(--font-title);
    font-size: 30PX;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.info-row {
    margin-bottom: 17px;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-row .p {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: var(--card);
    font-family: var(--font-body);
    font-size: 0.88rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.info-row .icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

/* FORMULARIO */

.contact-form {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    margin-left: -40px;
    padding: 45px 50px 46px 90px;
    background: var(--accent);
    border-radius: 9px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.10);
}

.contact-form .h2 {
    margin-bottom: 27px;
    color: var(--card);
    font-family: var(--font-title);
    text-align: center;
    font-size: 55px;
}

.contact-form label {
    margin: 0 0 8px;
    color: #E2F4EC;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 22px;
    padding: 13px 16px;
    border: 1px solid rgba(240, 207, 255, 0.3);
    border-radius: 21px;
    outline: none;
    background: rgba(255, 255, 255, 0.13);
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 1rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    transition: border-color 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.contact-form input {
    min-height: 49px;
}

.contact-form textarea {
    min-height: 80px;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.75);
    opacity: 1;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #ac04df;
    background: rgba(255, 255, 255, 0.19);
    box-shadow: 0 0 0 3px rgba(161, 93, 224, 0.13);
}

/* BOTÓN */
.contact-form .boton {
    width: 200px;
    margin: 0 auto;
}

#formStatus {
    color: var(--soft);
    font-family: var(--font-body);
    font-size: 14px;
}

/* ========================================
   FOOTER
======================================== */

.footer {
    position: relative;
    padding: 55px 7% 22px;
    background: #2f0653;
    color: #FFFFFF;
    overflow: hidden;
}

/* Brillo decorativo */
.footer-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
    margin: 0 auto;
}

/* LOGO */

.footer-logo {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease,
        transform 0.3s ease;
}

.footer-logo:hover {
    background: rgba(154, 93, 224, 0.12);
    transform: translateY(-5px);
}

.footer-logo svg {
    display: block;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
}

.footer-logo:hover svg {
    transform: scale(1.06);
}

/* MENÚ */

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-menu li a {
    position: relative;
    display: inline-block;
    padding: 7px 0;
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Subrayado animado */

.footer-menu li a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.footer-menu li a:hover {
    color: var(--gold);
}

.footer-menu li a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.footer-menu li a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 5px;
}

/* COPYRIGHT */

.footer-copy {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    color: rgba(255, 255, 255, 0.55);
    font-family: var(--font-body);
    font-size: 0.82rem;
    line-height: 1.7;
    text-align: center;
}

/*
====================================================
Responsive
*/

/*================================================
  MENU RESPONSIVE
==================================================*/

/* Pantallas de 1000px o menos */
@media (max-width: 1246px) {

    .menuInfo {
        justify-content: space-between;
        padding: 0 20px;
    }

    .logo {
        width: 65px;
        height: 65px;
    }

    /* Botón del menú hamburguesa */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 22px;
        cursor: pointer;
        z-index: 1001;
        background-color: transparent;
        border: none;
    }

    .menu-toggle span {
        background-color: #C89B3C;
        width: 100%;
        height: 3px;
    }
    .menu-toggle {
        position: relative;
    }
    .menu-toggle span {
        display: block;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .contendorNav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 30px 0;
        background: #2f0653;
    }

    /* Mostrar el menú cuando esté activo */
    .contendorNav.active {
        display: flex;
    }

    .nav-link {
        font-size: 18px;
    }

    /*BANNER*/
    .banner {
        min-height: auto;
        padding: 130px 0 70px;
    }

    .banner .container {
        width: 90%;
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
        gap: 25px;
        min-height: auto;
    }

    .texto h1 {
        font-size: clamp(38px, 5.5vw, 55px);
        letter-spacing: -2px;
    }

    .texto h1 span {
        font-size: clamp(38px, 5.5vw, 55px);
        letter-spacing: -2px;
    }

    .texto p {
        font-size: 15px;
        margin: 20px 0;
    }

    .visual {
        min-height: 400px;
    }

    .tarjetas {
        width: min(340px, 90%);
        gap: 12px;
    }

    .tarjeta {
        min-height: 110px;
        padding: 17px 12px;
    }

    .tarjeta-principal {
        min-height: 140px;
    }

    .codigo {
        top: 5px;
        right: 0;
        font-size: 13px;
        padding: 13px 15px;
    }

    .numero {
        top: 60px;
    }

    .visual::before {
        width: 280px;
        height: 280px;
    }

    .acciones {
        gap: 10px;
    }

    .boton,
    .boton-secundario {
        padding: 13px 18px;
        font-size: 14px;
    }

    /*NOSOTROS*/
    .sobre-mi {
        padding: 80px 0;
    }

    .sobre-mi article {
        width: 90%;
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        gap: 30px;
    }

    .sobre-contenido h2 {
        font-size: clamp(36px, 5vw, 48px);
    }

    .sobre-contenido p {
        font-size: 15px;
        line-height: 1.75;
    }

    .etiqueta {
        font-size: 13px;
    }

    .imagen-sobre {
        min-height: 460px;
    }

    .imagen-sobre::before {
        width: 90%;
        height: 370px;
    }

    .marco {
        width: 78%;
        height: 350px;
    }

    .imagen-sobre img {
        width: 78%;
        height: 350px;
    }
}

@media (max-width:1110px) {
    .container {
        width: 95%;
        padding: 0;
    }

    .educacionGrid {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        gap: 35px;
    }

    .educacionCard {
        width: 500px;
        height: 500px;
    }

    .experienciaEducativa {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        gap: 35px;
    }

    .worldskillsCard {
        width: 500px;
        height: 500px;
    }

    .serviciosGrid {
        gap: 35px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
    }

    .servicioCard {
        width: 320px;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .servicioCard h3 {
        text-align: center;
        width: 100%;
    }

    .servicioNumero {
        text-align: center;
        width: 100%;
    }

    .servicioIcono {
        text-align: center;
        width: 100%;
    }

    .servicioCard .boton {
        margin: 0 auto;
    }

    .proyectosGrid {
        display: flex;
        justify-content: space-evenly;
        flex-wrap: wrap;
    }

    .proyectoCard {
        width: 90%;
    }

    .headerProyectos {
        text-align: center;
    }

    .proyectos {
        padding: 30px 0;
    }

    .servicios {
        padding: 30px 0;
    }

    .habilidades {
        padding: 30px 0;
    }

    .formacionSection {
        padding: 30px 0;
    }

    .sobre-mi {
        padding: 30px 0;
    }

    .headerH {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .contact-card .h2 {
        font-size: 20px;
    }

    .habilidades p {
        width: 100%;
    }

    .informacionCotacto {
        display: flex;
    }

    .contact-form .h2 {
        font-size: 45px;
    }

    .headerProyectos h2 {
        font-size: 45px;
    }

    .servicios h2 {
        font-size: 45px;
    }

    .habilidades h2 {
        font-size: 45px;
    }

    .formacionHeader .h2 {
        font-size: 45px;
    }

    .formacionHeader .h2 {
        font-size: 45px;
    }

    .sobre-contenido h2 span {
        font-size: 45px;
    }

    .contact-form {
        width: 80%;
    }
}

/* Pantallas pequeñas */
@media (max-width:980px) {

    .menuInfo {
        padding: 0 15px;
    }

    .logo {
        width: 55px;
        height: 55px;
    }

    .contendorNav {
        gap: 20px;
        padding: 15px 0;
    }

    .nav-link {
        font-size: 16px;
    }

    .banner {
        padding: 15px 0 55px;
    }

    .banner .container {
        width: 95%;
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .texto {
        width: 100%;
        padding-top: 200px;
        text-align: center;
    }

    .mini-titulo {
        margin-bottom: 18px;
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .banner .container {
        gap: 20px;
    }

    .texto h1 {
        max-width: 100%;
        font-size: 50px;
        line-height: 1.05;
        letter-spacing: -2px;
    }

    .texto p {
        font-size: 15px;
        line-height: 1.7;
        margin: 20px 0;
        text-align: center;
        margin: 0 auto;
    }

    .acciones {
        margin: 30px auto;
        gap: 12px;
        display: flex;
        justify-content: center;
    }

    .boton,
    .boton-secundario {
        padding: 13px 17px;
        font-size: 13px;
    }

    .visual {
        min-height: 390px;
        width: 100%;
        margin-top: 5px;
    }

    .tarjetas {
        width: min(340px, 78%);
        gap: 12px;
    }

    .tarjeta {
        min-height: 105px;
        padding: 16px 10px;
        border-radius: 11px;
    }

    .tarjeta strong {
        font-size: 26px;
    }

    .tarjeta span {
        font-size: 12px;
    }

    .tarjeta-principal {
        min-height: 135px;
    }

    .tarjeta-principal strong {
        font-size: clamp(45px, 13vw, 62px);
    }

    .codigo {
        top: 0;
        right: 70px;
        font-size: 12px;
        padding: 12px 14px;
    }

    .numero {
        display: none;
    }

    .nombre-visual {
        display: none;
    }

    .visual::before {
        width: 260px;
        height: 260px;
        right: 5%;
    }

    .visual::after {
        right: 5%;
        bottom: 35px;
        top: 80%;
    }

    /*Nosotros*/
    .sobre-mi article {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .sobre-contenido {
        max-width: 100%;
        text-align: center;
    }

    .etiqueta {
        margin-bottom: 15px;
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .sobre-contenido h2 {
        margin-bottom: 22px;
        font-size: 40px;
        line-height: 1.08;
        letter-spacing: -1.5px;
    }

    .sobre-contenido h2 span {
        margin-bottom: 22px;
        font-size: 40px;
        line-height: 1.08;
        letter-spacing: -1.5px;
    }

    .sobre-contenido p {
        margin-bottom: 17px;
        font-size: 15px;
        line-height: 1.75;
    }

    .imagen-sobre {
        width: 100%;
        height: 440px;
        margin-top: 5px;
    }

    .imagen-sobre::before {
        width: min(320px, 85%);
        height: 350px;
        right: 20%;
    }

    .marco {
        width: min(280px, 75%);
        height: 330px;
    }

    .imagen-sobre img {
        width: min(285px, 74%);
        height: 330px;
    }

    .habilidades {
        gap: 45px;
        justify-content: space-evenly;
        width: 70%;
        display: flex;
        margin: 0 auto;
    }

    .formacionHeader .h2 {
        font-size: 40px;
    }

    .edu>h3 {
        text-align: center;
    }

    .formacionHeader {
        margin-bottom: 15px;
    }

    .educacionCard {
        text-align: center;
    }

    .educacionCard h4 {
        text-align: center;
        width: 100%;
    }

    .educacionCard h5 {
        text-align: center;
        width: 100%;
    }

    .educacionTipo {
        margin: 15px auto;
    }

    .tags {
        margin: 0 auto;
    }

    .worldskillsCard {
        text-align: center;
    }

    #habilidades {
        width: 100%;
    }

    .habilidades h2 {
        font-size: 40px;
    }

    .servicios h2 {
        font-size: 40px;
    }

    .headerProyectos h2 {
        font-size: 40px;
    }

}

@media (max-width: 790px) {

    .banner .container {
        width: 88%;
    }

    .texto h1 {
        font-size: 36px;
    }

    .acciones {
        align-items: stretch;
        flex-direction: column;
    }

    .boton,
    .boton-secundario {
        width: 100%;
        box-sizing: border-box;
    }

    .visual {
        min-height: 340px;
    }

    .tarjetas {
        width: 80%;
        gap: 9px;
    }

    .tarjeta {
        min-height: 95px;
        padding: 13px 8px;
    }

    .tarjeta strong {
        font-size: 22px;
    }

    .tarjeta span {
        font-size: 11px;
    }

    .tarjeta-principal {
        min-height: 120px;
    }

    .tarjeta-principal strong {
        font-size: 44px;
    }

    .codigo {
        display: none;
    }

    .visual::before {
        width: 220px;
        height: 220px;
    }

    /*NOSOTROS*/
    .sobre-mi {
        padding: 55px 0;
    }

    .sobre-mi article {
        width: 88%;
    }

    .sobre-contenido h2 {
        font-size: 34px;
    }

    .sobre-contenido p {
        font-size: 14px;
    }

    .imagen-sobre {
        min-height: 370px;
    }

    .imagen-sobre::before {
        height: 300px;
    }

    .marco {
        height: 280px;
        width: 76%;
    }

    .imagen-sobre img {
        height: 280px;
        width: 74%;
    }
}

@media (max-width:600px) {
    .container {
        width: 90%;
        margin: 0 auto;
    }

    .educacionCard {
        height: auto;
    }

    .worldskillsCard {
        height: auto;
    }

    .tags {
        justify-content: space-evenly;
        display: flex;
    }

    .listaHabilidades {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        flex-direction: column;
    }

    .informacionCotacto {
        flex-direction: column;
    }

    .contact-form {
        width: 100%;
        padding: 15px;
        margin: 0 auto;
    }

    .proyectoImagen {
        display: none;
    }

    .proyectoImagen img {
        object-fit: cover;

    }

    .informacionCotacto {
        width: 100%;
        gap: 20px;

    }

    .contact-form .h2 {
        font-size: 25px;
    }

    .contact-container {
        width: 100%;
    }

    .Contacto {
        padding: 20px 0;
    }

    .footer-menu {
        flex-direction: column;
        text-align: center;
    }

    .sobre-contenido h2 {
        font-size: 25px;
    }

    .sobre-contenido h2 span {
        font-size: 25px;
    }

    .formacionHeader .h2 {
        font-size: 25px;
    }

    .habilidades h2 {
        font-size: 25px;
    }

    .servicios h2 {
        font-size: 25px;
    }

    .headerProyectos h2 {
        font-size: 25px;
    }

    .texto {
        height: auto;
    }

}

@media (max-width:380px) {
    .visual {
        display: none;
    }
}

/* =========================================
   ANIMACIONES Y ACCESIBILIDAD
========================================= */

@media (prefers-reduced-motion: reduce) {

    .boton,
    .boton::before,
    .boton-secundario,
    .tarjeta {
        transition: none;
    }

    .tarjeta:hover,
    .boton:hover,
    .boton-secundario:hover {
        transform: none;
    }

    .imagen-sobre img,
    .marco {
        transition: none;
    }

    .contact-card,
    .contact-form,
    .info-row .p,
    .contact-form input,
    .contact-form textarea,
    .contact-form .btn-glow,
    .footer-logo,
    .footer-logo svg,
    .footer-menu li a,
    .footer-menu li a::after {
        animation: none !important;
        transition: none !important;
    }

    .proyectoCard.animarEntrada {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }

    .proyectoCard:hover,
    .proyectoCard.animarEntrada.visible:hover {
        transform: none;
    }

    .proyectoImagen img,
    .proyectoFlecha,
    .proyectoFlecha svg {
        transition: none;
    }

    .proyectoCard,
    .proyectoImagen img,
    .proyectoFlecha svg,
    .proyectoLink svg,
    .proyectosGithub svg {
        transition: none !important;
    }

    .proyectoCard.animarEntrada {
        opacity: 1;
        transform: none;
    }

    .proyectoCard:hover,
    .proyectoCard:hover .proyectoImagen img {
        transform: none;
    }

    .barraNivel span {
        animation: none;
    }
}