@charset "UTF-8";
/*
Template Name: CV Velia de Monserrat Ochoa Ruiz
Version: 2.0
Description: Currículum vitae de una sola página, basado en la plantilla Bolby.

[ÍNDICE]

01. Tokens y mixins
02. Base y tipografía
03. Header / barra lateral
04. Secciones
05. Elementos
06. Botones
07. Responsive
08. Impresión

Compilar con:  npm run sass
*/
/*=================================================================*/
/*  BASE Y TIPOGRAFÍA
/*=================================================================*/
/*=================================================================*/
/*  TOKENS Y MIXINS
/*=================================================================*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #4A5163;
  background-color: #F6F7F9;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Sora", "Segoe UI", sans-serif;
  color: #23283A;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.75rem);
}

h2 {
  font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.1rem);
}

h3 {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.32rem);
}

h4 {
  font-size: 1.05rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #9A6F2C;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
a:hover, a:focus {
  color: #B8873B;
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

strong {
  color: #23283A;
}

::selection {
  background: #B8873B;
  color: #fff;
}

:focus-visible {
  outline: 2px solid #B8873B;
  outline-offset: 3px;
  border-radius: 4px;
}

/* Saltar al contenido (accesibilidad) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 12px 20px;
  background: #B8873B;
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 12px 0;
}
.skip-link:focus {
  left: 0;
  color: #fff;
  text-decoration: none;
}

/*=================================================================*/
/*  LAYOUT
/*=================================================================*/
main.content {
  margin-left: 290px;
  transition: all 0.3s ease-in-out;
}
main.content.open {
  opacity: 0.8;
  transform: translateX(290px);
}

section {
  position: relative;
  padding-top: 90px;
}

.section-title {
  position: relative;
  margin: 0 0 4px;
  padding-bottom: 18px;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 3px;
  border-radius: 3px;
  background: #B8873B;
}

.section-lead {
  color: #7A8296;
  max-width: 640px;
  margin-bottom: 0;
}

/* Espaciadores controlados por data-height (js/custom.js) */
.spacer {
  display: block;
  clear: both;
}

/*=================================================================*/
/*  UTILIDADES PROPIAS
/*=================================================================*/
.bg-white {
  background-color: #FFFFFF !important;
}

.padding-30 {
  padding: 30px;
}

.rounded {
  border-radius: 16px !important;
}

.shadow-soft {
  box-shadow: 0 10px 30px rgba(27, 34, 51, 0.07);
}

.overflow-hidden {
  overflow: hidden;
}

.card-panel {
  background: #FFFFFF;
  border: 1px solid #E4E7EE;
}
.card-panel p:last-child {
  margin-bottom: 0;
}

/*=================================================================*/
/*  ANIMACIÓN DE ENTRADA (fade-up al hacer scroll)
/*=================================================================*/
/* Solo se oculta si JS está activo: sin JS el contenido siempre es visible. */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: calc(var(--reveal-delay, 0) * 1ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/*=================================================================*/
/*  REDUCED MOTION
/*=================================================================*/
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
/*=================================================================*/
/*  HEADER / BARRA LATERAL
/*=================================================================*/
/* --- Logo --- */
.site-logo a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.site-logo a:hover {
  text-decoration: none;
}
.site-logo .logo-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}
.site-logo .logo-mark rect {
  fill: #B8873B;
}
.site-logo .logo-mark text {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 21px;
  font-weight: 700;
  fill: #1B2233;
  letter-spacing: 0.5px;
}
.site-logo .logo-word {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #fff;
  line-height: 1.1;
}
.site-logo .logo-dot {
  color: #B8873B;
}

/* --- Escritorio --- */
header.desktop-header-1 {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 290px;
  height: 100vh;
  min-height: 100vh;
  padding: 46px 40px 32px;
  color: #fff;
  background: #1B2233;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  overflow-x: hidden;
  overflow-y: auto;
  transform: translateX(0);
  transition: all 0.3s ease-in-out;
}
header.desktop-header-1 nav {
  width: 100%;
  margin: auto 0;
}
header.desktop-header-1 .vertical-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
header.desktop-header-1 .vertical-menu li {
  padding: 2px 0;
  position: relative;
  transition: all 0.2s ease-in-out;
}
header.desktop-header-1 .vertical-menu li + li {
  margin-top: 2px;
}
header.desktop-header-1 .vertical-menu li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
}
header.desktop-header-1 .vertical-menu li a i {
  color: rgba(255, 255, 255, 0.45);
  font-size: 17px;
  width: 18px;
  text-align: center;
  transition: all 0.25s ease-in-out;
}
header.desktop-header-1 .vertical-menu li a:hover, header.desktop-header-1 .vertical-menu li a:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}
header.desktop-header-1 .vertical-menu li a:hover i, header.desktop-header-1 .vertical-menu li a:focus i {
  color: #B8873B;
}
header.desktop-header-1 .vertical-menu li a.active {
  color: #fff;
  background: rgba(184, 135, 59, 0.16);
  box-shadow: inset 3px 0 0 #B8873B;
}
header.desktop-header-1 .vertical-menu li a.active i {
  color: #B8873B;
}
header.desktop-header-1 .footer {
  margin-top: auto;
  padding-top: 24px;
}
header.desktop-header-1 .copyright {
  display: block;
  color: rgba(255, 255, 255, 0.38);
  font-size: 12.5px;
  line-height: 1.5;
}

/* --- Móvil --- */
header.mobile-header-1 {
  position: relative;
  z-index: 21;
  display: none;
  padding: 12px 0;
  background: #1B2233;
  transition: all 0.3s ease-in-out;
}
header.mobile-header-1.open {
  transform: translateX(290px);
}
header.mobile-header-1 .container {
  display: flex;
  align-items: center;
}
header.mobile-header-1 .menu-icon button {
  width: 34px;
  height: 34px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}
header.mobile-header-1 .menu-icon span {
  position: relative;
  display: block;
  width: 26px;
  height: 2px;
  margin: 0 auto;
  background: #fff;
  border-radius: 2px;
}
header.mobile-header-1 .menu-icon span::before, header.mobile-header-1 .menu-icon span::after {
  content: "";
  position: absolute;
  left: 0;
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
header.mobile-header-1 .menu-icon span::before {
  top: -8px;
}
header.mobile-header-1 .menu-icon span::after {
  top: 8px;
}
header.mobile-header-1 .site-logo .logo-mark {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
}
header.mobile-header-1 .site-logo .logo-word {
  font-size: 16px;
}

/*=================================================================*/
/*  SECCIONES
/*=================================================================*/
/* --- Hero --- */
section.home {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 120px 0 100px;
  overflow: hidden;
  background: linear-gradient(155deg, #1B2233 0%, #232C42 48%, #2C3A54 100%);
}
section.home .container {
  z-index: 1;
}
section.home .intro {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}
section.home .intro h1 {
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
}
section.home .intro-avatar {
  width: 108px;
  height: 108px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(184, 135, 59, 0.45);
  border-radius: 50%;
}
section.home .intro-role {
  color: #B8873B;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}
section.home .rotator {
  display: inline-block;
  position: relative;
  min-width: 1ch;
  color: #fff;
}
section.home .rotator-word {
  display: inline-block;
}
section.home .rotator-word.is-entering {
  animation: cvn-rotate-in 0.55s cubic-bezier(0.2, 0.8, 0.3, 1.1) both;
}
section.home .intro-tags {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
}
section.home .social-icons li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.25s ease-in-out;
}
section.home .social-icons li a:hover, section.home .social-icons li a:focus {
  color: #1B2233;
  background: #B8873B;
  border-color: #B8873B;
  text-decoration: none;
  transform: translateY(-3px);
}
section.home .intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
section.home .mouse-wrapper {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}
section.home .mouse-wrapper:hover {
  color: #fff;
  text-decoration: none;
}
section.home .mouse {
  position: relative;
  display: block;
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
}
section.home .wheel {
  position: absolute;
  top: 7px;
  left: 50%;
  display: block;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  background: #B8873B;
  border-radius: 3px;
  animation: cvn-scroll 1.6s ease-in-out infinite;
}

@keyframes cvn-scroll {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(11px);
  }
}
@keyframes cvn-rotate-in {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.94);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* --- Figuras flotantes --- */
.parallax {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.parallax .layer {
  position: absolute;
  transition: transform 0.1s linear;
  will-change: transform;
}
.parallax .p1 {
  top: 10%;
  left: 10%;
}
.parallax .p2 {
  top: 30%;
  left: 25%;
}
.parallax .p3 {
  bottom: 30%;
  left: 15%;
}
.parallax .p4 {
  bottom: 10%;
  left: 10%;
}
.parallax .p5 {
  top: 10%;
  left: 45%;
}
.parallax .p6 {
  bottom: 12%;
  left: 30%;
}
.parallax .p7 {
  top: 20%;
  right: 30%;
}
.parallax .p8 {
  bottom: 20%;
  right: 30%;
}
.parallax .p9 {
  top: 10%;
  right: 10%;
}
.parallax .p10 {
  top: 45%;
  right: 20%;
}
.parallax .p11 {
  bottom: 10%;
  right: 10%;
}

/* --- Perfil --- */
.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #FFFFFF;
  border: 1px solid #E4E7EE;
  padding: 8px 26px;
  height: 100%;
}
.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
}
.info-list li + li {
  border-top: 1px solid #E4E7EE;
}
.info-list .info-list-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(184, 135, 59, 0.12);
  color: #9A6F2C;
  font-size: 16px;
}
.info-list .info-list-text {
  display: block;
  color: #23283A;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.info-list .info-list-label {
  display: block;
  margin-bottom: 3px;
  color: #7A8296;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --- Franja de cifras --- */
.facts-row .fact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 22px 24px;
  background: #FFFFFF;
  border: 1px solid #E4E7EE;
  border-radius: 16px;
}
.facts-row .fact-item .icon {
  color: #B8873B;
  font-size: 26px;
  line-height: 1;
}
.facts-row .fact-item .number {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #23283A;
  line-height: 1.1;
}
.facts-row .fact-item .number em {
  font-style: normal;
}
.facts-row .fact-item p {
  color: #7A8296;
  font-size: 13px;
  line-height: 1.4;
  margin-top: 2px;
}

/* --- Timeline --- */
.timeline {
  position: relative;
  border: 1px solid #E4E7EE;
  padding-left: 46px;
}
.timeline .line {
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 26px;
  width: 2px;
  background: #E4E7EE;
}
.timeline .timeline-container {
  position: relative;
  padding: 0 0 30px;
}
.timeline .timeline-container:last-of-type {
  padding-bottom: 0;
}
.timeline .timeline-container::before {
  content: "";
  position: absolute;
  top: 7px;
  left: -25px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #B8873B;
  z-index: 1;
}
.timeline .timeline-container::after {
  content: "";
  position: absolute;
  top: 13px;
  left: -12px;
  width: 12px;
  height: 1px;
  background: #E4E7EE;
}
.timeline .content .time {
  display: inline-block;
  margin-bottom: 6px;
  color: #9A6F2C;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.timeline .content .title {
  margin: 0 0 4px;
  font-size: 1.06rem;
  font-weight: 600;
  color: #23283A;
}
.timeline .content .place {
  display: block;
  color: #7A8296;
  font-size: 14.5px;
  font-weight: 500;
}
.timeline .content p {
  margin: 8px 0 0;
  color: #4A5163;
  font-size: 14.5px;
  line-height: 1.65;
}

/* --- Contacto --- */
.contact-info {
  position: relative;
  height: 100%;
  padding: 30px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(155deg, #1B2233 0%, #2C3A54 100%);
  overflow: hidden;
}
.contact-info::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/map-light.png");
  background-repeat: repeat;
  opacity: 0.07;
  pointer-events: none;
}
.contact-info h3 {
  position: relative;
  color: #fff;
  margin-bottom: 12px;
}
.contact-info p {
  position: relative;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  overflow-wrap: anywhere;
}
.contact-info p a {
  color: #B8873B;
  text-decoration: underline;
}
.contact-info p a:hover {
  color: #fff;
}

.contact-links {
  position: relative;
  margin-top: 26px;
}
.contact-links li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14.5px;
  overflow-wrap: anywhere;
}
.contact-links li i {
  color: #B8873B;
  font-size: 16px;
  flex: 0 0 auto;
}
.contact-links li a {
  color: rgba(255, 255, 255, 0.78);
}
.contact-links li a:hover {
  color: #fff;
}

/*=================================================================*/
/*  ELEMENTOS
/*=================================================================*/
/* --- Tarjetas de servicios --- */
.service-box {
  position: relative;
  height: 100%;
  background: var(--sb-color, #B8873B);
  color: var(--sb-ink, #fff);
  border: 0;
  overflow: hidden;
  transform: translateY(0);
  transition: all 0.3s ease-in-out;
  /* Textura diagonal sutil sobre el color plano */
}
.service-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: 0.5;
  pointer-events: none;
}
.service-box > * {
  position: relative;
  z-index: 1;
}
.service-box img {
  margin-bottom: 22px;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.14));
}
.service-box h3 {
  color: var(--sb-ink, #fff);
  font-size: 1.2rem;
}
.service-box p {
  color: var(--sb-ink, #fff);
  opacity: 0.9;
  font-size: 14.5px;
  line-height: 1.65;
}
.service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 40px rgba(27, 34, 51, 0.18);
}

/* --- Tarjetas de cursos --- */
.course-card {
  position: relative;
  height: 100%;
  background: #FFFFFF;
  border: 1px solid #E4E7EE;
  transition: all 0.25s ease-in-out;
}
.course-card:hover {
  border-color: rgba(184, 135, 59, 0.45);
  box-shadow: 0 18px 45px rgba(27, 34, 51, 0.12);
  transform: translateY(-4px);
}
.course-card .course-year {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(184, 135, 59, 0.12);
  color: #9A6F2C;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.course-card h3 {
  font-size: 1.1rem;
}
.course-card p {
  color: #4A5163;
  font-size: 14.5px;
}
.course-card .course-org {
  display: block;
  margin-top: 4px;
  color: #7A8296;
  font-size: 13.5px;
  font-weight: 500;
}

.badge-soft {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(46, 111, 106, 0.12);
  color: #2E6F6A;
  font-size: 12.5px;
  font-weight: 600;
}

/* --- Habilidades --- */
.skills-panel {
  border: 1px solid #E4E7EE;
}
.skills-panel .skills-group-title {
  margin: 0 0 16px;
  color: #7A8296;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.skills-panel .skills-group-title:not(:first-child) {
  margin-top: 0;
}
.skills-panel .skill-item + .skill-item {
  margin-top: 18px;
}
.skills-panel .skill-info h4 {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #23283A;
  line-height: 1.4;
}
.skills-panel .skill-info span {
  color: #7A8296;
  font-size: 13px;
  font-weight: 600;
}
.skills-panel .progress {
  height: 7px;
  margin-top: 8px;
  background-color: #EDF0F5;
  border-radius: 15px;
  box-shadow: none;
  overflow: hidden;
}
.skills-panel .progress-bar {
  width: 0;
  height: 100%;
  border-radius: 15px;
  background-color: var(--bar-color, #B8873B);
  box-shadow: none;
  transition: width 1.1s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.skills-panel .skill-chips {
  margin-top: 0;
}

.skill-chips .list-inline-item {
  margin: 0 10px 10px 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: 999px;
  background: #EDF0F5;
  color: #23283A;
  font-size: 14.5px;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}
.chip i {
  color: #9A6F2C;
  font-size: 15px;
}
.chip:hover {
  background: #B8873B;
  color: #fff;
}
.chip:hover i {
  color: #fff;
}

/* --- Galería de manualidades --- */
.portfolio-wrapper .grid-item a {
  display: block;
}

.portfolio-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid #E4E7EE;
}
.portfolio-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: all 0.45s ease-in-out;
}
.portfolio-item .portfolio-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 34, 51, 0.55);
  opacity: 0;
  transition: all 0.3s ease-in-out;
}
.portfolio-item .more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #B8873B;
  color: #fff;
  font-size: 18px;
  transform: scale(0.7);
  transition: all 0.3s ease-in-out;
}
.portfolio-item:hover .portfolio-caption, .portfolio-item:focus-within .portfolio-caption {
  opacity: 1;
}
.portfolio-item:hover .more-button, .portfolio-item:focus-within .more-button {
  transform: scale(1);
}
.portfolio-item:hover img, .portfolio-item:focus-within img {
  transform: scale(1.05);
}

/* --- Formulario --- */
.contact-form .form-label {
  margin-bottom: 6px;
  color: #23283A;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.contact-form .form-control {
  padding: 13px 16px;
  border: 1px solid #E4E7EE;
  border-radius: 12px;
  background-color: #FFFFFF;
  color: #23283A;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  box-shadow: none;
  transition: all 0.2s ease-in-out;
}
.contact-form .form-control::placeholder {
  color: #9AA1B3;
}
.contact-form .form-control:focus {
  border-color: #B8873B;
  box-shadow: 0 0 0 3px rgba(184, 135, 59, 0.16);
}
.contact-form textarea.form-control {
  resize: vertical;
  min-height: 140px;
}
.contact-form.was-validated .form-control:invalid,
.contact-form .form-control.is-invalid {
  border-color: #C4483C;
  background-image: none;
}
.contact-form.was-validated .form-control:invalid:focus,
.contact-form .form-control.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(196, 72, 60, 0.15);
}
.contact-form.was-validated .form-control:valid,
.contact-form .form-control.is-valid {
  border-color: #E4E7EE;
  background-image: none;
}
.contact-form .invalid-feedback {
  font-size: 13px;
}
.contact-form .messages {
  display: block;
}
.contact-form .messages:empty {
  display: none;
}
.contact-form .messages .alert {
  border: 0;
  border-radius: 12px;
  font-size: 14.5px;
}
.contact-form #submit[disabled] {
  opacity: 0.65;
  cursor: progress;
}
.contact-form #submit .fa-spinner {
  margin-left: 6px;
}
.contact-form .form-honey {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.contact-form .form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
}
.contact-form .form-note {
  flex: 1 1 240px;
  color: #7A8296;
  font-size: 12.5px;
  line-height: 1.5;
}

/* --- Botón flotante --- */
#return-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1B2233;
  color: #fff;
  font-size: 15px;
  line-height: 1;
  box-shadow: 0 18px 45px rgba(27, 34, 51, 0.12);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  pointer-events: none;
  transition: all 0.25s ease-in-out;
}
#return-to-top i {
  display: block;
  line-height: 1;
}
#return-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
#return-to-top:hover, #return-to-top:focus {
  background: #B8873B;
  color: #fff;
  text-decoration: none;
}
#return-to-top.is-visible:hover, #return-to-top.is-visible:focus {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(184, 135, 59, 0.32);
}
#return-to-top:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(184, 135, 59, 0.45);
}

/* --- Preloader (efecto "infinity" con filtro goo) --- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  height: 100%;
  width: 100%;
  background: #1B2233;
}
#preloader .outer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.goo-outer {
  display: none;
}

.infinity {
  position: relative;
  width: 120px;
  height: 60px;
}
.infinity div,
.infinity span {
  position: absolute;
}
.infinity div {
  top: 0;
  left: 50%;
  width: 60px;
  height: 60px;
  animation: cvn-rotate 6.9s linear infinite;
}
.infinity div span {
  left: -8px;
  top: 50%;
  margin: -8px 0 0;
  width: 16px;
  height: 16px;
  display: block;
  background: #FF4C60;
  box-shadow: 2px 2px 8px rgba(255, 76, 96, 0.09);
  border-radius: 50%;
  transform: rotate(90deg);
  animation: cvn-move 6.9s linear infinite;
}
.infinity div span::before, .infinity div span::after {
  content: "";
  position: absolute;
  display: block;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  background: inherit;
  top: 50%;
  left: 50%;
  margin: -7px 0 0 -7px;
  box-shadow: inherit;
}
.infinity div span::before {
  animation: cvn-drop1 0.8s linear infinite;
}
.infinity div span::after {
  animation: cvn-drop2 0.8s linear infinite 0.4s;
}
.infinity div:nth-child(2) {
  animation-delay: -2.3s;
}
.infinity div:nth-child(2) span {
  animation-delay: -2.3s;
}
.infinity div:nth-child(3) {
  animation-delay: -4.6s;
}
.infinity div:nth-child(3) span {
  animation-delay: -4.6s;
}

.infinityChrome {
  width: 128px;
  height: 60px;
}
.infinityChrome div {
  position: absolute;
  width: 16px;
  height: 16px;
  background: #FF4C60;
  box-shadow: 2px 2px 8px rgba(255, 76, 96, 0.09);
  border-radius: 50%;
  animation: cvn-move-svg 6.9s linear infinite;
  filter: url(#goo);
  transform: scaleX(-1);
  offset-path: path("M64.3636364,29.4064278 C77.8909091,43.5203348 84.4363636,56 98.5454545,56 C112.654545,56 124,44.4117395 124,30.0006975 C124,15.5896556 112.654545,3.85282763 98.5454545,4.00139508 C84.4363636,4.14996252 79.2,14.6982509 66.4,29.4064278 C53.4545455,42.4803627 43.5636364,56 29.4545455,56 C15.3454545,56 4,44.4117395 4,30.0006975 C4,15.5896556 15.3454545,4.00139508 29.4545455,4.00139508 C43.5636364,4.00139508 53.1636364,17.8181672 64.3636364,29.4064278 Z");
}
.infinityChrome div::before, .infinityChrome div::after {
  content: "";
  position: absolute;
  display: block;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  background: inherit;
  top: 50%;
  left: 50%;
  margin: -7px 0 0 -7px;
  box-shadow: inherit;
}
.infinityChrome div::before {
  animation: cvn-drop1 0.8s linear infinite;
}
.infinityChrome div::after {
  animation: cvn-drop2 0.8s linear infinite 0.4s;
}
.infinityChrome div:nth-child(2) {
  animation-delay: -2.3s;
}
.infinityChrome div:nth-child(3) {
  animation-delay: -4.6s;
}

@keyframes cvn-move-svg {
  0% {
    offset-distance: 0%;
  }
  25% {
    background: #6C6CE5;
  }
  75% {
    background: #FFD15C;
  }
  100% {
    offset-distance: 100%;
  }
}
@keyframes cvn-rotate {
  50% {
    transform: rotate(360deg);
    margin-left: 0;
  }
  50.0001%, 100% {
    margin-left: -60px;
  }
}
@keyframes cvn-move {
  0%, 50% {
    left: -8px;
  }
  25% {
    background: #FFD15C;
  }
  75% {
    background: #6C6CE5;
  }
  50.0001%, 100% {
    left: auto;
    right: -8px;
  }
}
@keyframes cvn-drop1 {
  100% {
    transform: translate(32px, 8px) scale(0);
  }
}
@keyframes cvn-drop2 {
  0% {
    transform: translate(0, 0) scale(0.9);
  }
  100% {
    transform: translate(32px, -8px) scale(0);
  }
}
/*=================================================================*/
/*  BOTONES
/*=================================================================*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}
.btn:hover, .btn:focus {
  text-decoration: none;
}
.btn i {
  font-size: 14px;
}

.btn-default {
  background: #B8873B;
  border-color: #B8873B;
  color: #fff;
}
.btn-default:hover, .btn-default:focus {
  background: #9A6F2C;
  border-color: #9A6F2C;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(184, 135, 59, 0.32);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn-outline:hover, .btn-outline:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  transform: translateY(-2px);
}

/* Variante oscura para fondos claros */
.btn-outline-dark {
  background: transparent;
  border-color: #E4E7EE;
  color: #23283A;
}
.btn-outline-dark:hover, .btn-outline-dark:focus {
  border-color: #B8873B;
  color: #9A6F2C;
}

/*=================================================================*/
/*  RESPONSIVE
/*=================================================================*/
@media (max-width: 1199.98px) {
  header.desktop-header-1 {
    padding: 38px 28px 26px;
  }
  header.desktop-header-1 .vertical-menu li a {
    padding: 10px 12px;
    font-size: 14px;
  }
}
/* --- Tablet / móvil: la barra lateral pasa a ser un panel --- */
@media (max-width: 991.98px) {
  header.mobile-header-1 {
    display: block;
  }
  header.desktop-header-1 {
    transform: translateX(-290px);
  }
  header.desktop-header-1.open {
    transform: translateX(0);
  }
  main.content {
    margin-left: 0;
  }
  main.content.open {
    transform: translateX(290px);
  }
  section {
    padding-top: 70px;
  }
  section.home {
    min-height: auto;
    padding: 90px 0 90px;
  }
  section.home .mouse-wrapper {
    display: none;
  }
}
/* --- Móvil --- */
@media (max-width: 767.98px) {
  body {
    font-size: 15.5px;
  }
  section {
    padding-top: 60px;
  }
  .padding-30 {
    padding: 24px;
  }
  section.home {
    padding: 70px 0;
    text-align: center;
  }
  section.home .intro-actions .btn {
    width: 100%;
  }
  .facts-row .fact-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 18px;
  }
  .timeline {
    padding-left: 34px;
  }
  .timeline .line {
    left: 18px;
  }
  .timeline .timeline-container::before {
    left: -25px;
  }
  .timeline .timeline-container::after {
    display: none;
  }
  .contact-info {
    margin-bottom: 8px;
  }
}
@media (max-width: 575.98px) {
  header.desktop-header-1 {
    width: min(290px, 86vw);
  }
  .site-logo .logo-word {
    font-size: 16px;
  }
  .timeline {
    padding-left: 28px;
  }
  .chip {
    font-size: 13.5px;
    padding: 8px 14px;
  }
  #return-to-top {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }
}
/*=================================================================*/
/*  ESTILOS DE IMPRESIÓN — el CV debe imprimirse en limpio
/*=================================================================*/
@media print {
  @page {
    margin: 14mm;
  }
  html,
  body {
    background: #fff !important;
    color: #111 !important;
    font-size: 11pt;
    line-height: 1.45;
  }
  #preloader,
  header.desktop-header-1,
  header.mobile-header-1,
  .parallax,
  .mouse-wrapper,
  #return-to-top,
  .skip-link,
  .contact-form,
  .section-lead,
  .intro-actions,
  .social-icons {
    display: none !important;
  }
  main.content,
  .content.open {
    margin-left: 0 !important;
    transform: none !important;
    opacity: 1 !important;
  }
  section,
  section.home {
    min-height: 0 !important;
    padding: 0 0 14pt !important;
    background: none !important;
    color: #111 !important;
    page-break-inside: auto;
  }
  section.home {
    padding-bottom: 18pt !important;
    border-bottom: 1.5pt solid #B8873B;
    margin-bottom: 12pt;
  }
  section.home .intro {
    max-width: none;
    text-align: left;
  }
  section.home .intro h1 {
    color: #111 !important;
    font-size: 20pt;
  }
  section.home .intro-role {
    color: #8A6522 !important;
  }
  section.home .intro-tags {
    color: #333 !important;
  }
  section.home .intro-avatar {
    display: none;
  }
  h1, h2, h3, h4, h5, h6 {
    color: #111 !important;
  }
  .section-title {
    margin-bottom: 8pt;
    padding-bottom: 6pt;
    font-size: 13pt;
  }
  .section-title::after {
    width: 32px;
    height: 2pt;
    background: #B8872F;
  }
  .spacer {
    display: none !important;
  }
  .js .reveal,
  .js .reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
  }
  .service-box {
    background: #fff !important;
    color: #111 !important;
    border: 1pt solid #DDD !important;
    box-shadow: none !important;
    transform: none !important;
  }
  .service-box::after {
    display: none !important;
  }
  .service-box h3,
  .service-box p {
    color: #111 !important;
  }
  .service-box img {
    display: none !important;
  }
  .progress {
    background: #EEE !important;
    border: 0 !important;
  }
  .progress-bar {
    background: #8A6522 !important;
    transition: none !important;
  }
  .card-panel,
  .info-list,
  .timeline,
  .course-card,
  .skills-panel,
  .fact-item {
    border: 1pt solid #DDD !important;
    box-shadow: none !important;
    background: #fff !important;
    page-break-inside: avoid;
  }
  .timeline {
    padding: 12pt 14pt !important;
  }
  .timeline .line {
    display: none;
  }
  .timeline-container {
    padding-bottom: 10pt !important;
  }
  .timeline-container::before {
    background: #B8872F !important;
    border-color: #B8872F !important;
  }
  .timeline-container::after {
    display: none !important;
  }
  .timeline .content .time {
    color: #8A6522 !important;
  }
  .timeline .content .place {
    color: #555 !important;
  }
  .facts-row .fact-item {
    flex-direction: row !important;
  }
  .skill-chips .list-inline-item {
    margin: 0 6pt 6pt 0;
  }
  .chip {
    padding: 4pt 10pt;
    background: #F2F2F2 !important;
    color: #111 !important;
    font-size: 10pt;
  }
  .chip i {
    display: none;
  }
  .portfolio-wrapper {
    display: none !important;
  }
  .contact-info {
    background: none !important;
    color: #111 !important;
    padding: 0 !important;
  }
  .contact-info::after {
    display: none !important;
  }
  .contact-info h3 {
    color: #111 !important;
  }
  .contact-info p {
    color: #333 !important;
  }
  .contact-links li,
  .contact-links li a {
    color: #111 !important;
  }
  .contact-links li i,
  .contact-links li a i {
    color: #8A6522 !important;
  }
  a {
    color: #111 !important;
    text-decoration: none !important;
  }
}

/*# sourceMappingURL=style.css.map */
