/* =========================================================
   APP.CSS — Bundle CSS único del sitio
   --------------------------------------------------------
   Resultado de unificar 7 archivos en orden de carga:
     1. theme.css            — Tokens de diseño (variables CSS)
     2. styles.css           — Estilos base + componentes históricos
     3. responsive.css       — Media queries del template original
     4. modal-cv.css         — Modal de descarga del CV
     5. proyectos.css        — Página /proyectos.html
                               (.sidebar-card scopeado a .proyectos-page)
     6. proyecto-detail.css  — Página /proyecto1.html
                               (.sidebar-card scopeado a .proyecto-detail-page)
     7. buttons-unified.css  — Sistema de botones unificado (al final)

   El orden importa: cada bloque gana sobre el anterior por
   cascada. buttons-unified.css va último para sobrescribir
   estilos de botones legados.

   Cómo regenerar este archivo: ver script bash al final del
   commit que creó este bundle. Los archivos fuente quedaron
   conservados por seguridad (puedes seguir editándolos y
   regenerar app.css cuando quieras).
   ========================================================= */



/* ============= 1. theme.css ============= */
/* =========================================================
   THEME — DESIGN TOKENS CENTRALIZADOS
   --------------------------------------------------------
   Sistema único de variables CSS que controla TODO el sitio:
   superficies, textos, marca, estados semánticos, bordes,
   sombras, radios y botones (con todos sus estados).

   Cómo funciona:
   - Los tokens en :root son la base (modo claro por defecto).
   - .white-vertion los reafirma (por seguridad sobre cualquier
     orden de carga) y .dark-vertion los reescribe a su versión
     oscura. El toggle del header alterna estas clases sobre
     <body>.
   - Las páginas y componentes consumen los tokens vía
     var(--token). Nunca colores hardcodeados.

   Cómo extender:
   - Para añadir un nuevo color/marca, agrégalo aquí en
     :root y dale su variante en .dark-vertion. Listo.
   - Cualquier componente nuevo debe consumir tokens, no
     escribir hex literales.
   ========================================================= */

:root,
.white-vertion {
    /* ---------- MARCA (teal) ---------- */
    --brand-50:  #ecfdf7;
    --brand-100: #d8f5ee;
    --brand-200: #a7ebd8;
    --brand-300: #6ddabd;
    --brand-400: #34c8a3;
    --brand-500: #0bceaf;   /* color principal */
    --brand-600: #099d89;
    --brand-700: #077061;
    --brand-800: #04473d;
    --brand-900: #022a24;

    /* ---------- ESTADOS SEMÁNTICOS ---------- */
    --color-success:        #16a34a;
    --color-success-hover:  #15803d;
    --color-success-soft:   #dcfce7;
    --color-success-text:   #14532d;

    --color-danger:         #ef4444;
    --color-danger-hover:   #dc2626;
    --color-danger-soft:    #fee2e2;
    --color-danger-text:    #7f1d1d;

    --color-warning:        #f59e0b;
    --color-warning-hover:  #d97706;
    --color-warning-soft:   #fefce8;
    --color-warning-text:   #713f12;
    --color-warning-border: #fde68a;

    --color-info:           #3b82f6;
    --color-info-hover:     #1d4ed8;
    --color-info-soft:      #dbeafe;
    --color-info-text:      #1e3a8a;

    /* ---------- ACENTOS DECORATIVOS ---------- */
    --accent-purple: #8b5cf6;
    --accent-pink:   #ec4899;
    --accent-orange: #f97316;
    --accent-coral:  #fb9292;

    /* ---------- SUPERFICIES (fondos) ---------- */
    --bg-page:        #f5f8fb;   /* fondo de la página */
    --bg-elevated:    #ffffff;   /* tarjetas / cards */
    --bg-elevated-2:  #f8fafc;   /* tarjeta dentro de tarjeta, callout neutral */
    --bg-muted:       #f1f5f9;   /* hover suave, chip neutral */
    --bg-overlay:     rgba(15, 23, 42, 0.6); /* modales backdrop */

    /* Soft tints para badges/chips de marca */
    --bg-brand-soft:  rgba(11, 206, 175, 0.12);
    --bg-brand-softer:rgba(11, 206, 175, 0.06);

    /* ---------- TEXTO ---------- */
    --text-primary:   #1a2536;   /* títulos, énfasis */
    --text-secondary: #4a5568;   /* cuerpo */
    --text-muted:     #6b7785;   /* meta, captions */
    --text-disabled:  #b0b8c1;
    --text-inverse:   #ffffff;   /* texto sobre fondos oscuros / brand */
    --text-brand:     #0bceaf;
    --text-brand-strong: #0a9b85; /* sobre tints suaves de marca */

    /* ---------- BORDES ---------- */
    --border-subtle:  rgba(13, 33, 54, 0.06);
    --border-default: rgba(13, 33, 54, 0.10);
    --border-strong:  rgba(13, 33, 54, 0.18);
    --border-brand:   rgba(11, 206, 175, 0.40);

    /* ---------- SOMBRAS ---------- */
    --shadow-xs: 0 1px 2px rgba(13, 33, 54, 0.04);
    --shadow-sm: 0 2px 8px rgba(13, 33, 54, 0.06);
    --shadow-md: 0 8px 24px rgba(13, 33, 54, 0.10);
    --shadow-lg: 0 20px 50px rgba(13, 33, 54, 0.18);
    --shadow-xl: 0 30px 80px rgba(13, 33, 54, 0.45);
    --shadow-brand: 0 8px 22px rgba(11, 206, 175, 0.35);

    /* ---------- RADIOS ---------- */
    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-pill: 999px;

    /* ---------- TRANSICIONES ---------- */
    --t-fast:  0.15s ease;
    --t-base:  0.25s ease;
    --t-slow:  0.4s ease;

    /* =====================================================
       BOTONES — todos los estados
       ===================================================== */

    /* Primario (teal, acción principal) */
    --btn-primary-bg:           var(--brand-500);
    --btn-primary-bg-hover:     var(--brand-600);
    --btn-primary-bg-active:    var(--brand-700);
    --btn-primary-bg-disabled:  rgba(11, 206, 175, 0.45);
    --btn-primary-text:         #ffffff;
    --btn-primary-text-disabled:#ffffff;
    --btn-primary-border:       transparent;
    --btn-primary-shadow:       var(--shadow-brand);

    /* Secundario (outline mint) */
    --btn-secondary-bg:         var(--bg-brand-softer);
    --btn-secondary-bg-hover:   var(--bg-brand-soft);
    --btn-secondary-bg-active:  rgba(11, 206, 175, 0.18);
    --btn-secondary-bg-disabled:transparent;
    --btn-secondary-text:       var(--brand-500);
    --btn-secondary-text-hover: var(--brand-600);
    --btn-secondary-text-disabled: var(--text-disabled);
    --btn-secondary-border:     var(--border-brand);
    --btn-secondary-border-hover: var(--brand-500);

    /* Ghost (sin fondo, neutro) */
    --btn-ghost-bg:             transparent;
    --btn-ghost-bg-hover:       var(--bg-muted);
    --btn-ghost-bg-active:      rgba(13, 33, 54, 0.10);
    --btn-ghost-text:           var(--text-secondary);
    --btn-ghost-text-hover:     var(--text-primary);
    --btn-ghost-border:         transparent;

    /* Comprar (verde success) */
    --btn-buy-bg:           var(--color-success);
    --btn-buy-bg-hover:     var(--color-success-hover);
    --btn-buy-bg-active:    #166534;
    --btn-buy-bg-disabled:  rgba(22, 163, 74, 0.45);
    --btn-buy-text:         #ffffff;
    --btn-buy-shadow:       0 6px 18px rgba(22, 163, 74, 0.35);

    /* Dark / inverse (negro tipo GitHub) */
    --btn-dark-bg:          #1a2536;
    --btn-dark-bg-hover:    #0f172a;
    --btn-dark-text:        #ffffff;

    /* =====================================================
       FORMULARIOS — inputs, selects, textareas
       ===================================================== */
    --input-bg:              var(--bg-elevated);
    --input-bg-hover:        var(--bg-elevated);
    --input-bg-disabled:     var(--bg-muted);
    --input-text:            var(--text-primary);
    --input-placeholder:     var(--text-disabled);
    --input-border:          var(--border-default);
    --input-border-hover:    var(--border-strong);
    --input-border-focus:    var(--brand-500);
    --input-shadow-focus:    0 0 0 3px rgba(11, 206, 175, 0.18);

    /* =====================================================
       HEADER / NAVEGACIÓN
       ===================================================== */
    --nav-bg:                rgba(255, 255, 255, 0.85);
    --nav-bg-scroll:         rgba(255, 255, 255, 0.95);
    --nav-border:            var(--border-subtle);
    --nav-text:              var(--text-secondary);
    --nav-text-hover:        var(--text-primary);
    --nav-text-active:       var(--text-brand);
    --nav-shadow:            var(--shadow-sm);

    /* =====================================================
       LINKS — color y subrayado por defecto
       ===================================================== */
    --link-color:            var(--text-brand);
    --link-color-hover:      var(--brand-600);

    /* =====================================================
       CÓDIGO INLINE
       ===================================================== */
    --code-bg:               var(--bg-muted);
    --code-text:             var(--text-brand-strong);
}


/* =========================================================
   MODO OSCURO — todos los tokens reescritos
   ========================================================= */
.dark-vertion {
    /* Marca: la mantenemos pero suavizamos contrastes con tints */
    --brand-50:  rgba(11, 206, 175, 0.06);
    --brand-100: rgba(11, 206, 175, 0.12);

    /* Superficies oscuras */
    --bg-page:        #0f172a;
    --bg-elevated:    #1e293b;
    --bg-elevated-2:  #243044;
    --bg-muted:       rgba(255, 255, 255, 0.06);
    --bg-overlay:     rgba(0, 0, 0, 0.7);

    --bg-brand-soft:  rgba(11, 206, 175, 0.18);
    --bg-brand-softer:rgba(11, 206, 175, 0.10);

    /* Texto invertido */
    --text-primary:   #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted:     #94a3b8;
    --text-disabled:  #475569;
    --text-inverse:   #0f172a;
    --text-brand-strong: #6ddabd;  /* más claro sobre fondo oscuro */

    /* Bordes */
    --border-subtle:  rgba(255, 255, 255, 0.06);
    --border-default: rgba(255, 255, 255, 0.10);
    --border-strong:  rgba(255, 255, 255, 0.18);
    --border-brand:   rgba(11, 206, 175, 0.50);

    /* Sombras más profundas */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.30);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.30);
    --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.40);
    --shadow-lg: 0 22px 55px rgba(0, 0, 0, 0.55);
    --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.65);

    /* Estados semánticos: tints más visibles sobre fondo oscuro */
    --color-success-soft: rgba(22, 163, 74, 0.18);
    --color-danger-soft:  rgba(239, 68, 68, 0.18);
    --color-warning-soft: rgba(245, 158, 11, 0.14);
    --color-warning-border: rgba(245, 158, 11, 0.40);
    --color-warning-text: #fde68a;
    --color-info-soft:    rgba(59, 130, 246, 0.18);

    /* Botones — los primarios mantienen su acento; los neutros se adaptan */
    --btn-secondary-bg:         rgba(11, 206, 175, 0.10);
    --btn-secondary-bg-hover:   rgba(11, 206, 175, 0.18);
    --btn-secondary-text:       #6ddabd;
    --btn-secondary-text-hover: #34c8a3;

    --btn-ghost-bg-hover:       rgba(255, 255, 255, 0.06);
    --btn-ghost-bg-active:      rgba(255, 255, 255, 0.10);

    --btn-dark-bg:              #f1f5f9;
    --btn-dark-bg-hover:        #ffffff;
    --btn-dark-text:            #0f172a;

    /* Formularios: ajuste para fondo oscuro */
    --input-bg:              rgba(255, 255, 255, 0.04);
    --input-bg-hover:        rgba(255, 255, 255, 0.06);
    --input-bg-disabled:     rgba(255, 255, 255, 0.02);
    --input-text:            var(--text-primary);
    --input-placeholder:     var(--text-disabled);
    --input-border:          rgba(255, 255, 255, 0.10);
    --input-border-hover:    rgba(255, 255, 255, 0.18);
    --input-border-focus:    var(--brand-500);
    --input-shadow-focus:    0 0 0 3px rgba(11, 206, 175, 0.30);

    /* Navegación oscura */
    --nav-bg:                rgba(15, 23, 42, 0.85);
    --nav-bg-scroll:         rgba(15, 23, 42, 0.95);
    --nav-border:            rgba(255, 255, 255, 0.06);

    /* Links */
    --link-color-hover:      var(--brand-400);

    /* Código */
    --code-bg:               rgba(255, 255, 255, 0.06);
    --code-text:             var(--brand-400);
}


/* =========================================================
   APLICACIÓN GLOBAL
   ========================================================= */

/* El body sigue tu tipografía / layout existente; aquí solo
   garantizamos que el fondo y el color de texto vengan de
   los tokens, sin importar qué páginas no usen variables. */
body.white-vertion,
body.dark-vertion {
    background-color: var(--bg-page);
    color: var(--text-secondary);
    transition: background-color var(--t-base), color var(--t-base);
}

/* color-scheme — informa al navegador qué esquema usar para
   renderizar controles nativos (<select>, scrollbars, etc.) */
body.white-vertion { color-scheme: light; }
body.dark-vertion  { color-scheme: dark;  }

/* Estilo global por defecto para todas las <option> dentro de
   <select> — evita que la lista despegable salga con los
   colores del SO en vez de los del tema. */
body.white-vertion select option,
body.dark-vertion select option {
    background-color: var(--bg-elevated);
    color: var(--text-primary);
}


/* =========================================================
   UTILIDADES — botones reutilizables
   --------------------------------------------------------
   Clases globales que cualquier página puede usar sin
   reinventar estilos. Todas leen de los tokens.
   ========================================================= */

.btn-token {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: var(--radius-sm);
    border: 1.5px solid transparent;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    transition: background var(--t-fast), color var(--t-fast),
                border-color var(--t-fast), transform var(--t-fast),
                box-shadow var(--t-fast);
}

.btn-token:focus-visible {
    outline: 2px solid var(--brand-500);
    outline-offset: 2px;
}

.btn-token[disabled],
.btn-token.is-disabled {
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Primario */
.btn-token--primary {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border-color: var(--btn-primary-border);
    box-shadow: var(--btn-primary-shadow);
}
.btn-token--primary:hover { background: var(--btn-primary-bg-hover); color: var(--btn-primary-text); transform: translateY(-1px); }
.btn-token--primary:active { background: var(--btn-primary-bg-active); transform: translateY(0); }
.btn-token--primary[disabled],
.btn-token--primary.is-disabled { background: var(--btn-primary-bg-disabled); box-shadow: none; }

/* Secundario (outline) */
.btn-token--secondary {
    background: var(--btn-secondary-bg);
    color: var(--btn-secondary-text);
    border-color: var(--btn-secondary-border);
}
.btn-token--secondary:hover {
    background: var(--btn-secondary-bg-hover);
    color: var(--btn-secondary-text-hover);
    border-color: var(--btn-secondary-border-hover);
}
.btn-token--secondary:active { background: var(--btn-secondary-bg-active); }
.btn-token--secondary[disabled],
.btn-token--secondary.is-disabled {
    background: var(--btn-secondary-bg-disabled);
    color: var(--btn-secondary-text-disabled);
    border-color: var(--border-subtle);
}

/* Ghost */
.btn-token--ghost {
    background: var(--btn-ghost-bg);
    color: var(--btn-ghost-text);
    border-color: var(--btn-ghost-border);
}
.btn-token--ghost:hover { background: var(--btn-ghost-bg-hover); color: var(--btn-ghost-text-hover); }
.btn-token--ghost:active { background: var(--btn-ghost-bg-active); }

/* Comprar (verde) */
.btn-token--buy {
    background: var(--btn-buy-bg);
    color: var(--btn-buy-text);
    box-shadow: var(--btn-buy-shadow);
}
.btn-token--buy:hover { background: var(--btn-buy-bg-hover); transform: translateY(-2px); }
.btn-token--buy:active { background: var(--btn-buy-bg-active); transform: translateY(0); }
.btn-token--buy[disabled],
.btn-token--buy.is-disabled { background: var(--btn-buy-bg-disabled); box-shadow: none; }

/* Dark / inverse */
.btn-token--dark {
    background: var(--btn-dark-bg);
    color: var(--btn-dark-text);
}
.btn-token--dark:hover { background: var(--btn-dark-bg-hover); transform: translateY(-1px); }

/* Variantes de tamaño */
.btn-token--sm  { padding: 8px 14px;  font-size: 13px;  }
.btn-token--lg  { padding: 14px 26px; font-size: 15px;  }
.btn-token--pill { border-radius: var(--radius-pill); }
.btn-token--block { width: 100%; }


/* =========================================================
   PUENTE A CLASES LEGACY
   --------------------------------------------------------
   styles.css histórico usa nombres como .black-bg, .dark-bg,
   .shadow-1. Aquí los hacemos token-aware para que respondan
   automáticamente al toggle de tema sin tocar styles.css.
   ========================================================= */

/* Fondo del body — siempre desde tokens, sin importar la
   combinación de .white-vertion / .dark-vertion / .black-bg */
body.white-vertion,
body.dark-vertion,
body.white-vertion.black-bg,
body.dark-vertion.black-bg {
    background-color: var(--bg-page) !important;
    color: var(--text-secondary);
}

/* Tarjetas / contenedores con fondo legacy */
.white-vertion .dark-bg,
.dark-vertion .dark-bg {
    background-color: var(--bg-elevated);
    color: var(--text-secondary);
}

/* Sombra estándar legacy → token */
.shadow-1 {
    box-shadow: var(--shadow-sm);
}


/* =========================================================
   FORMULARIOS GLOBALES
   --------------------------------------------------------
   Cualquier <input>, <textarea> o <select> dentro del body
   queda alineado con el theme actual.
   ========================================================= */

body.white-vertion input[type="text"],
body.white-vertion input[type="email"],
body.white-vertion input[type="password"],
body.white-vertion input[type="search"],
body.white-vertion input[type="url"],
body.white-vertion input[type="tel"],
body.white-vertion input[type="number"],
body.white-vertion textarea,
body.white-vertion select,
body.dark-vertion input[type="text"],
body.dark-vertion input[type="email"],
body.dark-vertion input[type="password"],
body.dark-vertion input[type="search"],
body.dark-vertion input[type="url"],
body.dark-vertion input[type="tel"],
body.dark-vertion input[type="number"],
body.dark-vertion textarea,
body.dark-vertion select {
    background-color: var(--input-bg);
    color: var(--input-text);
    border: 1px solid var(--input-border);
    transition: border-color var(--t-fast), box-shadow var(--t-fast),
                background-color var(--t-fast);
}

body.white-vertion input:focus,
body.white-vertion textarea:focus,
body.white-vertion select:focus,
body.dark-vertion input:focus,
body.dark-vertion textarea:focus,
body.dark-vertion select:focus {
    border-color: var(--input-border-focus) !important;
    box-shadow: var(--input-shadow-focus) !important;
    outline: none !important;
}

body.white-vertion input::placeholder,
body.white-vertion textarea::placeholder,
body.dark-vertion input::placeholder,
body.dark-vertion textarea::placeholder {
    color: var(--input-placeholder);
    opacity: 1;
}


/* =========================================================
   LINKS GLOBALES
   ========================================================= */
.link-token,
body.white-vertion a.link-token,
body.dark-vertion a.link-token {
    color: var(--link-color);
    text-decoration: none;
    transition: color var(--t-fast);
}

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


/* =========================================================
   CÓDIGO INLINE GLOBAL
   ========================================================= */
body.white-vertion code:not(pre code),
body.dark-vertion code:not(pre code) {
    background: var(--code-bg);
    color: var(--code-text);
    padding: 2px 6px;
    border-radius: var(--radius-xs);
    font-family: "SF Mono", Consolas, Monaco, monospace;
    font-size: 0.9em;
}


/* =========================================================
   ACCESIBILIDAD: foco visible global
   ========================================================= */
*:focus-visible {
    outline: 2px solid var(--brand-500);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Quitar el outline solo cuando el focus llegó por mouse */
*:focus:not(:focus-visible) {
    outline: none;
}


/* =========================================================
   PREFERENCIA DEL SISTEMA — primer load
   --------------------------------------------------------
   Si el usuario tiene preferencia oscura del SO y aún no eligió
   tema (no hay localStorage), el body parte en oscuro automáticamente.
   El JS del header sigue siendo la fuente de verdad después.
   ========================================================= */
@media (prefers-color-scheme: dark) {
    body:not(.white-vertion):not(.dark-vertion) {
        background-color: var(--bg-page);
        color: var(--text-secondary);
    }
}

/* ============= 2. styles.css ============= */
/*------------- 
[Table of contents]

[ DEFULT INDEX NUMBER ]

1.  GENERAL CSS
2.  NAVBAR
4.  HOME
5.  SERVICE
6.  ABOUT
7.  TESTIMONIAL
8.  FAQ
9.  QUATE
10. SUBSCRIBE
11. PRICING
12. BLOG
13. FOOTER
14. COPYRIGHT


-------------------------------------------------------------------*/
/*------------------------------------------------------------------
[ Color codes ]
    
    [ Text and Background Color ]
        Main color 1:       #1c93e5     
        Main color 2:       #009688      
        Main color 3:       #9c27b0
        Main color 4:       #ff4081      
        Background 1:       #FFFFFF            
        Background 2:       #F6F6F6           
        Shadow color:       #000000;            

-------------------------------------------------------------------*/
/*------------------------------------------------------------------
[Typography]

    [ There are using two different font typography ]
        Typography 1: Roboto font;
        Typography 2: Montserrat font;

    [ Other Typography style are same ]
    Body :
        font-style:     normal;
        font-size:      15px;

    h2:
        font-size: 48px;
        line-height: 55px;

    h3:
        font-size: 30px;
        line-height: 40px;

    h4:
        font-size: 20px;
        font-weight: 600;

    p:  
        font-size: 18px;
        line-height: 30px;


-------------------------------------------------------------------*/
/*
================
 VARIABLES
================
*/
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.shadow-1 {
  -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

/**
 * -------------------
 *  Defult CSS 
 * -------------------
 */
html {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: "roboto", sans-serif;
  font-size: 14px;
  font-style: none;
  line-height: 24px;
  font-weight: 500;
  overflow-x: hidden !important;
  text-align: left;
  position: relative;
  color: #999999;
  opacity: 0.9;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "roboto", sans-serif;
}

p {
  opacity: 0.9;
}

.nav li a {
  text-decoration: none !important;
  display: inline-block;
  cursor: pointer;
  padding: 0px;
  background-color: transparent;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

.nav li a:hover {
  background-color: transparent;
}

.nav li a:focus {
  background-color: transparent;
  outline: 0 !important;
}

a {
  text-decoration: none !important;
  cursor: pointer;
  padding: 0px;
  background-color: transparent;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
  color: #000;
  opacity: 0.9;
}

a:hover {
  background-color: transparent;
}

a:focus {
  background-color: transparent;
  outline: 0 !important;
}

.center {
  float: none;
  margin: 0 auto;
  text-align: center;
}

/**
 * ---------------------
 *  Defult Halping Class
 * ---------------------
 */
.overflow {
  overflow: hidden;
}

.relative {
  position: relative;
}

.display-table {
  display: table;
  width: 100%;
  height: 100%;
}

.display-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.vertical-middle {
  display: table-cell;
  float: none;
  vertical-align: middle;
}

/**
 * --------------------------------------
 *  Video Section Background Defult Style
 * --------------------------------------
 */
.section-video {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  min-height: 100%;
  min-width: 100%;
  overflow: hidden;
  z-index: -1;
}

.section-video .bgvid {
  position: absolute;
  top: 0;
  left: 0;
  min-height: 100%;
  min-width: 100%;
  background-size: cover;
  -o-background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
}

.body-video-bg > .section-video {
  position: fixed;
  top: 0;
  left: 0;
}

.section-title {
  text-align: center;
}

.section-title h3 {
  font-size: 30px;
  line-height: 40px;
  color: #fff;
  font-weight: bold;
  margin-bottom: 60px;
}

/**
 * ------------------------------------
 *  Every Section Headline Defult Class
 * ------------------------------------
 */
.section-heading {
  display: block;
  margin: 0;
}

.section-header {
  margin-bottom: 100px;
  text-align: center;
}

.section-header .sub-heading {
  font-size: 22px;
  line-height: 30px;
  font-weight: 300;
  text-transform: uppercase;
  margin: 0 0 10px 0;
}

.section-header.text-left,
.section-header.text-left * {
  text-align: left;
}

.section-header.text-right,
.section-header.text-right * {
  text-align: right;
}

.section-header-separator {
  position: relative;
  width: 145px;
  margin: 5px auto;
  display: inline-block;
}

.section-header-separator .icon {
  font-size: 48px;
  text-align: center !important;
}

.section-header-separator::before, .section-header-separator::after {
  content: '';
  position: absolute;
  width: 57px;
  height: 2px;
  top: 25px;
}

.section-header-separator::before {
  left: 0;
}

.section-header-separator::after {
  right: 0;
}

.v-middle {
  display: -moz-flex;
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-justify-content: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}

.mini-separator {
  padding: 20px 0;
}

/**
 * ---------------------
 *   Defult Button Style
 * ---------------------
 */
.btn {
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
  outline: 0;
  padding: 8px 30px;
  font-weight: bold;
  border-radius: 20px;
}

.btn:last-child {
  margin-right: 0px !important;
}

.btn .icon {
  position: relative;
  top: 2px;
}

.btn .icon img {
  position: relative;
  top: -3px;
  width: 14px;
}

.btn.btn-fill {
  background-color: #0bceaf;
  color: #fff;
}

.btn.left-icon .icon {
  margin-right: 15px;
}

.btn.right-icon .icon {
  margin-left: 15px;
}

.btn.btn-border {
  background-color: transparent;
}

.btn.white-btn-border {
  background-color: transparent;
  border-color: #fff;
}

.btn.btn-round {
  padding: 15px;
  border-radius: 50%;
  width: 65px;
  height: 65px;
  font-size: 24px;
  text-align: center;
}

.btn.btn-round .icon {
  top: 7px;
}

.btn.apple, .btn.androad {
  border-radius: 3px !important;
  padding: 9px 28px;
  height: 82px;
}

.btn.apple img, .btn.androad img {
  width: 35px;
  height: 100%;
  float: left;
}

.btn.apple .icon, .btn.androad .icon {
  font-size: 60px;
  float: left;
}

.btn.apple span, .btn.androad span {
  display: block;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

.btn.apple .group, .btn.androad .group {
  float: right;
}

.btn.apple .big,
.btn.apple .small, .btn.androad .big,
.btn.androad .small {
  text-align: left;
  margin-left: 7px;
  line-height: 30px;
}

.btn.apple .big, .btn.androad .big {
  font-size: 24px;
  font-weight: 400;
}

.btn.apple .small, .btn.androad .small {
  font-size: 16px;
}

.btn.active.focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn:active:focus,
.btn:focus {
  outline: thin dotted;
  outline: 0px auto -webkit-focus-ring-color !important;
  outline-offset: -2px;
}

.btn-text-link {
  padding: 50px 0 0 0;
  text-align: center;
}

.btn-text-link a {
  margin-left: 10px;
}

/** 
 * -----------------
 * Social Icon Style
 * -----------------
 */
.social-icon {
  display: inline-block;
}

.social-icon li {
  list-style: none;
  float: left;
  margin-bottom: 0px;
  margin-right: 8px;
}

.social-icon li a {
  text-align: center;
  width: 45px;
  height: 45px;
  padding: 10px;
  border-radius: 50%;
}

.social-icon li:last-child a {
  margin-right: 0px;
}

/*
|=================
| Hero CTA Buttons
|================
*/
.hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 25px;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 50px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.hero-cta-btn i {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.hero-cta-btn:hover i {
  transform: scale(1.2);
}

/* GitHub Button */
.github-btn {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.github-btn:hover {
  background: #333;
  border-color: #333;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(51, 51, 51, 0.4);
}

/* LinkedIn Button */
.linkedin-btn {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.linkedin-btn:hover {
  background: #0077B5;
  border-color: #0077B5;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
}

/* CV Download Button */
.cv-btn {
  background: #0bceaf;
  border-color: #0bceaf;
  color: #fff;
}
.cv-btn:hover {
  background: #09b89b;
  border-color: #09b89b;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(11, 206, 175, 0.4);
}

/* White theme adjustments */
.white-vertion .github-btn {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.2);
  color: #333;
}
.white-vertion .github-btn:hover {
  background: #333;
  border-color: #333;
  color: #fff;
}

.white-vertion .linkedin-btn {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.2);
  color: #333;
}
.white-vertion .linkedin-btn:hover {
  background: #0077B5;
  border-color: #0077B5;
  color: #fff;
}

.white-vertion .cv-btn {
  color: #fff;
}

/* Responsive */
@media (max-width: 576px) {
  .hero-cta-buttons {
    justify-content: center;
  }
  .hero-cta-btn {
    padding: 12px 22px;
    font-size: 14px;
  }
  .hero-cta-btn i {
    font-size: 18px;
  }
}

/**
 * -----------------------------------
 * Subscription and contact  "MESSAGE"
 * -----------------------------------
 */
.subscription-success,
.subscription-failed,
.email-success,
.email-failed,
.email-loading {
  font-size: 15px;
  display: none;
  text-align: center !important;
  padding: 10px !important;
}

.email-loading {
  color: #52B8FF;
}

.email-loading img {
  width: 15px;
  position: relative;
  top: -2px;
}

.subscription-failed,
.email-failed {
  color: #FF5252 !important;
}

.subscription-failed .icon,
.email-failed .icon {
  font-size: 20px;
  position: relative;
  top: 5px;
}

.subscription-success,
.email-success {
  color: #56CC35;
}

.subscription-failed .icon,
.email-failed .icon,
.subscription-success .icon,
.email-success .icon {
  font-size: 20px;
  position: relative;
  top: 5px;
}

/**
 * ------------------
 * list
 * ------------------
 */
ul {
  margin: 0;
  padding: 0;
}

ul li {
  list-style-type: none;
}

/**
 * =================
 * CONTAINER HALF CONTENT
 * =================
 */
.content-half {
  position: relative;
}

.container-half-left {
  left: 0;
  background-position: center right;
}

.container-half-right {
  right: 0;
  background-position: center left;
}

.vertical-middle-content {
  display: -moz-flex;
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-justify-content: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}

/**
 * ---------------------------------
 *  Section Background Size Property
 * ---------------------------------
 */
.bg-cover {
  background-size: cover;
  background-position: 50% 50%;
  background-attachment: initial;
  background-repeat: no-repeat;
}

.dark-bg {
  background-color: #202026;
}

.section-separator {
  padding: 60px 0;
  padding-top: 100px;
}

.home-section-separator {
  padding-top: 100px;
  padding-bottom: 200px;
}

.bg-black {
  background-color: #000;
}

.form-control {
  -webkit-box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.16), 0 0px 2px 0 rgba(255, 255, 255, 0.12);
  box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.16), 0 0px 2px 0 rgba(255, 255, 255, 0.12);
  background-color: transparent;
  border-color: transparent;
  margin-bottom: 20px;
  height: 50px;
  line-height: 50px;
}

.form-control:focus {
  -webkit-box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.16), 0 0px 2px 0 rgba(255, 255, 255, 0.12);
  box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.16), 0 0px 2px 0 rgba(255, 255, 255, 0.12);
  background-color: transparent;
}

.p-200 {
  padding: 0 200px;
}

.img-overlay {
  background-image: url(../images/footer-bg.png);
  background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
  margin: 0 ;
  background-position: center center;
}

.image-bg {
  background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
  margin: 0 auto;
  background-position: center center;
}


.home-2-img {
  background-image: url(../images/fondo.svg);
}

.featured-img-one {
  background-image: url(../images/Proyectos_destacados.gif);
}


.featured-img-two {
  background-image: url(../images/extra-feature-bg.jpg);
}

.map-image {
  background-image: url(../images/map-color-overlay.png);
}

.mt-30 {
  margin-top: 30px;
}

button {
  outline: 0;
}

button:hover {
  outline: 0;
}

button:focus {
  outline: 0;
}

.btn {
  outline: 0;
}

.btn:hover {
  outline: 0;
}

.btn:focus {
  outline: 0;
}

.round-image {
  border-radius: 50%;
}

.form-control {
  padding: 20px;
  -webkit-box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
}

.form-control:focus {
  -webkit-box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  border-color: transparent;
}

.contact-message {
  -webkit-box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  background-color: transparent;
  border-color: transparent;
  margin-bottom: 20px;
  width: 100%;
  padding: 20px;
  outline: 0;
}

.contact-message:focus {
  -webkit-box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  border-color: transparent;
}

.mh-black-overlay {
  background-color: rgba(0, 0, 0, 0.7);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

/** 
 * -----------------
 * General CSS
 * -----------------
 */
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
}

.white-vertion.black-bg {
  background-color: #fff;
}

.white-vertion .single-comment {
  margin-bottom: 10px;
  margin-top: 20px;
  padding: 20px 10px;
}

.white-vertion .blog-form-inner .contact-message, .white-vertion .blog-form-inner .form-control {
  -webkit-box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  box-shadow: 0 0px 2px 0 rgba(74, 71, 71, 0.8), 0 0px 1px 1px rgba(241, 241, 241, 0.8);
}

.white-vertion .section-loader {
  background: #fff;
}

.white-vertion ::-webkit-input-placeholder {
  color: var(--input-placeholder);
}

.white-vertion :-ms-input-placeholder {
  color: var(--input-placeholder);
}

.white-vertion ::-ms-input-placeholder {
  color: var(--input-placeholder);
}

.white-vertion ::placeholder {
  color: var(--input-placeholder);
}

.white-vertion a {
  color: #000;
}

.white-vertion h2 {
  color: #000;
}

.white-vertion h3 {
  color: #000;
}

.white-vertion h4 {
  color: #000;
}

.white-vertion h5 {
  color: #000;
}

.white-vertion h6 {
  color: #000;
}

.white-vertion p {
  color: #000;
}

.white-vertion address {
  color: #000;
}

.white-vertion span {
  color: #000;
}

.white-vertion ul li {
  color: #000;
}

.white-vertion div {
  color: #000;
}

.white-vertion .form-control {
  color: #fff;
}

.white-vertion .contact-message {
  color: #fff;
}

.white-vertion .nav-strict {
  background-color: #fff;
}

.white-vertion.home-video .img-color-overlay {
  background-color: rgba(255, 255, 255, 0.4);
}

.white-vertion .img-color-overlay {
  background-color: rgba(255, 255, 255, 0.8);
}

.white-vertion .img-color-overlay-proyects {
  background-color: rgba(255, 255, 255, 0.75);
}


.white-vertion .dark-bg {
  background-color: #fff;
}

.white-vertion .mh-home .mh-header-info .mh-promo span {
  color: #fff;
}

.white-vertion .mh-project-gallery .grid-item figure figcaption a {
  color: #fff;
}

.white-vertion .mh-project-gallery .grid-item figure figcaption .title {
  color: #fff;
}

.white-vertion .mh-project-gallery .grid-item figure figcaption .sub-title {
  color: #fff;
}

.white-vertion .mh-portfolio-modal {
  background: #fff;
}

.white-vertion .page-item.active .page-link {
  background-color: #fff;
  color: #0bceaf;
}

.white-vertion .page-item .page-link {
  border-color: #000;
}

.white-vertion .navbar-toggler .icon,
.white-vertion .navbar-toggler .icon::after,
.white-vertion .navbar-toggler .icon::before {
  background-color: #000;
}

.white-vertion .mh-header .navbar-nav li a {
  color: #000;
  opacity: 0.8;
}

.white-vertion .mh-home .mh-header-info .social-icon li .fa:hover {
  background-color: #000;
}

.white-vertion h1, .white-vertion h2, .white-vertion h3, .white-vertion h4, .white-vertion h5, .white-vertion h6, .white-vertion p, .white-vertion address, .white-vertion span, .white-vertion q {
  opacity: 0.8;
}

.white-vertion .mh-header .navbar-nav li.active a {
  padding-right: 0;
  padding-left: 0;
  border-color: #000;
}

.white-vertion .mh-header.nav-3 .navbar-nav li.active a {
  border-color: transparent;
}

.white-vertion .mh-footer .form-control {
  -webkit-box-shadow: 0 0px 1px 0 rgba(40, 40, 40, 0.8), 0 0px 1px 0px rgba(40, 40, 40, 0.8);
  box-shadow: 0 0px 1px 0 rgba(40, 40, 40, 0.8), 0 0px 1px 0px rgba(40, 40, 40, 0.8);
  color: #000;
}

.white-vertion .mh-footer .form-control:focus {
  -webkit-box-shadow: 0 0px 1px 0 rgba(40, 40, 40, 0.8), 0 0px 1px 0px rgba(40, 40, 40, 0.8);
  box-shadow: 0 0px 1px 0 rgba(40, 40, 40, 0.8), 0 0px 1px 0px rgba(40, 40, 40, 0.8);
}

.white-vertion .mh-footer .contact-message {
  -webkit-box-shadow: 0 0px 1px 0 rgba(40, 40, 40, 0.8), 0 0px 1px 0px rgba(40, 40, 40, 0.8);
  box-shadow: 0 0px 1px 0 rgba(40, 40, 40, 0.8), 0 0px 1px 0px rgba(40, 40, 40, 0.8);
  color: #000;
}

/* ========================================
   CORRECCIONES DE COLOR PARA WHITE-VERTION
   ======================================== */

/* Skills Section - Soft Skills h5 */
.white-vertion .soft-skill-header h5 {
  color: #333 !important;
}

.white-vertion .skill-card-soft p {
  color: #666 !important;
}

/* Timeline Section - h4 titles */
.white-vertion .timeline-content h4 {
  color: #222 !important;
}

.white-vertion .timeline-content p {
  color: #555 !important;
}

/* Portfolio Modal - paragraphs */
.white-vertion .mh-portfolio-modal-img p {
  color: #444 !important;
}

/* Timeline Year badge */
.white-vertion .timeline-year {
  background: #0bceaf;
  color: #fff !important;
}

/* Institution links */
.white-vertion .institution-link {
  color: #0bceaf !important;
}

.white-vertion .institution-link:hover {
  color: #099d89 !important;
}

.white-vertion .company-name-link {
  color: #0bceaf !important;
}

.white-vertion .timeline-year-inline {
  color: #999 !important;
}

.white-vertion .company-logo-wrap {
  border-color: rgba(11, 206, 175, 0.4);
  background: rgba(0,0,0,0.05);
}

.white-vertion .timeline-content h4 {
  color: #333 !important;
}

.white-vertion .timeline-summary-detail {
  color: #666 !important;
  border-bottom-color: rgba(0,0,0,0.08);
}

/* Timeline content — fondo transparente en ambos temas; hereda
   del outer .timeline-item unificado. La flecha (::before) se
   pinta con el token compartido. */
.white-vertion .timeline-content,
.dark-vertion .timeline-content {
  background-color: transparent;
}

.white-vertion .timeline-content::before,
.white-vertion .timeline-content:hover::before,
.dark-vertion .timeline-content::before,
.dark-vertion .timeline-content:hover::before {
  border-right-color: var(--bg-elevated);
}

/* Timeline dot border */
.white-vertion .timeline-dot {
  border-color: #f5f5f5;
}

/* Timeline scroll indicator - sombra más sutil para modo claro */
.white-vertion .timeline-scroll-container::after {
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.95));
  height: 30px;
}


/* Responsibility label */
.white-vertion .responsibility-label {
  color: #666 !important;
}

/* Work responsibility list */
.white-vertion .work-responsibility li {
  color: #555 !important;
}

/* Skills cards */
.white-vertion .skill-card {
  background: #f9f9f9;
  color: #333;
}

.white-vertion .skill-card h4 {
  color: #222 !important;
}

/* Portfolio Modal - Lista items */
.white-vertion .mh-portfolio-modal-img ul li {
  color: #444 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.white-vertion .mh-portfolio-modal-img ul li strong {
  color: #0bceaf !important;
}

/* Portfolio Modal - Background */
.white-vertion .mh-portfolio-modal-img {
  background: #fff;
}


.white-vertion .mh-footer .contact-message:focus {
  -webkit-box-shadow: 0 0px 1px 0 rgba(40, 40, 40, 0.8), 0 0px 1px 0px rgba(40, 40, 40, 0.8);
  box-shadow: 0 0px 1px 0 rgba(40, 40, 40, 0.8), 0 0px 1px 0px rgba(40, 40, 40, 0.8);
}

.white-vertion .mh-footer-2 .form-control {
  -webkit-box-shadow: 0 0px 1px 0 rgba(40, 40, 40, 0.8), 0 0px 1px 0px rgba(40, 40, 40, 0.8);
  box-shadow: 0 0px 1px 0 rgba(40, 40, 40, 0.8), 0 0px 1px 0px rgba(40, 40, 40, 0.8);
}

.white-vertion .mh-footer-2 .form-control:focus {
  -webkit-box-shadow: 0 0px 1px 0 rgba(40, 40, 40, 0.8), 0 0px 1px 0px rgba(40, 40, 40, 0.8);
  box-shadow: 0 0px 1px 0 rgba(40, 40, 40, 0.8), 0 0px 1px 0px rgba(40, 40, 40, 0.8);
}

.white-vertion .mh-footer-2 .contact-message {
  -webkit-box-shadow: 0 0px 1px 0 rgba(40, 40, 40, 0.8), 0 0px 1px 0px rgba(40, 40, 40, 0.8);
  box-shadow: 0 0px 1px 0 rgba(40, 40, 40, 0.8), 0 0px 1px 0px rgba(40, 40, 40, 0.8);
}

.white-vertion .mh-footer-2 .contact-message:focus {
  -webkit-box-shadow: 0 0px 1px 0 rgba(40, 40, 40, 0.8), 0 0px 1px 0px rgba(40, 40, 40, 0.8);
  box-shadow: 0 0px 1px 0 rgba(40, 40, 40, 0.8), 0 0px 1px 0px rgba(40, 40, 40, 0.8);
}

.white-vertion .mh-blog .mh-blog-item .blog-inner h2 a {
  color: #202026;
}

.white-vertion .shadow-1 {
  -webkit-box-shadow: 0px 10px 20px 4px #00000015;
          box-shadow: 0px 10px 20px 4px #00000015;
}

.white-vertion .mh-pricing .mh-pricing {
  -webkit-box-shadow: 0px 10px 20px 4px #00000015;
          box-shadow: 0px 10px 20px 4px #00000015;
}

.white-vertion .mh-blog .mh-blog-item {
  -webkit-box-shadow: 0px 10px 20px 4px #00000015;
          box-shadow: 0px 10px 20px 4px #00000015;
}

.white-vertion .mh-experince .mh-education-deatils .mh-education-item {
  -webkit-box-shadow: 0px 10px 20px 4px #00000015;
          box-shadow: 0px 10px 20px 4px #00000015;
}

.white-vertion .mh-work .mh-experience-deatils .mh-work-item {
  -webkit-box-shadow: 0px 10px 20px 4px #00000015;
          box-shadow: 0px 10px 20px 4px #00000015;
}

.white-vertion .mh-testimonial .mh-client-item {
  -webkit-box-shadow: 0px 10px 20px 4px #00000015;
          box-shadow: 0px 10px 20px 4px #00000015;
}

.white-vertion.home-slider .mh-home .img-border {
  border: 20px solid rgba(0, 0, 0, 0.52);
}

.white-vertion.home-slider .mh-home .img-border {
  border-color: rgba(0, 0, 0, 0.62);
}

.white-vertion.home-slider .mh-home .hero-img img {
  border-color: rgba(0, 0, 0, 0.4);
}

.white-vertion.home-slider .img-color-overlay {
  background-color: rgba(255, 247, 247, 0.6);
}

.white-vertion.home-slider .mh-black-header .img-color-overlay {
  background-color: rgba(0, 0, 0, 0.6);
}

.white-vertion.home-slider .mh-black-header h2, .white-vertion.home-slider .mh-black-header h4, .white-vertion.home-slider .mh-black-header ul li, .white-vertion.home-slider .mh-black-header a, .white-vertion.home-slider .mh-black-header address {
  color: #fff;
}

.white-vertion.home-video .mh-black-header .img-color-overlay {
  background-color: rgba(0, 0, 0, 0.7);
}

.white-vertion.home-video .mh-black-header h2, .white-vertion.home-video .mh-black-header h4, .white-vertion.home-video .mh-black-header ul li, .white-vertion.home-video .mh-black-header a, .white-vertion.home-video .mh-black-header address {
  color: #fff;
  opacity: 0.9;
}

.white-vertion .mh-header.white-header.nav-strict .navbar-nav li a {
  color: #000;
}

.white-vertion .mh-header.white-header.nav-strict .navbar-nav li.active a {
  border-color: #000;
}

.white-vertion .mh-header.white-header .navbar-nav li a {
  color: #fff;
  opacity: 0.9;
}

.white-vertion .mh-header.white-header .navbar-nav li.active a {
  border-color: #fff;
}

.dark-vertion {
  opacity: 0.9;
}

.dark-vertion.black-bg {
  background-color: #100e17;
}

.dark-vertion .section-loader {
  background: #100e17;
}

.dark-vertion ::-webkit-input-placeholder {
  color: var(--input-placeholder);
}

.dark-vertion :-ms-input-placeholder {
  color: var(--input-placeholder);
}

.dark-vertion ::-ms-input-placeholder {
  color: var(--input-placeholder);
}

.dark-vertion ::placeholder {
  color: var(--input-placeholder);
}

.dark-vertion a {
  color: #fff;
}

.dark-vertion h2 {
  color: #fff;
}

.dark-vertion h3 {
  color: #fff;
}

.dark-vertion h4 {
  color: #fff;
}

.dark-vertion h5 {
  color: #fff;
}

.dark-vertion h6 {
  color: #fff;
}

.dark-vertion p {
  color: #fff;
}

.dark-vertion address {
  color: #fff;
}

.dark-vertion span {
  color: #fff;
}

.dark-vertion div {
  color: #fff;
}

.dark-vertion ul li {
  color: #fff;
}

.dark-vertion .form-control {
  color: #fff;
}

.dark-vertion .contact-message {
  color: #fff;
}

.dark-vertion .nav-strict {
  background-color: #202026;
}

.dark-vertion.home-video .img-color-overlay {
  background-color: rgba(0, 0, 0, 0.7);
}

.dark-vertion .img-color-overlay {
  background-color: rgba(0, 0, 0, 0.25);
}

.dark-vertion .img-color-overlay-proyects {
  background-color: rgba(0, 0, 0, 0.9);
}

.dark-vertion .mh-home .mh-header-info .social-icon li .fa:hover {
  background-color: #fff;
}

.dark-vertion .page-item.active .page-link {
  background-color: #fff;
  border-color: #fff;
  color: #0bceaf;
}

.dark-vertion .navbar-toggler .icon,
.dark-vertion .navbar-toggler .icon::after,
.dark-vertion .navbar-toggler .icon::before {
  background-color: #fff;
}

.dark-vertion .mh-header .navbar-nav li.active a {
  border-color: #fff;
  padding-right: 0;
  padding-left: 0;
}

.dark-vertion .mh-header.nav-3 .navbar-nav li.active a {
  border-color: transparent;
}

.dark-vertion .mh-footer .form-control {
  -webkit-box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
}

.dark-vertion .mh-footer .form-control:focus {
  -webkit-box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
}

.dark-vertion .mh-footer .contact-message {
  -webkit-box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
}

.dark-vertion .mh-footer .contact-message:focus {
  -webkit-box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
}

.dark-vertion .mh-footer-2 .form-control {
  -webkit-box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
}

.dark-vertion .mh-footer-2 .form-control:focus {
  -webkit-box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
}

.dark-vertion .mh-footer-2 .contact-message {
  -webkit-box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
}

.dark-vertion .mh-footer-2 .contact-message:focus {
  -webkit-box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
}

.dark-vertion .mh-work .mh-experience-deatils .mh-work-item {
  -webkit-box-shadow: -1rem 0 3rem #000;
  box-shadow: -1rem 0 3rem #000;
}

.dark-vertion .mh-pricing .mh-pricing {
  -webkit-box-shadow: -1rem 0 3rem #000;
  box-shadow: -1rem 0 3rem #000;
}

.dark-vertion .mh-blog .mh-blog-item {
  -webkit-box-shadow: -1rem 0 3rem #000;
  box-shadow: -1rem 0 3rem #000;
}

.dark-vertion .mh-footer-address .mh-address-footer-item {
  -webkit-box-shadow: -1rem 0 3rem #000;
  box-shadow: -1rem 0 3rem #000;
}

.dark-vertion .mh-experince .mh-education-deatils .mh-education-item {
  -webkit-box-shadow: -1rem 0 3rem #000;
  box-shadow: -1rem 0 3rem #000;
}

.dark-vertion .mh-service .mh-service-item {
  -webkit-box-shadow: -1rem 0 3rem #000;
  box-shadow: -1rem 0 3rem #000;
}

.dark-vertion .mh-home .hero-img img {
  border: 20px solid rgba(0, 0, 0, 0.4);
}

.dark-vertion .mh-home .img-border {
  border: 20px solid rgba(0, 0, 0, 0.9);
}

.dark-vertion .candidatos .parcial .progressBar {
  background: rgba(199, 198, 198, 0.6);
}

.dark-vertion .mh-progress path:nth-child(1) {
  stroke: rgba(255, 255, 255, 0.5);
}

.dark-vertion.home-slider .mh-home .img-border {
  border-color: rgba(255, 255, 255, 0.52);
}

.dark-vertion.home-slider .mh-home .hero-img img {
  border-color: rgba(255, 255, 255, 0.4);
}

.home-slider .mh-home .img-border {
  border: 20px solid rgba(0, 0, 0, 0.52);
}

.home-slider .img-color-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 9;
  position: relative;
}

.home-video .mh-home .img-border {
  border: 20px solid rgba(0, 0, 0, 0.52);
}

.mh-rtl {
  text-align: right;
}

.mh-rtl .mh-work .mh-experience-deatils
.mh-work-item .work-responsibility
li .fa {
  margin-left: 10px;
}

.mh-rtl .mh-blog-post-info ul li strong {
  margin-left: 6px;
}

.mh-rtl .mh-footer .form-control {
  text-align: right;
}

.mh-rtl .mh-footer .contact-message {
  text-align: right;
}

/*
    ==============
    Navigation
    ==============
*/
/*---------------------------------------------------------------------*/
/* Loader 
/*---------------------------------------------------------------------*/
.section-loader {
  position: fixed;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
  height: 100vh;
  z-index: 9999999;
}

.section-loader .loader {
  position: relative;
}

.section-loader .loader div {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  position: absolute;
  border-width: 4px;
  border-style: solid;
  opacity: 1;
  border-radius: 50%;
  -webkit-animation: loader 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  animation: loader 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.section-loader .loader div:nth-child(1) {
  border-color: #E91E63;
}

.section-loader .loader div:nth-child(2) {
  border-color: #0dbda1;
  -webkit-animation-delay: -0.5s;
  animation-delay: -0.5s;
}

.section-loader .loader {
  width: 200px !important;
  height: 200px !important;
  -webkit-transform: translate(-100px, -100px) scale(1) translate(100px, 100px);
  transform: translate(-100px, -100px) scale(1) translate(100px, 100px);
}

@keyframes loader {
  0% {
    top: 94px;
    left: 94px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 57px;
    left: 57px;
    width: 74px;
    height: 74px;
    opacity: 0;
  }
}

@-webkit-keyframes loader {
  0% {
    top: 94px;
    left: 94px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 57px;
    left: 57px;
    width: 74px;
    height: 74px;
    opacity: 0;
  }
}

/*
    ==============
       Navigation
    ==============
*/
.mh-nav {
  width: 100%;
}

.mh-header {
  padding: 10px 0;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.mh-header.nav-strict {
  padding: 10px 0;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.mh-header .navbar-nav li {
  margin: 0 20px;
}

.mh-header .navbar-nav li a {
  border-bottom: 1px solid transparent;
  font-weight: bold;
  font-family: "roboto", sans-serif;
  font-size: 18px;
  opacity: 1;
  line-height: 30px;
}

.mh-header .navbar-nav li a.nav-link {
  padding-left: 0;
  padding-right: 0;
}

.mh-header .navbar-nav li a:hover {
  color: #0bceaf;
}

.nav-3 .navbar-dark .navbar-nav .nav-link a {
  color: rgba(255, 255, 255, 0.7);
}

.nav-3 .navbar-dark .navbar-nav .nav-link.active a {
  color: rgba(255, 255, 255, 0.7);
}

.nav-3 .navbar-nav {
  padding-top: 30px;
}

.home-padding {
  padding: 180px 0;
}

/*
    ==============
       Navigation
    ==============
*/
.mh-home-2 .mh-header-info {
  text-align: center;
  padding-top: 100px;
}

.mh-home-2 .mh-header-info .hero-img {
  margin-bottom: 30px;
}

.mh-home-2 .mh-header-info .hero-img img {
  border: 0px solid #fff;
  border-radius: 50%;
}

.mh-home-2 .mh-header-info h2 {
  font-size: 50px;
  font-weight: 600;
  line-height: 60px;
  margin-top: 10px;
  margin-bottom: 0px;
  opacity: 0.9;
}

.mh-home-2 .mh-header-info h4 {
  font-size: 18px;
  line-height: 30px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.mh-home-2 .mh-header-info p {
  padding: 0 120px;
  font-weight: 300;
}

.mh-home-2 .mh-header-info ul li {
  margin: 10px 6px;
}

.mh-home-2 .mh-header-info ul.mh-home-contact {
  margin-bottom: 15px;
}

.mh-home-2 .mh-header-info ul.mh-home-contact li {
  display: inline-block;
  margin: 10px 15px;
}

.mh-home-2 .mh-header-info ul.mh-home-contact li .fa {
  margin-right: 10px;
}

.mh-home-2 .mh-header-info ul.mh-home-contact li:hover .fa {
  color: #0bceaf;
}

.mh-home-2 .mh-header-info .mh-about-tag {
  width: 60%;
  margin: 0 auto;
}

.mh-home-2 .mh-header-info .mh-about-tag ul li {
  margin: 6px;
}

/*
    ==============
       HOME
    ==============
*/
.mh-home .mh-header-info {
  padding-top: 100px;
}

.mh-home .mh-header-info .mh-promo {
  margin-bottom: 30px;
}

.mh-home .mh-header-info .mh-promo span {
  background-color: #0bceaf;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 1px;
  font-weight: bold;
  padding: 10px 30px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 0px;
}

.mh-home .mh-header-info h2 {
  font-size: 60px;
  font-weight: 600;
  line-height: 65px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.mh-home .mh-header-info h4 {
  font-size: 26px;
  line-height: 34px;
  margin-bottom: 30px;
}

.mh-home .mh-header-info ul {
  margin-top: 20px;
}

.mh-home .mh-header-info ul li {
  margin: 10px 0;
}

.mh-home .mh-header-info ul li .fa {
  margin-right: 15px;
  display: inline-block;
}

.mh-home .mh-header-info ul li address {
  display: inline-block;
}

.mh-home .mh-header-info ul li:hover .fa {
  color: #0bceaf;
}

.mh-home .mh-header-info .social-icon {
  margin-top: 0;
}

.mh-home .mh-header-info .social-icon li .fa {
  font-size: 18px;
  line-height: 30px;
  padding: 4px 14px;
  margin-right: 10px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  border-radius: 3px;
}

.mh-home .mh-header-info .social-icon li .fa:hover {
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.mh-home .mh-header-info .social-icon li a {
  font-size: 25px;
  text-align: center;
  width: 30px;
  height: 30px;
  padding: 0;
  margin-right: 0;
  border-radius: 50%;
}

.mh-home .hero-img {
  margin: 0 auto;
  float: none;
  margin-top: 30px;
  text-align: center;
}

.mh-home .hero-img img {
  margin: 0 auto;
  float: none;
  text-align: center;
  border: 20px solid rgba(0, 0, 0, 0.17);
  border-radius: 50%;
}

.mh-home .img-border {
  height: 400px;
  width: 400px;
  border: 20px solid rgba(0, 0, 0, 0.07);
  margin: 0 auto;
  border-radius: 50%;
}

.mh-featured-project-img img {
  width: inherit !important;
  margin: 0 auto;
}

.mh-single-project-slide-by-side {
  margin: 0 auto;
}

/*
    ==============
       ABOUT
    ==============
*/

/* Make the row stretch columns equally */
.mh-about .section-separator {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

/* Image column fills full height */
.mh-about .col-md-6:first-child {
  display: flex;
}

.mh-about .mh-about-img {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 4px;
}

.mh-about .mh-about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* On small screens, let image be natural height */
@media (max-width: 767px) {
  .mh-about .section-separator {
    flex-direction: column;
  }
  .mh-about .mh-about-img {
    max-height: 400px;
    margin-bottom: 30px;
  }
}

.mh-about .mh-about-inner {
  padding-left: 50px;
}

.mh-about .mh-about-inner h2 {
  margin-bottom: 20px;
  margin-top: 20px;
}

.mh-about .mh-about-inner p {
  margin-bottom: 30px;
}

.mh-about .mh-about-inner .btn {
  margin-top: 20px;
}

.mh-about .mh-about-inner .btn .fa {
  margin-left: 10px;
}

.mh-about-tag {
  word-break: break-all;
  margin-bottom: 10px;
  margin-top: 10px;
}

.mh-about-tag ul li {
  margin: 0px 6px;
  border-radius: 4px;
  margin-bottom: 10px;
  padding: 4px 0px;
  display: inline-block;
}

.mh-about-tag ul li span {
  border: 1px solid #0bceaf;
  padding: 4px 10px;
  border-radius: 4px;
}

.mh-about-tag ul li span:hover {
  background-color: transparent !important;
}

/*
    ==============
       SKILLS
    ==============
*/
.mh-skills .mh-professional-skill {
  padding-right: 60px;
}

.mh-skills .mh-professional-skill h3 {
  font-size: 30px;
  line-height: 40px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 60px;
}

.mh-professional-skills {
  padding-left: 20%;
}

.mh-professional-skills h3 {
  font-size: 30px;
  line-height: 40px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 60px;
}

.mh-professional-progress li {
  display: inline-block;
  margin: 0 auto;
  float: none;
  width: 48%;
  margin-bottom: 30px;
  text-align: center;
}

.mh-progress {
  margin-bottom: 10px;
  font: 900 1.1428571429em/1 Cinzel, cursive;
}

.mh-progress .progressbar-text {
  color: inherit !important;
}

.progress.progress-line {
  height: 10px;
  margin-right: 60px;
}

.progress.progress-line .progressbar-text {
  position: absolute;
  top: 50%;
  left: 100%;
  width: 60px;
  -webkit-transform: translateY(-35%);
  transform: translateY(-35%);
  text-align: center;
}

.mh-progress.mh-progress-circle {
  display: inline-block;
  width: 100px;
  height: 100px;
}

.mh-progress path:nth-child(1) {
  stroke: rgba(0, 0, 0, 0.7);
}

.mh-progress path:nth-child(2) {
  stroke: #0bceaf;
}

.candidatos {
  position: relative;
  margin-bottom: 15px;
}

.candidatos .parcial {
  display: inline-block;
  width: 100%;
  vertical-align: middle;
}

.candidatos .parcial .info {
  position: relative;
}

.candidatos .parcial .info .nome {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 15px;
  font-weight: 600;
  opacity: 0.9;
}

.candidatos .parcial .info .eleito, .candidatos .parcial .info .segundo-turno {
  padding: 0 5px 2px 5px;
  border-radius: 2px;
}

.candidatos .parcial .info .percentagem-num {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 14px;
  font-weight: normal;
}

.candidatos .parcial .progressBar {
  position: relative;
  width: 100%;
  height: 7px;
  margin: 30px 0 2px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.5);
}

.candidatos .parcial .percentagem {
  position: absolute;
  top: 0;
  left: 0;
  height: 7px;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  background: #0bceaf;
  -webkit-transition: 3s all;
  -webkit-animation-duration: 3s;
  -webkit-animation-name: animationProgress;
}

.candidatos .parcial .partidas {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.percentual {
  -webkit-animation-name: animationProgress;
          animation-name: animationProgress;
}

@-webkit-keyframes animationProgress {
  from {
    width: 0;
  }
}

@keyframes animationProgress {
  from {
    width: 0;
  }
}

/*
    ==============
      EXPERIENCES
    ==============
*/

/*
    ==============
      EXPERIENCES TIMELINE
    ==============
*/
.mh-experince h3 {
  font-size: 30px;
  line-height: 40px;
  font-weight: bold;
  margin-bottom: 40px;
}

/* Timeline Scroll Container - Limita la altura para mostrar ~2 tarjetas */
.timeline-scroll-container {
  max-height: 650px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 10px;
  position: relative;
}

/* Personalizar scrollbar */
.timeline-scroll-container::-webkit-scrollbar {
  width: 6px;
}

.timeline-scroll-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.timeline-scroll-container::-webkit-scrollbar-thumb {
  background: #0bceaf;
  border-radius: 10px;
  transition: background 0.3s ease;
}

.timeline-scroll-container::-webkit-scrollbar-thumb:hover {
  background: #099d89;
}

/* Timeline Wrapper - Contenedor de los items */
.timeline-wrapper {
  position: relative;
  padding-left: 40px;
}

/* Línea vertical de la timeline */
.timeline-wrapper::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #0bceaf 0%, rgba(11, 206, 175, 0.3) 100%);
}

/* Timeline Item - Cada entrada en la línea de tiempo */
.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-bottom: 10px;
}

.timeline-item:last-child {
  margin-bottom: 20px;
}

/* Timeline Dot - El punto en la línea de tiempo */
.timeline-dot {
  position: absolute;
  left: -31px;
  top: 8px;
  width: 16px;
  height: 16px;
  background: #0bceaf;
  border-radius: 50%;
  border: 3px solid #1a1a1a;
  z-index: 2;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 0 rgba(11, 206, 175, 0.4);
  animation: pulse-dot 2s infinite;
}

.timeline-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Animación del punto */
@keyframes pulse-dot {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(11, 206, 175, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(11, 206, 175, 0);
  }
}

/* Hover effect en timeline item */
.timeline-item:hover .timeline-dot {
  transform: scale(1.3);
  box-shadow: 0 0 0 4px rgba(11, 206, 175, 0.3);
}

.timeline-item:hover .timeline-dot::after {
  opacity: 1;
}

/* Timeline Content - capa interna; transparente para fundirse
   con el fondo del outer .timeline-item (sistema unificado).
   Aquí va el padding visual de la tarjeta (más compacto). */
.timeline-content {
  padding: 14px 20px;
  border-radius: 8px;
  background-color: transparent;
  box-shadow: none;
  position: relative;
  transition: transform var(--t-base);
}

/* Flecha que apunta a la línea de tiempo */
.timeline-content::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 15px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 10px 8px 0;
  border-color: transparent var(--bg-elevated) transparent transparent;
  transition: border-color var(--t-fast);
}

/* Hover effect — solo desplazamiento; la sombra la maneja el outer */
.timeline-content:hover {
  transform: translateX(5px);
}

.timeline-content:hover::before {
  border-right-color: var(--bg-elevated);
}

/* Timeline Year - Año/periodo */
.timeline-year {
  display: inline-block;
  padding: 4px 12px;
  background: #0bceaf;
  color: #fff;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

/* New: timeline header row with logo */
.timeline-header-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

/* Company logo wrapper */
.company-logo-wrap {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(11, 206, 175, 0.3);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-logo-fallback {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0bceaf, #0aa890);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Company info block (right of logo) */
.company-info {
  flex: 1;
  min-width: 0;
}

/* Company name + date on same row */
.company-name-date {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}

.company-name-link {
  font-style: normal !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #0bceaf !important;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 0 !important;
}

.company-name-link:hover {
  color: #fff !important;
}

/* Inline year badge */
.timeline-year-inline {
  font-size: 11px;
  font-weight: 500;
  color: #888;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

/* Estilos para los títulos en timeline */
.timeline-content h4 {
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  margin-bottom: 0;
  margin-top: 2px;
  color: #fff;
}

.timeline-content p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  margin-top: 12px;
  color: #bbb;
}

/* Institution Link - Enlaces a instituciones */
.institution-link {
  font-style: italic;
  font-size: 15px;
  color: #0bceaf !important;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  margin-bottom: 8px;
}

.institution-link:hover {
  color: #fff !important;
  transform: translateX(3px);
}

/* Summary detail inside collapsible */
.timeline-summary-detail {
  font-size: 13px;
  line-height: 21px;
  color: #aaa;
  margin-top: 0 !important;
  margin-bottom: 10px !important;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Responsibility Label */
.responsibility-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #999;
  margin-top: 12px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Work Responsibility List */
.work-responsibility {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.work-responsibility li {
  font-size: 14px;
  line-height: 26px;
  margin: 4px 0;
  color: #bbb;
  padding-left: 20px;
  position: relative;
}

.work-responsibility li .fa-circle {
  position: absolute;
  left: 0;
  top: 11px;
  font-size: 6px;
  color: #0bceaf;
}

/* ==============================
   COLLAPSIBLE TIMELINE DETAILS
   ============================== */

/* Summary text - always visible */
.timeline-summary {
  font-size: 14px;
  line-height: 22px;
  color: #aaa;
  margin-top: 10px;
  margin-bottom: 0;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Collapsible details container */
.timeline-details {
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, padding 0.4s ease;
  max-height: 2000px;
  opacity: 1;
  padding-top: 14px;
}

.timeline-details.collapsed {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
}

/* Clickable header */
.timeline-clickable {
  cursor: pointer;
  border-radius: 6px;
  padding: 8px 6px;
  margin: -8px -6px;
  transition: background 0.25s ease;
  user-select: none;
}

.timeline-clickable:hover {
  background: rgba(11, 206, 175, 0.06);
}

/* Chevron icon on the right */
.header-chevron {
  flex-shrink: 0;
  margin-left: auto;
  padding-left: 10px;
  color: #0bceaf;
  font-size: 12px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
  align-self: center;
}

.timeline-clickable.open .header-chevron {
  transform: rotate(180deg);
}

.timeline-clickable.open .company-logo-wrap {
  border-color: rgba(11, 206, 175, 0.6);
  box-shadow: 0 0 0 3px rgba(11, 206, 175, 0.12);
}

/* White theme overrides for collapsible */
.white-vertion .timeline-summary {
  color: #666;
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.white-vertion .timeline-clickable:hover {
  background: rgba(11, 206, 175, 0.07);
}

.white-vertion .header-chevron {
  color: #0bceaf;
}

/* Ajustes para mh-education y mh-work */
.mh-education {
  padding-right: 15px;
}

/* ==============================
   EDUCATION CARD ROW - diseño limpio dentro de tarjeta timeline
   ============================== */

.edu-card-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Logo circular */
.edu-logo-wrap {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.edu-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.edu-logo-fallback {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0bceaf, #0aa890);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Info block */
.edu-info {
  flex: 1;
  min-width: 0;
}

/* Nombre institución + año en la misma fila */
.edu-name-date {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.edu-institution-link {
  font-size: 15px;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none;
  transition: color 0.25s ease;
  line-height: 1.3;
}

.edu-institution-link:hover {
  color: #0bceaf !important;
}

.edu-year {
  font-size: 12px;
  color: #777;
  white-space: nowrap;
  flex-shrink: 0;
}

.edu-degree {
  font-size: 13px;
  color: #aaa;
  margin: 0;
  line-height: 1.4;
}

/* White theme */
.white-vertion .edu-logo-wrap {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.04);
}

.white-vertion .edu-institution-link {
  color: #222 !important;
}

.white-vertion .edu-institution-link:hover {
  color: #0bceaf !important;
}

.white-vertion .edu-year {
  color: #999;
}

.white-vertion .edu-degree {
  color: #666;
}



.mh-work {
  padding-left: 15px;
}

/* Indicador de scroll al final */
.timeline-scroll-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 10px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(26, 26, 26, 0.95));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.timeline-scroll-container:not(:hover)::after {
  opacity: 1;
}

/* Timeline en modo oscuro — el fondo lo hereda del outer .timeline-item.
   Solo ajustamos el dot para que contraste sobre el fondo de página. */
.dark-vertion .timeline-dot {
  border-color: var(--bg-page);
}

/* Responsive Design */
@media (max-width: 991px) {
  .mh-education {
    padding-right: 0;
    margin-bottom: 60px;
  }
  
  .mh-work {
    padding-left: 0;
  }
  
  .timeline-scroll-container {
    max-height: 550px;
  }
}

@media (max-width: 767px) {
  .timeline-wrapper {
    padding-left: 30px;
  }
  
  .timeline-wrapper::before {
    left: 10px;
  }
  
  .timeline-dot {
    left: -26px;
    width: 14px;
    height: 14px;
  }
  
  .timeline-content {
    padding: 20px 20px;
  }
  
  .timeline-content::before {
    left: -8px;
    border-width: 6px 8px 6px 0;
  }
  
  .timeline-scroll-container {
    max-height: 500px;
  }
  
  .timeline-year {
    font-size: 11px;
    padding: 3px 10px;
  }
}


/*
    ==============
      Portfolio
    ==============
*/
.portfolio-nav {
  margin: 0 auto;
  margin-bottom: 40px;
}

.portfolio-nav ul {
  margin: 0 auto;
  float: none;
  text-align: center;
}

.portfolio-nav ul li {
  display: inline-block;
  margin: 0 10px;
  cursor: pointer;
}

.portfolio-nav ul li:hover {
  color: #0bceaf;
}

.portfolio-nav ul li.active {
  color: #0bceaf;
}

/* 
   Los estilos de .mh-portfolio-modal están ahora al final del archivo 
   en la sección "PORTFOLIO CAROUSEL CON MODALES - ESTILOS CORREGIDOS Y OPTIMIZADOS"
*/

.mix {
  display: none;
}

/*
    ==============
       Pricing
    ==============
*/
.mh-pricing .mh-pricing {
  padding: 30px 0;
  text-align: center;
  -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  -webkit-transition: 0.3s;
  transition: 0.3s;
  margin-bottom: 30px;
  border-radius: 4px;
}

.mh-pricing .mh-pricing:hover {
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.mh-pricing .mh-pricing:hover .btn {
  -webkit-transition: 0.3s;
  transition: 0.3s;
  background-color: #0ab69a;
}

.mh-pricing .mh-pricing .fa {
  font-size: 30px;
  line-height: 36px;
  margin-bottom: 20px;
  color: #7af8e4;
}

.mh-pricing .mh-pricing h4 {
  margin-bottom: 10px;
  margin-top: 20px;
}

.mh-pricing .mh-pricing h5 {
  font-size: 36px;
  line-height: 40px;
  color: #0bceaf;
  margin-bottom: 20px;
  margin-top: 20px;
}

.mh-pricing .mh-pricing span {
  opacity: 0.8;
}

.mh-pricing .mh-pricing ul {
  margin: 30px 0;
}

.mh-pricing .mh-pricing ul li {
  margin: 2px 0;
}

.mh-pricing .mh-pricing .btn {
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

/*
    ==============
       BLOG
    ==============
*/
.mh-blog .mh-blog-item {
  -webkit-transition: 0.3s;
  transition: 0.3s;
  border-radius: 10px 10px 0px 0px;
  -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  margin-bottom: 30px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.mh-blog .mh-blog-item:hover {
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.mh-blog .mh-blog-item .blog-inner {
  padding: 0px 20px;
  padding-bottom: 30px;
}

.mh-blog .mh-blog-item .blog-inner h2 a {
  color: #fff;
}

.mh-blog .mh-blog-item .blog-inner a {
  color: #0bceaf;
}

.mh-blog .mh-blog-item img {
  margin-bottom: 30px;
}

.mh-blog .mh-blog-item h2 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
}

.mh-blog .mh-blog-item h2 a {
  color: #0bceaf;
}

.mh-blog .mh-blog-item h2 a:hover {
  color: #0ac4a7;
}

/*
    ==============
       MH VIDEO
    ==============
*/
.mh-video .each-video {
  padding-top: 30px;
  padding-bottom: 30px;
}

.mh-video .each-video p {
  margin-top: 20px;
  padding: 0 160px;
}

.mh-video .each-video .fa {
  background-color: #fff;
  border-radius: 50%;
  color: black;
  height: 40px;
  width: 40px;
  margin-top: 20px;
  line-height: 40px;
  text-align: center;
}

/*
    ==============
       QUATES
    ==============
*/
.mh-quates .each-quates {
  padding-top: 30px;
  padding-bottom: 30px;
}

.mh-quates .each-quates p {
  margin-top: 20px;
}

.mh-quates .each-quates .fa {
  background-color: #fff;
  border-radius: 50%;
  color: black;
  height: 40px;
  width: 40px;
  margin-top: 20px;
  line-height: 40px;
  text-align: center;
}

/*
    ==============
       VIDEO
    ==============
*/
.mh-video .each-video {
  padding: 30px 0;
}

.mh-video .each-video p {
  margin-top: 20px;
}

.mh-video .each-video .fa {
  background-color: #fff;
  border-radius: 50%;
  color: black;
  height: 40px;
  width: 40px;
  margin-top: 20px;
  line-height: 40px;
  text-align: center;
}

/*
    =================
       TESTIMONIAL
    =================
*/
.mh-testimonial.mh-single-testimonial .mh-client-item p {
  padding: 0 160px;
  margin: 60px 0;
}

.mh-testimonial.mh-2-testimonial .mh-client-item p {
  padding: 0 0px;
  margin: 20px 0;
}

.mh-testimonial .mh-client-item {
  margin: 0 auto;
  float: none;
  text-align: center;
  padding: 30px;
  border-radius: 4px;
  -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

.mh-testimonial .mh-client-item img {
  width: inherit;
  float: none;
  margin: 0 auto;
  border: 5px solid #0bceaf;
  margin: 0 auto;
  margin-bottom: 20px;
  border-radius: 50%;
}

.mh-testimonial .mh-client-item p {
  margin: 10px 0;
}

.mh-testimonial .mh-client-item p::before {
  content: open-quote;
  margin-right: 6px;
  font-size: 20px;
}

.mh-testimonial .mh-client-item p::after {
  content: close-quote;
  margin-left: 6px;
  font-size: 20px;
}

.mh-testimonial .mh-client-item h4 {
  font-size: 16px;
  line-height: 25px;
  margin-top: 30px;
  margin-bottom: 0;
}

.mh-testimonial .mh-client-item span {
  font-size: 14px;
  line-height: 24px;
}

.mh-testimonial .each-client-item {
  margin: 30px 20px;
}

.mh-testimonial .owl-controls .owl-nav {
  display: none !important;
}

.mh-testimonial .owl-controls .owl-dots {
  padding-left: 15px;
  margin-top: 30px;
  text-align: center;
}

.mh-testimonial .owl-controls .owl-dots .owl-dot {
  height: 15px;
  width: 15px;
  border: 1px solid #0bceaf;
  display: inline-block;
  border-radius: 50%;
  margin-right: 10px;
}

.mh-testimonial .owl-controls .owl-dots .owl-dot.active {
  background-color: #0bceaf;
}

/*
    ==============
      FOOTER ONE
    ==============
*/
.mh-footer ::-webkit-input-placeholder {
  opacity: 0.9;
}
.mh-footer :-ms-input-placeholder {
  opacity: 0.9;
}
.mh-footer ::-ms-input-placeholder {
  opacity: 0.9;
}
.mh-footer ::placeholder {
  opacity: 0.9;
}

.mh-footer .form-control {
  padding: 20px;
  -webkit-box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
}

.mh-footer .form-control:focus {
  -webkit-box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  border-color: transparent;
}

.mh-footer .contact-message {
  -webkit-box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  background-color: transparent;
  border-color: transparent;
  border-radius: 4px;
  margin-bottom: 20px;
  width: 100%;
  padding: 20px;
  outline: 0;
}

.mh-footer .contact-message:focus {
  -webkit-box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  border-color: transparent;
}

/*
    ==============
       MAP
    ==============
*/
.mh-map {
  padding: 0px;
  margin-top: 10px;
}

.mh-map #mh-map {
  height: 400px;
  width: 100%;
}

/*
    ============
    Footer Address
    ==============
*/
.mh-footer-address {
  margin-bottom: 60px;
}

.mh-footer-address .mh-address-footer-item {
  padding: 30px;
  text-align: center;
  margin-bottom: 30px;
  border-radius: 4px;
}

.mh-footer-address .mh-address-footer-item h4 {
  margin-bottom: 20px;
}

.mh-footer-address .mh-address-footer-item address {
  margin-bottom: 0;
}

.mh-footer-address .mh-address-footer-item .each-icon {
  margin-bottom: 30px;
}

.mh-footer-address .mh-address-footer-item .each-icon .fa {
  text-align: center;
  width: 100px;
  height: 100px;
  border: 1px solid;
  border-radius: 50%;
  line-height: 100px;
  font-size: 20px;
  border-color: #0bceaf;
}

/*
====================
    Subpage
====================
*/
.mh-page-title {
  padding-top: 100px;
}

.mh-page-title h2 {
  font-size: 40px;
  line-height: 46px;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 10px;
}

.nav-strict {
  z-index: 99;
  -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

.mh-fixed-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
}

/* El header debe estar SIEMPRE visible — no debe quedarse
   oculto por la animación WOW si la página carga ya scrolleada
   hacia abajo (recarga al final, llegada con #anchor, etc.) */
.mh-header.wow,
header.mh-fixed-nav.wow {
  visibility: visible !important;
  animation-name: none !important;
  -webkit-animation-name: none !important;
}

/*
====================
    FOOTER 3
====================
*/
.mh-footer-2 .form-control {
  -webkit-box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  background-color: transparent;
  border-color: transparent;
  margin-bottom: 20px;
  height: 50px;
  line-height: 50px;
}

.mh-footer-2 .form-control:focus {
  -webkit-box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  background-color: transparent;
}

.mh-footer-2 .contact-message {
  -webkit-box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
}

.mh-footer-2 .contact-message:focus {
  -webkit-box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  background-color: transparent;
}

.mh-copyright {
  margin-top: 60px;
}

/*
==================
    FOOTER 3
=================
*/
.mh-footer-3 .mh-footer-address .mh-address-footer-item {
  padding: 10px 30px;
  text-align: center;
  margin-bottom: 15px;
}

.mh-footer-3 .mh-footer-address .mh-address-footer-item h4 {
  margin-bottom: 10px;
  margin-top: 10px;
}

.mh-footer-3 .mh-footer-address .mh-address-footer-item .each-info {
  padding-left: 40px;
  text-align: left;
}

.mh-footer-3 .form-control {
  -webkit-box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  background-color: transparent;
  border-color: transparent;
  margin-bottom: 20px;
  height: 50px;
  line-height: 50px;
}

.mh-footer-3 .form-control:focus {
  -webkit-box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  background-color: transparent;
}

.mh-footer-3 .contact-message {
  -webkit-box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
}

.mh-footer-3 .contact-message:focus {
  -webkit-box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  box-shadow: 0 0px 2px 0 rgba(255, 255, 255, 0.8), 0 0px 1px 1px rgba(255, 255, 255, 0.8);
  background-color: transparent;
}

/*
===============
    Mobile Nav
==============
*/
.old {
  /*==============
                Overlay            
      ================== */
  /*  Navigation Menu */
}

.old .navbar-collapse {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 320px;
  left: 0;
  z-index: 990;
  margin-top: 0px;
  padding: 0;
  background-color: #0bceaf;
  transform: translateX(-100%) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -o-transform: translateX(-100%) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -ms-transform: translateX(-100%) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -moz-transform: translateX(-100%) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -webkit-transform: translateX(-100%) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -webkit-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-y: none;
}

.old .navbar-collapse.show {
  transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -o-transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -ms-transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -moz-transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -webkit-transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
}

.old .collapse {
  display: block;
}

.old .navbar-fixed-bottom .navbar-collapse,
.old .navbar-fixed-top .navbar-collapse {
  max-height: inherit;
}

.old .navbar-header {
  position: fixed;
  z-index: 999;
  width: 100%;
  margin-top: 0px;
  left: 0;
}

.old .navbar-toggler .icon {
  transform: translateX(-50%) translateY(-50%) translateZ(0) rotate(0deg) scale(1);
  -o-transform: translateX(-50%) translateY(-50%) translateZ(0) rotate(0deg) scale(1);
  -ms-transform: translateX(-50%) translateY(-50%) translateZ(0) rotate(0deg) scale(1);
  -moz-transform: translateX(-50%) translateY(-50%) translateZ(0) rotate(0deg) scale(1);
  -webkit-transform: translateX(-50%) translateY(-50%) translateZ(0) rotate(0deg) scale(1);
}

.old .navbar-toggler .icon,
.old .navbar-toggler .icon::after,
.old .navbar-toggler .icon::before {
  width: 22px;
  height: 2px;
  position: absolute;
  background-color: #fff;
  border-radius: 2px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.old .navbar-toggler .icon::after,
.old .navbar-toggler .icon::before {
  content: '';
  top: 0;
  right: 0;
  -webkit-transition: all 0.6s ease-out;
  transition: all 0.6s ease-out;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.old .navbar-toggler .icon::after {
  transform: translateX(0) translateY(6px) translateZ(0) rotate(0deg) scale(1);
  -o-transform: translateX(0) translateY(6px) translateZ(0) rotate(0deg) scale(1);
  -ms-transform: translateX(0) translateY(6px) translateZ(0) rotate(0deg) scale(1);
  -moz-transform: translateX(0) translateY(6px) translateZ(0) rotate(0deg) scale(1);
  -webkit-transform: translateX(0) translateY(6px) translateZ(0) rotate(0deg) scale(1);
}

.old .navbar-toggler .icon::before {
  transform: translateX(0) translateY(-6px) translateZ(0) rotate(0deg) scale(1);
  -o-transform: translateX(0) translateY(-6px) translateZ(0) rotate(0deg) scale(1);
  -ms-transform: translateX(0) translateY(-6px) translateZ(0) rotate(0deg) scale(1);
  -moz-transform: translateX(0) translateY(-6px) translateZ(0) rotate(0deg) scale(1);
  -webkit-transform: translateX(0) translateY(-6px) translateZ(0) rotate(0deg) scale(1);
}

.old .navbar-toggler.active .icon::after {
  transform: translateX(0) translateY(0) translateZ(0) rotate(138deg) scale(1);
  -o-transform: translateX(0) translateY(0) translateZ(0) rotate(138deg) scale(1);
  -ms-transform: translateX(0) translateY(0) translateZ(0) rotate(138deg) scale(1);
  -moz-transform: translateX(0) translateY(0) translateZ(0) rotate(138deg) scale(1);
  -webkit-transform: translateX(0) translateY(0) translateZ(0) rotate(138deg) scale(1);
}

.old .navbar-toggler.active .icon::before {
  transform: translateX(0) translateY(0) translateZ(0) rotate(-135deg) scale(1);
  -o-transform: translateX(0) translateY(0) translateZ(0) rotate(-135deg) scale(1);
  -ms-transform: translateX(0) translateY(0) translateZ(0) rotate(-135deg) scale(1);
  -moz-transform: translateX(0) translateY(0) translateZ(0) rotate(-135deg) scale(1);
  -webkit-transform: translateX(0) translateY(0) translateZ(0) rotate(-135deg) scale(1);
}

.old .navbar-toggler.active .icon::after,
.old .navbar-toggler.active .icon::before {
  background-color: #fff;
}

.old .navbar-toggler.active .icon {
  background-color: transparent;
}

.old .navbar-toggler:focus {
  outline: 0 !important;
}

.old .strict {
  background-color: rgba(0, 0, 0, 0.9);
  padding-bottom: 65px;
}

.old .navbar-toggler {
  padding: 15px;
  margin-right: 15px;
  margin-left: 20%;
  margin-top: 15px;
  z-index: 1000;
  -webkit-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: block;
}

.old .navbar-header .navbar-toggler .icon-bar {
  background-color: #0bceaf;
  -webkit-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.old .navbar-header .navbar-toggler.active .icon-bar {
  background-color: #fff;
}

.old .overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 3;
}

.old .overlay.active {
  display: block;
}

.old .navbar-collapse {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 320px;
  left: 0;
  z-index: 990;
  margin-top: 0px;
  padding: 0;
  background-color: #0bceaf;
  transform: translateX(-100%) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -o-transform: translateX(-100%) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -ms-transform: translateX(-100%) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -moz-transform: translateX(-100%) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -webkit-transform: translateX(-100%) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -webkit-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-y: none;
}

.old .navbar-collapse .nav {
  margin-top: 75px;
  border-top: 1px solid;
  border-top-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
}

.old .navbar-collapse .nav li {
  text-align: center;
  margin-bottom: 0px;
  width: 100%;
  display: block;
  -webkit-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-transform: translate3d(-20px, -10px, 0);
          transform: translate3d(-20px, -10px, 0);
}

.old .navbar-collapse .nav li a {
  background-color: transparent;
  text-transform: uppercase;
  font-size: 17px;
  line-height: 26px;
}

.old .navbar-collapse .nav li a:hover {
  color: white !important;
  background: transparent;
}

.old .navbar-collapse .nav li a.active {
  color: #fff;
}

.old .navbar-collapse .nav li.active {
  color: #fff;
}

.old .navbar-collapse.active {
  transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -o-transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -ms-transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -moz-transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -webkit-transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
}

.old .collapse.in {
  background-color: rgba(0, 0, 0, 0.9);
}

.old .navbar-dark .navbar-toggler {
  border-color: transparent;
}

.old .navbar-dark .navbar-toggler-icon {
  background-image: inherit;
}

.new {
  z-index: 99;
  /*-------------------------------*/
  /*            Overlay            */
  /*-------------------------------*/
  /*  Navigation Menu */
}

.new .nav-btn .navbar-toggler.active {
  display: none;
}

.new .navbar-collapse {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 320px;
  left: 0;
  z-index: 990;
  margin-top: 0px;
  padding: 0;
  background-color: #0bceaf;
  transform: translateX(-100%) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -o-transform: translateX(-100%) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -ms-transform: translateX(-100%) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -moz-transform: translateX(-100%) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -webkit-transform: translateX(-100%) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -webkit-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-y: none;
}

.new .navbar-collapse.active {
  transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -o-transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -ms-transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -moz-transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -webkit-transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
}

.new .collapse {
  display: block;
}

.new .navbar-fixed-bottom .navbar-collapse,
.new .navbar-fixed-top .navbar-collapse {
  max-height: inherit;
}

.new .navbar-header {
  position: fixed;
  z-index: 999;
  width: 100%;
  margin-top: 0px;
  left: 0;
}

.new .navbar-toggler .icon {
  transform: translateX(-50%) translateY(-50%) translateZ(0) rotate(0deg) scale(1);
  -o-transform: translateX(-50%) translateY(-50%) translateZ(0) rotate(0deg) scale(1);
  -ms-transform: translateX(-50%) translateY(-50%) translateZ(0) rotate(0deg) scale(1);
  -moz-transform: translateX(-50%) translateY(-50%) translateZ(0) rotate(0deg) scale(1);
  -webkit-transform: translateX(-50%) translateY(-50%) translateZ(0) rotate(0deg) scale(1);
}

.new .navbar-toggler .icon,
.new .navbar-toggler .icon::after,
.new .navbar-toggler .icon::before {
  width: 22px;
  height: 2px;
  position: absolute;
  background-color: #fff;
  border-radius: 2px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.new .navbar-toggler .icon::after,
.new .navbar-toggler .icon::before {
  content: '';
  top: 0;
  right: 0;
  -webkit-transition: all 0.6s ease-out;
  transition: all 0.6s ease-out;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.new .navbar-toggler .icon::after {
  transform: translateX(0) translateY(6px) translateZ(0) rotate(0deg) scale(1);
  -o-transform: translateX(0) translateY(6px) translateZ(0) rotate(0deg) scale(1);
  -ms-transform: translateX(0) translateY(6px) translateZ(0) rotate(0deg) scale(1);
  -moz-transform: translateX(0) translateY(6px) translateZ(0) rotate(0deg) scale(1);
  -webkit-transform: translateX(0) translateY(6px) translateZ(0) rotate(0deg) scale(1);
}

.new .navbar-toggler .icon::before {
  transform: translateX(0) translateY(-6px) translateZ(0) rotate(0deg) scale(1);
  -o-transform: translateX(0) translateY(-6px) translateZ(0) rotate(0deg) scale(1);
  -ms-transform: translateX(0) translateY(-6px) translateZ(0) rotate(0deg) scale(1);
  -moz-transform: translateX(0) translateY(-6px) translateZ(0) rotate(0deg) scale(1);
  -webkit-transform: translateX(0) translateY(-6px) translateZ(0) rotate(0deg) scale(1);
}

.new .navbar-toggler.active .icon::after {
  transform: translateX(0) translateY(0) translateZ(0) rotate(138deg) scale(1);
  -o-transform: translateX(0) translateY(0) translateZ(0) rotate(138deg) scale(1);
  -ms-transform: translateX(0) translateY(0) translateZ(0) rotate(138deg) scale(1);
  -moz-transform: translateX(0) translateY(0) translateZ(0) rotate(138deg) scale(1);
  -webkit-transform: translateX(0) translateY(0) translateZ(0) rotate(138deg) scale(1);
}

.new .navbar-toggler.active .icon::before {
  transform: translateX(0) translateY(0) translateZ(0) rotate(-135deg) scale(1);
  -o-transform: translateX(0) translateY(0) translateZ(0) rotate(-135deg) scale(1);
  -ms-transform: translateX(0) translateY(0) translateZ(0) rotate(-135deg) scale(1);
  -moz-transform: translateX(0) translateY(0) translateZ(0) rotate(-135deg) scale(1);
  -webkit-transform: translateX(0) translateY(0) translateZ(0) rotate(-135deg) scale(1);
}

.new .navbar-toggler.active .icon::after,
.new .navbar-toggler.active .icon::before {
  background-color: #fff;
}

.new .navbar-toggler.active .icon {
  background-color: transparent;
}

.new .navbar-toggler:focus {
  outline: 0 !important;
}

.new .strict {
  background-color: rgba(0, 0, 0, 0.9);
  padding-bottom: 65px;
}

.new .navbar-toggler {
  padding: 15px;
  margin-right: 15px;
  margin-left: 20%;
  margin-top: 15px;
  z-index: 1000;
  -webkit-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: block;
}

.new .navbar-header .navbar-toggler .icon-bar {
  background-color: #0bceaf;
  -webkit-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.new .navbar-header .navbar-toggler.active .icon-bar {
  background-color: #fff;
}

.new .overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 3;
}

.new .overlay.active {
  display: block;
}

.new .navbar-collapse {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 320px;
  left: 0;
  z-index: 990;
  margin-top: 0px;
  padding: 0;
  background-color: #0bceaf;
  transform: translateX(-100%) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -o-transform: translateX(-100%) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -ms-transform: translateX(-100%) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -moz-transform: translateX(-100%) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -webkit-transform: translateX(-100%) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -webkit-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-y: none;
}

.new .navbar-collapse .nav {
  margin-top: 75px;
  border-top: 1px solid;
  border-top-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
}

.new .navbar-collapse .nav li {
  text-align: center;
  margin-bottom: 0px;
  width: 100%;
  display: block;
  -webkit-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-transform: translate3d(-20px, -10px, 0);
          transform: translate3d(-20px, -10px, 0);
}

.new .navbar-collapse .nav li a {
  background-color: transparent;
  text-transform: uppercase;
  font-size: 17px;
  line-height: 26px;
}

.new .navbar-collapse .nav li a:hover {
  color: white !important;
  background: transparent;
}

.new .navbar-collapse .nav li a.active {
  color: #fff;
}

.new .navbar-collapse .nav li.active {
  color: #fff;
}

.new .navbar-collapse.active {
  transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -o-transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -ms-transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -moz-transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -webkit-transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
}

.new .collapse.in {
  background-color: rgba(0, 0, 0, 0.9);
}

.new .navbar-dark .navbar-toggler {
  border-color: transparent;
}

.new .navbar-dark .navbar-toggler-icon {
  background-image: inherit;
}

/*
====================
   PORTFOLIO
===================
*/
.grid-item {
  margin-bottom: 20px;
}

.portfolio-nav {
  text-align: center;
  margin-bottom: 50px;
}

.portfolio-nav ul li {
  display: inline-block;
  margin: 0 20px;
  cursor: pointer;
}

.portfolio-nav ul li span {
  padding: 15px 0;
  border-bottom: 2px solid transparent;
}

.portfolio-nav ul li.current span {
  border-bottom: 2px solid #0bceaf;
}

.mh-project-gallery .grid-item figure {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.mh-project-gallery .grid-item figure img {
  position: relative;
  width: 100%;
  display: block;
}

.mh-project-gallery .grid-item figure figcaption {
  position: absolute;
  padding: 15px;
  height: 100%;
  width: 100%;
  top: auto;
  left: 0;
  color: #fff;
  bottom: 0;
  z-index: 10;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mh-project-gallery .grid-item figure figcaption:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  -webkit-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(0.95);
  -o-transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(0.95);
  -ms-transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(0.95);
  -moz-transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(0.95);
  -webkit-transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(0.95);
  z-index: -1;
  opacity: 0;
}

.mh-project-gallery .grid-item figure figcaption .fa {
  margin: 0;
  padding: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 35px;
  position: absolute;
  text-align: center;
  width: 100%;
  left: 0;
  top: 45%;
  margin-top: -22px;
  transform: translateX(0px) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -o-transform: translateX(0px) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -ms-transform: translateX(0px) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -moz-transform: translateX(0px) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -webkit-transform: translateX(0px) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 0;
  letter-spacing: 0px;
}

.mh-project-gallery .grid-item figure figcaption .title {
  margin: 0;
  padding: 0;
  position: absolute;
  text-align: center;
  width: 100%;
  left: 0;
  right: 0;
  font-size: 18px;
  line-height: 30px;
  text-transform: capitalize;
  top: 50%;
  margin-top: 30px;
  margin-top: -2px;
  transform: translateX(80px) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -o-transform: translateX(80px) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -ms-transform: translateX(80px) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -moz-transform: translateX(80px) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -webkit-transform: translateX(80px) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -webkit-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 0;
  letter-spacing: 0px;
}

.mh-project-gallery .grid-item figure figcaption .sub-title {
  margin: 0;
  padding: 0;
  position: absolute;
  text-align: center;
  width: 100%;
  left: 0;
  font-size: 13px;
  top: 50%;
  margin-top: 30px;
  transform: translateX(-70px) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -o-transform: translateX(-70px) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -ms-transform: translateX(-70px) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -moz-transform: translateX(-70px) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -webkit-transform: translateX(-70px) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -webkit-transition: 0.5s;
  transition: 0.5s;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 0;
  letter-spacing: 0px;
}

.mh-project-gallery .grid-item figure figcaption a {
  position: absolute;
  z-index: 1111;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  text-indent: -99999px;
}

.mh-project-gallery .grid-item figure:hover {
  -webkit-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mh-project-gallery .grid-item figure:hover figcaption {
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: rgba(11, 206, 175, 0.9);
}

.mh-project-gallery .grid-item figure:hover figcaption:after {
  opacity: 1;
  transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -o-transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -ms-transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -moz-transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -webkit-transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -webkit-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mh-project-gallery .grid-item figure:hover figcaption .fa {
  transform: translateX(0px) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -o-transform: translateX(0px) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -ms-transform: translateX(0px) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -moz-transform: translateX(0px) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -webkit-transform: translateX(0px) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -webkit-transition: 0.2s;
  transition: 0.2s;
  opacity: 1;
}

.mh-project-gallery .grid-item figure:hover figcaption .title {
  transform: translateX(0px) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -o-transform: translateX(0px) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -ms-transform: translateX(0px) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -moz-transform: translateX(0px) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -webkit-transform: translateX(0px) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -webkit-transition: 0.4s;
  transition: 0.4s;
  opacity: 1;
}

.mh-project-gallery .grid-item figure:hover figcaption .sub-title {
  transform: translateX(0px) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -o-transform: translateX(0px) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -ms-transform: translateX(0px) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -moz-transform: translateX(0px) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -webkit-transform: translateX(0px) translateY(0) translateZ(0) rotate(0deg) scale(1);
  -webkit-transition: 0.6s;
  transition: 0.6s;
  opacity: 1;
}

.home-ov-img {
  background-image: url(../images/header-bg-2.png);
  background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
  margin: 0 auto;
  background-position: center center;
}

.mh-featured-project .mh-featured-item {
  margin: 30px 0;
}

.mh-featured-project .mh-featured-item .mh-featured-project-content .project-category {
  font-size: 14px;
  color: #0bceaf;
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mh-featured-project .mh-featured-item .mh-featured-project-content h2 {
  letter-spacing: 2px;
  margin-top: 12px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.mh-featured-project .mh-featured-item .mh-featured-project-content span {
  text-transform: uppercase;
}

.mh-featured-project .mh-featured-item .mh-featured-project-content p {
  text-align: left;
  margin-top: 10px;
  margin-bottom: 20px;
}

.mh-featured-project .mh-featured-item .mh-featured-project-content .mh-testimonial blockquote {
  padding: 0;
  margin: 0;
  margin-top: 30px;
}

.mh-featured-project .mh-featured-item .mh-featured-project-content .mh-testimonial blockquote q {
  font-style: italic;
}

.mh-featured-project .mh-featured-item .mh-featured-project-content .mh-testimonial blockquote q::before {
  content: open-quote;
}

.mh-featured-project .mh-featured-item .mh-featured-project-content .mh-testimonial blockquote q::after {
  content: close-quote;
}

.mh-featured-project .mh-featured-item .mh-featured-project-content .mh-testimonial blockquote cite {
  display: block;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  margin-top: 10px;
}

.mh-single-project-slide .owl-controls .owl-nav {
  display: none !important;
}

.mh-single-project-slide .owl-controls .owl-dots {
  padding-left: 15px;
  margin-top: 30px;
  text-align: center;
}

.mh-single-project-slide .owl-controls .owl-dots .owl-dot {
  height: 15px;
  width: 15px;
  border: 1px solid #0bceaf;
  display: inline-block;
  border-radius: 50%;
  margin-right: 10px;
}

.mh-single-project-slide .owl-controls .owl-dots .owl-dot.active {
  background-color: #0bceaf;
}

.mh-single-project-slide-by-side .owl-next {
  position: absolute;
  border-radius: 50%;
  top: 48%;
  height: 50px;
  width: 50px;
  right: -10%;
}

.mh-single-project-slide-by-side .owl-next .fa {
  font-size: 40px;
  margin-left: 15px;
}

.mh-single-project-slide-by-side .owl-prev {
  position: absolute;
  border-radius: 50%;
  top: 48%;
  left: -10%;
  height: 50px;
  width: 50px;
}

.mh-single-project-slide-by-side .owl-prev .fa {
  font-size: 40px;
  margin-left: 10px;
}

.section-title h3 {
  margin-bottom: 60px;
}

.section-title h2 {
  margin-bottom: 60px;
}

/*
    ==============
       SERVICES
    ==============
*/
.mh-service .mh-service-item {
  padding: 20px;
  border-radius: 4px;
}

.mh-service .mh-service-item .fa {
  font-size: 30px;
  margin-bottom: 20px;
  margin-top: 16px;
}

.mh-service .mh-service-item .fa.purple-color {
  color: #9774fa;
}

.mh-service .mh-service-item .fa.iron-color {
  color: #ed7256;
}

.mh-service .mh-service-item .fa.sky-color {
  color: #2796e2;
}

.mh-service .mh-service-item h3 {
  margin-bottom: 18px;
  font-size: 25px;
  line-height: 34px;
}

.mh-service .mh-service-item a {
  color: #0bceaf;
}

.mh-service .mh-service-item a .fa {
  font-size: 16px;
  line-height: 27px;
  margin-left: 6px;
}

/*
=================
BLOG Pagination
=============
*/
.mh-pagination {
  margin: 40px 0;
}

.mh-pagination ul li {
  margin: 0 10px;
}

.mh-pagination .page-link {
  position: relative;
  display: block;
  padding: 12px 16px;
  margin-left: -1px;
  border-radius: 50%;
  line-height: 14px;
  background-color: transparent;
  border: 1px solid #fff;
  font-weight: bold;
}

.mh-pagination .page-link:hover {
  color: #0bceaf;
}

.mh-pagination .page-item:last-child .page-link {
  border-top-right-radius: 50%;
  border-bottom-right-radius: 50%;
}

.mh-pagination .page-item:first-child .page-link {
  margin-left: 0;
  border-top-left-radius: 50%;
  border-bottom-left-radius: 50%;
}

.mh-blog-sidebar {
  padding: 0 20px;
}

.sidebar-item {
  -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  margin-bottom: 30px;
  padding: 20px 10px;
}

.sidebar-item h3 {
  font-size: 24px;
  line-height: 30px;
  margin-bottom: 10px;
}

.mh-author-info {
  text-align: center;
}

.mh-author-info h2 {
  font-size: 24px;
  line-height: 34px;
  margin: 0;
}

.mh-author-info h4 {
  font-size: 14px;
  margin: 0;
  line-height: 24px;
  font-weight: normal;
  margin-bottom: 10px;
}

.mh-author-info .mh-author-img {
  margin: 0 auto;
  margin-bottom: 10px;
  float: none;
  text-align: center;
}

.mh-author-info .mh-author-img img {
  margin: 0 auto;
  text-align: center;
  border: 10px solid rgba(0, 0, 0, 0.17);
  border-radius: 50%;
}

.mh-author-info .img-border {
  height: 130px;
  width: 130px;
  border: 10px solid rgba(0, 0, 0, 0.07);
  margin: 0 auto;
  border-radius: 50%;
}

.mh-author-info .social-icon li a:hover {
  color: #0bceaf;
}

.mh-blog-category h4 {
  margin: 0;
  margin-bottom: 10px;
}

.mh-blog-category ul li {
  display: block;
  margin: 2px 0;
}

.mh-blog-category ul li a:hover {
  color: #0bceaf;
}

.mh-blog-insta ul li {
  width: 48%;
  display: inline-block;
  margin-bottom: 10px;
}

.mh-blog-insta ul li img {
  padding-right: 4px;
}

.mh-blog-post-info {
  margin-bottom: 10px;
}

.mh-blog-post-info ul li {
  display: inline-block;
  margin: 0 6px;
  margin-left: 0;
}

.mh-blog-post-info ul li strong {
  margin-right: 6px;
}

.mh-blog .mh-blog-item.blog-single h2 {
  font-size: 36px;
  line-height: 40px;
  font-weight: bold;
}

.mh-blog .mh-blog-item.blog-single h3 {
  margin-bottom: 10px;
}

.mh-blog .mh-blog-item.blog-single ul {
  padding-left: 30px;
  margin-bottom: 20px;
}

.mh-blog .mh-blog-item.blog-single ul li {
  list-style-type: circle;
}

.mh-blog-next-prev-post a {
  color: #0bceaf;
}

.mh-blog-next-prev-post a .fa {
  margin: 0 4px;
}

.shadow-one {
  -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

.mh-related-post {
  padding: 30px;
  -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  margin: 0;
  margin-bottom: 30px;
}

.blog-form-inner {
  -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  padding: 30px;
}

.blog-form-inner h3 {
  margin-top: 0px;
  margin-bottom: 20px;
  font-size: 26px;
  line-height: 34px;
}

.comments {
  margin-top: 20px;
  overflow: hidden;
  margin-bottom: 30px;
}

.comment-deatils span {
  color: #0bceaf;
}

.single-comment {
  overflow: hidden;
  margin-top: 30px;
  -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

.post-comment {
  margin-top: 30px;
  padding: 30px;
}

#msgSubmit {
  margin-top: 20px;
  font-size: 22px;
  line-height: 30px;
  margin-bottom: 30px;
}

/*
|===================
| SLIDER
|===================
*/
/* Preloader */
.header-slider {
  overflow: hidden;
}

.slider_preloader {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  z-index: 99;
  min-height: 750px;
}

.slider_preloader_status {
  width: 200px;
  height: 200px;
  position: absolute;
  left: 50%;
  top: 50%;
  background-image: url(../images/slider/status.gif);
  background-repeat: no-repeat;
  background-position: center;
  margin: -100px 0 0 -100px;
}

.header-slider-preloader {
  min-height: 750px;
}

.header-slider {
  position: relative;
}

.header-slider .owl-dots {
  background: transparent;
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0%;
}

.header-slider .slider-preloader-wrap,
.header-slider .item {
  text-align: center;
}

.header-slider .item {
  background-size: cover;
  position: relative;
  z-index: 1;
}

.header-slider .slide-img {
  bottom: 0;
  position: absolute;
  right: 5%;
  width: auto !important;
}

.header-slider .item::after {
  background: #000 none repeat scroll 0 0;
  content: "";
  height: 100%;
  left: 0;
  opacity: 0.4;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}

.header-slider .slide-table {
  display: table;
  height: 100%;
  width: 100%;
}

.header-slider .slide-tablecell {
  color: #fff;
  display: table-cell;
  vertical-align: middle;
  background: rgba(0, 0, 0, 0.6);
  padding: 280px 0;
}

.header-slider .slide-tablecell h1 {
  color: #fff;
  text-transform: uppercase;
}

.header-slider .slide-tablecell .slide-btn:hover {
  text-decoration: none;
  border-color: transparent;
}

.header-slider .slide-tablecell .slide-btn {
  color: #fff;
  border-color: transparent;
  background-color: #6D40e3;
}

.header-slider .slide-tablecell .slide-btn i.fa {
  margin-left: 10px;
}

.header-slider .slide-tablecell .slide-text > *:nth-child(1) {
  -webkit-animation-duration: .3s;
          animation-duration: .3s;
}

.header-slider .slide-tablecell .slide-text > *:nth-child(2) {
  -webkit-animation-duration: .3s;
          animation-duration: .3s;
  -webkit-animation-delay: .3s;
          animation-delay: .3s;
  margin-bottom: 30px;
}

.header-slider .slide-tablecell .slide-text > *:nth-child(3) {
  -webkit-animation-duration: .3s;
          animation-duration: .3s;
  -webkit-animation-delay: .6s;
          animation-delay: .6s;
  margin-top: 30px;
}

.header-slider .slide-tablecell .slide-text > *:nth-child(4) {
  -webkit-animation-duration: .3s;
          animation-duration: .3s;
  -webkit-animation-delay: .9s;
          animation-delay: .9s;
}

.header-slider .slide-tablecell .slide-text h1 {
  color: #fff;
  text-transform: capitalize;
}

.header-slider .slide-tablecell .slide-text p {
  font-size: 18px;
  line-height: 30px;
  padding: 0 200px;
  margin: 30px 0;
}

.header-slider .owl-nav {
  color: #fff;
  font-size: 60px;
  left: 0;
  line-height: 70px;
  margin-top: -35px;
  opacity: 0;
  position: absolute;
  top: 50%;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  cursor: pointer;
  display: none;
}

.header-slider .owl-theme .owl-dots .owl-dot {
  border: 1px solid #fff;
  display: inline-block;
  height: 8px;
  cursor: pointer;
  margin: 5px;
  width: 15px;
  background-color: #fff;
  border-radius: 6px;
}

.header-slider .animation-slide .owl-dots {
  bottom: 15px;
  left: 0;
  position: absolute;
  text-align: center;
  width: 100%;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.header-slider .owl-theme .owl-dots .owl-dot.active {
  background-color: #fff;
  border-color: #fff;
  width: 30px;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.header-slider .item,
.header-slider .preloader-wrap {
  background-color: #bfbfbf;
}

.get-quate h2 {
  font-size: 34px;
}

.animation-slides {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 0000;
}

.header-slider .item div {
  min-height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
}

.mh-about-tag-2 {
  text-align: center;
}

.mh-about-tag-2 ul {
  margin-bottom: 30px;
  margin-top: 20px;
}
/*# sourceMappingURL=styles.css.map */








































/*
====================
   PORTFOLIO CAROUSEL - AGREGAR ESTE CÓDIGO AL FINAL DE styles.css
====================
*/


/*
====================
   PORTFOLIO CAROUSEL CON MODALES - ESTILOS CORREGIDOS Y OPTIMIZADOS
====================
*/

/* Estilos del carrusel */
.mh-portfolio .each-portfolio-item {
    margin: 30px 20px;
}

.mh-portfolio .mh-portfolio-item {
    margin: 0 auto;
    text-align: center;
    padding: 0;
    border-radius: 10px;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mh-portfolio .mh-portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.3), 0 5px 20px 0 rgba(0, 0, 0, 0.2);
}

.mh-portfolio .mh-portfolio-item figure {
    margin: 0;
    position: relative;
}

.mh-portfolio .mh-portfolio-item figure img {
    width: 100%;
    border-radius: 10px 10px 0 0;
}

.mh-portfolio .mh-portfolio-item figure figcaption {
    position: absolute;
    padding: 15px;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    color: #fff;
    bottom: 0;
    z-index: 10;
    transition: 0.5s;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mh-portfolio .mh-portfolio-item figure:hover figcaption {
    opacity: 1;
    background: rgba(11, 206, 175, 0.90);
}

.mh-portfolio .mh-portfolio-item figure figcaption .fa {
    font-size: 40px;
    margin-bottom: 20px;
}

.mh-portfolio .mh-portfolio-item figure figcaption .title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.mh-portfolio .mh-portfolio-item figure figcaption .sub-title {
    font-size: 14px;
    opacity: 0.9;
}

.mh-portfolio .mh-portfolio-item figure figcaption a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 11;
}

/* Estilos de los controles del carrusel */
.mh-portfolio .owl-controls .owl-nav {
    display: none !important;
}

.mh-portfolio .owl-controls .owl-dots {
    padding-left: 15px;
    margin-top: 30px;
    text-align: center;
}

.mh-portfolio .owl-controls .owl-dots .owl-dot {
    height: 15px;
    width: 15px;
    border: 1px solid #0bceaf;
    display: inline-block;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.mh-portfolio .owl-controls .owl-dots .owl-dot:hover {
    background-color: rgba(11, 206, 175, 0.5);
}

.mh-portfolio .owl-controls .owl-dots .owl-dot.active {
    background-color: #0bceaf;
}

/* =========================================================
   MODAL DE CERTIFICACIÓN — la imagen se ajusta al viewport,
   sin scroll vertical interno y con un layout limpio.
   ========================================================= */
.mh-portfolio-modal {
    display: none;
    background: #ffffff; /* mismo fondo del JPG → los márgenes blancos del certificado desaparecen */
    padding: 16px 20px 20px;
    border-radius: 14px;
    max-width: 1700px;      /* tarjeta muy amplia, casi a pantalla completa */
    width: 100%;
    margin: 0 auto;
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(11, 206, 175, 0.25);
    box-sizing: border-box;
}

.mh-portfolio-modal h2 {
    color: #0bceaf;
    margin: 0 0 16px;
    font-size: 22px;
    line-height: 1.25;
    text-align: center;
    border-bottom: 2px solid rgba(11, 206, 175, 0.35);
    padding-bottom: 12px;
    font-weight: 600;
}

/* Contenedor interno: SIN scroll. El modal completo cabe en pantalla
   gracias al max-height de la imagen. */
.mh-portfolio-modal-inner {
    max-height: none;
    overflow: visible;
    margin-right: 0;
}

/* Se conservan los estilos de scrollbar por si en algún breakpoint
   muy estrecho hace falta scroll de respaldo. */
.mh-portfolio-modal-inner::-webkit-scrollbar-track {
    border: 1px solid #000;
    padding: 2px 0;
    background-color: #1a1a1a;
}

.mh-portfolio-modal-inner::-webkit-scrollbar {
    width: 8px;
}

.mh-portfolio-modal-inner::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #0bceaf;
}

.mh-portfolio-modal-img {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* La imagen se escala con el viewport: nunca pasa el 75% del alto
   ni el 100% del ancho, conservando proporción.
   Sin bordes redondeados ni sombra para que se funda con el fondo blanco
   del modal y los márgenes del JPG sean invisibles. */
.mh-portfolio-modal-img img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 92vh;
    margin: 0 auto;
    display: block;
    object-fit: contain;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.mh-portfolio-modal-img p {
    font-size: 14px;
    line-height: 1.55;
    margin: 0 auto;
    text-align: center;
    color: #d8d8d8;
    max-width: 820px;
}

.mh-portfolio-modal-img ul {
    list-style: none;
    padding: 0;
    margin: 4px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 4px 24px;
    max-width: 820px;
    text-align: left;
    width: 100%;
}

.mh-portfolio-modal-img ul li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    color: #e0e0e0;
}

.mh-portfolio-modal-img ul li:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mh-portfolio-modal-img ul li strong {
    color: #0bceaf;
    margin-right: 8px;
    display: inline-block;
    min-width: 110px;
}

/* =========================================================
   FANCYBOX: que el contenedor se ajuste al viewport y no
   genere scroll innecesario.
   ========================================================= */
.fancybox-slide--html {
    padding: 30px 16px;     /* aire alrededor para que el modal se vea centrado */
}

.fancybox-slide--html .fancybox-content {
    max-width: 1200px;
    width: 100%;
    padding: 0;
    background: transparent;
    overflow: visible;
    max-height: 92vh;
    overflow-y: auto;       /* en pantallas chicas el contenido puede scrollear */
    box-sizing: border-box;
    margin: 0 auto;
}

/* Scrollbar fino dentro del fancybox-content */
.fancybox-slide--html .fancybox-content::-webkit-scrollbar {
    width: 6px;
}
.fancybox-slide--html .fancybox-content::-webkit-scrollbar-thumb {
    background: rgba(11, 206, 175, 0.4);
    border-radius: 6px;
}

/* Tablet */
@media only screen and (max-width: 992px) {
    .mh-portfolio-modal {
        padding: 16px 18px 18px;
        max-width: 98%;
    }

    .mh-portfolio-modal h2 {
        font-size: 20px;
    }

    .mh-portfolio-modal-img img {
        max-height: 88vh;
    }
}

/* Móvil */
@media only screen and (max-width: 768px) {
    .mh-portfolio-modal {
        padding: 14px 12px 14px;
        border-radius: 12px;
        max-width: 98%;
    }

    .mh-portfolio-modal h2 {
        font-size: 17px;
        margin-bottom: 10px;
        padding-bottom: 8px;
    }

    .mh-portfolio-modal-img {
        gap: 12px;
    }

    .mh-portfolio-modal-img img {
        max-height: 86vh;
    }

    .mh-portfolio-modal-img p {
        font-size: 13px;
        line-height: 1.45;
    }

    .mh-portfolio-modal-img ul {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .mh-portfolio-modal-img ul li {
        font-size: 12.5px;
        padding: 5px 0;
    }

    .mh-portfolio-modal-img ul li strong {
        min-width: 100px;
        margin-right: 6px;
    }

    .fancybox-slide--html {
        padding: 8px 4px;
    }

    .fancybox-slide--html .fancybox-content {
        width: 99%;
        max-width: 99%;
        max-height: 98vh;
    }
}

/* Móvil pequeño / horizontal corto */
@media only screen and (max-width: 480px) {
    .mh-portfolio-modal {
        padding: 10px 10px 12px;
        max-width: 99%;
    }

    .mh-portfolio-modal h2 {
        font-size: 15px;
    }

    .mh-portfolio-modal-img img {
        max-height: 84vh;
    }

    .fancybox-slide--html {
        padding: 6px 2px;
    }
}

/* Pantallas con poco alto (laptops chicas, móvil horizontal) */
@media (max-height: 640px) {
    .mh-portfolio-modal-img img {
        max-height: 86vh;
    }

    .mh-portfolio-modal h2 {
        font-size: 17px;
        margin-bottom: 6px;
        padding-bottom: 6px;
    }
}





/* =========================================================
   SECCIÓN DE CERTIFICADOS — TABS DE FILTRO + TARJETAS
   ========================================================= */

/* Tabs de filtro */
.cert-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 0 36px;
    padding: 0 8px;
}

.cert-filter {
    background: transparent;
    border: 1.5px solid transparent;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast);
    font-family: inherit;
    line-height: 1.3;
    white-space: nowrap;
}

.cert-filter:hover {
    color: var(--text-brand);
}

.cert-filter.active {
    border-color: var(--brand-500);
    color: var(--text-brand);
    background: var(--bg-brand-softer);
}

.cert-filter:focus-visible {
    outline: 2px solid var(--brand-500);
    outline-offset: 2px;
}

/* Tarjeta de certificado — toda es clickeable para abrir el modal */
.cert-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform var(--t-base), box-shadow var(--t-base),
                border-color var(--t-base);
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.cert-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-brand);
}

/* Foco accesible al navegar con teclado */
.cert-card:focus-within {
    outline: 2px solid var(--brand-500);
    outline-offset: 3px;
}

.cert-card-img {
    background: linear-gradient(135deg, var(--bg-elevated-2) 0%, var(--bg-muted) 100%);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 18px;
}

.cert-card-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: var(--radius-xs);
}

.cert-card-body {
    padding: 18px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.cert-card-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.cert-card-tag {
    display: inline-flex;
    align-items: center;
    background: var(--bg-brand-soft);
    color: var(--text-brand-strong);
    font-size: 12px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    line-height: 1.4;
    max-width: calc(100% - 36px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cert-card-bookmark {
    background: transparent;
    border: none;
    color: var(--text-disabled);
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    transition: color var(--t-fast);
    line-height: 1;
    flex-shrink: 0;
}

.cert-card-bookmark:hover,
.cert-card-bookmark.is-saved {
    color: var(--text-brand);
}

.cert-card-title {
    color: var(--text-primary) !important;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    opacity: 1 !important;
}

.cert-card-desc {
    color: var(--text-muted) !important;
    font-size: 13.5px;
    line-height: 1.5;
    margin: 0;
    opacity: 1 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cert-card-info {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 12.5px;
    margin-top: 2px;
}

.cert-card-info-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    line-height: 1.3;
}

.cert-card-info-item i {
    color: var(--text-brand);
    font-size: 13px;
}

.cert-card-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: var(--radius-sm);
    background: var(--btn-secondary-bg);
    border: 1.5px solid var(--btn-secondary-border);
    color: var(--btn-secondary-text) !important;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background var(--t-fast), border-color var(--t-fast),
                color var(--t-fast), transform var(--t-fast);
}

.cert-card-btn:hover,
.cert-card-btn:focus {
    background: var(--btn-secondary-bg-hover);
    border-color: var(--btn-secondary-border-hover);
    color: var(--btn-secondary-text-hover) !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

.cert-card-btn:active {
    background: var(--btn-secondary-bg-active);
    transform: translateY(0);
}

.cert-card-btn[disabled],
.cert-card-btn.is-disabled {
    background: var(--btn-secondary-bg-disabled);
    color: var(--btn-secondary-text-disabled) !important;
    border-color: var(--border-subtle);
    cursor: not-allowed;
    transform: none;
}

.cert-card-btn i {
    font-size: 12px;
}

/* Puntos de paginación del carrusel */
.mh-portfolio .owl-carousel .owl-controls .owl-dots {
    margin-top: 28px;
    text-align: center;
}

.mh-portfolio .owl-carousel .owl-controls .owl-dots .owl-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-pill);
    background: rgba(11, 206, 175, 0.25);
    border: none;
    margin: 0 5px;
    transition: all var(--t-fast);
    display: inline-block;
}

.mh-portfolio .owl-carousel .owl-controls .owl-dots .owl-dot.active {
    background: var(--brand-500);
    width: 28px;
}

.mh-portfolio .owl-carousel .owl-controls .owl-dots .owl-dot:hover {
    background: rgba(11, 206, 175, 0.55);
}

/* Mensaje cuando no hay items en el filtro */
.cert-empty-state {
    width: 100%;
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 14px;
    grid-column: 1 / -1;
}

.cert-empty-state i {
    color: rgba(11, 206, 175, 0.5);
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
}

/* Responsive: filtros en móvil */
@media only screen and (max-width: 768px) {
    .cert-filters {
        gap: 6px;
        margin-bottom: 24px;
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }

    .cert-filter {
        font-size: 13px;
        padding: 7px 14px;
        flex-shrink: 0;
    }

    .cert-card-img {
        height: 180px;
    }

    .cert-card-body {
        padding: 16px 18px 18px;
    }

    .cert-card-title {
        font-size: 17px;
    }
}

/* =========================================================
   MODAL DE CERTIFICACIÓN — DISEÑO PROFESIONAL
   Tarjeta con cabecera + dos columnas (imagen + detalles)
   Centrada, responsive y con identidad de marca teal.
   ========================================================= */
.mh-portfolio-modal.cert-modal {
    background: var(--bg-elevated);
    border-radius: var(--radius-xl);
    padding: 0;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    box-shadow:
        var(--shadow-xl),
        0 0 0 1px var(--border-brand);
    position: relative;
    box-sizing: border-box;
    color: var(--text-primary);
    font-family: inherit;
}

/* ----- Cabecera ----- */
.cert-modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 26px 70px 16px 32px;  /* derecha deja espacio al X */
    position: relative;
}

.cert-modal-header-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--bg-brand-soft);
    color: var(--text-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.mh-portfolio-modal.cert-modal h2.cert-modal-header-title {
    color: var(--text-primary) !important;
    font-size: 19px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    border: none !important;        /* anula el border-bottom del .mh-portfolio-modal h2 base */
    padding: 0 !important;
    text-align: left;
    flex: 1;
    position: relative;
}

.mh-portfolio-modal.cert-modal h2.cert-modal-header-title::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #0bceaf 0%, rgba(11, 206, 175, 0) 70%);
    margin-top: 8px;
    border-radius: 2px;
}

/* ----- Botón cerrar (X circular esquina) ----- */
.cert-modal-close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-muted);
    border: none;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--t-fast), color var(--t-fast), transform var(--t-base);
    z-index: 10;
    padding: 0;
}

.cert-modal-close:hover {
    background: var(--bg-elevated-2);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.cert-modal-close svg {
    width: 16px;
    height: 16px;
}

/* Ocultar el close-small por defecto de Fancybox dentro de cert-modal */
.cert-modal .fancybox-close-small,
.fancybox-slide--html .cert-modal + .fancybox-close-small {
    display: none !important;
}

/* ----- Cuerpo: dos columnas ----- */
.cert-modal-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    padding: 24px 32px 36px;
    align-items: start;
}

/* Columna izquierda: panel con tinte mint + tarjeta blanca con la imagen */
.cert-modal-img-wrap {
    position: relative;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(11, 206, 175, 0.10) 0%, rgba(11, 206, 175, 0.02) 100%);
    padding: 28px;
    overflow: hidden;
}

.cert-modal-img-wrap::before,
.cert-modal-img-wrap::after {
    content: '';
    position: absolute;
    background-image: radial-gradient(circle, rgba(11, 206, 175, 0.45) 1.5px, transparent 1.5px);
    background-size: 10px 10px;
    pointer-events: none;
}

.cert-modal-img-wrap::before {
    top: 16px;
    right: 16px;
    width: 80px;
    height: 50px;
}

.cert-modal-img-wrap::after {
    bottom: 16px;
    left: 16px;
    width: 64px;
    height: 40px;
}

.cert-modal-img-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(13, 33, 54, 0.10);
    padding: 12px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.cert-modal-img-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    margin: 0;
    max-height: none;
    object-fit: contain;
    background: transparent;
    box-shadow: none;
}

/* Columna derecha: detalles */
.cert-modal-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.cert-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-brand-soft);
    color: var(--text-brand-strong);
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 500;
    align-self: flex-start;
}

.cert-modal-badge i {
    font-size: 14px;
    color: var(--text-brand);
}

.cert-modal-title {
    color: var(--text-primary) !important;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    opacity: 1 !important;
}

.cert-modal-subtitle {
    color: var(--text-brand) !important;
    font-size: 16px;
    font-weight: 500;
    margin: -8px 0 0 0;
    opacity: 1 !important;
}

.cert-modal-desc {
    color: var(--text-secondary) !important;
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0;
    opacity: 1 !important;
    text-align: left;
    max-width: none;
}

/* Tarjeta de metadatos: 3 columnas */
.cert-modal-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: var(--bg-elevated-2);
    border-radius: var(--radius-md);
    padding: 14px 6px;
    border: 1px solid var(--border-subtle);
    list-style: none;
    margin: 4px 0 0;
}

.cert-modal-meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4px 10px;
    border-right: 1px solid var(--border-subtle);
    gap: 4px;
    min-width: 0;
}

.cert-modal-meta-item:last-child {
    border-right: none;
}

.cert-modal-meta-icon {
    color: var(--text-brand);
    font-size: 18px;
    margin-bottom: 4px;
    width: auto;
    height: auto;
    background: none;
    display: block;
}

.cert-modal-meta-label {
    color: var(--text-muted);
    font-size: 11.5px;
    font-weight: 400;
    line-height: 1.3;
}

.cert-modal-meta-value {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* Botones de acción */
.cert-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
}

.cert-modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
    border: 1.5px solid transparent;
    width: 100%;
    box-sizing: border-box;
    line-height: 1.2;
}

.cert-modal-btn span {
    flex: 1;
    text-align: center;
}

.cert-modal-btn-primary {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text) !important;
    border-color: var(--btn-primary-bg);
}

.cert-modal-btn-primary:hover,
.cert-modal-btn-primary:focus {
    background: var(--btn-primary-bg-hover);
    border-color: var(--btn-primary-bg-hover);
    color: var(--btn-primary-text) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-brand);
    text-decoration: none;
}

.cert-modal-btn-secondary {
    background: var(--btn-secondary-bg);
    border-color: var(--btn-secondary-border);
    color: var(--btn-secondary-text) !important;
}

.cert-modal-btn-secondary:hover,
.cert-modal-btn-secondary:focus {
    background: var(--btn-secondary-bg-hover);
    border-color: var(--btn-secondary-border-hover);
    color: var(--btn-secondary-text-hover) !important;
    text-decoration: none;
}

.cert-modal-close-text {
    align-self: flex-end;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
    padding: 8px 14px;
    transition: color var(--t-fast);
    margin-top: 4px;
}

.cert-modal-close-text:hover {
    color: var(--text-primary);
}

/* ===== Responsive: tablet ===== */
@media only screen and (max-width: 992px) {
    .mh-portfolio-modal.cert-modal {
        max-width: 96%;
        border-radius: 18px;
    }

    .cert-modal-body {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 20px 26px 28px;
    }

    .cert-modal-header {
        padding: 22px 64px 14px 24px;
    }

    .cert-modal-title {
        font-size: 24px;
    }

    .cert-modal-img-wrap {
        max-width: 560px;
        margin: 0 auto;
        width: 100%;
    }
}

/* ===== Responsive: móvil ===== */
@media only screen and (max-width: 768px) {
    .mh-portfolio-modal.cert-modal {
        border-radius: 16px;
    }

    .cert-modal-header {
        padding: 18px 56px 12px 16px;
        gap: 12px;
    }

    .cert-modal-header-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .cert-modal-header-title {
        font-size: 16px;
    }

    .cert-modal-close {
        top: 14px;
        right: 14px;
        width: 32px;
        height: 32px;
    }

    .cert-modal-close svg {
        width: 14px;
        height: 14px;
    }

    .cert-modal-body {
        padding: 18px 16px 22px;
        gap: 20px;
    }

    .cert-modal-img-wrap {
        padding: 18px;
    }

    .cert-modal-img-wrap::before {
        width: 60px;
        height: 36px;
    }

    .cert-modal-img-wrap::after {
        width: 48px;
        height: 30px;
    }

    .cert-modal-title {
        font-size: 22px;
    }

    .cert-modal-subtitle {
        font-size: 14.5px;
    }

    .cert-modal-desc {
        font-size: 13.5px;
    }

    /* Meta: cambiar a 1 columna en móvil para legibilidad */
    .cert-modal-meta {
        grid-template-columns: 1fr;
        padding: 6px 8px;
    }

    .cert-modal-meta-item {
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: 12px;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        padding: 10px 6px;
    }

    .cert-modal-meta-item:last-child {
        border-bottom: none;
    }

    .cert-modal-meta-icon {
        margin: 0;
        width: 28px;
        text-align: center;
    }

    .cert-modal-meta-label {
        flex: 1;
        font-size: 12.5px;
    }

    .cert-modal-meta-value {
        text-align: right;
        font-size: 13px;
        max-width: 55%;
    }

    .cert-modal-btn {
        padding: 12px 16px;
        font-size: 13.5px;
    }
}

/* ===== Responsive: móvil pequeño ===== */
@media only screen and (max-width: 480px) {
    .cert-modal-header {
        padding: 16px 50px 10px 14px;
    }

    .cert-modal-header-title {
        font-size: 14.5px;
    }

    .cert-modal-body {
        padding: 14px 12px 18px;
        gap: 18px;
    }

    .cert-modal-img-wrap {
        padding: 14px;
        border-radius: 14px;
    }

    .cert-modal-title {
        font-size: 20px;
    }
}

/* ===== Cert modal — los tokens ya cambian solos.
   Aquí solo refuerzos puntuales para asegurar que el dark mode
   pinte bien sobre superficies elevadas. ===== */

.dark-vertion .mh-portfolio-modal.cert-modal {
    background: var(--bg-elevated);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.65),
        0 0 0 1px var(--border-brand);
}

.dark-vertion .mh-portfolio-modal.cert-modal h2.cert-modal-header-title,
.dark-vertion .cert-modal-title,
.dark-vertion .cert-modal-meta-value {
    color: var(--text-primary) !important;
}

.dark-vertion .cert-modal-subtitle {
    color: var(--text-brand) !important;
}

.dark-vertion .cert-modal-desc {
    color: var(--text-secondary) !important;
}

.dark-vertion .cert-modal-meta {
    background: var(--bg-elevated-2);
    border-color: var(--border-default);
}

.dark-vertion .cert-modal-meta-item {
    border-right-color: var(--border-default);
}

.dark-vertion .cert-modal-meta-label {
    color: var(--text-muted) !important;
}

/* La tarjeta interna que enmarca la imagen del certificado se
   mantiene SIEMPRE blanca: los certificados son JPG con márgenes
   blancos y deben verse "frame" sin importar el tema. */
.dark-vertion .cert-modal-img-card {
    background: #ffffff;
}

.dark-vertion .cert-modal-close {
    background: var(--bg-muted);
    color: var(--text-secondary);
}

.dark-vertion .cert-modal-close:hover {
    background: var(--bg-elevated-2);
    color: var(--text-primary);
}


/*
====================
   FOOTER MEJORADO - ESTILOS ADICIONALES
   Agregar al final de styles.css
====================
*/

/* Contenedor de información de contacto */
.mh-contact-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 10px;
    border: 1px solid rgba(11, 206, 175, 0.2);
}

.mh-contact-info h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

.contact-info-item h5 {
    color: #0bceaf;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-info-item p {
    color: #999;
    margin: 0;
    font-size: 15px;
    line-height: 24px;
}

.contact-info-item a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-item a:hover {
    color: #0bceaf;
}

/* Contenedor del formulario */
.mh-contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 10px;
    border: 1px solid rgba(11, 206, 175, 0.2);
}

.mh-contact-form h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

.mh-contact-form label {
    color: #999;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
    font-weight: 500;
}

/* Ajustes a los inputs del formulario */
.mh-footer-3 .form-control {
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--input-text);
    padding: 12px 20px;
    margin-bottom: 20px;
    height: 50px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.mh-footer-3 .form-control:focus {
    background-color: var(--input-bg-hover);
    border-color: var(--input-border-focus);
    box-shadow: var(--input-shadow-focus);
    color: var(--input-text);
}

.mh-footer-3 .contact-message {
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--input-text);
    padding: 12px 20px;
    border-radius: 5px;
    min-height: 150px;
    resize: vertical;
    transition: all 0.3s ease;
}

.mh-footer-3 .contact-message:focus {
    background-color: var(--input-bg-hover);
    border-color: var(--input-border-focus);
    box-shadow: var(--input-shadow-focus);
    color: var(--input-text);
}

/* Placeholder color — siempre visible en ambos temas */
.mh-footer-3 .form-control::placeholder,
.mh-footer-3 .contact-message::placeholder,
.mh-footer-3 .form-control::-webkit-input-placeholder,
.mh-footer-3 .contact-message::-webkit-input-placeholder,
.mh-footer-3 .form-control::-moz-placeholder,
.mh-footer-3 .contact-message::-moz-placeholder,
.mh-footer-3 .form-control:-ms-input-placeholder,
.mh-footer-3 .contact-message:-ms-input-placeholder {
    color: var(--input-placeholder) !important;
    opacity: 1 !important;
}

/* Botón del formulario */
.mh-footer-3 .btn-fill {
    background-color: #0bceaf;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mh-footer-3 .btn-fill:hover {
    background-color: #0ac4a7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(11, 206, 175, 0.4);
}

.mh-footer-3 .btn-fill i {
    margin-right: 8px;
}

/* Responsive */
@media only screen and (max-width: 768px) {
    .mh-contact-info,
    .mh-contact-form {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    
    .mh-contact-info h4,
    .mh-contact-form h4 {
        font-size: 18px;
    }
}

/* Ajustes al copyright */
.mh-footer-3 .mh-copyright {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mh-footer-3 .mh-copyright p {
    color: #999;
    margin: 0;
}

/* Social icons en el footer */
.mh-footer-3 .social-icon {
    text-align: right;
}

.mh-footer-3 .social-icon li a {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.mh-footer-3 .social-icon li a:hover {
    background: #0bceaf;
    border-color: #0bceaf;
    transform: translateY(-3px);
}

@media only screen and (max-width: 768px) {
    .mh-footer-3 .social-icon {
        text-align: center;
        margin-top: 20px;
    }
}

/* Iconos en los títulos */
.mh-contact-info h4 i,
.mh-contact-form h4 i {
    color: #0bceaf;
    font-size: 18px;
}




/*
====================
   SKILLS MEJORADO - SIN PORCENTAJES
   Agregar al final de styles.css
====================
*/

/* Contenedor de columna de skills */
.mh-skills-column {
    padding: 0;
}

.skills-column-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 35px;
    text-align: left;
    position: relative;
    padding-bottom: 15px;
}

.skills-column-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0bceaf 0%, rgba(11, 206, 175, 0) 100%);
}

/* Tarjetas de habilidades */
.skill-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: rgba(11, 206, 175, 0.4);
    box-shadow: 0 10px 30px rgba(11, 206, 175, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

/* Título de categoría en tarjetas técnicas */
.skill-category-title {
    color: #0bceaf;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tags de habilidades técnicas */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    display: inline-block;
    background: rgba(11, 206, 175, 0.1);
    border: 1px solid rgba(11, 206, 175, 0.3);
    color: #e0e0e0;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(11, 206, 175, 0.2);
    border-color: #0bceaf;
    color: #fff;
    transform: translateY(-2px);
}

/* Tarjetas de habilidades blandas */
.skill-card-soft {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.soft-skill-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.soft-skill-header i {
    font-size: 28px;
    color: #0bceaf;
    min-width: 35px;
}

.soft-skill-header h5 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.skill-card-soft p {
    color: #b0b0b0;
    font-size: 14px;
    line-height: 22px;
    margin: 0;
    padding-left: 50px;
}

/* Ajustes al título principal de la sección */
.mh-skills .section-title h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.mh-skills .section-title p {
    color: #999;
    font-size: 16px;
    margin-bottom: 50px;
}

/* Responsive */
@media only screen and (max-width: 768px) {
    .mh-skills-column {
        margin-bottom: 40px;
    }

    .skills-column-title {
        font-size: 24px;
        text-align: center;
        margin-bottom: 30px;
    }

    .skills-column-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .skill-card {
        padding: 20px;
    }

    .soft-skill-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .soft-skill-header i {
        font-size: 32px;
    }

    .skill-card-soft p {
        padding-left: 0;
        text-align: center;
    }

    .skill-tags {
        justify-content: center;
    }
}

/* Animación sutil al cargar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.skill-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Variantes de color para diferentes categorías (opcional) */
.skill-card:nth-child(1) .skill-category-title {
    color: #0bceaf;
}

.skill-card:nth-child(2) .skill-category-title {
    color: #1da1f2;
}

.skill-card:nth-child(3) .skill-category-title {
    color: #f39c12;
}

.skill-card:nth-child(4) .skill-category-title {
    color: #e74c3c;
}

.skill-card:nth-child(5) .skill-category-title {
    color: #9b59b6;
}

.skill-card:nth-child(6) .skill-category-title {
    color: #2ecc71;
}

/* Ajustes adicionales para mejorar la apariencia */
.mh-skills {
    position: relative;
    overflow: hidden;
}

/* Efecto de gradiente de fondo sutil (opcional) */
.mh-skills::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(11, 206, 175, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.mh-skills .container {
    position: relative;
    z-index: 1;
}









/*
====================
   SKILLS CON SCROLL VERTICAL - ESTILOS ACTUALIZADOS
   Agregar al final de styles.css (o reemplazar la sección anterior)
====================
*/

/* Contenedor de columna de skills */
.mh-skills-column {
    padding: 0;
}

.skills-column-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
    text-align: left;
    position: relative;
    padding-bottom: 12px;
}

.skills-column-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0bceaf 0%, rgba(11, 206, 175, 0) 100%);
}

/* CONTENEDOR CON SCROLL VERTICAL */
.skills-scroll-container {
    max-height: 520px;  /* Altura para mostrar ~2.5 tarjetas */
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
    margin-right: -10px;
}

/* Scrollbar personalizado */
.skills-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.skills-scroll-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.skills-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(11, 206, 175, 0.5);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.skills-scroll-container::-webkit-scrollbar-thumb:hover {
    background: rgba(11, 206, 175, 0.8);
}

/* Firefox scrollbar */
.skills-scroll-container {
    scrollbar-width: thin;
    scrollbar-color: rgba(11, 206, 175, 0.5) rgba(255, 255, 255, 0.05);
}

/* Tarjetas de habilidades */
.skill-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.skill-card:hover {
    transform: translateX(5px);  /* Mueve hacia la derecha en vez de arriba */
    border-color: rgba(11, 206, 175, 0.5);
    box-shadow: 0 5px 20px rgba(11, 206, 175, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

/* Título de categoría en tarjetas técnicas */
.skill-category-title {
    color: #0bceaf;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tags de habilidades técnicas */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    display: inline-block;
    background: rgba(11, 206, 175, 0.1);
    border: 1px solid rgba(11, 206, 175, 0.3);
    color: #e0e0e0;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(11, 206, 175, 0.2);
    border-color: #0bceaf;
    color: #fff;
    transform: translateY(-2px);
}

/* Tarjetas de habilidades blandas */
.skill-card-soft {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.soft-skill-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.soft-skill-header i {
    font-size: 28px;
    color: #0bceaf;
    min-width: 35px;
}

.soft-skill-header h5 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.skill-card-soft p {
    color: #b0b0b0;
    font-size: 14px;
    line-height: 22px;
    margin: 0;
    padding-left: 50px;
}

/* Ajustes al título principal de la sección */
.mh-skills .section-title h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.mh-skills .section-title p {
    color: #999;
    font-size: 16px;
    margin-bottom: 50px;
}

/* Asegurar que las columnas estén alineadas en la parte superior */
.mh-skills .row {
    align-items: flex-start;
}

.mh-skills .col-md-6 {
    display: flex;
    flex-direction: column;
}

/* Responsive */
@media only screen and (max-width: 991px) {
    .skills-scroll-container {
        max-height: 450px;  /* Altura menor en tablets */
    }
}

@media only screen and (max-width: 768px) {
    .mh-skills-column {
        margin-bottom: 40px;
    }

    .skills-column-title {
        font-size: 24px;
        text-align: center;
        margin-bottom: 25px;
    }

    .skills-column-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .skills-scroll-container {
        max-height: 400px;  /* Altura menor en móviles */
        padding-right: 5px;
    }

    .skill-card {
        padding: 20px;
    }

    .skill-card:hover {
        transform: translateY(-3px);  /* En móvil vuelve al efecto hacia arriba */
    }

    .soft-skill-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .soft-skill-header i {
        font-size: 32px;
    }

    .skill-card-soft p {
        padding-left: 0;
        text-align: center;
    }

    .skill-tags {
        justify-content: center;
    }
}

/* Variantes de color para diferentes categorías */
.skill-card:nth-child(1) .skill-category-title {
    color: #0bceaf;
}

.skill-card:nth-child(2) .skill-category-title {
    color: #f39c12;
}

.skill-card:nth-child(3) .skill-category-title {
    color: #e74c3c;
}

.skill-card:nth-child(4) .skill-category-title {
    color: #9b59b6;
}

.skill-card:nth-child(5) .skill-category-title {
    color: #3498db;
}

.skill-card:nth-child(6) .skill-category-title {
    color: #2ecc71;
}

/* Efecto de gradiente de fondo sutil */
.mh-skills {
    position: relative;
    overflow: hidden;
}

.mh-skills::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(11, 206, 175, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.mh-skills .container {
    position: relative;
    z-index: 1;
}

/* Indicador visual de scroll */
.skills-scroll-container::after {
    content: '';
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to top, rgba(40, 40, 40, 0.9), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skills-scroll-container:hover::after {
    opacity: 1;
}

/* Ajuste fino para alineación perfecta */
.mh-skills .col-md-6:first-of-type .skills-scroll-container,
.mh-skills .col-md-6:last-of-type .skills-scroll-container {
    min-height: 520px;  /* Asegura que ambas columnas tengan la misma altura */
}
/*
    ==============
      THEME TOGGLE BUTTON
    ==============
*/
.theme-toggle-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #0bceaf;
  background: rgba(26, 26, 26, 0.9);
  color: #0bceaf;
  cursor: pointer;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(11, 206, 175, 0.3);
  backdrop-filter: blur(10px);
}

.theme-toggle-btn:hover {
  background: #0bceaf;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(11, 206, 175, 0.5);
}

.theme-toggle-btn:active {
  transform: scale(0.95);
}

.theme-toggle-btn i {
  font-size: 20px;
  transition: all 0.3s ease;
}

/* Mostrar/ocultar iconos según el tema */
.dark-vertion .theme-toggle-btn .dark-icon {
  display: none;
}

.dark-vertion .theme-toggle-btn .light-icon {
  display: block;
}

.white-vertion .theme-toggle-btn .dark-icon {
  display: block;
}

.white-vertion .theme-toggle-btn .light-icon {
  display: none;
}

/* Estilos para modo claro */
.white-vertion .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.9);
  border-color: #0bceaf;
  color: #0bceaf;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.white-vertion .theme-toggle-btn:hover {
  background: #0bceaf;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .theme-toggle-btn {
    width: 45px;
    height: 45px;
    top: 15px;
    right: 15px;
  }
  
  .theme-toggle-btn i {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .theme-toggle-btn {
    width: 40px;
    height: 40px;
    top: 10px;
    right: 10px;
  }
  
  .theme-toggle-btn i {
    font-size: 16px;
  }
}

/* Animación de cambio de tema */
body {
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dark-bg,
.black-bg {
  transition: background-color 0.3s ease;
}

/* Asegurar que el botón esté visible en ambos modos */
.theme-toggle-btn {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.theme-toggle-btn:focus {
  outline: 2px solid #0bceaf;
  outline-offset: 2px;
}




/* ===================================================
   HERO PROYECTOS - Sección mejorada
=================================================== */

/* Partículas flotantes de fondo */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: calc(6px * var(--s, 1));
    height: calc(6px * var(--s, 1));
    background: var(--main-color, #1dc8cd);
    border-radius: 50%;
    opacity: 0.25;
    animation: particleFloat var(--d, 3s) ease-in-out infinite alternate;
}

@keyframes particleFloat {
    from { transform: translateY(0px) scale(1); opacity: 0.15; }
    to   { transform: translateY(-20px) scale(1.3); opacity: 0.4; }
}

/* Badge superior */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(29, 200, 205, 0.12);
    border: 1px solid rgba(29, 200, 205, 0.35);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1dc8cd;
    margin-bottom: 24px;
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: #1dc8cd;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(29,200,205,0.5); }
    50% { box-shadow: 0 0 0 6px rgba(29,200,205,0); }
}

/* Título con gradiente */
.hero-title-proyectos {
    font-size: clamp(52px, 8vw, 90px);
    font-weight: 900;
    letter-spacing: 8px;
    margin-bottom: 0;
    line-height: 1;
}

.title-gradient {
    background: linear-gradient(135deg, #ffffff 30%, #1dc8cd 70%, #009688 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-line {
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #1dc8cd, transparent);
    margin: 16px auto 28px;
    border-radius: 2px;
    animation: lineExpand 1.5s ease-out forwards;
}

@keyframes lineExpand {
    from { width: 0; opacity: 0; }
    to   { width: 80px; opacity: 1; }
}

/* Tags de categorías */
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(8px);
    color: rgba(255,255,255,0.85);
    transition: all 0.3s ease;
}

.hero-tag:hover {
    background: rgba(29, 200, 205, 0.2);
    border-color: #1dc8cd;
    color: #1dc8cd;
    transform: translateY(-2px);
}

.hero-tag .fa {
    font-size: 11px;
    color: #1dc8cd;
}

/* Slogan */
.hero-slogan {
    font-family: 'Courier New', Courier, monospace;
    font-size: clamp(13px, 2vw, 16px);
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 36px;
}

.slogan-bar {
    color: #1dc8cd;
    margin: 0 8px;
    opacity: 0.7;
}

/* Estadísticas rápidas */
.hero-stat {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 16px 32px;
    margin-bottom: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 18px;
    font-weight: 700;
    color: #1dc8cd;
    line-height: 1;
}

.stat-label {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.15);
}

/* Scroll indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.5;
    transition: opacity 0.3s;
    cursor: pointer;
}

.scroll-indicator:hover { opacity: 0.9; }

.scroll-indicator span {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
}

.scroll-arrow {
    animation: bounceDown 1.5s ease-in-out infinite;
    color: #1dc8cd;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* Modo claro */
.white-version .hero-badge {
    background: rgba(29, 200, 205, 0.08);
}

.white-version .hero-tags .hero-tag {
    background: rgba(0,0,0,0.05);
    border-color: rgba(0,0,0,0.1);
    color: #333;
}

.white-version .hero-stat {
    background: rgba(0,0,0,0.05);
    border-color: rgba(0,0,0,0.08);
}

.white-version .hero-slogan {
    color: rgba(0,0,0,0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-stat {
        flex-direction: column;
        gap: 16px;
        padding: 16px 24px;
    }
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    .hero-tags {
        gap: 8px;
    }
}
/*
|============================================
| BLOG SINGLE - MEJORAS DE DISEÑO
|============================================
*/

/* Hero image con overlay */
.blog-hero-image {
  position: relative;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  margin-bottom: 0;
}

.blog-hero-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  margin-bottom: 0;
  transition: transform 0.6s ease;
}

.blog-hero-image:hover img {
  transform: scale(1.02);
}

.blog-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
}

.blog-category-tag {
  display: inline-block;
  background: #0bceaf;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
}

/* Blog inner padding mejorado */
.mh-blog .mh-blog-item .blog-inner {
  padding: 36px 40px 40px;
}

/* Título del artículo */
.mh-blog .mh-blog-item.blog-single h2 {
  font-size: 32px;
  line-height: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.mh-blog .mh-blog-item.blog-single h2 a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mh-blog .mh-blog-item.blog-single h2 a:hover {
  color: #0bceaf;
}

/* Post meta info mejorada */
.mh-blog-post-info {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mh-blog-post-info ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.mh-blog-post-info ul li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

.mh-blog-post-info ul li .fa {
  color: #0bceaf;
  font-size: 13px;
}

.mh-blog-post-info ul li a,
.mh-blog-post-info ul li span {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.mh-blog-post-info ul li a:hover {
  color: #0bceaf;
}

/* White version meta */
.white-vertion .mh-blog-post-info ul li {
  color: rgba(0,0,0,0.45);
}

.white-vertion .mh-blog-post-info ul li a,
.white-vertion .mh-blog-post-info ul li span {
  color: rgba(0,0,0,0.55);
}

/* Blog paragraphs */
.mh-blog .mh-blog-item.blog-single .blog-inner p {
  font-size: 16px;
  line-height: 28px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 22px;
}

.white-vertion .mh-blog .mh-blog-item.blog-single .blog-inner p {
  color: rgba(0,0,0,0.68);
}

/* H3 inside blog */
.mh-blog .mh-blog-item.blog-single h3 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 14px;
  color: #fff;
  letter-spacing: -0.3px;
}

.white-vertion .mh-blog .mh-blog-item.blog-single h3 {
  color: #1a1a2e;
}

/* Lista mejorada */
.mh-blog .mh-blog-item.blog-single ul {
  padding-left: 0;
  margin-bottom: 24px;
  list-style: none;
}

.mh-blog .mh-blog-item.blog-single ul li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 16px;
  line-height: 26px;
  color: rgba(255,255,255,0.72);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mh-blog .mh-blog-item.blog-single ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0bceaf;
  box-shadow: 0 0 6px rgba(11, 206, 175, 0.5);
}

.white-vertion .mh-blog .mh-blog-item.blog-single ul li {
  color: rgba(0,0,0,0.68);
  border-bottom-color: rgba(0,0,0,0.06);
}

/* Blockquote mejorado */
.mh-blog .mh-blog-item.blog-single q,
.mh-blog .mh-blog-item.blog-single blockquote {
  display: block;
  position: relative;
  background: rgba(11, 206, 175, 0.06);
  border-left: 4px solid #0bceaf;
  border-radius: 0 10px 10px 0;
  padding: 24px 28px 24px 32px;
  margin: 28px 0;
  font-size: 17px;
  line-height: 30px;
  font-style: italic;
  color: rgba(255,255,255,0.75);
  quotes: none;
}

.mh-blog .mh-blog-item.blog-single q::before,
.mh-blog .mh-blog-item.blog-single q::after {
  content: '';
}

.mh-blog .mh-blog-item.blog-single q::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 16px;
  font-size: 60px;
  color: #0bceaf;
  opacity: 0.4;
  font-style: normal;
  line-height: 1;
}

.white-vertion .mh-blog .mh-blog-item.blog-single q,
.white-vertion .mh-blog .mh-blog-item.blog-single blockquote {
  background: rgba(11, 206, 175, 0.07);
  color: rgba(0,0,0,0.65);
}

/* Imagen inline del artículo */
.blog-inline-image {
  margin: 30px 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.blog-inline-image img {
  width: 100%;
  display: block;
  margin-bottom: 0;
}

.blog-image-caption {
  background: rgba(255,255,255,0.04);
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  font-style: italic;
  padding: 10px 16px;
  margin: 0;
}

.white-vertion .blog-image-caption {
  background: rgba(0,0,0,0.04);
  color: rgba(0,0,0,0.45);
}

/* Tags y Share */
.blog-tags-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.white-vertion .blog-tags-share {
  border-top-color: rgba(0,0,0,0.08);
}

.blog-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-tags .fa {
  color: #0bceaf;
  margin-right: 4px;
}

.blog-tag {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid rgba(11, 206, 175, 0.3);
  border-radius: 20px;
  font-size: 12px;
  color: #0bceaf;
  text-decoration: none;
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
}

.blog-tag:hover,
.mh-blog .mh-blog-item .blog-inner a.blog-tag:hover,
a.blog-tag:hover {
  background: #0bceaf;
  color: #fff !important;
  text-decoration: none;
}

.blog-share {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-share span {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

.white-vertion .blog-share span {
  color: rgba(0,0,0,0.45);
}

.blog-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid rgba(255,255,255,0.1);
}

.blog-share-btn:hover,
.mh-blog .mh-blog-item .blog-inner a.blog-share-btn:hover,
a.blog-share-btn:hover {
  background: #0bceaf;
  color: #fff !important;
  border-color: #0bceaf;
  transform: translateY(-2px);
  text-decoration: none;
}

.white-vertion .blog-share-btn {
  background: rgba(0,0,0,0.05);
  color: rgba(0,0,0,0.5);
  border-color: rgba(0,0,0,0.1);
}

.white-vertion .blog-share-btn:hover,
.white-vertion .mh-blog .mh-blog-item .blog-inner a.blog-share-btn:hover,
.white-vertion a.blog-share-btn:hover {
  background: #0bceaf;
  color: #fff !important;
  border-color: #0bceaf;
}

/*
|============================================
| COMMENTS SECTION - DISEÑO MEJORADO
|============================================
*/

.comments-section {
  margin-top: 50px;
  margin-bottom: 16px;
}

.comments-header {
  margin-bottom: 28px;
}

.comments-header h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.comments-header h3 .fa {
  color: #0bceaf;
  font-size: 20px;
}

.comments-header .comment-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #0bceaf;
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}

.white-vertion .comments-header h3 {
  color: #1a1a2e;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Single comment rediseñado */
.single-comment {
  display: flex;
  gap: 18px;
  padding: 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: none;
  margin-top: 0;
  overflow: visible;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.single-comment:hover {
  background: rgba(11, 206, 175, 0.04);
  border-color: rgba(11, 206, 175, 0.2);
}

.white-vertion .single-comment {
  background: rgba(0,0,0,0.02);
  border-color: rgba(0,0,0,0.07);
  margin-top: 0;
  padding: 24px;
}

.white-vertion .single-comment:hover {
  background: rgba(11, 206, 175, 0.04);
  border-color: rgba(11, 206, 175, 0.2);
}

/* Reply comments indented */
.reply-comment {
  margin-left: 56px;
  background: rgba(11, 206, 175, 0.03);
  border-left: 3px solid rgba(11, 206, 175, 0.3);
}

.comment-avatar {
  flex-shrink: 0;
}

.comment-avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(11, 206, 175, 0.4);
}

.comment-body {
  flex: 1;
  min-width: 0;
}

.comment-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.comment-header h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.white-vertion .comment-header h4 {
  color: #1a1a2e;
}

.reply-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(11, 206, 175, 0.15);
  color: #0bceaf;
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid rgba(11, 206, 175, 0.3);
}

.comment-date {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  gap: 5px;
}

.white-vertion .comment-date {
  color: rgba(0,0,0,0.4);
}

.comment-date .fa {
  font-size: 11px;
}

.comment-body p {
  font-size: 15px;
  line-height: 26px;
  color: rgba(255,255,255,0.65);
  margin: 0 0 12px;
}

.white-vertion .comment-body p {
  color: rgba(0,0,0,0.6);
}

.comment-reply {
  font-size: 12px;
  color: #0bceaf;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: opacity 0.2s;
}

.comment-reply:hover {
  opacity: 0.75;
  text-decoration: none;
  color: #0bceaf;
}

/*
|============================================
| COMMENT FORM - DISEÑO MEJORADO
|============================================
*/

.blog-form-inner {
  margin-top: 16px;
  padding: 36px 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: none;
}

.white-vertion .blog-form-inner {
  background: rgba(0,0,0,0.02);
  border-color: rgba(0,0,0,0.08);
  box-shadow: none;
}

.blog-form-inner h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0;
  margin-bottom: 6px;
}

.blog-form-inner h3 .fa {
  color: #0bceaf;
  font-size: 20px;
}

.white-vertion .blog-form-inner h3 {
  color: #1a1a2e;
}

.comment-form-subtitle {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 28px;
}

.white-vertion .comment-form-subtitle {
  color: rgba(0,0,0,0.4);
}

/* Form group con íconos */
.form-group-custom {
  position: relative;
  margin-bottom: 18px;
}

.form-group-custom .form-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.3);
  font-size: 14px;
  z-index: 2;
  pointer-events: none;
}

.form-group-custom .form-control,
.form-group-custom .contact-name,
.form-group-custom .contact-subject {
  padding-left: 42px;
}

.form-group-custom textarea {
  padding-left: 16px;
  padding-top: 14px;
}

.white-vertion .form-group-custom .form-icon {
  color: rgba(0,0,0,0.3);
}

/* Inputs del formulario de comentarios */
.blog-form-inner .form-control,
.blog-form-inner .contact-name,
.blog-form-inner .contact-subject,
.blog-form-inner .contact-message {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.blog-form-inner .form-control:focus,
.blog-form-inner .contact-name:focus,
.blog-form-inner .contact-subject:focus,
.blog-form-inner .contact-message:focus {
  background: rgba(11, 206, 175, 0.05);
  border-color: rgba(11, 206, 175, 0.5);
  box-shadow: 0 0 0 3px rgba(11, 206, 175, 0.1);
  outline: none;
}

.white-vertion .blog-form-inner .form-control,
.white-vertion .blog-form-inner .contact-name,
.white-vertion .blog-form-inner .contact-subject,
.white-vertion .blog-form-inner .contact-message {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.12);
  color: rgba(0,0,0,0.8);
  box-shadow: none;
}

.white-vertion .blog-form-inner .form-control:focus,
.white-vertion .blog-form-inner .contact-name:focus,
.white-vertion .blog-form-inner .contact-subject:focus,
.white-vertion .blog-form-inner .contact-message:focus {
  background: rgba(11, 206, 175, 0.04);
  border-color: rgba(11, 206, 175, 0.4);
  box-shadow: 0 0 0 3px rgba(11, 206, 175, 0.08);
}

/* Responsive */
@media (max-width: 768px) {
  .mh-blog .mh-blog-item .blog-inner {
    padding: 24px 20px 28px;
  }
  .blog-hero-image img {
    height: 260px;
  }
  .blog-tags-share {
    flex-direction: column;
    align-items: flex-start;
  }
  .reply-comment {
    margin-left: 20px;
  }
  .blog-form-inner {
    padding: 24px 20px;
  }
  .mh-blog-post-info ul {
    gap: 12px;
  }
  .comment-header {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* =========================================================
   UNIFIED CARD SYSTEM
   --------------------------------------------------------
   Las 5 tarjetas principales del sitio comparten el mismo
   estilo base (fondo, borde, radio, sombra, hover) usando
   los tokens centralizados de theme.css.

   Componentes incluidos:
   - .mh-service-item       (sección "Sobre Mí")
   - .skill-card            (sección "Skills")
   - .timeline-item         (sección "Experiencia")
   - .cert-card             (carrusel de Certificaciones)
   - .mh-address-footer-item (sección "Contacto" en el footer)

   Esto va al FINAL del archivo para ganar especificidad sobre
   las reglas históricas (.dark-vertion .x, .shadow-1, .dark-bg)
   sin necesidad de tocarlas.
   ========================================================= */

.mh-service-item,
.skill-card,
.timeline-item,
.cert-card,
.mh-footer-address .mh-address-footer-item {
    background-color: var(--bg-elevated) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-sm) !important;
    transition:
        transform var(--t-base),
        box-shadow var(--t-base),
        border-color var(--t-base),
        background-color var(--t-base) !important;
}

.mh-service-item:hover,
.skill-card:hover,
.timeline-item:hover,
.cert-card:hover,
.mh-footer-address .mh-address-footer-item:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--shadow-md) !important;
    border-color: var(--border-brand) !important;
}

/* Anular las sombras laterales legacy (.dark-vertion .x con
   -1rem 0 3rem #000) que rompen la armonía de la unificación */
.dark-vertion .mh-service .mh-service-item,
.dark-vertion .mh-footer-address .mh-address-footer-item,
.dark-vertion .mh-experince .mh-education-deatils .mh-education-item {
    box-shadow: var(--shadow-sm) !important;
    -webkit-box-shadow: var(--shadow-sm) !important;
}

.dark-vertion .mh-service .mh-service-item:hover,
.dark-vertion .mh-footer-address .mh-address-footer-item:hover,
.dark-vertion .mh-experince .mh-education-deatils .mh-education-item:hover {
    box-shadow: var(--shadow-md) !important;
    -webkit-box-shadow: var(--shadow-md) !important;
}

/* Asegurar que las clases legacy .dark-bg y .shadow-1 (que
   el HTML aún incluye en algunas tarjetas) no peleen con el
   estilo unificado */
.mh-service-item.dark-bg,
.mh-service-item.shadow-1,
.skill-card.dark-bg,
.skill-card.shadow-1,
.timeline-item.dark-bg,
.timeline-item.shadow-1,
.mh-address-footer-item.dark-bg,
.mh-address-footer-item.shadow-1 {
    background-color: var(--bg-elevated) !important;
    box-shadow: var(--shadow-sm) !important;
}

.mh-service-item.dark-bg:hover,
.mh-service-item.shadow-1:hover,
.skill-card.dark-bg:hover,
.skill-card.shadow-1:hover,
.timeline-item.dark-bg:hover,
.timeline-item.shadow-1:hover,
.mh-address-footer-item.dark-bg:hover,
.mh-address-footer-item.shadow-1:hover {
    box-shadow: var(--shadow-md) !important;
}

/* Padding consistente — los componentes ya tienen su propio
   padding interno, pero por si alguno quedó sin él */
.mh-service-item,
.mh-footer-address .mh-address-footer-item {
    padding: 24px;
}

/* La tarjeta de skills puede ser más compacta */
.skill-card {
    padding: 18px;
}

/* Las timeline-item NO necesitan padding propio:
   .timeline-content (capa interna) ya lo aplica en 14px 20px */
.timeline-item {
    padding: 0 !important;
}

/* Toda la tarjeta de experiencia es clickeable cuando tiene
   contenido expandible (.timeline-clickable adentro).
   Se identifica con :has() y, como fallback para navegadores
   sin soporte, también añadimos la clase .is-clickable vía JS. */
.timeline-item:has(.timeline-clickable),
.timeline-item.is-clickable {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

/* Mantener apariencia interactiva al pasar el mouse */
.timeline-item:has(.timeline-clickable):hover .header-chevron,
.timeline-item.is-clickable:hover .header-chevron {
    color: var(--text-brand);
}

/* ============= 3. responsive.css ============= */
/*
================
 VARIABLES
================
*/
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.shadow-1 {
  -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

@media only screen and (min-width: 1600px) {
  .home-video .mh-home .mh-header-info {
    padding: 100px 0;
  }
  .home-slider .mh-home .mh-header-info {
    padding: 100px 0;
  }
}

@media only screen and (min-width: 1400px) {
  .home-video .mh-service {
    padding-bottom: 80px;
  }
}

@media only screen and (max-width: 1400px) {
  .mh-single-project-slide-by-side .owl-prev {
    top: 40%;
    left: 0;
  }
  .mh-single-project-slide-by-side .owl-next {
    top: 44%;
    right: 0;
  }
}

@media only screen and (max-width: 991px) {
  .section-separator {
    padding: 40px 0;
  }
  .mh-home-2 .mh-header-info p {
    padding: 0 0px;
    font-weight: 300;
  }
  .home-section-separator {
    padding-top: 100px;
    padding-bottom: 100px;
  }
  .mh-footer-address .mh-address-footer-item .each-icon .fa {
    width: 60px;
    height: 60px;
    line-height: 60px;
  }
  .mh-home-2 .mh-header-info .mh-about-tag {
    width: 80%;
  }
  .mh-xs-mobile-nav {
    z-index: 99;
    /*-------------------------------*/
    /*            Overlay            */
    /*-------------------------------*/
    /*  Navigation Menu */
  }
  .mh-xs-mobile-nav .nav-btn .navbar-toggler.active {
    display: none;
  }
  .mh-xs-mobile-nav .navbar-nav {
    padding-top: 50px;
  }
  .mh-xs-mobile-nav .navbar-collapse {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 320px;
    left: 0;
    z-index: 990;
    margin-top: 0px;
    padding: 0;
    background-color: #0bceaf;
    transform: translateX(-100%) translateY(0) translateZ(0) rotate(0deg) scale(1);
    -o-transform: translateX(-100%) translateY(0) translateZ(0) rotate(0deg) scale(1);
    -ms-transform: translateX(-100%) translateY(0) translateZ(0) rotate(0deg) scale(1);
    -moz-transform: translateX(-100%) translateY(0) translateZ(0) rotate(0deg) scale(1);
    -webkit-transform: translateX(-100%) translateY(0) translateZ(0) rotate(0deg) scale(1);
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-y: none;
  }
  .mh-xs-mobile-nav .navbar-collapse.active {
    transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
    -o-transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
    -ms-transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
    -moz-transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
    -webkit-transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
  }
  .mh-xs-mobile-nav .collapse {
    display: block;
  }
  .mh-xs-mobile-nav .navbar-fixed-bottom .navbar-collapse,
  .mh-xs-mobile-nav .navbar-fixed-top .navbar-collapse {
    max-height: inherit;
  }
  .mh-xs-mobile-nav .navbar-header {
    position: fixed;
    z-index: 999;
    width: 100%;
    margin-top: 0px;
    left: 0;
  }
  .mh-xs-mobile-nav .navbar-toggler .icon {
    transform: translateX(-50%) translateY(-50%) translateZ(0) rotate(0deg) scale(1);
    -o-transform: translateX(-50%) translateY(-50%) translateZ(0) rotate(0deg) scale(1);
    -ms-transform: translateX(-50%) translateY(-50%) translateZ(0) rotate(0deg) scale(1);
    -moz-transform: translateX(-50%) translateY(-50%) translateZ(0) rotate(0deg) scale(1);
    -webkit-transform: translateX(-50%) translateY(-50%) translateZ(0) rotate(0deg) scale(1);
  }
  .mh-xs-mobile-nav .navbar-toggler .icon,
  .mh-xs-mobile-nav .navbar-toggler .icon::after,
  .mh-xs-mobile-nav .navbar-toggler .icon::before {
    width: 22px;
    height: 2px;
    position: absolute;
    border-radius: 2px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  .mh-xs-mobile-nav .navbar-toggler .icon::after,
  .mh-xs-mobile-nav .navbar-toggler .icon::before {
    content: '';
    top: 0;
    right: 0;
    -webkit-transition: all 0.6s ease-out;
    transition: all 0.6s ease-out;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  .mh-xs-mobile-nav .navbar-toggler .icon::after {
    transform: translateX(0) translateY(6px) translateZ(0) rotate(0deg) scale(1);
    -o-transform: translateX(0) translateY(6px) translateZ(0) rotate(0deg) scale(1);
    -ms-transform: translateX(0) translateY(6px) translateZ(0) rotate(0deg) scale(1);
    -moz-transform: translateX(0) translateY(6px) translateZ(0) rotate(0deg) scale(1);
    -webkit-transform: translateX(0) translateY(6px) translateZ(0) rotate(0deg) scale(1);
  }
  .mh-xs-mobile-nav .navbar-toggler .icon::before {
    transform: translateX(0) translateY(-6px) translateZ(0) rotate(0deg) scale(1);
    -o-transform: translateX(0) translateY(-6px) translateZ(0) rotate(0deg) scale(1);
    -ms-transform: translateX(0) translateY(-6px) translateZ(0) rotate(0deg) scale(1);
    -moz-transform: translateX(0) translateY(-6px) translateZ(0) rotate(0deg) scale(1);
    -webkit-transform: translateX(0) translateY(-6px) translateZ(0) rotate(0deg) scale(1);
  }
  .mh-xs-mobile-nav .navbar-toggler.active .icon::after {
    transform: translateX(0) translateY(0) translateZ(0) rotate(138deg) scale(1);
    -o-transform: translateX(0) translateY(0) translateZ(0) rotate(138deg) scale(1);
    -ms-transform: translateX(0) translateY(0) translateZ(0) rotate(138deg) scale(1);
    -moz-transform: translateX(0) translateY(0) translateZ(0) rotate(138deg) scale(1);
    -webkit-transform: translateX(0) translateY(0) translateZ(0) rotate(138deg) scale(1);
  }
  .mh-xs-mobile-nav .navbar-toggler.active .icon::before {
    transform: translateX(0) translateY(0) translateZ(0) rotate(-135deg) scale(1);
    -o-transform: translateX(0) translateY(0) translateZ(0) rotate(-135deg) scale(1);
    -ms-transform: translateX(0) translateY(0) translateZ(0) rotate(-135deg) scale(1);
    -moz-transform: translateX(0) translateY(0) translateZ(0) rotate(-135deg) scale(1);
    -webkit-transform: translateX(0) translateY(0) translateZ(0) rotate(-135deg) scale(1);
  }
  .mh-xs-mobile-nav .navbar-toggler.active .icon::after,
  .mh-xs-mobile-nav .navbar-toggler.active .icon::before {
    background-color: #fff;
  }
  .mh-xs-mobile-nav .navbar-toggler.active .icon {
    background-color: transparent;
  }
  .mh-xs-mobile-nav .navbar-toggler:focus {
    outline: 0 !important;
  }
  .mh-xs-mobile-nav .strict {
    background-color: rgba(0, 0, 0, 0.9);
    padding-bottom: 65px;
  }
  .mh-xs-mobile-nav .navbar-toggler {
    padding: 15px;
    margin-right: 15px;
    margin-left: 15px;
    margin-top: 30px;
    z-index: 1000;
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: block;
  }
  .mh-xs-mobile-nav .navbar-header .navbar-toggler .icon-bar {
    background-color: #0bceaf;
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  .mh-xs-mobile-nav .navbar-header .navbar-toggler.active .icon-bar {
    background-color: #fff;
  }
  .mh-xs-mobile-nav .overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 3;
  }
  .mh-xs-mobile-nav .overlay.active {
    display: block;
  }
  .mh-xs-mobile-nav .navbar-collapse {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 320px;
    left: 0;
    z-index: 990;
    margin-top: 0px;
    padding: 0;
    background-color: #0bceaf;
    transform: translateX(-100%) translateY(0) translateZ(0) rotate(0deg) scale(1);
    -o-transform: translateX(-100%) translateY(0) translateZ(0) rotate(0deg) scale(1);
    -ms-transform: translateX(-100%) translateY(0) translateZ(0) rotate(0deg) scale(1);
    -moz-transform: translateX(-100%) translateY(0) translateZ(0) rotate(0deg) scale(1);
    -webkit-transform: translateX(-100%) translateY(0) translateZ(0) rotate(0deg) scale(1);
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-y: none;
  }
  .mh-xs-mobile-nav .navbar-collapse .nav {
    margin-top: 75px;
    border-top: 1px solid;
    border-top-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
  }
  .mh-xs-mobile-nav .navbar-collapse .nav li {
    text-align: center;
    margin-bottom: 0px;
    width: 100%;
    display: block;
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-transform: translate3d(-20px, -10px, 0);
            transform: translate3d(-20px, -10px, 0);
  }
  .mh-xs-mobile-nav .navbar-collapse .nav li a {
    background-color: transparent;
    text-transform: uppercase;
    font-size: 17px;
    line-height: 26px;
  }
  .mh-xs-mobile-nav .navbar-collapse .nav li a:hover {
    color: white !important;
    background: transparent;
  }
  .mh-xs-mobile-nav .navbar-collapse .nav li a.active {
    color: #fff;
  }
  .mh-xs-mobile-nav .navbar-collapse .nav li.active {
    color: #fff;
  }
  .mh-xs-mobile-nav .navbar-collapse.active {
    transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
    -o-transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
    -ms-transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
    -moz-transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
    -webkit-transform: translateX(0) translateY(0) translateZ(0) rotate(0deg) scale(1);
  }
  .mh-xs-mobile-nav .collapse.in {
    background-color: rgba(0, 0, 0, 0.9);
  }
  .mh-xs-mobile-nav .navbar-dark .navbar-toggler {
    border-color: transparent;
  }
  .mh-xs-mobile-nav .navbar-dark .navbar-toggler-icon {
    background-image: inherit;
  }
  .mh-home .mh-header-info {
    padding: 0;
  }
  .mh-header {
    padding: 10px 0;
  }
  .home-padding {
    padding: 100px 0;
  }
  .mh-about .mh-about-inner {
    padding-left: 5px;
  }
  .mh-home .mh-header-info h2 {
    font-size: 42px;
    font-weight: 600;
    line-height: 54px;
  }
  .mh-home .mh-header-info h4 {
    font-size: 20px;
    line-height: 24px;
  }
  .mh-nav {
    padding: 0;
  }
  .mh-professional-skills {
    padding-left: 0;
  }
  .mh-skills .mh-professional-skill {
    padding-right: 0;
  }
  .mh-home .mh-header-info .mh-promo {
    margin-bottom: 20px;
  }
  .nav-strict .navbar-toggler {
    margin-top: 0px;
  }
  .mh-footer-3 .mh-footer-address .mh-address-footer-item .each-info {
    padding-left: 20px;
  }
  .mh-blog-sidebar .social-icon li {
    margin-right: 2px;
  }
  .mh-xs-mobile-nav .navbar-nav {
    padding-top: 50px;
    padding-right: 20px;
  }
}

@media only screen and (max-width: 768px) {
  .mh-blog .mh-blog-item {
    text-align: center;
  }
  .blog-form-inner {
    padding: 10px;
  }
  .mh-blog .mh-blog-item .blog-inner {
    padding: 0px;
  }
  .mh-blog-next-prev-post {
    text-align: center !important;
    margin: 10px 0;
  }
  .mh-blog .mh-blog-item img {
    margin-bottom: 30px;
    margin: 0 auto;
    float: none;
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
  }
  .mh-blog .mh-blog-item h2 {
    margin-bottom: 14px;
    font-weight: bold;
    font-size: 18px;
    line-height: 30px;
  }
  .mh-experince h3 {
    margin-bottom: 30px;
  }
  .mh-work h3 {
    margin-bottom: 30px;
    margin-top: 30px;
  }
  .mh-work {
    padding-left: 0;
  }
  .mh-education {
    padding-right: 0;
  }
  .mh-skills .mh-professional-skill h3 {
    margin-bottom: 30px;
  }
  .mh-professional-skills h3 {
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .mh-about .mh-about-inner {
    margin-top: 40px;
  }
  .mh-footer-address .mh-address-footer-item .each-icon .fa {
    width: 70px;
    height: 70px;
    line-height: 70px;
  }
  .mh-home-2 .mh-header-info ul.mh-home-contact li {
    display: inline-block;
    margin: 10px 15px;
    width: 40%;
    text-align: left;
  }
  .mh-testimonial .mh-client-item {
    padding: 30px 10px;
  }
  .mh-home-2 .mh-header-info .mh-about-tag {
    width: 100%;
  }
  .mh-blog .mh-blog-item .blog-inner {
    text-align: left;
  }
  .single-comment {
    margin: 0 auto;
    text-align: center;
    display: block;
    margin-top: 30px;
  }
  .single-comment img {
    margin-bottom: 20px;
  }
  .mh-blog .mh-blog-item .blog-inner {
    text-align: center;
    padding: 0 12px;
    padding-bottom: 15px;
  }
  .mh-single-project-slide-by-side .owl-prev {
    top: 98%;
    left: 20%;
  }
  .mh-single-project-slide-by-side .owl-next {
    top: 98%;
    right: 20%;
  }
  .mh-single-project-slide-by-side {
    padding-bottom: 30px;
  }
}

@media only screen and (max-width: 575px) {
  .xs-column-reverse {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
  }
  .mh-header {
    padding: 0;
  }
  .home-padding {
    padding: 100px 0;
  }
  .mh-home .hero-img {
    margin-bottom: 30px;
  }
  .mh-home .mh-header-info {
    padding: 0;
    text-align: center;
    margin-top: 40px;
  }
  .mh-about .mh-about-inner {
    padding-left: 5px;
    text-align: center;
    margin: 30px 15px;
  }
  .mh-skills .mh-professional-skill {
    padding-right: 0;
    padding: 0 15px;
  }
  .mh-experince h3 {
    margin-bottom: 30px;
    text-align: center;
  }
  .mh-education {
    margin-bottom: 30px;
    padding-right: 0;
  }
  .mh-work {
    padding-left: 0;
    margin-bottom: 30px;
  }
  .portfolio-nav ul li {
    margin-bottom: 20px;
  }
  .mh-skills .mh-professional-skill {
    margin-bottom: 50px;
  }
  .section-separator {
    padding: 30px 0;
  }
  .mh-home .mh-header-info .mh-promo {
    margin-bottom: 20px;
  }
  .mh-featured-project-content {
    margin-top: 40px;
    text-align: center;
  }
  .mh-featured-project .mh-featured-item .mh-featured-project-content p {
    text-align: center;
  }
  .mh-quates .each-quates {
    padding: 30px;
  }
  .mh-map {
    padding: 0px;
    margin-top: 40px;
  }
  .mh-home-2 .mh-header-info ul.mh-home-contact li {
    width: 100%;
    margin: 6px 10px;
  }
  .mh-footer-3 .mh-footer-address .mh-address-footer-item {
    display: block;
    padding: 20px 0px;
  }
  .mh-footer-3 .mh-footer-address .mh-address-footer-item .each-info {
    padding-left: 20px;
    text-align: center;
  }
  .mh-footer-3 .mh-footer-address .mh-address-footer-item .each-info {
    padding-left: 0;
    text-align: center;
  }
  .xs-no-padding {
    padding: 0;
  }
  .mh-home-2 .mh-header-info {
    text-align: center;
    padding-top: 50px;
  }
  .mh-portfolio-modal-inner {
    margin-right: 0;
  }
  .mh-portfolio-modal {
    padding: 10px;
  }
  .mh-portfolio-modal-img {
    margin-top: 50px;
  }
  .mh-service .mh-service-item {
    margin-bottom: 20px;
    text-align: center;
  }
  .social-icon {
    display: block;
    margin: 0 auto;
    float: none;
    text-align: center;
  }
  .social-icon li {
    list-style: none;
    float: none;
    text-align: center;
    display: inline-block;
    margin-bottom: 0px;
    margin-right: 4px;
    margin-left: 4px;
  }
  .text-left.text-xs-center {
    text-align: center !important;
  }
}

@media only screen and (max-width: 420px) {
  .mh-home .img-border {
    height: 280px;
    width: 280px;
  }
  .home-padding {
    padding: 60px 0;
  }
}
/*# sourceMappingURL=responsive.css.map */
/* ============= 4. modal-cv.css ============= */
/*
==============================================
  MODAL CV — COMPLETO (opciones + vista previa)
  Reemplaza el bloque anterior en styles.css
==============================================
*/

/* ══════════════════════════════════════
   MODAL 1 — Opciones (descargar / previa)
   ══════════════════════════════════════ */

.cv-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cv-modal-overlay.active {
    display: flex;
    animation: cv-overlay-in 0.3s ease;
}

@keyframes cv-overlay-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.cv-modal-container {
    position: relative;
    width: 100%;
    max-width: 460px;
    background: rgba(20, 20, 30, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(11, 206, 175, 0.25);
    border-radius: 24px;
    padding: 48px 40px 40px;
    text-align: center;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(11, 206, 175, 0.1),
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(11, 206, 175, 0.07);
    animation: cv-modal-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cv-modal-in {
    from { opacity: 0; transform: translateY(30px) scale(0.92); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.cv-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    z-index: 10;
}

.cv-modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.cv-modal-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(11, 206, 175, 0.2), rgba(11, 206, 175, 0.05));
    border: 1px solid rgba(11, 206, 175, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cv-modal-icon .fa {
    font-size: 32px;
    color: #0bceaf;
}

.cv-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
}

.cv-modal-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    margin: 0 0 28px;
}

.cv-modal-file-info {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 28px;
    text-align: left;
}

.cv-file-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 10px;
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cv-file-icon .fa {
    font-size: 20px;
    color: #e55;
}

.cv-file-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
}

.cv-file-name {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cv-file-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.cv-modal-actions {
    display: flex;
    gap: 12px;
}

.cv-action-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.cv-action-download {
    background: #0bceaf;
    color: #fff !important;
    border-color: #0bceaf;
}

.cv-action-download:hover {
    background: #09b89b;
    border-color: #09b89b;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 206, 175, 0.4);
}

.cv-action-preview {
    background: transparent;
    color: rgba(255, 255, 255, 0.7) !important;
    border-color: rgba(255, 255, 255, 0.2);
}

.cv-action-preview:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff !important;
    transform: translateY(-2px);
}

.cv-modal-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.cv-deco-1 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(11, 206, 175, 0.08) 0%, transparent 70%);
    top: -60px;
    right: -60px;
}

.cv-deco-2 {
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(11, 206, 175, 0.05) 0%, transparent 70%);
    bottom: -40px;
    left: -40px;
}

/* ══════════════════════════════════════
   MODAL 2 — Vista previa PDF
   ══════════════════════════════════════ */

.cv-preview-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.cv-preview-overlay.active {
    display: flex;
    animation: cv-overlay-in 0.25s ease;
}

.cv-preview-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 860px;
    height: 90vh;
    background: rgba(18, 18, 28, 0.97);
    border: 1px solid rgba(11, 206, 175, 0.2);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(11, 206, 175, 0.08),
        0 40px 100px rgba(0, 0, 0, 0.7);
    animation: cv-modal-in 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
}

/* Header del visor */
.cv-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    flex-shrink: 0;
}

.cv-preview-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    overflow: hidden;
}

.cv-preview-header-left .fa {
    font-size: 18px;
    color: #e55;
    flex-shrink: 0;
}

.cv-preview-header-left span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cv-preview-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Botón descargar en el header del visor */
.cv-preview-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    background: #0bceaf;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.cv-preview-action-btn:hover {
    background: #09b89b;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(11, 206, 175, 0.35);
}

/* Botón cerrar del visor */
.cv-preview-close-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.cv-preview-close-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    transform: rotate(90deg);
}

/* Cuerpo del visor */
.cv-preview-body {
    position: relative;
    flex: 1;
    overflow: hidden;
}

/* Spinner de carga */
.cv-preview-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
    background: rgba(18, 18, 28, 0.97);
    z-index: 2;
}

.cv-preview-loading .fa {
    font-size: 32px;
    color: #0bceaf;
}

.cv-preview-loading.hidden {
    display: none;
}

/* iFrame del PDF */
.cv-preview-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ══════════════════════════════════════
   TEMA CLARO
   ══════════════════════════════════════ */

.white-vertion .cv-modal-container {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(11, 206, 175, 0.3);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.white-vertion .cv-modal-title { color: #1a1a2e; }

.white-vertion .cv-modal-subtitle { color: rgba(0, 0, 0, 0.5); }

.white-vertion .cv-modal-close {
    border-color: rgba(0, 0, 0, 0.15);
    background: rgba(0, 0, 0, 0.05);
    color: rgba(0, 0, 0, 0.5);
}

.white-vertion .cv-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #1a1a2e;
}

.white-vertion .cv-modal-file-info {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
}

.white-vertion .cv-file-name { color: #1a1a2e; }

.white-vertion .cv-file-meta { color: rgba(0, 0, 0, 0.4); }

.white-vertion .cv-action-preview {
    color: rgba(0, 0, 0, 0.6) !important;
    border-color: rgba(0, 0, 0, 0.2);
}

.white-vertion .cv-action-preview:hover {
    background: rgba(0, 0, 0, 0.06);
    color: #1a1a2e !important;
}

.white-vertion .cv-preview-container {
    background: rgba(245, 245, 250, 0.98);
    border-color: rgba(11, 206, 175, 0.25);
}

.white-vertion .cv-preview-header {
    border-bottom-color: rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.02);
}

.white-vertion .cv-preview-header-left { color: rgba(0, 0, 0, 0.6); }

.white-vertion .cv-preview-close-btn {
    border-color: rgba(0, 0, 0, 0.15);
    background: rgba(0, 0, 0, 0.05);
    color: rgba(0, 0, 0, 0.5);
}

.white-vertion .cv-preview-close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #1a1a2e;
}

.white-vertion .cv-preview-loading {
    background: rgba(245, 245, 250, 0.98);
    color: rgba(0, 0, 0, 0.4);
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */

@media (max-width: 480px) {
    .cv-modal-container {
        padding: 40px 24px 32px;
        border-radius: 20px;
    }

    .cv-modal-actions {
        flex-direction: column;
    }

    .cv-modal-title { font-size: 20px; }

    .cv-preview-container {
        height: 95vh;
        border-radius: 16px;
    }

    .cv-preview-header {
        padding: 10px 14px;
    }

    .cv-preview-action-btn span {
        display: none;
    }

    .cv-preview-action-btn {
        padding: 8px 12px;
    }
}


/*
==============================================
  MODAL 3 — Confirmación descarga / Mensaje reclutadores
  Agregar al final de styles.css
==============================================
*/

/* ── Overlay ── */
.cv-success-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cv-success-overlay.active {
    display: flex;
    animation: cv-overlay-in 0.3s ease;
}

/* ── Contenedor ── */
.cv-success-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: rgba(14, 14, 22, 0.97);
    border: 1px solid rgba(11, 206, 175, 0.3);
    border-radius: 28px;
    padding: 44px 36px 32px;
    text-align: center;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(11, 206, 175, 0.12),
        0 40px 100px rgba(0, 0, 0, 0.7),
        0 0 80px rgba(11, 206, 175, 0.06);
    animation: cv-success-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cv-success-in {
    from { opacity: 0; transform: scale(0.8) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ── Partículas decorativas ── */
.cv-success-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    color: #0bceaf;
    font-size: 12px;
    opacity: 0;
    animation: particle-float 3s ease-in-out infinite;
}

.p1 { top: 15%; left: 10%; animation-delay: 0s;    font-size: 10px; }
.p2 { top: 20%; right: 12%; animation-delay: 0.4s; font-size: 8px;  color: rgba(11,206,175,0.6); }
.p3 { top: 60%; left: 6%;   animation-delay: 0.8s; font-size: 14px; }
.p4 { top: 70%; right: 8%;  animation-delay: 1.2s; font-size: 10px; color: rgba(11,206,175,0.5); }
.p5 { top: 40%; left: 92%;  animation-delay: 1.6s; font-size: 9px;  }
.p6 { top: 85%; left: 20%;  animation-delay: 2s;   font-size: 11px; color: rgba(11,206,175,0.4); }

@keyframes particle-float {
    0%   { opacity: 0;   transform: translateY(0)    rotate(0deg);   }
    20%  { opacity: 0.8; }
    80%  { opacity: 0.4; }
    100% { opacity: 0;   transform: translateY(-30px) rotate(180deg); }
}

/* ── Ícono de éxito ── */
.cv-success-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cv-success-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid #0bceaf;
    animation: ring-pulse 2s ease-in-out infinite;
}

@keyframes ring-pulse {
    0%, 100% { transform: scale(1);    opacity: 1;   box-shadow: 0 0 0 0 rgba(11,206,175,0.4); }
    50%       { transform: scale(1.08); opacity: 0.8; box-shadow: 0 0 0 10px rgba(11,206,175,0); }
}

.cv-success-check {
    font-size: 34px;
    color: #0bceaf;
    animation: check-bounce 0.6s cubic-bezier(0.34, 1.8, 0.64, 1) 0.2s both;
    position: relative;
    z-index: 1;
}

@keyframes check-bounce {
    from { transform: scale(0) rotate(-30deg); opacity: 0; }
    to   { transform: scale(1) rotate(0deg);   opacity: 1; }
}

/* ── Textos principales ── */
.cv-success-title {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}

.cv-success-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 18px;
}

/* ── Ruta del archivo ── */
.cv-success-path {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(11, 206, 175, 0.08);
    border: 1px solid rgba(11, 206, 175, 0.2);
    border-radius: 10px;
    padding: 10px 16px;
    margin-bottom: 24px;
}

.cv-success-path .fa {
    color: #0bceaf;
    font-size: 15px;
    flex-shrink: 0;
}

.cv-success-path-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Courier New', monospace;
    letter-spacing: 0.3px;
}

/* ── Separador ── */
.cv-success-divider {
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(11, 206, 175, 0.3),
        transparent
    );
    margin: 0 0 22px;
}

/* ── Bloque reclutadores ── */
.cv-success-recruiter-msg {
    background: linear-gradient(135deg,
        rgba(11, 206, 175, 0.07),
        rgba(11, 206, 175, 0.03)
    );
    border: 1px solid rgba(11, 206, 175, 0.18);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
}

.cv-success-recruiter-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #0bceaf, #09b89b);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.cv-success-recruiter-badge .fa {
    font-size: 10px;
}

.cv-success-recruiter-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin: 0 0 18px;
}

.cv-success-recruiter-text strong {
    color: #fff;
    font-weight: 600;
}

/* ── Botones de contacto ── */
.cv-success-recruiter-actions {
    display: flex;
    gap: 10px;
}

.cv-success-contact-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

.cv-contact-email {
    background: transparent;
    color: rgba(255, 255, 255, 0.75) !important;
    border-color: rgba(255, 255, 255, 0.2);
}

.cv-contact-email:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff !important;
    transform: translateY(-2px);
}

.cv-contact-linkedin {
    background: #0077B5;
    color: #fff !important;
    border-color: #0077B5;
}

.cv-contact-linkedin:hover {
    background: #005e8e;
    border-color: #005e8e;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 119, 181, 0.4);
}

/* ── Barra de progreso cierre automático ── */
.cv-success-progress-bar {
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.cv-success-progress-fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #0bceaf, #09b89b);
    border-radius: 10px;
    transform-origin: left;
    transition: none;
}

.cv-success-progress-fill.animating {
    transition: width linear;
}

.cv-success-close-hint {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    margin: 0;
}

.cv-success-close-hint span {
    color: rgba(11, 206, 175, 0.7);
    font-weight: 600;
}

/* ── Tema claro ── */
.white-vertion .cv-success-container {
    background: rgba(250, 252, 255, 0.98);
    border-color: rgba(11, 206, 175, 0.3);
}

.white-vertion .cv-success-title  { color: #1a1a2e; }
.white-vertion .cv-success-desc   { color: rgba(0,0,0,0.45); }

.white-vertion .cv-success-path {
    background: rgba(11, 206, 175, 0.06);
    border-color: rgba(11, 206, 175, 0.2);
}

.white-vertion .cv-success-path-text { color: rgba(0,0,0,0.65); }

.white-vertion .cv-success-recruiter-msg {
    background: linear-gradient(135deg, rgba(11,206,175,0.06), rgba(11,206,175,0.02));
    border-color: rgba(11, 206, 175, 0.2);
}

.white-vertion .cv-success-recruiter-text { color: rgba(0,0,0,0.65); }
.white-vertion .cv-success-recruiter-text strong { color: #1a1a2e; }

.white-vertion .cv-contact-email {
    color: rgba(0,0,0,0.6) !important;
    border-color: rgba(0,0,0,0.2);
}

.white-vertion .cv-contact-email:hover {
    background: rgba(0,0,0,0.05);
    color: #1a1a2e !important;
}

.white-vertion .cv-success-close-hint { color: rgba(0,0,0,0.3); }

/* ── Responsive ── */
@media (max-width: 480px) {
    .cv-success-container {
        padding: 36px 22px 28px;
        border-radius: 22px;
    }

    .cv-success-title { font-size: 22px; }

    .cv-success-recruiter-actions {
        flex-direction: column;
    }

    .cv-success-path-text {
        font-size: 11px;
    }
}
/* ============= 5. proyectos.css (scoped) ============= */
/* =========================================================
   PROYECTOS PAGE — Hero + Sidebar + Grid de proyectos
   100% basado en tokens de theme.css. No usa colores hex.
   ========================================================= */

.proyectos-page {
    background: var(--bg-page) !important;
    color: var(--text-primary);
}

/* Espacio para el header fijo */
.proyectos-page #main-content {
    padding-top: 90px;
    background: var(--bg-page);
}

/* =========================================================
   HERO
   ========================================================= */
.proyectos-hero {
    position: relative;
    padding: 50px 0 70px;
    background: linear-gradient(180deg, var(--bg-page) 0%, var(--bg-elevated) 100%);
    overflow: hidden;
}

.proyectos-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-dot {
    position: absolute;
    border-radius: 50%;
    opacity: 0.55;
}

.hero-dot-1 { width: 14px; height: 14px; background: var(--brand-500);    top: 15%; left: 8%;  opacity: 0.45; }
.hero-dot-2 { width: 10px; height: 10px; background: var(--accent-purple); top: 22%; left: 18%; opacity: 0.50; }
.hero-dot-3 { width: 12px; height: 12px; background: var(--accent-coral);  top: 18%; right: 12%; opacity: 0.45; }
.hero-dot-4 { width: 8px;  height: 8px;  background: var(--brand-500);    top: 60%; right: 6%;  opacity: 0.50; }
.hero-dot-5 { width: 10px; height: 10px; background: var(--accent-purple); top: 70%; left: 10%; opacity: 0.45; }

.proyectos-hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.proyectos-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-brand);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.proyectos-hero-badge .badge-arrow {
    color: var(--text-brand);
    opacity: 0.7;
    font-size: 14px;
}

.proyectos-hero-title {
    color: var(--text-primary) !important;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 20px;
    letter-spacing: -0.5px;
}

.proyectos-hero-title .title-accent {
    color: var(--text-brand);
    display: inline-block;
}

.proyectos-hero-desc {
    color: var(--text-muted) !important;
    font-size: 16.5px;
    line-height: 1.6;
    margin: 0 auto 38px;
    max-width: 600px;
    opacity: 1 !important;
}

/* Stats */
.proyectos-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.stat-icon-mint   { background: var(--bg-brand-soft); color: var(--text-brand); }
.stat-icon-purple { background: rgba(139, 92, 246, 0.14); color: var(--accent-purple); }
.stat-icon-orange { background: rgba(251, 146, 60, 0.14); color: var(--accent-orange); }

.stat-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.stat-value {
    color: var(--text-primary);
    font-size: 26px;
    font-weight: 700;
}

.stat-label {
    color: var(--text-muted);
    font-size: 13.5px;
}

/* =========================================================
   LAYOUT: SIDEBAR + CONTENT
   ========================================================= */
.proyectos-section {
    padding: 30px 0 70px;
    background: var(--bg-page);
}

.proyectos-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

/* =========================================================
   SIDEBAR
   ========================================================= */
.proyectos-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-self: start;
}

.proyectos-page .sidebar-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 22px 18px;
    box-shadow: var(--shadow-xs);
}

.proyectos-page .sidebar-card-title {
    color: var(--text-primary) !important;
    font-size: 14.5px;
    font-weight: 600;
    margin: 0 0 14px;
    opacity: 1 !important;
}

/* Filtros de categoría */
.sidebar-filters {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-filter {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--t-fast), color var(--t-fast);
    font-family: inherit;
    text-align: left;
}

.sidebar-filter:hover {
    background: var(--bg-muted);
    color: var(--text-primary);
}

.sidebar-filter.active {
    background: var(--bg-brand-softer);
    color: var(--text-brand-strong);
}

.sidebar-filter i {
    width: 16px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    flex-shrink: 0;
    transition: color var(--t-fast);
}

.sidebar-filter.active i {
    color: var(--text-brand);
}

.sidebar-filter-label {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-filter-count {
    background: var(--bg-muted);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    min-width: 26px;
    text-align: center;
    transition: background var(--t-fast), color var(--t-fast);
    flex-shrink: 0;
}

.sidebar-filter.active .sidebar-filter-count {
    background: var(--brand-500);
    color: var(--text-inverse);
}

/* Radios de tipo de contenido */
.sidebar-radios {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--radius-xs);
    cursor: pointer;
    transition: background var(--t-fast);
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.sidebar-radio:hover {
    background: var(--bg-muted);
}

.sidebar-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sidebar-radio-mark {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid var(--border-strong);
    flex-shrink: 0;
    position: relative;
    transition: border-color var(--t-fast);
}

.sidebar-radio-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-500);
    transform: translate(-50%, -50%) scale(0);
    transition: transform var(--t-fast);
}

.sidebar-radio input:checked ~ .sidebar-radio-mark {
    border-color: var(--brand-500);
}

.sidebar-radio input:checked ~ .sidebar-radio-mark::after {
    transform: translate(-50%, -50%) scale(1);
}

.sidebar-radio input:checked ~ .sidebar-radio-label {
    color: var(--text-primary);
    font-weight: 500;
}

.sidebar-radio-label {
    flex: 1;
}

/* CTA inferior del sidebar */
.sidebar-cta {
    background: linear-gradient(135deg, var(--brand-50) 0%, var(--brand-100) 100%);
    border: 1px solid var(--border-brand);
    border-radius: var(--radius-md);
    padding: 22px 20px;
    text-align: center;
}

.sidebar-cta h4 {
    color: var(--text-primary) !important;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 6px;
    opacity: 1 !important;
}

.sidebar-cta p {
    color: var(--text-secondary) !important;
    font-size: 13px;
    margin: 0 0 16px;
    line-height: 1.45;
    opacity: 1 !important;
}

.sidebar-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text) !important;
    text-decoration: none !important;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 600;
    transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}

.sidebar-cta-btn:hover {
    background: var(--btn-primary-bg-hover);
    color: var(--btn-primary-text) !important;
    transform: translateY(-1px);
    box-shadow: var(--btn-primary-shadow);
}

/* =========================================================
   CONTENIDO DERECHO
   ========================================================= */
.proyectos-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    gap: 16px;
    flex-wrap: wrap;
}

.proyectos-toolbar-title {
    color: var(--text-primary) !important;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    opacity: 1 !important;
    border: none !important;
    padding: 0 !important;
}

.proyectos-sort select {
    /* Importante: usar propiedades INDIVIDUALES (no la shorthand `background`)
       para no resetear background-image al cambiar tema. */
    background-color: var(--input-bg) !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
    border: 1px solid var(--input-border);
    border-radius: var(--radius-sm);
    padding: 8px 36px 8px 14px;
    font-size: 13.5px;
    color: var(--input-text) !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: border-color var(--t-fast),
                background-color var(--t-fast),
                color var(--t-fast);
}

/* Las <option> no siempre heredan los colores del <select>; les damos
   explícitamente fondo y texto adaptados al tema actual. */
.proyectos-sort select option {
    background-color: var(--bg-elevated);
    color: var(--text-primary);
}

.proyectos-sort select:focus,
.proyectos-sort select:hover {
    outline: none;
    border-color: var(--brand-500);
    color: var(--text-primary) !important;
}

/* Grid de tarjetas */
.proyectos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

/* Tarjeta de proyecto */
.proyecto-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: transform var(--t-base), box-shadow var(--t-base),
                border-color var(--t-base);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.proyecto-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-brand);
}

/* Foco accesible al navegar con Tab */
.proyecto-card:focus,
.proyecto-card:focus-visible {
    outline: 2px solid var(--brand-500);
    outline-offset: 3px;
}

.proyecto-card-img {
    position: relative;
    height: 170px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

/* Patrones de fondo por categoría — gradientes distintos */
.proyecto-card-img[data-pattern="data"] { background: linear-gradient(135deg, #0c4a6e 0%, #0f172a 100%); }
.proyecto-card-img[data-pattern="ml"]   { background: linear-gradient(135deg, #064e3b 0%, #0f172a 100%); }
.proyecto-card-img[data-pattern="bi"]   { background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%); }
.proyecto-card-img[data-pattern="ai"]   { background: linear-gradient(135deg, #581c87 0%, #1e1b4b 100%); }
.proyecto-card-img[data-pattern="code"] { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); }
.proyecto-card-img[data-pattern="viz"]  { background: linear-gradient(135deg, #065f46 0%, #134e4a 100%); }

/* Patrón decorativo: rejilla sutil */
.proyecto-card-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.proyecto-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(11, 206, 175, 0.18), transparent 60%);
    pointer-events: none;
}

.proyecto-card-img-icon {
    color: rgba(255, 255, 255, 0.22);
    font-size: 56px;
    position: relative;
    z-index: 1;
}

.proyecto-card-tag {
    position: absolute;
    bottom: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    background: rgba(11, 206, 175, 0.18);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.proyecto-card-body {
    padding: 18px 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.proyecto-card-title {
    color: var(--text-primary) !important;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    opacity: 1 !important;
}

.proyecto-card-desc {
    color: var(--text-muted) !important;
    font-size: 13.5px;
    line-height: 1.5;
    margin: 0;
    opacity: 1 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.proyecto-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
}

.proyecto-card-meta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--text-muted);
    font-size: 12.5px;
}

.proyecto-card-meta i {
    color: var(--text-muted);
    font-size: 12px;
}

.proyecto-card-link {
    margin-left: auto;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: var(--bg-muted);
    color: var(--text-secondary) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
    font-size: 12px;
}

.proyecto-card-link:hover {
    background: var(--brand-500);
    color: var(--text-inverse) !important;
    transform: translate(2px, -2px);
    text-decoration: none !important;
}

/* Estado vacío del grid */
.proyectos-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.proyectos-empty i {
    color: rgba(11, 206, 175, 0.5);
    font-size: 48px;
    display: block;
    margin-bottom: 14px;
}

.proyectos-empty h4 {
    color: var(--text-primary) !important;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px;
    opacity: 1 !important;
}

.proyectos-empty p {
    color: var(--text-muted) !important;
    font-size: 14px;
    margin: 0;
    opacity: 1 !important;
}

/* CTA inferior: GitHub */
.proyectos-bottom-cta {
    margin-top: 36px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-xs);
}

.bottom-cta-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.bottom-cta-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-brand-soft);
    color: var(--text-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.bottom-cta-text h4 {
    color: var(--text-primary) !important;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px;
    opacity: 1 !important;
}

.bottom-cta-text p {
    color: var(--text-muted) !important;
    font-size: 13.5px;
    margin: 0;
    opacity: 1 !important;
}

.bottom-cta-btn,
.bottom-cta-btn:link,
.bottom-cta-btn:visited {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--btn-dark-bg);
    color: var(--btn-dark-text) !important;
    padding: 11px 20px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background var(--t-fast), color var(--t-fast),
                transform var(--t-fast), box-shadow var(--t-fast);
    border: 1px solid transparent;
}

/* Forzar a span e i a heredar el color del botón en cualquier tema */
.bottom-cta-btn span,
.bottom-cta-btn i,
.dark-vertion .bottom-cta-btn span,
.dark-vertion .bottom-cta-btn i,
.white-vertion .bottom-cta-btn span,
.white-vertion .bottom-cta-btn i {
    color: inherit !important;
}

.bottom-cta-btn:hover,
.bottom-cta-btn:focus {
    background: var(--btn-dark-bg-hover);
    color: var(--btn-dark-text) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    text-decoration: none !important;
}

.bottom-cta-btn i.fa-arrow-right {
    font-size: 12px;
}

/* En dark mode, agregamos un borde sutil para que el botón
   claro no se sienta "flotando" sobre el fondo oscuro */
.dark-vertion .bottom-cta-btn {
    border-color: var(--border-strong);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media only screen and (max-width: 992px) {
    .proyectos-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .proyectos-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 14px;
    }

    .proyectos-sidebar .sidebar-card,
    .proyectos-sidebar .sidebar-cta {
        flex: 1 1 280px;
    }

    .proyectos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .proyectos-hero {
        padding: 36px 0 56px;
    }

    .proyectos-hero-title {
        font-size: 36px;
    }

    .proyectos-stats {
        gap: 28px;
    }
}

@media only screen and (max-width: 768px) {
    .proyectos-page #main-content {
        padding-top: 80px;
    }

    .proyectos-hero {
        padding: 28px 0 44px;
    }

    .proyectos-hero-title {
        font-size: 28px;
        line-height: 1.2;
    }

    .proyectos-hero-desc {
        font-size: 15px;
    }

    .proyectos-stats {
        gap: 18px;
    }

    .stat-card {
        gap: 10px;
    }

    .stat-icon {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }

    .stat-value {
        font-size: 22px;
    }

    .proyectos-section {
        padding: 12px 0 56px;
    }

    .proyectos-sidebar {
        flex-direction: column;
    }

    .proyectos-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .proyectos-toolbar-title {
        font-size: 16px;
    }

    .proyectos-bottom-cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .bottom-cta-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .bottom-cta-btn {
        justify-content: center;
    }
}

@media only screen and (max-width: 480px) {
    .proyectos-hero-title {
        font-size: 24px;
    }

    .proyectos-stats {
        flex-direction: column;
        gap: 14px;
    }

    .stat-card {
        width: 100%;
        max-width: 240px;
    }
}

/* ============= 6. proyecto-detail.css (scoped) ============= */
/* =========================================================
   PROYECTO DETAIL PAGE — Artículo + sidebar (autor / TOC /
   relacionados) + Buy Box. 100% basado en tokens de theme.css.
   ========================================================= */

.proyecto-detail-page {
    background: var(--bg-page) !important;
    color: var(--text-primary);
}

.proyecto-detail-main {
    padding: 90px 0 60px;
    position: relative;
    z-index: 1;
}

/* =========================================================
   FONDO DECORATIVO
   ========================================================= */
.proyecto-detail-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.bg-dot {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
}

.bg-dot-1 { width: 14px; height: 14px; background: var(--brand-500);     top: 12%; left: 6%;  opacity: 0.40; }
.bg-dot-2 { width: 10px; height: 10px; background: var(--accent-purple); top: 18%; left: 14%; opacity: 0.40; }
.bg-dot-3 { width: 12px; height: 12px; background: var(--accent-coral);  top: 28%; left: 4%;  opacity: 0.35; }
.bg-dot-4 { width: 8px;  height: 8px;  background: var(--brand-500);     top: 50%; right: 4%; opacity: 0.50; }
.bg-dot-5 { width: 10px; height: 10px; background: var(--accent-purple); top: 70%; left: 8%;  opacity: 0.40; }
.bg-dot-6 { width: 12px; height: 12px; background: var(--brand-500);     top: 80%; right: 7%; opacity: 0.35; }

/* =========================================================
   LAYOUT
   ========================================================= */
.proyecto-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}

/* =========================================================
   ARTÍCULO PRINCIPAL
   ========================================================= */
.proyecto-detail-article {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    padding: 36px 44px 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-subtle);
    min-width: 0;
}

.proyecto-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-brand) !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    margin-bottom: 20px;
    transition: gap var(--t-fast), color var(--t-fast);
}

.proyecto-back-link:hover {
    color: var(--brand-600) !important;
    gap: 10px;
    text-decoration: none !important;
}

.proyecto-detail-tag {
    display: inline-block;
    background: var(--bg-brand-soft);
    color: var(--text-brand-strong);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* Cabecera */
.proyecto-detail-header {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    margin-bottom: 28px;
}

.proyecto-detail-title {
    color: var(--text-primary) !important;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.18;
    margin: 0 0 18px;
    opacity: 1 !important;
    border: none !important;
    padding: 0 !important;
}

.proyecto-detail-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 13.5px;
}

.proyecto-detail-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted) !important;
    opacity: 1 !important;
}

.proyecto-detail-meta .meta-item i {
    color: var(--text-muted);
    font-size: 13px;
}

.proyecto-save-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--btn-ghost-bg);
    border: none;
    color: var(--btn-ghost-text);
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: var(--radius-xs);
    transition: background var(--t-fast), color var(--t-fast);
    font-family: inherit;
}

.proyecto-save-btn:hover {
    background: var(--btn-ghost-bg-hover);
    color: var(--btn-ghost-text-hover);
}

.proyecto-save-btn.is-saved {
    color: var(--text-brand);
}

.proyecto-save-btn.is-saved i.fa-bookmark-o::before {
    content: "\f02e";
}

.proyecto-detail-header-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16 / 11;
    background: linear-gradient(135deg, #0c4a6e, #0f172a);
    box-shadow: var(--shadow-md);
}

.proyecto-detail-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* CTA "Ver demostración" */
.proyecto-demo-cta {
    margin: 8px 0 28px;
    text-align: center;
}

.proyecto-demo-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-400) 100%);
    color: var(--text-inverse) !important;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: var(--shadow-brand);
    transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.proyecto-demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(11, 206, 175, 0.45);
    color: var(--text-inverse) !important;
    text-decoration: none !important;
}

/* Resumen / callout */
.proyecto-summary {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: linear-gradient(135deg, var(--brand-50) 0%, var(--brand-100) 100%);
    border: 1px solid var(--border-brand);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    margin-bottom: 36px;
}

.proyecto-summary-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--brand-500);
    color: var(--text-inverse);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.proyecto-summary-content h3 {
    color: var(--text-primary) !important;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 4px;
    opacity: 1 !important;
}

.proyecto-summary-content p {
    color: var(--text-secondary) !important;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
    opacity: 1 !important;
}

/* =========================================================
   SECCIONES DEL ARTÍCULO
   ========================================================= */
.proyecto-section {
    margin-bottom: 36px;
    scroll-margin-top: 100px;
}

.proyecto-section h2 {
    color: var(--text-primary) !important;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 14px;
    opacity: 1 !important;
    border: none !important;
    padding: 0 !important;
}

.proyecto-section h2 .num {
    color: var(--text-primary);
    margin-right: 4px;
}

.proyecto-section p {
    color: var(--text-secondary) !important;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 14px;
    opacity: 1 !important;
}

.proyecto-section .proyecto-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
}

.proyecto-section .proyecto-list li {
    position: relative;
    padding: 6px 0 6px 26px;
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.55;
}

.proyecto-section .proyecto-list li::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 13px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-500);
}

.proyecto-section code {
    background: var(--bg-muted);
    color: var(--text-brand-strong);
    padding: 2px 6px;
    border-radius: var(--radius-xs);
    font-size: 0.9em;
    font-family: "SF Mono", Consolas, Monaco, monospace;
}

.proyecto-quote {
    border-left: 4px solid var(--brand-500);
    background: var(--bg-elevated-2);
    padding: 14px 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 18px 0;
    color: var(--text-primary);
    font-size: 15.5px;
    font-style: italic;
    line-height: 1.6;
}

/* Diagrama de arquitectura */
.proyecto-arch-diagram {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 14px;
    background: var(--bg-elevated-2);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 22px 16px;
    margin: 18px 0;
}

.arch-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    min-width: 92px;
}

.arch-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #ffffff;
}

.arch-icon-green  { background: linear-gradient(135deg, #10b981, #059669); }
.arch-icon-purple { background: linear-gradient(135deg, var(--accent-purple), #6d28d9); }
.arch-icon-pink   { background: linear-gradient(135deg, var(--accent-pink), #be185d); }
.arch-icon-blue   { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.arch-icon-orange { background: linear-gradient(135deg, var(--accent-orange), #c2410c); }

.arch-name {
    font-size: 12px;
    color: var(--text-primary);
    line-height: 1.3;
}

.arch-name strong {
    font-weight: 600;
}

.arch-name small {
    color: var(--text-muted);
    font-size: 11px;
}

.arch-arrow {
    color: var(--text-disabled);
    font-size: 18px;
}

/* =========================================================
   FEEDBACK (Me gusta + Compartir)
   ========================================================= */
.proyecto-feedback {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px 0 4px;
    margin-top: 30px;
    border-top: 1px solid var(--border-subtle);
}

.proyecto-feedback-text h3 {
    color: var(--text-primary) !important;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px;
    opacity: 1 !important;
}

.proyecto-feedback-text p {
    color: var(--text-muted) !important;
    font-size: 13.5px;
    margin: 0;
    opacity: 1 !important;
}

.proyecto-feedback-actions {
    display: flex;
    gap: 10px;
}

.proyecto-like-btn,
.proyecto-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--t-fast), color var(--t-fast),
                border-color var(--t-fast), transform var(--t-fast);
    font-family: inherit;
}

.proyecto-like-btn {
    background: var(--btn-secondary-bg);
    border: 1.5px solid var(--btn-secondary-border);
    color: var(--btn-secondary-text);
}

.proyecto-like-btn:hover,
.proyecto-like-btn.is-liked {
    background: var(--btn-secondary-bg-hover);
    border-color: var(--btn-secondary-border-hover);
    color: var(--btn-secondary-text-hover);
}

.proyecto-like-btn.is-liked i.fa-heart-o::before {
    content: "\f004";
}

.proyecto-share-btn {
    background: var(--bg-elevated);
    border: 1.5px solid var(--border-default);
    color: var(--text-secondary);
}

.proyecto-share-btn:hover {
    background: var(--bg-muted);
    color: var(--text-primary);
}

/* =========================================================
   SIDEBAR
   ========================================================= */
.proyecto-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
    align-self: start;
}

.proyecto-detail-page .sidebar-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 22px 22px;
    box-shadow: var(--shadow-sm);
}

.proyecto-detail-page .sidebar-card-title {
    color: var(--text-primary) !important;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 16px;
    opacity: 1 !important;
}

/* =========================================================
   BUY BOX
   ========================================================= */
.buy-box {
    border: 1px solid var(--border-default);
}

.buy-box-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 4px;
}

.buy-box-label {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 700;
}

.buy-box-price {
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.buy-box-currency {
    color: var(--text-muted) !important;
    font-size: 12.5px;
    margin: 0 0 18px;
    opacity: 1 !important;
}

.buy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: var(--btn-buy-bg);
    color: var(--btn-buy-text) !important;
    padding: 14px 20px;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
    box-shadow: var(--btn-buy-shadow);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.buy-btn:hover {
    background: var(--btn-buy-bg-hover);
    color: var(--btn-buy-text) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(22, 163, 74, 0.45);
    text-decoration: none !important;
}

.buy-btn:active {
    background: var(--btn-buy-bg-active);
    transform: translateY(0);
}

.buy-btn[disabled],
.buy-btn.is-disabled {
    background: var(--btn-buy-bg-disabled);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.buy-btn i {
    font-size: 16px;
}

.buy-box-divider {
    height: 1px;
    background: var(--border-default);
    margin: 22px 0 16px;
}

.buy-box-section {
    margin-bottom: 18px;
}

.buy-box-section:last-of-type {
    margin-bottom: 12px;
}

.buy-box-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary) !important;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 12px;
    opacity: 1 !important;
}

.buy-box-section-title i {
    color: var(--color-info);
    font-size: 14px;
}

.buy-box-section-title i.fa-times-circle {
    color: var(--color-danger);
}

.buy-box-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.buy-box-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 13.5px;
    line-height: 1.5;
}

.buy-box-list .check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-success);
    color: var(--text-inverse);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    flex-shrink: 0;
    margin-top: 2px;
}

.buy-box-list .cross {
    width: 18px;
    height: 18px;
    color: var(--color-danger);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 1px;
}

.buy-box-list-no li {
    color: var(--text-muted);
}

.buy-box-note {
    background: var(--color-warning-soft);
    border: 1px solid var(--color-warning-border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    color: var(--color-warning-text);
    font-size: 12.5px;
    line-height: 1.5;
    margin-top: 14px;
}

.buy-box-note strong {
    color: var(--color-warning-text);
}

/* =========================================================
   AUTHOR CARD
   ========================================================= */
.author-card {
    text-align: center;
}

.author-card .sidebar-card-title {
    text-align: left;
}

.author-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 14px;
    border: 3px solid var(--border-brand);
    background: var(--bg-muted);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.author-name {
    color: var(--text-primary) !important;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px;
    opacity: 1 !important;
}

.author-role {
    color: var(--text-muted) !important;
    font-size: 13px;
    margin: 0 0 12px;
    opacity: 1 !important;
}

.author-desc {
    color: var(--text-secondary) !important;
    font-size: 13.5px;
    line-height: 1.55;
    margin: 0 0 16px;
    opacity: 1 !important;
}

.author-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.author-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-muted);
    color: var(--text-secondary) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none !important;
    transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}

.author-social a:hover {
    background: var(--brand-500);
    color: var(--text-inverse) !important;
    transform: translateY(-2px);
    text-decoration: none !important;
}

/* =========================================================
   TABLE OF CONTENTS
   ========================================================= */
.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toc-list li {
    margin: 0;
    padding: 0;
}

.toc-link {
    display: block;
    padding: 7px 12px;
    color: var(--text-muted) !important;
    font-size: 13.5px;
    line-height: 1.4;
    text-decoration: none !important;
    border-left: 2px solid transparent;
    transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}

.toc-link:hover {
    color: var(--text-primary) !important;
    background: var(--bg-muted);
    text-decoration: none !important;
}

.toc-link.active {
    color: var(--text-brand) !important;
    border-left-color: var(--brand-500);
    background: var(--bg-brand-softer);
    font-weight: 600;
}

/* =========================================================
   ARTÍCULOS RELACIONADOS
   ========================================================= */
.related-item {
    display: flex;
    gap: 12px;
    align-items: center;
    text-decoration: none !important;
    padding: 8px 0;
    border-radius: var(--radius-sm);
}

.related-item + .related-item {
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
}

.related-item:hover {
    text-decoration: none !important;
}

.related-item:hover .related-info h6 {
    color: var(--text-brand) !important;
}

.related-img {
    width: 80px;
    height: 64px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.related-img i {
    color: rgba(255, 255, 255, 0.45);
    font-size: 24px;
}

.related-img[data-pattern="data"] { background: linear-gradient(135deg, #0c4a6e, #0f172a); }
.related-img[data-pattern="ml"]   { background: linear-gradient(135deg, #064e3b, #0f172a); }
.related-img[data-pattern="bi"]   { background: linear-gradient(135deg, #1e1b4b, #0f172a); }
.related-img[data-pattern="ai"]   { background: linear-gradient(135deg, #581c87, #1e1b4b); }
.related-img[data-pattern="code"] { background: linear-gradient(135deg, #0f172a, #1e293b); }
.related-img[data-pattern="viz"]  { background: linear-gradient(135deg, #065f46, #134e4a); }

.related-info {
    flex: 1;
    min-width: 0;
}

.related-info h6 {
    color: var(--text-primary) !important;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 6px;
    opacity: 1 !important;
    transition: color var(--t-fast);
}

.related-tag {
    display: inline-block;
    background: var(--bg-brand-soft);
    color: var(--text-brand-strong);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    margin-right: 8px;
}

.related-date {
    color: var(--text-muted);
    font-size: 11.5px;
}

/* =========================================================
   FOOTER VIEJO
   ========================================================= */
.proyecto-detail-page .mh-footer-3 {
    position: relative;
    z-index: 1;
    margin-top: 40px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media only screen and (max-width: 1100px) {
    .proyecto-detail-layout {
        grid-template-columns: 1fr;
    }

    .proyecto-detail-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .proyecto-detail-sidebar .sidebar-card {
        flex: 1 1 280px;
    }

    .proyecto-detail-article {
        padding: 30px 32px 36px;
    }
}

@media only screen and (max-width: 768px) {
    .proyecto-detail-main {
        padding: 80px 0 40px;
    }

    .proyecto-detail-article {
        padding: 24px 22px 28px;
        border-radius: var(--radius-md);
    }

    .proyecto-detail-header {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .proyecto-detail-header-image {
        order: -1;
        aspect-ratio: 16 / 10;
    }

    .proyecto-detail-title {
        font-size: 26px;
    }

    .proyecto-detail-meta {
        gap: 12px;
        font-size: 13px;
    }

    .proyecto-summary {
        flex-direction: row;
        padding: 14px 16px;
    }

    .proyecto-summary-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .proyecto-section h2 {
        font-size: 20px;
    }

    .proyecto-section p {
        font-size: 14.5px;
    }

    .proyecto-arch-diagram {
        flex-direction: column;
        padding: 18px 12px;
    }

    .arch-arrow {
        transform: rotate(90deg);
    }

    .proyecto-feedback {
        flex-direction: column;
        align-items: flex-start;
    }

    .proyecto-feedback-actions {
        width: 100%;
    }

    .proyecto-like-btn,
    .proyecto-share-btn {
        flex: 1;
        justify-content: center;
    }

    .proyecto-detail-sidebar {
        flex-direction: column;
    }

    .author-avatar {
        width: 80px;
        height: 80px;
    }
}

@media only screen and (max-width: 480px) {
    .proyecto-detail-article {
        padding: 20px 16px 24px;
    }

    .proyecto-detail-title {
        font-size: 22px;
    }

    .buy-box-price {
        font-size: 20px;
    }
}

/* ============= 7. buttons-unified.css ============= */
/* =========================================================
   UNIFIED BUTTON SYSTEM — DOS DISEÑOS
   --------------------------------------------------------
   Para mantener jerarquía visual, todos los botones del sitio
   se reparten en SOLO dos estilos. La estructura base (display,
   gap, padding, fuente, transiciones) es la misma; solo cambian
   colores, fondo, borde y sombra.

   1) PRIMARY — Filled teal
      Acción principal en cada sección. Resalta y atrae el click.
      • Fondo: var(--btn-primary-bg) (teal #0bceaf)
      • Texto: blanco
      • Sombra: var(--shadow-brand)
      • Hover: teal más oscuro + lift + sombra más profunda

      Aplica a:
      .hero-cta-btn, .btn.btn-fill, .cv-btn-about,
      .sidebar-cta-btn, .bottom-cta-btn, .buy-btn,
      .proyecto-demo-btn, .btn-unified, .btn-unified--primary

   2) SECONDARY — Outline mint
      Acciones secundarias o dentro de tarjetas (verificar,
      me gusta, compartir). Sutil pero reconocible.
      • Fondo: tint mint suave
      • Texto: teal
      • Borde: 1.5px teal
      • Sin sombra (o muy ligera)
      • Hover: tint mint un poco más fuerte + texto más oscuro

      Aplica a:
      .cert-card-btn, .proyecto-like-btn,
      .proyecto-share-btn, .btn-unified--secondary

   Cargado AL FINAL en cada HTML para ganar la cascada.
   ========================================================= */


/* =========================================================
   BASE COMÚN — layout, fuente, transición
   ========================================================= */
.hero-cta-btn,
.btn.btn-fill,
.cv-btn-about,
.cert-card-btn,
.sidebar-cta-btn,
.bottom-cta-btn,
.buy-btn,
.proyecto-demo-btn,
.proyecto-like-btn,
.proyecto-share-btn,
.btn-unified,
.btn-unified--primary,
.btn-unified--secondary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 12px 24px !important;
    line-height: 1.2 !important;
    box-sizing: border-box !important;
    width: auto;

    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    text-align: center !important;
    white-space: nowrap;

    border: 1.5px solid transparent !important;
    border-radius: var(--radius-pill) !important;

    cursor: pointer !important;
    transition:
        background var(--t-fast),
        color var(--t-fast),
        transform var(--t-fast),
        box-shadow var(--t-fast),
        border-color var(--t-fast) !important;
}

/* Iconos y span dentro heredan color de su padre */
.hero-cta-btn i,
.hero-cta-btn span,
.btn.btn-fill i,
.btn.btn-fill span,
.cv-btn-about i,
.cv-btn-about span,
.cert-card-btn i,
.cert-card-btn span,
.sidebar-cta-btn i,
.sidebar-cta-btn span,
.bottom-cta-btn i,
.bottom-cta-btn span,
.buy-btn i,
.buy-btn span,
.proyecto-demo-btn i,
.proyecto-demo-btn span,
.proyecto-like-btn i,
.proyecto-like-btn span,
.proyecto-share-btn i,
.proyecto-share-btn span,
.btn-unified i,
.btn-unified span,
.btn-unified--primary i,
.btn-unified--primary span,
.btn-unified--secondary i,
.btn-unified--secondary span {
    color: inherit !important;
    background: transparent !important;
    margin: 0 !important;
}


/* =========================================================
   1) PRIMARY — Filled teal
   ========================================================= */
.hero-cta-btn,
.hero-cta-btn:link,
.hero-cta-btn:visited,
.btn.btn-fill,
.btn.btn-fill:link,
.btn.btn-fill:visited,
.cv-btn-about,
.sidebar-cta-btn,
.sidebar-cta-btn:link,
.sidebar-cta-btn:visited,
.bottom-cta-btn,
.bottom-cta-btn:link,
.bottom-cta-btn:visited,
.buy-btn,
.buy-btn:link,
.buy-btn:visited,
.proyecto-demo-btn,
.proyecto-demo-btn:link,
.proyecto-demo-btn:visited,
.btn-unified,
.btn-unified--primary {
    background: var(--btn-primary-bg) !important;
    background-image: none !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: var(--shadow-brand) !important;
}

.hero-cta-btn:hover,
.hero-cta-btn:focus,
.btn.btn-fill:hover,
.btn.btn-fill:focus,
.cv-btn-about:hover,
.cv-btn-about:focus,
.sidebar-cta-btn:hover,
.sidebar-cta-btn:focus,
.bottom-cta-btn:hover,
.bottom-cta-btn:focus,
.buy-btn:hover,
.buy-btn:focus,
.proyecto-demo-btn:hover,
.proyecto-demo-btn:focus,
.btn-unified:hover,
.btn-unified:focus,
.btn-unified--primary:hover,
.btn-unified--primary:focus {
    background: var(--btn-primary-bg-hover) !important;
    background-image: none !important;
    color: #ffffff !important;
    border-color: transparent !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 28px rgba(11, 206, 175, 0.45) !important;
    text-decoration: none !important;
}

.hero-cta-btn:active,
.btn.btn-fill:active,
.cv-btn-about:active,
.sidebar-cta-btn:active,
.bottom-cta-btn:active,
.buy-btn:active,
.proyecto-demo-btn:active,
.btn-unified:active,
.btn-unified--primary:active {
    background: var(--btn-primary-bg-active) !important;
    transform: translateY(0) !important;
    box-shadow: var(--shadow-sm) !important;
}


/* =========================================================
   2) SECONDARY — Outline mint
   ========================================================= */
.cert-card-btn,
.cert-card-btn:link,
.cert-card-btn:visited,
.proyecto-like-btn,
.proyecto-share-btn,
.btn-unified--secondary {
    background: var(--bg-brand-softer) !important;
    background-image: none !important;
    color: var(--text-brand) !important;
    border-color: var(--border-brand) !important;
    box-shadow: none !important;
}

.cert-card-btn:hover,
.cert-card-btn:focus,
.proyecto-like-btn:hover,
.proyecto-like-btn:focus,
.proyecto-share-btn:hover,
.proyecto-share-btn:focus,
.btn-unified--secondary:hover,
.btn-unified--secondary:focus {
    background: var(--bg-brand-soft) !important;
    color: var(--brand-600) !important;
    border-color: var(--brand-500) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(11, 206, 175, 0.18) !important;
    text-decoration: none !important;
}

.cert-card-btn:active,
.proyecto-like-btn:active,
.proyecto-share-btn:active,
.btn-unified--secondary:active {
    background: var(--bg-brand-soft) !important;
    transform: translateY(0) !important;
    box-shadow: none !important;
}

/* Estado "activado" para like/share (cuando se da like o se compartió) */
.proyecto-like-btn.is-liked {
    background: var(--btn-primary-bg) !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

.proyecto-like-btn.is-liked:hover {
    background: var(--btn-primary-bg-hover) !important;
}


/* =========================================================
   FOCO ACCESIBLE (ambos diseños)
   ========================================================= */
.hero-cta-btn:focus-visible,
.btn.btn-fill:focus-visible,
.cv-btn-about:focus-visible,
.cert-card-btn:focus-visible,
.sidebar-cta-btn:focus-visible,
.bottom-cta-btn:focus-visible,
.buy-btn:focus-visible,
.proyecto-demo-btn:focus-visible,
.proyecto-like-btn:focus-visible,
.proyecto-share-btn:focus-visible,
.btn-unified:focus-visible,
.btn-unified--primary:focus-visible,
.btn-unified--secondary:focus-visible {
    outline: 2px solid var(--brand-700) !important;
    outline-offset: 3px !important;
}


/* =========================================================
   ESTADO DESHABILITADO (ambos diseños)
   ========================================================= */
.hero-cta-btn[disabled],
.btn.btn-fill[disabled],
.btn.btn-fill.is-disabled,
.cv-btn-about[disabled],
.cert-card-btn[disabled],
.sidebar-cta-btn[disabled],
.bottom-cta-btn[disabled],
.buy-btn[disabled],
.proyecto-demo-btn[disabled],
.proyecto-like-btn[disabled],
.proyecto-share-btn[disabled],
.btn-unified[disabled],
.btn-unified.is-disabled,
.btn-unified--primary[disabled],
.btn-unified--secondary[disabled] {
    opacity: 0.55 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
    pointer-events: none !important;
}


/* =========================================================
   VARIANTES DE TAMAÑO
   ========================================================= */

/* Compactos: like, share */
.proyecto-like-btn,
.proyecto-share-btn,
.btn-unified--sm {
    padding: 9px 18px !important;
    font-size: 13px !important;
}

/* Grande: comprar (CTA principal) */
.buy-btn,
.btn-unified--lg {
    padding: 14px 28px !important;
    font-size: 15px !important;
}

/* Bloque (100% ancho) */
.btn.btn-block,
.btn.btn-fill.btn-block,
.btn-unified--block {
    width: 100% !important;
}


/* =========================================================
   MODO OSCURO — texto blanco siempre en primary
   ========================================================= */
.dark-vertion .hero-cta-btn,
.dark-vertion .btn.btn-fill,
.dark-vertion .cv-btn-about,
.dark-vertion .sidebar-cta-btn,
.dark-vertion .bottom-cta-btn,
.dark-vertion .buy-btn,
.dark-vertion .proyecto-demo-btn,
.dark-vertion .btn-unified,
.dark-vertion .btn-unified--primary {
    color: #ffffff !important;
}

.dark-vertion .hero-cta-btn:hover,
.dark-vertion .btn.btn-fill:hover,
.dark-vertion .cv-btn-about:hover,
.dark-vertion .sidebar-cta-btn:hover,
.dark-vertion .bottom-cta-btn:hover,
.dark-vertion .buy-btn:hover,
.dark-vertion .proyecto-demo-btn:hover,
.dark-vertion .btn-unified:hover,
.dark-vertion .btn-unified--primary:hover {
    color: #ffffff !important;
}

/* En oscuro el secundario sube un poco el contraste del texto */
.dark-vertion .cert-card-btn,
.dark-vertion .proyecto-like-btn,
.dark-vertion .proyecto-share-btn,
.dark-vertion .btn-unified--secondary {
    color: var(--brand-400) !important;
}

.dark-vertion .cert-card-btn:hover,
.dark-vertion .proyecto-like-btn:hover,
.dark-vertion .proyecto-share-btn:hover,
.dark-vertion .btn-unified--secondary:hover {
    color: var(--brand-300) !important;
}


/* =========================================================
   OVERRIDES — botones de redes en el hero (index.html)
   --------------------------------------------------------
   GitHub y LinkedIn usan el diseño SECONDARY (outline mint)
   en vez del PRIMARY. La especificidad de
   .hero-cta-btn.github-btn (0,2,0) gana sobre las reglas
   PRIMARY definidas con .hero-cta-btn (0,1,0).
   ========================================================= */

.hero-cta-btn.github-btn,
.hero-cta-btn.github-btn:link,
.hero-cta-btn.github-btn:visited,
.hero-cta-btn.linkedin-btn,
.hero-cta-btn.linkedin-btn:link,
.hero-cta-btn.linkedin-btn:visited {
    background: var(--bg-brand-softer) !important;
    background-image: none !important;
    color: var(--text-brand) !important;
    border-color: var(--border-brand) !important;
    box-shadow: none !important;
}

.hero-cta-btn.github-btn:hover,
.hero-cta-btn.github-btn:focus,
.hero-cta-btn.linkedin-btn:hover,
.hero-cta-btn.linkedin-btn:focus {
    background: var(--bg-brand-soft) !important;
    color: var(--brand-600) !important;
    border-color: var(--brand-500) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(11, 206, 175, 0.18) !important;
    text-decoration: none !important;
}

.hero-cta-btn.github-btn:active,
.hero-cta-btn.linkedin-btn:active {
    background: var(--bg-brand-soft) !important;
    transform: translateY(0) !important;
    box-shadow: none !important;
}

/* Dark mode: contraste del texto */
.dark-vertion .hero-cta-btn.github-btn,
.dark-vertion .hero-cta-btn.linkedin-btn {
    color: var(--brand-400) !important;
}

.dark-vertion .hero-cta-btn.github-btn:hover,
.dark-vertion .hero-cta-btn.linkedin-btn:hover {
    color: var(--brand-300) !important;
}
