@charset "UTF-8";
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  appearance: button;
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  appearance: textfield;
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Sobrescribe el comportamiento por defecto de Font Awesome */
@font-face {
  font-family: "Font Awesome 6 Free";
  font-display: swap;
}
@font-face {
  font-family: "Font Awesome 6 Brands";
  font-display: swap;
}
html {
  font-size: 62.5%;
  box-sizing: border-box;
  scroll-padding-top: 0rem;
  scroll-behavior: smooth;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  color: #000000;
  font-size: 1.6rem;
  background-color: #191923;
}
body.contenido {
  padding: 2rem;
}
body.overflow-hidden {
  overflow: hidden;
}

p, li {
  font-size: 1.4rem;
  line-height: 1.6;
}

span {
  font-size: 1.4rem;
}

a {
  font-size: 1.4rem;
  text-decoration: none;
}

h3 {
  line-height: 1.8;
}

h1, h2, h3, p, a {
  margin: 0;
}

/* --- Base (Móvil ≤480px) --- */
h1 {
  font-size: 2.2rem;
}

h2 {
  font-size: 1.6rem;
}

h3 {
  font-size: 1.5rem;
}

/* --- Tablet (≥481px) --- */
@media (min-width: 481px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  h3 {
    font-size: 1.6rem;
  }
}
/* --- Laptop (≥769px) --- */
@media (min-width: 769px) {
  h1 {
    font-size: 2.4rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.7rem;
    font-weight: normal;
  }
}
/* --- Desktop (≥1201px) --- */
@media (min-width: 1201px) {
  h1 {
    font-size: 3.6rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.8rem;
  }
}
/* --- XL (≥1441px) --- */
@media (min-width: 1441px) {
  h1 {
    font-size: 4.4rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.8rem;
  }
}
img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

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

.header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
}

.perfil {
  padding: 2rem;
  color: #FFFFFF;
  border-radius: 2rem;
  background-color: rgba(255, 166, 0, 0);
  backdrop-filter: blur(0.6rem);
  border: 1px solid rgba(255, 255, 255, 0.1254901961);
  text-align: center;
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .perfil {
    flex-direction: column;
    text-align: left;
    gap: 0;
  }
}

.logo {
  position: relative;
}

.logo img {
  width: 8rem;
  height: 8rem;
  border-radius: 5rem;
}

.mis-datos {
  color: #aaa;
  text-align: left;
}
@media (min-width: 768px) {
  .mis-datos {
    text-align: center;
  }
}
.mis-datos span {
  display: block;
  margin-bottom: 0.4rem;
}
.mis-datos .nombre {
  font-weight: bold;
  color: #FFFFFF;
  margin: 0.8rem 0;
}

.pulse {
  position: absolute;
  width: 1rem;
  height: 1rem;
  background-color: #00B8D9;
  border-radius: 50%;
  bottom: 1rem;
  right: 1rem;
  animation: pulso 2s infinite;
}

@keyframes pulso {
  0% {
    box-shadow: 0 0 0 0 rgba(200, 200, 200, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(200, 200, 200, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(200, 200, 200, 0);
  }
}
.redes {
  padding: 2rem;
  background: #242430;
  color: #FFFFFF;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.redes a {
  color: #aaa;
  font-size: 2rem;
}
.redes a:hover {
  cursor: pointer;
  color: #FFFFFF;
}

.footer {
  padding: 2rem;
  background: #242430;
  color: #FFFFFF;
  border-radius: 1rem;
  color: #aaa;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.footer a {
  color: #aaa;
}
.footer a:hover {
  color: #FFFFFF;
}
@media (min-width: 768px) {
  .footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* From Uiverse.io by JustCode14 */
/* Theme Switch */
/* The switch - the box around the slider */
.switchs {
  display: flex;
  gap: 1rem;
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  z-index: 10000;
}
@media (min-width: 768px) {
  .switchs {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 1rem;
  }
}
@media (min-width: 1400px) {
  .switchs {
    margin-top: 2rem;
  }
}

/* Switch Dark Mode */
.switch-dark {
  font-size: 17px;
  position: relative;
  display: inline-block;
  width: 4em;
  height: 2.2em;
  border-radius: 30px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Hide default HTML checkbox */
.switch-dark input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider for dark mode */
.slider-dark {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2a2a2a;
  transition: 0.4s;
  border-radius: 30px;
  overflow: hidden;
}

.slider-dark:before {
  position: absolute;
  content: "";
  height: 1.2em;
  width: 1.2em;
  border-radius: 20px;
  left: 0.5em;
  bottom: 0.5em;
  transition: 0.4s;
  transition-timing-function: cubic-bezier(0.81, -0.04, 0.38, 1.5);
  box-shadow: inset 8px -4px 0px 0px #fff;
}

.switch-dark input:checked + .slider-dark {
  background-color: #00B8D9;
}

.switch-dark input:checked + .slider-dark:before {
  transform: translateX(1.8em);
  box-shadow: inset 15px -4px 0px 15px #ffcf48;
}

.star {
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  width: 5px;
  transition: all 0.4s;
  height: 5px;
}

.star_1 {
  left: 2.5em;
  top: 0.5em;
}

.star_2 {
  left: 2.2em;
  top: 1.2em;
}

.star_3 {
  left: 3em;
  top: 0.9em;
}

.switch-dark input:checked ~ .slider-dark .star {
  opacity: 0;
}

.cloud {
  width: 3.5em;
  position: absolute;
  bottom: -1.4em;
  left: -1.1em;
  opacity: 0;
  transition: all 0.4s;
}

.switch-dark input:checked ~ .slider-dark .cloud {
  opacity: 1;
}

/* ============================================
   ESTILOS PARA MODO LIGHT
   ============================================
   Cuando el body tiene la clase .light-mode,
   se aplican estos estilos para cambiar de
   modo dark a modo light.
   ============================================ */
/* Cambio de fondo del body - de dark (#191923) a light (#f5f5f5) */
body.light-mode {
  background-color: #f5f5f5;
  color: #333;
}

/* Cambio de color de texto en h2 - de blanco a gradiente oscuro */
body.light-mode h2 {
  color: #333;
}

body.light-mode h3 {
  color: #333;
}

/* Cambio color circulo idiomas */
body.light-mode .progress {
  stroke: #006c9c;
}

/* Cambio color habilidades y dot testimoniales*/
body.light-mode .fill,
body.light-mode .dot {
  background: #006c9c;
}

/* Cambio color conocimientos, link tienda, yo(hero), btn hero, dot testimoniales, dots timeline, menu*/
body.light-mode .skills-list li::before,
body.light-mode .tienda-link:hover,
body.light-mode .texto-color,
body.light-mode .servicio-link,
body.light-mode .card-info a,
body.light-mode .paquete-link,
body.light-mode .timeline-item::before,
body.light-mode .menu-items a:hover {
  color: #006c9c;
}

/* Cambio color btn hero, icono formulario, iconos formulario, btn contacto*/
body.light-mode .hero-boton a,
body.light-mode .icon-form,
body.light-mode .boton button {
  background-color: #006c9c;
}

/* Cambio color ribbon paquetes */
body.light-mode .ribbon {
  background-color: #006c9c;
  color: #FFFFFF;
}

body.light-mode .paq1 {
  background-image: url("/src/img/iconos/icon1LM.svg");
}

body.light-mode .paq2 {
  background-image: url("/src/img/iconos/icon2LM.svg");
}

body.light-mode .paq3 {
  background-image: url("/src/img/iconos/icon3LM.svg");
}

/* Cambio de fondo en contenedores de información - de dark (#20202a) a light (#ffffff) */
body.light-mode .informacion,
body.light-mode .idiomas,
body.light-mode .habilidades,
body.light-mode .conocimientos,
body.light-mode .curriculum,
body.light-mode .sidebar {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
}

/* Cambio de color de texto en información - de blanco a oscuro */
body.light-mode .informacion .info,
body.light-mode .idiomas .idioma {
  color: #333;
}

/* Cambio de color de valores secundarios - de gris claro (#aaa) a gris oscuro (#666) */
body.light-mode .row .value,
body.light-mode .mis-datos {
  color: #666;
}

/* Cambio de color de nombre en header - de blanco a oscuro */
body.light-mode .mis-datos .nombre {
  color: #333;
}

/* Cambio de fondo del círculo de idiomas - de dark (#1a1a22) a light (#f0f0f0) */
body.light-mode .bitmoji {
  background-color: #f0f0f0;
}

/* Cambio de color del círculo de progreso - de dark (#222) a light (#e0e0e0) */
body.light-mode .idiomas .bg {
  stroke: #e0e0e0;
}

/* Cambio de color del porcentaje - de blanco a oscuro */
body.light-mode .idiomas .percentage {
  fill: #333;
}

body.light-mode .hamburger-menu {
  color: #333;
}

/* Cambio de fondo de la barra de habilidades - de dark (#222) a light (#e0e0e0) */
body.light-mode .bar {
  background: #e0e0e0;
}

/* Cambio de color de texto en habilidades - de blanco a oscuro */
body.light-mode .habilidades,
body.light-mode .conocimientos {
  color: #333;
}

/* Cambio de color de enlace de descarga - de gris claro a oscuro */
body.light-mode .curriculum .link-descarga {
  color: #666;
}

body.light-mode .curriculum .link-descarga:hover {
  color: #333;
}

/* Cambio de fondo del header/perfil - de dark a light */
body.light-mode .perfil {
  /* background-color: rgba(255, 255, 255, 0.95); */
  background-color: rgba(255, 166, 0, 0);
  backdrop-filter: blur(0.6rem);
  border: 1px solid #e0e0e0;
  color: #333;
}

/* Cambio de color de texto en servicios - de blanco a oscuro */
body.light-mode .servicios h2,
body.light-mode .servicio p {
  color: #333;
}

/* Cambio de fondo de tarjetas de servicios - de dark (#20202a) a light (#ffffff) */
body.light-mode .servicio {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
}

/* Cambio de color de texto en paquetes - de blanco a oscuro */
body.light-mode .paquetes h2 {
  color: #333;
}

/* Cambio de fondo de tarjetas de paquetes - de dark (#20202a) a light (#ffffff) */
body.light-mode .paquete {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
}

/* Cambio de color de texto en lista de paquetes - de gris claro a oscuro */
body.light-mode .paquete .lista {
  color: #666;
}

/* Cambio de color de texto en testimonios - de blanco a oscuro */
body.light-mode .testimonials,
body.light-mode .testimonials h2 {
  color: #333;
}

/* Cambio de fondo de tarjetas de testimonios - de dark (#20202a) a light (#ffffff) */
body.light-mode .testimonial-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
}

/* Cambio de color de texto en testimonios - de gris claro a oscuro */
body.light-mode .testimonial-text,
body.light-mode .testimonial-info p {
  color: #666;
}

/* Cambio de fondo de estrellas - de dark (#1a1a22) a light (#f0f0f0) */
body.light-mode .stars {
  background-color: #f0f0f0;
}

/* Cambio de fondo de botones de navegación - de dark (#333) a light (#e0e0e0) */
body.light-mode .arrow {
  background: #e0e0e0;
  color: #333;
}

body.light-mode .arrow:hover {
  background: #d0d0d0;
}

/* Cambio de color de dot activo - de dark (#333) a light (#999) */
body.light-mode .dot.active {
  background: #999;
}

/* Cambio de color de texto en trabajos - de blanco a oscuro */
body.light-mode .trabajos h2 {
  color: #333;
}

/* Cambio de fondo de info de tarjetas - de dark (#242430) a light (#ffffff) */
body.light-mode .card-info {
  background: #ffffff;
  color: #333;
  border: 1px solid #e0e0e0;
}

/* En móvil, cambio de fondo de info de tarjetas - de dark (#222) a light (#f5f5f5) */
@media (max-width: 768px) {
  body.light-mode .card-info {
    background: #f5f5f5;
  }
}
/* Cambio de color de texto en contacto - de blanco a oscuro */
body.light-mode .contacto h2 {
  color: #333;
}

/* Cambio de fondo del formulario - de dark (#20202a) a light (#ffffff) */
body.light-mode .contacto-form {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
}

/* Cambio de fondo de campos del formulario - de dark (#1a1a22) a light (#f5f5f5) */
body.light-mode .campo {
  background-color: #f5f5f5;
  color: #333;
  border: 1px solid #e0e0e0;
}

/* Cambio de fondo de redes sociales - de dark (#242430) a light (#ffffff) */
body.light-mode .redes {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
}

/* Cambio de color de iconos de redes - de gris claro a oscuro */
body.light-mode .redes a {
  color: #666;
}

body.light-mode .redes a:hover {
  color: #333;
}

/* Cambio de fondo del footer - de dark (#242430) a light (#ffffff) */
body.light-mode .footer {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  color: #666;
}

/* Cambio de color de enlaces del footer - de gris claro a oscuro */
body.light-mode .footer a {
  color: #666;
}

body.light-mode .footer a:hover {
  color: #333;
}

/* Cambio de overlay del hero - de dark a light */
body.light-mode .hero .overlay {
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 15%, rgba(255, 255, 255, 0.7) 50%, rgba(250, 250, 250, 0.7) 100%);
}

/* Cambio de color de texto en hero - de blanco a oscuro */
body.light-mode .hero-titulo h1,
body.light-mode .typewriter {
  color: #333;
}

/* Cambio de color del borde del typewriter - de gris claro a oscuro */
body.light-mode .typewriter {
  border-right-color: #666;
}

/* Cambio de fondo de números - de dark (#20202a) a light (#ffffff) */
body.light-mode .numero {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  color: #333;
}

/* Cambio de color de texto en números - de blanco a oscuro */
body.light-mode .numero p {
  color: #666;
}

/* Cambio de color de texto en números - de blanco a oscuro */
body.light-mode .numero span {
  color: #006c9c;
}

/* Cambio de fondo de timeline - de dark (#20202a) a light (#ffffff) */
body.light-mode .timeline-column {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
}

/* Cambio de color de texto en timeline - de blanco a oscuro */
body.light-mode .timeline-column h2,
body.light-mode .timeline-item h3 {
  color: #333;
}

/* Cambio de color de borde izquierdo - de dark (#1a1a22) a light (#e0e0e0) */
body.light-mode .timeline-item {
  border-left-color: #e0e0e0;
}

/* Cambio de fondo de fecha - de dark (#1a1a22) a light (#f0f0f0) */
body.light-mode .timeline-item .date {
  background: #f0f0f0;
  color: #666;
}

/* Cambio de color de texto en timeline - de gris claro a oscuro */
body.light-mode .timeline-item p {
  color: #666;
}

/* Cambio de fondo de tecnologías - mantener transparente pero ajustar si es necesario */
body.light-mode .tecnologias {
  background-color: transparent;
}

/* Cambio de fondo de tienda */
body.light-mode .tienda {
  border: 1px solid #e0e0e0;
  background-color: #ffffff;
}

body.light-mode .tienda-overlay {
  background: rgba(255, 255, 255, 0.835);
}

body.light-mode .tienda-link {
  color: #333;
}

body.light-mode .tienda-sabias p {
  color: #333;
}

body.light-mode .logo-tienda {
  background-image: url("/src/img/logo-hms-dm.svg");
}

/* Switch Idioma */
.switch-idioma {
  position: relative;
  display: inline-block;
  width: 8rem;
  border-radius: 30px;
}

.switch-idioma input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-idioma {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2a2a2a;
  transition: 0.4s;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  column-gap: 1.4rem;
  align-items: center;
  justify-content: space-around;
  padding: 0 1rem;
}

.slider-idioma .flag {
  transition: opacity 0.4s;
  display: inline-block;
}
.slider-idioma .flag img {
  width: 1.2rem;
  height: 1.2rem;
}
@media (min-width: 768px) {
  .slider-idioma .flag img {
    width: 2.4rem;
    height: 2.4rem;
  }
}

/* Cuando español está activo (input no checked) */
.switch-idioma input:not(:checked) + .slider-idioma .flag-es {
  opacity: 1;
}

.switch-idioma input:not(:checked) + .slider-idioma .flag-us {
  opacity: 0.4;
}

/* Cuando inglés está activo (input checked) */
.switch-idioma input:checked + .slider-idioma .flag-us {
  opacity: 1;
}

.switch-idioma input:checked + .slider-idioma .flag-es {
  opacity: 0.4;
}

.switch-idioma input:checked + .slider-idioma {
  background-color: #1a1a22;
}

/* contenedor */
.contenedor_info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* información */
.informacion {
  padding: 2rem;
  background: #20202a;
  color: #FFFFFF;
  border-radius: 1rem;
}
.informacion .info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  color: #fff;
}
.informacion .info div {
  display: flex;
  justify-content: space-between;
}
.informacion .row .value {
  color: #aaa;
}

/* Idiomas */
.idiomas {
  padding: 2rem;
  background: #20202a;
  color: #FFFFFF;
  border-radius: 1rem;
}
.idiomas .idioma {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  color: #fff;
}
.idiomas .circulo_idioma {
  text-align: center;
  flex: 1;
}
.idiomas .circulo_idioma p {
  font-size: 1.4rem;
}
.idiomas .circle {
  width: 90%;
  height: 90%;
}
.idiomas .bg {
  fill: none;
  stroke: #222;
  stroke-width: 2.8;
}
.idiomas .progress {
  fill: none;
  stroke: #00B8D9;
  stroke-width: 2.8;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: center;
}
.idiomas .percentage {
  text-anchor: middle;
  fill: #fff;
  font-size: 0.7rem;
  font-weight: bold;
}

.bitmoji {
  width: fit-content;
  flex: 1;
  margin: 0;
  background-color: #1a1a22;
  border-radius: 50%;
}

.bitmoji img {
  width: 100%;
  border-radius: 50%;
}

/* Habilidades */
.habilidades {
  padding: 2rem;
  background: #20202a;
  color: #FFFFFF;
  border-radius: 1rem;
}

.habilidad {
  margin-bottom: 20px;
}

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

.value {
  text-align: right;
}

.bar {
  background: #222;
  /* fondo barra */
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 5px;
  position: relative;
}

.fill {
  background: #00B8D9;
  /* color de progreso */
  height: 100%;
  border-radius: 3px;
  width: 0;
  /* arranca vacía */
  animation: cargar 2s ease forwards;
}

/* Animación de carga */
@keyframes cargar {
  from {
    width: 0;
  }
  to {
    width: var(--ancho);
  }
}
/* Animación escalonada (opcional) */
.habilidad:nth-child(1) .fill {
  animation-delay: 0s;
}

.habilidad:nth-child(2) .fill {
  animation-delay: 0.3s;
}

.habilidad:nth-child(3) .fill {
  animation-delay: 0.6s;
}

.habilidad:nth-child(4) .fill {
  animation-delay: 0.9s;
}

.habilidad:nth-child(5) .fill {
  animation-delay: 1.2s;
}

/* Conocimientos */
.conocimientos {
  padding: 2rem;
  background: #20202a;
  color: #FFFFFF;
  border-radius: 1rem;
}
.conocimientos .skills-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.conocimientos .skills-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}
.conocimientos .skills-list li:last-child {
  margin-bottom: 0;
}
.conocimientos .skills-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #00B8D9;
}

/* Curriculum */
.curriculum {
  padding: 2rem;
  background: #20202a;
  color: #FFFFFF;
  border-radius: 1rem;
}
.curriculum .link-descarga {
  text-transform: uppercase;
  text-align: center;
  font-weight: bold;
  color: #aaa;
  display: block;
  transition: transform 0.3s ease;
}
.curriculum .link-descarga:hover {
  cursor: pointer;
  color: #FFFFFF;
  transform: translateX(1rem);
}

.webp .hero {
  background-image: url("/src/img/bg-tienda.webp");
}

.no-webp .hero {
  background-image: url("/src/img/bg-tienda.png");
}

.tienda {
  background-color: #1e1e28;
  padding: 2rem;
  background: url("/src/img/bg-tienda.png");
  color: #FFFFFF;
  border-radius: 1rem;
  text-align: center;
  margin: 0 auto;
  position: relative;
  width: 100%;
  height: 16rem;
}
.tienda .logo-tienda {
  width: 6rem;
  height: 6rem;
  margin: 0 auto;
  background-image: url("/src/img/logo-hms.svg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}
@media (min-width: 768px) {
  .tienda .logo-tienda {
    width: 8rem;
    height: 8rem;
  }
}
.tienda .tienda-overlay {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  padding: 2rem;
  background: rgba(37, 37, 37, 0.896);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-wrap: wrap;
}
.tienda .tienda-sabias {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 1rem;
}
.tienda .tienda-sabias p {
  text-align: left;
  display: block;
  color: #FFFFFF;
}
.tienda .tienda-link {
  text-transform: uppercase;
  font-weight: bold;
  color: #FFFFFF;
  transition: transform 0.3s ease;
}
.tienda .tienda-link:hover {
  cursor: pointer;
  color: #00B8D9;
  transform: translateX(1rem);
}

.layout {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .layout {
    max-width: 144rem;
    flex-direction: row;
    gap: 2rem;
    padding: 2rem;
  }
}

.contenedor_info {
  flex-basis: 20%;
}

.main-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-basis: 80%;
  transition: all 0.25s ease;
}
@media (min-width: 768px) {
  .main-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--sidebar-width, 8rem);
    gap: 2rem;
    align-items: start;
  }
}

.contentMain {
  grid-column: 1/2;
  min-width: 0;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .sidebar {
    grid-column: 2/3;
    width: var(--sidebar-width, 8rem);
  }
}
.sidebar {
  padding: 2rem;
  background: #20202a;
  color: #FFFFFF;
  border-radius: 1rem;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  transition: width 0.25s ease;
  overflow: hidden;
}

.main-content.open {
  --sidebar-width: 20rem;
}

.main-content.open .content {
  transition: margin 0.25s ease;
}

/* Hero */
.webp .hero {
  background-image: url("/src/img/bg.webp");
}

.no-webp .hero {
  background-image: url("/src/img/bg.jpg");
}

.hero {
  background: url("/src/img/bg.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 26rem;
  position: relative;
  border-radius: 2rem;
  margin-top: 1rem;
}
@media (min-width: 768px) {
  .hero {
    height: 38rem;
    margin-top: 0px;
  }
}
@media (min-width: 1400px) {
  .hero {
    height: 46rem;
    margin-top: 0px;
  }
}
.hero .overlay {
  position: absolute;
  background-image: linear-gradient(90deg, rgba(45, 45, 58, 0.9) 15%, rgba(45, 45, 58, 0.7) 50%, rgba(43, 43, 53, 0.7) 100%);
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
}
@media (min-width: 768px) {
  .hero .overlay {
    text-align: left;
    flex-direction: row;
  }
}
.hero .overlay {
  border-radius: 2rem;
}
.hero .hero-titulo h1 {
  color: #FFFFFF;
  font-weight: bold;
  margin: 0;
  text-wrap: balance;
}
.hero .typewriter {
  color: #FFFFFF;
  display: inline-block;
  border-right: 1px solid #aaa;
  white-space: nowrap;
  overflow: hidden;
  margin: 2rem 0;
}
.hero .typewriter p {
  margin: 0;
}
.hero .typewriter span {
  font-size: 1.6rem;
}
@media (min-width: 768px) {
  .hero .typewriter span {
    font-size: 2rem;
  }
}
.hero .texto-color {
  color: #00B8D9;
  font-weight: bold;
  font-style: italic;
}
.hero .hero-copy {
  width: 80%;
  padding: 2rem;
}
@media (min-width: 768px) {
  .hero .hero-copy {
    padding: 4rem;
  }
}
.hero .hero-boton a {
  background-color: #00B8D9;
  font-weight: bold;
  text-align: center;
  color: #FFFFFF;
  padding: 1rem 3rem;
  letter-spacing: 0.1rem;
  border: none;
  border-radius: 5rem;
  display: inline-block;
  transition: transform 0.3s ease;
}
.hero .hero-boton a:hover {
  cursor: pointer;
  transform: translateY(-5px);
}
@media (min-width: 768px) {
  .hero .hero-boton a {
    padding: 1.4rem 3rem;
  }
}
.hero .hero-imagen {
  position: relative;
}
@media (min-width: 768px) {
  .hero .hero-imagen {
    width: 50%;
    height: 100%;
    margin-right: 2.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    opacity: 0;
    animation: fadeIn 4s forwards;
  }
}
.hero .hero-imagen img {
  display: none;
}
@media (min-width: 768px) {
  .hero .hero-imagen img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-width: none;
    display: block;
    overflow: hidden;
  }
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

body {
  margin: 0;
  min-height: 100vh;
}

.menu {
  display: block;
}

.contenido-sidebar {
  width: 100%;
}
@media (min-width: 768px) {
  .contenido-sidebar {
    text-align: center;
    position: fixed;
  }
}

.hamburger-menu {
  font-size: 3rem;
  display: none;
  padding: 0;
}
@media (min-width: 768px) {
  .hamburger-menu {
    display: block;
    background: none;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    margin-bottom: 1.2rem;
    align-self: center;
  }
}

.menu-items {
  opacity: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
@media (min-width: 768px) {
  .menu-items {
    width: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: left;
  }
}

.main-content.open .menu-items {
  opacity: 1;
}

.menu-items li {
  padding: 0.8rem 0;
}

.menu-items a {
  color: #aaa;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  display: block;
}

.menu-items a:hover {
  color: #00B8D9;
}

.numeros {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
@media (min-width: 768px) {
  .numeros {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.numeros span {
  color: #00B8D9;
  font-weight: bold;
}
.numeros .numero {
  padding: 2rem;
  background: #20202a;
  color: #FFFFFF;
  border-radius: 1rem;
  text-align: center;
}
.numeros .numero span {
  font-size: 3rem;
  color: #00B8D9;
}
@media (min-width: 768px) {
  .numeros .numero {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }
  .numeros .numero p {
    text-align: left;
  }
  .numeros .numero span {
    text-align: right;
  }
}

.servicios h2 {
  color: #FFFFFF;
  margin: 3rem 1rem;
}

.grid-servicios {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) {
  .grid-servicios {
    grid-template-columns: repeat(3, 1fr);
  }
}
.grid-servicios .servicio {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem;
  background: #20202a;
  color: #FFFFFF;
  border-radius: 1rem;
  margin-bottom: 1rem;
}
.grid-servicios .servicio-link {
  color: #00B8D9;
  font-weight: bold;
  text-transform: uppercase;
  transition: transform 0.3s ease;
}
.grid-servicios .servicio-link:hover {
  cursor: pointer;
  transform: translateX(1rem);
}
.grid-servicios .servicio h3 {
  text-align: left;
}
.grid-servicios .servicio p {
  color: #FFFFFF;
}
.grid-servicios .servicio .emoji {
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  font-size: 2rem;
  margin-right: 1rem;
}

.paquetes h2 {
  color: #FFFFFF;
  margin: 3rem 1rem;
}

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

.paquete {
  padding: 2rem;
  background: #20202a;
  color: #FFFFFF;
  border-radius: 1rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.4rem;
  text-align: center;
  padding: 2rem;
}
.paquete-titulo {
  font-weight: 600;
}
.paquete-precio {
  text-align: center;
  margin: 1rem;
}
.paquete .precio {
  color: #00B8D9;
  font-size: 3rem;
  font-weight: bold;
  margin-right: 1rem;
}
.paquete .lista {
  list-style: none;
  text-align: center;
  line-height: 1.6;
  color: #aaa;
  width: 100%;
  padding: 0;
  margin: 0 auto;
}
.paquete .lista li {
  margin-bottom: 1.6rem;
}
.paquete-link {
  color: #00B8D9;
  font-weight: bold;
  text-transform: uppercase;
  transition: transform 0.3s ease;
}
.paquete-link:hover {
  cursor: pointer;
  transform: translateX(1rem);
}

.icono_paq {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem auto;
}

.paq1 {
  background-image: url("/src/img/iconos/icon1DM.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.paq2 {
  background-image: url("/src/img/iconos/icon2DM.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.paq3 {
  background-image: url("/src/img/iconos/icon3DM.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.ribbon {
  font-size: 1.2rem;
  position: absolute;
  width: 120px;
  background-color: #00B8D9;
  color: #000000;
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  top: 20px;
  right: -30px;
  transform: rotate(45deg);
  padding: 5px 0;
}

.testimonials {
  color: #FFFFFF;
}

.testimonials h2 {
  margin: 3rem 1rem;
}

.testimonial-container {
  max-width: 1000px;
  margin: auto;
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial {
  flex: 0 0 50%;
}
@media (min-width: 768px) {
  .testimonial {
    padding: 0 20px 0 0;
  }
}

@media (max-width: 768px) {
  .testimonial {
    flex: 0 0 100%;
  }
}
.testimonial-card {
  padding: 2rem;
  background: #20202a;
  color: #FFFFFF;
  border-radius: 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.testimonial-info {
  text-align: left;
}

.testimonial-info h4 {
  margin: 0;
  font-weight: bold;
}

.testimonial-info p {
  margin: 0;
  color: #aaa;
}

.testimonial-header img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-text {
  margin: 20px 0;
  color: #aaa;
  line-height: 1.5;
}

.stars {
  font-size: 1.2rem;
  color: gold;
  letter-spacing: 4px;
  background-color: #1a1a22;
  padding: 0.8rem;
  border-radius: 5rem;
  display: block;
  width: fit-content;
}

/* Navegación */
.testimonial-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00B8D9;
  cursor: pointer;
}

.dot.active {
  background: #333;
}

.arrows {
  display: flex;
  gap: 10px;
}

.arrow {
  cursor: pointer;
  background: #333;
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow:hover {
  background: #555;
}

.trabajos h2 {
  color: #FFFFFF;
  margin: 3rem 1rem;
}

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

/* CARD */
.card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  transition: transform 0.3s ease;
}

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

/* IMAGEN */
.card-image img {
  width: 100%;
  height: 100%;
  display: block;
}

/* INFO OCULTA (DESKTOP) */
.card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #242430;
  color: #fff;
  padding: 2rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.card:hover .card-info {
  transform: translateY(0);
}

.card-info h3 {
  margin: 0 0 10px;
}

.card-info p {
  margin: 0 0 15px;
  opacity: 0.9;
}

.card-info a {
  color: #00B8D9;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
}

.card-info a:hover {
  cursor: pointer;
}

/* 🟢 RESPONSIVE - MÓVIL */
@media (max-width: 768px) {
  .portfolio {
    grid-template-columns: 1fr;
  }
  .card {
    transform: none;
  }
  /* En móvil la info se muestra debajo */
  .card-info {
    position: static;
    transform: none;
    background: #222;
  }
  .card:hover .card-info {
    transform: none;
  }
}
.card-image {
  height: 26rem;
}
@media (min-width: 768px) {
  .card-image {
    height: 100%;
  }
}

/* Contenedor principal en dos columnas */
.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .timeline {
    grid-template-columns: 1fr 1fr;
  }
}

.timeline-column {
  padding: 2rem;
  background: #20202a;
  color: #FFFFFF;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  border-radius: 2rem;
}
.timeline-column h2 {
  color: #FFFFFF;
  margin: 1rem 0;
}

.timeline-item {
  border-left: 0.4rem solid #1a1a22;
  padding: 3rem;
  position: relative;
}

.timeline-item::before {
  content: "◉";
  position: absolute;
  top: 3rem;
  left: -1rem;
  width: 1.6rem;
  height: 1.6rem;
  color: #00B8D9;
  animation: pulso 2s infinite;
  border-radius: 50%;
}

.timeline-item h3 {
  margin: 0 0 5px 0;
  font-weight: 600;
  color: #FFFFFF;
}

.timeline-item .date {
  background: #1a1a22;
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  color: #aaa;
  font-size: 1.2rem;
}

.timeline-item p {
  margin-top: 1rem;
  line-height: 1.5;
  color: #aaa;
}

.contacto h2 {
  color: #FFFFFF;
  margin: 3rem 1rem;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .contacto-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

.contacto-form {
  padding: 2rem;
  background: #20202a;
  color: #FFFFFF;
  border-radius: 1rem;
}

.formulario {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.field {
  display: flex;
  align-items: stretch;
  border-radius: 0.4rem;
  overflow: hidden;
}

.icon-form {
  color: var(--f-terciario);
  background-color: #00B8D9;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.campo {
  padding: 2rem;
  border: none;
  background-color: #1a1a22;
  color: #FFFFFF;
  flex: 1;
  width: 100%;
  font-size: 1.6rem;
  border-radius: 0;
}

.boton button {
  background-color: #00B8D9;
  font-weight: bold;
  text-align: center;
  color: #FFFFFF;
  padding: 2rem 3rem;
  letter-spacing: 0.1rem;
  border-radius: 5rem;
  border: none;
  width: 100%;
  transition: transform 0.3s ease;
}
@media (min-width: 768px) {
  .boton button {
    width: auto;
    padding: 1.4rem 3rem;
  }
}
.boton button:hover {
  cursor: pointer;
  transform: translateY(-5px);
}

.tecnologias {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 4rem 0;
}
@media (min-width: 768px) {
  .tecnologias {
    margin: 8rem 0;
  }
}
.tecnologias img {
  height: 3rem;
}
@media (min-width: 768px) {
  .tecnologias img {
    height: 6rem;
  }
}
.tecnologias img {
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}
.tecnologias img:hover {
  filter: grayscale(0%);
}/*# sourceMappingURL=app.css.map */
