/* ----------------------------------------------------- */
/* @autor: Carlos Tormo Castaño @create-on: 20/11/2025   */
/* @version: style.css v2.9     @last-update: 25/01/2026 */
/* @rel: https://cartorcas.me                            */
/* @license: MIT License - free to use and modify        */
/* ----------------------------------------------------- */

:root {
    --color-blanco: #ffffff;
    --color-principal: #00bbff;
    --color-secundario: #00e1ff;
    --color-fondo: #151515;
    --color-header: #0E0E0EFF;
    --color-header-shadow: #000000C6;
    --color-body-shadow: #000000B2;
    --color-hover-bg: #0c1421;
    --color-border: 3px solid var(--color-principal);
    --color-text-grad1: #00a6ff;
    --color-text-grad2: #008cff;
    --color-text-grad3: #009dff;
    --color-box-shadow-inset: inset 0 4px 12px #0000003F;
    --border-radius-general: 15px 0;
    --border-radius-large: 80px 0;
    --transition-general: 0.5s;
    --font-general: Monospace, Arial, serif;
}

/* ----- General ----- */
html {scroll-behavior: smooth; width: 100%}
h1 {display: none;}
* {box-sizing: border-box; margin: 0; padding: 0; font-family: var(--font-general), serif; color: var(--color-blanco); transition: background-color 0.5s, border-color 0.5s, box-shadow 0.5s, background 0.5s, border 0.5s, color 0.5s;}
::selection {background-color: var(--color-principal); color: var(--color-blanco);}
body {background-color: var(--color-fondo); line-height: 1.6;}

/* ----- Header ----- */
header {width: 100%; background-color: var(--color-header); position: fixed; z-index: 1000; padding: 10px; box-shadow: 2px 2px 6px var(--color-header-shadow);}
nav {display: flex; align-items: center; justify-content: space-between; padding: 10px 20px;}
nav ul {list-style: none; display: flex; gap: 20px;}
nav ul li a {text-decoration: none; font-weight: 600; transition: var(--transition-general);}
nav ul li a:hover {margin: 0 -5px; padding: 10px; border-radius: var(--border-radius-general); box-shadow: var(--color-box-shadow-inset);}
nav ul li:nth-child(1) a:hover {color: #00E1FFFF; background-color: #0c211e;}
nav ul li:nth-child(2) a:hover {color: #70dfff; background-color: #0c2121;}
nav ul li:nth-child(3) a:hover {color: #40d4ff; background-color: #0b1f21;}
nav ul li:nth-child(4) a:hover {color: #10c9ff; background-color: #0c1e21;}
nav ul li:nth-child(5) a:hover {color: #009fff; background-color: #0c1921;}
nav ul li:nth-child(6) a:hover {color: #0157cc; background-color: #0c1922;}
.hamburger {display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer;}
.hamburger span {width: 25px; height: 3px; background-color: #ffffff; transition: all 0.5s;}
.theme-toggle {background: transparent; border: 2px solid #ffffff; border-radius: 10px 0; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; overflow: hidden; transition: all 0.5s;}
.theme-toggle svg {position: absolute; width: 22px; fill: #ffffff; transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);}
.theme-toggle:hover {border: 2px solid #00bbff;}
.theme-toggle:hover svg {transform: scale(1.1); fill: #ffdd00;}
.theme-toggle .moon {transform: translateY(35px); opacity: 0;}
.theme-toggle .sun {transform: translateY(0); opacity: 1;}
body.light-mode .theme-toggle {border-color: #1a1a1a;}
body.light-mode .theme-toggle svg {fill: #1a1a1a;}
body.light-mode .theme-toggle:hover {border: 2px solid #00bbff;}
body.light-mode .theme-toggle:hover svg {fill: #ffdd00; transform: scale(1.1);}
body.light-mode .theme-toggle .sun {transform: translateY(-35px); opacity: 0;}
body.light-mode .theme-toggle .moon {transform: translateY(0); opacity: 1;}

/* ----- Menu Idioma ----- */
.lang-dropdown {position: relative; font-weight: 600;}
.lang-selected {padding: 8px 40px 8px 14px; border: 2px solid var(--color-blanco); border-radius: var(--border-radius-general); cursor: pointer; background-color: transparent; transition: var(--transition-general);}
.lang-selected:hover {background-color: var(--color-hover-bg); box-shadow: var(--color-box-shadow-inset); border: 2px solid var(--color-principal);}
.lang-selected .arrow {position: absolute; right: 12px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--color-blanco); border-bottom: 2px solid var(--color-blanco); transform: translateY(-60%) rotate(45deg); transition: all var(--transition-general);}
.lang-selected:hover .arrow {border-right-color: var(--color-principal); border-bottom-color: var(--color-principal);}
.lang-dropdown.active .arrow {transform: translateY(-50%) rotate(135deg);}
.lang-options {position: absolute; right: 0; top: 120%; list-style: none; background-color: var(--color-header); border: 2px solid var(--color-blanco); border-radius: 20px 0; min-width: 140px; z-index: 2000; box-shadow: 0 8px 18px rgba(0,0,0,0.35);}
.lang-options li {padding: 10px 14px; cursor: pointer; transition: var(--transition-general);}
.lang-options li:hover {background-color: #0096B433;}
.lang-options li:nth-child(1):hover {border-radius: 20px 0 0 0;}
.lang-options li:nth-child(3):hover {border-radius: 0 0 20px 0;}

/* ----- PopUp ----- */
.modal {display: none; position: fixed; z-index: 10000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.7); justify-content: center; align-items: center;}
.modal-content {position: relative; width: 80%; max-width: 1200px; height: 80%; background-color: #111; border-radius: var(--border-radius-general); border: var(--color-border); box-shadow: 0 30px 30px 20px rgba(0, 48, 87, 0.4); overflow: hidden; display: flex; flex-direction: column;}
.modal-content iframe {width: 100%; height: 100%; border: none;}
.close {position: absolute; top: -6px; right: 18px; color: var(--color-principal); font-size: 2.1em; cursor: pointer; z-index: 10; background-color: #3c3c3c; padding: 4px; transition: all var(--transition-general);}
.close:hover {background-color: #4b4b4b;}

/* ----- Palabra Inicial ----- */
#rol {display: inline-block; transition: all 0.5s ease-in-out; opacity: 1; transform: translateY(0);}
.fade-out {opacity: 0; transform: translateY(10px);}
.fade-in {opacity: 0; transform: translateY(-10px);}







/* ----- Inicio ----- */
#inicio {display: flex; justify-content: center; align-items: center; min-width: 100%; height: 100vh; min-height: 900px; position: relative; overflow: hidden;}
#inicio::before {content: ""; position: absolute; inset: 0; background: url("https://cartorcas.me/sources/wallpaper-formacion-updated.jpg") no-repeat center center fixed; background-size: cover; filter: blur(0px); transform: scale(1.1); z-index: -1;}
#inicio .borde {margin: 0 50px; display: flex; justify-content: center; align-items: center; min-width: 300px; width: 900px; height: 450px; position: relative; background-color: #1111117C; border-radius: var(--border-radius-large); box-shadow: var(--color-box-shadow-inset);}
#inicio .intro {display: flex; flex-direction: column; width: 44%; margin: 0 0 0 30px;}
#inicio .intro p {font-size: 1.5rem; font-weight: 1800;}
#inicio .intro .fade, #inicio .intro .name {font-weight: 1000; color: var(--color-secundario); font-size: 1.7rem}
#inicio .intro button {padding: 15px 40px; border-radius: var(--border-radius-general); background-color: #000000A3; font-weight: 800; cursor: pointer; transition: var(--transition-general); font-size: 1em; border: var(--color-border); box-shadow: none; width: 200px;}
#inicio .intro button:hover {border: 3px solid transparent; background-color: var(--color-secundario); box-shadow: 10px 10px 0 #00a6ff;}
#inicio .intro a {margin-top: 20%; width: 200px;}
#inicio .foto {margin: 0 40px 0 80px; padding: 5px; border-radius: var(--border-radius-large); background: conic-gradient(#a0eaff, #70dfff, #40d4ff, #10c9ff, #009fff, #0157cc, #10c9ff, #70dfff, #a0eaff); transition: transform var(--transition-general);}
#inicio .foto img {display: block; max-width: 300px; border-radius: 75px 0; transition: all var(--transition-general);}
#inicio .foto:hover {transform: scale(1.1);}

/* ----- Sobre mí ----- */
#sobre-mi {background: linear-gradient(90deg, rgba(0, 166, 153, 0.07), rgba(0, 52, 152, 0.06)); box-shadow: 0 -4px 6px #030303B5, 0 4px 6px #0C0C0CA0; padding: 20px; width: 100%;}
#sobre-mi h2 {font-size: 2.5em; border-bottom: 3px solid #00bbff; margin: 50px 170px 50px 170px; text-align: center;}
#sobre-mi .frases {display: grid; grid-template-columns: repeat(3, 350px); gap: 30px; justify-content: center; margin: 20px 0 60px 0;}
#sobre-mi .frases .frase {width: 350px; height: 150px; background: linear-gradient(145deg, #0e0e0e, #181818); box-shadow: 8px 8px 20px #000000B2, -4px -4px 15px #00000000; border-radius: 25px 0; border: 3px solid #00E1FF00; padding: 15px; transition: all 0.5s;}
#sobre-mi .frases .frase.hovered, #sobre-mi .frases .frase:hover {transform: translateY(-10px) scale(1.03); box-shadow: 12px 12px 30px rgba(0, 0, 0, 0.85), -8px -8px 20px rgba(0, 150, 255, 0.25); border-radius: 25px 0 25px 0; border-color: rgba(0, 225, 255, 0.8); border-left: 3px solid #00e1ff; border-top: 3px solid #00bbff; background: linear-gradient(145deg, #0a0a0a, #181818);}
#sobre-mi .frases .frase:nth-child(1) {animation-delay: 0s;}
#sobre-mi .frases .frase:nth-child(2) {animation-delay: 3.6s;}
#sobre-mi .frases .frase:nth-child(3) {animation-delay: 7.2s;}
#sobre-mi .frases .frase:nth-child(4) {animation-delay: 10.8s;}
#sobre-mi .frases .frase:nth-child(5) {animation-delay: 14.4s;}
@keyframes hoverEffect {0%, 18%, 100% {transform: translateY(0) scale(1); box-shadow: 8px 8px 20px #000000B2, -4px -4px 15px #00000000; border-radius: 25px 10px 25px 10px; border-color: #00E1FF00; background: linear-gradient(145deg, #0e0e0e, #181818);} 1.33%, 17.33% {transform: translateY(-10px) scale(1.03); box-shadow: 12px 12px 30px rgba(0, 0, 0, 0.85), -8px -8px 20px rgba(0, 150, 255, 0.25); border-radius: 25px 5px 25px 5px; border-color: #00E1FFCC; border-left: 3px solid #00e1ff; border-top: 3px solid #00bbff; background: linear-gradient(145deg, #0a0a0a, #181818);} }
@media (max-width: 1200px) {#sobre-mi .frases {grid-template-columns: repeat(2, 350px);}}
@media (max-width: 800px) {#sobre-mi .frases {grid-template-columns: 1fr;}}

/* ----- Aptitudes ----- */
#skills {background-color: #131313; box-shadow: 0 4px 6px #030303B5; padding: 20px; width: 100%;}
#skills h2 {font-size: 2.5em; border-bottom: 3px solid #00bbff; margin: 50px 170px 50px 170px; text-align: center;}
#skills > div {display: flex; justify-content: center; gap: 20px; margin-bottom: 30px;}
#skills .aptitudes {justify-content: center; align-items: center; max-width: 500px; width: 100%; background-color: #111111; padding: 20px 20px 15px 20px; border-radius: 50px 0 50px 0; box-shadow: inset 0 0 12px #000000E5; border: 1px solid black;}
#skills .aptitudes li {list-style: none; padding: 10px; margin-bottom: 5px; background-color: #131313EA; box-shadow: inset 1px 5px 12px #000000A8; font-weight: bold; gap: 10px; transition: all 0.5s ease;}
#skills .aptitudes li:hover {transform: scale(1.03); box-shadow: none;}
#skills .aptitudes li:nth-child(even) {background: linear-gradient(135deg, #00bbff, #008cff);}
#skills .aptitudes li:nth-child(odd) {background: linear-gradient(135deg, #009dff, #00bbff, #009dff);}
#skills .aptitudes li:first-child {border-top-left-radius: 25px;}
#skills .aptitudes li:last-child {border-bottom-right-radius: 25px;}

/* ----- Formación ----- */
#formacion {position: relative; width: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: hidden;}
#formacion::before {content: ""; position: absolute; inset: 0; background: url("https://cartorcas.me/sources/wallpaper-formacion-updated.jpg") center / cover no-repeat fixed; z-index: -1;}
#formacion h2 {font-size: 2em; margin: 50px 0 40px; padding: 20px 50px; background-color: #1111117C; box-shadow: inset 0 0 12px #000000E8; border-radius: 30px 0;}
#formacion h3 {display: inline-block; font-size: 1.5em; margin: 0 30px 50px 0; padding: 0 10px; background-color: #00bbff; box-shadow: 10px 10px 10px #0000005E;}
#formacion h4 {font-size: 1.6em; text-transform: uppercase; background: linear-gradient(90deg, #00e1ff, #00bbff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;}
#formacion .educacion, #formacion .cursos {margin: 0 10% 80px; max-width: 1100px; position: relative;}
#formacion .educacion::before, #formacion .cursos::before {content: ""; position: absolute; left: 0; top: 0; width: 5px; background: #00bbff;}
#formacion .educacion::before {bottom: 13.25%;}
#formacion .cursos::before {bottom: 15.2%;}
#formacion .educacion ul, #formacion .cursos ul {list-style: none;}
#formacion .educacion .edu, #formacion .cursos .course {margin: 0 10% 50px; padding: 30px; max-width: 1000px; display: flex; flex-direction: column; background-color: #131313; border-radius: 60px 0; border-left: 3px solid #00bbff; border-bottom: 3px solid #00bbff; box-shadow: inset 0 0 12px #0000004C; transition:0.5s; position: relative; z-index: 1;}
#formacion .edu.activo, #formacion .course.activo {background-color: #0c0c0c; border: 3px solid #00bbff; box-shadow: inset 0 0 32px #000000, 0 0 40px #0000008E; transform: scale(1.08); z-index: 1;}
#formacion li:nth-child(1) {padding-bottom: 8px; margin-bottom: 20px; border-bottom: 3px solid transparent; transition:0.5s;}
#formacion .activo-li {border-bottom: 3px solid; border-image: linear-gradient(90deg, #00e1ff, #00bbff) 1;}
#formacion .visualizar {padding: 10px; font-size: 1em; font-weight: 800; background-color: #00bbff; border: 4px solid #00bbff; border-radius: 15px 0; cursor: pointer; transition:0.5s;}
#formacion .visualizar:hover {background-color: #00e1ff; border: 4px solid transparent; box-shadow: 10px 10px 0 #00a6ff;}
#formacion .edu a {align-self: flex-end; margin-top: 20px;}
#formacion .curso {display: flex;}
#formacion .cursos img {width: 100px; height: 100px; margin: 70px 20px 0; border-radius: 15px; box-shadow: 10px 10px #0085a6; transition:0.5s;}
#formacion .cursos img:hover {box-shadow: none; transform: scale(1.1);}
#formacion .margen { margin: 10px 0;}
#formacion .cursos .course { position: relative;}
#formacion {.separacion, .separacion1, .separacion2, .separacion4, .separacion5, .separacion6 {position: absolute; width: 10%; height: 5px; transform: translateY(-150%); background:#00bbff}
.separacion{top:22%}.separacion1{top:56%}.separacion2{top:87%}.separacion4{top:20%}.separacion5{top:52%}.separacion6{top:85%}}

/* ----- Experiencia ----- */
#experiencia {width: 100%; padding: 50px; display: flex; flex-direction: column; justify-content: center; align-items: center; background-color: #0e0e0e;}
#experiencia h2 {width: 50%; margin: 50px auto 0 auto; padding: 10px; font-size: 2em; text-align: center; border-bottom: 2px solid #00bbff;}
#experiencia h4 {margin-bottom: 10px; font-size: 1.5em; text-transform: uppercase;}
#experiencia ul li {list-style: none;}
#experiencia .exp {width: 750px; margin: 50px; padding: 30px; background: linear-gradient(to right, #00a6ff, #00bbff); border-radius: 60px 0; box-shadow: inset 0 0 10px #000000;}
#experiencia .exp .parrafo {margin: 20px 0 10px; padding: 20px; background: #000000; border-radius: 30px 0; box-shadow: 0 0 10px #000000AF;}
#experiencia .exp .strong {margin-top: 20px; font-size: 1.1em; font-weight: bold;}
#experiencia .exp .strong a {margin: 5px; padding: 5px; font-weight: bold; text-decoration: none; background-color: #00c4ff; border-radius: 10px 0; transition: all 0.5s; font-size: 0.9em;}
#experiencia .exp .strong a:hover {background-color: #000000; box-shadow: 0 0 10px #0000006D;}

/* ----- Contacto ----- */
#contacto {display: flex; flex-direction: column; justify-content: center; text-align: center; width: 100%; background: linear-gradient(90deg, rgba(0, 166, 153, 0.07), rgba(0, 52, 152, 0.06));}
#contacto ul {flex-wrap: wrap; list-style: none; display: flex; justify-content: center; margin-bottom: 100px; gap: 20px;}
#contacto h2 {font-size: 2em; margin: 50px auto 30px; text-align: center; border-bottom: 2px solid #00bbff; width: 50%; padding: 10px;}
#contacto button {outline: none; padding: 10px 20px; border-radius: 15px 0; transition: all 0.5s; font-weight: bold; cursor: pointer; font-size: 1.2em; border: 3px solid #0E0E0EE8;}
#contacto button:hover {transform: scale(1.10); filter: brightness(1.05) saturate(1.8); box-shadow: 0 20px 20px #000000DD;}
.projects {background: linear-gradient(90deg, #9900ff, #0800FFCC);}
.projects:hover {border: 3px solid #9d01ed;}
.linkedin {background: linear-gradient(90deg, #136bc5, #139bc5);}
.linkedin:hover {border: 3px solid #007bff;}
.github {background: linear-gradient(90deg, #212121, #151515);}
.github:hover {border: 3px solid #232323;}
.email {background: linear-gradient(90deg, #ff8800, #f6db00);}
.email:hover {border: 3px solid #ff8600;}
.phone {background: linear-gradient(90deg, #ff6a00, #f81c00);}
.phone:hover {border: 3px solid #ff5c00;}
.whatsapp {background: linear-gradient(90deg, #25d366, #009a2c);}
.whatsapp:hover {border: 3px solid #00ff33;}
.instagram {background: linear-gradient(90deg, #8f03f9, #fe0173, #ffb200);}
.instagram:hover {border: 3px solid #ff1d3c;}
#contacto button {display: inline-flex; align-items: center; gap: 10px;}
#contacto button svg {width: 20px; height: 20px; fill: #ffffff; flex-shrink: 0;}
.copyright {background-color: #090909; padding: 10px;}










/* ----- Tema Claro ----- */
body.light-mode * {color: #1a1a1a;}
body.light-mode body {background: #ffffff;}
body.light-mode header {background: linear-gradient(90deg, #ffffff, #ffffff);}
body.light-mode nav ul li a:hover {box-shadow: inset 0 0 10px #a1a1a1; color: white !important;}
body.light-mode nav ul li:nth-child(1) a:hover {color: #151515; background-color: #00e1ff;}
body.light-mode nav ul li:nth-child(2) a:hover {color: #151515; background-color: #00c4ff;}
body.light-mode nav ul li:nth-child(3) a:hover {color: #151515; background-color: #00bbff;}
body.light-mode nav ul li:nth-child(4) a:hover {color: #151515; background-color: #009dff;}
body.light-mode nav ul li:nth-child(5) a:hover {color: #151515; background-color: #0080ff;}
body.light-mode nav ul li:nth-child(6) a:hover {color: #151515; background-color: #0066ff;}
body.light-mode .lang-selected {border: 2px solid #1a1a1a;}
body.light-mode .lang-selected .arrow {border-right-color: #1a1a1a; border-bottom-color: #1a1a1a;}
body.light-mode .lang-selected:hover {background-color: transparent; box-shadow: inset 0 0 10px #c4c4c4; border: 2px solid var(--color-principal);}
body.light-mode .lang-selected:hover .arrow {border-bottom-color: #00bbff; border-right-color: #00bbff;}
body.light-mode .lang-options {background-color: #ffffff; border-color: #1a1a1a;}
body.light-mode .lang-options li:hover {background-color: #00bbff; color: white;}

/* ----- Inicio ----- */
body.light-mode #inicio .borde {background: linear-gradient(90deg, #00d0ff, #006fff);}
body.light-mode #inicio .intro p {color: white;}
body.light-mode #inicio .intro p span:first-of-type {color: white;}
body.light-mode #inicio .intro button {background-color: white;}
body.light-mode #inicio .intro button:hover {background-color: #00bbff; color: white;}

/* ----- Sobre mí ----- */
body.light-mode #sobre-mi {background-color: #ffffff;}
body.light-mode #sobre-mi .frase {background: linear-gradient(90deg, #00d0ff, #006fff); color: white; box-shadow: 0 20px 20px #b0b0b0;}
body.light-mode #sobre-mi .frase:hover {background: white; color: #00bbff; box-shadow: 10px 20px 20px #007FADBC;}
body.light-mode #sobre-mi .frases .frase.hovered {background: #ffffff; color: #00bbff; box-shadow: 10px 20px 20px #007FADBC;}

/* ----- Aptitudes ----- */
body.light-mode #skills {background: linear-gradient(90deg, #00d0ff, #006fff);}
body.light-mode #skills h2 {color: white; border-bottom: 2px solid #ffffff;}
body.light-mode #skills .aptitudes {background: #ffffff; border: 1px solid #e1e1e1; box-shadow: inset 0 0 10px #c4c4c4;}
body.light-mode #skills .aptitudes li {box-shadow: inset 0 0 10px #4d4d4d; color: white;}

/* ----- Formación ----- */
body.light-mode #formacion h2 {color: white; background-color: rgba(0, 187, 255, 0.24);}
body.light-mode #formacion h3 {color: white;}
body.light-mode #formacion li {color: black;}
body.light-mode #formacion .edu, body.light-mode #formacion .course {background-color: #ffffff; box-shadow: inset 0 0 10px #a1a1a1;}
body.light-mode #formacion .edu button, body.light-mode #formacion .course button {color: white;}
body.light-mode #formacion .edu.activo, body.light-mode #formacion .course.activo {background-color: #00bbff; box-shadow: inset 0 0 0 0;}
body.light-mode #formacion .edu.activo li, body.light-mode #formacion .course.activo li {color: #ffffff;}
body.light-mode #formacion .edu.activo h4, body.light-mode #formacion .course.activo h4 {background: linear-gradient(90deg, #ffffff, #def5ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;}
body.light-mode #formacion .edu.activo button, body.light-mode #formacion .course.activo button {background-color: white; color: #00bbff;}

/* ----- Experiencia ----- */
body.light-mode #experiencia {background: linear-gradient(90deg, #00d0ff, #006fff);}
body.light-mode #experiencia h2 {color: white; border-bottom: 2px solid #ffffff;}
body.light-mode #experiencia .exp * {color: black;}
body.light-mode #experiencia .exp {background: white; box-shadow: inset 0 0 10px #a1a1a1;}
body.light-mode #experiencia .exp a {color: white;}
body.light-mode #experiencia .exp a:hover {background-color: white; color: #00bbff; box-shadow: 0 0 0 5px rgb(0, 185, 255);}
body.light-mode #experiencia .exp .parrafo {color: white; background: linear-gradient(90deg, #00d0ff, #006fff);}

/* ----- Contacto ----- */
body.light-mode #contacto {background: linear-gradient(90deg, #ffffff, #e7e7e7);}
body.light-mode #contacto button {border: 3px solid #00bbff; color: white;}
body.light-mode #contacto button:hover {box-shadow: 0 20px 20px rgba(136, 136, 136, 0.87);}
body.light-mode #contacto button * {fill: white; color: white;}
body.light-mode #contacto .copyright {background: linear-gradient(90deg, #00d0ff, #006fff);}
body.light-mode #contacto .copyright p {color: white;}
















/* ----- Responsividad ----- */
@media (max-width: 820px) {
    a:hover, button:hover, li:hover, p:hover {transform: none !important;}
    .menu {position: absolute; top: 100%; left: 0; background-color: #0E0E0EFF; width: 220px; transform: translateX(-100%); transition: transform 0.5s ease; box-shadow: 2px 2px 6px #000000C6;}
    .menu.active {transform: translateX(0);}
    nav {display: flex; align-items: center; justify-content: space-between; padding: 10px 20px;}
    nav ul {flex-direction: column; gap: 0;}
    nav ul li a {display: block; padding: 15px;}
    .hamburger {display: flex; margin-right: auto;}
    .theme-switch, .lang-dropdown {margin-left: 15px;}

    /* ----- Inicio ----- */
    #inicio .borde {display: flex; justify-content: center; flex-direction: column-reverse; margin: 0 40px; height: 70%; max-width: 500px; min-width: 430px;}
    #inicio .borde .foto {margin: 50px auto 20px;}
    #inicio .borde .foto:hover {transform: none;}
    #inicio .intro {width: 64%; text-align: left; margin: 0;}
    #inicio .intro a {margin: 20px auto 60px;}
    #inicio .intro button:hover {border: 3px solid #00bbff; background-color: #05070a;}

    /* ----- Sobre mí ----- */
    #sobre-mi h2 {width: 90%; margin: 0; min-width: 500px;}
    #sobre-mi {display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%;}
    #sobre-mi h2 {width:90%; margin:20px; text-align: center;}
    #sobre-mi .frases {display: grid; grid-template-columns: 1fr; gap: 30px; justify-items: center;}
    #sobre-mi .frases .frase {width: 100%; max-width: 350px; min-width: 350px;}
    #sobre-mi .frases .frase.hovered, #sobre-mi .frases .frase:hover {background: linear-gradient(145deg, #0e0e0e, #181818); box-shadow: 8px 8px 20px #000000B2, -4px -4px 15px #00000000; border: 3px solid #00E1FF00; transform: none !important;}
    #sobre-mi .frases .frase:nth-child(1) {box-shadow: 12px 12px 30px rgba(0, 0, 0, 0.85), -8px -8px 20px rgba(0, 51, 255, 0.25); border-radius: 25px 0 25px 0; border-color: rgba(0, 128, 255, 0.8); border-left: 3px solid #0077ff; border-top: 3px solid #00bbff; background: linear-gradient(145deg, #0a0a0a, #181818);}
    #sobre-mi .frases .frase:nth-child(2) {box-shadow: 12px 12px 30px rgba(0, 0, 0, 0.85), -8px -8px 20px rgba(0, 89, 255, 0.25); border-radius: 25px 0 25px 0; border-color: rgba(0, 178, 255, 0.8); border-left: 3px solid #0095ff; border-top: 3px solid #00bbff; background: linear-gradient(145deg, #0a0a0a, #181818);}
    #sobre-mi .frases .frase:nth-child(3) {box-shadow: 12px 12px 30px rgba(0, 0, 0, 0.85), -8px -8px 20px rgba(0, 119, 255, 0.25); border-radius: 25px 0 25px 0; border-color: rgba(0, 208, 255, 0.8); border-left: 3px solid #00c4ff; border-top: 3px solid #00bbff; background: linear-gradient(145deg, #0a0a0a, #181818);}
    #sobre-mi .frases .frase:nth-child(4) {box-shadow: 12px 12px 30px rgba(0, 0, 0, 0.85), -8px -8px 20px rgba(0, 150, 255, 0.25); border-radius: 25px 0 25px 0; border-color: rgba(0, 225, 255, 0.8); border-left: 3px solid #00e1ff; border-top: 3px solid #00bbff; background: linear-gradient(145deg, #0a0a0a, #181818);}
    #sobre-mi .frases .frase:nth-child(5) {box-shadow: 12px 12px 30px rgba(0, 0, 0, 0.85), -8px -8px 20px rgba(0, 178, 255, 0.25); border-radius: 25px 0 25px 0; border-color: rgba(0, 178, 255, 0.8); border-left: 3px solid #00ffff; border-top: 3px solid #00bbff; background: linear-gradient(145deg, #0a0a0a, #181818);}
    #sobre-mi .frases .frase:nth-child(6) {box-shadow: 12px 12px 30px rgba(0, 0, 0, 0.85), -8px -8px 20px rgba(0, 217, 255, 0.25); border-radius: 25px 0 25px 0; border-color: rgba(0, 217, 255, 0.8); border-left: 3px solid #00ffea; border-top: 3px solid #00bbff; background: linear-gradient(145deg, #0a0a0a, #181818);}

    /* ----- Aptitudes ----- */
    #skills h2 {width: 90%; margin: 30px 0; min-width: 500px;}
    #skills {display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%;}
    #skills > div {flex-direction: column; align-items: center;}
    #skills .aptitudes {max-width: 500px; min-width: 485px;}
    #skills .aptitudes li:hover {background-color: #131313EA; box-shadow: inset 1px 5px 12px #000000A8;}

    /* ----- Formación ----- */
    #formacion .educacion, #formacion .cursos {margin: 0 10px;}
    #formacion h3 {margin: 0 0 10px;}
    #formacion .edu, #formacion .course {margin: 30px 20px !important; min-width: 500px; border: 3px solid #131313;}
    #formacion .edu.activo, #formacion .course.activo {background-color: #0a0a0a; border: 3px solid #00bbff; transform: none !important;}
    #formacion .course img {box-shadow: 5px 5px #0085a6;}
    #formacion .cursos {margin-top: 100px;}

    /* ----- Experiencia ----- */
    #experiencia h2 {width: 90%; margin: 0; min-width: 500px;}
    #experiencia .exp {margin: 40px 0 20px; max-width: 500px; min-width: 485px;}
    #experiencia .strong span {font-size: 0.8em;}
    #experiencia .parrafo {font-size: 0.9em;}

    /* ----- Contacto ----- */
    #contacto {display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%;}
    #contacto h2 {width: 90%; margin: 0 0 30px 0; min-width: 500px;}
    #contacto .copyright {width: 100%;}
}


